/* 名刺型LP（v8）・デザイン「glow」
   色を変えたいときは、下の「色」だけを直す。ほかは書きかえない。決まりは DESIGN.md にある。 */

/* ── 色 ── */
:root {
  --milk: #fcf8f8;      /* 地：ほんのり桜色の白 */
  --ink: #45213f;       /* 文字：深いワイン */
  --sub: #8f7889;       /* 小さい文字 */
  --line: rgba(69, 33, 63, .16);
  --butter: #f4dfe3;    /* 面の色1：花びらのピンク */
  --lilac: #e5d6ee;     /* 面の色2：Canva の表紙に合わせた薄紫 */
  --accent: #a3407a;    /* 差し色：手書きのメモ・グラフの線・順番の数字にだけ使う */
}

/* ── 書体（fonts/ の中のファイルを使う。外からは読み込まない） ── */
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Shippori Mincho"; src: url("fonts/ShipporiMincho-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Zen Kurenaido"; src: url("fonts/ZenKurenaido-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@property --open { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --serif: "Instrument Serif", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --hand: "Zen Kurenaido", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", "Meiryo", sans-serif;
  --out: cubic-bezier(.16, 1, .3, 1);
  --ease: cubic-bezier(.4, 0, .2, 1);
  /* 作品をくわしく見る窓（core）の色 */
  --v-bg: var(--milk); --v-ink: var(--ink); --v-card: rgba(69, 33, 63, .06); --v-accent: var(--accent); --v-accent-soft: var(--lilac); --v-radius: 32px; --v-radius-s: 18px;
}
html, body { background: var(--milk); }
html { scroll-behavior: smooth; }
body { color: var(--ink); font-family: var(--body); font-size: 16px; font-weight: 400; line-height: 1.9; letter-spacing: .02em; font-feature-settings: "palt"; }
::selection { background: var(--lilac); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.gw-wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
/* 日本語を、文節の切れ目で折り返す（対応しているブラウザだけ） */
h1, h2, h3, blockquote, .gw-lead, .gw-policy-text, .gw-p, .gw-case-summary, .gw-contact-copy > p { word-break: auto-phrase; }
h2, h3, .gw-policy-text { text-wrap: balance; }
.viewer-text h3 { font-family: var(--mincho); font-weight: 500; }

/* ── ボタン ── */
.gw-pill { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 11px 24px; border: 1px solid var(--ink); border-radius: 99px; font-size: 14px; letter-spacing: .06em; text-decoration: none; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease); }
.gw-pill:hover { background: var(--ink); color: var(--milk); }
.gw-pill.is-solid { background: var(--ink); color: var(--milk); }
.gw-pill.is-solid:hover { background: var(--accent); border-color: var(--accent); }
.gw-pill.is-big { padding: 18px 34px; font-size: 15px; }
.gw-pill svg { width: 18px; height: 18px; }
.gw-pill:active { transform: scale(.97); }
.gw-text-link { font-size: 14px; letter-spacing: .06em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.gw-text-link:hover { color: var(--accent); }

/* ── 上のバー ── */
.gw-bar { position: absolute; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 40px; padding: 22px max(32px, calc((100% - 1200px) / 2)); }
.gw-mark { font-family: var(--serif); font-style: italic; font-size: 27px; line-height: 1; letter-spacing: -.01em; text-decoration: none; margin-right: auto; }
.gw-bar nav { display: flex; gap: 30px; font-size: 14px; }
.gw-bar nav a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); padding-bottom: 3px; }
.gw-bar nav a:hover { background-size: 100% 1px; }

/* ── 最初の画面 ── */
.gw-hero { position: relative; display: flex; flex-direction: column; min-height: max(100svh, 880px); padding-top: 112px; overflow: hidden; }
.gw-hero-copy { text-align: center; padding-inline: 24px; }
.gw-role { font-size: 14px; color: var(--sub); letter-spacing: .08em; }
.gw-role span { margin-left: 1.4em; }
.gw-catch { margin-top: 14px; font-family: var(--mincho); font-weight: 500; font-size: clamp(34px, 5vw, 72px); line-height: 1.32; letter-spacing: .03em; }
.gw-ln { display: block; overflow: hidden; padding-block: .06em; margin-block: -.06em; }
.gw-ln > span { display: inline-block; }
.gw-hero-cta { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 28px; }

/* 扇のように並ぶリール */
.gw-fan-wrap { position: relative; margin-top: auto; height: 512px; --cw: 172px; --R: 900px; --step: 9.3deg; --pw: 196px; }
.gw-fan { position: absolute; left: 50%; top: 86px; width: 0; height: 0; }
.gw-card { --open: 0; position: absolute; left: calc(var(--cw) / -2); top: 0; width: var(--cw); aspect-ratio: 9 / 16; z-index: calc(10 - var(--ao)); transform-origin: 50% calc(100% + var(--R)); transform: rotate(calc((var(--o) * var(--step) + var(--spin, 0deg)) * var(--open))); opacity: 0; transition: --open 1.5s var(--out) calc(.3s + var(--k) * 90ms), opacity .7s var(--ease) calc(.3s + var(--k) * 90ms); }
.is-ready .gw-card { --open: 1; opacity: 1; }
.gw-card-in { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; background: var(--lilac); transition: transform .45s var(--out); }
.gw-card:hover .gw-card-in { transform: translateY(-14px); }
.gw-card-in em { position: absolute; left: 12px; bottom: 10px; z-index: 2; display: flex; align-items: center; gap: 4px; color: #fff; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 0; text-shadow: 0 0 6px rgba(0,0,0,.5); }
.gw-card-in em svg { width: 11px; height: 11px; }
.gw-card-in .cap { font-size: 17px; top: 26%; }
.gw-card.is-phone { left: calc(var(--pw) / -2); top: -58px; width: var(--pw); aspect-ratio: auto; z-index: 12; }
.gw-card.is-phone .phone { --w: var(--pw); transition: transform .45s var(--out); }
.gw-card.is-phone:hover .phone { transform: translateY(-10px); }

/* 手書きのメモと矢印 */
.gw-note { position: absolute; z-index: 14; font-family: var(--hand); font-size: 25px; line-height: 1.35; letter-spacing: .02em; color: var(--accent); white-space: nowrap; opacity: 0; transition: opacity .6s var(--ease); }
.gw-note.n1 { left: calc(50% - 560px); top: 4px; transform: rotate(-6deg); transition-delay: 1.5s; }
.gw-note.n2 { left: calc(50% + 350px); top: -14px; transform: rotate(5deg); transition-delay: 1.8s; }
.is-ready .gw-note { opacity: 1; }
.gw-arrow { position: absolute; width: 96px; height: 72px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gw-note.n1 .gw-arrow { left: 62%; top: 100%; }
.gw-note.n2 .gw-arrow { right: 58%; top: 100%; }
.gw-arrow path { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset .8s var(--ease); }
.gw-note.n1 .gw-arrow path { transition-delay: 1.8s; }
.gw-note.n1 .gw-arrow path + path { transition-delay: 2.3s; }
.gw-note.n2 .gw-arrow path { transition-delay: 2.1s; }
.gw-note.n2 .gw-arrow path + path { transition-delay: 2.6s; }
.is-ready .gw-arrow path { stroke-dashoffset: 0; }

/* 開いたときの出かた（1回だけ） */
.gw-bar, .gw-role, .gw-hero-cta { opacity: 0; transition: opacity .8s var(--ease); }
.gw-bar { transform: translateY(-10px); transition: opacity .8s var(--ease), transform .8s var(--out); }
.gw-role { transition-delay: .1s; } .gw-hero-cta { transition-delay: .65s; }
.gw-catch .gw-ln > span { transform: translateY(108%); transition: transform 1.1s var(--out) calc(.15s + var(--k) * .12s); }
.is-ready .gw-bar, .is-ready .gw-role, .is-ready .gw-hero-cta { opacity: 1; transform: none; }
.is-ready .gw-catch .gw-ln > span { transform: none; }

/* ── 紹介の文と、成分表示のラベル ── */
.gw-intro { padding: 150px 0 40px; }
.gw-intro .gw-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 96px; align-items: center; }
.gw-intro.is-solo .gw-wrap { grid-template-columns: minmax(0, 820px); }
.gw-lead { font-family: var(--mincho); font-weight: 500; font-size: clamp(21px, 2.2vw, 31px); line-height: 1.95; letter-spacing: .04em; }
.gw-label { justify-self: end; width: min(100%, 408px); padding: 26px 30px 24px; background: #fff; border: 1px solid var(--ink); border-radius: 5px; transform: rotate(-1.6deg); font-size: 12.5px; line-height: 1.6; }
.gw-label-head { padding-bottom: 12px; border-bottom: 3px solid var(--ink); letter-spacing: .12em; }
.gw-label-head b { font-weight: 700; margin-right: .3em; }
.gw-label dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0 7px; border-bottom: 1px solid var(--line); }
.gw-label dd { white-space: nowrap; }
.gw-label dd b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -.01em; margin-right: 3px; font-variant-numeric: tabular-nums; }
.gw-label-foot { margin-top: 12px; color: var(--sub); font-size: 11.5px; }
.gw-label-foot span { display: block; color: var(--ink); font-weight: 700; letter-spacing: .1em; }

/* ── 大きな見出し（ものを並べる区切り）と、明朝の見出し（文章の区切り） ── */
.gw-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.gw-big { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(84px, 12.2vw, 178px); line-height: .82; letter-spacing: -.035em; transform: translateX(calc((.5 - var(--p, .5)) * 70px)); padding-right: .08em; }
.gw-head-side { max-width: 24em; padding-bottom: 14px; font-size: 13.5px; line-height: 1.85; color: var(--sub); }
.gw-head-side b { display: block; color: var(--ink); font-family: var(--mincho); font-weight: 500; font-size: 19px; letter-spacing: .08em; margin-bottom: 4px; }
.gw-h2 { font-family: var(--mincho); font-weight: 500; font-size: clamp(27px, 2.9vw, 40px); line-height: 1.5; letter-spacing: .05em; }

/* ── 作品：横に流れつづけるリール ── */
.gw-works { padding: 130px 0 0; }
.gw-reels { margin-top: 60px; padding-bottom: 40px; }
#reels { gap: 22px; align-items: flex-start; }
.gw-reel { flex: none; width: 236px; display: flex; flex-direction: column; text-align: left; }
.gw-reel:nth-child(even) { margin-top: 38px; }
.gw-reel-media { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--lilac); }
.gw-reel-media .cover { transition: transform .9s var(--out); }
.gw-reel:hover .gw-reel-media .cover { transform: scale(1.04); }
.gw-reel-media .cap { font-size: 21px; top: 22%; }
.gw-reel-media em { position: absolute; left: 14px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 4px; color: #fff; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: 0; text-shadow: 0 0 6px rgba(0,0,0,.5); }
.gw-reel-media em svg { width: 12px; height: 12px; }
.gw-reel-meta { display: flex; gap: 12px; margin-top: 14px; font-size: 12px; color: var(--sub); }
.gw-reel-meta i { font-style: normal; }
.gw-reel-meta i + i { padding-left: 12px; border-left: 1px solid var(--line); }
.gw-reel-title { margin-top: 2px; font-family: var(--mincho); font-weight: 500; font-size: 17px; line-height: 1.6; }

/* 作品が3件までのときは、流さずに真ん中に並べる */
.gw-reels.is-few #reels { display: flex; justify-content: center; flex-wrap: wrap; width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
/* 写真も動画もない作品：淡い色の地に、明朝の文字 */
.cover.no-media { background: var(--lilac); }
.gw-reel:nth-child(even) .cover.no-media, .gw-card:nth-child(even) .cover.no-media, .ig-tile:nth-child(even) .cover.no-media { background: var(--butter); }
.cover.no-media .cap { color: var(--ink); font-family: var(--mincho); font-weight: 500; letter-spacing: .04em; }
.phone .screen.reel .cover.no-media { background: #5b3c66; }
.phone .screen.reel .cover.no-media .cap { color: #fff; }

/* ── 事例：Before／After ── */
.gw-case { padding: 160px 0 0; }
.gw-case-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 88px; align-items: start; }
.gw-case-copy { position: sticky; top: 48px; }
.gw-case-period { margin-top: 14px; font-size: 13px; color: var(--sub); letter-spacing: .08em; }
.gw-case-summary { margin-top: 22px; font-size: 15px; line-height: 2.1; }
.gw-ba-box { border-radius: 32px; overflow: hidden; }
.gw-ba { display: grid; grid-template-columns: 1fr 1fr; }
.gw-ba-half { padding: 34px 36px 38px; }
.gw-ba-half.is-before { background: var(--butter); }
.gw-ba-half.is-after { background: var(--lilac); }
.gw-ba-half p { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.2; }
.gw-ba-half p span { margin-left: 12px; font-family: var(--body); font-style: normal; font-size: 12px; color: var(--sub); letter-spacing: .06em; }
.gw-ba-half b { display: block; margin-top: 34px; font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 8vw, 116px); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gw-ba-half small { display: block; margin-top: 14px; font-size: 13px; }
.gw-chart { margin-top: 44px; color: var(--ink); --chart-bg: var(--milk); }
.gw-chart figcaption { font-size: 12.5px; color: var(--sub); letter-spacing: .06em; }
.lp-chart .line { stroke-width: 2; }
.lp-chart text { font-family: var(--body); }
.lp-chart .val { font-weight: 600; }
.gw-lines { margin-top: 28px; border-top: 1px solid var(--ink); }
.gw-lines div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 15px 0 13px; border-bottom: 1px solid var(--line); font-size: 14px; }
.gw-lines dd { display: flex; align-items: baseline; gap: 14px; white-space: nowrap; }
.gw-lines s { color: var(--sub); text-decoration-thickness: 1px; font-size: 13px; }
.gw-lines dd b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.gw-lines.is-facts { border-top-color: var(--line); margin-top: 36px; }
.gw-lines.is-facts dt { color: var(--sub); font-size: 13px; flex: none; }
.gw-lines.is-facts dd { white-space: normal; text-align: right; }

/* ── レビュー（顔のアイコンつき） ── */
.gw-reviews { padding: 170px 0 0; }
.gw-voices { display: grid; gap: 76px; margin-top: 84px; }
.gw-voice { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 40px; align-items: start; max-width: 800px; }
.gw-voice.v2 { margin-left: auto; }
.gw-voice.v3 { margin-left: 12%; }
.gw-face { position: relative; display: block; width: 112px; height: 112px; }
.gw-face::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--butter); transform: translate(12px, 10px); }
.gw-voice.v2 .gw-face::before { background: var(--lilac); transform: translate(-12px, 10px); }
.gw-face .av { width: 100%; height: 100%; font-family: var(--mincho); font-size: 40px; background: #efe9f4; color: var(--ink); }
.gw-voice blockquote { font-family: var(--mincho); font-weight: 500; font-size: clamp(18px, 1.75vw, 24px); line-height: 2; letter-spacing: .04em; }
.gw-voice figcaption { margin-top: 16px; font-size: 13px; color: var(--sub); letter-spacing: .06em; }

/* ── メニュー表 ── */
.gw-menu { padding: 170px 0 0; }
.gw-menu-list { margin-top: 72px; border-bottom: 1px solid var(--ink); }
.gw-menu-list li { position: relative; padding: 34px 32px 32px; border-top: 1px solid var(--ink); }
.gw-menu-list li.is-pick { background: var(--butter); }
.gw-menu-top { display: flex; align-items: baseline; gap: 18px; }
.gw-menu-top h3 { font-family: var(--mincho); font-weight: 500; font-size: clamp(21px, 2.1vw, 29px); letter-spacing: .05em; line-height: 1.4; }
.gw-menu-top i { flex: 1; min-width: 24px; border-bottom: 1.5px dotted var(--ink); opacity: .45; transform: translateY(-5px); }
.gw-pick { font-family: var(--hand); font-size: 20px; color: var(--accent); transform: rotate(-4deg); white-space: nowrap; }
.gw-price { white-space: nowrap; }
.gw-price b { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; letter-spacing: -.01em; margin-right: 6px; }
.gw-price span { font-size: 13px; }
.gw-menu-items { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 12px; font-size: 14px; }
.gw-menu-items span + span { margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--line); }
.gw-menu-note { margin-top: 8px; font-size: 12.5px; color: var(--sub); }
.gw-menu-list li.is-pick .gw-menu-note { color: var(--ink); opacity: .7; }

/* ── 作り方（順番） ── */
.gw-routine { padding: 170px 0 0; }
.gw-steps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0; margin-top: 64px; border-top: 1px solid var(--ink); }
.gw-steps li { padding: 26px 22px 0 0; }
.gw-steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.gw-steps b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 60px; line-height: 1; color: var(--accent); }
.gw-steps h3 { margin-top: 18px; font-family: var(--mincho); font-weight: 500; font-size: 18px; line-height: 1.6; letter-spacing: .04em; }
.gw-steps p { margin-top: 8px; font-size: 13px; line-height: 1.9; color: var(--sub); }
.gw-tools { margin-top: 44px; font-size: 14px; }
.gw-tools span { margin-right: 1.6em; color: var(--sub); font-size: 13px; }

/* ── プロフィール ── */
.gw-about { padding: 180px 0 0; }
.gw-about-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 88px; align-items: center; }
.gw-about.no-photo .gw-about-grid { grid-template-columns: minmax(0, 760px); }
.gw-about-photo { position: relative; }
.gw-about-photo figure { border-radius: 30px; overflow: hidden; background: var(--lilac); }
.gw-about-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gw-hello { position: absolute; left: -8px; top: -112px; z-index: 2; font-family: var(--hand); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.3; color: var(--accent); transform: rotate(-7deg); pointer-events: none; }
.gw-hello.is-inline { position: static; display: inline-block; margin: 6px 0 18px; }
.gw-name { font-family: var(--mincho); font-weight: 500; font-size: 32px; letter-spacing: .14em; line-height: 1.4; margin-bottom: 26px; }
.gw-name span { margin-left: 16px; font-family: var(--serif); font-style: italic; font-size: 22px; letter-spacing: 0; color: var(--sub); }
.gw-p { font-size: 15px; line-height: 2.15; }
.gw-p + .gw-p { margin-top: 1em; }

/* ── 大事にしていること ── */
.gw-policy { padding: 180px 32px 0; }
.gw-policy-in { max-width: 1320px; margin-inline: auto; padding: 124px 32px 112px; background: var(--lilac); border-radius: 44px; text-align: center; }
.gw-policy-text { font-family: var(--mincho); font-weight: 500; font-size: clamp(30px, 4.5vw, 64px); line-height: 1.55; letter-spacing: .06em; }
.gw-underline { display: block; width: min(320px, 60%); margin: 14px auto 0; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; }
.gw-underline path { stroke-dasharray: 340; stroke-dashoffset: 340; transition: stroke-dashoffset 1.2s var(--ease) .3s; }
.in .gw-underline path { stroke-dashoffset: 0; }
.gw-policy-note { max-width: 34em; margin: 34px auto 0; font-size: 14.5px; line-height: 2.1; }

/* ── ご依頼の流れ・よくある質問 ── */
.gw-guide { padding: 170px 0 0; }
.gw-guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 104px; align-items: start; }
.gw-guide-grid.is-one { grid-template-columns: minmax(0, 760px); }
.gw-flow { margin-top: 36px; }
.gw-flow li { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.gw-flow li:first-child { border-top: 1px solid var(--ink); }
.gw-flow b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1; color: var(--accent); }
.gw-flow h3 { font-family: var(--mincho); font-weight: 500; font-size: 18px; letter-spacing: .04em; }
.gw-flow p { margin-top: 2px; font-size: 13px; color: var(--sub); }
.gw-faq { margin-top: 36px; border-top: 1px solid var(--ink); }
.gw-faq details { border-bottom: 1px solid var(--line); }
.gw-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--mincho); font-weight: 500; font-size: 17px; letter-spacing: .03em; line-height: 1.7; }
.gw-faq summary::-webkit-details-marker { display: none; }
.gw-faq summary i { position: relative; flex: none; width: 14px; height: 14px; transition: transform .35s var(--out); }
.gw-faq summary i::before, .gw-faq summary i::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: currentColor; }
.gw-faq summary i::after { transform: rotate(90deg); }
.gw-faq details[open] summary i { transform: rotate(45deg); }
.gw-faq details p { padding: 0 34px 24px 0; font-size: 14px; line-height: 2; color: var(--sub); }

/* ── お問い合わせ ── */
.gw-contact { padding: 180px 0 0; }
.gw-contact-box { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; padding: 92px 88px 0; background: var(--butter); border-radius: 48px; overflow: hidden; }
.gw-contact-box.is-solo { grid-template-columns: 1fr; padding-bottom: 92px; }
.gw-contact-copy { padding-bottom: 92px; }
.gw-contact-copy h2 { font-family: var(--mincho); font-weight: 500; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.45; letter-spacing: .05em; }
.gw-contact-copy > p { max-width: 30em; margin-top: 22px; font-size: 14.5px; line-height: 2; }
.gw-contact-copy .gw-pill { margin-top: 36px; }
.gw-contact-copy .gw-ask { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
.gw-ask span { display: flex; gap: 22px; margin-top: 6px; }
.gw-ask a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.gw-ask a:hover { color: var(--accent); }
.gw-contact-phone { align-self: end; justify-self: center; }
.gw-ig { --w: 282px; transform: rotate(4deg); margin-bottom: -120px; }

/* ── 下 ── */
.gw-foot { padding: 120px 0 56px; }
.gw-foot .gw-wrap { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: end; }
.gw-foot-mark { grid-column: 1 / -1; font-family: var(--serif); font-style: italic; font-size: clamp(58px, 12vw, 176px); line-height: .9; letter-spacing: -.035em; }
.gw-foot nav { display: flex; gap: 26px; font-size: 14px; grid-column: 2; grid-row: 2; }
.gw-foot nav a { text-decoration: none; }
.gw-foot nav a:hover { color: var(--accent); }
.gw-foot small { grid-column: 1; grid-row: 2; font-size: 12px; color: var(--sub); }

/* ── タブレット・スマホ ── */
@media (max-width: 1100px) {
  .gw-note.n1 { left: 24px; }
  .gw-note.n2 { left: auto; right: 24px; }
  .gw-case-grid, .gw-about-grid, .gw-guide-grid { grid-template-columns: 1fr; gap: 56px; }
  .gw-case-copy { position: static; }
  .gw-intro .gw-wrap { grid-template-columns: 1fr; gap: 56px; }
  .gw-label { justify-self: start; }
  .gw-contact-box { padding: 72px 56px 0; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .gw-wrap { width: calc(100% - 40px); }
  .gw-bar { padding: 16px 20px; gap: 16px; }
  .gw-bar nav { display: none; }
  .gw-mark { font-size: 24px; }
  .gw-pill { padding: 9px 18px; font-size: 13px; }
  .gw-hero { min-height: max(100svh, 760px); padding-top: 104px; }
  .gw-role span { display: block; margin: 2px 0 0; }
  .gw-hero-cta { margin-top: 26px; gap: 22px; }
  .gw-fan-wrap { height: 436px; --cw: 132px; --R: 640px; --step: 9.4deg; --pw: 160px; }
  .gw-fan { top: 112px; }
  .gw-card.is-phone { top: -44px; }
  .gw-card-in { border-radius: 15px; }
  .gw-card-in em { font-size: 10px; left: 8px; bottom: 7px; }
  .gw-note { font-size: 17px; }
  .gw-note.n1 { left: 14px; top: 2px; }
  .gw-note.n2 { right: 12px; top: -14px; }
  .gw-arrow { width: 58px; height: 44px; }
  .gw-intro { padding-top: 104px; }
  .gw-head-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .gw-head-side { padding-bottom: 0; }
  .gw-works, .gw-case, .gw-reviews, .gw-menu, .gw-routine, .gw-about, .gw-guide, .gw-contact { padding-top: 112px; }
  .gw-reels { margin-top: 40px; }
  #reels { gap: 14px; }
  .gw-reel { width: 172px; }
  .gw-reel:nth-child(even) { margin-top: 26px; }
  .gw-reel-media { border-radius: 17px; }
  .gw-reel-media .cap { font-size: 16px; }
  .gw-reel-title { font-size: 15px; }
  .gw-ba-half { padding: 24px 20px 26px; }
  .gw-ba-half p { font-size: 21px; }
  .gw-ba-half p span { display: block; margin: 2px 0 0; }
  .gw-ba-half b { margin-top: 22px; }
  .gw-voices { gap: 56px; margin-top: 56px; }
  .gw-voice { grid-template-columns: 76px minmax(0, 1fr); gap: 22px; }
  .gw-voice.v2, .gw-voice.v3 { margin-left: 0; }
  .gw-face { width: 76px; height: 76px; }
  .gw-face::before { transform: translate(8px, 7px); }
  .gw-voice.v2 .gw-face::before { transform: translate(-8px, 7px); }
  .gw-face .av { font-size: 28px; }
  .gw-menu-list { margin-top: 48px; }
  .gw-menu-list li { padding: 26px 18px 24px; }
  .gw-menu-top { flex-wrap: wrap; gap: 6px 14px; }
  .gw-menu-top i { display: none; }
  .gw-price { width: 100%; }
  .gw-menu-items { display: block; }
  .gw-menu-items span { display: block; }
  .gw-menu-items span + span { margin-left: 0; padding-left: 0; border-left: 0; }
  .gw-steps { grid-template-columns: 1fr; margin-top: 40px; }
  .gw-steps li, .gw-steps li + li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px; padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .gw-steps b { grid-row: span 2; font-size: 46px; }
  .gw-steps h3 { margin-top: 2px; }
  .gw-steps p { grid-column: 2; margin-top: 4px; }
  .gw-hello { left: 4px; top: -84px; }
  .gw-name { font-size: 27px; }
  .gw-name span { display: block; margin: 0; }
  .gw-policy { padding: 112px 14px 0; }
  .gw-policy-in { padding: 84px 22px 76px; border-radius: 32px; }
  .gw-contact-box { grid-template-columns: 1fr; padding: 56px 26px 0; border-radius: 32px; }
  .gw-contact-copy { padding-bottom: 12px; }
  .gw-ig { --w: 236px; margin-bottom: -150px; }
  .gw-ask span { flex-wrap: wrap; gap: 6px 22px; }
  .gw-foot { padding-top: 84px; }
  .gw-foot .gw-wrap { grid-template-columns: 1fr; }
  .gw-foot nav, .gw-foot small { grid-column: 1; grid-row: auto; }
  .gw-foot nav { flex-wrap: wrap; gap: 8px 22px; }
}

/* ── 動きを減らす設定：ぜんぶ止めて、最初から見える状態に ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gw-card { --open: 1; opacity: 1; transition: none; }
  .gw-bar, .gw-role, .gw-hero-cta, .gw-note { opacity: 1; transform: none; transition: none; }
  .gw-note.n1 { transform: rotate(-6deg); } .gw-note.n2 { transform: rotate(5deg); }
  .gw-catch .gw-ln > span { transform: none; transition: none; }
  .gw-arrow path, .gw-underline path { stroke-dashoffset: 0; transition: none; }
  .gw-big { transform: none; }
  .gw-card-in, .gw-card.is-phone .phone, .gw-reel-media .cover { transition: none; }
}
