/* リセット寄りの基本設定 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #2d2d2d;
  background-color: #f5f5f5;
  font-family: "Noto Sans JP", sans-serif;
}

/* ヘッダー全体 */
.site-header {
  background-color: #d9d9d9ef;
  font-family: "BJ+Cree", serif;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* 中身の横幅調整 */
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px;
}

/* ナビ全体 */
.global-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* ul */
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 通常リンク */
.nav-item a {
  text-decoration: none;
  color: #2d2d2d;
  font-size: 17px;
  font-weight: 600;
  transition: opacity 0.3s;
}

/* ホバー */
.nav-item a:hover {
  opacity: 0.7;
}

/* Contactだけボタン風 */
.nav-contact {
  display: inline-block;
  background-color: #4a83d8;
  color: #ffffff !important;
  padding: 12px 28px;
  border-radius: 2px;
}

/* ハンバーガーはPCでは非表示 */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: #2d2d2d;
  margin: 6px 0;
  transition: 0.3s;
}

@media screen and (max-width: 768px) {
  .header-inner {
    padding: 12px 16px;
  }

  .global-nav {
    justify-content: flex-end;
  }

  .hamburger {
    display: block;
    z-index: 1100;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: absolute;
    top: 100%;
    right: 16px;
    width: 220px;
    padding: 24px 16px;
    background-color: #d9d9d9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }

  .nav-list.open {
    display: flex;
  }

  .nav-item a {
    font-size: 16px;
  }

  .nav-contact {
    padding: 10px 20px;
  }
}

/* =========================
   FV
========================= */
.fv {
  font-family: "BJ Cree", serif;
  background-color: #f5f5f5;
  padding: 0;
}

.fv-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 580px;
}

.fv-copy,
.fv-image,
.fv-side {
  width: 33.333%;
}

.fv-copy {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 40px 20px;
}
/* Yoshimi MUto Prtfolio */
.fv-title {
  margin: 0;
  font-size: 4.2rem;
  font-weight: 400;
  height: fit-content;
  text-align: right;
  line-height: 1.1;
}
.line-1,
.line-2,
.line-3 {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUpText 0.8s ease-out forwards;
}

/* Yoshimi */
.line-1 {
  display: block;
  margin-bottom: 10px; /* ←少し詰める */
  animation-delay: 0.6s;
}

/* Muto */
.line-2 {
  display: block;
  margin-bottom: 10px; /* ←少し余白 */
  animation-delay: 0.8s;
}

/* Portfolio */
.line-3 {
  display: block;
  margin-top: 10px; /* ←少し離す */
  animation-delay: 1s;
}

.fv-image {
  height: auto;
}

.fv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.fv-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 40px 20px;
}

.fv-side p {
  margin: 0;
  font-size: 2rem;
  line-height: 1.4;
  color: #2d2d2d;
}

/* =========================
   アニメーション
========================= */

/* 画像：少し下＋少し小さめ＋透明から始める */
.fv-image-animate {
  opacity: 0;
  transform: scale(0.96);
  filter: blur(6px);
  animation: fadeInScale 1.9s ease-out forwards;
}

/* 左右文字：少し下から遅れて出る */

.fv-side-animate {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpText 0.9s ease-out forwards;
}

/* 左文字は少し遅らせる */
.fv-copy-animate {
  animation-delay: 0.6s;
}

/* 右文字はさらに少し遅らせる */
.fv-side-animate {
  animation-delay: 0.9s;
}

/* 画像のアニメーション */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.92);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}
/* 文字のアニメーション */
@keyframes fadeUpText {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
  .fv-inner {
    flex-direction: column;
  }

  .fv-copy,
  .fv-image,
  .fv-side {
    width: 100%;
  }

  .fv-image {
    height: 200px;
  }

  .fv-title {
    text-align: right;
    font-size: 2.4rem;
  }

  .fv-side {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    margin: 10px 0 20px 0;
  }

  .fv-side p {
    font-size: 1.4rem;
  }
}

/* =========================
   コンセプト
========================= */
.concept {
  background-color: #e9e9e9;
  padding: 56px 0;
  text-align: left;
}

.concept__inner {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  margin: 0 auto;
}

/* 左 */
.concept__title {
  padding: 0 20px 80px 0;
}
.concept__sub1 {
  font-size: 1rem;
  font-weight: 700;
}
.concept__sub2 {
  font-size: 1.5rem;
  font-weight: 700;
}
/* 線 */
.concept__divider {
  width: 20%;
  height: 2px;
  background-color: #4a78c2;
  transform: rotate(-40deg);
  margin: 0 auto;
}

/* 右 */
.text-right {
  width: fit-content;
}
.concept_text {
  padding: 50px 0 0 20px;
}
@media (max-width: 767px) {
  .concept__inner {
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 30px 0 0 0;
  }
  .concept__title {
    padding: 0;
    font-size: 1rem;
  }

  /* 真ん中 */
  .concept__divider {
    width: 70%;
    transform: rotate(0deg); /* or 0deg */
    margin: 40px 0;
  }
  /* 右 */
  .concept_text {
    padding: 0;
    font-size: 0.8rem;
  }
}
/* =========================
  ギャラリー
========================= */
.gallery {
  padding: 80px 0;
  background-color: #f7f7f7;
}

.container {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 20px;
}
.container_list {
  margin: 0 auto;
  width: fit-content;
}
.section-title {
  font-family: "BJ+Cree", serif;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 500;
  color: #333;
  margin: 0 0 40px 40px;
}

.gallery-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
  list-style: none;
  max-width: 900px;
  margin: 0;
  padding: 0;
}

.gallery-item {
  min-width: 0;
}

.work-card {
  height: 100%;
  padding: 8px;
}

.work-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.work-card__image {
  overflow: hidden;
  background-color: #e9e9e9;
}

.work-card__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* ←正方形 */
  object-fit: contain;
  background-color: #f7f7f7;
}
.gallery-item:nth-child(4) img,
.gallery-item:nth-child(5) img,
.gallery-item:nth-child(6) img {
  aspect-ratio: 3 / 4; /* ←長方形 */
}
.work-card__body {
  padding-top: 12px;
}

.work-card__title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
}

.work-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
}

.gallery-item--wide {
  grid-column: 1 / 3;
}

.gallery-item--wide .work-card__image img {
  aspect-ratio: 16 / 10;
}

/* hover */
.work-card {
  transition: transform 0.3s ease;
}
.work-card:hover {
  transform: scale(1.05) translateY(-5px); /* ←ちょっと浮く */
}
.work-card__image {
  overflow: hidden;
}

.work-card__image img {
  transition: transform 0.4s ease;
}

.work-card:hover img {
  transform: scale(1.1);
}

/* タブレット */
@media (max-width: 900px) {
  .gallery-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--wide {
    grid-column: auto;
  }

  .gallery-item--wide .work-card__image img {
    aspect-ratio: 1 / 1;
  }
}

/* スマホ */
@media (max-width: 600px) {
  .gallery {
    padding: 60px 0;
  }

  .section-title {
    margin-bottom: 28px;
    font-size: 1.75rem;
  }

  .gallery-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .work-card__title {
    font-size: 1rem;
  }

  .work-card__text {
    font-size: 0.875rem;
  }
}

/* =========================
  about
========================= */
.about {
  padding: 80px 0;
  background-color: #d9d9d9;
}

.about__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 90%;
  margin: 0 auto;
}

.about__image {
  flex: 0 0 260px;
  margin: 0;
  align-items: center;
  justify-content: center;
}

.about__image img {
  width: 100%;
  height: auto;
  display: block;
}

.about__content {
  flex: 1;
}

.about__text {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
}

.about__message {
  margin: 24px 0;
}

.about__message p {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
  color: #4a78c2;
}

.about__text--last {
  margin-bottom: 0;
}

/* レスポンシブ */
@media (max-width: 767px) {
  .about {
    padding: 56px 0;
  }

  .about__inner {
    flex-direction: column;
    gap: 24px;
  }

  .about__image {
    flex: none;
    width: 180px;
    margin: 0 auto;
  }

  .about__content {
    width: 100%;
  }

  .about__text,
  .about__message p {
    font-size: 0.95rem;
    line-height: 1.8;
  }
}
/* =========================
  skill
========================= */
.skill {
  padding: 80px 0;
  background-color: #f3f3f3;
}

.skill__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.skill__item {
  text-align: center;
}

.skill__icon {
  width: 120px;
  margin: 0 auto 24px;
}

.skill__icon img {
  display: block;
  width: 100%;
  height: auto;
}

.skill__title {
  margin-bottom: 24px;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
}

.skill__points {
  display: inline-block;
  text-align: left;
  padding-left: 1.2em;
  margin: 0;
  font-weight: 500;
}

.skill__points li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

/* タブレット */
@media (max-width: 1024px) {
  .skill__list {
    gap: 24px;
  }

  .skill__icon {
    width: 100px;
  }

  .skill__title {
    font-size: 1.6rem;
  }
}

/* スマホ */
.skill {
  padding: 80px 0;
  background-color: #f3f3f3;
}

.skill__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.skill__item {
  text-align: center;
}

.skill__icon {
  width: 120px;
  margin: 0 auto 24px;
}

.skill__icon img {
  display: block;
  width: 100%;
  height: auto;
}

.skill__title {
  margin-bottom: 24px;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
}

.skill__points {
  display: inline-block;
  text-align: left;
  padding-left: 1.2em;
  margin: 0;
}

.skill__points li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

/* タブレット */
@media (max-width: 1024px) {
  .skill__list {
    gap: 24px;
  }

  .skill__icon {
    width: 100px;
  }

  .skill__title {
    font-size: 1.6rem;
  }
}

/* スマホ */
@media (max-width: 767px) {
  .skill {
    padding: 64px 0;
  }

  .skill__list {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 40px;
  }

  .skill__icon {
    width: 88px;
    margin-bottom: 20px;
  }
  .skill__title {
    margin-bottom: 16px;
    font-size: 1.5rem;
  }

  .skill__points li {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}
/* =========================
  cta
========================= */
.contact-cta {
  font-family: "BJ Cree", serif;
  padding: 80px 0;
  background-color: #e9e9e9;
  text-align: center;
}

.contact-cta__btn {
  display: inline-block;
  padding: 16px 48px;
  background-color: #4a78c2;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}
.contact-cta__btn {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-cta__btn:hover {
  transform: translateY(-2px);
}

/* ホバー */
.contact-cta__btn:hover {
  background-color: #556278;
}

/* スマホ */
@media (max-width: 767px) {
  .contact-cta {
    padding: 64px 0;
  }

  .contact-cta__btn {
    width: 80%;
    max-width: 280px;
    padding: 14px 0;
    font-size: 1.1rem;
  }
}
/* =========================
  制作の流れ
========================= */
.flow {
  padding: 80px 0;
  text-align: left;
}
.flow .container {
  max-width: 700px;
}
.process {
  width: fit-content;
  margin: 0 auto;
}
.flow .section-title {
  font-family: "Noto Sans JP", sans-serif;
  text-align: left;
  margin: 0;
}
.flow__list {
  margin: 40px 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  text-align: left;
}

.flow__list li {
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: #333;
  position: relative;
}

/* 番号カスタム */
.flow__list li::before {
  counter-increment: step;
  content: counter(step) ". ";
  font-weight: bold;
  color: #4a78c2;
}

.flow__text {
  width: fit-content;
  margin: 0 auto;
}

.flow__note {
  margin-top: 32px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

.flow__cta {
  margin-top: 40px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

/* スマホ */
@media (max-width: 767px) {
  .flow {
    padding: 64px 0;
  }

  .flow__list li {
    font-size: 1rem;
  }

  .flow__cta {
    font-size: 1.1rem;
  }
}
/* =========================
  制作の流れ
========================= */
.footer {
  padding: 24px 0;
  background-color: #d9d9d9;
  text-align: center;
}

.footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
  font-family: "BJ Cree", serif;
}
