/* ═══════════════════════════════════════════
   はなあかり — 花とひかりのカラフルサイト
   ロゴのドット柄（ピンク×イエロー×ピーチ）が主役
═══════════════════════════════════════════ */
:root {
  --white: #FFFDF9;
  --pink: #F2A0C2;
  --pink-deep: #E27BA6;
  --yellow: #EDE79A;
  --yellow-deep: #D9CE5A;
  --peach: #F5D2C2;
  --peach-deep: #EBAF93;
  --ink: #55463C;
  --muted: #9A897B;
  --maru: "Zen Maru Gothic", sans-serif;
  --serif: "Zen Old Mincho", serif;
  --en: "Quicksand", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--maru); font-weight: 400;
  color: var(--ink); background: var(--white);
  line-height: 2; letter-spacing: .05em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.sp { display: none; }

/* ═══════ オープニング：ドットが咲く ═══════ */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  transition: opacity .9s ease .15s, visibility .9s .15s;
}
.loader__dots { display: flex; gap: 16px; }
.loader__dots i {
  width: 22px; height: 22px; border-radius: 50%;
  transform: scale(0);
  animation: bloom .9s cubic-bezier(.34,1.56,.64,1) forwards;
}
.loader__dots i:nth-child(1) { background: var(--pink);   animation-delay: .05s; }
.loader__dots i:nth-child(2) { background: var(--yellow); animation-delay: .18s; }
.loader__dots i:nth-child(3) { background: var(--peach);  animation-delay: .31s; }
.loader__dots i:nth-child(4) { background: var(--pink);   animation-delay: .44s; }
.loader__dots i:nth-child(5) { background: var(--yellow); animation-delay: .57s; }
@keyframes bloom { 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.loader__word {
  font-family: var(--maru); font-weight: 500; font-size: 22px; letter-spacing: .4em;
  color: var(--ink); opacity: 0;
  animation: fadeup .8s ease .7s forwards;
}
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; pointer-events: none; }

/* ═══════ カーソル ═══════ */
.cursor, .cursor-ring { pointer-events: none; position: fixed; z-index: 999; border-radius: 50%; }
.cursor { width: 9px; height: 9px; background: var(--pink-deep); transform: translate(-50%,-50%); }
.cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(226,123,166,.55);
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s, background .3s;
}
.cursor-ring.is-hover { width: 62px; height: 62px; background: rgba(242,160,194,.14); }
@media (hover: none) { .cursor, .cursor-ring { display: none; } }

/* ═══════ プログレス ═══════ */
.progress {
  position: fixed; top: 0; left: 0; z-index: 400;
  width: 100%; height: 3px; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--peach));
}

/* ═══════ 浮遊ドットキャンバス ═══════ */
.dots { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100vh; pointer-events: none; }

/* ═══════ ヘッダー ═══════ */
.header {
  position: fixed; inset: 0 0 auto; z-index: 300;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 30px;
  transition: background .4s, box-shadow .4s;
}
body.is-scrolled .header { background: rgba(255,253,249,.82); backdrop-filter: blur(10px); box-shadow: 0 2px 24px rgba(85,70,60,.08); }
.header__logo { display: flex; align-items: center; gap: 10px; }
.header__logo img { width: 38px; }
.header__logo span {
  display: flex; flex-direction: column; line-height: 1.35;
  font-weight: 500; font-size: 17px; letter-spacing: .14em;
}
.header__logo small { font-size: 9px; letter-spacing: .26em; color: var(--muted); }
.header__toggle {
  width: 54px; height: 54px; border: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--peach-deep));
  box-shadow: 0 6px 20px rgba(226,123,166,.4);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  cursor: pointer;
}
.header__toggle span { width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s; }
body.menu-open .header__toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .header__toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ═══════ メニュー ═══════ */
.menu {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(255,253,249,.96); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 40px;
  clip-path: circle(0 at calc(100% - 57px) 45px);
  transition: clip-path .8s cubic-bezier(.7,0,.2,1);
  visibility: hidden;
  padding: 90px 20px 32px; overflow-y: auto;
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 57px) 45px); visibility: visible; }
.menu__list { display: flex; flex-direction: column; gap: 4px; }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px;
  font-weight: 500; font-size: clamp(21px, 3.2vw, 30px); letter-spacing: .16em;
  padding: 10px 6px;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s, transform .5s, color .3s;
}
.menu__list a em { font-family: var(--en); font-style: normal; font-size: .55em; color: var(--pink-deep); }
.menu__list a:hover { color: var(--pink-deep); }
body.menu-open .menu__list a { opacity: 1; transform: none; }
body.menu-open .menu__list li:nth-child(1) a { transition-delay: .25s; }
body.menu-open .menu__list li:nth-child(2) a { transition-delay: .31s; }
body.menu-open .menu__list li:nth-child(3) a { transition-delay: .37s; }
body.menu-open .menu__list li:nth-child(4) a { transition-delay: .43s; }
body.menu-open .menu__list li:nth-child(5) a { transition-delay: .49s; }
body.menu-open .menu__list li:nth-child(6) a { transition-delay: .55s; }
body.menu-open .menu__list li:nth-child(7) a { transition-delay: .61s; }
body.menu-open .menu__list li:nth-child(8) a { transition-delay: .67s; }
.menu__note { font-size: 11px; letter-spacing: .3em; color: var(--muted); }

/* 項目が8つに増えたため、画面の低い端末では行間を詰めて全項目を収める */
@media (max-height: 760px) {
  .menu { gap: 26px; }
  .menu__list a { padding: 6px 6px; font-size: clamp(19px, 3.2vw, 26px); line-height: 1.7; }
}

/* アンカーで飛んだ時、見出しが固定ヘッダーの下に潜らないようにする */
section[id], .block[id] { scroll-margin-top: 110px; }

/* ═══════ 文字分割 & 出現 ═══════ */
[data-split] .ch {
  display: inline-block; opacity: 0;
  transform: translateY(.55em) rotate(6deg) scale(.8);
  transition: opacity .6s cubic-bezier(.34,1.56,.64,1), transform .6s cubic-bezier(.34,1.56,.64,1);
  transition-delay: calc(var(--i) * 40ms);
}
[data-split].is-view .ch { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.is-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .15s; } .delay-2 { transition-delay: .3s; } .delay-3 { transition-delay: .45s; }

/* ═══════ HERO ═══════ */
.hero {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center;
  padding: 90px clamp(24px, 7vw, 110px) 40px;
  gap: 30px;
}
.hero__en {
  font-family: var(--en); font-weight: 600; font-size: 12px; letter-spacing: .34em;
  color: var(--pink-deep); margin-bottom: 26px;
}
.hero__title {
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.55; letter-spacing: .08em;
}
.hero__title span { display: block; white-space: nowrap; }
.hero__accent {
  background: linear-gradient(120deg, var(--pink-deep), var(--peach-deep) 55%, var(--yellow-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin-top: 30px; font-size: clamp(14px, 1.6vw, 17px); letter-spacing: .1em; color: var(--muted); }
.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.hero__art {
  position: relative;
  width: min(100%, 560px); aspect-ratio: 744 / 668;
  margin: 0 auto; justify-self: center;
}
.hero__depth { position: absolute; inset: 0; will-change: transform; }
.hero__layer {
  position: absolute; inset: 0; width: 100%;
  opacity: 0; transform: scale(.6);
  animation: layerpop 1s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes layerpop { to { opacity: 1; transform: scale(1); } }
/* 各レイヤー：登場の時間差 → その後それぞれ別リズムで浮遊 */
.hero__layer--yellow { animation: layerpop 1s cubic-bezier(.34,1.56,.64,1) 1.5s forwards, drift-y 9s ease-in-out 2.5s infinite; }
.hero__layer--peach  { animation: layerpop 1s cubic-bezier(.34,1.56,.64,1) 1.7s forwards, drift-p 7s ease-in-out 2.7s infinite; }
.hero__layer--pink   { animation: layerpop 1s cubic-bezier(.34,1.56,.64,1) 1.9s forwards, drift-k 8s ease-in-out 2.9s infinite; }
.hero__layer--flower { animation: layerpop 1.1s cubic-bezier(.34,1.56,.64,1) 2.15s forwards, drift-f 6s ease-in-out 3.3s infinite; }
@keyframes drift-y { 50% { transform: translate(-10px, 14px) rotate(-2deg); } }
@keyframes drift-p { 50% { transform: translate(12px, -10px) rotate(1.6deg); } }
@keyframes drift-k { 50% { transform: translate(-8px, -14px) rotate(2.2deg); } }
@keyframes drift-f { 50% { transform: translateY(-12px) rotate(1.2deg); } }
@keyframes floaty { 50% { transform: translateY(-16px) rotate(1.5deg); } }
.hero__cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--en); font-size: 10px; letter-spacing: .35em; color: var(--muted);
}
.hero__cue i { width: 1px; height: 54px; background: rgba(154,137,123,.3); position: relative; overflow: hidden; }
.hero__cue i::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 1px; height: 50%;
  background: var(--pink-deep); animation: cue 2s ease-in-out infinite;
}
@keyframes cue { to { top: 120%; } }

/* ═══════ マーキー ═══════ */
.marquee { position: relative; z-index: 1; overflow: hidden; padding: 18px 0; background: linear-gradient(90deg, var(--pink), var(--peach), var(--yellow)); }
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span {
  font-family: var(--en); font-weight: 600; font-size: 15px; letter-spacing: .3em;
  color: rgba(255,255,255,.95); white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════ 共通見出し ═══════ */
.sec-head { margin-bottom: 60px; position: relative; z-index: 1; }
.sec-head--center { text-align: center; }
.sec-head__en {
  display: block; font-family: var(--en); font-weight: 500;
  font-size: clamp(44px, 7vw, 80px); line-height: 1;
  background: linear-gradient(120deg, var(--pink), var(--yellow-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .85;
}
.sec-head__ja { font-weight: 700; font-size: clamp(21px, 2.6vw, 28px); letter-spacing: .14em; margin-top: 2px; }
.sec-head__ja::after {
  content: ""; display: inline-block; margin-left: 16px; vertical-align: middle;
  width: 46px; height: 8px; border-radius: 8px;
  background: linear-gradient(90deg, var(--pink), var(--yellow));
}
.sec-head--center .sec-head__ja::after { display: block; margin: 14px auto 0; }

/* ═══════ ボタン ═══════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 38px; border-radius: 999px;
  font-weight: 500; font-size: 14px; letter-spacing: .12em;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s;
}
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn--pink {
  background: linear-gradient(120deg, var(--pink-deep), var(--peach-deep));
  color: #fff; box-shadow: 0 10px 28px rgba(226,123,166,.45);
}
.btn--pink:hover { box-shadow: 0 16px 38px rgba(226,123,166,.6); }
.btn--line { border: 2px solid var(--pink); color: var(--pink-deep); background: rgba(255,255,255,.6); }
.btn--white { background: #fff; color: var(--pink-deep); box-shadow: 0 10px 26px rgba(85,70,60,.18); }
.btn--insta { background: #fff; color: var(--ink); box-shadow: 0 10px 26px rgba(85,70,60,.14); }
.btn--insta img { width: 20px; }

/* ═══════ ABOUT ═══════ */
.about { position: relative; z-index: 1; padding: 130px 0 150px; }
.about__inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__photo-wrap { position: relative; perspective: 900px; }
.about__photo {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(85,70,60,.22);
  will-change: transform;
}
.about__photo::after { /* ドット柄の縁飾り */
  content: ""; position: absolute; inset: 0; border-radius: 24px;
  border: 4px solid rgba(255,255,255,.65); pointer-events: none;
}
.about__deco {
  position: absolute; width: 42%; right: -8%; bottom: -14%;
  animation: floaty 7s ease-in-out infinite reverse;
  filter: drop-shadow(0 10px 24px rgba(85,70,60,.12));
}
.about__body h3 { font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: .1em; line-height: 1.9; margin-bottom: 24px; }
.about__body p { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.about__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.about__badges span {
  font-size: 12px; letter-spacing: .1em; font-weight: 500;
  padding: 8px 18px; border-radius: 999px; color: var(--ink);
}
.about__badges span:nth-child(1) { background: rgba(242,160,194,.3); }
.about__badges span:nth-child(2) { background: rgba(237,231,154,.5); }
.about__badges span:nth-child(3) { background: rgba(245,210,194,.55); }
.about__badges span:nth-child(4) { background: rgba(242,160,194,.3); }
.about__more {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  font-weight: 500; font-size: 14px; letter-spacing: .1em; color: var(--pink-deep);
  border-bottom: 1px solid rgba(226,123,166,.4); padding-bottom: 6px;
  transition: gap .3s;
}
.about__more i { font-family: var(--en); font-weight: 600; font-style: normal; }
.about__more:hover { gap: 16px; }

/* ═══════ SERVICE：横スクロール ═══════ */
.svc {
  position: relative; z-index: 1;
  padding: 110px 0 120px;
  background:
    radial-gradient(ellipse 60% 50% at 12% 20%, rgba(242,160,194,.18), transparent 60%),
    radial-gradient(ellipse 50% 45% at 88% 75%, rgba(237,231,154,.28), transparent 60%),
    #FFF9F2;
}
.svc__sticky { display: block; }
.sec-head--svc { padding: 0 clamp(24px, 7vw, 110px); margin-bottom: 36px; }
.svc__hint { font-size: 10.5px; letter-spacing: .28em; color: var(--muted); margin-top: 6px; }
.svc__track {
  display: flex; gap: clamp(22px, 3vw, 44px);
  justify-content: center;
  padding: 14px clamp(24px, 7vw, 110px) 30px;
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x proximity;
  scroll-padding-left: clamp(24px, 7vw, 110px);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  cursor: grab;
}
.svc__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.svc__track.is-dragging * { pointer-events: none; }
.svc__track::-webkit-scrollbar { height: 8px; }
.svc__track::-webkit-scrollbar-track { background: transparent; }
.svc__track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--pink), var(--peach-deep)); border-radius: 999px;
}
.svc__card {
  flex: 0 0 clamp(300px, 33vw, 430px);
  scroll-snap-align: start;
  background: #fff; border-radius: 26px;
  padding: clamp(30px, 3vw, 46px);
  box-shadow: 0 20px 55px rgba(85,70,60,.12);
  transform-style: preserve-3d;
  border-top: 10px solid;
}
.svc__card--pink { border-color: var(--pink); }
.svc__card--yellow { border-color: var(--yellow); }
.svc__card--peach { border-color: var(--peach); }
.svc__num {
  font-family: var(--en); font-weight: 600; font-size: 38px; line-height: 1;
  background: linear-gradient(120deg, var(--pink-deep), var(--yellow-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.svc__card h3 { font-weight: 700; font-size: clamp(19px, 1.8vw, 23px); letter-spacing: .1em; line-height: 1.7; margin: 12px 0 8px; }
.svc__lead { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.svc__card ul li {
  font-size: 13px; padding: 9px 0 9px 20px;
  border-bottom: 1px dashed rgba(154,137,123,.3); position: relative;
}
.svc__card ul li::before {
  content: ""; position: absolute; left: 2px; top: 1.4em;
  width: 8px; height: 8px; border-radius: 50%;
}
.svc__card--pink ul li::before { background: var(--pink); }
.svc__card--yellow ul li::before { background: var(--yellow-deep); }
.svc__card--peach ul li::before { background: var(--peach-deep); }
.svc__card--cta {
  border-top: 10px solid var(--yellow);
  background:
    radial-gradient(ellipse 80% 60% at 50% 8%, rgba(242,160,194,.14), transparent 60%),
    #fff;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px;
  text-align: center;
}
.svc__cta-dots { width: 136px; }
.svc__cta-text { font-weight: 500; font-size: 15.5px; letter-spacing: .1em; color: var(--ink); }

/* ═══════ TEAM ═══════ */
.team { position: relative; z-index: 1; padding: 150px 24px; }
.team__photo { max-width: 686px; margin: 0 auto; position: relative; }
.team__swap {
  position: relative; aspect-ratio: 3 / 2;
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(85,70,60,.22);
}
.team__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .7s ease, transform .7s ease;
}
.team__img--b { opacity: 0; transform: scale(1.04); }
.team__swap:hover .team__img--b,
.team__swap:focus-visible .team__img--b { opacity: 1; transform: none; }
.team__swap:hover .team__img--a { transform: scale(1.04); }
.team__photo figcaption {
  text-align: center; margin-top: 26px;
  font-weight: 500; font-size: 15px; letter-spacing: .18em; color: var(--muted);
}
.team__hint { display: block; font-size: 11px; letter-spacing: .22em; margin-top: 6px; color: var(--pink-deep); opacity: .8; }
.team__intro {
  max-width: 686px; margin: 40px auto 0; text-align: center;
}
.team__intro-title {
  font-weight: 700; font-size: 18px; letter-spacing: .14em; color: var(--ink); margin-bottom: 16px;
}
.team__intro p { font-size: 14.5px; color: #6d5f52; line-height: 2; }
.team__quals {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 686px; margin: 30px auto 0; text-align: left;
}
.team__qual {
  background: #fff; border-radius: 20px; padding: 26px 28px;
  box-shadow: 0 12px 40px rgba(85,70,60,.08);
}
.team__qual-tag {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .1em;
  color: var(--pink-deep); margin-bottom: 10px;
}
.team__qual p { font-size: 13.5px; color: var(--muted); line-height: 1.9; }
@media (hover: none) {
  /* タッチ端末：タップで切り替え（JSでis-flip付与） */
  .team__swap.is-flip .team__img--b { opacity: 1; transform: none; }
  .team__hint { display: none; }
}

/* ═══════ FLOW ═══════ */
.flow { position: relative; z-index: 1; padding: 40px 0 150px; }
.flow__inner { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.flow__list { position: relative; padding-left: 44px; }
.flow__list li { display: flex; gap: 24px; padding: 24px 0; position: relative; }
/* 縦線は「丸から次の丸まで」をつなぐ。丸と同じ li 基準で置くので、
   リストの padding-left が変わる画面幅でも中心がずれず、01の上・04の下にもはみ出さない */
.flow__list li:not(:last-child)::after {
  content: ""; position: absolute; left: -32px; top: 45.5px; bottom: -45.5px;
  width: 3px; border-radius: 3px;
  transform: scaleY(0); transform-origin: top;
  transition: transform .9s cubic-bezier(.22,1,.36,1);
}
.flow__list li:nth-child(1)::after { background: linear-gradient(var(--pink), var(--yellow-deep)); }
.flow__list li:nth-child(2)::after { background: linear-gradient(var(--yellow-deep), var(--peach-deep)); }
.flow__list li:nth-child(3)::after { background: linear-gradient(var(--peach-deep), var(--pink-deep)); }
.flow__list.is-line li::after { transform: scaleY(1); }
.flow__list.is-line li:nth-child(2)::after { transition-delay: .25s; }
.flow__list.is-line li:nth-child(3)::after { transition-delay: .5s; }
.flow__list li::before {
  content: ""; position: absolute; left: -38px; top: 38px;
  width: 15px; height: 15px; border-radius: 50%;
  background: #fff; border: 3px solid var(--pink);
  box-shadow: 0 0 0 4px rgba(242,160,194,.25);
}
.flow__list li:nth-child(2)::before { border-color: var(--yellow-deep); box-shadow: 0 0 0 4px rgba(237,231,154,.4); }
.flow__list li:nth-child(3)::before { border-color: var(--peach-deep); box-shadow: 0 0 0 4px rgba(245,210,194,.5); }
.flow__list li:nth-child(4)::before { border-color: var(--pink-deep); box-shadow: 0 0 0 4px rgba(226,123,166,.25); }
.flow__note { margin-top: 30px; padding-left: 44px; font-size: 12.5px; color: var(--muted); line-height: 1.9; }
.flow__list i {
  font-family: var(--en); font-weight: 600; font-size: 28px; line-height: 1.5;
  background: linear-gradient(120deg, var(--pink-deep), var(--peach-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.flow__list h3 { font-weight: 700; font-size: 17px; letter-spacing: .12em; margin-bottom: 4px; }
.flow__list p { font-size: 13.5px; color: var(--muted); }

/* ═══════ FAQ ═══════ */
.faq { position: relative; z-index: 1; padding: 0 0 150px; }
.faq__inner { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.faq__item {
  background: #fff; border-radius: 18px; margin-bottom: 16px;
  box-shadow: 0 8px 30px rgba(85,70,60,.08);
  overflow: hidden;
}
.faq__item summary {
  list-style: none; cursor: pointer; position: relative;
  font-weight: 500; font-size: 15px; letter-spacing: .06em;
  padding: 22px 56px 22px 58px;
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: "Q"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pink), var(--peach-deep));
  color: #fff; font-family: var(--en); font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center; line-height: 1; overflow: hidden;
}
.faq__item summary::after {
  content: ""; position: absolute; right: 26px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--pink-deep); border-bottom: 2px solid var(--pink-deep);
  transform: translateY(-70%) rotate(45deg); transition: transform .4s;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__item summary:hover { color: var(--pink-deep); }
.faq__item p { padding: 0 26px 24px 58px; font-size: 14px; color: var(--muted); }

/* ═══════ CONTACT ═══════ */
.contact {
  position: relative; z-index: 1;
  padding: 60px 24px 150px;
}
.contact__card {
  max-width: 880px; margin: 0 auto;
  background:
    radial-gradient(ellipse 70% 60% at 15% 0%, rgba(242,160,194,.25), transparent 60%),
    radial-gradient(ellipse 60% 55% at 90% 100%, rgba(237,231,154,.35), transparent 60%),
    #fff;
  border-radius: 34px;
  box-shadow: 0 30px 90px rgba(85,70,60,.16);
  text-align: center;
  padding: clamp(46px, 6vw, 80px) clamp(24px, 5vw, 70px);
  position: relative; overflow: hidden;
}
.contact__logo { width: 130px; margin: 0 auto 10px; animation: floaty 6s ease-in-out infinite; }
.contact .sec-head__en { font-size: 15px; letter-spacing: .4em; opacity: 1; }
.contact__title { font-weight: 700; font-size: clamp(22px, 3.4vw, 34px); letter-spacing: .12em; margin: 12px 0 18px; }
.contact__lead { font-size: 14px; color: var(--muted); margin-bottom: 38px; }
.contact__btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }
.contact__info { display: flex; justify-content: center; gap: clamp(18px, 4vw, 56px); flex-wrap: wrap; font-size: 13px; }
/* お問い合わせフォーム */
.cform { text-align: left; margin: 10px 0 40px; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.cform__field { display: flex; flex-direction: column; gap: 8px; }
.cform__field--full { margin-bottom: 20px; }
.cform__field > span { font-size: 12.5px; font-weight: 500; letter-spacing: .08em; color: var(--ink); }
.cform__field > span { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.cform__field em {
  font-style: normal; font-size: 10.5px; padding: 2px 8px; border-radius: 999px;
  background: rgba(226,123,166,.16); color: var(--pink-deep);
  white-space: nowrap; flex: 0 0 auto;
}
.cform input, .cform select, .cform textarea {
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  background: #fff; border: 1.5px solid rgba(154,137,123,.28); border-radius: 14px;
  padding: 13px 16px; width: 100%; transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.cform textarea { resize: vertical; min-height: 130px; line-height: 1.9; }
.cform select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23E27BA6' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.cform input:focus, .cform select:focus, .cform textarea:focus {
  outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(242,160,194,.18);
}
.cform input:user-invalid, .cform textarea:user-invalid { border-color: #E58A8A; }
.cform__check {
  display: flex; align-items: center; gap: 13px;
  font-size: 13.5px; color: var(--muted); cursor: pointer;
  margin: 0 -16px 24px; padding: 14px 16px;
  border: 1.5px solid transparent; border-radius: 16px;
  transition: background-color .25s, border-color .25s, color .25s;
}
.cform__check:hover { background: rgba(242,160,194,.07); }
.cform__check input {
  width: 26px; height: 26px; flex: 0 0 26px; padding: 0; margin: 0;
  position: relative; cursor: pointer;
  background: #fff; border: 2px solid rgba(154,137,123,.5); border-radius: 8px;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.cform__check input::after {
  content: ""; position: absolute; left: 8px; top: 3.5px; width: 6px; height: 12px;
  border: solid #fff; border-width: 0 2.6px 2.6px 0;
  transform: rotate(45deg) scale(.3); opacity: 0;
  transition: opacity .18s, transform .18s cubic-bezier(.2,1.4,.5,1);
}
.cform__check input:hover { border-color: var(--pink); }
.cform__check input:checked {
  background: var(--pink-deep); border-color: var(--pink-deep);
  box-shadow: 0 0 0 4px rgba(242,160,194,.25);
}
.cform__check input:checked::after { opacity: 1; transform: rotate(45deg) scale(1); }
.cform__check input:focus-visible { outline: 3px solid rgba(226,123,166,.5); outline-offset: 3px; }
/* チェック済みは行ごとピンクに光らせて、ひと目で分かるようにする */
.cform__check:has(input:checked) {
  background: rgba(242,160,194,.15); border-color: rgba(226,123,166,.4);
  color: var(--pink-deep); font-weight: 500;
}
.cform__check:has(input:checked)::after {
  content: "同意済み"; margin-left: auto; flex: 0 0 auto;
  font-size: 11px; letter-spacing: .1em; font-weight: 500;
  color: #fff; background: var(--pink-deep);
  padding: 4px 11px; border-radius: 999px;
}
.cform__check a { color: var(--pink-deep); border-bottom: 1px solid rgba(226,123,166,.4); }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__submit { width: 100%; justify-content: center; border: none; cursor: pointer; font-size: 15px; padding: 17px; }
.cform__submit:disabled { opacity: .55; cursor: default; transform: none; }
.cform__status { margin-top: 16px; font-size: 13.5px; letter-spacing: .04em; text-align: center; min-height: 1.2em; }
.cform__status.is-ok { color: #4FA07A; }
.cform__status.is-ng { color: #D9707A; }
.cform.is-sent .cform__grid, .cform.is-sent .cform__field--full, .cform.is-sent .cform__check, .cform.is-sent .cform__submit { display: none; }
.contact__or {
  font-size: 12px; letter-spacing: .16em; color: var(--muted); margin: 8px 0 18px;
  display: flex; align-items: center; gap: 14px; justify-content: center;
}
.contact__or::before, .contact__or::after { content: ""; height: 1px; width: 42px; background: rgba(154,137,123,.3); }

.contact__info dt { font-family: var(--en); font-weight: 600; letter-spacing: .18em; color: var(--pink-deep); }
.contact__info dd { color: var(--muted); }
.contact__info dd a { color: var(--pink-deep); border-bottom: 1px solid rgba(226,123,166,.4); transition: opacity .3s; }
.contact__info dd a:hover { opacity: .7; }

/* ═══════ FOOTER ═══════ */
.footer {
  position: relative; z-index: 1; text-align: center;
  padding: 70px 24px 46px;
  background: linear-gradient(to bottom, transparent, rgba(242,160,194,.14));
}
.footer__mark { width: 52px; margin: 0 auto 12px; }
.footer__name { font-weight: 500; font-size: 15px; letter-spacing: .2em; margin-bottom: 24px; }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 28px; }
.footer__links a { font-size: 12px; color: var(--muted); transition: color .3s; }
.footer__links a:hover { color: var(--pink-deep); }
.footer__meta { font-size: 11px; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; line-height: 1.9; }
.footer small { font-size: 10.5px; letter-spacing: .12em; color: var(--muted); }

/* ═══════ レスポンシブ ═══════ */
@media (max-width: 900px) {
  .sp { display: inline; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 120px; gap: 10px; }
  .hero__btns { justify-content: center; }
  /* ロゴ：レイヤー画像はコンテナ幅に追従（100%のまま）、コンテナを20%縮小して中央配置 */
  .hero__art { width: min(58vw, 264px); margin: 22px auto 0; justify-self: center; }
  .hero__art img { width: 100%; }
  .about__grid { grid-template-columns: 1fr; gap: 70px; }
  .about__deco { right: -2%; }
  /* SERVICEは左右スクロールなので高さは自動。旧 height:470vh を撤去して間延び解消 */
  .svc { height: auto; padding: 70px 0 76px; }
  .svc__track { justify-content: flex-start; }
  .svc__card { flex-basis: min(78vw, 350px); }
  .team { padding: 72px 24px; }
  .team__quals { grid-template-columns: 1fr; }
  .flow__list { padding-left: 34px; }
  /* お問い合わせフォーム：モバイルは1カラム（縦積み）でラベル折り返し防止 */
  .cform__grid { grid-template-columns: 1fr; gap: 16px; }
  /* 狭い画面では「同意済み」バッジを省き、文言を1行に保つ */
  .cform__check { gap: 11px; padding: 13px 14px; margin: 0 -14px 24px; font-size: 13px; }
  .cform__check:has(input:checked)::after { display: none; }
}

/* ── タブレット（横幅は足りているが1カラムになる帯）──
   ロゴが min(58vw,264px) で頭打ちになり画面に対して小さすぎたので、この幅だけ大きく取る */
@media (min-width: 620px) and (max-width: 900px) {
  .hero { padding-top: 130px; gap: 24px; }
  .hero__art { width: min(54vw, 400px); margin-top: 34px; }
  .hero__lead { margin-top: 24px; }
}

/* ── スマートフォン ── */
@media (max-width: 560px) {
  /* ボタンは横に並びきらず幅もバラつくので、縦積みで幅を揃える */
  .hero__btns { flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
  .hero__btns .btn { width: min(100%, 300px); justify-content: center; }

  /* 日本語の折り返し：文節単位で折り、最終行に1〜2文字だけ残らないようにする。
     未対応ブラウザでは従来どおりの折り返しに戻るだけで崩れない */
  .hero__lead, .about__body p, .svc__lead, .team__intro p,
  .flow__list p, .flow__note, .faq__item summary, .faq__item p,
  .contact__title, .contact__lead, .page-cta__card p {
    word-break: auto-phrase;
    text-wrap: pretty;
  }
  /* FAQの設問は「か？」だけが次行に落ちやすいので、字間と左右余白を詰めて1行に収まりやすくする */
  .faq__item summary { font-size: 14px; letter-spacing: .02em; padding: 20px 46px 20px 52px; }
  .faq__item summary::before { left: 16px; width: 27px; height: 27px; font-size: 13px; }
  .faq__item summary::after { right: 20px; }
  .faq__item p { padding: 0 20px 22px 52px; }
  .contact__lead { letter-spacing: .02em; }
}

/* ═══════ モーション配慮 ═══════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader { display: none; }
  body.is-loading { overflow: auto; }
  .dots { display: none; }
  .reveal, [data-split] .ch { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__art img, .about__deco, .contact__logo { animation: none; }
  .hero__layer { animation: none; opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .flow__list li::after { transform: scaleY(1); transition: none; }
  .cursor, .cursor-ring { display: none; }
}
