/* ============================================
   メモリアム ペット  v2
   ― 白と霧青。写真を主役に、文字は小さく広く。
   参考トーン: ksart.jp（純白・グレイッシュブルー・明朝・広いトラッキング）
   ============================================ */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f7f9;
  --ink: #2f3c44;          /* ダークスレート（見出し・本文の濃色） */
  --mist: #64757f;         /* 本文用の霧青（白地でコントラスト比 約4.7:1・AA準拠） */
  --mist-soft: #8e9ea8;    /* 装飾ラベル用（参考サイトの基調色そのまま） */
  --mist-pale: #a9b6bd;
  --accent: #e2763a;       /* ロゴの月のオレンジ。5%だけ使う */
  --hairline: rgba(47, 60, 68, .12);
  --serif: "Shippori Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  --en: "EB Garamond", "Shippori Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  background: var(--bg);
  color: var(--ink);
  line-height: 2.28;
  letter-spacing: .17em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 5vw;
  transition: background .5s ease, padding .5s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(12px);
  padding: 15px 5vw;
  border-bottom: 1px solid var(--hairline);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand .mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand .b-name {
  font-family: var(--en); font-size: .96rem; letter-spacing: .32em;
  line-height: 1.35; text-transform: none;
}
.brand .b-name small {
  display: block; font-size: .56em; letter-spacing: .42em;
  color: var(--mist-soft); margin-top: 3px;
}
.hero-on .site-header:not(.is-scrolled) .b-name { color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.4); }
.hero-on .site-header:not(.is-scrolled) .b-name small { color: rgba(255,255,255,.8); }

.global-nav ul { display: flex; gap: 40px; list-style: none; align-items: center; }
.global-nav a {
  font-size: .68rem; letter-spacing: .28em; font-weight: 400;
  position: relative; padding: 5px 0; color: var(--ink);
}
.global-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px;
  background: currentColor; transition: width .45s ease, left .45s ease;
}
.global-nav a:not(.nav-cta):hover::after { width: 100%; left: 0; }
.hero-on .site-header:not(.is-scrolled) .global-nav a { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.nav-cta {
  border: 1px solid currentColor; padding: 12px 30px !important;
  letter-spacing: .3em; transition: background .45s ease, color .45s ease;
}
.site-header.is-scrolled .nav-cta:hover { background: var(--ink); color: #fff; }
.hero-on .site-header:not(.is-scrolled) .nav-cta:hover { background: rgba(255,255,255,.95); color: var(--ink); text-shadow: none; }
.nav-toggle { display: none; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; height: 100svh; min-height: 620px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center; padding: 0;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  opacity: 0; transform: scale(1.05);
  transition: opacity 2.6s ease, transform 9s linear;
}
.hero-slide.on { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,38,44,.42) 0%, rgba(30,38,44,.3) 45%, rgba(30,38,44,.5) 100%); }
.hero-inner { position: relative; z-index: 2; color: #fff; padding: 0 7vw; }
.hero h1 {
  font-size: clamp(.98rem, 1.7vw, 1.24rem);
  letter-spacing: .82em; text-indent: .82em;
  line-height: 3.1; font-weight: 500;
  text-shadow: 0 2px 26px rgba(0,0,0,.42);
  opacity: 0; animation: heroRise 2.2s ease .7s forwards;
}
.hero .h-sub {
  margin-top: 30px; font-size: clamp(.7rem, 1.1vw, .78rem);
  letter-spacing: .34em; color: rgba(255,255,255,.95); line-height: 2.9;
  text-shadow: 0 1px 16px rgba(0,0,0,.55), 0 0 40px rgba(0,0,0,.35);
  opacity: 0; animation: heroRise 2.2s ease 1.5s forwards;
}
.hero .h-en {
  display: block; margin-top: 22px; font-family: var(--en);
  font-size: .6rem; letter-spacing: .3em; color: rgba(255,255,255,.72);
  text-shadow: 0 1px 14px rgba(0,0,0,.5);
  font-style: italic;
}
.hero .h-cta {
  display: inline-block; margin-top: 52px;
  border: 1px solid rgba(255,255,255,.8); color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,.4); backdrop-filter: blur(2px);
  padding: 17px 56px; font-size: .68rem; letter-spacing: .36em; text-indent: .36em;
  transition: background .55s ease, color .55s ease;
  opacity: 0; animation: heroRise 2.2s ease 2.2s forwards;
}
.hero .h-cta:hover { background: rgba(255,255,255,.95); color: var(--ink); }
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroRiseC { from { opacity: 0; transform: translate(-50%, 22px); } to { opacity: 1; transform: translate(-50%, 0); } }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.7); font-family: var(--en); font-size: .56rem; letter-spacing: .44em;
  opacity: 0; animation: heroRiseC 2s ease 2.9s forwards;
}
.hero-scroll::after {
  content: ""; display: block; width: 1px; height: 54px; margin: 12px auto 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.8), transparent);
  animation: heroLine 2.8s ease infinite;
}
@keyframes heroLine { 0%{transform:scaleY(0);transform-origin:top}55%{transform:scaleY(1);transform-origin:top}56%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom} }

/* ---------- 共通 ---------- */
section { padding: 170px 6vw; }
.wrap { max-width: 1080px; margin: 0 auto; }

/* 英字ラベル（縦積み・参考サイト由来） */
.sec-en {
  display: block; font-family: var(--en); font-size: 1.34rem;
  line-height: 1.32; letter-spacing: .04em; color: var(--mist-soft);
  text-transform: uppercase; margin-bottom: 34px; font-weight: 400;
}
.sec-en.center { text-align: center; }
.sec-title {
  text-align: center; font-size: clamp(.95rem, 1.6vw, 1.1rem);
  letter-spacing: .5em; text-indent: .5em; line-height: 3;
  margin-bottom: 28px; color: var(--ink);
}
.sec-title.left { text-align: left; text-indent: 0; letter-spacing: .34em; }
.sec-lead {
  text-align: center; font-size: .8rem; color: var(--mist);
  letter-spacing: .18em; line-height: 2.9;
}
.sec-lead.left { text-align: left; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.3s ease, transform 1.3s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.rv1 { transition-delay: .16s; } .rv2 { transition-delay: .32s; } .rv3 { transition-delay: .48s; }

/* ---------- ステートメント ---------- */
.statement { padding: 190px 6vw; text-align: center; }
.st-line {
  font-size: clamp(.95rem, 1.9vw, 1.2rem);
  letter-spacing: .4em; text-indent: .4em; line-height: 3.4; color: var(--ink);
  opacity: 0; transform: translateY(22px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}
.st-line + .st-line { margin-top: 54px; }
.st-line.is-visible { opacity: 1; transform: none; }
.st-line .accent { color: var(--accent); }
.statement.js-scrub .st-line { opacity: 1; transform: none; transition: none; }
.st-line .ch { color: rgba(47,60,68,.14); transition: color .55s ease; }
.st-line .ch.on { color: var(--ink); }
.st-line .accent .ch { color: rgba(226,118,58,.2); }
.st-line .accent .ch.on { color: var(--accent); }

/* ---------- PHILOSOPHY ---------- */
.philosophy { background: var(--bg); }
.phil-head { display: grid; grid-template-columns: 200px 1fr; gap: 60px; max-width: 1080px; margin: 0 auto 100px; align-items: start; }
.phil-head .sec-en { margin-bottom: 0; }
.phil-head .ph-copy { font-size: clamp(1rem, 1.8vw, 1.16rem); letter-spacing: .3em; line-height: 3.1; }
.phil-head .ph-note { margin-top: 26px; font-size: .78rem; color: var(--mist); letter-spacing: .14em; line-height: 2.9; }

.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px; max-width: 1080px; margin: 0 auto; }
.reason { position: relative; }
.reason:nth-child(2) { transform: translateY(60px); }
.reason .r-img { aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 30px; position: relative; }
.reason .r-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 2s cubic-bezier(.16,1,.3,1);
}
.reason:hover .r-img img { transform: scale(1.06); }
.reason .r-en { font-family: var(--en); font-size: .62rem; letter-spacing: .34em; color: var(--mist-pale); display: block; margin-bottom: 12px; }
.reason h3 { font-size: 1rem; letter-spacing: .52em; text-indent: .52em; margin-bottom: 18px; }
.reason p { font-size: .78rem; color: var(--mist); letter-spacing: .12em; line-height: 2.9; }

/* ---------- 思い出インタビュー ---------- */
.interview { background: var(--bg-soft); }
.iv-wrap { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; max-width: 1120px; margin: 0 auto; align-items: start; }
.iv-visual { position: sticky; top: 130px; }
.iv-visual .iv-img { aspect-ratio: 3 / 4; overflow: hidden; }
.iv-visual .iv-img img { width: 100%; height: 100%; object-fit: cover; }
.iv-visual .iv-cap { margin-top: 20px; font-size: .68rem; color: var(--mist); letter-spacing: .14em; line-height: 2.7; }
.iv-lead { font-size: clamp(.98rem, 1.7vw, 1.14rem); letter-spacing: .3em; line-height: 3.1; margin-bottom: 34px; }
.iv-body { font-size: .8rem; color: var(--mist); letter-spacing: .13em; line-height: 3; margin-bottom: 52px; }
.iv-qtitle { font-family: var(--en); font-size: .64rem; letter-spacing: .34em; color: var(--accent); margin-bottom: 24px; text-transform: uppercase; }
.iv-q { list-style: none; border-top: 1px solid var(--hairline); }
.iv-q li {
  border-bottom: 1px solid var(--hairline); padding: 19px 4px 19px 30px;
  font-size: .82rem; letter-spacing: .14em; position: relative; line-height: 2.3;
}
.iv-q li::before {
  content: "「"; position: absolute; left: 0; top: 17px; color: var(--accent); font-size: .95rem;
}
.iv-note {
  margin-top: 44px; padding: 30px 32px; background: #fff;
  border-left: 1px solid var(--accent);
  font-size: .78rem; color: var(--mist); line-height: 3; letter-spacing: .1em;
}
.iv-note strong { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) {
  .iv-wrap { grid-template-columns: 1fr; gap: 46px; }
  .iv-visual { position: static; }
  .iv-visual .iv-img { aspect-ratio: 4 / 3; }
}

/* ---------- 流れ ---------- */
.flow-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; max-width: 1080px; margin: 0 auto; }
.flow-visual { position: relative; }
.flow-visual-inner { position: sticky; top: 130px; aspect-ratio: 3 / 4; overflow: hidden; }
.flow-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.flow-img.on { opacity: 1; }
.flow-steps-col { display: flex; flex-direction: column; }
.flow-step { padding: 10vh 0; border-bottom: 1px solid var(--hairline); }
.flow-step:last-child { border-bottom: none; }
.flow-step .f-no { font-family: var(--en); font-size: .64rem; letter-spacing: .34em; color: var(--accent); display: block; margin-bottom: 18px; }
.flow-step h3 { font-size: 1.02rem; letter-spacing: .3em; margin-bottom: 20px; line-height: 2.5; }
.flow-step p { font-size: .78rem; color: var(--mist); letter-spacing: .12em; line-height: 3; }
.flow-step .f-mobile-img { display: none; }
.flow-step .f-link {
  display: inline-block; margin-top: 14px; color: var(--accent); font-size: .74rem;
  letter-spacing: .16em; border-bottom: 1px solid rgba(226,118,58,.35); padding-bottom: 3px;
}
.flow-step .f-link:hover { border-bottom-color: var(--accent); }
.f-callout {
  margin-top: 26px; padding: 24px 26px; background: var(--bg-soft);
  font-size: .76rem; color: var(--mist); line-height: 2.9; letter-spacing: .1em;
}
.f-callout strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 6px; }
.f-callout.f-support span { display: block; }
.f-callout.f-support b { font-weight: 500; color: var(--ink); }
.flow-note { text-align: center; margin-top: 90px; font-size: .76rem; color: var(--mist); letter-spacing: .18em; line-height: 2.9; }
.flow-note strong { color: var(--ink); font-weight: 500; }

/* ---------- 作品例 ---------- */
.works { background: var(--bg-soft); }
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; max-width: 1000px; margin: 0 auto; }
.work-card { display: block; }
.work-card .wc-img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 26px; }
.work-card .wc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 2s cubic-bezier(.16,1,.3,1); }
.work-card:hover .wc-img img { transform: scale(1.05); }
.work-card .wc-kind { font-family: var(--en); font-size: .58rem; letter-spacing: .3em; color: var(--mist-pale); display: block; margin-bottom: 14px; text-transform: uppercase; }
.work-card h3 { font-size: .98rem; letter-spacing: .26em; line-height: 2.5; margin-bottom: 16px; }
.work-card p { font-size: .76rem; color: var(--mist); letter-spacing: .1em; line-height: 2.9; }
.work-card .wc-more {
  display: inline-block; margin-top: 22px; font-family: var(--en); font-size: .62rem;
  letter-spacing: .3em; color: var(--ink); border-bottom: 1px solid var(--hairline);
  padding-bottom: 4px; transition: border-color .4s ease;
}
.work-card:hover .wc-more { border-bottom-color: var(--ink); }
.fiction-note { text-align: center; margin-top: 60px; font-size: .68rem; color: var(--mist-pale); letter-spacing: .16em; line-height: 2.6; }
@media (max-width: 860px) { .works-grid { grid-template-columns: 1fr; max-width: 460px; gap: 60px; } }

/* ---------- 料金（ワンプラン） ---------- */
#price { background: var(--bg); }
.plan-single {
  max-width: 720px; margin: 0 auto; border: 1px solid var(--hairline);
  padding: 76px 60px 66px; text-align: center; position: relative; background: #fff;
}
.plan-single::before {
  content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 2px; background: var(--accent);
}
.plan-single .ps-en { font-family: var(--en); font-size: .62rem; letter-spacing: .38em; color: var(--mist-soft); text-transform: uppercase; }
.plan-single h3 { font-size: 1.24rem; letter-spacing: .48em; text-indent: .48em; margin: 22px 0 30px; }
.plan-single .ps-price { font-size: 2.4rem; letter-spacing: .06em; line-height: 1.4; }
.plan-single .ps-price small { font-size: .3em; color: var(--mist); letter-spacing: .18em; margin-left: 8px; }
.plan-single .ps-desc { margin: 26px auto 44px; font-size: .8rem; color: var(--mist); line-height: 2.9; letter-spacing: .12em; max-width: 460px; }
.plan-single ul { list-style: none; text-align: left; max-width: 440px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.plan-single li {
  font-size: .8rem; padding: 15px 4px 15px 26px; position: relative;
  letter-spacing: .1em; line-height: 2.2; border-bottom: 1px solid var(--hairline); color: var(--ink);
}
.plan-single li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 8px; height: 1px; background: var(--accent); }
.plan-single li strong { font-weight: 500; }
.plan-single .ps-cta {
  display: inline-block; margin-top: 48px; background: var(--ink); color: #fff;
  padding: 19px 62px; font-size: .72rem; letter-spacing: .36em; text-indent: .36em;
  transition: opacity .45s ease;
}
.plan-single .ps-cta:hover { opacity: .84; }
.price-note { text-align: center; margin-top: 48px; font-size: .74rem; color: var(--mist); letter-spacing: .12em; line-height: 2.9; }
@media (max-width: 720px) { .plan-single { padding: 56px 26px 50px; } .plan-single .ps-price { font-size: 1.9rem; } }

/* ---------- 約束 ---------- */
.promise { background: var(--ink); color: #dfe6ea; }
.promise .sec-en { color: rgba(223,230,234,.55); }
.promise .sec-title { color: #fff; }
.promise-visual { max-width: 900px; margin: 0 auto 80px; aspect-ratio: 21 / 9; overflow: hidden; }
.promise-visual img { width: 100%; height: 100%; object-fit: cover; }
.promise-list { max-width: 700px; margin: 76px auto 0; }
.promise-item { display: flex; gap: 40px; padding: 38px 0; border-bottom: 1px solid rgba(223,230,234,.14); align-items: baseline; }
.promise-item:last-child { border-bottom: none; }
.promise-item .no { font-family: var(--en); color: var(--accent); font-size: .78rem; letter-spacing: .2em; flex-shrink: 0; }
.promise-item h3 { font-size: .92rem; letter-spacing: .34em; margin-bottom: 14px; color: #fff; }
.promise-item p { font-size: .76rem; color: rgba(223,230,234,.65); letter-spacing: .1em; line-height: 2.9; }
@media (max-width: 860px) { .promise-visual { aspect-ratio: 16 / 9; margin-bottom: 52px; } .promise-item { gap: 22px; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 30px 46px 30px 4px;
  font-size: .84rem; letter-spacing: .16em; position: relative; line-height: 2.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 11px; height: 1px;
  background: var(--accent); transition: transform .35s ease;
}
.faq-list summary::before {
  content: ""; position: absolute; right: 15px; top: 50%; width: 1px; height: 11px;
  background: var(--accent); transform: translateY(-50%); transition: opacity .35s ease;
}
.faq-list details[open] summary::before { opacity: 0; }
.faq-list .a-body { padding: 0 4px 34px; font-size: .78rem; color: var(--mist); letter-spacing: .1em; line-height: 3; }
.faq-list .a-body strong { color: var(--ink); font-weight: 500; }
.faq-list .a-body a { color: var(--accent); border-bottom: 1px solid rgba(226,118,58,.3); }

/* ---------- 相談（簡素版） ---------- */
.contact { background: var(--bg-soft); }
.contact-simple { max-width: 560px; margin: 0 auto; }
.contact-form .row { margin-bottom: 34px; }
.contact-form label { display: block; font-size: .68rem; letter-spacing: .28em; margin-bottom: 12px; color: var(--ink); }
.contact-form label .req { color: var(--accent); font-size: .58rem; margin-left: 10px; letter-spacing: .12em; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 14px 2px; border: none; border-bottom: 1px solid var(--hairline);
  background: transparent; color: var(--ink);
  font-family: var(--serif); font-size: .92rem; letter-spacing: .08em;
  transition: border-color .35s ease; border-radius: 0;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--mist-pale); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--accent); }
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form .submit-row { text-align: center; margin-top: 54px; }
.contact-form button[type="submit"] {
  background: var(--ink); color: #fff; border: none; cursor: pointer;
  padding: 19px 74px; font-size: .72rem; letter-spacing: .36em; text-indent: .36em;
  font-family: var(--serif); transition: opacity .45s ease;
}
.contact-form button[type="submit"]:hover { opacity: .84; }
.contact-form .f-note { text-align: center; margin-top: 26px; font-size: .66rem; color: var(--mist); letter-spacing: .1em; line-height: 2.6; }
.contact-form .f-note a { border-bottom: 1px solid var(--hairline); }
.form-thanks { display: none; text-align: center; padding: 70px 20px; }
.form-thanks.show { display: block; }
.form-thanks h3 { font-size: 1.02rem; letter-spacing: .38em; margin-bottom: 20px; }
.form-thanks p { font-size: .78rem; color: var(--mist); line-height: 2.9; }

/* ---------- フッター ---------- */
.site-footer { padding: 110px 6vw 46px; text-align: center; }
.site-footer .f-mark { width: 52px; height: 52px; margin: 0 auto 22px; }
.site-footer .f-name { font-family: var(--en); font-size: 1.02rem; letter-spacing: .38em; }
.site-footer .f-tag { font-size: .66rem; letter-spacing: .26em; color: var(--mist); margin-top: 14px; }
.site-footer .f-links { display: flex; justify-content: center; gap: 34px; margin: 52px 0; flex-wrap: wrap; }
.site-footer .f-links a { font-size: .68rem; letter-spacing: .18em; color: var(--mist); transition: color .35s ease; }
.site-footer .f-links a:hover { color: var(--ink); }
.site-footer .f-sister {
  max-width: 540px; margin: 0 auto 46px; padding: 30px 26px; border: 1px solid var(--hairline);
}
.site-footer .f-sister .fs-label { display: block; font-family: var(--en); font-size: .56rem; letter-spacing: .38em; color: var(--accent); margin-bottom: 14px; text-transform: uppercase; }
.site-footer .f-sister a { display: inline-block; font-size: .88rem; letter-spacing: .18em; line-height: 2.4; border-bottom: 1px solid var(--hairline); padding-bottom: 4px; }
.site-footer .f-sister a:hover { border-bottom-color: var(--ink); }
.site-footer .f-sister .fs-desc { display: block; margin-top: 14px; font-size: .68rem; color: var(--mist); letter-spacing: .1em; line-height: 2.6; }
.site-footer .f-company { font-size: .68rem; color: var(--mist); letter-spacing: .12em; line-height: 2.8; }
.site-footer .f-partner-link { display: inline-block; margin-top: 10px; font-size: .7rem; letter-spacing: .14em; color: var(--ink); border-bottom: 1px solid var(--hairline); padding-bottom: 3px; }
.site-footer .f-partner-link:hover { border-bottom-color: var(--ink); }
.site-footer .f-legal {
  margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--hairline);
  font-size: .6rem; color: var(--mist-pale); letter-spacing: .08em; line-height: 2.4;
}

/* ---------- 追従CTA ---------- */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--hairline);
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom)); backdrop-filter: blur(10px);
}
.sticky-cta a {
  display: block; background: var(--ink); color: #fff; text-align: center;
  padding: 16px 0; font-size: .72rem; letter-spacing: .34em; text-indent: .34em;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  section { padding: 110px 6vw; }
  .statement { padding: 130px 6vw; }
  .st-line + .st-line { margin-top: 40px; }
  .phil-head { grid-template-columns: 1fr; gap: 26px; margin-bottom: 66px; }
  .reasons-grid { grid-template-columns: 1fr; gap: 66px; max-width: 420px; }
  .reason:nth-child(2) { transform: none; }
  .reason .r-img { aspect-ratio: 4 / 3; }
  .flow-wrap { grid-template-columns: 1fr; gap: 0; }
  .flow-visual { display: none; }
  .flow-step { padding: 50px 0; }
  .flow-step .f-mobile-img { display: block; margin-top: 28px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
  .sticky-cta { display: block; }
  body { padding-bottom: 66px; }

  .nav-toggle { display: block; z-index: 300; background: none; border: none; cursor: pointer; width: 40px; height: 40px; position: relative; }
  .nav-toggle span { position: absolute; left: 8px; width: 24px; height: 1px; background: var(--ink); transition: all .4s ease; }
  .hero-on .site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }
  body.nav-open .nav-toggle span { background: var(--ink); }
  .nav-toggle span:nth-child(1) { top: 14px; }
  .nav-toggle span:nth-child(2) { top: 20px; }
  .nav-toggle span:nth-child(3) { top: 26px; }
  body.nav-open .nav-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
  .global-nav {
    position: fixed; inset: 0; z-index: 200; background: rgba(255,255,255,.98);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .45s ease;
  }
  body.nav-open .global-nav { opacity: 1; pointer-events: all; }
  .global-nav ul { flex-direction: column; gap: 38px; }
  .global-nav a { color: var(--ink) !important; text-shadow: none !important; font-size: .88rem; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: .88rem; letter-spacing: .46em; text-indent: .46em; line-height: 3.2; }
  .hero .h-sub { font-size: .68rem; letter-spacing: .2em; }
  .sec-title { letter-spacing: .3em; text-indent: .3em; }
  .st-line { letter-spacing: .24em; text-indent: .24em; }
  .sec-en { font-size: 1.1rem; }
  .mem-hero h1 { letter-spacing: .3em; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .st-line { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: opacity .5s ease; transform: none; }
  .hero h1, .hero .h-sub, .hero .h-cta, .hero-scroll { animation-duration: .01s; animation-delay: 0s; }
  .st-line .ch, .st-line .accent .ch { color: inherit; transition: none; }
}

/* ============================================
   作品例ページ
   ============================================ */
.mem-hero { position: relative; height: 100svh; min-height: 580px; display: flex; align-items: flex-end; overflow: hidden; }
.mem-hero .mh-bg { position: absolute; inset: 0; background-size: cover; background-position: center 20%; transform: scale(1.04); animation: mhZoom 16s ease-out forwards; }
@keyframes mhZoom { to { transform: scale(1); } }
.mem-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,38,44,.74), rgba(30,38,44,.1) 55%, rgba(30,38,44,.28)); }
.mem-hero .mh-inner { position: relative; z-index: 2; color: #fff; padding: 0 8vw 13vh; width: 100%; }
.mem-hero .mh-kind { font-family: var(--en); font-size: .6rem; letter-spacing: .38em; color: rgba(255,255,255,.72); margin-bottom: 24px; text-transform: uppercase; opacity: 0; animation: heroRise 1.9s ease .5s forwards; }
.mem-hero h1 { font-size: clamp(1.6rem, 4.4vw, 2.7rem); letter-spacing: .44em; text-indent: .44em; line-height: 2; opacity: 0; animation: heroRise 1.9s ease .9s forwards; }
.mem-hero .mh-date { margin-top: 26px; font-family: var(--en); font-size: .74rem; letter-spacing: .26em; color: rgba(255,255,255,.85); opacity: 0; animation: heroRise 1.9s ease 1.4s forwards; }
.mem-hero .mh-sub { margin-top: 20px; font-size: .76rem; letter-spacing: .18em; color: rgba(255,255,255,.75); line-height: 2.8; opacity: 0; animation: heroRise 1.9s ease 1.8s forwards; }

.mem-prologue { padding: 170px 6vw; text-align: center; }
.mem-prologue p { font-size: clamp(.9rem, 1.7vw, 1.06rem); line-height: 3.4; letter-spacing: .3em; max-width: 760px; margin: 0 auto; }
.mem-prologue p + p { margin-top: 46px; }

.chapter { max-width: 780px; margin: 0 auto; }
.chapter + .chapter { margin-top: 140px; }
.ch-no { font-family: var(--en); font-size: .62rem; letter-spacing: .34em; color: var(--accent); display: block; margin-bottom: 22px; text-transform: uppercase; }
.chapter h2 { font-size: clamp(1rem, 2vw, 1.24rem); letter-spacing: .32em; line-height: 2.6; margin-bottom: 44px; text-align: left; }
.chapter p { font-size: .82rem; color: var(--mist); line-height: 3.1; letter-spacing: .12em; margin-bottom: 1.9em; }
.chapter p strong { color: var(--ink); font-weight: 500; }

.owner-quote { margin: 52px 0; padding: 44px 46px; background: var(--bg-soft); border-left: 1px solid var(--accent); }
.owner-quote p { font-size: .9rem; color: var(--ink); line-height: 3.1; letter-spacing: .14em; margin-bottom: 0; }
.owner-quote .oq-who { display: block; margin-top: 26px; font-size: .66rem; color: var(--mist); letter-spacing: .18em; }
.owner-quote .oq-tag { display: inline-block; font-family: var(--en); font-size: .56rem; letter-spacing: .34em; color: var(--accent); margin-bottom: 20px; text-transform: uppercase; }

.ch-photo { margin: 58px 0; }
.ch-photo img { width: 100%; }
.ch-photo figcaption { margin-top: 16px; font-size: .68rem; color: var(--mist); letter-spacing: .14em; line-height: 2.6; }
.ch-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 58px 0; }
.ch-duo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.timeline { max-width: 740px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.tl-item { display: grid; grid-template-columns: 150px 1fr; gap: 26px; padding: 28px 4px; border-bottom: 1px solid var(--hairline); }
.tl-item .tl-when { font-family: var(--en); font-size: .8rem; letter-spacing: .12em; color: var(--accent); }
.tl-item .tl-what { font-size: .82rem; letter-spacing: .1em; line-height: 2.4; }
.tl-item .tl-what small { display: block; color: var(--mist); font-size: .74rem; margin-top: 6px; line-height: 2.6; }
@media (max-width: 640px) { .tl-item { grid-template-columns: 1fr; gap: 8px; } }

.traits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 1020px; margin: 0 auto; background: var(--hairline); }
.trait { background: #fff; padding: 44px 32px; }
.trait h3 { font-family: var(--en); font-size: .6rem; letter-spacing: .3em; color: var(--accent); margin-bottom: 16px; font-weight: 400; text-transform: uppercase; }
.trait .t-ja { display: block; font-size: .82rem; letter-spacing: .24em; margin-bottom: 14px; color: var(--ink); }
.trait p { font-size: .78rem; line-height: 2.9; letter-spacing: .1em; color: var(--mist); }
@media (max-width: 760px) { .traits { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.gallery figure { position: relative; overflow: hidden; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.16,1,.3,1); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 20px 18px; color: #fff; font-size: .66rem;
  letter-spacing: .1em; line-height: 2.2; background: linear-gradient(to top, rgba(30,38,44,.8), transparent);
  opacity: 0; transition: opacity .55s ease;
}
.gallery figure:hover figcaption { opacity: 1; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery figcaption { opacity: 1; } }

.letter { max-width: 740px; margin: 0 auto; text-align: center; }
.letter p { font-size: .92rem; line-height: 3.4; letter-spacing: .22em; }
.letter p + p { margin-top: 38px; }
.letter .sign { margin-top: 56px; font-size: .72rem; letter-spacing: .26em; color: var(--mist); }

.mem-cta { background: var(--bg-soft); text-align: center; }
.mem-cta .mc-lead { font-size: clamp(.98rem, 1.9vw, 1.18rem); letter-spacing: .34em; line-height: 3; margin-bottom: 30px; }
.mem-cta .mc-sub { font-size: .78rem; color: var(--mist); letter-spacing: .12em; line-height: 2.9; margin-bottom: 50px; }
.mem-cta .mc-btn { display: inline-block; background: var(--ink); color: #fff; padding: 19px 62px; font-size: .72rem; letter-spacing: .34em; text-indent: .34em; transition: opacity .45s ease; }
.mem-cta .mc-btn:hover { opacity: .84; }

/* ============================================
   カスタマイズ／法務／提携（既存流用ページ）
   ============================================ */
.legal-main { max-width: 800px; margin: 0 auto; padding: 160px 6vw 110px; }
.legal-main > h1 { font-size: 1.16rem; letter-spacing: .34em; text-align: center; margin-bottom: 70px; line-height: 2.6; }
.legal-block { margin-bottom: 86px; }
.legal-block:last-child { margin-bottom: 0; }
.legal-block h2 { font-size: 1rem; letter-spacing: .3em; border-bottom: 1px solid var(--hairline); padding-bottom: 20px; margin-bottom: 34px; }
.legal-block h3.legal-sub { font-size: .86rem; letter-spacing: .18em; margin: 36px 0 16px; color: var(--ink); font-weight: 500; }
.legal-block h3.legal-sub:first-of-type { margin-top: 8px; }
.legal-block p { font-size: .8rem; color: var(--mist); line-height: 3; letter-spacing: .08em; margin-bottom: 1.2em; }
.legal-block p strong, .legal-block li strong { color: var(--ink); font-weight: 500; }
.legal-block ul, .legal-block ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.legal-block li { font-size: .8rem; color: var(--mist); line-height: 2.9; letter-spacing: .08em; margin-bottom: .7em; }
.legal-block .company-table dl { display: grid; grid-template-columns: 176px 1fr; gap: 8px 22px; padding: 16px 0; border-bottom: 1px solid var(--hairline); margin: 0; }
.legal-block .company-table dt { font-size: .74rem; letter-spacing: .12em; color: var(--ink); }
.legal-block .company-table dd { font-size: .78rem; color: var(--mist); line-height: 2.7; }
@media (max-width: 640px) { .legal-block .company-table dl { grid-template-columns: 1fr; gap: 6px; } }

/* 提携ページ */
.pt-intro { padding-top: 170px; text-align: center; }
.pt-intro h1 { text-align: center; font-size: clamp(.98rem, 1.8vw, 1.18rem); letter-spacing: .38em; text-indent: .38em; line-height: 2.9; }
.pt-visual { max-width: 920px; margin: 0 auto; aspect-ratio: 21 / 9; overflow: hidden; }
.pt-visual img { width: 100%; height: 100%; object-fit: cover; }
.pt-problem { background: var(--bg-soft); }
.pt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1020px; margin: 0 auto; }
.pt-card .pc-no { font-family: var(--en); font-size: 1.1rem; color: var(--mist-pale); display: block; margin-bottom: 18px; }
.pt-card h3 { font-size: .92rem; letter-spacing: .28em; margin-bottom: 18px; line-height: 2.4; }
.pt-card p { font-size: .76rem; color: var(--mist); letter-spacing: .1em; line-height: 2.9; }
.pt-lead { text-align: center; margin-top: 80px; font-size: clamp(.9rem, 1.7vw, 1.06rem); letter-spacing: .26em; line-height: 3.1; }
.pt-lead strong { color: var(--accent); font-weight: 500; }
.pt-samples { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 46px; }
.pt-samples a { font-size: .72rem; letter-spacing: .14em; border: 1px solid var(--hairline); background: #fff; padding: 15px 28px; transition: border-color .35s ease, background .35s ease, color .35s ease; }
.pt-samples a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.pt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1040px; margin: 0 auto; align-items: stretch; }
.pt-item { border: 1px solid var(--hairline); padding: 48px 32px 42px; display: flex; flex-direction: column; position: relative; background: #fff; }
.pt-item .pi-tag { position: absolute; top: -1px; left: 32px; background: var(--accent); color: #fff; font-family: var(--en); font-size: .62rem; letter-spacing: .22em; padding: 6px 15px; }
.pt-item h3 { font-size: .96rem; letter-spacing: .3em; margin-bottom: 20px; margin-top: 12px; }
.pt-item > p { font-size: .76rem; color: var(--mist); letter-spacing: .1em; line-height: 2.9; margin-bottom: 26px; }
.pt-item ul { list-style: none; margin-top: auto; }
.pt-item li { font-size: .76rem; padding: 9px 0 9px 22px; position: relative; letter-spacing: .08em; line-height: 2.3; }
.pt-item li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 1px; background: var(--accent); }
.pt-note { text-align: center; margin-top: 52px; font-size: .72rem; color: var(--mist); letter-spacing: .1em; line-height: 2.9; }
.pt-kit { background: var(--bg-soft); }
.pt-kit-list { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.kit-row { display: grid; grid-template-columns: 230px 1fr; gap: 26px; padding: 26px 4px; border-bottom: 1px solid var(--hairline); }
.kit-row .k-t { font-size: .82rem; letter-spacing: .16em; }
.kit-row .k-d { font-size: .76rem; color: var(--mist); letter-spacing: .08em; line-height: 2.9; }
@media (max-width: 900px) {
  .pt-intro { padding-top: 130px; }
  .pt-cards, .pt-grid { grid-template-columns: 1fr; max-width: 460px; }
  .kit-row { grid-template-columns: 1fr; gap: 8px; }
  .pt-visual { aspect-ratio: 16 / 9; }
}

/* カスタマイズページ（互換保持） */
.customize-main { max-width: 780px; margin: 0 auto; padding: 160px 6vw 60px; }
.sim-note { font-size: .74rem; color: var(--mist); letter-spacing: .1em; line-height: 2.9; }
