/* =========================================================
   MIMORA CREATIVE
   色・文字・余白は :root の変数でまとめて調整できます
   ========================================================= */

:root {
  --black: #111111;
  --ink: #1c1c1b;
  --paper: #f7f5f1;      /* オフホワイト（基本背景） */
  --tint: #eeebe5;       /* 少し濃いオフホワイト */
  --line: #d9d5ce;
  --gray: #8a8780;
  --gray-dark: #5e5b56;
  --gray-on-dark: #a19e98;
  --line-on-dark: #34332f;

  --font-ja: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;

  --container: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-space: clamp(88px, 12vw, 160px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 16px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--black); color: #fff; padding: 8px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

.pc-only { display: none; }
@media (min-width: 900px) { .pc-only { display: inline; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 30px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .08em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn::after { content: "→"; font-family: var(--font-en); font-size: 1.2em; transition: transform .3s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: #3a3a38; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { background: var(--paper); color: var(--black); }
.btn--light:hover { background: #fff; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* 背景のぼかしは疑似要素に持たせる（header本体に付けるとスマホメニューの全画面表示が崩れるため） */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 245, 241, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner {
  height: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { display: inline-flex; align-items: baseline; gap: .45em; text-decoration: none; line-height: 1; white-space: nowrap; }
.logo__main { font-family: var(--font-en); font-size: 26px; font-weight: 500; letter-spacing: .14em; }
.logo__sub { font-size: 10px; font-weight: 600; letter-spacing: .32em; color: var(--gray-dark); }
.logo--light { color: #fff; }
.logo--light .logo__sub { color: var(--gray-on-dark); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 26px; }
.nav__list a {
  position: relative; font-size: 13px; font-weight: 500; text-decoration: none; letter-spacing: .06em;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__list a:hover::after { transform: scaleX(1); }
.nav__cta { min-height: 42px; padding: 0 22px; font-size: 13px; }
.header__cta { min-height: 40px; padding: 0 18px; font-size: 12px; }
@media (max-width: 420px) { .header__cta { padding: 0 14px; } .header__cta::after { display: none; } }

.menu-btn { display: none; }

@media (max-width: 1023px) {
  .menu-btn {
    display: block; position: relative; z-index: 2;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-btn span {
    position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ink);
    transition: transform .3s var(--ease), top .3s var(--ease);
  }
  .menu-btn span:first-child { top: 18px; }
  .menu-btn span:last-child { top: 26px; }
  .menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(30deg); }
  .menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-30deg); }

  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 40px;
    background: var(--paper);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 22px; }
  .nav__list a { font-size: 16px; }
  .nav__cta { min-height: 52px; padding: 0 36px; font-size: 14px; }
  body.is-menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  overflow: hidden;
}
.hero__inner {
  display: grid; gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 48px; min-height: min(680px, calc(100vh - var(--header-h) - 160px)); }
}

.eyebrow {
  font-family: var(--font-en); font-style: italic; font-size: 18px;
  color: var(--gray-dark); letter-spacing: .06em; margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(34px, 6.4vw, 64px);
  font-weight: 600; line-height: 1.45; letter-spacing: .06em;
}
.hero__title span { display: block; }
.hero__lead { margin-top: 28px; color: var(--gray-dark); max-width: 34em; }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

/* hero visual: 実績画像を3枚ずらして配置 */
.hero__visual {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  align-items: start;
}
@media (min-width: 900px) { .hero__visual { gap: 18px; } }
.hero__frame {
  aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden;
  background: var(--tint);
}
.hero__frame:nth-child(1) { margin-top: 18%; }
.hero__frame:nth-child(2) { margin-top: 0; }
.hero__frame:nth-child(3) { margin-top: 36%; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }

/* ページを開いたとき、3枚が一斉に少しふわっと浮かび上がる */
.hero__frame {
  box-shadow: 0 18px 40px rgba(17, 17, 17, .10);
  animation: hero-in .9s cubic-bezier(.2, .7, .2, 1) .1s both;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
}

/* 画像未設定時のプレースホルダー（共通） */
.ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 12px; text-align: center;
  background:
    linear-gradient(160deg, rgba(255,255,255,.55), rgba(255,255,255,0) 60%),
    repeating-linear-gradient(135deg, #e3dfd8 0 1px, transparent 1px 14px),
    #ebe7e0;
  color: var(--gray);
}
.ph__label { font-family: var(--font-en); font-size: clamp(14px, 1.6vw, 20px); letter-spacing: .12em; color: var(--gray-dark); }
.ph__note { font-size: 11px; line-height: 1.6; letter-spacing: .04em; }
.section--dark .ph {
  background:
    linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,0) 60%),
    repeating-linear-gradient(135deg, #2a2927 0 1px, transparent 1px 14px),
    #1f1e1c;
  color: var(--gray-on-dark);
}
.section--dark .ph__label { color: #d6d3cd; }

/* marquee（少しの遊び心。動きを減らす設定の人には停止） */
.marquee {
  margin-top: clamp(64px, 9vw, 112px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap;
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 36px; padding: 18px 0;
  animation: marquee 40s linear infinite;
  font-family: var(--font-en); font-size: clamp(22px, 3vw, 34px); font-style: italic; color: var(--gray-dark);
}
.marquee__track i { font-style: normal; font-size: .6em; color: var(--gray); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .hero__frame { animation: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- section common ---------- */
.section { padding: var(--section-space) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--black); color: #ecebe8; }

.section-head {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 18px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head__num {
  grid-row: span 2;
  font-family: var(--font-en); font-size: 15px; color: var(--gray);
  padding-top: .9em;
}
.section-head__num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; margin-left: 12px; vertical-align: middle; }
.section-head__en {
  font-family: var(--font-en); font-weight: 400;
  font-size: clamp(48px, 8vw, 88px); line-height: 1; letter-spacing: .01em;
}
.section-head__ja { font-size: 14px; font-weight: 600; letter-spacing: .14em; margin-top: 14px; color: var(--gray-dark); }
.section-head--light .section-head__num { color: var(--gray-on-dark); }
.section-head--light .section-head__ja { color: var(--gray-on-dark); }

.section-intro { max-width: 40em; margin: -16px 0 48px; color: var(--gray-dark); }

/* ---------- service ---------- */
.service-main {
  position: relative;
  padding: clamp(32px, 5vw, 56px);
  background: var(--black); color: #ecebe8; border-radius: 4px;
  display: grid; gap: 18px;
}
@media (min-width: 900px) {
  .service-main { grid-template-columns: 1fr 1.25fr; column-gap: 64px; }
  .service-main__label { grid-column: 1; }
  .service-main__title { grid-column: 1; }
  .service-main__text { grid-column: 2; grid-row: 1 / span 2; }
  .service-main__points { grid-column: 2; }
}
.service-main__label { font-family: var(--font-en); font-style: italic; font-size: 18px; color: var(--gray-on-dark); }
.service-main__title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 600; letter-spacing: .08em; line-height: 1.4; }
.service-main__text { color: #cfccc6; }
.service-main__points { display: grid; gap: 10px; border-top: 1px solid var(--line-on-dark); padding-top: 20px; }
.service-main__points li { position: relative; padding-left: 1.5em; font-size: 14px; }
.service-main__points li::before { content: "✳︎"; position: absolute; left: 0; font-size: .8em; color: var(--gray-on-dark); }

.service-grid { display: grid; gap: 1px; margin-top: 1px; background: var(--line); border: 1px solid var(--line); border-top: 0; }
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { background: var(--paper); padding: clamp(28px, 4vw, 40px); }
.service-card__num { font-family: var(--font-en); color: var(--gray); font-size: 15px; }
.service-card__title { font-size: 19px; font-weight: 600; letter-spacing: .08em; margin-top: 18px; }
.service-card__en { font-family: var(--font-en); font-style: italic; color: var(--gray); margin-bottom: 14px; }
.service-card p:last-child { font-size: 14px; color: var(--gray-dark); }

/* ---------- works ---------- */
.works-notice {
  margin-bottom: 32px; padding: 16px 20px;
  border: 1px solid var(--line-on-dark); border-radius: 4px;
  font-size: 13px; color: var(--gray-on-dark);
}
.works-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.works-filter button {
  min-height: 38px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-on-dark); color: #d6d3cd;
  font-size: 13px; transition: background-color .25s, color .25s, border-color .25s;
}
.works-filter button:hover { border-color: #77746e; }
.works-filter button[aria-pressed="true"] { background: #ecebe8; color: var(--black); border-color: #ecebe8; }

.works-grid { display: grid; gap: 40px 24px; }
@media (min-width: 600px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .works-grid { grid-template-columns: repeat(3, 1fr); gap: 56px 32px; } }

.work__media {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px;
  background: #1f1e1c;
}
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.work__media:hover img { transform: scale(1.03); }
.work__temp {
  position: absolute; top: 12px; left: 12px;
  padding: 2px 10px; border-radius: 999px;
  background: rgba(236, 235, 232, .92); color: var(--black);
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
}
.work__body { padding-top: 18px; }
.work__cat { font-family: var(--font-en); font-style: italic; color: var(--gray-on-dark); font-size: 15px; }
.work__title { font-size: 17px; font-weight: 600; line-height: 1.6; margin-top: 4px; }
.work__client { font-size: 12px; color: var(--gray-on-dark); margin-top: 4px; }
.work__desc { font-size: 13px; color: #c2bfb9; margin-top: 10px; line-height: 1.85; }
.work__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.work__tags li { font-size: 11px; padding: 1px 10px; border: 1px solid var(--line-on-dark); border-radius: 999px; color: var(--gray-on-dark); }
.work__results { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-on-dark); }
.work__results dt { font-size: 11px; color: var(--gray-on-dark); }
.work__results dd { margin: 0; font-family: var(--font-en); font-size: 24px; line-height: 1.2; }
.work__note { font-size: 11px; color: var(--gray-on-dark); margin-top: 10px; line-height: 1.7; }
.work__link { display: inline-block; margin-top: 14px; font-size: 13px; color: #ecebe8; }

/* スクリーンショット表示 */
.work__media.is-clickable { cursor: zoom-in; }
.work__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 16px; }
.work__actions .work__link { margin-top: 0; }
.work__shot {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; cursor: pointer;
  background: transparent; border: 1px solid #77746e; border-radius: 999px; color: #ecebe8;
  font-size: 12px; letter-spacing: .06em; transition: background-color .25s, color .25s;
}
@media (hover: hover) { .work__shot:hover { background: #ecebe8; color: var(--black); } }

.shot-modal {
  width: min(960px, calc(100% - 32px)); max-height: calc(100% - 32px);
  padding: 0; border: 0; border-radius: 8px; background: #1a1918; color: #ecebe8;
}
.shot-modal::backdrop { background: rgba(0, 0, 0, .75); }
.shot-modal__inner { padding: 18px clamp(16px, 3vw, 28px) 24px; }
.shot-modal__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.shot-modal__title { font-size: 14px; font-weight: 600; }
.shot-modal__close {
  flex-shrink: 0; min-height: 36px; padding: 0 14px; cursor: pointer;
  background: transparent; border: 1px solid #55524d; border-radius: 999px; color: #ecebe8; font-size: 12px;
}
.shot-modal__body { display: grid; gap: 12px; }
.shot-modal__body img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 4px; background: #fff; }
.shot-modal__note { margin-top: 12px; font-size: 12px; color: var(--gray-on-dark); }

/* ---------- reason ---------- */
.reason-list { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .reason-list { grid-template-columns: repeat(2, 1fr); column-gap: 64px; border-top: 0; } }
.reason {
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .reason { border-top: 1px solid var(--line); border-bottom: 0; padding: 40px 0 48px; } }
.reason__num { font-family: var(--font-en); font-size: 44px; line-height: 1; color: var(--gray); min-width: 1.4em; }
.reason__title { font-size: 18px; font-weight: 600; letter-spacing: .06em; line-height: 1.6; margin-bottom: 10px; }
.reason p { font-size: 14px; color: var(--gray-dark); }

/* ---------- flow ---------- */
.flow-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: flow; }
@media (min-width: 600px) { .flow-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .flow-list { grid-template-columns: repeat(3, 1fr); } }
.flow { background: var(--paper); padding: 28px clamp(24px, 3vw, 36px) 32px; }
.flow__step { font-family: var(--font-en); font-style: italic; color: var(--gray); font-size: 16px; }
.flow__title { font-size: 17px; font-weight: 600; letter-spacing: .08em; margin: 6px 0 8px; }
.flow p:last-child { font-size: 14px; color: var(--gray-dark); }

/* ---------- profile ---------- */
.profile { display: grid; gap: 40px; }
@media (min-width: 900px) { .profile { grid-template-columns: 380px 1fr; gap: 72px; align-items: start; } }
.profile__photo {
  width: 100%; max-width: 380px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px;
}
.profile__photo.is-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background:
    repeating-linear-gradient(135deg, #e3dfd8 0 1px, transparent 1px 14px),
    var(--tint);
  color: var(--gray);
}
.profile__photo.is-placeholder span { font-family: var(--font-en); font-size: 28px; letter-spacing: .2em; color: var(--gray-dark); }
.profile__photo.is-placeholder small { font-size: 12px; }
.profile__role { font-size: 13px; color: var(--gray-dark); letter-spacing: .1em; }
.profile__name { font-size: 26px; font-weight: 600; letter-spacing: .12em; margin-top: 6px; display: flex; align-items: center; gap: 12px; }
.profile__name-en { font-family: var(--font-en); font-style: italic; color: var(--gray); font-size: 18px; }
.profile__text { margin-top: 28px; display: grid; gap: 1.2em; max-width: 38em; }
.profile__sns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.profile__sns a, .footer__sns a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px;
  border: 1px solid currentColor; border-radius: 999px; font-size: 12px; text-decoration: none; letter-spacing: .08em;
}

/* 仮データの目印 */
.tag-temp {
  display: inline-block; padding: 0 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; line-height: 1.8;
  background: var(--ink); color: #fff;
}
.is-temp { color: var(--gray); font-size: 14px; }

/* ---------- faq ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq__q {
  position: relative; display: flex; gap: 16px; align-items: baseline;
  padding: 24px 44px 24px 0; cursor: pointer; list-style: none;
  font-weight: 600; line-height: 1.7;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq[open] .faq__q::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__mark { font-family: var(--font-en); font-size: 22px; font-weight: 500; line-height: 1; flex-shrink: 0; width: 1em; }
.faq__a { display: flex; gap: 16px; padding: 0 44px 28px 0; color: var(--gray-dark); font-size: 14px; }
.faq__a .faq__mark { color: var(--gray); }

/* ---------- contact ---------- */
.contact__inner { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact__inner { grid-template-columns: 1fr 1.2fr; gap: 80px; } }
.contact__intro > p { color: #cfccc6; font-size: 15px; }
.contact__note { margin-top: 20px; font-size: 13px !important; color: var(--gray-on-dark) !important; }
.contact__note a { color: #ecebe8; }

.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 8px; }
.form label { font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.req {
  display: inline-block; margin-left: 8px; padding: 0 7px; border-radius: 3px;
  font-size: 10px; line-height: 1.8; vertical-align: 1px;
  background: #ecebe8; color: var(--black); font-weight: 600;
}
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  background: #1c1b1a; border: 1px solid var(--line-on-dark); border-radius: 4px; color: #f2f1ee;
  font-size: 16px; /* iOSでズームしないよう16px */
  transition: border-color .2s;
}
.form textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, #a19e98 50%), linear-gradient(135deg, #a19e98 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.form ::placeholder { color: #6d6a65; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: #bdbab4; }
.form [aria-invalid="true"] { border-color: #d98c7a !important; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: center; font-weight: 500 !important; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: #ecebe8; flex-shrink: 0; margin: 0; }
.check a { color: #ecebe8; }
.form__error { font-size: 13px; color: #f0a593; }
.form__submit { justify-self: start; min-width: 220px; margin-top: 6px; }
.form__submit:disabled { opacity: .5; cursor: wait; }
.form__status { font-size: 14px; padding: 16px 18px; border: 1px solid var(--line-on-dark); border-radius: 4px; color: #e2e0dc; }

/* ---------- footer ---------- */
.footer { background: var(--black); color: #ecebe8; border-top: 1px solid var(--line-on-dark); padding: 64px 0 40px; }
.footer__inner { display: grid; gap: 20px; }
.footer__desc { font-size: 12px; color: var(--gray-on-dark); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
.footer__nav a { font-size: 13px; text-decoration: none; color: #cfccc6; }
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__sns { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__copy { margin-top: 24px; color: var(--gray-on-dark); font-family: var(--font-en); letter-spacing: .08em; }

/* ---------- floating CTA (mobile) ---------- */
.float-cta {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90;
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px;
  background: var(--black); color: #fff; border: 1px solid #3a3a38; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.float-cta.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1024px) { .float-cta { display: none; } }

/* ---------- sub pages (privacy / 404) ---------- */
.subpage { padding: calc(var(--header-h) + 72px) 0 var(--section-space); }
.subpage h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 600; letter-spacing: .08em; margin-bottom: 12px; }
.subpage h2 { font-size: 17px; font-weight: 600; margin: 40px 0 10px; letter-spacing: .06em; }
.subpage p, .subpage li { font-size: 14px; color: var(--gray-dark); }
.subpage ul { list-style: disc; padding-left: 1.4em; }
.subpage .notice { margin: 24px 0; padding: 16px 20px; border: 1px solid var(--line); background: var(--tint); font-size: 13px; }
.subpage .back { margin-top: 56px; }
