@charset "UTF-8";

/* ========================================
   Utility Classes
======================================== */
.visually-hidden {
  position: absolute;       /* 通常のレイアウトから外す */
  width: 1px;               /* ほぼ見えないサイズにする */
  height: 1px;
  margin: -1px;             /* 見えないように外側に押し出す */
  padding: 0;
  overflow: hidden;         /* 内容がはみ出しても表示しない */
  clip: rect(0, 0, 0, 0);   /* 表示領域を0にする（古いブラウザ対応） */
  white-space: nowrap;     /* 改行させない */
  border: 0;
}
/* ========================================
   header Styles
======================================== */
.hero {
  position: relative;
  background-image: linear-gradient(to bottom, #FDFFED, #fadfe8);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  padding-left: 80px;
  padding-bottom: 420px;
}
.header__dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
}
.header__dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  opacity: 1;
  animation: blink 6s infinite ease-in-out both;
  /* animation-fill-mode: both; */
}
.header__dot--1 { background-color: #fdd0db; animation-delay: 0s; }
.header__dot--2 { background-color: #fda2c3; animation-delay: 1.5s; }
.header__dot--3 { background-color: #fc79a8; animation-delay: 3s; }
.header__dot--4 { background-color: #ff4f90; animation-delay: 4.5s; }

/* dotが落ちるアニメーション */
@keyframes blink {
  0%, 100% { opacity: 1; }
  10%      { opacity: 0.2; }/* 点滅の強さ。一瞬暗くなる */
  20%      { opacity: 1; }
}

.fv {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero,
.keyvisual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.keyvisual {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 80px 40px;
  overflow-y: auto;
  box-sizing: border-box;
}
.hero,
.keyvisual {
  transition:
    opacity 2.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 2.8s cubic-bezier(0.25, 1, 0.5, 1),
    filter 2.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}
.hero {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  z-index: 2;
}
.keyvisual {
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  z-index: 1;
}
.hero.is-hidden {
  opacity: 0;
  transform: scale(1.04);
  filter: blur(5px);
  transform: scale(1.01);
}
.keyvisual.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.4s; /* ← 余韻 */
}
.keyvisual::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 95%;
  background: url('../images/flower.webp') no-repeat bottom right;
  background-size: contain;
  opacity: 0;
  transform: translateY(100px) scale(1.08);
  transition:
    opacity 2.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 2.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.keyvisual.is-visible::after {
  opacity: 0.85;
  transform: translateY(0) scale(1);
  transition-delay: 1.2s;
}
.hero__name {
  position: absolute;
  bottom: 0;
}

/* ========================================
   Hero Section
======================================== */
.page-section {
  height: 100vh;
  position: relative;
}
.hero__name {
  position: absolute;
  bottom: 0;
}
.hero__name-line {
  display: block;
  line-height: 1.2;
}
.hero__name-char {
  display: inline-block;
  font-size: clamp(36px, 0.225rem + 8.64vw, 128px);
  font-weight: 900;
  color: #4A141E;
  opacity: 0;
  animation: dropSoftWave 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero__name-line:first-of-type .hero__name-char:nth-child(1) { animation-delay: 0s; }
.hero__name-line:first-of-type .hero__name-char:nth-child(2) { animation-delay: 0.1s; }
.hero__name-line:first-of-type .hero__name-char:nth-child(3) { animation-delay: 0.2s; }
.hero__name-line:first-of-type .hero__name-char:nth-child(4) { animation-delay: 0.3s; }
.hero__name-line:first-of-type .hero__name-char:nth-child(5) { animation-delay: 0.4s; }
.hero__name-line:first-of-type .hero__name-char:nth-child(6) { animation-delay: 0.5s; }
.hero__name-line:first-of-type .hero__name-char:nth-child(7) { animation-delay: 0.6s; }
.hero__name-line:first-of-type .hero__name-char:nth-child(8) { animation-delay: 0.7s; }
.hero__name-char--m { animation-delay: 1s; }
.hero__name-char--a { animation-delay: 1.1s; }
.hero__name-char--i { animation-delay: 1.2s; }

@keyframes dropSoftWave {
  0%   { transform: translateY(-150px); opacity: 0; }
  50%  { transform: translateY(30px); opacity: 1; }
  75%  { transform: translateY(-15px); }
  90%  { transform: translateY(8px); }
  100% { transform: translateY(0); opacity: 1; }
}

.hero__portfolio-char {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(56px, 16vw, 300px);
  font-weight: 900;
  background: url('../images/flower-bg.webp') no-repeat center / cover;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  animation: slideFadeIn 0.8s ease-out forwards;
}
.hero__portfolio-char:nth-child(1) { animation-delay: 1.5s; }
.hero__portfolio-char:nth-child(2) { animation-delay: 1.6s; }
.hero__portfolio-char:nth-child(3) { animation-delay: 1.7s; }
.hero__portfolio-char:nth-child(4) { animation-delay: 1.8s; }
.hero__portfolio-char:nth-child(5) { animation-delay: 1.9s; }
.hero__portfolio-char:nth-child(6) { animation-delay: 2.0s; }
.hero__portfolio-char:nth-child(7) { animation-delay: 2.1s; }
.hero__portfolio-char:nth-child(8) { animation-delay: 2.2s; }
.hero__portfolio-char:nth-child(9) { animation-delay: 2.3s; }

@keyframes slideFadeIn {
  0%   { transform: translateX(-50px) scale(0.95); opacity: 0; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

.hero__catch {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(1.5rem, -0.085rem + 6.76vw, 6rem);
  font-weight: 600; /* Semibold */
  color: #4A141E; /* Dark Burgundy */
  letter-spacing: 0.16em;
  margin-bottom: 64px;
  opacity: 0;
  animation: bloomIn 1s ease-out 2s forwards;
}
@keyframes bloomIn {
  0%   { opacity: 0; transform: translateY(30px); letter-spacing: 0.3em; }
  100% { opacity: 1; transform: translateY(0); letter-spacing: normal; }
}
.hero__sub {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(1rem, 0.648rem + 1.5vw, 2rem);
  font-weight: 600; /* Semibold */
  color: #4A141E; /* Dark Burgundy */
  letter-spacing: 0.4em;
  opacity: 0;
  animation: fadeIn 1s ease 2.8s forwards;
}
.hero__sub::before,
.hero__sub::after {
  color: #4A141E; /* Dark Burgundy */
}
.hero__sub::before {
  content: "ー";
  margin-right: 0.5em;
}
.hero__sub::after {
  content: "ー";
  margin-left: 0.25em;
}
.fade-in-once {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.fade-in-once.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 768px) {
  .header {
    min-height: 100vh;
    padding-left: 16px;
  }
  .header__dots {
    gap: 15px;
    margin: 15px 0;
  }
  .header__dot {
    width: 10px;
    height: 10px;
  }
  .hero, .page-section {
    height: 100%;
    min-height: 100%;
    padding: 0;
  }
  .page-section {
    padding: 40px 16px;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }
}
@media (max-width: 430px) {
  .hero__catch,
  .hero__sub {
    margin: 12px 16px;
  }
}
/* ========================================
   CONCEPT
======================================== */

.concept__title-img {
  display: block;
  width: 70%;
  margin: 0 auto 120px;
}
.concept__butterflies {
  position: relative;
  width: 80px;
  height: 80px;
}
.concept__butterfly--1,
.concept__butterfly--2 {
  position: absolute;
  /* animation: butterflyFloat 4s ease-in-out infinite; */
  animation: none;
}
.concept__butterflies.is-visible .concept__butterfly--1,
.concept__butterflies.is-visible .concept__butterfly--2 {
  animation: butterflyFloat 4s ease-in-out infinite;
}
.concept__butterfly--1 {
  top: 70px;
  left: 10px;
  width: 40px;
}
.concept__butterfly--2 {
  top: -10px;
  left: 90px;
  width: 56px;
  animation-delay: 1s;
}
/* --- ちょうちょのアニメーション --- */
@keyframes butterflyFloat {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) translateX(10px) rotate(10deg);
    opacity: 0.8;
  }
}
/* --- テキスト関連 --- */
.concept__text {
  display: grid;
  row-gap: 4rem;
  justify-items: center;
}
.concept__text-column {
  position: relative;
  text-align: left;
  opacity: 0;
  transform: translateY(-80px) scale(0.95); /* 少し小さくして出現感 */
  transition: opacity 1.6s ease-out, transform 1.6s cubic-bezier(0.25, 1.25, 0.5, 1);
}
/* 表示状態（ふわっと表示） */
.concept__text-column.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.concept__text-column--right {
  justify-self: end;
}
.concept__text-column--left {
  justify-self: start;
}
.concept__text-column p {
  font-size: 20px;
  line-height: 1.8;
}
/* --- イメージ関連 --- */
.inline-img {
  display: inline-block;
}
.inline-img img {
  display: inline;
  vertical-align: -0.2em;
  height: auto;
  width: 100px;
  margin-right: 8px;
}
.img-long img {
  width: 150px;
}
/* --- 花の装飾 --- */
.concept__flowers {
  position: absolute;
  width: 50px;
}
.concept__flowers--right,
.concept__flowers--left {
  animation: none; /* ←最初は停止 */
}
.concept__flowers--right {
  right: 80px;
  bottom: -90px;
  transform-origin: center bottom;
}
.concept__flowers--left {
  top: -30px;
  left: -70px;
  transform-origin: center bottom;
}
.concept__text.is-visible .concept__flowers--right {
  animation:
    fadeSlideUp 1.2s ease-out forwards,
    swayRight 15s ease-in-out infinite;
}
.concept__text.is-visible .concept__flowers--left {
  animation:
    fadeSlideUp 1.2s ease-out forwards,
    swayLeft 11s ease-in-out infinite;
}
/* --- 花のアニメーション --- */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 右側のゆらゆら */
@keyframes swayRight {
  0%, 100% { transform: rotate(12deg); }
  50%  { transform: rotate(-18deg); }
}
/* 左側のゆらゆら */
@keyframes swayLeft {
  0%, 100%{ transform: rotate(-14deg); }
  50% { transform: rotate(12deg); }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .concept__title-img  {
    width: 90%;
  }
  .concept__butterfly--1 {
    width: 30px;
    left: -8px;
  }
  .concept__butterfly--2 {
    top: -10px;
    left: 40px;
    width: 40px;
  }
  .concept__text-column--right {
    justify-self: start;
  }
  .concept__text-column p {
    font-size: 16px;
    line-height: 1.6;
  }
  .inline-img img {
    width: 80px;
  }
    .img-long img {
    width: 120px;
  }
  .concept__flowers {
    width: 30px;
  }
  .concept__flowers--right {
    right: 10px;
    bottom: -50px;
  }
  .concept__flowers--left {
    top: -40px;
    left: -20px;
  }
}

/* ========================================
   ABOUT
======================================== */
.about {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}
.about__text-group {
  position: relative;
  margin-bottom: 100px;
}
/* 蝶に共通のスタイル */
.about__butterfly {
  position: absolute;
  opacity: 0.9;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.about__butterfly--1 {
  top: -16%;
  left: 8%;
  width: 30px;
  animation: butterfly-motion-top 2.8s linear infinite; 
}
.about__butterfly--2 {
  top: -10%;
  left: 2%;
  width: 40px;
  animation: butterfly-motion-top 3.2s linear infinite; 
}
.about__butterfly--3 {
  top: 28%;
  right: 15%;
  width: 56px;
  animation: butterfly-motion-bottom 3.8s linear infinite; 
}
.about__butterfly--4 {
  top: 40%;
  right: 25%;
  width: 50px;
  animation: butterfly-motion-bottom 3.1s linear infinite;
}

/* 上の右蝶 */
@keyframes butterfly-motion-top {
  0%, 100% { transform: translate(0px, 0px); }
  25% { transform: translate(4px, -8px); } /* 上方向への大きな動き */
  50% { transform: translate(-2px, -6px); } /* 下方向への動きを追加 */
  75% { transform: translate(2px, -2px); } /* バランスを取る */
}

/* 下の右蝶　*/
@keyframes butterfly-motion-bottom {
  0%, 100% { transform: translate(0px, 0px); }
  20% { transform: translate(4px, -10px); }
  50% { transform: translate(-4px, 12px); }
  80% { transform: translate(6px, 10px); }
  100% { transform: translate(0px, 0px); }
}

.about__title {
  /* position: relative; */
  font-size: clamp(40px, calc(2.5vw + 28px), 48px);
  margin-bottom: 32px;
  color: #4a141e;
}
.about__sub {
  font-size: clamp(1.25rem, 1.074rem + 0.75vw, 1.75rem);
  margin-bottom: 88px;
  color: #4a141e;
}
.about__text {
  letter-spacing: 0.16em;
  line-height: 32px;
  margin-bottom: 32px;
  margin-left: 100px;
}
/* Typewriter */
.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  border-right: 5px solid #4E2F20;
  animation:
    typewriter 2s steps(14) forwards,  /* ← 文字数に合わせて */
    caret-blink 0.7s step-end 6,        /* 点滅6回 */
    caret-disappear 0.1s ease-out 4.4s forwards; /* 最後にカーソル消す */
}
/* Typewriter Animation */
@keyframes typewriter {
  from { width: 0; }
  to { width: 15ch; }
}
/* ▼ カーソルの点滅 */
@keyframes caret-blink {
  50% { border-color: transparent; }
}
/* カーソル消す */
@keyframes caret-disappear {
  to { border-right-color: transparent; }
}

/* Fade-in from bottom */
.fade-in-up {
  opacity: 0;
  /* animation: fadeInUp 1.5s ease-out 2.2s forwards; */
  animation: none;
}
/* is-visible が付いたらアニメを実行 */
.fade-in-up.is-visible {
  animation: fadeInUp 1.5s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about__view-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  /* margin-top: 3rem; */
  margin-top: 80px;
}
.about__icon-area {
  position: relative;
  margin-right: 1rem;
}
.about__view-more-icon {
  width: 50px;
  height: auto;
}
.about__butterfly--5 {
  position: absolute;
  top: 0px;
  left: -5px;
  width: 20px;
  height: auto;
  animation: fly 5s infinite ease-in-out;
  pointer-events: none;
}
.about__read-more,
.works__view-more {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 40px;
}
.about__read-more-icon {
  width: 60px;
  height: auto;
}

/* 基本スタイル */
.c-arrow-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #4a141e;
  font-family: 'PT Sans', sans-serif;
  font-size: clamp(0.875rem, 0.479rem + 1.69vw, 2rem);
}
.c-arrow-link--icon {
  position: relative;
  width: 60px; /* 矢印全体の幅 */
  height: 10px; /* 高さ */
}

/* 矢印の横線 */
.c-arrow-link--icon::before {
  content: "";
  position: absolute;
  width: 56px; /* 横棒の長さ */
  height: 1.2px; /* 太さ */
  right: 0;
  bottom: 0;
  background-color: #4a141e;
  transform: translateY(-50%);
}

/* 矢印の斜め線 */
.c-arrow-link--icon::after {
  content: "";
  position: absolute;
  width: 12px; /* 斜め線の長さ */
  height: 1.4px;
  right: -3px; /* 横棒の終点に配置 */
  bottom: 8px;
  background-color: #4a141e;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: left center;
}

/* 一方通行のアニメーション */
.c-arrow-link:hover .c-arrow-link--icon::before {
  animation: continuousSlide 0.8s linear infinite;
}

.c-arrow-link:hover .c-arrow-link--icon::after {
  animation: continuousHeadSlide 0.8s linear infinite;
}

/* アニメーションキー */
@keyframes continuousSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(10px);
  }
}

@keyframes continuousHeadSlide {
  0% {
    transform: translateX(0) rotate(45deg);
  }
  100% {
    transform: translateX(10px) rotate(45deg);
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .about__text {
    margin-left: 20px;
    font-size: 14px;
  }
  .about__butterfly--3 {
  right: 0;
  width: 36px;
}
  .about__butterfly--4 {
    right: 5%;
    width: 30px;
  }
}

/* ========================================
   WORKS
======================================== */
.works .section__title {
  margin-bottom: 64px;
}
/* ラッパー：スライダー＋ドットまとめて中央寄せ */
.works__slider-container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
}

/* Swiper本体 */
.works__slider {
  width: 100%;
  height: 600px; /* 固定高を外して画像サイズに合わせる */
  overflow: visible;
  box-sizing: border-box;
  margin-bottom: 100px;
}
/* 各スライド */
.works__slide {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transition: transform 0.5s ease;
}
.works__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease, box-shadow 0.3s ease;
}
/* 中央スライド */
.swiper-slide-active .works__img {
  transform: scale(1.5);
  z-index: 2;
}
.swiper-slide-prev .works__img,
.swiper-slide-next .works__img {
  transform: scale(0.8);
  opacity: 1;
}

/* ドットカスタマイズ */
.swiper-pagination.works__dots.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    top: auto;
    bottom: auto;
}
.works__dots {
  display: flex;
  justify-content: center;
  gap: 20px;             /* ドットの間隔 */
}
/* ドットの見た目 */
.works__dots .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background: #E4A8BB;
  opacity: 1;
  border-radius: 50%;
  transition: background 0.3s;
}
/* アクティブなドットの色 */
.works__dots .swiper-pagination-bullet-active {
  background: #D90368;
}
.works__view-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  margin-top: 3rem;
  margin-top: 80px;
}
.works__icon-area {
  position: relative;
  margin-right: 1rem;
}
.works__view-more-icon {
  width: 50px;
  height: auto;
}
.works__butterfly {
  position: absolute;
  top: 0px;
  right: -5px;
  width: 20px;
  height: auto;
  animation: fly 5s infinite ease-in-out;
  pointer-events: none;
}

/* 蝶々のふわふわアニメーション */
@keyframes fly {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  25%  { transform: translate(10px, -15px) rotate(10deg); opacity: 0.9; }
  50%  { transform: translate(-5px, -30px) rotate(-5deg); opacity: 0.8; }
  75%  { transform: translate(8px, -45px) rotate(5deg); opacity: 0.9; }
  100% { transform: translate(0, -60px) rotate(0deg); opacity: 0; }
}

/* View More リンク */
.works__link {
  font-size: 1rem;
  text-decoration: none;
  color: #4c2b35;
  position: relative;
  transition: opacity 0.3s;
}
.works__link:hover {
  opacity: 0.7;
}

/* Responsive */
@media screen and (max-width: 768px) {
  /* スマホではエフェクトを解除 */
  .swiper-slide-active .works__img,
  .swiper-slide-prev .works__img,
  .swiper-slide-next .works__img {
    transform: none;
    opacity: 1;
  }
  .works__slider {
    height: 300px;
  }
  .works__dots {
   gap: 10px;             /* ドットの間隔 */
  }
/* ドットの見た目 */
.works__dots .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}

/* ========================================
   SKILL
======================================== */

/* 共通スタイル（既存ベース）*/
.skill-section__panel {
  max-width: 1000px;
  width: 100%;
}
.skill-section__list {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
  gap: 24px;
  list-style: none;
  padding: 100px 25px; /* ← 上下125px・左右25px 調整必要？*/
  background-color: #E5D4C0;
  border-radius: 8px;

}
/* 各アイテムのカード */
.skill-section__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  gap: 10px;/* アイコンとテキストの間隔を調整 */
  background-color: #f9f4f0;
  border-radius: 8px;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.05);
}

/* アイコンサイズ統一させる */
.skill-section__icon,
.skill-section__icon-group .skill-section__icon {
  width: 48px;             /* 枠幅を統一 */
  height: 48px;            /* 枠高さも統一 */
  object-fit: contain;     /* 枠内に収めて縦横比を保持 */
  display: block;          /* レイアウト崩れ防止 */
  margin: 0 auto;          /* 中央寄せ */
  flex-shrink: 0;
}

/* 複数アイコンを横並びにする場合 */
.skill-section__icon-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;                /* アイコン間のスペース */
  margin-bottom: 12px;     /* テキストとの間隔 */
  height: 48px;            /* グループ高さを統一してズレ防止 */
}
/* 単体アイコンと複数アイコンの下に余白を統一 */
.skill-section__item > .skill-section__icon,
.skill-section__item > .skill-section__icon-group {
  margin-bottom: 12px;
}

/* 説明文のスタイル　*/
.skill-section__desc {
  text-align: left;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
}
/* タブ関連 */
.skill-section__tab-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.skill-section__tabs {
  display: flex;
  margin-bottom: 64px;
}
.skill-section__tab-label {
  background-color: #f9f4f0;
  border: 1px solid #E5D4C0;
  border-radius: 4px;
  padding: 16px 24px;
  cursor: pointer;
  font-family: 'PT Sans', sans-serif;
  font-weight: bold;
  font-size: 24px; 
  color: #4A141E;
  letter-spacing: 2.88px;
  transition: background 0.3s;
}
#skill-tab-cording:checked ~ .skill-section__tabs label[for="skill-tab-cording"],
#skill-tab-design:checked ~ .skill-section__tabs label[for="skill-tab-design"] {
  background-color: #E5D4C0;
}
.skill-section__radio {
  display: none;
}
.skill-section__panel {
  display: none;
  background-color: #f9f4f0;
  padding: 40px 20px;
  animation: fadeIn 0.4s ease-in-out;
}
#skill-tab-cording:checked ~ .skill-tab-cording__panel {
  display: block;
}
#skill-tab-design:checked ~ .skill-tab-design__panel {
  display: block;
}
/* Responsive */
@media (max-width: 1024px) {
  .skill-section__list {
    
    gap: 16px;
    padding: 60px 20px;
  }
}
@media (max-width: 480px) {
  .skill-section__tabs {
    margin-bottom: 24px;
  }
  .skill-section__tab-label {
    padding: 10px 8px;
    font-size: 16px;
  }
  .skill-section__list {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }
  .skill-section__panel {
    padding: 0;
  }

}

/* ========================================
   CONTACT
======================================== */
.contact__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
}

.contact__title {
  position: relative;
  text-align: center;
}
.contact__title .section__title {
  display: inline-block; /* 中央寄せに必須 */
  position: relative;
}
.contact-section__icon {
  position: absolute;
  top: 25%;
  transform: translateY(-50%);
  right: 10%;               /* h3の右端に配置 */
  width: 80px;
  height: auto;
}
.contact__lead {
  text-align: center;
  margin-bottom: 48px;
}
/* ラジオボタン */
.contact__radio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}
.contact__radio-label,
.wpcf7-list-item label {
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 外枠の円 見た目のラジオ枠  */
.contact__radio-label::before,
.wpcf7-list-item-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 1px solid #C97B9A;
  border-radius: 50%;
  background-color: #fff;
  transition: background-color 0.2s ease;
}
/* ホバー時に中を塗る */
.contact__radio-label:hover::before,
.wpcf7-list-item label:hover .wpcf7-list-item-label::before {
  background-color: #F6B7A9;
}
/* チェック時に中がしっかり塗られる */
.contact__radio-input:checked + span::before,
.wpcf7-list-item label:has(input:checked) .wpcf7-list-item-label::after {
  content: '';
  position: absolute;
  left: 3.5px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background-color: #b66c84;
  border-radius: 50%;
}
/* CF7用ネスト調整 */
.wpcf7-list-item {
  display: inline-block; /* デフォルト横並び */
  position: relative;
}

/* ↓WPコンタクトフォームここから↓ */
/* 本物のradioを隠す */
.wpcf7 input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.contact__field > p {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin: 0;
  width: 100%;
}
.contact__textarea {
  min-height: 200px;
}
/* inputを包んでいるspanを横幅いっぱいに */
.contact__field .wpcf7-form-control-wrap {
  flex: 1;
  display: block;
}
/* 入力欄をHOMEと同じ挙動に */
.contact__field input,
.contact__field textarea {
  width: 100%;
  box-sizing: border-box;
}

/* ↑WPコンタクトフォームここまで↑ */

.contact__field {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 60px;
}
/* ラベル列 */
.contact__label {
  width: 300px;
  flex-shrink: 0; /* 縮まないように */
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  color: #4A141E;
  line-height: 1.6;
}
.contact__label--required {
  padding: 8px;
  margin-left: 10px;
  background-color: #E5D4C0;
  color: #4A141E;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 600; /* SemiBoldの指定 */
  line-height: 1;   
}
/* 入力欄列 */
.contact__input,
.contact__textarea {
  flex: 1;  /* 残りスペースを埋める */
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #D8BFAF;
  border-radius: 10px;
  background-color: #fff;
  text-align: left;
}
/* 必須ラベル */
.contact__label--required {
  padding: 6px 10px;
  background-color: #E5D4C0;
  color: #4A141E;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap; /* 折り返し防止 */
}
/* ==========================
   共通：ボタン配置
========================== */
.contact__submit {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ==========================
   通常ページ用ボタン（aタグ）
   front / thanks
========================== */
.contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 24px;
  width: 200px;
  height: 70px;
  padding: 0 48px;
  border-radius: 50px;
  border: 1px solid #C97B9A;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.contact__text {
  letter-spacing: 0.2em;
}
.contact__button--thanks {
  width: 280px;
}
.contact__text {
  display: inline-block;
  transform: translateX(6px);
}
/* 矢印（img） */
.contact__arrow {
  width: 24px;
  height: 24px;
  margin-left: 8px;
  flex-shrink: 0;
  transition: opacity 0.3s;
}

/* hover */
.contact__button:hover {
  background-color: #C97B9A;
  color: #fff;
}

.contact__button:hover .contact__arrow {
  content: url("../images/arrow__icon--hover.svg");
}

/* ==========================
   Contact Form 7 用ボタン
========================== */

/* 外枠（ボタンの見た目を持つ） */
.contact__button-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 70px;
  border-radius: 50px;
  border: 1px solid #C97B9A;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* submit 本体（見た目は持たせない） */
/* CF7 の input[type=submit] 用：aタグの装飾を打ち消す */
.contact__button-wrapper .contact__button {
  all: unset;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

/* 矢印は wrapper の ::after */
.contact__button-wrapper::after {
  content: "";
  position: absolute;
  right: 32px;
  width: 24px;
  height: 24px;
  background-image: url("../images/arrow__icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* hover */
.contact__button-wrapper:hover {
  background-color: #C97B9A;
}

.contact__button-wrapper:hover .contact__button {
  color: #fff;
}

.contact__button-wrapper:hover::after {
  background-image: url("../images/arrow__icon--hover.svg");
}

/* spinner 非表示 */
.wpcf7-spinner {
  display: none;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .contact-section__icon {
    top: 20%;
    right: -2%;
    width: 60px;
  }
  .contact__radio {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  /* CF7の子要素を縦並びに強制 */
  .contact__radio .wpcf7-list-item {
    display: block;
    width: 100%;
  }
  /* ラベル内は左寄せ */
  .contact__radio .wpcf7-list-item label {
    display: flex;      /* ラベル内の文字と丸を横並び */
    align-items: center;
    gap: 8px;
    width: auto;        /* 幅を親に合わせず内容に合わせる */
  }

  .contact__field {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
  }
  .contact__field > p {
    flex-direction: column;
  }
}

@media screen and (max-width: 430px) {
  .contact__lead {
    text-align: left;
    font-size: 14px;
  }
  .contact__button {
    font-size: 16px;
    padding: 12px 24px 12px 36px;
    letter-spacing: 16px;
  }
}



/* ========================================
   about-page
======================================== */
.about-page__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.about-page__profile {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 180px;
  padding-bottom: 80px;
  border-bottom: 5px dotted #C30E46; /* ドットラインを指定 */
  font-family: "Noto Sans JP", sans-serif;
}
.about-page__photo {
  width: 280px;
  height: 345px;
  margin-bottom: 48px;
}
.about-page__photo img {
  width: 100%;
}
.about-page__info {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-page__name {
  width: 100%;
  padding-bottom: 28px;
  font-weight: 500; /* Medium */
  font-size: 24px;
  letter-spacing: 0.1em; /* 10% */
  border-bottom: 1px solid #C30E46;
}
.about-page__name span {
  display: block;
  text-align: center;
}

.about-page__intro {
  margin-top: 28px;
  font-weight: 500;
  font-size: 16px;
}
.about-page__job {
  margin-bottom: 10px;
}
.about-page__motto {
  font-size: 14px;
}
.about-page__desc {
  font-size: 18px;
  line-height: 2;
}
.about-page__desc p {
  margin-bottom: 40px;
}
.about-page__subtitle {
  position: relative;
  padding-top: 80px;
  margin-bottom: 80px;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold; /* 太字 */
  font-size: 32px;
  letter-spacing: 5.12px; /* 文字間隔 16% */
}

/* Interests */
.interests {
  padding-bottom: 80px;
  border-bottom: 5px dotted #C30E46; /* ドットラインを指定 */
}
.interests__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列固定 */
  gap: 20px;
  margin-top: 2em;
}
.interests__card {
  position: relative;
  width: 100%;
  padding-top: 100%;
  perspective: 1500px;
  cursor: pointer;
}
.interests__label {
  color: #7A4E45;
}
.interests__card-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1); 
  /* cubic-bezierで加速→減速の自然な動き */
}
.interests__card.is-flipped .interests__card-inner {
  transform: rotateY(180deg);
}

.interests__card-front,
.interests__card-back {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s;
}
.interests__card-front {
  display: flex;
  align-items: center;
  justify-content: center;
}
.interests__card-front--pink {
  background: #f6b7a9;
}
.interests__card-front--yellow {
  background: #ffe866;
}
.interests__label {
  font-family: 'Caveat', cursive;
  font-weight: bold;
  font-size: 48px;
  line-height: 150%; /* 行間 */
  letter-spacing: 8px; /* 文字間隔 */
}

/* カード内ボタン */
.interests__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px;
  /* background-color: #FFF8F0; */
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 36px;
  color: #B36A58;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid rgba(0,0,0,0.05);           /* うっすら輪郭で背景上の埋もれ回避 */
  cursor: pointer;
  text-decoration: none;
  /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08); */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: absolute;
  bottom: 20px;
  right: 20px;
}

/* ホバー時 */
.interests__btn:hover {
  background-color: #8C6A4F;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15),
              inset 0 0 0 1px rgba(255,255,255,0.15); /* 柔らかい“艶”で立体感 */
  border-color: rgba(0,0,0,0.08);
}

/* 矢印 */
.interests__btn-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.interests__btn:hover .interests__btn-icon {
  transform: translateX(10px);
}
.interests__card-back {
  background: #F9F4F0;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  padding: 5px;
  box-sizing: border-box;
  transform: rotateY(180deg);
}
.interests__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #C30E46;
  margin-bottom: 16px;
}
.interests__back-title {
  font-weight: 500; /* Medium */
  font-size: 32px;
}
.interests__title-icons {
  display: flex;
  gap: 8px;
}
.interests__title-icon {
  width: 40px;
  height: auto;
}

.interests__card--desc {
  font-size: 18px;
  line-height: 1.6; 
  padding: 30px;
}
.interests__card.is-flipped .interests__card-front {
  transform: rotateY(180deg);
}
.interests__card.is-flipped .interests__card-back {
  transform: rotateY(0);
}

/* Snapshots */
.snapshots {
  margin-bottom: 80px;
}
.snapshots__row {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  margin: 1em calc(50% - 50vw) 0;
  width: 100vw;
}
.snapshots__track {
  display: flex;
  width: max-content;
}

/* すべての画像が正しく表示される基本設定 */
.snapshots__item-image {
  display: block;
  width: 100%; /* 親要素に依存させる */
  height: 100%; /* アスペクト比を維持 */
  object-fit: cover; /* 必要に応じて contain に変更する */
}

/* トップ段の親要素にサイズを指定 */
.snapshots__row--top .snapshots__item {
  width: 150px; 
  height: 200px;
  margin-right: 16px;
  flex-shrink: 0; /* 潰れ防止 */
  overflow: hidden; /* 必要に応じて画像を切る */
}

/* ボトム段の親要素にサイズを指定 */
.snapshots__row--bottom .snapshots__item {
  width: 250px; 
  height: 150px; 
  margin-right: 16px;
  flex-shrink: 0; /* 潰れ防止 */
  overflow: hidden; /* 必要に応じて画像を切る */
}
.snapshots__row--top .snapshots__track {
  animation: scroll-left 45s linear infinite;
}
.snapshots__row--bottom .snapshots__track {
  animation: scroll-right 80s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.snapshots__item {
  position: relative;
}
.snapshots__item-title {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7); /* 半透明の背景 */
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 5px;
  white-space: normal;
  text-align: center;

  width: 85%; 
  display: inline-block; 
  
  opacity: 0;
  transition: opacity 0.3s ease-in-out; /* なめらかなアニメーション */
}
.snapshots__item:hover .snapshots__item-title {
  opacity: 1;
}

/* Responsive */
/* タブレット以下（1024px以下） */
@media (max-width: 1024px) {
  .about-page__subtitle {
    padding-left: 20px;
  }
  .about-page__subtitle-left {
    padding-left: 60px;
  }
  .interests {
    padding: 0 20px 80px;
  }
  .interests__grid {
    grid-template-columns: repeat(2, 1fr); /* 3列→2列 */
    gap: 24px;
  }
  .interests__label {
    font-size: 40px;
    letter-spacing: 6px;
  }
  .interests__back-title {
    font-size: 28px;
  }
}
/* スマホ（768px以下） */
@media screen and (max-width: 768px) {
  .about-page__wrapper {
    width: 100%;
  }
  .about-page__subtitle {
      padding-top: 40px;
      padding-left: 0px;
      margin-bottom: 40px;
      font-size: 24px;
    }
  .about-page__subtitle-left {
      padding-left: 40px;
    }
  .about-page__profile {
    display: block;
    gap: 0px;
    padding-bottom: 40px;
  }
  .about-page__photo {
    margin: 0 auto 36px;
  }
  .about-page__details-group {
    margin-bottom: 80px;
  }
  .about-page__job {
    text-align: center;
  }
  .about-page__motto {
    text-align: left;
  }
  .about-page__desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 14px;
  }
  .about-page__desc p {
    margin-bottom: 0px;
  }
  .interests {
    padding-bottom: 60px;
  }
  .interests__card--desc {
    padding: 16px;
  }
  .interests__title-icon {
    width: 36px;
  }
}


/* 小型スマホ（480px以下） */
@media (max-width: 480px) {
  .interests__grid {
    display: grid;
    grid-template-columns: 1fr; /* 1列表示 */
    gap: 0px;
  }
  .interests__card {
    padding-top: 200px;
  }
  .interests__card-front,
  .interests__card-back {
    height: 180px;
  }
  .interests__card-back {
    padding: 1em;
  }
  .interests__label {
    font-size: 32px;
    letter-spacing: 4px;
  }
  .interests__back-title {
    font-size: 24px;
  }
  .interests__card--desc {
    font-size: 16px;
    padding: 5px;
  }
  .interests__btn {
    bottom: 12px;
    right: 12px;
    font-size: 14px;
    padding: 4px 12px;
  }
  .interests__title-icon {
    width: 30px;
  }
}

/* ========================================
   works-page
======================================== */

.works-page__wrapper {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 80px;
}
.tabs {
  display: flex;
  justify-content: start;
  gap: 1rem;
  margin: 3rem 0 5rem;
}
.tabs__btn {
  border: 1px solid #E5D4C0;
  padding: 0.8rem 2.4rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Pt Sans", sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 2.88px;
  transition: all 0.3s ease;
}
.tabs__btn:hover,
.tabs__btn--active {
  background-color: #E5D4C0;
  color: #4E2F20;
}

/* 制作実績一覧 */
/* Grid */
.cards {
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px
}
.works-card {
  position: relative;
  padding: 26px 26px 48px;
  border-radius: 18px;
  overflow: hidden;
  
  /* 点線枠 */
  border:3px dotted #E6CCB8;
  box-shadow: 0 10px 20px rgba(0,0,0,.04);
}
.works-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}
/* 背景ワード（指定色） */
.works-card__bgword {
  position: absolute;
  width: 100%;
  text-align: center;
  inset: 16px;
  font-size: 96px;
  font-family: "Pt Sans", sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 20px;
  opacity: .4; /* 濃さ確認 */
  pointer-events: none;
  user-select: none;
  z-index: -1;
  top: 0;
  left: 0;
}
.works-card--coding .works-card__bgword {
  color: #E5D4C0;
}
.works-card--design .works-card__bgword {
  color: #EBD6DD;
}

/* 画像 */
.works-card__figure {
  position: relative;
  z-index: 1;
  margin: 18px 0 16px;
}
.works-card__figure img {
  width: 100%;
  object-fit: contain;
  max-height: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,.06);
}

/* ツール（ボタン風） */
.works-card__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 26px 40px 0;
  z-index: 1;
}
.tool-tag {
  background: #C30E46;
  color: #fff;
  font-family: "Pt Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  padding: 6px 12px;
}
.works-card__tool{
  background: #C30E46;
  color: #fff;
  font-family: "Pt Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  padding: 6px 12px;
}
.works-card__meta {
  margin-top: 12px;
  font-family: "Pt Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.works-card__row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding:12px 0;
  border-bottom: 2px dotted #81B4AD;
}
.works-card__row:last-child {
  border-bottom:none;
}
.works-card__term {
  min-width: 88px;
  text-align: right;
  padding-right: 16px;
}
.works-card__row::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: calc(88px + 12px);
  width: 1px; /* 線の幅 */
  background-color: #81B4AD; /* 線の色 */
}
.works-card__desc {
  padding-left: 16px;
}
.works-page__View-Detail {
  position: absolute;
  bottom: 10px;
  right: 8px;
  display: flex;
  align-items: center; /* テキストと矢印の縦位置を中央揃え */
  gap: 12px;
  z-index: 2;
}
.works-page__View-Detail a {
  font-size: 16px;
}
/* View Detail（右端細線＋矢印） */
.works-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: #6b3e2f;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.works-card__more::after {
  content: "";
  width: 46px;
  height: 1px;
  background: currentColor;
  display: inline-block;
  transform: translateX(4px);
}
.works-card__more span {
  position: relative;
}
.works-card__more span::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
}
/* Hover 微量上浮き */
.works-card:hover {
  transform:translateY(-3px);
  transition: .22s ease;
}
/* works-fade-inの初期状態 */
.works-fade-in {
  opacity: 0; /* 非表示 */
  transform: translateY(20px); /* 下から上にフェードイン */
  transition: opacity 0.6s ease, transform 0.6s ease; /* トランジション */
}
/* 表示時の状態 */
.works-fade-in.show {
  opacity: 1; /* 表示 */
  transform: translateY(0); /* 位置を戻す */
}


/* Responsive */
@media (max-width: 1024px) {
  .works-page__wrapper {
    width: 90%;
  }
  .tabs__btn {
    padding: 0.2rem 1.0rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 2.88px;
  }
  .works-card {
    padding: 24px;
  }

}
@media (max-width: 980px) {
  .works-card__tool {
    font-size: 12px;
    padding: 4px 8px;
  }
  
}
@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .works-card__bgword {
    font-size: 130px;
  }
  .works-page__View-Detail {
    bottom: 8px;
  }
  .works-page__View-Detail a {
  font-size: 14px;
  }
  .works-card__figure img {
    height: 100%;
  }
  .works-card__term {
    min-width: 70px; /* 狭い画面では幅を小さく調整 */
    padding-right: 8px;
  }
  .works-card__row::before {
    left: calc(70px + 8px); /* 新しい幅に基づいて計算 */
  }
}
@media (max-width: 568px) {
  .works-card__bgword {
    font-size: 75px;
  }
}

/* ========================================
   thanks-page
======================================== */
.thanks-page__wrapper {
  height: 100vh;
  height: 100svh; /* Small Viewport Height */
}
.thanks-page__title {
  font-size: clamp(3rem, -0.169rem + 13.521vw, 12rem);
}
.thanks-page__desc {
  font-size: clamp(0.875rem, 0.787rem + 0.376vw, 1.125rem);
}
.button {
  letter-spacing: 0;
}

