@charset "UTF-8";

/* =====================
  common
===================== */
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  background: #fafafa;
  line-height: 1.7;
}

/* =====================
  sidebar
===================== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  padding: 40px 20px;
  background: #f5f5f5;
  border-right: 1px solid #ddd;
}

.title {
  font-size: 24px;
  margin-bottom: 40px;
}

.title-link {
  text-decoration: none;
  color: #333;
}

/* nav */
.nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-list {
  text-decoration: none;
  color: #555;
  font-size: 16px;
  transition: 0.3s;
}

.nav-list:hover {
  color: #000;
}

/* =====================
  main
===================== */
.main {
  margin-left: 260px;
}

/* =====================
  section
===================== */
.section {
  padding: 80px 40px;
  max-width: 900px;
}

.section-title {
  font-size: 24px;
  margin-bottom: 20px;
  border-left: 4px solid #333;
  padding-left: 10px;
}

/* =====================
  FV
===================== */
.section-fv {
  padding-top: 100px;
}

.fv-txt {
  margin-top: 10px;
}

.fv-skills {
  margin-top: 20px;
  color: #666;
}

/* =====================
  Works
===================== */
.works-contents {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.works-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.works-tmb img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.works-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.works-txt {
  font-size: 14px;
  margin-bottom: 10px;
}

/* btn */
.works-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

.works-btn:hover {
  background: #555;
}

/* 詳細 */
.works-link {
  display: inline-block;
  margin-top: 15px;
  cursor: pointer;
  color: #333;
  font-size: 14px;
}

.works-card-hr {
  margin: 20px 0;
  border: none;
  border-top: 1px dashed #ccc;
}

/* =====================
  Goals
===================== */
.goals-txt {
  margin-bottom: 15px;
}

/* =====================
  footer
===================== */
.footer {
  margin-left: 260px;
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: #777;
}

/* =====================
  SP
===================== */
@media (max-width: 768px) {

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  .main {
    margin-left: 0;
  }

  .footer {
    margin-left: 0;
  }

  .section {
    padding: 50px 20px;
  }
}