/* 回線診断・比較LP — 専用スタイル */
:root {
	--nt-bg: #ffffff;
	--nt-bg-soft: #f3f6fc;
	--nt-ink: #1c1a19;
	--nt-sub: #6b6560;
	--nt-line: #dde5f2;
	--nt-accent: #1d4ed8;
	--nt-accent-dk: #1e3a8a;
	--nt-accent-lt: #e2eafc;
	--nt-gold: #2563eb;
	--nt-radius: 18px;
	--nt-shadow: 0 1px 2px rgba(28, 26, 25, .04), 0 8px 28px rgba(28, 26, 25, .06);
	--nt-serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
	--nt-sans: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
}

.ntlp *, .ntlp *::before, .ntlp *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.ntlp {
	margin: 0;
	background: var(--nt-bg);
	color: var(--nt-ink);
	font-family: var(--nt-sans);
	font-size: 16px;
	line-height: 1.85;
	letter-spacing: .02em;
	-webkit-font-smoothing: antialiased;
	padding-bottom: 72px;
}
.ntlp img { max-width: 100%; height: auto; }
.ntlp a { color: inherit; }
.ntlp h1, .ntlp h2, .ntlp h3, .ntlp h4 { margin: 0; line-height: 1.45; font-weight: 600; }
.ntlp p { margin: 0; }
@media (min-width: 768px) { body.ntlp { padding-bottom: 0; } }

.nt-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.nt-wrap--narrow { max-width: 760px; }

/* TOPBAR */
.nt-topbar { background: #1c1a19; color: #d8d2ca; font-size: 12px; }
.nt-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
.nt-back { color: #fff !important; text-decoration: none; font-weight: 700; white-space: nowrap; }
.nt-back:hover { text-decoration: underline; }
.nt-topbar__pr { text-align: right; opacity: .85; }
@media (max-width: 600px) { .nt-topbar__in { flex-direction: column; align-items: flex-start; gap: 2px; } .nt-topbar__pr { text-align: left; font-size: 11px; } }

/* HEADER */
.nt-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--nt-line); }
.admin-bar .nt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nt-header { top: 46px; } }
.nt-header__in { display: flex; align-items: center; gap: 16px; height: 60px; }
.nt-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--nt-accent-dk); }
.nt-logo__txt { font-family: var(--nt-serif); font-weight: 600; font-size: 17px; color: var(--nt-ink); letter-spacing: .06em; }
.nt-nav { display: none; margin-left: auto; gap: 26px; font-size: 14px; }
.nt-nav a { text-decoration: none; color: var(--nt-sub); transition: color .2s; }
.nt-nav a:hover { color: var(--nt-accent); }
.nt-nav .nt-nav__home { color: var(--nt-accent-dk); font-weight: 700; }
.nt-header .nt-btn--sm { margin-left: auto; }
@media (min-width: 900px) { .nt-nav { display: flex; } .nt-header .nt-btn--sm { margin-left: 8px; } }

/* BUTTONS */
.nt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--nt-accent); color: #fff !important; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 14px 28px; border: 0; cursor: pointer; font-size: 15px; transition: transform .15s, background .2s, box-shadow .2s; box-shadow: 0 6px 18px rgba(0,0,0,.16); font-family: inherit; }
.nt-btn:hover { background: var(--nt-accent-dk); transform: translateY(-1px); }
.nt-btn--sm { padding: 8px 18px; font-size: 13px; box-shadow: none; }
.nt-btn--xs { padding: 6px 14px; font-size: 12px; box-shadow: none; white-space: nowrap; }
.nt-btn--lg { padding: 18px 40px; font-size: 17px; }
.nt-btn--white { background: #fff; color: var(--nt-accent-dk) !important; }
.nt-btn--white:hover { background: var(--nt-accent-lt); }
.nt-btn--aff { width: 100%; }
.nt-btn--xs.nt-btn--aff { width: auto; }
.nt-btn--disabled { background: #eee; color: #999 !important; box-shadow: none; cursor: default; width: 100%; }
.nt-btn--disabled.nt-btn--xs { width: auto; }
.nt-btn--disabled:hover { background: #eee; transform: none; }
.nt-link { color: var(--nt-accent-dk); font-size: 14px; font-weight: 500; text-underline-offset: 4px; }

/* HERO */
.nt-hero { background: radial-gradient(120% 80% at 85% 0%, var(--nt-accent-lt) 0%, rgba(0,0,0,0) 60%), linear-gradient(180deg, #fff 0%, var(--nt-bg-soft) 100%); padding: 40px 0 56px; text-align: center; position: relative; overflow: hidden; }
.nt-eyebrow { font-size: 12px; letter-spacing: .24em; color: var(--nt-accent); font-weight: 700; margin-bottom: 12px; }
.nt-hero__title { font-family: var(--nt-serif); font-size: clamp(28px, 6.4vw, 48px); letter-spacing: .04em; }
.nt-hero__lead { margin-top: 20px; color: var(--nt-sub); font-size: 15px; }
.nt-hero__cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nt-hero__note { font-size: 12px; color: var(--nt-sub); }
.nt-hero__badges { list-style: none; padding: 0; margin: 36px auto 0; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.nt-hero__badges li { background: #fff; border: 1px solid var(--nt-line); border-radius: 999px; padding: 6px 16px; font-size: 13px; color: var(--nt-sub); }
.nt-hero__badges strong { color: var(--nt-accent-dk); font-size: 18px; margin-right: 4px; font-family: var(--nt-serif); }
.nt-nw { display: inline-block; }
.nt-hero__in.has-visual { display: grid; gap: 28px; }
.nt-hero__visual { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; order: -1; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nt-hero__visual::-webkit-scrollbar { display: none; }
.nt-hero__photo { scroll-snap-align: start; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(28,26,25,.16); background: #fff; }
.nt-hero__photo .nt-banner { margin: 0; }
.nt-hero__photo .nt-banner a { border-radius: 0; }
.nt-hero__photo-pr { grid-column: 1 / -1; font-size: 10px; color: var(--nt-sub); display: none; }
@media (min-width: 900px) {
	.nt-hero { padding: 56px 0 64px; text-align: left; }
	.nt-hero__in.has-visual { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
	.nt-hero__in.has-visual .nt-hero__title { font-size: clamp(32px, 3.6vw, 46px); }
	.nt-hero__in.has-visual .nt-hero__cta { align-items: flex-start; }
	.nt-hero__in.has-visual .nt-hero__badges { justify-content: flex-start; }
	.nt-hero__visual { order: 0; overflow: visible; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; gap: 14px; }
	.nt-hero__photo:nth-child(2) { transform: translateY(24px); }
	.nt-hero__photo:nth-child(4) { transform: translateY(24px); }
	.nt-hero__photo-pr { display: block; text-align: right; margin-top: 36px; }
}

/* STEPS */
.nt-steps { padding: 28px 0; border-bottom: 1px solid var(--nt-line); }
.nt-steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.nt-steps__list li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 8px; position: relative; }
.nt-steps__list span { font-family: var(--nt-serif); color: var(--nt-accent); font-size: 16px; }
.nt-steps__list b { font-size: 15px; }
.nt-steps__list small { font-size: 12px; color: var(--nt-sub); }
@media (min-width: 768px) {
	.nt-steps__list { grid-template-columns: repeat(4, 1fr); }
	.nt-steps__list li + li::before { content: ""; position: absolute; left: -6px; top: 50%; width: 10px; height: 10px; border-top: 1px solid var(--nt-line); border-right: 1px solid var(--nt-line); transform: translate(-50%, -50%) rotate(45deg); }
}

/* SECTION */
.nt-section { padding: 72px 0; }
.nt-section:nth-of-type(even) { background: var(--nt-bg-soft); }
.nt-sechead { text-align: center; margin-bottom: 36px; }
.nt-sechead h2 { font-family: var(--nt-serif); font-size: clamp(22px, 4.6vw, 32px); letter-spacing: .04em; }
.nt-sechead > p:not(.nt-eyebrow) { margin-top: 12px; color: var(--nt-sub); font-size: 14px; }

.nt-card { background: #fff; border: 1px solid var(--nt-line); border-radius: var(--nt-radius); padding: 24px; box-shadow: var(--nt-shadow); }
.nt-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .nt-grid--2 { grid-template-columns: repeat(2, 1fr); } .nt-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.nt-check { list-style: none; padding: 0; margin: 12px 0 0; }
.nt-check li { position: relative; padding-left: 26px; font-size: 14px; margin: 6px 0; }
.nt-check li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--nt-accent); border-bottom: 2px solid var(--nt-accent); transform: rotate(-45deg); }

/* QUIZ */
.nt-diag { background: linear-gradient(180deg, var(--nt-bg-soft), #fff) !important; }
.nt-quiz { background: #fff; border: 1px solid var(--nt-line); border-radius: 24px; padding: 28px 20px; box-shadow: var(--nt-shadow); min-height: 320px; }
@media (min-width: 768px) { .nt-quiz { padding: 40px 48px; } }
.nt-quiz__bar { height: 4px; background: var(--nt-line); border-radius: 4px; overflow: hidden; }
.nt-quiz__bar span { display: block; height: 100%; background: var(--nt-accent); transition: width .3s; }
.nt-quiz__count { margin-top: 20px; font-size: 12px; letter-spacing: .16em; color: var(--nt-accent); font-weight: 700; }
.nt-quiz__q { margin-top: 6px; font-size: 20px; }
.nt-quiz__opts { margin-top: 20px; display: grid; gap: 10px; }
.nt-opt { text-align: left; background: #fff; border: 1.5px solid var(--nt-line); border-radius: 14px; padding: 16px 18px; font-size: 15px; font-family: inherit; color: var(--nt-ink); cursor: pointer; transition: border-color .15s, background .15s; position: relative; }
.nt-opt::after { content: "›"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--nt-accent); font-size: 20px; }
.nt-opt:hover, .nt-opt:focus-visible { border-color: var(--nt-accent); background: var(--nt-accent-lt); outline: none; }
.nt-opt.is-selected { border-color: var(--nt-accent); background: var(--nt-accent-lt); }
.nt-quiz__back, .nt-quiz__retry { margin-top: 18px; background: none; border: 0; color: var(--nt-sub); font-size: 13px; cursor: pointer; font-family: inherit; padding: 4px 0; }

.nt-result { text-align: left; }
.nt-result__title { font-family: var(--nt-serif); font-size: 22px; }
.nt-result__note { font-size: 12px; color: var(--nt-sub); margin: 6px 0 20px; }
.nt-rcard { margin-top: 16px; box-shadow: none; }
.nt-rcard.is-top { border: 2px solid var(--nt-accent); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.nt-rcard__head { display: flex; align-items: center; gap: 14px; }
.nt-rank { flex: 0 0 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--nt-bg-soft); color: var(--nt-accent-dk); font-family: var(--nt-serif); font-weight: 600; }
.is-top .nt-rank { background: var(--nt-accent); color: #fff; }
.nt-rcard__type { font-size: 11px; color: var(--nt-sub); }
.nt-rcard h4 { font-size: 17px; }
.nt-match { margin-left: auto; text-align: right; line-height: 1; color: var(--nt-accent-dk); white-space: nowrap; }
.nt-match b { font-family: var(--nt-serif); font-size: 28px; }
.nt-match small { font-size: 11px; }
.nt-rcard__catch { margin-top: 12px; font-size: 14px; }
.nt-rcard__why { margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--nt-accent); letter-spacing: .08em; }
.nt-rcard__caution { margin-top: 10px; font-size: 12px; color: var(--nt-sub); background: var(--nt-bg-soft); border-radius: 10px; padding: 8px 12px; }
.nt-rcard__actions { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nt-result__foot { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; align-items: center; }
.nt-result__foot .nt-quiz__retry { margin: 0; }

/* GUIDE */
.nt-guide__item h3 { font-size: 16px; }
.nt-guide__item p { margin-top: 10px; font-size: 14px; color: var(--nt-sub); }
.nt-guide__item strong { color: var(--nt-ink); }

/* TABLE */
.nt-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--nt-line); border-radius: var(--nt-radius); background: #fff; }
.nt-table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 13px; }
.nt-table th, .nt-table td { padding: 14px 12px; border-bottom: 1px solid var(--nt-line); text-align: left; vertical-align: middle; }
.nt-table thead th { background: var(--nt-bg-soft); font-size: 12px; color: var(--nt-sub); font-weight: 500; white-space: nowrap; }
.nt-table tbody th { position: sticky; left: 0; background: #fff; font-weight: 700; min-width: 220px; z-index: 1; box-shadow: 1px 0 0 var(--nt-line); }
.nt-table tbody tr:last-child th, .nt-table tbody tr:last-child td { border-bottom: 0; }
.nt-table--sm { min-width: 560px; }
.nt-dots { display: inline-flex; gap: 3px; }
.nt-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--nt-line); display: block; }
.nt-dots i.on { background: var(--nt-accent); }
.nt-note { margin-top: 12px; font-size: 12px; color: var(--nt-sub); text-align: center; }

/* SHOP/THUMB */
.nt-shop { display: flex; align-items: center; gap: 14px; }
.nt-thumb { flex: 0 0 96px; width: 96px; height: 80px; border-radius: 10px; overflow: hidden; background: var(--nt-bg-soft); display: block; position: relative; box-shadow: 0 1px 4px rgba(28,26,25,.12); }
.nt-thumb .nt-banner { margin: 0; height: 100%; }
.nt-thumb .nt-banner a { height: 100%; border-radius: 0; }
.nt-thumb .nt-banner a img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.nt-thumb--empty { display: grid; place-items: center; font-size: 34px; background: linear-gradient(135deg, var(--nt-accent-lt), #fff); border: 1px solid var(--nt-line); box-shadow: none; }
@media (min-width: 768px) { .nt-thumb { flex-basis: 120px; width: 120px; height: 100px; } }

/* PRODUCTS */
.nt-product { display: flex; flex-direction: column; }
.nt-product__type { font-size: 12px; color: var(--nt-accent); font-weight: 700; }
.nt-product h3 { font-size: 20px; font-family: var(--nt-serif); margin-top: 4px; }
.nt-product__catch { margin-top: 6px; color: var(--nt-sub); font-size: 14px; }
.nt-product__meta { margin: 16px 0 20px; display: grid; gap: 8px; font-size: 13px; }
.nt-product__meta div { display: grid; grid-template-columns: 88px 1fr; gap: 8px; background: var(--nt-bg-soft); border-radius: 10px; padding: 8px 12px; }
.nt-product__meta dt { color: var(--nt-sub); }
.nt-product__meta dd { margin: 0; }
.nt-product .nt-btn { margin-top: auto; }
.nt-product__maker { margin-top: 10px; font-size: 11px; color: var(--nt-sub); text-align: center; }

/* REVIEWS */
.nt-review-filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 16px; }
.nt-review-filter button { flex: 0 0 auto; border: 1px solid var(--nt-line); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer; font-family: inherit; color: var(--nt-sub); }
.nt-review-filter button.is-active { background: var(--nt-ink); color: #fff; border-color: var(--nt-ink); }
.nt-review-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.nt-review { box-shadow: none; }
.nt-review__head { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 12px; }
.nt-stars { color: var(--nt-gold); letter-spacing: 2px; font-size: 14px; }
.nt-stars span { color: var(--nt-line); }
.nt-review__prod { color: var(--nt-sub); }
.nt-review__text { margin-top: 8px; font-size: 14px; }
.nt-review__attr { margin-top: 8px; font-size: 12px; color: var(--nt-sub); }

/* ARTICLE */
.nt-prose { font-size: 15px; }
.nt-prose h2 { font-family: var(--nt-serif); font-size: 22px; margin: 40px 0 16px; }
.nt-prose h3 { font-size: 18px; margin: 28px 0 12px; }
.nt-prose p, .nt-prose ul, .nt-prose ol { margin: 0 0 16px; }

/* POLICY */
.nt-policy__box { box-shadow: none; }
.nt-policy__box h2 { font-size: 17px; }

/* FAQ */
.nt-faq__list { display: grid; gap: 10px; }
.nt-faq__item { background: #fff; border: 1px solid var(--nt-line); border-radius: 14px; padding: 0 20px; }
.nt-faq__item summary { list-style: none; cursor: pointer; padding: 18px 28px 18px 0; font-weight: 700; font-size: 15px; position: relative; }
.nt-faq__item summary::-webkit-details-marker { display: none; }
.nt-faq__item summary::before { content: "Q"; color: var(--nt-accent); font-family: var(--nt-serif); margin-right: 10px; }
.nt-faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--nt-accent); font-size: 20px; font-weight: 400; transition: transform .2s; }
.nt-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.nt-faq__item p { padding: 0 0 18px; font-size: 14px; color: var(--nt-sub); }

/* CHECKLIST */
.nt-checklist__list { list-style: none; counter-reset: ck; padding: 0; margin: 0; display: grid; gap: 12px; }
.nt-checklist__list li { counter-increment: ck; position: relative; padding: 18px 20px 18px 62px; box-shadow: none; }
.nt-checklist__list li::before { content: counter(ck); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--nt-accent); color: #fff; display: grid; place-items: center; font-family: var(--nt-serif); font-size: 14px; }
.nt-checklist__list b { font-size: 15px; }
.nt-checklist__list p { margin-top: 4px; font-size: 14px; color: var(--nt-sub); }
@media (min-width: 768px) { .nt-checklist__list { grid-template-columns: repeat(2, 1fr); } }

/* LAST CTA */
.nt-lastcta { background: linear-gradient(135deg, var(--nt-accent) 0%, var(--nt-accent-dk) 100%); color: #fff; text-align: center; padding: 64px 0; }
.nt-lastcta h2 { font-family: var(--nt-serif); font-size: clamp(22px, 4.6vw, 30px); }
.nt-lastcta p { margin: 12px 0 28px; opacity: .9; font-size: 14px; }

/* FOOTER */
.nt-footer { background: #1c1a19; color: #d8d2ca; padding: 48px 0 32px; font-size: 13px; }
.nt-footer__top { display: flex; flex-direction: column; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nt-logo--footer .nt-logo__txt { color: #fff; }
.nt-footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.nt-footer__nav a { color: #d8d2ca; text-decoration: none; }
.nt-footer__nav a:hover { color: #fff; }
.nt-footer__disc { margin-top: 20px; font-size: 12px; line-height: 1.8; color: #a9a29a; }
.nt-footer__copy { margin-top: 16px; font-size: 11px; color: #8a8378; }
@media (min-width: 768px) { .nt-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }

/* STICKY CTA (SP) */
.nt-sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; justify-content: center; gap: 8px; background: var(--nt-accent); color: #fff !important; text-decoration: none; font-weight: 700; padding: 15px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.28); transform: translateY(140%); transition: transform .3s; }
.nt-sticky.is-show { transform: translateY(0); }
@media (min-width: 768px) { .nt-sticky { display: none; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ntlp * { transition: none !important; } }

/* BANNER (A8) */
.nt-banner { margin: 0 0 16px; text-align: center; }
.nt-banner a { display: block; border-radius: 14px; overflow: hidden; background: var(--nt-bg-soft); }
.nt-banner img[width="1"], .nt-banner img[height="1"] { position: absolute; width: 1px !important; height: 1px !important; opacity: 0; }
.nt-banner img { display: block; width: 100%; height: auto; margin: 0 auto; }
.nt-product .nt-banner { margin: -24px -24px 18px; }
.nt-product .nt-banner a { border-radius: var(--nt-radius) var(--nt-radius) 0 0; }
.nt-rcard .nt-banner { margin: 14px 0 4px; }

/* GALLERY */
.nt-gallery { padding: 8px 0 40px; background: linear-gradient(180deg, var(--nt-bg-soft), #fff); }
.nt-gallery__lead { text-align: center; font-family: var(--nt-serif); font-size: 18px; color: var(--nt-accent-dk); margin-bottom: 16px; letter-spacing: .1em; }
.nt-gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .nt-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.nt-gallery__item { margin: 0; background: #fff; border: 1px solid var(--nt-line); border-radius: 16px; overflow: hidden; box-shadow: var(--nt-shadow); }
.nt-gallery__item .nt-banner { margin: 0; }
.nt-gallery__item .nt-banner a { border-radius: 0; }
.nt-gallery__item figcaption { font-size: 12px; font-weight: 700; padding: 8px 10px; text-align: center; }
.nt-gallery__pr { margin-top: 10px; text-align: center; font-size: 11px; color: var(--nt-sub); }
