/*
 * 暫定LP スタイル（front-page 専用）— 現行STUDIOトップの忠実再現
 * 外部Webフォント無し（速度優先）。
 */

:root {
	--lp-blue: #1a6fd4;
	--lp-blue-dark: #135bb0;
	--lp-blue-deep: #0b57b8;
	--lp-hero-bg: #e8f4fd;
	--lp-alt-bg: #f4f8fc;
	--lp-mark: #bfe0f5;
	--lp-yellow: #ffd21e;
	--lp-head: #1a1a2e;
	--lp-text: #444;
	--lp-line: #e7edf3;
}

.lp { color: var(--lp-text); font-size: 16px; line-height: 1.9; }
.lp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lp-narrow { max-width: 840px; }
.lp strong { color: var(--lp-head); }

/* 見出し */
.lp-eyebrow { color: var(--lp-blue); font-weight: 700; font-size: .95rem; letter-spacing: .04em; margin: 0 0 .5em; text-align: center; }
.lp-eyebrow--left { text-align: left; }
.lp-eyebrow--dark { color: #33475b; }
.lp-eyebrow--yellow { color: var(--lp-yellow); text-align: left; }
.lp-head { text-align: center; margin: 0 0 44px; }
.lp-head__title { color: var(--lp-head); font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; line-height: 1.4; margin: 0; }
.lp-head__title--blue { color: var(--lp-blue); }
.lp-head__title small { display: block; font-size: .9rem; color: var(--lp-blue); margin-top: .4em; }
.lp-head--row { display: flex; align-items: baseline; justify-content: space-between; text-align: left; gap: 16px; flex-wrap: wrap; }

/* セクション */
.lp-section { padding: 80px 0; }
.lp-section--alt { background: var(--lp-alt-bg); }
.lp-section--philosophy { background: var(--lp-alt-bg); padding: 80px 0 40px; }
/* こだわり下の写真：白背景に載せ、下端だけ青にかかる */
.lp-philo-photo { max-width: 1200px; margin: 32px auto -80px; padding: 0 24px; position: relative; z-index: 2; }
.lp-lead-center { text-align: center; max-width: 760px; margin: 0 auto; }

/* ボタン */
.lp-btn { display: inline-block; padding: 14px 32px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: background .2s; }
.lp-btn--primary { background: var(--lp-blue); color: #fff; }
.lp-btn--primary:hover { background: var(--lp-blue-dark); }
.lp-more { color: var(--lp-blue); font-weight: 700; text-decoration: none; white-space: nowrap; }
.lp-note { font-size: .82rem; color: #8a97a5; }

/* 1. ヒーロー（CTAボタン無し＝原本準拠） */
.lp-hero { background: var(--lp-hero-bg); padding: 110px 0 130px; position: relative; }
.lp-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: #fff; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.lp-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 32px; align-items: center; }
.lp-hero__title { color: var(--lp-head); font-size: clamp(1.6rem, 3.4vw, 2.35rem); font-weight: 700; line-height: 1.55; margin: 0 0 28px; }
.lp-mark { background: linear-gradient(transparent 62%, var(--lp-mark) 62%); padding: 0 .05em; }
/* サービス名称（ボタンではない）：濃紺・大きめ */
.lp-hero__badge { display: inline-block; background: var(--lp-blue-deep); color: #fff; font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.6rem); padding: 14px 36px; border-radius: 12px; margin: 0 0 26px; letter-spacing: .02em; }
.lp-hero__lead { max-width: 560px; margin: 0; }
.lp-hero__media img { display: block; width: 100%; height: auto; max-width: 560px; margin-left: auto; }

/* 2. お悩み（枠なし） */
.lp-worries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lp-worry { text-align: center; }
.lp-worry__img { width: 220px; max-width: 72%; height: auto; margin: 0 auto; display: block; }
.lp-worry__text { font-weight: 700; color: var(--lp-head); margin: 14px 0 0; }

/* 汎用：画像＋テキストの左右交互ブロック（理由・特徴） */
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.lp-split:last-child { margin-bottom: 0; }
.lp-split--reverse { direction: rtl; }
.lp-split--reverse > * { direction: ltr; }
.lp-split__title { color: var(--lp-head); font-size: 1.4rem; line-height: 1.5; margin: 0 0 16px; }
.lp-photo { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 10px 30px rgba(20,60,110,.12); }
/* 透過スマホ画像は影・角丸なし（白カードに見えないように） */
.lp-photo--bare { border-radius: 0; box-shadow: none; }
.lp-card-body { background: #fff; border-radius: 16px; padding: 36px; box-shadow: 0 10px 30px rgba(20,60,110,.08); }
.lp-feature__label { color: var(--lp-blue); font-weight: 700; letter-spacing: .08em; font-size: .82rem; margin: 0 0 8px; }
.lp-logos { background: #fff; border: 1px solid var(--lp-line); border-radius: 16px; padding: 28px; }
.lp-logos img { display: block; width: 100%; height: auto; }
/* Others＋3項目を1ブロックに */
.lp-others { background: var(--lp-alt-bg); border-radius: 20px; padding: 40px; margin-top: 8px; }
.lp-others .lp-split { margin-bottom: 40px; }
.lp-others .lp-card-body { background: transparent; box-shadow: none; padding: 0; }
.lp-subfeatures { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; }
.lp-subfeatures li { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 6px 18px rgba(20,60,110,.06); }
.lp-subfeatures strong { display: block; margin-bottom: 8px; }
.lp-subfeatures p { margin: 0; font-size: .9rem; }
.lp-subicon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lp-hero-bg); color: var(--lp-blue); margin-bottom: 14px; }

/* 5. データ（全面青） */
.lp-section--data { background: var(--lp-blue); color: #fff; padding: 120px 0 80px; }
.lp-data__photo { margin: 0; }
.lp-data__photo img { display: block; width: 100%; height: auto; border-radius: 16px; max-height: 440px; object-fit: cover; box-shadow: 0 16px 40px rgba(10,40,90,.22); }
.lp-data__main { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; margin: 0 0 48px; }
.lp-data__title { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; line-height: 1.5; margin: .3em 0; }
.lp-data__donut img { display: block; width: 100%; max-width: 320px; margin: 0 auto; height: auto; }
.lp-data__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lp-datacard__ttl { font-weight: 700; font-size: 1.05rem; margin: 0 0 .4em; }
.lp-datacard__q { font-size: .84rem; opacity: .9; }
/* 白カードは付けない（図版画像・ランキングは背景透明で直に） */
.lp-datacard__fig { margin: 14px 0; }
.lp-datacard__fig img { display: block; width: 100%; height: auto; border-radius: 8px; }
.lp-datacard__rank { margin: 14px 0; display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.lp-datacard__rank span { border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 8px; }
.lp-datacard__rank strong { color: #fff; }
.lp-source { font-size: .8rem; color: #8a97a5; }
.lp-source--light { color: rgba(255,255,255,.75); }

/* 7. 制作サンプル（スライダー） */
.lp-slider { position: relative; }
.lp-slider__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 4px 16px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.lp-slide { flex: 0 0 46%; max-width: 460px; scroll-snap-align: center; }
/* Instagram公式埋め込みのスライド */
.lp-slide--ig { flex: 0 0 auto; width: 340px; max-width: 90vw; }
.lp-slide--ig .instagram-media { margin: 0 auto !important; }
.lp-slider--ig .lp-slider__track { align-items: flex-start; }
.lp-slide img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(20,60,110,.12); }
.lp-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: none; background: #fff; color: var(--lp-blue); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 16px rgba(20,60,110,.2); }
.lp-slider__nav--prev { left: -8px; }
.lp-slider__nav--next { right: -8px; }
.lp-slider__nav:hover { background: var(--lp-hero-bg); }

/* 7'. 制作サンプル（全幅・1列・無限マーキー） */
.lp-fullbleed { width: auto; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.lp-mq { overflow: hidden; padding: 10px 0 6px; }
.lp-mq__row { display: flex; gap: 20px; width: max-content; padding: 0 20px; will-change: transform; }
.lp-mq:hover .lp-mq__row, .lp-mq:focus-within .lp-mq__row { animation-play-state: paused; }
.lp-mq__card { display: block; width: 260px; flex: 0 0 auto; text-decoration: none; color: inherit; }
.lp-mq__cre { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 6px 20px rgba(20,60,110,.10); transition: box-shadow .2s ease, transform .2s ease; }
.lp-mq__card:hover .lp-mq__cre { box-shadow: 0 12px 30px rgba(26,111,212,.18); transform: translateY(-3px); }
.lp-mq__cre img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-mq__meta { padding: 12px 4px 0; }
.lp-mq__nm { font-weight: 700; color: var(--lp-head); font-size: .95rem; line-height: 1.4; }
.lp-mq__in { color: var(--lp-text); font-size: .82rem; margin-top: 2px; }
.lp-mq__see { display: inline-block; margin-top: 6px; color: var(--lp-blue); font-weight: 700; font-size: .8rem; }
@keyframes lp-mq-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) {
	.lp-mq__card { width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
	.lp-mq { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.lp-mq__row { animation: none !important; }
}

/* 8. 料金 */
.lp-price { background: var(--lp-hero-bg); border-radius: 20px; padding: 40px; text-align: center; margin: 32px 0; }
.lp-price__free { display: inline-block; background: var(--lp-blue); color: #fff; font-weight: 700; padding: 6px 20px; border-radius: 999px; margin: 0 0 16px; }
.lp-price__main { font-size: 1.6rem; font-weight: 700; color: var(--lp-head); margin: 0; }
.lp-price__num { color: var(--lp-blue); font-size: 3rem; margin: 0 .1em; }
.lp-price__note { color: #8a97a5; margin: 4px 0 0; }
.lp-price__listhead { font-weight: 700; color: var(--lp-head); text-align: center; }
.lp-price__listhead span { display: block; font-weight: 400; font-size: .85rem; color: var(--lp-text); }
.lp-checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lp-checks li { position: relative; padding-left: 26px; }
.lp-checks li::before { content: "✓"; position: absolute; left: 0; top: .15em; color: #fff; background: var(--lp-blue); width: 18px; height: 18px; border-radius: 50%; font-size: .72rem; display: flex; align-items: center; justify-content: center; }

/* 9. FAQ */
.lp-faq__item { background: #fff; border: 1px solid var(--lp-line); border-radius: 12px; margin-bottom: 12px; padding: 0 24px; }
.lp-faq__item summary { cursor: pointer; font-weight: 700; color: var(--lp-head); padding: 18px 0; list-style: none; position: relative; }
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after { content: "＋"; position: absolute; right: 0; color: var(--lp-blue); }
.lp-faq__item[open] summary::after { content: "−"; }
.lp-faq__item p { margin: 0 0 18px; }

/* 10. コラム */
.lp-columns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-column a { text-decoration: none; color: inherit; display: block; }
.lp-column__thumb { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.lp-column__thumb--ph { background: var(--lp-alt-bg); }
.lp-column__ttl { font-weight: 700; color: var(--lp-head); }
.lp-seminar { background: #fff; border: 1px dashed #cdd9e6; border-radius: 12px; padding: 32px; text-align: center; }

/* 12. CTA（背景写真＋青オーバーレイ。画像が無ければ青単色にフォールバック） */
.lp-cta { position: relative; background-color: var(--lp-blue); background-image: linear-gradient( rgba(11, 60, 130, .78), rgba(11, 60, 130, .86) ), url( '../img/cta-bg.webp' ); background-size: cover; background-position: center; color: #fff; padding: 80px 0; }
.lp-cta__catch { text-align: center; font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 700; line-height: 1.5; margin: 0 0 40px; }
.lp-cta__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 840px; margin: 0 auto; }
.lp-cta__card { background: #fff; border-radius: 16px; padding: 32px; text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lp-cta__label { color: var(--lp-head); font-weight: 700; font-size: 1.2rem; }
.lp-cta__desc { color: var(--lp-text); font-size: .9rem; }

/* レスポンシブ */
@media (max-width: 860px) {
	.lp-worries, .lp-checks, .lp-data__grid, .lp-subfeatures, .lp-columns { grid-template-columns: 1fr; }
	.lp-split, .lp-data__main, .lp-cta__cards, .lp-hero__inner { grid-template-columns: 1fr; gap: 24px; }
	.lp-split--reverse { direction: ltr; }
	.lp-checks { grid-template-columns: 1fr 1fr; }
	.lp-section { padding: 56px 0; }
	.lp-hero { padding: 56px 0 88px; }
	.lp-hero__media { order: -1; }
	.lp-hero__media img { max-width: 380px; margin: 0 auto; }
	.lp-others { padding: 24px; }
	.lp-slide { flex-basis: 82%; }
	.lp-slider__nav--prev { left: 2px; }
	.lp-slider__nav--next { right: 2px; }
	.lp-data__photo { margin-top: 0; }
}
