/*
  Webの相談室：見た目（色・文字・レイアウト・動き）
  もとは デザイン案v5（2026-09-23 責任者了承・配色C）。
  色を変えるときは、下の「配色C」の :root { } の中の色コードを変えます。
*/
:root {
  /* ===== 配色（C 白×くすみ緑。2026-09-23 責任者が選択） ===== */
  --white: #FFFFFF;     /* 背景 */
  --beige: #F6F6F5;     /* 区切りの薄いグレー面 */
  --beige-2: #ECECEA;   /* 少し濃いグレー */
  --sand: #E2E2E0;      /* ボタンのマウスオーバー等の面 */
  --text: #1E1E1E;      /* 文字 */
  --sub: #686868;       /* 補足 */
  --rule: #E4E4E2;      /* 罫線 */
  --accent: #1E1E1E;    /* 小さな印 */
  --sage: #C9CFCB;
  --il-paper: #FFFFFF; --il-light: #F3F3F2; --il-mid: #E4E4E2; --il-fill: #D5D5D3; --il-green: #C3CBC6; --il-green2: #DADFDC; --il-accent: #1E1E1E; --il-dark: #3A3A3A; --il-glow: #F2F2F0; --il-line: #B9B9B7;
  --header-bg: rgba(255,255,255,.92);
  --line-green: #15803D;
  --line-green-dark: #116631;
  --f-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --f-head: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ease: cubic-bezier(.2,.7,.1,1);
}
/* 配色C（上の値を上書き。ここが実際に使われる色） */
:root {
  --beige: #F5F7F5; --beige-2: #E8EDE9; --sand: #DCE5DE; --text: #1F2A24; --sub: #5F6B64; --rule: #E2E8E3; --accent: #4E7A63; --sage: #B6CABC;
  --il-light: #F2F6F3; --il-mid: #E3EBE5; --il-fill: #CADBCF; --il-green: #A9C2B1; --il-green2: #CFDDD3; --il-accent: #4E7A63; --il-dark: #2B3630; --il-glow: #EEF4EF; --il-line: #AEBBB2;
}
/* イラストの色を配色に合わせる（SVGの色指定をCSSで上書き） */
.il [fill="#FCFAF6"] { fill: var(--il-paper); }
.il [fill="#F4EEE4"] { fill: var(--il-light); }
.il [fill="#EAE1D2"] { fill: var(--il-mid); }
.il [fill="#DCCBB1"] { fill: var(--il-fill); }
.il [fill="#A7B8A0"] { fill: var(--il-green); }
.il [fill="#C6D2BF"] { fill: var(--il-green2); }
.il [fill="#A9824A"] { fill: var(--il-accent); }
.il [fill="#A9A092"] { fill: var(--il-line); }
.il [fill="#3A352F"] { fill: var(--il-dark); }
.il [fill="#F4E7C9"], .il [fill="#F3E3BF"] { fill: var(--il-glow); }
.il [fill="#2F2B27"] { fill: var(--text); }
.il [fill="#6F675D"] { fill: var(--sub); }
.il [stroke="#2F2B27"] { stroke: var(--text); }
.il [stroke="#A9824A"] { stroke: var(--il-accent); }
.il [stroke="#B5AC9B"] { stroke: var(--il-line); }
.il [stroke="#FCFAF6"] { stroke: var(--il-paper); }
.il [stroke="#6F675D"] { stroke: var(--sub); }
.ba-hint svg path { stroke: var(--sub); }
.point svg path { stroke: var(--accent); }
  * { box-sizing: border-box; }
body { margin: 0; font-family: var(--f-body); color: var(--text); background: var(--white); font-size: 16px; line-height: 2; letter-spacing: .04em; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-feature-settings: "palt"; margin: 0; }
svg.il { display: block; width: 100%; height: auto; overflow: visible; }
.il .s { stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.il .s:not([fill]) { fill: none; }


/* ===== 共通 ===== */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 64px; }
section { padding: 128px 0; position: relative; }
.sec-title { display: grid; grid-template-columns: 340px 1fr; gap: 48px; margin-bottom: 64px; align-items: end; }
.sec-title .no { display: flex; align-items: center; gap: 12px; font-family: var(--f-head); font-size: 14px; color: var(--accent); letter-spacing: .12em; margin-bottom: 10px; }
.sec-title .no::after { content: ""; width: 40px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .3s; }
.sec-title.in .no::after { transform: scaleX(1); }
.sec-title h2 { font-family: var(--f-head); font-weight: 700; font-size: 31px; line-height: 1.55; letter-spacing: .06em; }
.sec-title .lead { color: var(--sub); margin: 0; max-width: 34em; }
.sub { color: var(--sub); }
.small { font-size: 14px; }
.note-fic { font-size: 13px; color: var(--sub); border-left: 2px solid var(--accent); padding: 2px 0 2px 14px; margin: 0; }
.label-fic { display: inline-block; font-size: 12px; border: 1px solid var(--sub); color: var(--sub); padding: 0 10px; line-height: 1.9; border-radius: 999px; }

/* ボタン：四角・マウスを乗せるとベージュが左から満ちる */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 60px; padding: 0 26px 0 28px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--text); background: var(--white); cursor: pointer; overflow: hidden; z-index: 0; white-space: nowrap; transition: color .35s, border-color .35s; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.7,0,.2,1); z-index: -1; }
.btn:hover::before { transform: scaleX(1); }
.btn .ar { width: 22px; height: 1px; background: currentColor; position: relative; transition: width .35s; flex: none; margin-left: auto; }  /* 矢印は右端にそろえる */
.btn .ar::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .ar { width: 34px; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-main { background: var(--text); color: var(--white); }
.btn-main:hover { color: var(--text); border-color: var(--sand); }
.btn-line { background: var(--line-green); border-color: var(--line-green); color: #fff; }
.btn-line::before { background: var(--line-green-dark); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-sm { min-height: 44px; padding: 0 16px; gap: 10px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.tlink { text-decoration: none; font-weight: 600; background: linear-gradient(var(--text), var(--text)) no-repeat 0 100% / 100% 1px; padding-bottom: 3px; transition: background-size .4s var(--ease); }
.tlink:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ===== ヘッダー ===== */
header.site { position: sticky; top: 0; z-index: 30; background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; max-width: none; padding: 0 40px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.logo svg { width: 30px; height: 30px; }
.logo b { font-family: var(--f-head); font-weight: 700; font-size: 20px; letter-spacing: .1em; }
nav.gnav { display: flex; gap: 28px; font-size: 14px; }
nav.gnav a { text-decoration: none; position: relative; white-space: nowrap; }
nav.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
nav.gnav a:hover::after { transform: scaleX(1); transform-origin: left; }
.head-actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--text); background: var(--white); cursor: pointer; padding: 0; }
.menu-btn i { display: block; width: 20px; height: 1.5px; background: var(--text); margin: 5px auto; transition: transform .3s, opacity .3s; }
.menu-btn.open i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.open i:nth-child(2) { opacity: 0; }
.menu-btn.open i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.drawer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s; }
.drawer > div { overflow: hidden; }
.drawer.open { grid-template-rows: 1fr; border-top: 1px solid var(--rule); }
.drawer a { display: block; padding: 16px 24px; border-bottom: 1px solid var(--rule); text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 17px; }
/* 読み進めた量のバー（視線の誘導） */
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* PC：右側の「いまどこ」目次（視線の誘導） */
.pnav { position: fixed; right: max(16px, calc(50vw - 550px + 18px)); top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; gap: 14px; transition: opacity .4s; }
.pnav.hide { opacity: 0; pointer-events: none; }
.pnav a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; font-size: 12px; color: var(--sub); }
.pnav a span { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; white-space: nowrap; background: var(--white); padding: 0 6px; }
.pnav a i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--sub); transition: all .3s; flex: none; }
.pnav a:hover span { opacity: 1; transform: none; }
@media (max-width: 1180px) { .pnav { display: none; } }
.pnav a.on { color: var(--text); font-weight: 600; }
.pnav a.on i { background: var(--accent); border-color: var(--accent); transform: scale(1.4); }

/* ===== 1 ファーストビュー ===== */
.hero { padding: 96px 0 64px; background: var(--white); overflow: hidden; border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.hero .open { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--sub); margin-bottom: 28px; }
.hero .open i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-green); animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(21,128,61,.35); } 50% { box-shadow: 0 0 0 7px rgba(21,128,61,0); } }
.hero h1 { font-family: var(--f-head); font-weight: 700; font-size: 42px; line-height: 1.6; letter-spacing: .06em; margin-bottom: 28px; }
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span { display: inline-block; white-space: nowrap; transform: translateY(110%); animation: up 1.1s var(--ease) forwards; }
.hero h1 .ln + .ln > span { animation-delay: .15s; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 70%, var(--sand) 70%) no-repeat 0 0 / 0 100%; animation: mark 1s var(--ease) 1.1s forwards; }
@keyframes up { to { transform: none; } }
@keyframes mark { to { background-size: 100% 100%; } }
.hero .lead { max-width: 27em; margin: 0 0 36px; color: var(--sub); }
.hero .lead strong { color: var(--text); }
.hero .btn { gap: 10px; padding: 0 18px 0 20px; width: 232px; }
.hero .btn .ar { margin-left: 18px; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--sub); }
.hero .meta li::before { content: "・"; color: var(--accent); }
.fade { opacity: 0; animation: fin 1s var(--ease) forwards; }
.fade.f1 { animation-delay: .5s; } .fade.f2 { animation-delay: .7s; } .fade.f3 { animation-delay: .9s; }
@keyframes fin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-il { position: relative; }
.hero-il::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: var(--beige-2); left: 8%; top: 4%; z-index: 0; }
.hero-il svg { position: relative; z-index: 1; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 48px auto 0; font-size: 11px; letter-spacing: .2em; color: var(--sub); width: max-content; text-decoration: none; }
.scroll-cue i { width: 1px; height: 48px; background: var(--rule); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -48px; width: 1px; height: 48px; background: var(--text); animation: drop 2s ease-in-out infinite; }
@keyframes drop { to { top: 48px; } }

/* ヒーローのイラストの動き */
.il .leaf { transform-origin: 72px 296px; animation: sway 4s ease-in-out infinite; }
.il .leaf2 { transform-origin: 72px 296px; animation: sway 4.6s ease-in-out infinite reverse; }
@keyframes sway { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.il .steam path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: steam 3s ease-in-out infinite; }
.il .steam path:nth-child(2) { animation-delay: .8s; }
@keyframes steam { 0% { stroke-dashoffset: 30; opacity: 0; } 30% { opacity: 1; } 70% { stroke-dashoffset: 0; opacity: .8; } 100% { stroke-dashoffset: -30; opacity: 0; } }
.il .bub { opacity: 0; animation: bub 6s var(--ease) infinite; }
.il .bub.b2 { animation-delay: 1.2s; } .il .bub.b3 { animation-delay: 2.4s; }
@keyframes bub { 0% { opacity: 0; transform: translateY(14px) scale(.9); } 12%, 70% { opacity: 1; transform: none; } 85%, 100% { opacity: 0; transform: translateY(-8px); } }
.il .cursor { animation: cur 6s var(--ease) infinite; }
@keyframes cur { 0%, 10% { transform: translate(60px, -70px); } 40%, 62% { transform: translate(0, 0); } 48% { transform: translate(0, 0) scale(.85); } 90%, 100% { transform: translate(60px, -70px); } }
.il .click { transform-origin: 290px 276px; opacity: 0; animation: clk 6s ease-out infinite; }
@keyframes clk { 0%, 46% { opacity: 0; transform: scale(.3); } 50% { opacity: .9; } 62%, 100% { opacity: 0; transform: scale(1.6); } }
.il .btnfill { animation: bfill 6s ease-in-out infinite; }
@keyframes bfill { 0%, 47% { fill: var(--text); } 52%, 70% { fill: var(--accent); } 80%, 100% { fill: var(--text); } }
.il .shop { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.il .spark { animation: tw 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.il .spark.s2 { animation-delay: 1.2s; }
@keyframes tw { 0%, 100% { opacity: .2; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }

/* 画面に入ったら線が描かれるイラスト */
.draw .s { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset 1.6s var(--ease); }
.draw.in .s { stroke-dashoffset: 0; }
.draw .fl { opacity: 0; transition: opacity .8s .6s; }
.draw.in .fl { opacity: 1; }

/* ===== 2 相談票 ===== */
.sec-title .spot { width: 150px; margin-top: 28px; }
.sheet { border-top: 1px solid var(--text); }
.row-chk { display: grid; grid-template-columns: 56px 1fr 1fr; gap: 24px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--rule); cursor: pointer; position: relative; transition: background-color .3s; }
.row-chk:hover { background: var(--beige); }
.row-chk input { position: absolute; opacity: 0; pointer-events: none; }
.row-chk .circle { width: 38px; height: 38px; position: relative; justify-self: center; }
.row-chk .circle::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--text); border-radius: 50%; background: var(--white); }
.row-chk .circle svg { position: absolute; inset: -9px; width: 56px; height: 56px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 150; stroke-dashoffset: 150; transition: stroke-dashoffset .5s ease-out; }
.row-chk input:checked ~ .circle svg { stroke-dashoffset: 0; }
.row-chk input:focus-visible ~ .circle::before { outline: 2px solid var(--accent); outline-offset: 3px; }
.row-chk:has(input:checked) { background: var(--beige); }
.row-chk h3 { font-size: 18px; font-weight: 600; line-height: 1.6; }
.row-chk .ex { font-size: 14px; color: var(--sub); margin: 2px 0 0; line-height: 1.7; }
.row-chk .ans { font-size: 15px; line-height: 1.8; margin: 0; padding-left: 22px; border-left: 1px solid var(--rule); color: var(--sub); transition: color .3s; }
.row-chk:has(input:checked) .ans { color: var(--text); }
.sheet-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; }
.sheet-foot p { margin: 0; }
.count { font-family: var(--f-head); font-weight: 700; font-size: 30px; display: inline-block; min-width: 1.2em; text-align: center; transition: transform .3s; }
.count.pop { transform: translateY(-4px); }
.point { display: inline-flex; align-items: center; gap: 12px; }
.point svg { width: 64px; height: 24px; }
.point .s { stroke-dasharray: 90; stroke-dashoffset: 90; transition: stroke-dashoffset 1s var(--ease) .4s; }
.in .point .s, .point.in .s { stroke-dashoffset: 0; }

/* ===== 3 制作事例 ===== */
.works-sec { background: var(--beige); }
.feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.feature .info h3 { font-family: var(--f-head); font-weight: 700; font-size: 25px; line-height: 1.6; margin: 14px 0 16px; }
.feature .info p { margin: 0 0 24px; }
.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 3.3; background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); user-select: none; overflow: hidden; border-radius: 6px; }
.ba .view { position: absolute; inset: 0; }
.ba .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 2; }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; pointer-events: none; }
.ba .handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.ba .handle b { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--text); color: var(--white); display: grid; place-items: center; font-size: 15px; letter-spacing: -1px; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba .tag { position: absolute; top: 14px; z-index: 3; font-size: 12px; font-weight: 600; padding: 2px 12px; background: var(--white); pointer-events: none; border-radius: 999px; }
.ba .tag.l { left: 14px; } .ba .tag.r { right: 14px; background: var(--text); color: var(--white); }
.ba-hint { font-size: 13px; color: var(--sub); margin: 14px 0 0; display: flex; align-items: center; gap: 8px; }
.ba-hint svg { width: 34px; height: 14px; }
.old { background: #EDEDED; font-family: "Times New Roman", "Hiragino Mincho ProN", serif; color: #333; text-align: center; padding: 14px; font-size: 11px; line-height: 1.5; height: 100%; letter-spacing: 0; }
.old .t { font-size: 17px; color: #0000CC; font-weight: bold; margin: 6px 0; }
.old .scroll { background: #444; color: #FF0; font-size: 10px; padding: 3px; white-space: nowrap; overflow: hidden; }
.old .img { height: 90px; background: repeating-linear-gradient(45deg, #ccc 0 6px, #ddd 6px 12px); margin: 10px 0; border: 1px solid #999; }
.old a, .old .lk { color: #0000CC; text-decoration: underline; }
.old p { margin: 0 0 6px; font-size: 10px; }
.old .tiny { font-size: 8px; color: #777; }
.new { background: #F7F4EC; height: 100%; font-family: var(--f-body); font-size: 12px; color: #2C3A33; display: flex; flex-direction: column; letter-spacing: .02em; }
.new .nh { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #DCD5C6; }
.new .nh b { font-family: var(--f-head); font-size: 14px; }
.new .nh span { background: #3F6B55; color: #fff; font-size: 10px; padding: 4px 12px; font-weight: 600; }
.new .kv { padding: 18px 16px; background: linear-gradient(120deg, #DCE6DE, #EEE6D6); }
.new .kv strong { font-family: var(--f-head); font-size: 18px; display: block; line-height: 1.5; }
.new .kv small { font-size: 10px; }
.new .menu { padding: 10px 16px; flex: 1; }
.new .r { display: flex; justify-content: space-between; border-bottom: 1px dashed #CFC7B6; padding: 7px 0; }
.new .r b { font-size: 13px; }
.new .cta { margin: 0 16px 16px; background: #3F6B55; color: #fff; text-align: center; padding: 10px; font-weight: 600; }
.work-list { border-top: 1px solid var(--text); }
.work-row { display: grid; grid-template-columns: 120px 1fr 180px 40px; gap: 28px; align-items: center; padding: 24px 8px; border-bottom: 1px solid var(--rule); text-decoration: none; transition: padding .4s var(--ease), background-color .4s; }
.work-row .thumb { aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; }
.work-row .thumb div { width: 100%; height: 100%; transition: transform .7s var(--ease); }
.work-row h3 { font-size: 18px; font-weight: 600; line-height: 1.6; }
.work-row .cat { font-size: 13px; color: var(--sub); }
.work-row .go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--text); position: relative; transition: background-color .3s; }
.work-row .go::after { content: ""; position: absolute; left: 13px; top: 15px; width: 8px; height: 8px; border-top: 1px solid var(--text); border-right: 1px solid var(--text); transform: rotate(45deg); transition: border-color .3s; }
.work-row:hover { background: var(--white); padding-left: 20px; }
.work-row:hover .thumb div { transform: scale(1.08); }
.work-row:hover .go { background: var(--text); }
.work-row:hover .go::after { border-color: var(--white); }
.c1 { background: linear-gradient(135deg, #DCE6DE, #EEE6D6); }
.c2 { background: linear-gradient(135deg, #EEDDC6, #E7E2D5); }
.c3 { background: linear-gradient(135deg, #DCE2EA, #F1E8D6); }
.works-more { margin-top: 48px; text-align: right; }

/* 事例の後の相談（扉のイラスト） */
.cta-room { background: var(--text); color: var(--white); padding: 96px 0; overflow: hidden; }
.cta-room .cta-in { display: grid; grid-template-columns: 200px 1fr auto; gap: 48px; align-items: center; }
.cta-room .cta-in.two { grid-template-columns: 1fr auto; }
.cta-room h2 { font-family: var(--f-head); font-weight: 700; font-size: 27px; line-height: 1.6; letter-spacing: .06em; margin-bottom: 14px; }
.cta-room p { color: rgba(255,255,255,.75); margin: 0; }
.cta-room .btns { flex-direction: column; min-width: 280px; }
.cta-room .btn-main { background: var(--white); color: var(--text); border-color: var(--white); }
.cta-room .btn-main:hover { border-color: var(--sand); }
.door .s { stroke: var(--white); }
.door .light { fill: #FFFFFF; opacity: .15; transition: opacity 1.2s; }
.door .panel { transform-origin: 30px 28px; transform-box: view-box; transition: transform 1.4s var(--ease) .3s; }
.door.in .panel { transform: skewY(-6deg) scaleX(.82); }
.door.in .light { opacity: .55; }
.door .sign { transform-origin: 80px 64px; transform-box: view-box; animation: swing 3.6s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* ===== 4 料金 ===== */
.free-line { font-size: 17px; margin: 0 0 40px; }
.free-line b { font-family: var(--f-head); font-size: 22px; background: linear-gradient(transparent 65%, var(--sand) 65%); padding: 0 2px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 32px 28px 30px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(0,0,0,.25); border-color: var(--sand); }
.plan .icon { width: 64px; height: 64px; margin-bottom: 16px; }
.plan .for { font-size: 13px; color: var(--sub); margin: 0 0 4px; }
.plan h3 { font-family: var(--f-head); font-weight: 700; font-size: 21px; line-height: 1.5; }
.plan .price { font-family: var(--f-head); font-weight: 700; font-size: 30px; margin: 16px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); letter-spacing: .02em; }
.plan .price small { font-family: var(--f-body); font-size: 12px; font-weight: 400; color: var(--sub); margin-left: 4px; }
.plan ul { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.plan li { padding-left: 16px; position: relative; margin-bottom: 4px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 1px; background: var(--text); }
.plan.hot { background: var(--beige); border-color: var(--sand); position: relative; }
.plan .badge { position: absolute; top: -12px; left: 24px; font-size: 12px; font-weight: 600; background: var(--text); color: var(--white); padding: 1px 12px; border-radius: 999px; }
.kari { font-size: 13px; color: #9A4B22; font-weight: 600; }
.excl { margin-top: 48px; display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-top: 32px; border-top: 1px solid var(--rule); }
.excl h3 { font-size: 16px; font-weight: 600; }
.excl ul { columns: 2; column-gap: 40px; margin: 0; padding: 0 0 0 1.2em; font-size: 15px; color: var(--sub); }

/* ===== 5 流れ ===== */
.flow-sec { background: var(--beige); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--white); border-radius: 8px; padding: 28px 26px 30px; position: relative; }
.steps li:not(:nth-child(3n))::after { content: ""; position: absolute; right: -16px; top: 58px; width: 12px; height: 12px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); transform: rotate(45deg); }
.steps .ic { width: 56px; height: 56px; margin-bottom: 12px; }
.steps .n { font-family: var(--f-head); font-size: 13px; color: var(--accent); letter-spacing: .12em; }
.steps h3 { font-size: 18px; font-weight: 600; margin: 2px 0 6px; line-height: 1.6; }
.steps p { font-size: 14px; color: var(--sub); margin: 0; line-height: 1.8; }
.flow-note { margin: 40px 0 0; font-size: 15px; text-align: center; }

/* ===== 6 自己紹介（写真なし） ===== */
.about-card { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.about-card .desk { width: 200px; }
.about-text h2 { font-family: var(--f-head); font-weight: 700; font-size: 28px; line-height: 1.6; letter-spacing: .06em; margin-bottom: 24px; }
.about-text p { margin: 0 0 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.facts div { background: var(--beige); border-radius: 8px; padding: 16px 18px; }
.facts dt { font-size: 12px; color: var(--sub); }
.facts dd { margin: 0; font-weight: 600; line-height: 1.7; }

/* ===== 7 よくある質問 ===== */
.faq { border-top: 1px solid var(--text); }
.qa { border-bottom: 1px solid var(--rule); }
.qa button { width: 100%; background: none; border: none; text-align: left; padding: 24px 64px 24px 8px; display: grid; grid-template-columns: 40px 1fr; font-weight: 600; font-size: 17px; line-height: 1.7; cursor: pointer; position: relative; transition: background-color .3s; }
.qa button:hover { background: var(--beige); }
.qa .q { font-family: var(--f-head); font-size: 20px; line-height: 1.4; color: var(--accent); }
.qa .pm { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 1px; background: var(--text); transition: transform .35s; }
.qa .pm::after { transform: rotate(90deg); }
.qa.open .pm::after { transform: rotate(0); }
.qa .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s; }
.qa .a > div { overflow: hidden; }
.qa .a p { margin: 0; padding: 0 64px 26px 48px; color: var(--sub); }
.qa.open .a { grid-template-rows: 1fr; }

/* ===== 8 問い合わせ ===== */
.contact { background: var(--beige); }
.contact .plane { position: absolute; right: 48px; top: 28px; width: 160px; }
.plane .fly { animation: fly 5s ease-in-out infinite; }
@keyframes fly { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(8px, -10px) rotate(-4deg); } }
.plane .trail { stroke-dasharray: 4 6; }
.contact-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.panel { background: var(--white); padding: 40px 36px; border-radius: 8px; }
.panel h3 { font-family: var(--f-head); font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.qr { width: 132px; height: 132px; border: 1px dashed var(--sub); display: grid; place-items: center; text-align: center; font-size: 12px; color: var(--sub); margin: 22px 0 12px; line-height: 1.6; border-radius: 6px; }
.pending { font-size: 13px; color: #9A4B22; font-weight: 600; margin: 0; }
.form .f { display: block; font-weight: 600; font-size: 15px; margin: 26px 0 8px; }
.form .f:first-child { margin-top: 0; }
.req, .opt { font-size: 11px; margin-left: 10px; font-weight: 600; padding: 0 7px; vertical-align: 1px; border-radius: 3px; }
.req { background: var(--text); color: var(--white); }
.opt { color: var(--sub); border: 1px solid var(--rule); }
.form input[type=text], .form input[type=email], .form input[type=url], .form textarea { width: 100%; font: inherit; letter-spacing: .02em; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 4px; background: var(--white); transition: border-color .25s, box-shadow .25s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px var(--beige-2); }
.form textarea { min-height: 170px; line-height: 1.8; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.kinds label { cursor: pointer; }
.kinds input { position: absolute; opacity: 0; }
.kinds span { display: inline-block; border: 1px solid var(--rule); padding: 6px 16px; font-size: 14px; background: var(--white); border-radius: 999px; transition: background-color .25s, border-color .25s, color .25s; }
.kinds label:hover span { border-color: var(--text); }
.kinds input:checked + span { background: var(--text); color: var(--white); border-color: var(--text); }
.kinds input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: center; margin-top: 26px; font-size: 15px; }
.agree input { width: 20px; height: 20px; accent-color: var(--text); }
.send { margin-top: 28px; }
.send button { min-height: 60px; padding: 0 48px; background: var(--beige-2); color: var(--sub); border: 1px dashed var(--il-line); font-weight: 600; cursor: not-allowed; border-radius: 4px; }
.send p { font-size: 14px; color: #9A4B22; font-weight: 600; margin: 12px 0 0; line-height: 1.8; }

footer.site { background: var(--text); color: rgba(255,255,255,.72); padding: 80px 0 40px; font-size: 14px; }
footer.site .fg { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
footer.site .fname { font-family: var(--f-head); font-weight: 700; font-size: 28px; color: var(--white); letter-spacing: .12em; margin: 0 0 8px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 24px; }
footer.site nav a { text-decoration: none; }
footer.site nav a:hover { color: var(--white); text-decoration: underline; }
footer.site .copy { margin-top: 56px; font-size: 12px; color: rgba(255,255,255,.5); }

.float { position: fixed; right: 24px; bottom: 24px; z-index: 25; display: flex; justify-content: flex-end; gap: 10px; pointer-events: none; transition: opacity .4s, transform .4s; }
.float a { pointer-events: auto; box-shadow: 0 10px 24px -8px rgba(0,0,0,.3); }
.float.hide { opacity: 0; transform: translateY(16px); }
.float.hide a { pointer-events: none; }
.sp-bar { display: none; }

/* ===== 事例一覧・詳細 ===== */
.page-head { padding: 96px 0 64px; background: var(--white); border-bottom: 1px solid var(--rule); }
.page-head .wrap { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.page-head h1 { font-family: var(--f-head); font-weight: 700; font-size: 40px; letter-spacing: .1em; }
.page-head svg { width: 180px; }
.crumb { font-size: 13px; color: var(--sub); margin: 0 0 20px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.filters { display: flex; gap: 8px; margin: 0 0 32px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--rule); background: var(--white); padding: 6px 18px; font-size: 14px; cursor: pointer; border-radius: 999px; transition: border-color .25s; }
.filters button:hover { border-color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--white); border-color: var(--text); }
.empty { display: none; padding: 40px 8px; border-bottom: 1px solid var(--rule); color: var(--sub); }
.empty.show { display: block; }
.case-head { padding: 88px 0 56px; }
.case-head h1 { font-family: var(--f-head); font-weight: 700; font-size: 36px; line-height: 1.6; letter-spacing: .05em; margin: 16px 0 28px; }
.case-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.case-meta div { padding: 14px 18px; background: var(--beige); border-radius: 8px; }
.case-meta dt { font-size: 12px; color: var(--sub); }
.case-meta dd { margin: 0; font-weight: 600; }
.case-body { display: grid; grid-template-columns: 190px 1fr; gap: 64px; padding-bottom: 96px; }
.toc { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; border-left: 1px solid var(--rule); }
.toc a { text-decoration: none; font-size: 14px; color: var(--sub); padding: 7px 0 7px 18px; position: relative; transition: color .25s; }
.toc a::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .3s; }
.toc a.on { color: var(--text); font-weight: 600; }
.toc a.on::before { transform: scaleY(1); }
.cs { padding: 0 0 80px; }
.cs .n { font-family: var(--f-head); font-size: 13px; color: var(--accent); letter-spacing: .12em; }
.cs h2 { font-family: var(--f-head); font-weight: 700; font-size: 27px; margin: 4px 0 24px; letter-spacing: .06em; }
.why { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: stretch; margin-bottom: 12px; }
.why > div { padding: 18px 20px; background: var(--white); border: 1px solid var(--rule); border-radius: 8px; }
.why > div:last-child { background: var(--beige); border-color: var(--beige); }
.why .arr { background: none; border: none; display: grid; place-items: center; color: var(--accent); padding: 0; }
.why small { display: block; font-size: 12px; color: var(--sub); }
.role { display: flex; flex-wrap: wrap; gap: 8px; }
.role span { border: 1px solid var(--rule); padding: 4px 14px; font-size: 14px; border-radius: 999px; }
.role span.me { background: var(--text); color: var(--white); border-color: var(--text); }
.shots { display: grid; grid-template-columns: 1fr 190px; gap: 28px; align-items: end; }
.shots .pc { aspect-ratio: 16/10; display: grid; place-items: center; font-size: 13px; color: var(--sub); border-radius: 6px; }
.shots .sp { aspect-ratio: 9/18; border: 6px solid var(--text); border-radius: 24px; display: grid; place-items: center; font-size: 13px; color: var(--sub); }
.shots p { font-size: 13px; text-align: center; margin: 8px 0 0; color: var(--sub); }
.inspect { width: 100%; border-collapse: collapse; font-size: 15px; }
.inspect th, .inspect td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.inspect thead th { font-size: 12px; color: var(--sub); font-weight: 600; border-bottom: 1px solid var(--text); }
.pager { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 40px 0 96px; border-top: 1px solid var(--rule); }

/* 画面に入ったら出る */
.js .rv { opacity: 0; translate: 0 24px; transition: opacity 1s, translate 1s var(--ease), transform .4s var(--ease), box-shadow .4s, border-color .4s, background-color .3s; }
.js .rv.in { opacity: 1; translate: none; }
.js .rv.d1 { transition-delay: .12s; } .js .rv.d2 { transition-delay: .24s; } .js .rv.d3 { transition-delay: .36s; }

@media (max-width: 940px) {
  nav.gnav { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 600px) {
  body { font-size: 15px; line-height: 1.95; }
  .wrap { padding: 0 20px; }
  section { padding: 88px 0; }
  header.site .wrap { height: 64px; padding: 0 16px; }
  .logo b { font-size: 17px; }
  .logo svg { width: 26px; height: 26px; }
  .pc-only, .pnav { display: none !important; }
  .sec-title { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .sec-title h2 { font-size: 25px; }
  .sec-title .spot { width: 110px; margin-top: 16px; }
  .hero { padding: 40px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-il { order: -1; width: 88%; margin: 0 auto; }
  .hero h1 { font-size: 28px; }
  .btns .btn { width: 100%; }
  .hero .cta-wrap { display: block; }
  .row-chk { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 4px; }
  .row-chk .circle { width: 32px; height: 32px; }
  .row-chk .circle svg { inset: -8px; width: 48px; height: 48px; }
  .row-chk .ans { grid-column: 2; padding: 10px 0 0; border-left: none; border-top: 1px dashed var(--rule); font-size: 14px; }
  .row-chk h3 { font-size: 16px; }
  .sheet-foot { flex-direction: column; align-items: stretch; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .ba { aspect-ratio: 4 / 4.4; }
  .work-row { grid-template-columns: 88px 1fr 32px; gap: 14px; padding: 18px 4px; }
  .work-row .cat-col { display: none; }
  .work-row .go { width: 32px; height: 32px; }
  .work-row .go::after { left: 9px; top: 11px; }
  .work-row h3 { font-size: 15px; }
  .work-row:hover { padding-left: 4px; }
  .cta-room { padding: 64px 0; }
  .cta-room .cta-in, .cta-room .cta-in.two { grid-template-columns: 1fr; gap: 24px; }
  .cta-room .door { width: 120px; }
  .cta-room h2 { font-size: 23px; }
  .cta-room .btns { min-width: 0; }
  .plans { grid-template-columns: 1fr; gap: 28px; }
  .excl { grid-template-columns: 1fr; gap: 12px; }
  .excl ul { columns: 1; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 22px 20px; }
  .steps li .ic { grid-row: span 3; margin: 0; }
  .steps li:not(:nth-child(3n))::after, .steps li::after { content: ""; right: auto; left: 50%; top: auto; bottom: -21px; width: 10px; height: 10px; transform: translateX(-50%) rotate(135deg); border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); position: absolute; }
  .steps li:last-child::after { display: none; }
  .about-card { grid-template-columns: 1fr; gap: 20px; }
  .about-card .desk { width: 140px; }
  .about-text h2 { font-size: 23px; }
  .facts { grid-template-columns: 1fr; }
  .qa button { font-size: 15px; padding: 20px 44px 20px 4px; grid-template-columns: 32px 1fr; }
  .qa .a p { padding: 0 8px 22px 36px; }
  .contact .plane { width: 110px; right: 12px; top: 40px; opacity: .8; }
  .contact-grid { grid-template-columns: 1fr; }
  .panel { padding: 28px 20px; }
  footer.site .fg { grid-template-columns: 1fr; }
  footer.site { padding-bottom: 120px; }
  .float { display: none; }
  .sp-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255,255,255,.97); border-top: 1px solid var(--rule); padding: 10px 12px 12px; }
  .sp-bar .btn { min-height: 52px; padding: 0 10px; justify-content: center; gap: 8px; font-size: 14px; width: 100%; }
  .page-head { padding: 56px 0 40px; }
  .page-head h1 { font-size: 30px; }
  .page-head svg { width: 110px; }
  .case-head { padding: 56px 0 40px; }
  .case-head h1 { font-size: 24px; }
  .case-meta { grid-template-columns: 1fr; }
  .case-body { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .cs h2 { font-size: 22px; }
  .why { grid-template-columns: 1fr; }
  .why .arr { transform: rotate(90deg); height: 32px; }
  .shots { grid-template-columns: 1fr; }
  .shots .sp { width: 170px; margin: 0 auto; }
  .inspect thead { display: none; }
  .inspect, .inspect tbody, .inspect tr, .inspect td { display: block; width: 100%; }
  .inspect tr { border-bottom: 1px solid var(--rule); padding: 10px 0; }
  .inspect td { border: none; padding: 2px 4px; }
  .inspect td::before { content: attr(data-label); display: block; font-size: 11px; color: var(--sub); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .ln > span, .fade { transform: none; opacity: 1; }
  .hero h1 em { background-size: 100% 100%; }
  .js .rv { opacity: 1; translate: none; }
  .draw .s { stroke-dashoffset: 0; } .draw .fl { opacity: 1; }
  .il .bub { opacity: 1; }
}
/* ===== 実装で追加（デザイン案にはなかった部分） ===== */
html { scroll-padding-top: 90px; }   /* ページ内リンクで見出しがヘッダーに隠れないように */
@media (min-width: 601px) and (max-width: 940px) {   /* タブレット幅：料金カードを縦に並べる */
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .option-box, .excl { grid-template-columns: 1fr; gap: 12px; }
}
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: var(--white); padding: 8px 16px; }
.skip:focus { left: 8px; }
.work-row .thumb img, .shots img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-row .thumb img { transition: transform .7s var(--ease); }
.work-row:hover .thumb img { transform: scale(1.08); }
.shots .pc { overflow: hidden; background: var(--beige); box-shadow: 0 20px 40px -24px rgba(0,0,0,.3); }
.shots .sp { overflow: hidden; background: var(--beige); }
.shots a { text-decoration: none; }
.option-box { margin-top: 28px; padding: 24px 28px; border: 1px dashed var(--sage); border-radius: 8px; display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.option-box h3 { font-size: 16px; font-weight: 600; line-height: 1.7; }
.option-box p { margin: 0; color: var(--sub); font-size: 15px; }
.how-made { font-size: 13px; color: var(--sub); margin: 12px 0 0; }
.case-lead { margin: 0 0 20px; }
.not-found { padding: 120px 0; text-align: center; }
.privacy h2 { font-family: var(--f-head); font-size: 22px; margin: 40px 0 12px; }
.privacy p { margin: 0 0 12px; }
.ba-note { font-size: 13px; color: var(--sub); margin: 6px 0 0; }
@media (max-width: 600px) {
  .option-box { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
  body.has-spbar { padding-bottom: 76px; }
}

/* ===== v2 調整（2026-09-24 責任者の指摘「白い部分が多すぎて見にくい」） =====
   ・薄い緑の面を少し濃くして、白との区切りが分かるように
   ・補足の文字と罫線を少し濃くして読みやすく
   ・セクションの上下の余白を詰める
   ・白が続く場所（最初の画面の次・自己紹介と質問）に色の面を入れる */
:root {
  --beige: #EDF2EE; --beige-2: #DFE8E1; --sand: #D2DFD5;
  --sub: #4F5C55; --rule: #D3DCD5;
}
section { padding: 96px 0; }
.sec-title { margin-bottom: 48px; }
.hero { padding: 80px 0 56px; }
#t-problems { background: var(--beige); }
#t-problems .row-chk:hover, #t-problems .row-chk:has(input:checked) { background: var(--white); }
.works-sec { background: var(--white); }
.work-row:hover { background: var(--beige); }
#t-about { padding-bottom: 96px; }
#t-faq { padding-top: 96px !important; background: var(--beige); }
#t-faq .qa button:hover { background: var(--white); }
.contact { background: var(--white); }
.contact .panel { background: var(--beige); }
.wrap { max-width: 1120px; }
.plan { border-color: var(--rule); }
.plan.hot { background: var(--beige); border-color: var(--sage); }
.note-fic { color: var(--sub); }
.hero .meta, .hero .open { color: var(--sub); }
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .sec-title { margin-bottom: 32px; }
  #t-about { padding-bottom: 64px; }
  #t-faq { padding-top: 64px !important; }
}

/* ===== v4 相談フォームの案内（2026-09-25：送信はGoogleフォームで受ける形に変更） ===== */
.contact-grid { grid-template-columns: 1fr 1fr; }
.form-steps { margin: 16px 0 20px; padding-left: 1.4em; font-size: 15px; line-height: 1.9; }
.picked { background: var(--white); border: 1px dashed var(--sage); border-radius: 6px; padding: 12px 16px; margin: 0 0 20px; }
.picked[hidden] { display: none; }
.picked p { margin: 0; font-size: 14px; font-weight: 600; }
.picked p span { font-weight: 400; color: var(--sub); font-size: 13px; }
.picked ul { margin: 4px 0 0; padding-left: 1.2em; font-size: 14px; }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== v5 料金の詳細ページ（2026-09-26） ===== */
.price-more { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-top: 28px; border-top: 1px solid var(--rule); }
.price-more p { margin: 0; flex: 1 1 320px; }
.pd-block { margin: 0 0 72px; }
.pd-block h2 { font-family: var(--f-head); font-weight: 700; font-size: 26px; letter-spacing: .06em; margin-bottom: 12px; }
.pd-lead { color: var(--sub); margin: 0 0 20px; }
.pd-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--text); }
.pd-table th, .pd-table td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; font-size: 15px; }
.pd-table th { font-weight: 600; width: 32%; }
.pd-price { font-family: var(--f-head); font-weight: 700; font-size: 20px; white-space: nowrap; width: 18%; }
.pd-notes { margin: 16px 0 0; padding-left: 1.2em; color: var(--sub); font-size: 14px; line-height: 1.9; }
.pd-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd-opt { background: var(--beige); border-radius: 8px; padding: 22px 22px 20px; }
.pd-opt h3 { font-size: 16px; font-weight: 600; margin: 0; }
.pd-opt-price { font-family: var(--f-head); font-weight: 700; font-size: 22px; margin: 6px 0 8px; }
.pd-opt-price small { font-family: var(--f-body); font-weight: 400; font-size: 12px; color: var(--sub); }
.pd-opt p { margin: 0; font-size: 14px; line-height: 1.8; }
.pd-opt .pd-opt-note { margin-top: 8px; font-size: 13px; color: var(--sub); }
@media (max-width: 940px) { .pd-options { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .pd-options { grid-template-columns: 1fr; }
  .pd-table th, .pd-table td { display: block; width: 100%; padding: 4px 4px; border: none; }
  .pd-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .pd-block h2 { font-size: 22px; }
}

/* ===== v6 見た目の改善（2026-09-26 責任者の指摘「殺風景・ぱっと見が見にくい」）
   ・最初の画面に、実際に作った画面（PC・スマホ）を置く
   ・相談できることを、押せるカードにする
   ・制作事例を大きな画面つきのカードにする
   ・見出しの番号を大きく、補足の文字を濃くして、ページにメリハリをつける
   ・グラデーション・光る装飾は使わない ===== */
:root { --sub: #4A5650; --ink2: #34403A; --deep: #2E5443; }
.sec-title .lead, .hero .lead { color: var(--ink2); }
span.no { display: flex; align-items: center; gap: 12px; }
span.no b { font-family: var(--f-head); font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: .02em; color: var(--accent); }

/* 最初の画面 */
.hero { padding: 72px 0 96px; border-bottom: none; }
.hero-grid { grid-template-columns: 1fr 1.02fr; gap: 64px; }
.hero h1 { font-size: 46px; }
.hero .lead { font-size: 17px; max-width: 26em; }
.hero .open { background: var(--beige); color: var(--text); font-weight: 600; padding: 6px 16px; border-radius: 999px; margin-bottom: 24px; }
.hero .open .sep { width: 1px; height: 12px; background: var(--sage); margin: 0 2px; }
.hero .btn { width: auto; }
.hero .meta.chips { gap: 8px; margin-top: 24px; }
.hero .meta.chips li { background: var(--white); border: 1px solid var(--rule); border-radius: 999px; padding: 3px 14px 3px 12px; color: var(--ink2); }
.hero .meta.chips li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 6px; }
.hero-shot { position: relative; margin: 0; padding: 36px 0 12px; }
.hero-shot .hs-back { position: absolute; top: 0; bottom: 36px; left: 12%; right: -48px; background: #E4ECE6; border-radius: 28px; }
.hero-shot .laptop { position: relative; z-index: 1; width: 84%; margin-left: 4%; }
.hero-shot .scr { border: 10px solid #1F2A24; border-bottom-width: 14px; border-radius: 14px 14px 4px 4px; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; box-shadow: 0 34px 50px -34px rgba(20, 40, 30, .55); }
.hero-shot .scr img, .hero-shot .phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-shot .base { height: 12px; margin: 0 -7%; background: #C9D3CC; border-radius: 0 0 14px 14px; }
.hero-shot .phone { position: absolute; z-index: 2; right: 0; bottom: 44px; width: 26%; aspect-ratio: 9 / 19; border: 7px solid #1F2A24; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 26px 40px -18px rgba(20, 40, 30, .5); animation: floaty 6s ease-in-out infinite; }
.hero-shot figcaption { position: relative; z-index: 1; font-size: 12px; color: var(--sub); margin: 18px 0 0 4%; }

/* 相談できること：カード */
.sheet { border-top: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-chk { grid-template-columns: 48px 1fr; align-items: start; background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 22px 24px 20px 18px; transition: border-color .25s, box-shadow .3s, transform .3s var(--ease), background-color .25s; }
#t-problems .row-chk:hover { background: var(--white); border-color: var(--sage); box-shadow: 0 16px 30px -22px rgba(30, 60, 45, .45); transform: translateY(-2px); }
#t-problems .row-chk:has(input:checked) { background: #F4F9F5; border-color: var(--accent); }
.row-chk .circle { justify-self: start; margin-top: 2px; }
.row-chk h3 { font-size: 17px; }
.row-chk .ans { grid-column: 2; border-left: none; padding: 12px 0 0; margin-top: 12px; border-top: 1px dashed var(--rule); color: var(--accent); font-weight: 600; font-size: 14px; }
.row-chk .ans::before { content: "→ "; }
.row-chk:has(input:checked) .ans { color: var(--deep); }
.sheet-foot { background: var(--white); border-radius: 12px; padding: 18px 24px; margin-top: 24px; }

/* 制作事例：画面つきカード */
.work-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-cards .empty { grid-column: 1 / -1; }
.wcard { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.wcard:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -26px rgba(30, 60, 45, .45); border-color: var(--sage); }
.wshot { position: relative; aspect-ratio: 16 / 11; background: var(--beige); padding: 22px 22px 0; overflow: hidden; }
.wpc { width: 84%; aspect-ratio: 16 / 10; border-radius: 6px 6px 0 0; overflow: hidden; box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .4); }
.wpc img, .wsp img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.wcard:hover .wpc img { transform: scale(1.04); }
.wsp { position: absolute; right: 18px; bottom: 16px; width: 24%; aspect-ratio: 9 / 19; border: 4px solid #1F2A24; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .45); }
.wbody { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 22px; }
.wtags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.wtags span { font-size: 12px; padding: 1px 10px; border-radius: 999px; background: var(--beige); color: var(--sub); }
.wbody h3 { font-family: var(--f-head); font-weight: 700; font-size: 20px; line-height: 1.5; }
.wcatch { margin: 4px 0 16px; font-size: 14px; line-height: 1.8; color: var(--ink2); }
.wmore { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--accent); }
.wmore .ar { width: 22px; height: 1px; background: currentColor; position: relative; transition: width .35s; }
.wmore .ar::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.wcard:hover .wmore .ar { width: 34px; }
.works-more { text-align: center; margin-top: 36px; }
.sub-head { display: flex; align-items: center; gap: 14px; font-family: var(--f-head); font-weight: 700; font-size: 22px; letter-spacing: .06em; margin: 96px 0 28px; }
.sub-head::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

/* 料金：まん中のプランを目立たせる */
.plan { border-top: 3px solid var(--accent); border-radius: 10px; }
.plan .price { font-size: 34px; }
.plan.hot { background: var(--deep); border-color: var(--deep); color: #fff; }
.plan.hot .for, .plan.hot .price small { color: rgba(255, 255, 255, .78); }
.plan.hot .price { border-color: rgba(255, 255, 255, .25); }
.plan.hot li::before { background: #fff; }
.plan.hot .badge { background: #fff; color: var(--deep); }
.plan.hot .il .s { stroke: #fff; }

/* 流れ */
.steps li { border-top: 3px solid var(--sage); }

@media (max-width: 940px) {
  .work-cards { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: 40px; }
}
@media (max-width: 600px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 29px; }
  .hero .lead { font-size: 15.5px; }
  .hero .btn { width: 100%; }
  .hero-shot { padding-top: 24px; }
  .hero-shot .hs-back { left: 6%; right: -20px; }
  .hero-shot .phone { width: 28%; border-width: 5px; border-radius: 20px; }
  .hero-shot .scr { border-width: 7px; border-bottom-width: 10px; }
  span.no b { font-size: 34px; }
  .sheet { grid-template-columns: 1fr; gap: 12px; }
  .row-chk { grid-template-columns: 40px 1fr; padding: 18px 18px 16px 14px; }
  .sheet-foot { padding: 16px; }
  .work-cards { grid-template-columns: 1fr; gap: 18px; }
  .sub-head { margin-top: 64px; font-size: 19px; }
}

/* v6 調整：最初の画面の比率・ボタン、直す前／後の図 */
.hero-grid { grid-template-columns: 1.1fr .9fr; }
.hero .btn { padding: 0 20px 0 22px; gap: 10px; }
@media (min-width: 1181px) { .hero-shot { margin-right: -120px; } }
/* 直した後：右半分でも読めるよう右寄せにする */
.new .nh { justify-content: flex-end; gap: 14px; }
.new .kv { text-align: right; }
.new .cta { text-align: right; padding-right: 16px; }
/* 直す前：古さは残しつつ、目に痛い色を弱める */
.old .t, .old a, .old .lk { color: #3A55A0; }
.old .scroll { background: #555; color: #EFE3A6; }
.old { font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; }
@media (max-width: 600px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .sheet-foot .point { display: flex; width: 100%; }
  .sheet-foot .point > svg { display: none; }
  .sheet-foot .point .btn { width: 100%; }
}

/* v6 スマホ確認での調整（2026-09-26） */
.about-text span.no { display: flex !important; }
.tlink { display: inline-block; padding-top: 10px; }   /* 文字だけのリンクも押しやすい高さに */

/* ===== v7 パソコンでLINEボタンを押したときのQRの小窓（2026-09-27） ===== */
.line-dlg { border: none; border-radius: 14px; padding: 32px 32px 24px; max-width: 380px; width: calc(100% - 32px); text-align: center; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35); color: var(--text); }
.line-dlg::backdrop { background: rgba(31, 42, 36, .45); }
.line-dlg h2 { font-family: var(--f-head); font-weight: 700; font-size: 20px; line-height: 1.6; margin-bottom: 8px; }
.line-dlg p { margin: 0 0 12px; font-size: 15px; line-height: 1.8; }
.line-dlg img { display: block; margin: 8px auto 12px; width: 200px; height: 200px; }
.line-dlg-btns { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 8px; }

/* ===== v8 たぬきのキャラクター（2026-09-27 責任者が用意したイラスト。家のマークから変更） ===== */
.logo img { width: 36px; height: 36px; border-radius: 50%; display: block; }
.about-card { grid-template-columns: 260px 1fr; align-items: center; }
.about-tanuki { width: 260px; height: auto; display: block; }
@media (max-width: 600px) {
  .logo img { width: 30px; height: 30px; }
  .about-card { grid-template-columns: 1fr; }
  .about-tanuki { width: 200px; margin: 0 auto; }
}

/* プライバシーポリシー（2026-09-29） */
.privacy { max-width: 820px; }
.privacy ul { margin: 0 0 12px; padding-left: 1.3em; }
.privacy li { margin-bottom: 4px; }
