/*
 * BtoB LP（10周年）専用スタイル。
 * すべて .btob-lp の中だけに効かせる（既存サイトのページには影響させない）。
 * 色・書体・余白は公式サイトの実装値に合わせている（05_LP/デザイン基準_公式サイトの実装値.md）。
 * 配置と大きさは Figma のブラッシュアップ版（PC 103:863／SP 126:1311）に合わせている。
 */

.btob-lp {
	--lp-ink: #000;
	--lp-sub: #6e6e6e;
	--lp-label: #919191;
	--lp-line: #ddd;
	--lp-line-soft: rgba(221, 221, 221, 0.5);
	--lp-base: #fff;
	--lp-alt: #f6f6f6;
	--lp-dark: #0f1211;
	--lp-photo: #d9d9d6;
	--lp-required: #820000;
	--lp-accent: #9a8352; /* 10周年の識別色（仮。先方確認後に差し替え） */
	--lp-en: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--lp-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
	--lp-header-h: 82px;
	--lp-cta-h: 69px; /* 画面下の固定ボタンの高さ（スマートフォン） */

	margin: 0;
	background: var(--lp-base);
	color: var(--lp-ink);
	font-family: var(--lp-jp);
	font-size: 16px;
	font-weight: 300;
	line-height: 2;
	letter-spacing: 1px;
	-webkit-text-size-adjust: 100%;
}
.btob-lp *,
.btob-lp *::before,
.btob-lp *::after { box-sizing: border-box; }
/* 初期化は :where() で詳細度を上げない（下の部品のクラス1つで上書きできるようにする）。 */
.btob-lp :where(h1, h2, h3, h4, p, ul, ol, dl, dt, dd, figure, blockquote) { margin: 0; padding: 0; }
.btob-lp :where(ul, ol) { list-style: none; }
.btob-lp :where(a) { color: inherit; text-decoration: none; }
.btob-lp :where(img) { max-width: 100%; height: auto; display: block; }
.btob-lp :where(h3, h4) { font-size: 18px; font-weight: 500; line-height: 1.6; }
.btob-lp [id] { scroll-margin-top: calc(var(--lp-header-h) + 16px); }
.btob-lp :focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; }

.lp-wrap { width: min(1110px, 100% - 40px); margin-inline: auto; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lp-chevron { display: block; flex: none; }

/* ---- ヘッダー ---- */
.lp-header { position: sticky; top: 0; z-index: 20; background: var(--lp-base); border-bottom: 1px solid var(--lp-line); }
.lp-header__inner { display: flex; align-items: center; gap: 26px; height: var(--lp-header-h); }
.lp-logo { font-family: var(--lp-en); font-size: 22px; font-weight: 600; letter-spacing: 0.5px; line-height: 1; }
.lp-header .lp-logo { margin-right: auto; }
.lp-logo--inverse { color: #fff; font-size: 20px; }
.lp-logo img { display: block; width: auto; height: 40px; }
.lp-nav ul { display: flex; gap: 26px; }
.lp-nav a { display: block; font-size: 13px; font-weight: 500; line-height: 1.4; }
.lp-nav a:hover { opacity: 0.6; }
.lp-menu { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
/* ログイン中は、WordPress の管理バー（固定）の下にヘッダーを止める。600px以下の管理バーは固定されない。 */
.admin-bar .lp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .lp-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .lp-header { top: 0; } }
/* サイト共通の「上へ戻る」ボタン（WPFront Scroll Top）は、画面下の固定ボタンと重なるのでLPでは出さない。 */
.btob-lp #wpfront-scroll-top-container { display: none !important; }
.lp-menu__bars,
.lp-menu__bars::before,
.lp-menu__bars::after { display: block; width: 24px; height: 1.5px; background: var(--lp-ink); margin-inline: auto; content: ""; position: relative; }
.lp-menu__bars::before { position: absolute; top: -7px; }
.lp-menu__bars::after { position: absolute; top: 7px; }

/* ---- ボタン ---- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 40px; border: 1px solid var(--lp-ink); background: var(--lp-ink); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: 2px; text-align: center; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.lp-btn:hover { background: #fff; color: var(--lp-ink); }
.lp-btn--line { background: transparent; border-color: #fff; color: #fff; }
.lp-btn--line:hover { background: #fff; color: var(--lp-ink); }
.lp-btn--outline { background: transparent; color: var(--lp-ink); }
.lp-btn--outline:hover { background: var(--lp-ink); color: #fff; }
.lp-btn--sm { padding: 7px 20px; font-size: 13px; }
.lp-btn--disabled { opacity: 0.4; pointer-events: none; }

/* ---- セクション共通（見出しは英語＋日本語の小見出し） ---- */
.lp-section { padding-block: clamp(64px, 9vw, 112px); }
.lp-section--alt { background: var(--lp-alt); }
.lp-section--dark { background: var(--lp-dark); color: #fff; }
.lp-head { margin-bottom: 40px; }
.lp-head__en { font-family: var(--lp-en); font-size: 32px; font-weight: 400; line-height: 1.4; }
.lp-head__title { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--lp-label); margin-top: 4px; }
.lp-head__lead { font-size: 15px; font-weight: 400; line-height: 1.9; color: var(--lp-sub); margin-top: 16px; }

.lp-photo { width: 100%; object-fit: cover; background: var(--lp-photo); }
.lp-photo--empty { display: grid; place-items: center; color: var(--lp-sub); font-size: 13px; }
.lp-photo--43 { aspect-ratio: 4 / 3; }

/* ---- 1. ファーストビュー ---- */
.lp-hero { position: relative; display: grid; align-items: center; min-height: 600px; color: #fff; background: linear-gradient(rgba(20, 20, 20, 0.42), rgba(20, 20, 20, 0.42)), var(--lp-hero-image, linear-gradient(#8e8c87, #8e8c87)) center / cover no-repeat; }
.lp-hero__inner { padding-block: 80px; }
.lp-hero__mark { font-family: var(--lp-en); font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: 0.2em; color: #e7dcc2; }
.lp-hero__title { font-size: clamp(24px, 4vw, 58px); font-weight: 500; line-height: 1.4; letter-spacing: 3px; margin-top: 26px; }
.lp-hero__lead { max-width: 700px; font-size: 15px; font-weight: 400; line-height: 1.9; margin-top: 26px; }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
/* 10周年の印（キータグの形）。PCは右下、スマートフォンは右上。 */
.lp-keytag { position: absolute; right: max(20px, (100% - 1110px) / 2); bottom: 111px; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 116px; height: 146px; padding: 22px 0 26px; border: 1px solid #fff; border-radius: 58px; color: #fff; pointer-events: none; }
.lp-keytag__hole { width: 12px; height: 12px; margin-bottom: 18px; border: 1px solid currentColor; border-radius: 50%; }
.lp-keytag__num { font-family: var(--lp-en); font-size: 62px; font-weight: 300; line-height: 1; letter-spacing: 0; }

/* ---- 2. 課題と提供価値 ---- */
.lp-issues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.lp-issue { padding: 12px; border: 1px solid var(--lp-ink); }
.lp-issue p { font-size: 13px; font-weight: 400; line-height: 1.8; margin-top: 12px; }

/* ---- 3. 支援領域（写真の上に名前と説明を重ねたカード）＋そのほかのご相談 ---- */
.lp-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-service { position: relative; display: flex; align-items: flex-end; height: 370px; padding: 20px; overflow: hidden; background: var(--lp-dark); color: #fff; }
.lp-service::after { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 85%); content: ""; }
.lp-service__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.lp-service__body { position: relative; z-index: 1; }
.lp-service p { font-size: 13px; font-weight: 400; line-height: 1.8; margin-top: 8px; }
.lp-service:hover .lp-service__image { transform: scale(1.04); }
.lp-others { display: flex; gap: 40px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--lp-line); }
.lp-others__label { flex: 0 0 200px; font-size: 14px; line-height: 1.6; }
.lp-others__items { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.lp-others dt { font-size: 15px; font-weight: 500; line-height: 1.6; }
.lp-others dd { font-size: 13px; font-weight: 400; line-height: 1.8; margin-top: 2px; }

/* ---- 4. 数字（数字を上に見せるため、説明の dt を後ろに回す） ---- */
.lp-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.lp-fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.lp-fact + .lp-fact { padding-left: 32px; border-left: 1px solid var(--lp-line); }
.lp-fact__num { display: flex; align-items: baseline; gap: 6px; }
.lp-fact__num span { font-family: var(--lp-en); font-size: clamp(48px, 5.2vw, 76px); font-weight: 300; line-height: 1.1; letter-spacing: 0; }
.lp-fact__num small { font-size: 18px; font-weight: 500; line-height: 1.6; color: var(--lp-accent); }
.lp-fact__cap { font-size: 13px; font-weight: 400; line-height: 1.8; color: var(--lp-sub); }
.lp-facts__note { font-size: 12px; font-weight: 400; line-height: 1.8; color: var(--lp-sub); }
.lp-facts + .lp-facts__note { margin-top: 20px; }

/* ---- 5. 事例（横スクロール。左右は画面の端まで流し、前後のカードをのぞかせる） ---- */
.lp-carousel { --lp-card-w: 460px; --lp-card-gap: 30px; --lp-gutter: max(20px, (100% - 1110px) / 2); }
.lp-carousel__track { display: flex; gap: var(--lp-card-gap); padding-inline: var(--lp-gutter); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--lp-gutter); scrollbar-width: none; }
.lp-carousel__track::-webkit-scrollbar { display: none; }
.lp-carousel__item { flex: 0 0 var(--lp-card-w); scroll-snap-align: start; }
.lp-carousel__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.lp-carousel__controls[hidden] { display: none; }
.lp-carousel__dots { display: flex; align-items: center; margin-left: -5px; }
.lp-carousel__dot { display: grid; place-items: center; width: 16px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.lp-carousel__dot span { width: 6px; height: 6px; border-radius: 50%; background: var(--lp-line); transition: width 0.2s, height 0.2s, background-color 0.2s; }
.lp-carousel__dot[aria-current="true"] span { width: 8px; height: 8px; background: var(--lp-ink); }
.lp-carousel__arrows { display: flex; gap: 8px; }
.lp-carousel__arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--lp-line); border-radius: 50%; background: none; color: var(--lp-ink); cursor: pointer; transition: border-color 0.2s; }
.lp-carousel__arrow:hover { border-color: var(--lp-ink); }
.lp-carousel__arrow .lp-chevron { width: 7px; height: 12px; }
.lp-case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lp-case__tags li { padding: 2px 6px; border: 1px solid var(--lp-ink); border-radius: 4px; font-size: 13px; font-weight: 500; line-height: 1.4; }
.lp-case h3 { margin-top: 12px; }
.lp-case p { font-size: 13px; font-weight: 400; line-height: 1.8; margin-top: 4px; }

/* ---- 6. 10年の歩み（左に見出しと導入文、右に年表） ---- */
.lp-history { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; align-items: start; }
.lp-history__title { margin-bottom: 14px; }
.lp-more p { font-size: 14px; font-weight: 400; line-height: 1.9; }
.lp-more p + p { margin-top: 14px; }
/* 「続きを読む」：畳めるのはスマートフォンだけ（btob-lp.js が is-collapsible を付ける）。 */
.lp-more.is-collapsible { position: relative; overflow: hidden; transition: max-height 0.4s ease; }
.lp-more.is-collapsed { max-height: 160px; }
.lp-more.is-collapsible::after { position: absolute; left: 0; right: 0; bottom: 0; height: 72px; background: linear-gradient(rgba(255, 255, 255, 0), var(--lp-base)); opacity: 0; transition: opacity 0.3s; pointer-events: none; content: ""; }
.lp-more.is-collapsed::after { opacity: 1; }
.lp-more__toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--lp-ink); font: inherit; font-size: 13px; font-weight: 500; line-height: 1.2; letter-spacing: 1px; cursor: pointer; }
.lp-more__toggle[hidden] { display: none; }
.lp-more__toggle .lp-chevron { width: 10px; height: 6px; transition: transform 0.3s; }
.lp-more__toggle[aria-expanded="true"] .lp-chevron { transform: rotate(180deg); }
.lp-timeline__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-areas: "year title" "year text"; column-gap: 24px; row-gap: 6px; padding-block: 24px; }
.lp-timeline__row + .lp-timeline__row { border-top: 1px solid var(--lp-line-soft); }
.lp-timeline__year { grid-area: year; font-family: var(--lp-en); font-size: 26px; font-weight: 300; line-height: 1.1; color: var(--lp-accent); }
.lp-timeline__title { grid-area: title; }
.lp-timeline__text { grid-area: text; font-size: 13px; font-weight: 400; line-height: 1.8; }

/* ---- 相談の帯（沿革のあとに置く相談の入口） ---- */
/* 写真は img で敷く（背景指定だと、相対パスがCSSファイル基準になりプレビューで読めないため）。 */
.lp-band { position: relative; overflow: hidden; padding-block: 104px; color: #fff; background: #555; }
.lp-band::before { position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, 0.6); content: ""; }
.lp-band__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-band__inner { position: relative; z-index: 2; }
.lp-band__title { font-size: 34px; font-weight: 500; line-height: 1.5; }
.lp-band__title br { display: none; }
.lp-band__lead { font-size: 15px; font-weight: 400; line-height: 1.8; margin-top: 20px; }
.lp-band__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 52px; }

/* ---- 7. 関係者の声 ---- */
.lp-voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 32px; }
.lp-voice { background: var(--lp-base); border: 1px solid var(--lp-line); padding: 30px 28px; }
.lp-voice blockquote { font-size: 16px; line-height: 1.95; }
.lp-voice figcaption { font-size: 13px; font-weight: 400; color: var(--lp-sub); border-top: 1px solid var(--lp-line); padding-top: 14px; margin-top: 18px; }

/* ---- 8. 10周年イベント（中身はプラグインの出力：.lp-event） ---- */
.lp-section--dark .lp-head__en { color: var(--lp-accent); }
.lp-event { display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; align-items: start; margin-top: 16px; }
.lp-event__title { grid-column: 1 / -1; font-size: clamp(21px, 2.9vw, 28px); font-weight: 500; line-height: 1.6; margin-bottom: 40px; }
.lp-event__image { grid-column: 2; grid-row: 2 / span 4; }
.lp-event__image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lp-event__details, .lp-event__body, .lp-event__note, .lp-event__link { grid-column: 1; }
.lp-event__detail { display: grid; grid-template-columns: 92px 1fr; gap: 20px; font-size: 14.5px; font-weight: 400; margin-bottom: 12px; }
.lp-event__label { color: rgba(255, 255, 255, 0.6); }
.lp-event__body { font-size: 14.5px; font-weight: 400; margin-top: 8px; }
.lp-event__note { font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, 0.7); margin-top: 26px; }
.lp-event__link a { display: inline-block; margin-top: 20px; border-bottom: 1px solid currentColor; }
.lp-event--report .lp-event__image:only-of-type { grid-row: 2 / span 3; }

/* ---- 9. 体制と資料（左に一文・本文・体制の一覧、右に写真。その下に資料請求の帯） ---- */
.lp-team { display: grid; grid-template-columns: minmax(0, 1fr) 486px; grid-template-rows: auto auto 1fr; grid-template-areas: "statement photo" "body photo" "roles photo"; column-gap: 64px; row-gap: 24px; }
.lp-team__statement { grid-area: statement; font-size: 24px; }
.lp-team__body { grid-area: body; font-size: 15px; font-weight: 400; line-height: 1.9; }
.lp-team__photo { grid-area: photo; height: 100%; min-height: 420px; object-position: 30% 50%; } /* 縦長の枠。説明している人（左）と展示の写真が収まる位置（11/3 の写真） */
.lp-roles { grid-area: roles; align-self: start; padding-top: 16px; }
.lp-role { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding-block: 20px; border-top: 1px solid var(--lp-line); }
.lp-role:last-child { border-bottom: 1px solid var(--lp-line); }
.lp-role__name { font-size: 16px; }
.lp-role__toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: default; }
.lp-role__icon { display: none; }
.lp-role__desc p { font-size: 13px; font-weight: 400; line-height: 1.8; }
.lp-doc { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "cover head btn" "cover desc btn"; column-gap: 40px; row-gap: 6px; align-items: center; margin-top: 64px; padding: 40px 48px; background: var(--lp-base); border-radius: 8px; }
.lp-doc__cover { grid-area: cover; display: flex; flex-direction: column; justify-content: space-between; width: 84px; height: 118px; padding: 12px 10px 10px; border: 1px solid var(--lp-line); background: var(--lp-base); font-family: var(--lp-en); font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: 0.5px; }
.lp-doc__cover small { font-size: 7px; font-weight: 600; color: var(--lp-label); }
/* 表紙の画像（PDFの1ページ目）：高さは仮の絵と同じ。幅は画像の縦横比に合わせる（横長のPDFでも切れない）。 */
.lp-doc--image { grid-template-columns: auto minmax(0, 1fr) auto; }
.lp-doc--image .lp-doc__cover { display: block; width: auto; max-width: none; height: 118px; padding: 0; object-fit: contain; }
.lp-doc__head { grid-area: head; align-self: end; font-size: 20px; }
.lp-doc__desc { grid-area: desc; align-self: start; font-size: 13px; font-weight: 400; line-height: 1.8; }
.lp-doc .lp-btn { grid-area: btn; }

/* ---- 10. ご相談の流れ／お問い合わせ（左に見出し、右に中身） ---- */
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
.lp-split--flow { column-gap: 40px; }
.lp-split--contact { column-gap: 28px; }
.lp-split > .lp-head { margin-bottom: 0; }
.lp-steps { border-top: 1px solid var(--lp-line); }
.lp-step { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; grid-template-areas: "num title when" ". text when"; column-gap: 22px; row-gap: 4px; align-items: baseline; padding-block: 24px; border-bottom: 1px solid var(--lp-line); }
.lp-step__num { grid-area: num; font-family: var(--lp-en); font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 2px; color: var(--lp-accent); }
.lp-step__top { display: contents; }
.lp-step__title { grid-area: title; }
.lp-step__when { grid-area: when; white-space: nowrap; font-size: 13px; font-weight: 400; line-height: 1.8; color: var(--lp-sub); text-align: right; }
.lp-step__text { grid-area: text; font-size: 13px; font-weight: 400; line-height: 1.8; color: var(--lp-sub); }
.lp-steps__note { font-size: 12px; font-weight: 400; line-height: 1.9; color: var(--lp-sub); padding-top: 20px; }
.lp-notice { margin-bottom: 28px; padding: 20px 24px; background: var(--lp-base); border: 1px solid var(--lp-line); font-size: 13px; font-weight: 400; line-height: 1.8; }
/* お問い合わせの、未返信時の連絡先。送信ボタンの下に置く（10/29 先方FB No.10）。 */
.lp-contact__notice { margin-top: 24px; font-size: 13px; font-weight: 400; line-height: 1.8; color: var(--lp-sub); }

/* ---- フォーム（Contact Form 7） ---- */
.lp-form dl { margin: 0; }
.lp-form dt { font-size: 15px; font-weight: 400; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.lp-form dd { margin-bottom: 24px; }
.lp-form .require,
.lp-form .optional { font-size: 12px; font-weight: 500; line-height: 1.4; padding: 2px 6px; border: 1px solid; border-radius: 2px; }
.lp-form .require { color: var(--lp-required); }
.lp-form .optional { color: var(--lp-label); border-color: var(--lp-line); }
.lp-form__hint { font-size: 12px; font-weight: 400; line-height: 1.8; color: var(--lp-sub); margin-top: 6px; }
.lp-form input[type="text"],
.lp-form input[type="email"],
.lp-form input[type="tel"],
.lp-form select,
.lp-form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--lp-line); border-radius: 2px; background: #fff; color: var(--lp-ink); font: inherit; font-size: 16px; font-weight: 400; line-height: 1.6; letter-spacing: 0; }
.lp-form ::placeholder { color: var(--lp-label); }
.lp-form textarea { min-height: 180px; resize: vertical; }
.lp-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.lp-form__consent { font-size: 15px; font-weight: 400; margin-bottom: 24px; }
.lp-form__consent a { text-decoration: underline; }
.lp-form__consent input { width: 18px; height: 18px; margin-right: 10px; vertical-align: -3px; }
.lp-form input[type="submit"] { appearance: none; display: inline-block; padding: 16px 40px; border: 1px solid var(--lp-ink); border-radius: 0; background: var(--lp-ink); color: #fff; font: inherit; font-size: 15px; font-weight: 500; letter-spacing: 2px; cursor: pointer; }
.lp-form input[type="submit"]:not(:disabled):hover { background: #fff; color: var(--lp-ink); }
/* 個人情報の同意にチェックするまで、CF7が送信ボタンを押せなくする。押せない状態だと分かるように薄くする。
   Simple Cloudflare Turnstile が、確認が済むとボタンに style="opacity: 1" を直接書くので !important にする。 */
.lp-form input[type="submit"]:disabled { opacity: 0.4 !important; cursor: not-allowed; }
.lp-form .wpcf7-not-valid-tip { font-size: 13px; color: var(--lp-required); margin-top: 6px; }
.lp-form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; font-size: 14px; }
.lp-form .cf-turnstile { margin-bottom: 24px; }
/* Simple Cloudflare Turnstile の外枠（インラインで margin-bottom: -15px）と改行は使わない。間隔は上の24pxだけにする。 */
.lp-form .cf7-cf-turnstile { margin: 0 !important; }
.lp-form .cf-turnstile-br { display: none; }
/* 見本（form-mock.php）だけで使う：Turnstile の枠と、送信できないことの注記。 */
.lp-form__turnstile-mock { display: grid; place-items: center; width: 300px; height: 65px; margin-bottom: 24px; border: 1px solid var(--lp-line); background: #fff; font-size: 11px; font-weight: 400; letter-spacing: 0; color: var(--lp-label); }
.lp-form__mock-note { font-size: 12px; font-weight: 400; line-height: 1.8; color: var(--lp-sub); margin-top: 12px; }

/* ---- フッター ---- */
.lp-footer { background: var(--lp-dark); color: rgba(255, 255, 255, 0.75); padding-block: 48px 34px; }
.lp-footer__nav { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 13px; font-weight: 500; line-height: 1.4; margin-block: 22px 26px; }
.lp-footer__nav a:hover { color: #fff; }
.lp-footer__copy { font-family: var(--lp-en); font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: 2px; color: rgba(255, 255, 255, 0.55); }

/* ---- 画面下の固定ボタン（スマートフォンだけ。出し入れは btob-lp.js の is-visible） ---- */
.lp-fixed-cta { display: none; }

/* ---- 資料請求フォーム・資料ダウンロード完了のページ ---- */
.lp-subpage { min-height: calc(100vh - var(--lp-header-h) - 159px); }
.lp-done { padding-block: 160px 200px; }
.lp-done .lp-head { margin-bottom: 24px; }
.lp-done__title { font-size: 28px; font-weight: 500; line-height: 1.6; }
.lp-done__body { margin-top: 24px; }
.lp-done__body p { font-size: 15px; font-weight: 400; line-height: 1.9; }
.lp-done__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.lp-done .lp-form__mock-note { margin-top: 12px; }
.lp-done__back { margin-top: 24px; }
.lp-arrow-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; line-height: 1.4; }
.lp-arrow-link .lp-chevron { width: 6px; height: 10px; transition: transform 0.2s; }
.lp-arrow-link:hover .lp-chevron { transform: translateX(3px); }

/* ---- サンクスページ ---- */
.lp-thanks { padding-block: clamp(80px, 12vw, 160px); min-height: 60vh; }
.lp-thanks h1 { font-size: clamp(22px, 3.2vw, 30px); font-weight: 500; line-height: 1.6; margin-bottom: 28px; }
.lp-thanks p { font-size: 15px; font-weight: 400; }
.lp-thanks .lp-btn { margin-top: 40px; }
/* 確認用ページのパスワード入力（WordPress の標準フォーム） */
.lp-password p { font-size: 15px; font-weight: 400; margin-bottom: 16px; }
.lp-password label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lp-password input[type="password"] { width: min(320px, 100%); padding: 12px 14px; border: 1px solid var(--lp-line); border-radius: 2px; font: inherit; font-size: 16px; font-weight: 400; letter-spacing: 0; }
.lp-password input[type="submit"] { padding: 12px 28px; border: 1px solid var(--lp-ink); border-radius: 0; background: var(--lp-ink); color: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }

/* ---- スマートフォン・タブレット ---- */
@media (max-width: 900px) {
	.btob-lp { --lp-header-h: 60px; }
	.lp-logo { font-size: 18px; }
	.lp-logo img { height: 32px; }
	.lp-menu { display: block; }
	.lp-header__cta { display: none; }
	.lp-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--lp-base); border-bottom: 1px solid var(--lp-line); }
	.lp-nav.is-open { display: block; }
	.lp-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 20px; }
	.lp-nav a { padding: 12px 0; border-bottom: 1px solid var(--lp-line); font-size: 15px; }
	.lp-hero__lead br { display: none; }
	.lp-issues { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.lp-issue { padding: 20px 0; border-width: 1px 0 0; }
	.lp-issue:last-child { border-bottom-width: 1px; }
	.lp-issue p { margin-top: 8px; }
	.lp-service { height: 300px; }
	/* 4項目を2列×2段に。右の列に縦線、下の段に横線。 */
	/* 2列×2段。縦線と横線が十字でつながるよう、段のあいだは gap ではなく各項目の余白で空ける。 */
	.lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
	.lp-fact:nth-child(odd) { padding-left: 0; padding-right: 20px; border-left: 0; }
	.lp-fact:nth-child(even) { padding-left: 20px; }
	.lp-fact:nth-child(-n+2) { padding-bottom: 24px; }
	.lp-fact:nth-child(n+3) { padding-top: 24px; border-top: 1px solid var(--lp-line); }
	.lp-others { flex-direction: column; gap: 14px; }
	.lp-others__label { flex: none; }
	.lp-carousel { --lp-card-w: 400px; --lp-card-gap: 20px; }
	.lp-history { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.lp-history .lp-head { margin-bottom: 28px; }
	.lp-history__title { font-size: 16px; margin-bottom: 12px; }
	.lp-more p { font-size: 13px; line-height: 1.8; }
	.lp-timeline__row { grid-template-columns: 54px minmax(0, 1fr); grid-template-areas: "year title" "text text"; column-gap: 12px; padding-block: 16px; }
	.lp-timeline__year { align-self: baseline; font-size: 20px; }
	.lp-timeline__title { align-self: baseline; font-size: 17px; }
	.lp-timeline__text { color: var(--lp-sub); }
	.lp-event { grid-template-columns: 1fr; }
	.lp-event__image { grid-column: 1; grid-row: auto; margin-bottom: 24px; }
	.lp-event__title { margin-bottom: 24px; }
	.lp-team { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "statement" "body" "photo" "roles"; row-gap: 20px; }
	.lp-team__statement { font-size: 18px; }
	.lp-team__body { font-size: 13px; line-height: 1.8; }
	.lp-team__photo { height: 200px; min-height: 0; object-position: center; }
	.lp-roles { padding-top: 8px; }
	.lp-doc { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "cover head" "desc desc" "btn btn"; column-gap: 18px; row-gap: 18px; margin-top: 40px; padding: 28px 22px; }
	.lp-doc__cover { width: 64px; height: 90px; padding: 9px 8px 7px; font-size: 8px; }
	.lp-doc__cover small { font-size: 6px; }
	.lp-doc--image { grid-template-columns: auto minmax(0, 1fr); }
	.lp-doc--image .lp-doc__cover { width: auto; height: 90px; padding: 0; }
	.lp-doc__head { align-self: center; font-size: 18px; }
	.lp-doc__desc br { display: none; }
	.lp-doc .lp-btn { width: 100%; }
	.lp-split { grid-template-columns: minmax(0, 1fr); }
	.lp-split > .lp-head { margin-bottom: 24px; }
	.lp-head__lead { font-size: 13px; line-height: 1.8; margin-top: 12px; }
	.lp-step { grid-template-columns: 32px minmax(0, 1fr); grid-template-areas: "num top" ". text"; column-gap: 12px; padding-block: 18px; }
	.lp-step__num { font-size: 13px; }
	.lp-step__top { grid-area: top; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
	.lp-step__title { font-size: 17px; }
	.lp-step__when { font-size: 12px; font-weight: 500; line-height: 1.4; text-align: left; white-space: normal; }
	.lp-step__when br { display: none; }
	.lp-steps__note { padding-top: 16px; line-height: 1.8; }
	.lp-notice { margin-bottom: 24px; padding: 16px 18px; }
	.lp-form dd { margin-bottom: 16px; }
	.lp-form input[type="submit"] { width: 100%; padding-inline: 20px; }

	/* 体制の開閉（btob-lp.js が is-accordion を付けたときだけ。JSが動かないときは全部見せる） */
	.lp-roles.is-accordion .lp-role { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 0fr; gap: 0; padding-block: 16px; transition: grid-template-rows 0.3s ease; }
	.lp-roles.is-accordion .lp-role.is-open { grid-template-rows: auto 1fr; }
	.lp-roles.is-accordion .lp-role__toggle { min-height: 26px; cursor: pointer; }
	.lp-roles.is-accordion .lp-role__icon { position: relative; display: block; flex: none; width: 14px; height: 14px; }
	.lp-role__icon::before,
	.lp-role__icon::after { position: absolute; left: 0; top: 50%; width: 14px; height: 1.2px; margin-top: -0.6px; background: currentColor; transition: transform 0.3s; content: ""; }
	.lp-role__icon::after { transform: rotate(90deg); }
	.lp-role.is-open .lp-role__icon::after { transform: rotate(0deg); }
	.lp-roles.is-accordion .lp-role__desc { min-height: 0; overflow: hidden; }
	.lp-roles.is-accordion .lp-role:not(.is-open) .lp-role__desc { visibility: hidden; transition: visibility 0s linear 0.3s; }
	.lp-roles.is-accordion .lp-role__desc p { padding-top: 8px; }

	/* 画面下の固定ボタン。iPhoneの画面下のバーの分だけ下に余白を足す。 */
	.lp-fixed-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.5); border-top: 1px solid var(--lp-line); box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transform: translateY(calc(100% + 24px)); visibility: hidden; transition: transform 0.3s ease, visibility 0s linear 0.3s; }
	.lp-fixed-cta.is-visible { transform: none; visibility: visible; transition: transform 0.3s ease; }
	.lp-fixed-cta .lp-btn { height: 48px; padding: 0 8px; font-size: 14px; letter-spacing: 1px; }
	.lp-footer { padding-bottom: calc(34px + var(--lp-cta-h) + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
	.lp-wrap { width: calc(100% - 32px); }
	.lp-head { margin-bottom: 28px; }
	.lp-head__en { font-size: 28px; }
	.lp-hero { align-items: end; min-height: 580px; }
	.lp-hero__inner { padding-block: 140px 48px; }
	.lp-hero__mark { font-size: 11px; font-weight: 600; }
	.lp-hero__title { margin-top: 20px; }
	.lp-hero__lead { font-size: 13px; line-height: 1.8; margin-top: 20px; }
	.lp-hero__actions { flex-direction: column; gap: 20px; margin-top: 20px; }
	.lp-hero__actions .lp-btn { width: 100%; }
	.lp-keytag { top: 24px; right: 16px; bottom: auto; gap: 3px; width: 77px; height: 98px; padding: 15px 0 17px; border-radius: 38.5px; }
	.lp-keytag__hole { width: 8px; height: 8px; margin-bottom: 12px; }
	.lp-keytag__num { font-size: 41px; }
	.lp-services { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.lp-service { height: auto; min-height: 140px; padding: 16px; } /* 文が長いカードは高さを伸ばす */
	/* カードが低いので、文字の後ろまで暗さが届くようにグラデーションを早めに始める。 */
	.lp-service::after { background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 75%); }
	.lp-service p { margin-top: 0; }
	.lp-others { margin-top: 28px; padding-top: 20px; }
	.lp-others__items { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	/* 間隔を左の余白と同じにして、1つ前のカードが左端に細く残らないようにする（Figmaは12px）。 */
	.lp-carousel { --lp-card-w: 300px; --lp-card-gap: 16px; --lp-gutter: 16px; }
	.lp-carousel__controls { margin-top: 20px; }
	.lp-carousel__arrow { width: 40px; height: 40px; }
	.lp-band { padding-block: 64px; }
	.lp-band__title { font-size: 22px; }
	.lp-band__title br { display: inline; }
	.lp-band__lead { font-size: 14px; margin-top: 16px; }
	.lp-band__actions { flex-direction: column; margin-top: 36px; }
	.lp-band__actions .lp-btn { width: 100%; }
	.lp-done { padding-block: 96px 120px; }
	.lp-done__title { font-size: 21px; }
	.lp-done__body p { font-size: 14px; line-height: 1.8; }
	.lp-done__actions .lp-btn,
	.lp-form__submit .lp-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.btob-lp * { transition: none !important; scroll-behavior: auto !important; }
}
