/* =========================================================
   さと英語 LP（AFFINGER5 子テーマ用） lp.css
   配色：ネイビー × 白を基調に、アクセントの青と、LINEの緑
   色を変えたいときは、下の :root の値だけ変えてください。
   ========================================================= */
:root {
	--se-navy: #0d2c54;        /* 見出し・ヒーロー背景 */
	--se-blue: #1a5fb4;        /* リンク・ラベル */
	--se-accent: #f39c12;      /* 小さなアクセント（下線・番号） */
	--se-bg: #f3f6fa;          /* 交互のセクション背景 */
	--se-text: #1f2a37;        /* 本文 */
	--se-muted: #5b6776;       /* 注記 */
	--se-line: #06c755;        /* LINEボタン */
	--se-radius: 14px;
	--se-max: 1040px;          /* コンテンツの最大幅 */
	--se-font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--se-font-en: "Inter", "Noto Sans JP", sans-serif;
}

/* ---------- AFFINGER5 側の要素をLPページだけ整える ---------- */
body.page-template-page-lp { overflow-x: hidden; }
body.page-template-page-lp #side,
body.page-template-page-lp aside#side,
body.page-template-page-lp #breadcrumb,
body.page-template-page-lp .st-breadcrumb { display: none !important; }
body.page-template-page-lp #content,
body.page-template-page-lp #contentInner,
body.page-template-page-lp #content-w { width: 100% !important; max-width: none !important; float: none !important; margin: 0 !important; padding: 0 !important; }

/* ---------- 土台 ---------- */
.se-lp { font-family: var(--se-font); color: var(--se-text); line-height: 1.9; font-size: 16px; letter-spacing: .02em; }
.se-lp *, .se-lp *::before, .se-lp *::after { box-sizing: border-box; }
.se-lp-main, .se-lp-article { margin: 0; padding: 0; max-width: none; width: 100%; }
.se-lp p { margin: 0 0 1em; font-size: 1em; line-height: 1.9; }
.se-lp a { color: var(--se-blue); text-decoration: none; }
.se-lp a:hover { text-decoration: underline; }
.se-lp h1, .se-lp h2, .se-lp h3, .se-lp h4 {
	font-family: var(--se-font); color: var(--se-navy); background: none !important; border: none !important;
	padding: 0 !important; margin: 0 0 .6em; line-height: 1.5; font-weight: 700; box-shadow: none !important;
}
.se-lp h1::before, .se-lp h1::after, .se-lp h2::before, .se-lp h2::after,
.se-lp h3::before, .se-lp h3::after, .se-lp h4::before, .se-lp h4::after { display: none !important; content: none !important; }
.se-lp .wp-block-group__inner-container { max-width: none; }

/* ---------- 全幅セクション（中身は最大幅で中央寄せ） ---------- */
.se-hero, .se-section, .se-cta, .se-pagehead {
	width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
	padding-left: max(20px, calc((100vw - var(--se-max)) / 2));
	padding-right: max(20px, calc((100vw - var(--se-max)) / 2));
}
.se-section { padding-top: 80px; padding-bottom: 80px; background: #fff; }
.se-section.se-bg { background: var(--se-bg); }
.se-section .se-section { width: auto; margin: 0; padding: 0; }

/* 見出しまわり */
.se-lp .se-eyebrow, .se-lp .se-hero-eyebrow {
	font-family: var(--se-font-en); font-size: 13px; font-weight: 700; letter-spacing: .18em;
	color: var(--se-blue); text-align: center; margin-bottom: 8px;
}
.se-lp .se-title { font-size: clamp(24px, 3.2vw, 32px); text-align: center; margin-bottom: 16px; }
.se-lp .se-title::after {
	content: "" !important; display: block !important; width: 48px; height: 3px; margin: 16px auto 0;
	background: var(--se-accent); border-radius: 2px;
}
.se-lp .se-lead { text-align: center; color: var(--se-muted); max-width: 720px; margin: 0 auto 40px; }
.se-section > h3, .se-section > .wp-block-group__inner-container > h3 { font-size: 20px; }

/* ---------- ヒーロー ---------- */
.se-hero {
	background: linear-gradient(135deg, var(--se-navy) 0%, #164a8a 100%);
	color: #fff; text-align: center; padding-top: 110px; padding-bottom: 110px;
}
.se-lp .se-hero .se-hero-eyebrow { color: #a9c8f0; }
.se-lp .se-hero-title { color: #fff; font-size: clamp(28px, 4.6vw, 46px); line-height: 1.45; margin: 0 auto 24px; max-width: 900px; }
.se-lp .se-hero-lead { color: #e3ecf7; font-size: clamp(15px, 1.8vw, 18px); max-width: 680px; margin: 0 auto 36px; }

/* ページ見出し（下層ページ） */
.se-pagehead { background: var(--se-navy); text-align: center; padding-top: 80px; padding-bottom: 72px; }
.se-lp .se-pagehead .se-eyebrow { color: #a9c8f0; }
.se-lp .se-pagehead-title { color: #fff; font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 16px; }
.se-lp .se-pagehead .se-lead { color: #e3ecf7; margin-bottom: 0; }

/* ---------- ボタン ---------- */
.se-lp .se-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 8px 0 0; }
.se-lp .se-btns .wp-block-button { margin: 0; }
.se-lp .se-btns .wp-block-button__link {
	display: inline-block; min-width: 280px; padding: 18px 32px; border-radius: 999px;
	font-weight: 700; font-size: 16px; text-align: center; text-decoration: none !important;
	transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.se-lp .se-btn-line .wp-block-button__link { background: var(--se-line); color: #fff; box-shadow: 0 6px 18px rgba(6, 199, 85, .35); }
.se-lp .se-btn-line .wp-block-button__link::before { content: "LINE"; font-family: var(--se-font-en); font-size: 12px; font-weight: 700; background: #fff; color: var(--se-line); border-radius: 6px; padding: 2px 7px; margin-right: 10px; vertical-align: 2px; }
.se-lp .se-btn-ghost .wp-block-button__link { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.8); }
.se-section .se-btn-ghost .wp-block-button__link { color: var(--se-navy); border-color: var(--se-navy); }
.se-lp .se-btns .wp-block-button__link:hover { transform: translateY(-2px); opacity: .95; }

/* ---------- カード ---------- */
.se-cards > .wp-block-group__inner-container, .se-cards:not(:has(> .wp-block-group__inner-container)) {
	display: grid; gap: 24px;
}
.se-cards-2 > .wp-block-group__inner-container, .se-cards-2:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(2, 1fr); }
.se-cards-3 > .wp-block-group__inner-container, .se-cards-3:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(3, 1fr); }
.se-card {
	background: #fff; border-radius: var(--se-radius); padding: 32px 28px;
	box-shadow: 0 4px 20px rgba(13, 44, 84, .08); border-top: 4px solid var(--se-blue);
	display: flex; flex-direction: column;
}
.se-bg .se-card { background: #fff; }
.se-section:not(.se-bg) .se-card { background: var(--se-bg); box-shadow: none; }
.se-lp .se-card-label {
	display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--se-blue);
	background: #e6effb; border-radius: 999px; padding: 3px 12px; margin-bottom: 12px; line-height: 1.6;
}
.se-lp .se-card-title { font-size: 19px; margin-bottom: 10px; }
.se-lp .se-card p { font-size: 15px; }
.se-lp .se-card-price { font-weight: 700; color: var(--se-navy); border-top: 1px solid #dfe6ef; padding-top: 12px; margin-top: auto; }
.se-lp .se-card-link { margin: 0; font-weight: 700; }

/* ---------- リスト ---------- */
.se-lp ul.se-check, .se-lp ol.se-steps, .se-lp ul.se-tags, .se-lp ul.se-timeline { list-style: none !important; padding: 0 !important; margin: 0 auto 1.5em; max-width: 760px; }
.se-lp .se-check li, .se-lp .se-steps li, .se-lp .se-tags li, .se-lp .se-timeline li { border: none !important; background: none !important; }
.se-lp .se-check li::before, .se-lp .se-steps li::before, .se-lp .se-timeline li::before { all: unset; }
.se-lp ul.se-check li { position: relative; padding: 10px 0 10px 36px; border-bottom: 1px dashed #d5dde8 !important; }
.se-lp ul.se-check li::before {
	content: "" !important; position: absolute; left: 4px; top: 18px; width: 16px; height: 9px;
	border-left: 3px solid var(--se-blue); border-bottom: 3px solid var(--se-blue); transform: rotate(-45deg);
}
.se-lp ol.se-steps { counter-reset: se-step; display: grid; gap: 16px; }
.se-lp ol.se-steps li {
	counter-increment: se-step; position: relative; background: #fff !important; border-radius: var(--se-radius);
	padding: 22px 24px 22px 84px; box-shadow: 0 4px 16px rgba(13, 44, 84, .07); min-height: 72px;
}
.se-lp ol.se-steps li::before {
	content: counter(se-step) !important; position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50%; background: var(--se-navy); color: #fff;
	font-family: var(--se-font-en); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center;
}
.se-section:not(.se-bg) ol.se-steps li { background: var(--se-bg) !important; box-shadow: none; }
.se-lp ul.se-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.se-lp ul.se-tags li { background: #fff !important; border: 1px solid #cfdbea !important; border-radius: 999px; padding: 8px 20px; font-weight: 500; }
.se-lp ul.se-timeline li { position: relative; padding: 0 0 22px 32px; border-left: 2px solid #cfdbea !important; margin-left: 8px; }
.se-lp ul.se-timeline li::before {
	content: "" !important; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px;
	border-radius: 50%; background: var(--se-blue); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--se-blue);
}

/* 本文段落は読みやすい幅に */
.se-section > p, .se-section > .wp-block-group__inner-container > p { max-width: 760px; margin-left: auto; margin-right: auto; }
.se-lp .se-note { font-size: 13px; color: var(--se-muted); text-align: center; }
.se-lp .se-photo { max-width: 320px !important; aspect-ratio: 1; margin: 0 auto 32px !important; border-radius: 50%; background: #dfe6ef; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; color: var(--se-muted); padding: 24px; }

/* ---------- 料金表 ---------- */
.se-lp .se-table { margin: 0 auto 16px; max-width: 900px; overflow-x: auto; }
.se-lp .se-table table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--se-radius); overflow: hidden; box-shadow: 0 4px 16px rgba(13, 44, 84, .07); font-size: 15px; }
.se-lp .se-table th { background: var(--se-navy) !important; color: #fff !important; font-weight: 700; padding: 14px 16px; text-align: left; border: none !important; white-space: nowrap; }
.se-lp .se-table td { padding: 14px 16px; border: none !important; border-bottom: 1px solid #e6ecf3 !important; background: #fff !important; }
.se-lp .se-table tr:last-child td { border-bottom: none !important; }
.se-lp .se-table td:nth-last-child(1) { font-weight: 700; color: var(--se-navy); white-space: nowrap; }

/* ---------- 受講生の声 ---------- */
.se-voice { background: #fff; border-radius: var(--se-radius); padding: 40px clamp(20px, 5vw, 56px); max-width: 860px; margin: 0 auto; box-shadow: 0 4px 20px rgba(13, 44, 84, .08); }
.se-section:not(.se-bg) .se-voice { background: var(--se-bg); box-shadow: none; }
.se-lp .se-voice-name { font-size: 24px; margin-bottom: 4px; }
.se-voice .se-note { text-align: left; }
.se-lp .se-voice-q { font-size: 17px; color: var(--se-blue); margin-top: 28px; padding-left: 14px !important; border-left: 4px solid var(--se-accent) !important; }
.se-voice p, .se-voice ul { max-width: none !important; }

/* ---------- FAQ ---------- */
.se-lp .se-faq { max-width: 820px; margin: 0 auto 14px; background: #fff; border-radius: var(--se-radius); box-shadow: 0 2px 12px rgba(13, 44, 84, .07); overflow: hidden; }
.se-section:not(.se-bg) .se-faq { background: var(--se-bg); box-shadow: none; }
.se-lp .se-faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 60px; font-weight: 700; color: var(--se-navy); position: relative; }
.se-lp .se-faq summary::-webkit-details-marker { display: none; }
.se-lp .se-faq summary::before { content: "Q"; position: absolute; left: 22px; top: 18px; font-family: var(--se-font-en); color: var(--se-blue); font-size: 20px; }
.se-lp .se-faq summary::after { content: "+"; position: absolute; right: 24px; top: 16px; font-size: 24px; color: var(--se-blue); transition: transform .2s; }
.se-lp .se-faq[open] summary::after { transform: rotate(45deg); }
.se-lp .se-faq p { padding: 0 28px 0 60px; margin-bottom: .8em; }
.se-lp .se-faq p:last-child { padding-bottom: 18px; }

/* ---------- CTA帯 ---------- */
.se-cta { background: linear-gradient(135deg, #164a8a 0%, var(--se-navy) 100%); text-align: center; padding-top: 72px; padding-bottom: 80px; }
.se-lp .se-cta-title { color: #fff; font-size: clamp(22px, 3vw, 30px); }
.se-lp .se-cta-text { color: #e3ecf7; margin-bottom: 28px; }

/* ---------- スマホ ---------- */
@media (max-width: 900px) {
	.se-cards-3 > .wp-block-group__inner-container, .se-cards-3:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.se-lp { font-size: 15px; }
	.se-section { padding-top: 56px; padding-bottom: 56px; }
	.se-hero { padding-top: 72px; padding-bottom: 72px; }
	.se-cards-2 > .wp-block-group__inner-container, .se-cards-2:not(:has(> .wp-block-group__inner-container)),
	.se-cards-3 > .wp-block-group__inner-container, .se-cards-3:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: 1fr; }
	.se-lp .se-btns .wp-block-button { width: 100%; }
	.se-lp .se-btns .wp-block-button__link { min-width: 0; width: 100%; }
	.se-lp ol.se-steps li { padding-left: 76px; }
	.se-lp .se-table table { font-size: 13px; }
	.se-lp .se-table th, .se-lp .se-table td { padding: 10px; }
}

/* セクション直下の「〜を見る」リンクは中央に */
.se-section > .se-card-link, .se-section > .wp-block-group__inner-container > .se-card-link { text-align: center; margin-top: 8px; }
