/* xpotential.fun 新しい見た目（v2）
   - 色と工夫は、次の一手相談のLP（/lp/tsugi/）に合わせる。ただしLPほど強くしない
   - 古い /assets/style.css は、公開中のLP（tsugi・mitsukaru）が使っているので、消さない・変えない
   - 新しいページは、この v2.css だけを読む（style.css と一緒に読まない。名前がぶつかるため）
   - 袋文字（.fk）と文字のタイル（.tiles）は、1ページに1〜2か所まで
   - 線の絵は /assets/v2-icons.svg にまとめてある（<use href="/assets/v2-icons.svg#i-〇〇">）。大きさは必ずCSSで決める */
:root {
  --navy: #14213D; --blue: #2B4C8C; --blue2: #3F74D1; --sky: #D6E8FA; --ice: #F2F7FC; --red: #C9432B; --red-d: #8E2A18;
  --gold: #D8B36A; --yel: #FFE56B; --skin: #FBE3D0; --mute: #4A566B; --line: #B9C6DA; --grey: #DDE2EA;
  --g-navy: linear-gradient(160deg, #101A31 0%, #1B2F5C 55%, #2B4C8C 100%);
  --g-blue: linear-gradient(180deg, #4C82E0 0%, #2B55AE 100%);
  --g-red: linear-gradient(180deg, #DB5A3F 0%, #B9391F 100%);
  --green: #06C755; --green-edge: #038A3A;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --gut: clamp(18px, 4.5vw, 40px);
  --ink: var(--navy); --soft: var(--mute); --accent: var(--red);  /* 古い名前でも通じるように（文書ページの中の指定のため） */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--ice); color: var(--navy); font-family: var(--gothic); font-weight: 700; font-size: 17px; line-height: 1.8; letter-spacing: .01em; overflow-x: clip; }
@media (min-width: 760px) { body { font-size: 17.5px; } }
/* 大きな画面では、全体を少し大きく見せる（字が小さい・左右が空く、を防ぐ） */
@media (min-width: 1100px) { .site-header, main, .site-footer { zoom: 1.1; } }
@media (min-width: 1360px) { .site-header, main, .site-footer { zoom: 1.22; } }
@media (min-width: 1600px) { .site-header, main, .site-footer { zoom: 1.36; } }
@media (min-width: 1900px) { .site-header, main, .site-footer { zoom: 1.5; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 900; letter-spacing: 0; line-height: 1.35; text-wrap: balance; word-break: auto-phrase; }
h3, h4 { font-weight: 900; line-height: 1.5; word-break: auto-phrase; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue2); outline-offset: 3px; }
.serif { font-family: var(--serif); font-weight: 900; letter-spacing: 0; }
.en { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500; }
.acc { color: var(--red); } .yel { color: var(--yel); }
.mark { background: linear-gradient(transparent 58%, var(--yel) 58%); padding-inline: .1em; }
.on-dark .mark { background: linear-gradient(transparent 62%, var(--red) 62%); }
.nw { white-space: nowrap; }
.ill { display: block; overflow: visible; flex: none; }
.pc { display: none; } @media (min-width: 760px) { .pc { display: revert; } .sp { display: none; } }

/* 幅 */
.in { width: min(100% - var(--gut) * 2, 1200px); margin-inline: auto; position: relative; }
.in.nar { width: min(100% - var(--gut) * 2, 860px); }
section { position: relative; }
.sec { padding-block: clamp(44px, 5vw, 64px); }
section[id], article[id] { scroll-margin-top: 76px; }

/* 地 */
.bg-white { background: #fff; }
.bg-sky { background: linear-gradient(180deg, var(--sky) 0%, #EAF3FC 100%); }
.bg-grid { background-color: var(--ice); background-image: linear-gradient(rgba(43,76,140,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(43,76,140,0.08) 1px, transparent 1px); background-size: 26px 26px; }
.bg-dots { background-color: #fff; background-image: radial-gradient(rgba(43,76,140,0.18) 1.2px, transparent 1.5px); background-size: 22px 22px; }
.bg-navy { background: var(--g-navy); color: #fff; }
.bg-night { background: linear-gradient(180deg, #0B1224 0%, #14213D 60%, #1B2F5C 100%); color: #fff; }
.bg-navy::before, .stripe::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 13px); pointer-events: none; }
.bg-navy > *, .stripe > * { position: relative; }

/* 段の境目：上の段の色（--up）の三角・斜めの切り口が、この段に食いこむ */
.join-tri::after { content: ""; position: absolute; left: 50%; top: -1px; margin-left: clamp(-80px, -7.5vw, -52px); width: clamp(104px, 15vw, 160px); height: clamp(36px, 5.2vw, 56px); background: var(--up, #fff); clip-path: polygon(0 0, 100% 0, 50% 100%); z-index: 4; }
.join-slant-l::after, .join-slant-r::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: clamp(34px, 5.4vw, 76px); background: var(--up, #fff); z-index: 4; }
.join-slant-l::after { clip-path: polygon(0 0, 100% 0, 0 100%); }
.join-slant-r::after { clip-path: polygon(0 0, 100% 0, 100% 100%); }
.join-tri, .join-slant-l, .join-slant-r { padding-top: clamp(70px, 8vw, 100px); }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); border-bottom: 3px solid var(--navy); }
.site-header .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; }
.logo { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500; font-size: 27px; line-height: 1; text-decoration: none; }
.logo b { font-weight: 700; color: var(--red); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 26px); font-size: 16px; font-weight: 900; }
.nav a { text-decoration: none; }
.nav a:not(.nav-line):hover { color: var(--blue2); }
.nav-line { background: var(--green); color: #fff; border-radius: 999px; padding: 5px 18px; box-shadow: 0 3px 0 var(--green-edge); }
@media (max-width: 759px) { .nav a:not(.nav-line) { display: none; } }

/* 見出しまわり */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: clamp(15px, 2vw, 18px); color: var(--blue); letter-spacing: .04em; line-height: 1.3; }
.kicker::before, .kicker::after { content: ""; flex: none; width: 11px; height: 20px; background: linear-gradient(currentColor, currentColor) left/3px 100% no-repeat, linear-gradient(currentColor, currentColor) right/3px 100% no-repeat; }
.kicker::before { transform: skewX(28deg); } .kicker::after { transform: skewX(-28deg); }
.on-dark .kicker { color: var(--yel); }
.ttl { font-size: clamp(29px, 6.6vw, 50px); margin-top: 10px; }
.ttl b { color: var(--red); } .on-dark .ttl b { color: var(--yel); }
.lede { margin-top: 16px; font-size: clamp(16px, 2vw, 18px); max-width: 36em; }
.center { text-align: center; } .center .lede { margin-inline: auto; }

/* 札・カード・帯 */
.tag { display: inline-block; background: var(--yel); color: var(--navy); font-weight: 900; padding: 3px 14px; box-shadow: 4px 4px 0 var(--navy); line-height: 1.5; transform: rotate(-2deg); }
.tag.navy { background: var(--g-navy); color: #fff; box-shadow: 4px 4px 0 var(--gold); }
.tag.red { background: var(--g-red); color: #fff; box-shadow: 4px 4px 0 var(--red-d); }
.crd { background: #fff; color: var(--navy); border: 3px solid var(--navy); box-shadow: 7px 8px 0 var(--blue2); }
.crd.gold { box-shadow: 7px 8px 0 var(--gold); }
.crd.red { border-color: var(--red); box-shadow: 7px 8px 0 var(--navy); }
.band { position: relative; background: var(--g-navy); color: #fff; box-shadow: 0 7px 0 rgba(10,18,36,0.35); }
.band.red { background: var(--g-red); box-shadow: 0 7px 0 var(--red-d); }
/* 画面の端から端までの、少し傾いた帯（大事な一言） */
.punch { margin: clamp(36px, 5vw, 56px) calc(var(--gut) * -1 - 12px) 0; padding: clamp(22px, 3.4vw, 34px) calc(var(--gut) + 12px) clamp(26px, 3.8vw, 38px); text-align: center; transform: rotate(-1.4deg); z-index: 5;
         font-family: var(--serif); font-weight: 900; font-size: clamp(21px, 4.6vw, 36px); line-height: 1.6; }
.punch small { display: block; font-family: var(--gothic); font-size: .58em; color: var(--yel); }
.punch em { font-style: normal; color: var(--yel); display: inline-block; }
.ib { display: inline-block; }
.punch { margin-inline: -50vw; padding-inline: 50vw; }

/* 文字のタイル・袋文字（1ページに1〜2か所まで） */
.tiles { display: inline-flex; gap: .09em; vertical-align: middle; }
.tiles i { font-style: normal; display: grid; place-items: center; width: 1.3em; height: 1.3em; line-height: 1; padding-bottom: .09em; color: #fff; background: var(--g-blue);
           box-shadow: inset 0 0 0 .045em rgba(255,255,255,0.55), inset 0 0 0 .075em rgba(43,85,174,0.9), 0 .1em 0 rgba(10,18,36,0.45); }
.tiles i.w { width: auto; padding-inline: .28em; }
.tiles.red i { background: var(--g-red); box-shadow: inset 0 0 0 .045em rgba(255,255,255,0.6), inset 0 0 0 .075em var(--red-d), 0 .1em 0 rgba(10,18,36,0.45); }
.tiles.alt i:nth-child(odd) { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 .045em var(--navy), 0 .1em 0 rgba(10,18,36,0.3); }
.tiles.alt i:nth-child(even) { background: var(--g-navy); box-shadow: inset 0 0 0 .045em rgba(255,255,255,0.5), 0 .1em 0 rgba(10,18,36,0.3); }
.fk { color: var(--red); paint-order: stroke fill; -webkit-text-stroke: .17em #fff; filter: drop-shadow(0 .09em 0 var(--navy)); }

/* ボタン（右端の丸い矢印は site.js が足す） */
.btn { --edge: #0A1224; position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 62px; padding: 0 72px 0 28px; border-radius: 999px;
       background: var(--g-navy); color: #fff; font-weight: 900; font-size: 17px; line-height: 1.3; text-decoration: none; letter-spacing: .03em; border: 3px solid #fff;
       box-shadow: 0 0 0 2px var(--edge), 0 7px 0 2px var(--edge), 0 18px 20px -6px rgba(20,33,61,0.4); transition: transform .12s ease, filter .12s ease; -webkit-tap-highlight-color: transparent; overflow: hidden; }
.btn .arr { position: absolute; right: 8px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: #fff; color: var(--edge); display: grid; place-items: center; box-shadow: inset 0 -3px 0 rgba(0,0,0,0.12); }
.btn .arr svg { width: 22px; height: 22px; transition: transform .15s ease; }
.btn:hover { filter: brightness(1.07); transform: translateY(-2px); }
.btn:hover .arr svg { transform: translateX(3px); }
.btn:active { transform: translateY(5px); }
.btn-line { --edge: var(--green-edge); background: linear-gradient(180deg, #2BE27A 0%, #06C755 46%, #04A847 100%); }
.btn-blue, .btn-accent { --edge: #1B3672; background: var(--g-blue); }
.btn-red { --edge: var(--red-d); background: var(--g-red); }
.btn-ghost { --edge: var(--navy); background: #fff; color: var(--navy); border-color: var(--navy); box-shadow: 0 7px 0 var(--navy), 0 18px 20px -6px rgba(20,33,61,0.3); }
.btn-ghost .arr { background: var(--navy); color: #fff; box-shadow: none; }
.btn-line.shine::before { content: ""; position: absolute; left: -30%; top: 0; width: 22%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent); transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 55% { left: -30%; } 100% { left: 130%; } }
.btns { display: flex; flex-wrap: wrap; gap: 20px 16px; margin-top: 28px; }
.center .btns { justify-content: center; }
@media (max-width: 559px) { .btns .btn { width: 100%; } .btn { font-size: 16px; padding: 0 64px 0 20px; } }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; text-decoration: none; border-bottom: 3px solid var(--red); line-height: 1.5; }
.more::after { content: ""; width: 9px; height: 9px; border-top: 3px solid var(--red); border-right: 3px solid var(--red); transform: rotate(45deg); }
.mail-note { margin-top: 18px; font-size: 16px; }
.mail-note a { font-weight: 900; }

/* チェックの一覧（こんなこと、ありませんか） */
.checks { list-style: none; padding: 6px clamp(14px, 3vw, 28px); background-color: #fff; background-image: linear-gradient(rgba(43,76,140,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(43,76,140,0.08) 1px, transparent 1px); background-size: 26px 26px; }
.checks li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 15px 0; border-bottom: 2px dashed var(--line); font-weight: 900; font-size: clamp(16px, 2.1vw, 19px); line-height: 1.55; }
.checks li:last-child { border-bottom: 0; }
.checks svg { width: 34px; height: 34px; }
.checks em { font-style: normal; color: var(--blue2); background: linear-gradient(transparent 60%, var(--yel) 60%); }

/* 番号つきの手順 */
.steps { list-style: none; display: grid; gap: 24px; }
.steps li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 16px 14px 0; }
.steps .n { margin-left: -10px; width: 66px; height: 66px; display: grid; place-items: center; padding-bottom: .08em; background: var(--g-blue); color: #fff; font-family: var(--serif); font-weight: 900; font-size: 42px; line-height: 1; transform: rotate(-4deg);
            box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6), inset 0 0 0 4px #2B55AE, 0 5px 0 rgba(10,18,36,0.45); }
.steps li:last-child .n { background: var(--g-red); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6), inset 0 0 0 4px var(--red-d), 0 5px 0 rgba(10,18,36,0.45); }
.steps b { display: block; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.45; font-weight: 900; }
.steps span { display: block; font-size: 16px; color: var(--mute); line-height: 1.6; margin-top: 3px; }
.steps li + li::before { content: ""; position: absolute; left: 14px; top: -19px; width: 16px; height: 16px; border-right: 5px solid var(--blue2); border-bottom: 5px solid var(--blue2); transform: rotate(45deg) scale(.8); opacity: .55; }

/* 数字で見せる変化 */
.changes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px 18px; margin-top: 62px; }
@media (min-width: 900px) { .changes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.changes li { position: relative; padding: 0 12px; display: grid; grid-template-rows: auto auto 1fr auto; }
.changes .n { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(76px, 20vw, 104px); color: var(--red); line-height: 1; white-space: nowrap; margin: -.36em 0 8px -4px; }
.changes .n i { font-style: normal; paint-order: stroke fill; -webkit-text-stroke: .1em #fff; filter: drop-shadow(0 .05em 0 var(--navy)); }
.changes .n small { font-family: var(--gothic); font-size: .22em; margin-left: 10px; color: var(--navy); }
.changes .txt { font-weight: 900; font-size: clamp(15px, 3.9vw, 18px); line-height: 1.5; padding-bottom: 10px; }
.changes .say { font-size: 15px; color: var(--mute); line-height: 1.6; padding: 10px 0 12px; border-top: 2px dashed var(--line); }
.changes .who { margin: 0 -12px; background: var(--navy); color: #fff; font-size: 14px; line-height: 1.4; padding: 8px 12px; min-height: 3.6em; display: grid; align-items: center; }

/* LINEの画面の見本・届く1枚 */
.phone { background: #8CABD8; border-radius: 26px; padding: 18px 15px 22px; display: grid; gap: 12px; border: 7px solid var(--navy); box-shadow: 10px 12px 0 var(--blue2), 0 30px 40px -10px rgba(20,33,61,0.3); }
.phone .cap { font-size: 13.5px; color: #fff; font-weight: 900; text-align: center; line-height: 1.4; }
.msg { max-width: 86%; padding: 9px 13px; border-radius: 16px; background: #fff; color: #111; font-size: 16px; line-height: 1.65; font-weight: 500; justify-self: start; }
.msg.me { justify-self: end; background: #9DE693; }
.paper1 { position: relative; background: #FFFDF8; border: 3px solid var(--navy); padding: 30px 20px 20px; transform: rotate(5deg); box-shadow: 8px 9px 0 var(--gold), 0 30px 40px -10px rgba(20,33,61,0.35); }
.paper1 .pin { position: absolute; top: -15px; left: 50%; margin-left: -32px; width: 64px; height: 24px; background: rgba(201,67,43,0.92); transform: rotate(-3deg); }
.paper1 .t { font-family: var(--serif); font-weight: 900; font-size: 20px; white-space: nowrap; line-height: 1.4; }
.paper1 .rule { height: 3px; width: 50px; background: var(--red); margin-top: 6px; }
.paper1 .k { font-size: 14px; font-weight: 900; color: var(--red); margin-top: 12px; line-height: 1.3; }
.paper1 .l { height: 8px; border-radius: 9px; background: var(--grey); margin-top: 7px; }
.paper1 .from { margin-top: 16px; padding-top: 8px; border-top: 2px dashed #C9D3E2; font-size: 14px; color: #5A6477; }

/* 顔と吹き出し */
.leadbox { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 30px); align-items: center; }
.leadbox img { width: clamp(76px, 14vw, 120px); height: clamp(76px, 14vw, 120px); border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--navy), 7px 8px 0 7px var(--blue2); }
.leadbox .say { position: relative; padding: clamp(14px, 2.4vw, 22px) clamp(14px, 2.6vw, 26px); font-weight: 900; font-size: clamp(15px, 2.1vw, 19px); line-height: 1.65; }
.leadbox .say::before { content: ""; position: absolute; left: -17px; top: 50%; margin-top: -11px; border: 11px solid transparent; border-left: 0; border-right: 15px solid var(--navy); }
.leadbox .say b { display: block; font-family: var(--serif); font-weight: 900; font-size: 1.7em; line-height: 1.3; margin-top: 2px; }

/* よくある質問 */
.faq { display: grid; gap: 16px; margin-top: 30px; }
.faq details { background: #fff; border: 3px solid var(--navy); box-shadow: 5px 6px 0 var(--sky); }
.bg-sky .faq details { box-shadow: 5px 6px 0 var(--blue2); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 16px; font-weight: 900; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 700; font-size: 32px; color: var(--red); line-height: 1; }
.faq summary::after { content: ""; width: 11px; height: 11px; margin: -6px 6px 0; border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq details p { padding: 0 18px 16px 48px; font-size: 16.5px; color: var(--mute); }
.faq details a { color: var(--blue2); font-weight: 900; }

/* ページの最後の案内 */
.final { padding-bottom: clamp(56px, 8vw, 88px); overflow: hidden; }
.final-top { display: grid; grid-template-columns: minmax(0, 1fr) clamp(118px, 30vw, 300px); gap: 8px; align-items: end; }
.final-top h2 { font-size: clamp(27px, 6.6vw, 54px); line-height: 1.35; margin-top: 10px; padding-bottom: clamp(20px, 4vw, 44px); text-shadow: 0 4px 0 rgba(0,0,0,0.3); }
.final-top h2 em { font-style: normal; color: var(--yel); }
.final-top img { width: 100%; margin-right: -8px; filter: drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 -4px 0 #fff); aspect-ratio: 681 / 760; object-fit: cover; object-position: 50% 0; }
.final-act { padding: clamp(20px, 3.4vw, 34px) clamp(18px, 3.4vw, 40px) clamp(26px, 3.8vw, 40px); display: grid; gap: 4px 32px; align-items: center; }
.final-act p { font-size: clamp(16px, 2vw, 19px); font-weight: 900; }
.final-act .btns { margin-top: 18px; }
.final-act .mail-note { margin-top: 14px; grid-column: 1 / -1; }
@media (min-width: 860px) { .final-act { grid-template-columns: minmax(0, 1fr) auto; } .final-act .btns { margin-top: 0; } }

/* 下の階のページ共通：最初の画面 */
.phero { background: linear-gradient(180deg, #B4D4F5 0%, #DCEBFB 60%, #EAF3FC 100%); overflow: hidden; padding-block: clamp(30px, 4vw, 48px) clamp(40px, 5vw, 60px); }
.phero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px); background-size: 26px 26px; }
.phero .swirl { position: absolute; right: -14vw; top: -8vw; width: clamp(360px, 62vw, 760px); opacity: .55; animation: turn 80s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.brandline { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: clamp(13px, 1.8vw, 16px); letter-spacing: .16em; line-height: 1.3; }
.brandline .en { font-size: 1.5em; letter-spacing: .02em; padding-right: 12px; border-right: 1.5px solid currentColor; }
.ribbon { display: inline-block; background: var(--g-navy); color: #fff; padding: 7px 22px 9px; transform: rotate(-2.4deg); box-shadow: 0 6px 0 rgba(20,33,61,0.25); font-size: clamp(14px, 1.9vw, 17px); line-height: 1.5; font-weight: 900; }
.ribbon b { font-family: var(--serif); font-weight: 900; font-size: 1.4em; color: var(--yel); margin-left: .3em; }
.phero h1 { margin-top: clamp(16px, 2.6vw, 28px); font-size: clamp(36px, 9.4vw, 76px); line-height: 1.22; paint-order: stroke fill; -webkit-text-stroke: .16em #fff; }
.phero h1 small { display: block; font-size: .5em; line-height: 1.5; }
.phero .lede { font-size: clamp(16px, 2vw, 19px); font-weight: 900; }
.spec { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 20px; }
.spec li { background: #fff; border: 3px solid var(--navy); box-shadow: 4px 4px 0 var(--blue2); padding: 2px 14px; font-weight: 900; font-size: 16px; line-height: 1.6; }
.spec li.hot { background: var(--g-red); color: #fff; border-color: var(--red-d); box-shadow: 4px 4px 0 var(--navy); }

/* 料金の札（切符） */
.ticket { position: relative; }
.ticket .head { background: var(--g-navy); color: #fff; padding: 16px clamp(16px, 3vw, 28px) 20px; position: relative; }
.ticket .head small { display: block; font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500; font-size: 22px; color: var(--yel); line-height: 1.2; }
.ticket .head b { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(24px, 5.4vw, 38px); line-height: 1.35; }
.ticket .body { padding: 18px clamp(16px, 3vw, 28px) 24px; }
.fee small { display: block; font-size: 16px; font-weight: 900; line-height: 1.5; }
.fee b { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(50px, 12vw, 76px); line-height: 1.15; white-space: nowrap; }
.fee b i { font-family: var(--gothic); font-style: normal; font-size: .27em; margin-left: 4px; }
.ticket .cut { border-top: 3px dashed var(--line); margin: 16px calc(clamp(16px, 3vw, 28px) * -1) 18px; }
.deflist { display: grid; gap: 12px; }
.deflist > div { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); gap: 12px; align-items: start; }
.deflist dt { font-weight: 900; color: #fff; background: var(--blue); text-align: center; font-size: 15px; padding: 1px 0; }
.deflist dd { font-weight: 900; font-size: 16px; line-height: 1.55; }
.deflist dd small { display: block; font-size: 15px; color: var(--mute); margin-top: 2px; }

/* 金のふちの数字の札（経歴など） */
.career { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; max-width: 560px; }
.career li { background: #fff; color: var(--navy); padding: 12px 2px; min-height: 112px; text-align: center; font-size: clamp(12px, 3.3vw, 15px); font-weight: 900; line-height: 1.4; box-shadow: 0 0 0 3px var(--gold), 5px 6px 0 3px rgba(0,0,0,0.4); display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.career li b { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(42px, 11vw, 56px); line-height: 1.1; color: var(--blue); white-space: nowrap; }
.career li b.s { font-family: var(--gothic); font-size: clamp(15px, 4.2vw, 20px); letter-spacing: -.04em; line-height: 1.5; } .career li b small { font-size: .5em; }
.career.on-light li { box-shadow: 0 0 0 3px var(--navy), 5px 6px 0 3px var(--blue2); }

/* 絵つきのカードの並び */
.icards { list-style: none; display: grid; gap: 44px 24px; margin-top: 46px; }
@media (min-width: 760px) { .icards { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.icard { position: relative; padding: 28px clamp(16px, 2.2vw, 24px) 22px; }
.icard > .ill { position: absolute; right: 12px; top: -28px; width: 76px; height: 76px; }
.icard h3 { font-size: clamp(18px, 2.3vw, 21px); padding-right: 84px; line-height: 1.45; min-height: 2.9em; display: flex; align-items: center; }
.icard p { margin-top: 8px; font-size: 16.5px; color: var(--mute); line-height: 1.75; }
.icard .no { position: absolute; left: -10px; top: -24px; width: 52px; height: 52px; display: grid; place-items: center; padding-bottom: .08em; background: var(--g-blue); color: #fff; font-family: var(--serif); font-weight: 900; font-size: 32px; line-height: 1; transform: rotate(-4deg);
             box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6), inset 0 0 0 4px #2B55AE, 0 5px 0 rgba(10,18,36,0.45); }
.icard .no ~ h3 { padding: 24px 0 0; min-height: 0; }
@media (max-width: 759px) { .icard h3 { min-height: 0; } }

/* 大きな引用（角のかぎ） */
.said { position: relative; display: block; width: fit-content; max-width: 100%; padding: 14px 18px 18px 16px; font-family: var(--serif); font-weight: 900; font-size: clamp(25px, 6.4vw, 44px); line-height: 1.4; }
.said em { font-style: normal; color: var(--yel); }
.said::before, .said::after { content: ""; position: absolute; width: clamp(34px, 6vw, 52px); height: clamp(34px, 6vw, 52px); border: 6px solid var(--red); }
.said::before { left: -4px; top: -6px; border-right: 0; border-bottom: 0; }
.said::after { right: -4px; bottom: -4px; border-left: 0; border-top: 0; }
.said.gold::before, .said.gold::after { border-color: var(--gold); }

/* 下の階のページの最初の画面：左に文字、右に絵 */
.phero-art { position: relative; margin-inline: auto; width: min(78%, 360px); }
.phero-art > svg, .phero-art > img { width: 100%; height: auto; }
.phero-txt { position: relative; z-index: 2; }
@media (min-width: 860px) { .phero .in:not(.plain) { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 40px; } .phero-art { width: 100%; max-width: 460px; grid-column: 2; grid-row: 1; } .phero-txt { grid-column: 1; grid-row: 1; } }
.phero .btns { margin-top: 26px; }

/* 写真の額（白いふち＋金の影）。主役の絵は、線画ではなく写真で見せる */
.ph { display: block; width: 100%; height: auto; object-fit: cover; border: 5px solid #fff; transform: rotate(2deg); box-shadow: 9px 10px 0 var(--gold), 0 20px 34px rgba(20,33,61,0.3); }

/* 次の一手相談への入口（帯） */
.tsugi-in { display: grid; gap: 22px; align-items: center; padding: clamp(20px, 3.4vw, 34px) clamp(18px, 3.4vw, 40px) clamp(26px, 3.8vw, 38px); }
.tsugi-in .t small { display: block; font-weight: 900; font-size: 16px; color: var(--blue); line-height: 1.5; }
.tsugi-in .t b { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(25px, 5.6vw, 38px); line-height: 1.35; }
.tsugi-in .t p { margin-top: 8px; font-size: 16.5px; line-height: 1.7; }
.tsugi-in .fee b { font-size: clamp(44px, 10vw, 60px); color: var(--red); }
.tsugi-in .btns { margin-top: 12px; }
@media (min-width: 860px) { .tsugi-in { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; } }

/* 文書のページ（プライバシーポリシー・特商法）。長く読むので、本文は細めの字 */
.doc-head { background: var(--g-navy); color: #fff; padding-block: clamp(34px, 5vw, 56px) clamp(40px, 6vw, 64px); overflow: hidden; }
.doc-head::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 13px); }
.doc-head .en { display: block; font-size: 24px; color: var(--yel); line-height: 1.2; }
.doc-head h1 { font-size: clamp(26px, 6vw, 42px); margin-top: 6px; }
.doc-head .ill { position: absolute; right: 0; top: 50%; width: clamp(70px, 14vw, 120px); height: clamp(70px, 14vw, 120px); margin-top: clamp(-60px, -7vw, -35px); opacity: .9; }
.doc { margin-top: clamp(-28px, -3vw, -18px); margin-bottom: clamp(48px, 7vw, 80px); padding: clamp(22px, 4vw, 48px) clamp(18px, 4vw, 52px) clamp(28px, 4vw, 52px); font-weight: 500; font-size: 16px; line-height: 1.9; z-index: 2; }
.doc h2 { font-family: var(--gothic); font-weight: 900; font-size: 18px; line-height: 1.5; margin: 34px 0 10px; padding: 2px 0 2px 12px; border-left: 6px solid var(--blue2); }
.doc p + p { margin-top: 1em; }
.doc ul { padding-left: 1.4em; }
.doc li + li { margin-top: 4px; }
.law > div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 2px dashed var(--line); }
.law > div:first-child { padding-top: 0; }
@media (min-width: 640px) { .law > div { grid-template-columns: 11em minmax(0, 1fr); gap: 18px; } }
.law dt { font-weight: 900; color: var(--blue); font-size: 16px; }
.law dd { font-size: 16px; }
.doc .back { margin-top: 40px; font-weight: 900; }
.doc .back a { color: var(--blue2); }

/* パソコンでLINEを押したときのQRコード（site.js が作る） */
.qr-dialog { border: 3px solid var(--navy); padding: 28px 28px 22px; max-width: 380px; width: calc(100% - 32px); margin: auto; text-align: center; color: var(--navy); background: #fff; box-shadow: 10px 12px 0 var(--blue2), 0 24px 60px -20px rgba(20,33,61,0.5); }
.qr-dialog::backdrop { background: rgba(20,33,61,0.6); }
.qr-dialog img { margin: 14px auto 6px; width: 220px; height: 220px; }
.qr-title { font-weight: 900; font-size: 18px; }
.qr-msg { font-size: 16px; margin-top: 8px; }
.qr-sub { font-size: 15px; color: var(--mute); margin-top: 8px; font-weight: 500; }
.qr-sub a { color: var(--blue2); font-weight: 900; }
.qr-close { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--mute); }

/* フッター */
.site-footer { padding-block: 40px 48px; background: #0B1224; color: #fff; border-top: 4px solid var(--gold); position: relative; }
.site-footer .in { display: grid; gap: 18px; }
.site-footer .brand { font-size: 30px; line-height: 1.2; }
.site-footer .brand b { font-weight: 700; color: var(--yel); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; }
.site-footer nav a { text-decoration: none; opacity: .9; }
.site-footer nav a:hover { color: var(--yel); }
.site-footer small { color: #C9D3E2; font-weight: 500; }

/* 少しずつ現れる（JSが動くときだけ隠す） */
.js .reveal { opacity: 0; translate: 0 14px; transition: opacity .6s ease, translate .6s ease; }
.js .reveal.in-view { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } .js .reveal { opacity: 1; translate: 0 0; } .btn-line.shine::before, .phero .swirl, .spin { animation: none !important; } }

/* よくある質問：パソコンでは、左に見出しと絵、右に質問（左右の空きをなくす） */
.faq-grid { display: grid; gap: 8px; }
.faq-grid .faq-side .ill { width: clamp(120px, 30vw, 210px); height: auto; aspect-ratio: 170 / 120; margin-top: 18px; }
@media (max-width: 899px) { .faq-grid .faq-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; } .faq-grid .faq-side .btns { display: none; } }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; } .faq-grid .faq { margin-top: 0; } .faq-grid .faq-side { position: sticky; top: 90px; } }

/* パソコンでは、見出しを1行に（右側の空きをなくす）。入らないときは、文節でそろえて折り返す */
@media (min-width: 900px) { .ttl br:not(.keep) { display: none; } }

/* ページの最後の案内：写真が、上の段にはみ出す（少しだけ大きく見せる） */
.final { overflow: visible; }
.final.join-slant-l, .final.join-tri { padding-top: clamp(64px, 7vw, 92px); }
.final-top { grid-template-columns: minmax(0, 1fr) clamp(130px, 33vw, 360px); }
.final-top img { position: relative; z-index: 6; aspect-ratio: 681 / 880; margin-top: clamp(-150px, -11vw, -56px); }
.final-act p:not(.mail-note) { font-family: var(--serif); font-size: clamp(18px, 2.3vw, 26px); line-height: 1.6; }

/* スマホのメニュー（v2.js が足す） */
.menu-btn, .sp-menu { display: none; }
@media (max-width: 759px) {
  .site-header .in { gap: 10px; }
  .site-header .nav { margin-left: auto; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 10px; background: #fff; color: var(--navy); border: 3px solid var(--navy); box-shadow: 3px 3px 0 var(--blue2); font: 900 14px/1 var(--gothic); cursor: pointer; }
  .menu-btn span { position: relative; width: 18px; height: 3px; background: var(--navy); box-shadow: 0 -6px 0 var(--navy), 0 6px 0 var(--navy); }
  .menu-btn.on { background: var(--navy); color: #fff; }
  .menu-btn.on span { background: #fff; box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff; }
  .sp-menu:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); border-top: 3px solid var(--gold); padding: 6px var(--gut) 14px; max-height: calc(100vh - 64px); overflow: auto; }
  .sp-menu a { color: #fff; text-decoration: none; font-weight: 900; font-size: 16px; line-height: 1.4; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,0.2); }
}
