/* 109 ノロシ・マーケティング — K06 左固定・右だけ流れる（カッコイイ系・LP型）。GSAP は使わない。
   PC（1080px以上）は左（メインビジュアル・名前・申し込み）を固定、右だけ流れる。スマホは左が上に来る1列。
   色と書体は共通の13変数だけ。明るい区間は .s-paper が同じ名前の変数を全部上書きする */
:root {
  --c-bg: #121212;
  --c-bg-alt: #1d1d1d;
  --c-text: #f4efe6;
  --c-sub: #bfb8ad;
  --c-line: #4a4640;
  --c-accent: #ff7a1a;
  --c-accent-text: #ff7a1a;
  --c-on-accent: #121212;
  --c-2: #ffd23f;
  --c-3: #ff7a1a;
  --font-ja: "LINE Seed JP", sans-serif;
  --font-head: "LINE Seed JP", sans-serif;
  --font-en: "Sora", "LINE Seed JP", sans-serif;
  --header-h: 60px;
  --ease: cubic-bezier(.7, 0, .2, 1);
}
.s-paper { --c-bg: #fff8ec; --c-bg-alt: #ffffff; --c-text: #374151; --c-sub: #4b5563; --c-line: #cdbd9f; --c-accent: #ff7a1a; --c-accent-text: #a84a00; --c-on-accent: #121212; --c-2: #ffd23f; --c-3: #a84a00; }
.s-paper--alt { --c-bg: #ffffff; --c-bg-alt: #fff8ec; }
.header, .dock { --c-bg: #121212; --c-text: #f4efe6; --c-line: #4a4640; --c-accent: #ff7a1a; --c-on-accent: #121212; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--font-ja); font-size: 16px; line-height: 1.9; overflow-x: hidden; padding-bottom: 76px; }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dd, li, summary, blockquote { word-break: auto-phrase; overflow-wrap: anywhere; }
h1, h2, h3, p, dl, dd, ol, ul, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* ===== ヘッダー（LP型：ロゴと申し込みだけ） ===== */
.header { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--header-h); background: var(--c-bg); color: var(--c-text); border-bottom: 1px solid var(--c-line); }
.header__inner { height: 100%; padding: 0 20px; display: flex; align-items: center; gap: 12px; justify-content: space-between; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; white-space: nowrap; flex: none; }
.logo__mark { width: 12px; height: 26px; background: var(--c-accent); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.logo__txt { font-weight: 800; font-size: 16px; letter-spacing: .02em; }
.logo__sub { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; background: var(--c-accent); color: var(--c-on-accent); font-family: var(--font-ja); font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap; flex: none; border: 0; border-radius: 0; cursor: pointer; }
.btn--lg { min-height: 56px; padding: 0 32px; }

.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 24px; height: 3px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -8px; } .spmenu__bar::after { top: 8px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; right: 0; top: 100%; width: min(100%, 380px); background: var(--c-bg); border: 1px solid var(--c-line); padding: 8px 24px 20px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--c-line); }

.dock { position: fixed; inset: auto 0 0 0; z-index: 35; padding: 10px 20px; background: var(--c-bg); border-top: 1px solid var(--c-line); }
.dock .btn { width: 100%; }

/* ===== 左（スマホ：先頭のブロック） ===== */
.split { padding-top: var(--header-h); }
.left { position: relative; min-height: calc(100svh - var(--header-h) - 76px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--c-bg); color: var(--c-text); }
.left__photo { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.left__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--c-bg) 10%, transparent) 0%, color-mix(in srgb, var(--c-bg) 60%, transparent) 55%, var(--c-bg) 100%); }
.left__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.left__body { position: relative; z-index: 2; padding: 28px 20px 32px; }
.left__body > * + * { margin-top: 16px; }
.en { font-family: var(--font-en); font-weight: 800; font-size: 15px; letter-spacing: .18em; color: var(--c-accent-text); line-height: 1.4; }
.left__title { font-weight: 800; font-size: clamp(32px, 8.8vw, 60px); white-space: nowrap; line-height: 1.25; letter-spacing: -.01em; }
.left__title span { display: block; color: var(--c-accent-text); }
.left__lead { color: var(--c-text); }

/* ===== 右 ===== */
.sec { background: var(--c-bg); color: var(--c-text); padding: 56px 20px; }
.sec--alt { background: var(--c-bg-alt); }
.sec > * + * { margin-top: 20px; }
.sec > .en + .h2 { margin-top: 10px; }
.h2 { font-weight: 800; font-size: clamp(30px, 8vw, 44px); line-height: 1.3; }
.note { font-size: 15px; color: var(--c-sub); }
.num { font-family: var(--font-en); font-weight: 800; font-size: 34px; line-height: 1; color: var(--c-accent-text); flex: none; min-width: 1.7em; }
.wide { margin: 0 -20px; }
.wide img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

.worry li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 2px solid var(--c-line); font-weight: 700; line-height: 1.6; }
.worry li:first-child { border-top: 2px solid var(--c-line); }

/* B02：1枚ずつ重なって切り替わる */
.steps { padding-bottom: 8px; }
.step { position: sticky; top: calc(var(--header-h) + 12px); min-height: 220px; padding: 22px 22px 26px; background: var(--c-bg-alt); border: 2px solid var(--c-line); border-top: 6px solid var(--c-accent); display: flex; flex-direction: column; justify-content: center; margin-bottom: 18px; }
.step:nth-child(2) { top: calc(var(--header-h) + 26px); }
.step:nth-child(3) { top: calc(var(--header-h) + 40px); }
.step:nth-child(4) { top: calc(var(--header-h) + 54px); }
.step:nth-child(5) { top: calc(var(--header-h) + 68px); }
.step--o { background: var(--c-accent); border-color: var(--c-accent); border-top-color: var(--c-2); color: var(--c-on-accent); --c-sub: var(--c-on-accent); --c-accent-text: var(--c-on-accent); }
.step__no { font-family: var(--font-en); font-weight: 800; font-size: 22px; letter-spacing: .08em; color: var(--c-accent-text); line-height: 1; }
.step h3 { font-weight: 800; font-size: 38px; line-height: 1.3; margin-top: 8px; }
.step p:last-child { color: var(--c-sub); margin-top: 6px; }
.step--o p:last-child { color: var(--c-on-accent); }

.feat li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 2px solid var(--c-line); }
.feat li:first-child { border-top: 2px solid var(--c-line); }
.big { font-family: var(--font-en); font-weight: 800; font-size: 56px; line-height: .9; color: var(--c-2); flex: none; min-width: 1.5em; }
.feat h3 { font-weight: 800; font-size: 20px; line-height: 1.4; }
.feat p { color: var(--c-sub); }

/* 事例（Swiper。JSなしは横に指で送れる並び） */
.cases { overflow: hidden; margin: 0 -20px; padding: 0 20px; }
.cases:not(.swiper-initialized) .swiper-wrapper { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; gap: 14px; padding-bottom: 12px; }
.cases:not(.swiper-initialized) .swiper-slide { flex: 0 0 82%; scroll-snap-align: start; }
.case { height: auto; background: var(--c-bg-alt); border: 2px solid var(--c-line); }
.case img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.case > div { padding: 16px 18px 20px; }
.case__tag { font-family: var(--font-ja); font-weight: 800; font-size: 15px; color: var(--c-accent-text); }
.case h3 { font-weight: 800; font-size: 19px; line-height: 1.5; margin: 2px 0 6px; }
.case p:last-child { color: var(--c-sub); font-size: 15px; line-height: 1.7; }
.cases__ctl { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-top: 14px; }
.cases__btn { width: 48px; height: 48px; border: 2px solid var(--c-line); background: transparent; color: var(--c-text); font-size: 20px; cursor: pointer; border-radius: 0; flex: none; }
.cases__stop { margin-left: auto; min-height: 44px; padding: 0 14px; background: transparent; border: 2px solid var(--c-line); color: var(--c-text); font-family: var(--font-ja); font-weight: 700; font-size: 15px; cursor: pointer; border-radius: 0; }
.cases .swiper-pagination { position: static; width: auto; display: flex; flex: 0 1 auto; }
.cases .swiper-pagination-bullet { width: 44px; height: 44px; margin: 0 !important; background: transparent; opacity: 1; position: relative; border-radius: 0; }
.cases .swiper-pagination-bullet::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; background: var(--c-line); }
.cases .swiper-pagination-bullet-active::after { background: var(--c-accent); }
.cases__btn:focus-visible, .cases__stop:focus-visible, .swiper-pagination-bullet:focus-visible { outline: 3px solid var(--c-2); outline-offset: 2px; }

.voice { padding: 20px 22px; background: var(--c-bg); border-left: 6px solid var(--c-accent); }
.voice + .voice { margin-top: 14px; }
.voice blockquote { font-weight: 700; font-size: 18px; line-height: 1.8; }
.voice figcaption { margin-top: 8px; font-size: 15px; color: var(--c-sub); }

.price { display: grid; gap: 12px; }
.price li { padding: 20px 22px; background: var(--c-bg-alt); border: 2px solid var(--c-line); }
.price--main { border-color: var(--c-accent) !important; border-width: 4px !important; }
.price h3 { font-weight: 800; font-size: 20px; }
.yen { font-family: var(--font-en); font-weight: 800; font-size: 26px; line-height: 1.4; color: var(--c-accent-text); }
.price li p:last-child { color: var(--c-sub); font-size: 15px; }

.faq details { border-bottom: 2px solid var(--c-line); }
.faq details:first-child { border-top: 2px solid var(--c-line); }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 800; padding: 8px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; font-family: var(--font-en); color: var(--c-accent-text); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 14px; color: var(--c-sub); }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-weight: 700; }
.form input, .form textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-weight: 400; color: var(--c-text); background: var(--c-bg-alt); border: 2px solid var(--c-line); border-radius: 0; }
.form .btn { width: 100%; }
.fake { font-size: 15px; color: var(--c-sub); }

/* ===== メインビジュアル：丸窓が開き、そのあとゆっくり流れる（CSSだけ・動きの主役） ===== */
@media (prefers-reduced-motion: no-preference) {
  .left__photo { animation: win 1.4s var(--ease) both; }
  .left__photo img { animation: drift 30s ease-in-out 1.2s infinite alternate; }
}
@keyframes win { from { clip-path: circle(10% at 50% 40%); } to { clip-path: circle(150% at 50% 40%); } }
@keyframes drift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.2) translateX(-5%); } }

@media (min-width: 768px) {
  .logo__sub { display: inline; }
  .sec { padding-left: 40px; padding-right: 40px; }
  .wide { margin: 0 -40px; }
  .cases { margin: 0 -40px; padding: 0 40px; }
  .left__body { padding: 40px; }
}
@media (min-width: 1080px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .header__inner { padding: 0 32px; }
  .split { display: grid; grid-template-columns: minmax(420px, 42%) minmax(0, 1fr); }
  .left { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); min-height: 0; align-self: start; }
  .left__body { padding: 48px 44px 52px; }
  .left__title { font-size: clamp(34px, 3.3vw, 52px); }
  .sec { padding: 88px 56px; }
  .sec > * { max-width: 760px; }
  .wide { margin: 0; max-width: 760px; }
  .cases { margin: 0; padding: 0; max-width: 760px; }
  .cases:not(.swiper-initialized) .swiper-wrapper { scroll-padding-inline: 0; }
  .step { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
