/* ==========================================================================
   Variables
   ========================================================================== */
:root{
  --color-bg:        #FFFFFF;
  --color-bg-tint:   #FAF7F0;
  --color-white:     #FFFFFF;
  --color-text:      #242424;
  --color-text-soft: #5E5E5E;
  --color-text-mute: #9C9C9C;
  --color-line:      #EAE6DA;

  --color-teal:        #2ABFC6;
  --color-teal-dk:     #22999E;
  --color-teal-lt:     #D9F2F3;

  --color-terracotta:    #C66E4E;
  --color-terracotta-dk: #9E583E;
  --color-terracotta-lt: #F3E2DC;

  --color-gold:      #E9B641;
  --color-gold-dk:   #BA9234;
  --color-gold-lt:   #FAF0D9;

  --color-purple:    #7566A0;
  --color-purple-dk: #5E5280;
  --color-purple-lt: #E7E3F0;

  --font-heading: 'Zen Maru Gothic', 'M PLUS Rounded 1c', sans-serif;
  --font-sans:    'M PLUS Rounded 1c', 'Hiragino Sans', sans-serif;
  --font-en:      'Fredoka', sans-serif;

  --container: 1120px;
  --header-h: 80px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; border: none; background: none; cursor: pointer; }
input, textarea, select{ font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4{ margin: 0; font-family: var(--font-heading); font-weight: 700; }
p{ margin: 0; }
.sp-only{ display: none; }

/* scroll offset for anchored sections under fixed header */
section[id]{ scroll-margin-top: var(--header-h); }

/* ==========================================================================
   Reveal animation (scroll fade-in) — used across the whole site
   ========================================================================== */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.23,1,.32,1), transform .9s cubic-bezier(.23,1,.32,1);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 30px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), background .35s ease, color .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
}
.btn--primary{
  background: var(--color-terracotta);
  color: var(--color-white);
}
.btn--primary:hover{
  background: var(--color-terracotta-dk);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 24px rgba(232,147,74,.35);
}
.btn--outline{
  border: 1.5px solid var(--color-teal);
  color: var(--color-teal-dk);
  margin-left: 16px;
}
.btn--outline:hover{
  background: var(--color-teal);
  color: var(--color-white);
  transform: translateY(-3px) scale(1.04);
}
.btn--line{
  background: #06C755;
  color: var(--color-white);
}
.btn--line:hover{
  background: #05a648;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 24px rgba(6,199,85,.35);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 500;
  background: transparent;
  transition: background .4s ease, box-shadow .4s ease;
}
.header.is-scrolled{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,.05);
}
.header__inner{
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo{
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.header__logo-en{
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: .02em;
  color: var(--color-purple);
}
.header__logo-jp{
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--color-text-mute);
}
.header__nav ul{
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__nav a:not(.header__nav-cta):not(.header__nav-line){
  font-size: .9rem;
  letter-spacing: .03em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, color .3s;
}
.header__nav a:not(.header__nav-cta):not(.header__nav-line):hover{
  border-color: var(--color-teal);
  color: var(--color-teal-dk);
}
.header__nav-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-size: .9rem;
  letter-spacing: .03em;
  padding: 0 22px !important;
  border: 2px solid var(--color-terracotta);
  border-radius: 20px;
  color: var(--color-terracotta-dk) !important;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.header__nav-cta:hover{
  background: var(--color-terracotta);
  color: var(--color-white) !important;
  border-color: var(--color-terracotta);
}
.header__nav-line{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-size: .9rem;
  letter-spacing: .03em;
  padding: 0 22px !important;
  border: 2px solid #06C755;
  border-radius: 20px;
  color: #06C755 !important;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.header__nav-line:hover{
  background: #06C755;
  color: var(--color-white) !important;
}
.header__burger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px; height: 32px;
  z-index: 600;
}
.header__burger span{
  display: block;
  height: 1px;
  background: var(--color-text);
  width: 100%;
  transition: transform .3s ease, opacity .3s ease;
}
.header__burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2){ opacity: 0; }
.header__burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   FV (Hero)
   ========================================================================== */
.fv{
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 32px) 24px 40px;
  overflow: hidden;
}
.fv__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Scroll-linked floating circles (background decoration, spans the whole page) */
.bg-blob{
  position: absolute;
  border-radius: 58% 42% 38% 62% / 55% 62% 38% 45%;
  pointer-events: none;
  will-change: transform;
}
.bg-blob--shape2{ border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; }
.bg-blob--shape3{ border-radius: 65% 35% 45% 55% / 35% 55% 45% 65%; }
.bg-blob--shape4{ border-radius: 48% 52% 30% 70% / 62% 45% 55% 38%; }
.bg-blob--fv1{
  width: 150px; height: 150px;
  top: 20%; left: 10%;
  border: 3px solid var(--color-gold-dk);
  opacity: .65;
}
.bg-blob--fv2{
  width: 75px; height: 75px;
  top: 66%; right: 16%;
  background: var(--color-purple);
  opacity: .8;
}
.bg-blob--works{
  width: 220px; height: 220px;
  top: -40px; right: 6%;
  border: 3px solid var(--color-teal-dk);
  opacity: .7;
}
.bg-blob--service{
  width: 160px; height: 160px;
  bottom: 40px; left: 4%;
  background: var(--color-terracotta);
  opacity: .7;
}
.bg-blob--price{
  width: 190px; height: 190px;
  top: 60px; right: 8%;
  border: 3px solid var(--color-gold-dk);
  opacity: .6;
}
.bg-blob--profile{
  width: 145px; height: 145px;
  bottom: -20px; left: 8%;
  background: var(--color-teal);
  opacity: .7;
}
.bg-blob--fv3{
  width: 55px; height: 55px;
  top: 42%; left: 42%;
  background: var(--color-gold-dk);
  opacity: .6;
}
.bg-blob--works2{
  width: 95px; height: 95px;
  bottom: 10%; left: 2%;
  background: var(--color-purple);
  opacity: .7;
}
.bg-blob--anim1{
  width: 170px; height: 170px;
  top: 10%; left: 8%;
  border: 3px solid var(--color-teal-dk);
  opacity: .7;
}
.bg-blob--anim2{
  width: 90px; height: 90px;
  bottom: 6%; right: 10%;
  background: var(--color-gold-dk);
  opacity: .6;
}
.bg-blob--service2{
  width: 105px; height: 105px;
  top: 8%; right: 4%;
  border: 3px solid var(--color-purple-dk);
  opacity: .65;
}
.bg-blob--price2{
  width: 110px; height: 110px;
  bottom: 8%; left: 6%;
  background: var(--color-teal);
  opacity: .7;
}
.bg-blob--profile2{
  width: 80px; height: 80px;
  top: 12%; right: 10%;
  background: var(--color-purple);
  opacity: .7;
}
.bg-blob--contact1{
  width: 200px; height: 200px;
  top: -30px; left: 6%;
  border: 3px solid var(--color-teal-dk);
  opacity: .65;
}
.bg-blob--contact2{
  width: 95px; height: 95px;
  bottom: 12%; right: 8%;
  background: var(--color-purple-dk);
  opacity: .6;
}
.fv .reveal{
  transition: opacity .9s cubic-bezier(.25,1,.4,1), transform .9s cubic-bezier(.25,1,.4,1);
  transition-delay: 4.5s;
  transform: translateY(24px);
}
.fv .reveal.is-visible{ transform: translateY(0); }

.fv__layout{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.fv__eyebrow{
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-teal);
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.fv__title{
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.55;
  color: var(--color-text);
}
.fv__title-line{ display: block; }
.fv__lead{
  font-size: .95rem;
  color: var(--color-text-soft);
}
.fv__cta{ display: flex; justify-content: center; align-items: center; }

/* ---- Stage: toolbox + items ---- */
.fv__stage{
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1.02;
  margin: 0 auto;
}
.toolbox{
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  width: 42%;
  min-width: 128px;
  filter: drop-shadow(0 16px 20px rgba(36,36,36,.16));
}
.toolbox__svg{
  display: block;
  overflow: visible;
  width: 100%;
  height: auto;
  opacity: 0;
  animation: toolboxIntro 1.3s cubic-bezier(.3,1,.4,1) forwards;
}
@keyframes toolboxIntro{
  0%{ opacity: 0; transform: translateY(24px) scale(.88) rotate(0deg); }
  38%{ opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
  69%{ transform: translateY(0) scale(1) rotate(0deg); }
  77%{ transform: translateY(0) scale(1) rotate(-4deg); }
  85%{ transform: translateY(0) scale(1) rotate(4deg); }
  93%{ transform: translateY(0) scale(1) rotate(-2deg); }
  100%{ opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}
.toolbox__lid{
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: rotate(0deg);
  animation: lidOpen .5s cubic-bezier(.2,1,.3,1) forwards;
  animation-delay: 1.5s;
}
@keyframes lidOpen{
  0%{ transform: rotate(0deg); }
  60%{ transform: rotate(-40deg); }
  100%{ transform: rotate(-33deg); }
}
.toolbox__popcopy{
  position: absolute;
  left: 50%;
  bottom: 100%;
  margin-bottom: 14px;
  width: max-content;
  max-width: 250px;
  transform: translate(-50%, 10px) scale(.4) rotate(-6deg);
  opacity: 0;
  background: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.5;
  text-align: center;
  padding: 14px 20px;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(186,146,52,.35);
  animation: popcopyPop .6s cubic-bezier(.3,1,.4,1) forwards;
  animation-delay: 3.9s;
}
.toolbox__popcopy::after{
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--color-gold);
}
@keyframes popcopyPop{
  0%{ opacity: 0; transform: translate(-50%, 10px) scale(.4) rotate(-6deg); }
  65%{ opacity: 1; transform: translate(-50%, -6px) scale(1.05) rotate(2deg); }
  100%{ opacity: 1; transform: translate(-50%, 0) scale(1) rotate(0deg); }
}

.tool-item{
  --rot: 0deg;
  --top: 50%;
  --left: 50%;
  position: absolute;
  top: var(--top);
  left: var(--left);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-white);
  border: 1.5px solid var(--color-line);
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(36,36,36,.08);
  opacity: 0;
  transform: scale(.3) rotate(var(--rot));
  animation: toolItemPop .8s cubic-bezier(.25,1,.4,1) forwards;
}
.tool-item svg{ width: 25px; height: 25px; }
@keyframes toolItemPop{
  0%{ top: 64%; left: 50%; opacity: 0; transform: scale(.25) rotate(var(--rot)); }
  62%{ top: var(--top); left: var(--left); opacity: 1; transform: scale(1.08) rotate(var(--rot)); }
  100%{ top: var(--top); left: var(--left); opacity: 1; transform: scale(1) rotate(var(--rot)); }
}
.tool-item--site{ --top: 2%; --left: 6%; --rot: -8deg; color: var(--color-teal); animation-delay: 2s; }
.tool-item--sns{ --top: 0%; --left: 42%; --rot: 6deg; color: var(--color-terracotta); animation-delay: 2.18s; }
.tool-item--seo{ --top: 6%; --left: 84%; --rot: -5deg; color: var(--color-gold-dk); animation-delay: 2.32s; }
.tool-item--design{ --top: 24%; --left: 0%; --rot: -10deg; color: var(--color-teal-dk); animation-delay: 2.55s; }
.tool-item--code{ --top: 20%; --left: 88%; --rot: 5deg; color: var(--color-terracotta-dk); animation-delay: 2.68s; }
.tool-item--meo{ --top: 44%; --left: 2%; --rot: 9deg; color: var(--color-purple); animation-delay: 2.9s; }
.tool-item--idea{ --top: 46%; --left: 86%; --rot: -6deg; color: var(--color-gold-dk); animation-delay: 3.05s; }

@media (max-width: 640px){
  .fv__stage{ max-width: 280px; }
  .tool-item{ width: 44px; height: 44px; border-radius: 13px; }
  .tool-item svg{ width: 19px; height: 19px; }
  .toolbox{ min-width: 96px; }
  .toolbox__popcopy{ font-size: .88rem; max-width: 190px; padding: 11px 16px; }
  .bg-blob--fv2{ top: auto; bottom: 4%; right: 4%; }
}

@media (min-width: 1024px){
  .fv__layout{
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    grid-template-areas:
      "heading stage"
      "lead    stage"
      "cta     stage";
    align-items: center;
    column-gap: 56px;
    row-gap: 22px;
    text-align: left;
    max-width: 1280px;
  }
  .fv__heading{ grid-area: heading; }
  .fv__lead{ grid-area: lead; max-width: 460px; }
  .fv__cta{ grid-area: cta; justify-content: flex-start; }
  .fv__stage{ grid-area: stage; max-width: 480px; justify-self: end; margin-right: -24px; }
  .bg-blob--fv1{ top: 6%; }
  .bg-blob--fv2{ right: 2%; }
}
.fv__scroll{
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}
.fv__scroll-line{
  width: 1px; height: 46px;
  background: var(--color-text-mute);
  position: relative;
  overflow: hidden;
}
.fv__scroll-line::after{
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--color-terracotta);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine{
  0%{ top: -100%; }
  60%{ top: 100%; }
  100%{ top: 100%; }
}
.fv__scroll-text{
  font-family: var(--font-en);
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--color-text-mute);
}

/* ==========================================================================
   Section generic
   ========================================================================== */
.section{ position: relative; padding: 140px 0; }
.section--tint{ background: var(--color-bg-tint); }
#animation.section--tint{ background: var(--color-teal-lt); }
#price.section--tint{ background: var(--color-gold-lt); }
.section__inner{
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.section__eyebrow{
  font-family: var(--font-en);
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-teal);
  text-align: center;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.section__eyebrow::before{
  content: '●';
  display: inline-block;
  font-size: .5rem;
  color: var(--color-terracotta);
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}
#animation .section__eyebrow::before{ color: var(--color-teal); }
#service .section__eyebrow::before{ color: var(--color-gold-dk); }
#price .section__eyebrow::before{ color: var(--color-purple); }
#profile .section__eyebrow::before{ color: var(--color-terracotta); }
#contact .section__eyebrow::before{ color: var(--color-teal); }
.section__title{
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  text-align: center;
  letter-spacing: .04em;
  margin-bottom: 24px;
}
.section__lead{
  text-align: center;
  color: var(--color-text-soft);
  font-size: .92rem;
/*   max-width: 640px; */
  margin: 0 auto 64px;
}

/* ==========================================================================
   Works (実績)
   ========================================================================== */
.tabs{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 56px;
}
.tabs__btn{
  padding: 12px 32px;
  font-size: .88rem;
  letter-spacing: .04em;
  color: var(--color-text-mute);
  border-bottom: 2px solid transparent;
  transition: color .3s, border-color .3s;
}
.tabs__btn.is-active{
  color: var(--color-teal-dk);
  border-color: var(--color-teal);
}
.tab-panel{ display: none; }
.tab-panel.is-active{ display: block; }

.works-slider__track{
  display: flex;
  gap: 32px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.works-slider__track::-webkit-scrollbar{ display: none; }
.works-slider__slide{
  flex: 0 0 calc(50% - 16px);
  scroll-snap-align: start;
}
.works-slider__controls{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.works-slider__arrow{
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.works-slider__arrow svg{
  display: block;
  flex-shrink: 0;
}
.works-slider__arrow:hover{
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--color-white);
}
.works-slider__arrow:disabled{
  opacity: .35;
  cursor: default;
}
.works-slider__arrow:disabled:hover{
  background: var(--color-white);
  border-color: var(--color-line);
  color: var(--color-text);
}
.works-slider__dots{
  display: flex;
  gap: 10px;
}
.works-slider__dot{
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  padding: 0;
  line-height: 0;
  border-radius: 50%;
  background: var(--color-line);
  transition: background .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.works-slider__dot:hover{ transform: scale(1.4); }
.works-slider__dot.is-active{
  background: var(--color-teal);
  transform: scale(1.3);
}
.work-card{
  background: var(--color-white);
  border: 1px solid var(--color-line);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
}
.work-card:hover{
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 40px rgba(36,36,36,.08);
}
.work-card__thumb{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  position: relative;
  color: var(--color-white);
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: .05em;
}
.work-card__thumb--01{ background: linear-gradient(135deg,#75D6DB,#2ABFC6); }
.work-card__thumb--02{ background: linear-gradient(135deg,#F1CF84,#E9B641); }
.work-card__thumb--03{ background: linear-gradient(135deg,#DBA28C,#C66E4E); }
.work-card__thumb--04{ background: linear-gradient(135deg,#A59BC1,#7566A0); }
.work-card__view{
  opacity: 0;
  border: 1px solid rgba(255,255,255,.8);
  padding: 8px 22px;
  font-size: .8rem;
  transition: opacity .3s ease;
}
.work-card__thumb:hover .work-card__view{ opacity: 1; }
.work-card__thumb--masked{
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, #EFEBDF 0, #EFEBDF 10px, #F7F4EA 10px, #F7F4EA 20px);
}
.work-card__lock{
  font-size: 1.8rem;
  opacity: .5;
}
.work-card__body{ padding: 28px 28px 32px; }
.work-card__badge{
  display: inline-block;
  font-size: .72rem;
  color: var(--color-terracotta-dk);
  border: 1px solid var(--color-terracotta);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.work-card__title{
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.work-card__desc{
  font-size: .86rem;
  color: var(--color-text-soft);
  margin-bottom: 18px;
}
.work-card__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.work-card__tags li{
  font-size: .72rem;
  color: var(--color-teal-dk);
  background: var(--color-teal-lt);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ==========================================================================
   Animation showcase
   ========================================================================== */
.anim-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.anim-card{
  min-width: 0;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  padding: 28px;
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
}
.anim-card:hover{
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 40px rgba(36,36,36,.08);
}
.anim-card__thumb{
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--color-bg-tint);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.anim-card__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.anim-card__thumb-placeholder{
  font-size: .78rem;
  color: var(--color-text-mute);
}
.anim-card__title{
  font-size: .98rem;
  margin-bottom: 8px;
}
.anim-card__desc{
  font-size: .82rem;
  color: var(--color-text-soft);
}

.anim-note{
  text-align: center;
  font-size: .8rem;
  color: var(--color-text-mute);
  margin-top: 44px;
}

/* ==========================================================================
   Service
   ========================================================================== */
.service-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}
.service-card{
  padding: 36px 30px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
}
.service-card:hover{
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 40px rgba(36,36,36,.08);
}
.service-card:hover .service-card__num{ transform: rotate(-8deg) scale(1.08); }
.service-card__num{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-white);
  background: var(--color-teal);
  margin-bottom: 18px;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.service-card:nth-child(4n+2) .service-card__num{ background: var(--color-terracotta); }
.service-card:nth-child(4n+3) .service-card__num{ background: var(--color-gold-dk); }
.service-card:nth-child(4n+4) .service-card__num{ background: var(--color-purple); }
.service-card__title{
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.service-card__desc{
  font-size: .85rem;
  color: var(--color-text-soft);
}

.flow__title{
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 40px;
}
.flow__list{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.flow__list li{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--color-teal);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
}
.flow__list li:hover{
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 32px rgba(36,36,36,.14);
}
.flow__list li:nth-child(4n+2){ background: var(--color-gold); }
.flow__list li:nth-child(4n+3){ background: var(--color-terracotta); }
.flow__list li:nth-child(4n+4){ background: var(--color-purple); }
.flow__step{
  flex-shrink: 0;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--color-white);
  font-size: 1.1rem;
  opacity: .75;
}
.flow__label{
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-white);
}

/* ==========================================================================
   Price
   ========================================================================== */
.price-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.price-card{
  background: var(--color-white);
  border: 1px solid var(--color-line);
  padding: 40px 26px;
  text-align: center;
  position: relative;
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
}
.price-card:hover{
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 40px rgba(36,36,36,.08);
}
.price-card--featured{
  background: var(--color-purple);
  color: var(--color-white);
  border-color: var(--color-purple);
}
.price-card--featured .price-card__list li{ color: rgba(255,255,255,.85); }
.price-card--featured .price-card__list li::before{ color: var(--color-gold); }
.price-card__ribbon{
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-terracotta);
  color: var(--color-white);
  font-size: .7rem;
  letter-spacing: .05em;
  padding: 4px 16px;
  border-radius: 20px;
}
.price-card__title{
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: .03em;
}
.price-card__price{
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 26px;
}
.price-card__currency{ font-size: 1.1rem; margin-right: 2px; }
.price-card__unit{ font-size: .85rem; margin-left: 4px; }
.price-card__list{ text-align: left; }
.price-card__list li{
  font-size: .82rem;
  color: var(--color-text-soft);
  padding-left: 18px;
  position: relative;
  margin-bottom: 12px;
  line-height: 1.6;
}
.price-card__list li::before{
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-teal);
}
.price-note{
  text-align: center;
  font-size: .8rem;
  color: var(--color-text-mute);
  margin-top: 44px;
}

/* ==========================================================================
   Profile
   ========================================================================== */
.profile{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 96px;
}
.profile__photo-frame{
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--color-teal-lt), #FFFFFF 55%, var(--color-terracotta-lt));
  border: 1px solid var(--color-line);
  object-fit: cover;
  display: block;
}
.profile__name{
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.profile__name-en{
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: .9rem;
  color: var(--color-text-mute);
  margin-left: 12px;
}
.profile__role{
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--color-terracotta-dk);
  margin-bottom: 22px;
}
.profile__text{
  font-size: .9rem;
  color: var(--color-text-soft);
  margin-bottom: 26px;
}
.profile__skills{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.profile__skills li{
  font-size: .78rem;
  color: var(--color-teal-dk);
  background: var(--color-teal-lt);
  padding: 6px 16px;
  border-radius: 20px;
}

.timeline__title{
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 44px;
}
.timeline__list{
  max-width: 680px;
  margin: 0 auto;
  border-left: 1px solid var(--color-line);
  padding-left: 32px;
}
.timeline__item{
  position: relative;
  padding-bottom: 36px;
}
.timeline__item::before{
  content: '';
  position: absolute;
  left: -37px;
  top: 4px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-terracotta);
}
.timeline__item:last-child{ padding-bottom: 0; }
.timeline__year{
  display: block;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--color-teal-dk);
  font-size: .9rem;
  margin-bottom: 6px;
}
.timeline__text{
  font-size: .88rem;
  color: var(--color-text-soft);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.section--contact{ background: var(--color-purple-lt); }
.contact-line{
  text-align: center;
  margin-bottom: 32px;
}
.contact-line .btn--line{
  padding: 13px 36px;
  font-size: .9rem;
}
.contact-line__note{
  margin-top: 10px;
  font-size: .82rem;
  color: var(--color-text-mute);
}
.form{
  max-width: 680px;
  margin: 0 auto;
}
.form__row{ margin-bottom: 26px; }
.form__row--split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form__label{
  display: block;
  font-size: .85rem;
  margin-bottom: 10px;
  color: var(--color-text);
}
.form__required{
  font-size: .68rem;
  color: var(--color-white);
  background: var(--color-terracotta);
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
  vertical-align: middle;
}
.form__input{
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  border-radius: 8px;
  color: var(--color-text);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.form__input:focus{
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px var(--color-teal-lt);
}
textarea.form__input{ resize: vertical; }
.form__row--checkbox{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--color-text-soft);
}
.form__row--checkbox input{ width: 16px; height: 16px; accent-color: var(--color-terracotta); }
.form__submit{
  display: flex;
  width: auto;
  margin: 12px auto 0;
  padding: 13px 36px;
  font-size: .9rem;
}
.form__message{
  text-align: center;
  margin-top: 18px;
  font-size: .85rem;
  color: var(--color-teal-dk);
  min-height: 1.4em;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer{
  background: var(--color-purple);
  color: rgba(255,255,255,.85);
  padding: 64px 0 40px;
  text-align: center;
  position: relative;
}
.footer__inner{ max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.footer__logo{
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: .03em;
  margin-bottom: 28px;
}
.footer__nav{
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer__nav a{
  font-size: .82rem;
  opacity: .85;
  transition: opacity .3s ease;
}
.footer__nav a:hover{ opacity: 1; }
.footer__copy{
  font-size: .72rem;
  opacity: .6;
}
.footer__totop{
  position: absolute;
  right: 32px;
  top: -22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-terracotta);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, background .3s ease;
}
.footer__totop:hover{
  transform: translateY(-4px);
  background: var(--color-teal);
}

/* ==========================================================================
   Floating CTA (fixed bottom-right)
   ========================================================================== */
.floating-cta-group{
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 700;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.floating-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 30px;
  background: var(--color-terracotta);
  color: var(--color-white);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .03em;
  box-shadow: 0 10px 26px rgba(198,110,78,.4);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), background .3s ease, box-shadow .3s ease;
}
.floating-cta:hover{
  background: var(--color-terracotta-dk);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(198,110,78,.5);
}
.floating-cta--line{
  background: #06C755;
  box-shadow: 0 10px 26px rgba(6,199,85,.4);
}
.floating-cta--line:hover{
  background: #05a648;
  box-shadow: 0 14px 32px rgba(6,199,85,.5);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px){
  .anim-grid{ grid-template-columns: repeat(2, 1fr); }
  .price-grid{ grid-template-columns: repeat(2, 1fr); }
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
  .flow__list{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px){
  .sp-only{ display: inline; }
  .header__nav{
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 80vw);
    height: 100vh;
    background: var(--color-bg);
    box-shadow: -10px 0 30px rgba(0,0,0,.08);
    transform: translateX(100%);
    transition: transform .4s ease;
    padding: 100px 40px;
  }
  .header__nav.is-open{ transform: translateX(0); }
  .header__nav ul{
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .header__nav a{ font-size: 1rem; }
  .header__nav-cta{ margin-top: 12px; }
  .header__burger{ display: flex; }

  .section{ padding: 96px 0; }
  .section__lead{ margin-bottom: 44px; }

  .anim-grid,
  .service-grid,
  .price-grid{ grid-template-columns: 1fr; }

  .works-slider__slide{ flex: 0 0 85%; }
  .works-slider__controls{ margin-top: 32px; }

  .profile{ grid-template-columns: 1fr; gap: 40px; }
  .profile__photo-frame{ max-width: 200px; margin: 0 auto; }
  .profile__body{ text-align: center; }
  .profile__skills{ justify-content: center; }

  .form__row--split{ grid-template-columns: 1fr; gap: 26px; }

  .flow__list{ grid-template-columns: 1fr; }

  .fv__cta{ flex-direction: column; align-items: stretch; gap: 14px; }
  .fv__cta .btn{ width: 100%; }
  .btn--outline{ margin-left: 0; }

  .fv__scroll{
    position: static;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 28px;
  }

  .bg-blob{ display: none; }

  .footer__totop{ right: 16px; }

  .floating-cta-group{
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 -6px 20px rgba(0,0,0,.08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .floating-cta{
    flex: 1 1 50%;
    border-radius: 0;
    box-shadow: none;
  }
  .floating-cta-group .floating-cta:first-child{ border-top-left-radius: 20px; }
  .floating-cta-group .floating-cta:last-child{ border-top-right-radius: 20px; }
}

@media (max-width: 480px){
  .header__inner{ padding: 0 20px; }
  .section__inner{ padding: 0 20px; }
  .fv__title{ font-size: 1.6rem; }
  .works-slider__slide{ flex: 0 0 92%; }
  .floating-cta{ padding: 13px 16px; font-size: .85rem; }
}
