/*
Theme Name: 灯台ジム TODAI GYM
Description: 架空のパーソナルジムの見本（2026-11-14）。白・うすい灰・濃紺・黄緑。とても太いゴシック。区切りは右上がりの斜め、写真は四隅を斜めに切った四角。
Version: 1.0
*/

:root {
	--white:  #FFFFFF;
	--gray:   #F3F5F7;
	--navy:   #14213D;
	--lime:   #A4D63A;
	--mute:   #4A556B;   /* 小さい文字（白の上でコントラストを保つ） */
	--line:   #D5DAE1;
	--sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
	--gut: max(18px, 4vw);
	--cut: clamp(14px, 2.4vw, 28px);
	--slant: clamp(22px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 1.9; letter-spacing: .03em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sans); font-weight: 900; line-height: 1.35; margin: 0; color: var(--navy); text-wrap: balance; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.nw { display: inline-block; }
.eyebrow { font-weight: 900; font-size: 13px; letter-spacing: .24em; color: var(--mute); margin: 0 0 4px; }

/* 写真：四隅を斜めに切った四角 */
.cut { margin: 0; overflow: hidden; background: var(--gray);
	clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.cut img { width: 100%; height: 100%; object-fit: cover; }

/* 見出し（黄緑の斜線つき） */
.sh { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: .04em; margin-bottom: 30px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.sh::before { content: ""; align-self: center; width: .42em; height: 1.05em; background: var(--lime); transform: skewX(-20deg); }
.sh small { font-size: 13px; font-weight: 900; letter-spacing: .24em; color: var(--mute); }

/* 見本の帯 */
.mihon-bar { margin: 0; padding: 6px var(--gut); background: var(--navy); color: #E4E9F2; font-size: 12px; font-weight: 500; text-align: center; letter-spacing: .04em; }

/* ボタン（角の四角） */
.btn { display: inline-block; font-family: var(--sans); font-weight: 900; font-size: 16px; letter-spacing: .08em; text-decoration: none; text-align: center; padding: .75em 2em; border: 2px solid var(--navy); border-radius: 0; cursor: pointer; transition: background .15s, color .15s; }
.btn--main { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.btn--main:hover { background: var(--navy); border-color: var(--navy); color: var(--lime); }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }
.btn--lg { font-size: clamp(20px, 2.6vw, 34px); padding: .62em 1.8em; }
.more { margin: 36px 0 0; text-align: center; }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px var(--gut); background: var(--white); border-bottom: 1px solid var(--line); }
.hd__logo { font-weight: 900; font-size: 27px; letter-spacing: .01em; text-decoration: none; white-space: nowrap; line-height: 1.2; }
.hd__logo span { margin-left: .15em; }
.hd__nav { margin-left: auto; display: flex; gap: clamp(14px, 2.4vw, 34px); }
.hd__nav a { font-weight: 900; font-size: 15px; text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.hd__nav a:hover { border-bottom-color: var(--lime); }
.hd__btn { padding: .55em 1.4em; font-size: 15px; }
.hd__burger { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.hd__burger span { display: block; height: 4px; background: var(--navy); margin: 5px 0; }

/* トップの一番上：縦長の写真3枚 → 斜めの帯 → 右下にボタン */
.hero { position: relative; overflow: hidden; height: clamp(460px, 48vw, 700px); background: var(--white); }
.hero__pics { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.hero__pics figure { margin: 0; overflow: hidden; background: var(--gray); }
.hero__pics img { width: 100%; height: 100%; object-fit: cover; }
.hero__band { position: absolute; left: -10%; width: 120%; top: 48%; transform: rotate(-7deg); transform-origin: 50% 50%; background: var(--navy); padding: clamp(12px, 2vw, 28px) 0; }
.hero__h { color: var(--white); font-size: clamp(40px, 6.3vw, 92px); letter-spacing: .02em; white-space: nowrap; padding-left: 12%; line-height: 1.25; }
.hero__cta { position: absolute; right: var(--gut); bottom: 5%; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hero__tag { margin: 0; background: var(--white); color: var(--navy); font-weight: 900; font-size: clamp(14px, 1.8vw, 24px); padding: .25em 1.6em .25em 2em; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }

/* 数字の段（濃紺・斜めの区切り） */
.nums { background: var(--navy); color: var(--white); padding: calc(var(--slant) + 44px) 0 calc(var(--slant) + 40px); margin-top: calc(var(--slant) * -.5); clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); }
.nums__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.num-item { text-align: center; padding: 0 12px; border-left: 2px solid rgba(255,255,255,.35); }
.num-item:first-child { border-left: 0; }
.num-item__n { display: block; font-weight: 900; font-size: clamp(44px, 7.4vw, 96px); line-height: 1.1; letter-spacing: 0; white-space: nowrap; }
.num-item__n small { font-size: .5em; margin-left: .04em; }
.num-item__c { display: block; font-weight: 900; font-size: clamp(14px, 1.7vw, 20px); margin-top: 4px; }

/* 段 */
.sec { padding: 72px 0; }
.sec--gray { background: var(--gray); }
.sec--slant { clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--slant) + 56px); margin-top: calc(var(--slant) * -1); }

/* 料金カード */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; margin: 12px 0; }
.plan { position: relative; background: var(--gray); text-align: center; padding: 34px 16px 28px; }
.plan--main { background: var(--navy); color: var(--white); }
.plan__tag { position: absolute; left: 50%; top: -16px; transform: translateX(-50%); background: var(--lime); color: var(--navy); font-weight: 900; font-size: 15px; padding: 2px 22px; white-space: nowrap; }
.plan__n { font-weight: 900; font-size: clamp(20px, 2.4vw, 28px); margin: 0; }
.plan__p { margin: 4px 0 6px; }
.yen { font-weight: 900; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.2; letter-spacing: 0; white-space: nowrap; }
.yen small { font-size: .45em; margin-left: .06em; }
.plan__s { margin: 0; font-size: 14px; font-weight: 700; color: var(--mute); line-height: 1.7; }
.plan--main .plan__s { color: #D5DBE8; }

/* トレーナー */
.trainer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.trainer__img { aspect-ratio: 4 / 3; }
.trainer__name { font-size: clamp(32px, 4.4vw, 52px); display: flex; align-items: center; gap: .35em; }
.trainer__name::before { content: ""; width: .3em; height: 1em; background: var(--lime); transform: skewX(-20deg); }
.trainer__say { font-weight: 900; font-size: clamp(18px, 2.2vw, 26px); margin: 10px 0 14px; }

/* やり方3つ */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.way figure { aspect-ratio: 4 / 3; margin-bottom: 14px; }
.way h3 { font-size: 21px; margin-bottom: 6px; }
.way h3 b { display: inline-block; font-size: 1.4em; color: var(--navy); background: linear-gradient(transparent 62%, var(--lime) 62%); margin-right: .4em; letter-spacing: 0; }
.way p { margin: 0; font-size: 15px; }

/* 体験の流れ（階段） */
.flow { display: grid; gap: 22px; margin: 14px 0; }
.flow li { position: relative; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; width: min(44%, 440px); margin-left: calc(var(--i) * 18%); background: var(--white); border-left: 6px solid var(--lime); padding: 16px 22px; }
.sec--gray .flow li { background: var(--white); }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 100%; top: 100%; width: 46px; height: 4px; margin: -6px 0 0 -26px; background: var(--navy); transform: rotate(28deg); transform-origin: 0 50%; }
.flow__no { font-weight: 900; font-size: 36px; letter-spacing: 0; line-height: 1; }
.flow__t { font-weight: 900; font-size: 20px; }
.flow__d { flex-basis: 100%; font-size: 14px; font-weight: 500; line-height: 1.7; color: var(--mute); }

/* 最後の呼びかけ */
.lastcta { padding: 64px 0 72px; text-align: center; }
.lastcta__h { font-weight: 900; font-size: clamp(28px, 4.6vw, 52px); line-height: 1.3; margin: 0 0 6px; }
.lastcta__s { font-weight: 700; margin: 0 0 22px; }
.lastcta__tel { margin: 16px 0 0; font-size: 15px; }
.lastcta__tel a { font-weight: 900; font-size: 1.3em; text-decoration: none; }

/* フッター */
.ft { background: var(--navy); color: var(--white); padding: 40px 0 0; }
.ft__in { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.ft__logo { margin: 0; font-weight: 900; font-size: 26px; line-height: 1.3; }
.ft__info { border-left: 2px solid rgba(255,255,255,.35); border-right: 2px solid rgba(255,255,255,.35); padding: 0 26px; font-size: 14px; line-height: 1.8; }
.ft__info p { margin: 0; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 900; font-size: 14px; }
.ft__nav a { text-decoration: none; }
.ft__nav a:hover { color: var(--lime); }
.ft__copy { margin: 30px 0 0; padding: 14px var(--gut); text-align: center; font-size: 12px; font-weight: 500; background: rgba(0,0,0,.25); }

/* 画面下の固定の帯（スマホだけ） */
.spbar { display: none; }

/* 下層ページ */
.page-hero { background: var(--gray); padding: 44px 0 calc(var(--slant) + 28px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%); }
.page-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: center; }
.page-hero__h { font-size: clamp(32px, 4.8vw, 52px); letter-spacing: .03em; }
.page-hero__lead { margin: 14px 0 0; font-size: 17px; font-weight: 700; }
.page-hero__img { aspect-ratio: 4 / 3; width: 100%; }
.crumb { font-weight: 900; font-size: 13px; letter-spacing: .2em; color: var(--mute); margin: 0 0 8px; }
.crumb a { text-decoration: none; }
.crumb span { margin: 0 .8em; }
.entry { padding: 36px 0 56px; max-width: 880px; margin: 0 auto; }
.entry h2 { display: flex; align-items: center; gap: .5em; font-size: clamp(24px, 3vw, 32px); margin: 56px 0 18px; }
.entry h2::before { content: ""; flex: none; width: .4em; height: 1.05em; background: var(--lime); transform: skewX(-20deg); }
.entry h2:first-child { margin-top: 0; }
.entry h3 { font-size: 20px; margin: 30px 0 8px; }
.entry a { color: var(--navy); font-weight: 700; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.entry-img { margin: 26px 0; }
.entry-img img { width: 100%; }
.entry-img figcaption { font-size: 13px; color: var(--mute); margin-top: 6px; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.box { background: var(--gray); border-left: 6px solid var(--lime); padding: 18px 22px; }
.box p { margin: 0; }
.note { background: var(--gray); border-left: 6px solid var(--lime); padding: .9em 1.3em; margin: 22px 0; }
.note p { margin: 0; }
.tbl th, .tbl td { text-align: left; padding: 14px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { width: 8em; font-weight: 900; white-space: nowrap; background: var(--gray); }
.pics2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 26px 0; }
.pics2 .entry-img { margin: 0; }
.entry-img img, .pics2 img { clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.list li { padding: 6px 0 6px 1.6em; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: 1.1em; width: 9px; height: 9px; background: var(--lime); transform: skewX(-20deg); }
.entry .plans { margin: 22px 0 10px; }
.entry .flow li { width: min(60%, 520px); margin-left: calc(var(--i) * 13%); }

/* ビフォーアフター（架空の例） */
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 22px 0; }
.ba__c { position: relative; background: var(--gray); padding: 40px 22px 18px; }
.ba__tag { position: absolute; left: 0; top: 0; background: var(--navy); color: var(--white); font-weight: 900; font-size: 13px; padding: 3px 14px; }
.ba__who { font-weight: 900; font-size: 18px; margin: 0 0 8px; }
.ba__who small { display: block; font-size: 13px; color: var(--mute); font-weight: 700; }
.ba__c ul li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.ba__c ul li b { font-weight: 900; font-size: 20px; letter-spacing: 0; }
.ba__note { margin: 10px 0 0; font-size: 13px; color: var(--mute); line-height: 1.7; }

/* よくある質問（開閉式） */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font-weight: 900; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; line-height: 30px; text-align: center; background: var(--lime); font-weight: 900; font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; padding-right: 8px; }

/* フォーム */
.form { background: var(--gray); padding: 22px 26px; }
.form__note { background: var(--navy); color: var(--white); padding: .5em 1em; font-size: 14px; font-weight: 700; }
.form label { display: block; font-size: 14px; font-weight: 900; margin-bottom: 14px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 14px; font: inherit; font-weight: 500; border: 2px solid var(--line); border-radius: 0; background: var(--white); color: var(--navy); }
.form .btn { width: 100%; }
.form .btn:disabled { opacity: .7; cursor: not-allowed; }

/* スマホ */
@media (max-width: 860px) {
	body { font-size: 16px; padding-bottom: 58px; }
	.hd { gap: 12px; padding: 10px var(--gut); }
	.hd__nav, .hd__btn { display: none; }
	.hd__burger { display: block; margin-left: auto; }
	.hd__logo { font-size: 22px; }
	.spmenu:not([hidden]) { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 8px; padding: 40px 32px; background: var(--white); overflow-y: auto; }
	.spmenu a { text-decoration: none; font-weight: 900; font-size: 24px; padding: 14px 0; border-bottom: 2px solid var(--line); }
	.spmenu .btn { margin-top: 20px; font-size: 18px; border-bottom: 2px solid var(--lime); }
	body.is-menu { overflow: hidden; }
	body.is-menu .hd { z-index: 120; }
	body.is-menu .spbar { display: none; }

	.hero { height: 135vw; min-height: 460px; }
	.hero__band { top: 40%; transform: rotate(-6deg); padding: 3.5vw 0; }
	.hero__h { font-size: 11.4vw; white-space: normal; padding-left: 14%; padding-right: 8%; line-height: 1.22; }
	.hero__h .nw { display: block; }
	.hero__cta { left: var(--gut); right: var(--gut); bottom: 4%; align-items: center; gap: 10px; }
	.hero__tag { font-size: clamp(15px, 4.6vw, 20px); }
	.hero__cta .btn { width: 100%; font-size: clamp(20px, 6vw, 26px); }

	.nums__in { grid-template-columns: 1fr; gap: 0; }
	.num-item { display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-left: 0; border-top: 2px solid rgba(255,255,255,.35); padding: 8px 4px; text-align: left; }
	.num-item:first-child { border-top: 0; }
	.num-item__n { text-align: center; font-size: 12vw; border-right: 2px solid rgba(255,255,255,.35); }
	.num-item__c { padding-left: 18px; font-size: 16px; margin: 0; }

	.sec { padding: 48px 0; }
	.sec--slant { padding-top: calc(var(--slant) + 36px); }
	.plans { grid-template-columns: 1fr; gap: 26px; }
	.plan { padding: 30px 16px 22px; }
	.trainer { grid-template-columns: 1fr; }
	.ways { grid-template-columns: 1fr; gap: 30px; }
	.flow { gap: 18px; }
	.flow li { width: 80%; margin-left: calc(var(--i) * 6.5%); padding: 12px 16px; }
	.entry .flow li { width: 80%; margin-left: calc(var(--i) * 6.5%); }
	.flow li:not(:last-child)::after { width: 34px; margin-left: -18px; }
	.ft__in { grid-template-columns: 1fr; gap: 16px; }
	.ft__info { border: 0; padding: 0; }
	.page-hero { padding-top: 32px; }
	.page-hero__in { grid-template-columns: 1fr; gap: 24px; }
	.page-hero__img { max-width: 320px; }
	.cols, .pics2, .ba { grid-template-columns: 1fr; }
	.tbl th { width: 5.8em; white-space: normal; }
	.spbar { display: grid; grid-template-columns: 1fr 2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: 54px; }
	.spbar a { display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 900; font-size: 18px; letter-spacing: .06em; }
	.spbar__tel { background: var(--white); color: var(--navy); border: 3px solid var(--navy); }
	.spbar__go { background: var(--lime); color: var(--navy); }
}
