/* ==========================================================================
   Ordinal Online — LP（トップページ）
   明るく押し出しの強い広告ページ型。ブランドの青＋問い合わせのオレンジ。
   ========================================================================== */

:root {
	--lp-blue: #1F4FE0;
	--lp-blue-deep: #1238B0;
	--lp-sky: #EAF1FF;
	--lp-cta: #FF8A00;
	--lp-cta-shadow: #C25F00;
	--lp-yellow: #FFE14D;
	--lp-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='%23ffffff' fill-opacity='.11'%3E%3Cpath d='M30.5 24h3v16h-3z'/%3E%3Cpath d='M24 30.5h16v3H24z'/%3E%3Ccircle cx='32' cy='32' r='3'/%3E%3Crect x='4' y='4' width='5' height='5'/%3E%3C/g%3E%3C/svg%3E");
}

/* 全ページ共通：問い合わせボタンをオレンジに */
.header-cta a.is-primary,
.sp-cta a.is-primary { background: var(--lp-cta); color: var(--ink); }
.header-cta a.is-primary:hover { background: #FFA033; color: var(--ink); }

/* Base -------------------------------------------------------------------- */
.lp-pattern { background-color: var(--lp-blue); background-image: var(--lp-pattern); color: #fff; }
.lp-section { padding: 96px 0; }
.lp-section--white { background: #fff; }
.lp-section--sky { background: var(--lp-sky); }
.lp-center { margin-top: 40px; text-align: center; }
.lp-em { color: var(--lp-blue); }
@media (max-width: 767px) { .lp-section { padding: 64px 0; } }

.lp-head { text-align: center; margin-bottom: 48px; }
.lp-head__en { font-family: var(--font-en); font-weight: 800; font-size: 14px; letter-spacing: .2em; color: var(--lp-blue); text-transform: uppercase; }
.lp-head__en::after { content: ""; display: block; width: 32px; height: 4px; margin: 10px auto 18px; border-radius: 2px; background: var(--lp-cta); }
.lp-head__title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; line-height: 1.45; letter-spacing: .04em; }
.lp-head__title .lp-em { background: linear-gradient(transparent 68%, var(--lp-yellow) 68%); padding: 0 .1em; }
.lp-head__lead { max-width: 720px; margin: 18px auto 0; color: var(--body); font-size: 15px; }
@media (max-width: 767px) { .lp-head { margin-bottom: 32px; } }

/* Buttons ----------------------------------------------------------------- */
.lp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 60px; padding: 0 36px; border-radius: 999px;
	background: var(--lp-cta); color: var(--ink); box-shadow: 0 5px 0 var(--lp-cta-shadow);
	font-weight: 900; font-size: 17px; letter-spacing: .06em; line-height: 1.3; text-decoration: none;
	transition: transform .15s, box-shadow .15s, background-color .15s;
}
.lp-btn:hover { color: var(--ink); background: #FFA033; transform: translateY(2px); box-shadow: 0 3px 0 var(--lp-cta-shadow); }
.lp-btn--lg { min-height: 72px; padding: 0 56px; font-size: 20px; }
.lp-btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; box-shadow: 0 3px 0 var(--lp-cta-shadow); }
.lp-btn--white { background: #fff; color: var(--lp-blue); box-shadow: 0 5px 0 rgba(10, 30, 90, .35); }
.lp-btn--white:hover { background: #fff; color: var(--lp-blue-deep); box-shadow: 0 3px 0 rgba(10, 30, 90, .35); }
.lp-btn--outline { background: #fff; color: var(--lp-blue); border: 2px solid var(--lp-blue); box-shadow: none; min-height: 52px; font-size: 15px; }
.lp-btn--outline:hover { background: var(--lp-sky); color: var(--lp-blue); box-shadow: none; }

.lp-checks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lp-checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 15px; line-height: 1.6; }
.lp-checks__icon { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--lp-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* Hero -------------------------------------------------------------------- */
.lp-hero { position: relative; padding: 56px 0 120px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%); }
.lp-hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.lp-hero__eyebrow { display: inline-block; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.lp-hero__title { margin-top: 20px; font-size: clamp(40px, 5.4vw, 72px); font-weight: 900; line-height: 1.22; letter-spacing: .02em; }
.lp-hero__em { color: var(--lp-yellow); }
.lp-hero__lead { margin-top: 20px; max-width: 560px; font-size: 16px; font-weight: 500; color: #E7EEFF; }
.lp-medals { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.lp-medal {
	width: 150px; height: 150px; border-radius: 50%; background: #fff; color: var(--ink);
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px;
	box-shadow: 0 0 0 5px rgba(255, 255, 255, .25);
}
.lp-medal__label { font-size: 11px; font-weight: 700; line-height: 1.35; color: var(--body); padding: 0 14px; }
.lp-medal__value { display: flex; flex-direction: column; align-items: center; line-height: 1; color: var(--lp-blue); }
.lp-medal__value span { font-family: var(--font-en); font-weight: 800; font-size: 34px; letter-spacing: -.02em; }
.lp-medal__value small { margin-top: 4px; font-size: 12px; font-weight: 900; }
.lp-hero__note { margin-top: 14px; font-size: 11px; color: #D5E1FF; }

.lp-hero__side { position: relative; }
.lp-hero__card { position: relative; padding: 40px 32px 32px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 24px 48px rgba(6, 22, 80, .28); }
.lp-hero__card-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); padding: 6px 20px; border-radius: 999px; background: var(--lp-cta); color: var(--ink); font-size: 13px; font-weight: 900; white-space: nowrap; }
.lp-hero__card-title { text-align: center; font-size: 22px; font-weight: 900; letter-spacing: .04em; margin-bottom: 20px; }
.lp-hero__buttons { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.lp-hero__buttons .lp-btn { width: 100%; }
.lp-hero__illust { position: absolute; right: -24px; bottom: -110px; width: 220px; height: auto; pointer-events: none; }

@media (max-width: 1023px) {
	.lp-hero { padding: 32px 0 96px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%); }
	.lp-hero__inner { grid-template-columns: 1fr; gap: 36px; }
	.lp-hero__title { font-size: clamp(36px, 10vw, 56px); }
	.lp-medals { justify-content: center; gap: 10px; }
	.lp-medal { width: 104px; height: 104px; }
	.lp-medal__label { font-size: 9px; padding: 0 8px; }
	.lp-medal__value span { font-size: 24px; }
	.lp-medal__value small { font-size: 10px; }
	.lp-hero__illust { display: none; }
}

/* Points ------------------------------------------------------------------ */
.lp-points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lp-point {
	position: relative; padding: 48px 36px 36px; border-radius: 24px; background: var(--lp-sky);
	display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 20px; row-gap: 10px; align-content: start;
}
.lp-point__num {
	position: absolute; top: -14px; left: 32px; padding: 4px 16px; border-radius: 999px;
	background: var(--lp-blue); color: #fff; font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .12em;
}
.lp-point__icon { grid-row: span 2; width: 72px; height: 72px; border-radius: 20px; background: #fff; color: var(--lp-blue); display: flex; align-items: center; justify-content: center; }
.lp-point__title { font-size: 21px; font-weight: 900; line-height: 1.5; }
.lp-point__desc { font-size: 14px; color: var(--body); }
.lp-point__chips { grid-column: 2; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.lp-point__chips li { padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--lp-blue); font-size: 12px; font-weight: 700; }
@media (max-width: 767px) {
	.lp-points { grid-template-columns: 1fr; gap: 28px; }
	.lp-point { padding: 40px 22px 26px; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; }
	.lp-point__icon { width: 56px; height: 56px; border-radius: 16px; grid-row: span 1; }
	.lp-point__desc, .lp-point__chips { grid-column: 1 / -1; }
	.lp-point__title { font-size: 18px; align-self: center; }
}

/* CTA band ---------------------------------------------------------------- */
.lp-cta { padding: 72px 0 80px; text-align: center; }
.lp-cta__title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: .06em; }
.lp-cta__lead { margin-top: 10px; color: #E7EEFF; font-size: 15px; }
.lp-cta__items { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 48px; margin: 32px 0 36px; }
.lp-cta__items li { display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; line-height: 1.5; }
.lp-cta__icon { width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--lp-blue); display: flex; align-items: center; justify-content: center; }
.lp-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }
.lp-cta__note { margin-top: 18px; font-size: 12px; color: #D5E1FF; }
@media (max-width: 767px) {
	.lp-cta { padding: 56px 0 64px; }
	.lp-cta__items { gap: 12px; }
	.lp-cta__items li { width: calc(33.33% - 8px); font-size: 12px; }
	.lp-cta__icon { width: 56px; height: 56px; }
	.lp-cta__buttons .lp-btn { width: 100%; }
	.lp-btn--lg { padding: 0 24px; font-size: 18px; }
}

/* Cases ------------------------------------------------------------------- */
.lp-cases { display: flex; flex-direction: column; gap: 32px; }
.lp-case { background: #fff; border-radius: 24px; padding: 36px; box-shadow: 0 10px 30px rgba(31, 79, 224, .08); }
.lp-case__head { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 28px; text-align: center; }
.lp-case__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--lp-sky); color: var(--lp-blue); display: flex; align-items: center; justify-content: center; }
.lp-case__headline { font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; line-height: 1.45; }
.lp-case__num { color: var(--lp-cta-shadow); font-size: 1.35em; background: linear-gradient(transparent 70%, var(--lp-yellow) 70%); }
.lp-case__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.lp-case__visual img, .lp-case__noimg { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.lp-case__noimg { display: flex; align-items: center; justify-content: center; background: var(--lp-sky); color: var(--lp-blue); }
.lp-case__label { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--body); text-align: center; }
.lp-case__story { display: flex; flex-direction: column; align-items: stretch; }
.lp-case__box { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; }
.lp-case__box--issue { background: var(--bg); }
.lp-case__box--result { background: var(--lp-sky); border: 2px solid var(--lp-blue); }
.lp-case__tag { display: flex; align-items: center; justify-content: center; height: 72px; border-radius: 12px; background: var(--muted); color: #fff; font-weight: 900; font-size: 14px; }
.lp-case__box--result .lp-case__tag { background: var(--lp-blue); }
.lp-case__box ul { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.6; }
.lp-case__box--issue li::before { content: "・"; color: var(--muted); }
.lp-case__box--result li { display: flex; gap: 8px; font-weight: 700; }
.lp-case__box--result .lp-checks__icon { flex-basis: 18px; width: 18px; height: 18px; margin-top: 3px; }
.lp-case__arrow { align-self: center; color: var(--lp-blue); margin: 2px 0; }
.lp-case__more { margin-top: 20px; text-align: right; }
.lp-case__more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--lp-blue); }
@media (max-width: 767px) {
	.lp-case { padding: 24px 18px; }
	.lp-case__head { flex-direction: column; gap: 8px; }
	.lp-case__body { grid-template-columns: 1fr; gap: 20px; }
	.lp-case__box { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
	.lp-case__tag { height: 32px; width: 88px; font-size: 13px; }
}

/* Recommend --------------------------------------------------------------- */
.lp-rec { display: grid; grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr); gap: 32px; align-items: center; }
.lp-rec__col { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.lp-bubble {
	position: relative; padding: 18px 22px; border-radius: 20px; background: #fff; border: 2px solid var(--lp-blue);
	font-size: 15px; font-weight: 700; line-height: 1.6; text-align: center;
}
.lp-bubble::after {
	content: ""; position: absolute; top: 50%; width: 16px; height: 16px; background: #fff; border: 2px solid var(--lp-blue);
	transform: translateY(-50%) rotate(45deg);
}
.lp-bubble--left::after { right: -10px; border-left: 0; border-bottom: 0; }
.lp-bubble--right::after { left: -10px; border-right: 0; border-top: 0; }
.lp-rec__center { display: flex; justify-content: center; }
.lp-rec__illust { width: 100%; height: auto; }
.lp-rec__mark { width: 220px; height: 220px; border-radius: 50%; background: var(--lp-sky); color: var(--lp-blue); display: flex; align-items: center; justify-content: center; }
.lp-rec__answer {
	display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 40px;
	font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; text-align: center; color: var(--lp-blue);
}
.lp-rec__chev { color: var(--lp-cta); }
@media (max-width: 1023px) {
	.lp-rec { grid-template-columns: 1fr; gap: 16px; }
	.lp-rec__center { order: -1; }
	.lp-rec__mark { width: 160px; height: 160px; }
	.lp-rec__mark svg { width: 88px; height: 88px; }
	.lp-bubble::after { display: none; }
	.lp-rec__col { gap: 12px; }
	.lp-bubble { font-size: 14px; padding: 14px 16px; }
}

/* Services (LP内) --------------------------------------------------------- */
.lp-services { padding-bottom: 0; }
.lp-services .lp-head { margin-bottom: 0; }
.lp-services .service { padding-top: 40px; }
.lp-services .service__ghost { color: var(--lp-sky); }

/* Proposal ---------------------------------------------------------------- */
.lp-proposal { max-width: 960px; margin: 0 auto; }
.lp-proposal__img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 16px 40px rgba(31, 79, 224, .15); }
.lp-window { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 16px 40px rgba(31, 79, 224, .15); }
.lp-window__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #DCE5FA; }
.lp-window__bar span { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.lp-window__bar b { margin-left: 12px; font-size: 13px; color: var(--ink); }
.lp-window__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lp-window__table th { padding: 12px 16px; background: var(--lp-blue); color: #fff; text-align: left; font-weight: 700; }
.lp-window__table td { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.lp-window__table tr:nth-child(even) td { background: #F7F9FF; }
.lp-window__table td:nth-child(2), .lp-window__table td:nth-child(4) { text-align: center; font-weight: 700; color: var(--lp-blue); }
.lp-proposal figcaption { margin-top: 24px; }
.lp-proposal__tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lp-proposal__tags li { padding: 10px 20px; border-radius: 10px; background: var(--lp-cta); color: var(--ink); font-weight: 900; font-size: 14px; box-shadow: 0 3px 0 var(--lp-cta-shadow); }
@media (max-width: 767px) {
	.lp-window { overflow-x: auto; }
	.lp-window__table { min-width: 520px; font-size: 13px; }
}

/* Flow -------------------------------------------------------------------- */
.lp-flow { display: flex; flex-direction: column; gap: 20px; }
.lp-flow__phase { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; }
.lp-flow__label {
	writing-mode: vertical-rl; text-orientation: upright; display: flex; align-items: center; justify-content: center;
	border-radius: 999px; background: var(--lp-blue); color: #fff; font-weight: 900; font-size: 16px; letter-spacing: .3em; padding: 20px 0;
}
.lp-flow__phase--2 .lp-flow__label { background: var(--lp-cta); color: var(--ink); }
.lp-flow__steps { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.lp-flow__step { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 16px; background: var(--lp-sky); flex-wrap: wrap; }
.lp-flow__icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--lp-blue); display: flex; align-items: center; justify-content: center; }
.lp-flow__text { flex: 1 1 260px; min-width: 0; }
.lp-flow__text h3 { font-size: 17px; font-weight: 900; line-height: 1.5; }
.lp-flow__text p { font-size: 13px; color: var(--body); }
@media (max-width: 767px) {
	.lp-flow__phase { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
	.lp-flow__label { font-size: 14px; }
	.lp-flow__step { padding: 14px 16px; gap: 12px; }
	.lp-flow__icon { flex-basis: 40px; width: 40px; height: 40px; }
	.lp-flow__step .lp-btn { width: 100%; }
}

/* 既存パーツをLPの中で使うときの調整 ---------------------------------------- */
.home .faq .sec-head__en { color: var(--lp-blue); }
.home .site-header { background: #fff; padding-bottom: 14px; }
.home .site-header .gnav ul { background: var(--bg); }
.lp-section--white .price-wrap { background: var(--lp-sky); }
.lp-section--white .price-table th, .lp-section--white .price-table td { border-bottom-color: #CFDBF7; }

/* ヒーロー：英字キャッチ「Web as an Asset.」＋日本語の見出し */
.lp-hero__catch { margin-top: 18px; font-family: var(--font-en); font-weight: 800; font-size: clamp(60px, 7.4vw, 108px); line-height: .95; letter-spacing: -.03em; }
.lp-hero__catch em { font-style: normal; color: var(--lp-yellow); }
.lp-hero__title { margin-top: 24px; font-size: clamp(20px, 2vw, 26px); font-weight: 900; line-height: 1.6; letter-spacing: .1em; }
@media (max-width: 1023px) {
	.lp-hero__catch { font-size: clamp(56px, 15vw, 88px); }
	.lp-hero__title { font-size: 18px; letter-spacing: .08em; }
}

/* ヘッダーのロゴ（マーク＋ロゴタイプのSVG） */
.site-logo__img { display: block; width: auto; height: 30px; color: var(--ink); }
.is-menu-open .site-logo__img { color: #fff; }
.site-logo__jp { margin-top: 6px; }
@media (max-width: 1023px) { .site-logo__img { height: 24px; } .site-logo__jp { margin-top: 5px; } }
.lp-hero__copy > :first-child { margin-top: 0; }

/* Mission / Vision（トップ：ヒーロー直下） */
.lp-statements { background: var(--bg); margin-top: -1px; }
.lp-statements .statements { padding-top: 64px; padding-bottom: 96px; }
.lp-statements .sec-head__en { color: var(--lp-blue); }
.lp-statements .sec-head__jp::before { background: var(--lp-cta); }
@media (max-width: 1023px) { .lp-statements .statements { padding-top: 40px; padding-bottom: 64px; } }
