/* 新デザイン：記事型の1カラムLP。テーマ色はここで変更できます。 */
:root {
  --orange: #ff942e; /* Bright orange CTA */
  --orange-dark: #a94c08;
  --brand: #9a4d19; /* Brand / headings */
  --brand-dark: #663515;
  --surface: #f5ede4;
  --yellow: #f4de8a;
  --cta-end: #ff7818;
  --cta-border: #c2530c;
  --cta-soft: #fff2e2;
  --cta-ink: #452006;
  --cta-hover: #f77a1c;
  --cta-gradient: linear-gradient(135deg,var(--orange),var(--cta-end));
  --brand-gradient: linear-gradient(115deg,var(--brand),#b4672b);
  --ink: #382818;
  --muted: #846d55;
  --line: #dddeda;
  --page-width: 780px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body { margin: 0; background: #f6f1ec; color: var(--ink); font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; font-size: 15px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #185fca; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-feature-settings: "palt"; }
svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
mark { color: inherit; background: linear-gradient(transparent 55%, #fff17c 55%); font-weight: 700; }
.copy-highlight { color: #ae1520; background-color: #fff17c; font-weight: 800; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 100; top: -60px; left: 15px; padding: 10px; background: white; }
.skip-link:focus { top: 5px; }
[hidden] { display: none !important; }
.page-shell { width: min(100%, var(--page-width)); margin: 0 auto; background: white; box-shadow: 0 0 30px #3c2b1a08; }
.content-pad { padding: 0 13px; }

/* ヘッダー：ブランドカラーの帯と開閉メニュー */
.site-header { position: relative; z-index: 20; min-height: 58px; padding: 10px 14px; background: var(--brand); color: white; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.site-logo { display: flex; align-items: center; gap: 9px; font-size: 16px; line-height: 1.45; font-weight: 700; white-space: nowrap; }
.site-logo svg { width: 31px; height: 31px; stroke-width: 2; }
.site-logo small { display: block; font-size: 9px; font-weight: 500; letter-spacing: .07em; }
.menu-toggle { padding: 7px; width: 38px; height: 38px; flex-shrink: 0; background: transparent; border: 1px solid #ffffff75; border-radius: 3px; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { height: 2px; background: white; width: 100%; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-menu { position: absolute; left: 0; top: 100%; width: 100%; background: white; color: var(--ink); border-bottom: 3px solid var(--brand); box-shadow: 0 8px 15px #0002; padding: 7px 20px; }
.site-menu a { display: block; padding: 10px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.site-menu a:last-child { border: 0; }
.site-menu a:hover { color: var(--brand-dark); }

/* メインビジュアル：紙面風のタイトルとオリジナルイラスト */

/* 条件選択と、最初に読める比較表 */
.service-finder { margin: 0 0 22px; border: 1px solid #d7ccc0; }
.service-finder summary { list-style: none; padding: 8px; text-align: center; background: #9c8063; color: white; font-size: 12px; cursor: pointer; line-height: 1.6; }
.service-finder summary::-webkit-details-marker { display: none; }
.service-finder summary>span { display: inline-block; margin-right: 5px; }
.service-finder[open] summary>span { transform: rotate(45deg); }
.finder-body { padding: 14px; font-size: 12px; background: #fbf9f6; }
.finder-options { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.finder-options button { padding: 8px 10px; min-height: 40px; border: 1px solid #dbd1c7; border-radius: 3px; background: white; font-size: 11px; color: var(--ink); }
.finder-options button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: white; }
.finder-result { background: white; padding: 10px; line-height: 1.8; }
.finder-result a { display: block; min-height: 40px; padding-top: 8px; font-weight: 700; text-decoration: underline; color: var(--brand-dark); }
.text-jump { font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; color: var(--brand-dark); display: flex; align-items: center; justify-content: center; gap: 5px; padding: 18px 0 0; }
.text-jump svg { width: 15px; }

/* 解説：会話と目次 */
.article-intro { padding: 38px 0 27px; }
.article-intro h2 { text-align: center; line-height: 1.6; font-size: 21px; font-weight: 900; margin-bottom: 26px; }
.dialogue { display: flex; gap: 13px; align-items: flex-start; margin: 20px 0; }
.dialogue .avatar { flex-shrink: 0; width: 48px; height: 48px; border: 2px solid #5c4228; border-radius: 50%; display: grid; place-items: center; background: #f6f1eb; font-size: 26px; font-weight: 900; color: #735d47; }
.dialogue p { position: relative; padding: 15px 13px; border: 1px solid #e1d9d0; border-radius: 8px; font-size: 13px; line-height: 1.9; background: #fbf9f7; flex: 1; }
.dialogue p:before { content: ""; position: absolute; left: -6px; top: 18px; width: 10px; height: 10px; background: inherit; border-left: 1px solid #e1d9d0; border-bottom: 1px solid #e1d9d0; transform: rotate(45deg); }
.dialogue.adviser { flex-direction: row-reverse; }
.adviser .avatar { background: #f3ece4; color: var(--brand); border-color: #836a52; }
.adviser p { background: #f7f1ea; }
.adviser p:before { left: auto; right: -6px; transform: rotate(225deg); }
.answer-box { margin-top: 25px; border: 2px solid var(--brand); text-align: center; padding: 0 10px 17px; background: #fffcf4; }
.answer-label { display: inline-block; position: relative; top: -14px; background: var(--brand); color: white; font-size: 12px; font-weight: 700; padding: 3px 16px; border-radius: 20px; }
.answer-box p { font-size: 14px; line-height: 1.8; }
.answer-box strong { color: var(--brand-dark); }
.contents { padding: 18px 20px; background: #f9f6f3; border: 1px solid #e1d8cf; margin-bottom: 35px; }
.contents h2 { text-align: center; font-size: 15px; margin-bottom: 12px; }
.contents ol { margin: 0; padding-left: 22px; font-size: 13px; }
.contents li { padding: 6px 0; color: var(--brand-dark); }
.contents a { text-decoration: underline; text-underline-offset: 4px; }

/* 詳細ランキング：大きな帯見出し・サービス別の案内パネル */

/* 記事後半 */
.checklist { margin: 0 0 35px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; padding: 23px 5px; border-bottom: 1px dashed #dcd2c8; }
.check-item>span { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; background: var(--brand); color: white; border-radius: 3px; font-family: Arial,sans-serif; font-size: 18px; font-weight: 900; }
.check-item h3 { font-size: 15px; margin-bottom: 6px; }
.check-item p { font-size: 13px; color: #79644e; }
.memo { background: #fff9d7; border: 1px solid #e7d66b; margin: 22px 0; padding: 15px; }
.memo b { font-size: 12px; display: inline-block; border-bottom: 2px solid var(--brand); margin-bottom: 7px; }
.memo p { font-size: 13px; }
.faq { margin-bottom: 38px; }
.faq details { border: 1px solid #e3dbd2; margin-top: 10px; }
.faq summary { list-style: none; display: flex; align-items: flex-start; gap: 10px; padding: 15px 12px; font-size: 13px; font-weight: 700; line-height: 1.7; cursor: pointer; background: #fbf8f5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary b { color: var(--brand); font-family: Arial,sans-serif; font-size: 19px; line-height: 1.25; }
.faq summary:after { content: "+"; font-size: 20px; margin-left: auto; line-height: 1; color: var(--brand); }
.faq details[open] summary:after { content: "−"; }
.faq details p { padding: 14px 15px; font-size: 13px; line-height: 1.9; border-top: 1px solid #e3dbd2; }
.site-footer { text-align: center; background: #f7f3ee; border-top: 3px solid var(--brand); padding: 24px 10px 112px; }
.footer-brand { display: inline-block; font-size: 16px; color: var(--brand); font-weight: 800; }
.site-footer nav { display: flex; gap: 8px 15px; flex-wrap: wrap; justify-content: center; margin: 14px 0 9px; font-size: 10px; }
.site-footer small { font-size: 9px; color: var(--muted); }

/* 画面下部：比較と公式サイトの2つの導線 */
.sticky-bar {
  position: fixed;
  z-index: 25;
  inset: auto 0 0;
  padding: 7px 10px calc(9px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e6ddd5;
  box-shadow: 0 -3px 12px #3d291315;
  transform: translateY(120%);
  transition: transform .2s;
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar>div { max-width: 720px; margin: 0 auto; display: flex; gap: 8px; }
.sticky-compare { flex-shrink: 0; min-width: 75px; padding: 4px 7px; border: 1px solid #e6d7cc; border-radius: 8px; color: #84142a; font-size: 11px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff7f1; }
.sticky-compare svg { width: 18px; height: 18px; margin-bottom: 2px; }
.sticky-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 53px;
  padding: 5px 10px;
  border: 2px solid #ffd3be;
  border-radius: 10px;
  background: linear-gradient(110deg, #d50b2b, #bc0924);
  box-shadow: 0 3px 0 #660c1c;
  color: white;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}
.sticky-main small { display: flex; align-items: center; justify-content: center; gap: 5px; margin-bottom: 2px; font-size: 11px; color: white; }
.sticky-main small b { padding: 2px 6px; border-radius: 4px; background: #ffe368; color: #661026; font-size: .9em; }
.sticky-main:hover, .sticky-main:focus-visible { background: #ac0720; }
.sticky-compare:hover { background: #ffecdb; }
.sticky-main svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: white; color: #aa1027; }

/* サイト情報ページ */
.information-page { padding: 25px 22px 60px; }
.information-page h1 { font-size: 27px; border-bottom: 4px solid var(--brand); padding-bottom: 12px; }
.information-page h2 { font-size: 18px; margin: 27px 0 10px; color: #9a4d19; }
.information-page p { font-size: 14px; margin: 12px 0; }
.information-page a { text-decoration: underline; text-underline-offset: 3px; }
.back-link { display: inline-block; margin-bottom: 20px; font-size: 13px; }
.information-page { padding: 24px clamp(18px,4cqw,32px) 36px; }
.information-page .information-lead { color: #735f4a; margin-top: 18px; }
.information-page .information-date { font-size: 11px; color: #8e745a; text-align: right; margin-bottom: 22px; }
.information-nav { display: grid; gap: 0; padding: 10px 16px; background: #faf7f3; border: 1px solid #e5ded6; border-radius: 7px; margin-bottom: 28px; }
.information-page .information-nav a { display: flex; align-items: center; min-height: 44px; font-size: 13px; color: #81471f; text-decoration: none; border-bottom: 1px solid #efe6dc; padding: 8px 0; }
.information-nav a:last-child { border-bottom: 0; }
.information-nav a::before { content: "›"; font-size: 20px; margin-right: 9px; color: var(--brand); }
.information-page section { margin-top: 30px; scroll-margin-top: 20px; }
.information-page h2 { padding: 10px 12px; border-left: 4px solid var(--brand); background: #f7f2ec; color: #493322; font-size: 18px; line-height: 1.6; }
.information-page h3 { font-size: 15px; margin: 20px 0 8px; color: #81471f; }
.information-page p { line-height: 1.95; overflow-wrap: anywhere; }
.operator-banner { display: block; margin: 18px 0 22px; overflow: hidden; border-radius: 8px; }
.operator-banner img { display: block; width: 100%; height: auto; }
.information-profile { margin: 16px 0; border-top: 1px solid #ece1d5; font-size: 13px; }
.information-profile>div { display: grid; grid-template-columns: 85px minmax(0,1fr); border-bottom: 1px solid #ece1d5; }
.information-profile dt { padding: 12px 9px; background: #faf7f3; font-weight: 700; }
.information-profile dd { padding: 12px 11px; margin: 0; overflow-wrap: anywhere; }
.information-ranking { padding-left: 24px; font-size: 14px; }
.information-ranking li { padding: 8px 0 8px 4px; }
.information-ranking li::marker { color: var(--brand); font-weight: 800; }
.information-ranking strong, .information-ranking span { display: block; }
.information-ranking span { color: #725e49; font-size: 13px; }
.information-sources { padding-left: 20px; font-size: 13px; }
.information-sources li { padding-block: 7px; }
.information-sources a { color: #81471f; }
.information-page .information-return { display: block; padding: 15px 10px; border: 1px solid #d7c8b9; border-radius: 6px; color: #81471f; background: #faf6f3; text-align: center; text-decoration: none; font-size: 13px; font-weight: 700; margin-top: 32px; }
.information-body .site-footer { padding: 25px 14px; }
@media (min-width:600px) {
  .information-nav { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 22px; }
  .information-nav a:nth-last-child(2) { border-bottom: 0; }
  .information-profile>div { grid-template-columns: 110px minmax(0,1fr); }
}

@media (min-width: 600px) {
  .content-pad { padding: 0 30px; }
  .site-header { padding: 11px 25px; min-height: 65px; }
  .site-logo { font-size: 22px; }
  .site-logo small { font-size: 10px; }
  .site-logo svg { width: 37px; height: 37px; }
  .service-finder { margin-bottom: 27px; }
  .service-finder summary { font-size: 13px; }
  .finder-body { padding: 20px; font-size: 14px; }
  .finder-options button { font-size: 13px; padding: 10px 13px; }
  .article-intro { padding: 50px 16px 35px; }
  .article-intro h2 { font-size: 27px; }
  .mobile-only { display: none; }
  .dialogue { gap: 20px; margin: 25px 0; }
  .dialogue .avatar { width: 65px; height: 65px; font-size: 32px; }
  .dialogue p { padding: 20px 23px; font-size: 15px; }
  .answer-box { padding-bottom: 22px; }
  .answer-label { font-size: 14px; }
  .answer-box p { font-size: 18px; }
  .contents { padding: 20px 35px; margin-bottom: 40px; }
  .contents h2 { font-size: 17px; }
  .contents ol { font-size: 15px; }
  .check-item { padding: 25px 12px; gap: 18px; }
  .check-item h3 { font-size: 18px; }
  .check-item p { font-size: 15px; }
  .memo { padding: 20px; }
  .memo b, .memo p { font-size: 14px; }
  .faq summary { font-size: 15px; padding: 18px; }
  .faq details p { font-size: 14px; padding: 20px; }
  .sticky-compare { width: 150px; font-size: 12px; flex-direction: row; gap: 10px; }
  .sticky-main { font-size: 18px; }
  .sticky-main small { font-size: 11px; }
}
@media (min-width: 600px) and (max-width: 699px) {
}
@media (max-width: 359px) {
  .site-logo { font-size: 14px; gap: 6px; }
  .site-logo svg { width: 26px; }
  .sticky-main { font-size: 14px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* 添付デザイン対応。文字・表・ボタンはHTML、イラストのみ画像です。 */
.page-shell { container-type: inline-size; }
.site-header { background: var(--brand-gradient); }
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 13px 4.4% 0; background: #ffe2b7; color: #77401b; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(45deg,#ffffff12 25%,transparent 25%,transparent 75%,#ffffff12 75%),linear-gradient(45deg,#ffffff12 25%,transparent 25%,transparent 75%,#ffffff12 75%); background-size: 38px 38px; background-position: 0 0,19px 19px; }
.hero-overline { text-align: center; font-size: clamp(11px,2.3cqw,18px); line-height: 1.6; font-weight: 900; letter-spacing: .04em; margin: 0 0 18px; }
.hero-board { position: relative; background: #fff; border: 4px solid #77401b; box-shadow: 8px 9px 0 #ecd576; text-align: center; padding: 17px 8px 0; transform: rotate(-1.4deg); }
.hero-question { position: absolute; top: -14px; left: -16px; padding: 5px 12px; transform: rotate(-8deg); border: 3px solid #6c3c1e; background: #f7e78f; color: #111; font-size: clamp(14px,3.3cqw,26px); line-height: 1.4; font-weight: 900; box-shadow: 3px 3px 0 #39291818; }
.hero-lead { display: table; margin: 5px auto 2px; font-size: clamp(17px,3.8cqw,30px); line-height: 1.35; color: #222; font-weight: 900; background: linear-gradient(transparent 72%,#f6e6a4 72%); }
.hero-title { display: table; margin: 5px auto 0; font-size: clamp(36px,10cqw,78px); line-height: 1.25; letter-spacing: -.04em; color: #77401b; font-weight: 900; -webkit-text-stroke: .5px currentColor; background: linear-gradient(transparent 82%,#faedb1 82%,#faedb1 96%,transparent 96%); }
.hero-ranking { display: flex; align-items: baseline; justify-content: center; gap: .13em; font-size: clamp(23px,6.2cqw,48px); font-weight: 900; letter-spacing: -.07em; color: #191919; line-height: 1.2; padding: 0 0 15px; }
.hero-ranking b { font-family: Arial,sans-serif; font-size: 1.48em; font-style: italic; color: #c65a10; letter-spacing: -.06em; text-shadow: 0 2px white,0 4px #402e1b; background: linear-gradient(transparent 83%,#f6df8c 83%,#f6df8c 97%,transparent 97%); }
.hero-ranking b span { font-size: 1.2em; }
.hero-ribbon { display: flex; justify-content: center; align-items: center; gap: 9px; padding: 9px 0; margin: 0 -8px; background: #77401b; color: white; font-size: clamp(13px,2.7cqw,21px); font-weight: 800; line-height: 1.55; }
.hero-ribbon em { font-style: normal; color: #ffea32; }
.hero-ribbon svg { width: 1.2em; height: 1.2em; border: 1.5px solid white; border-radius: 2px; color: #ffeb32; }
.hero-bottom { position: relative; height: clamp(104px,20cqw,156px); }
.hero-points { display: flex; gap: 7px; padding-top: clamp(18px,3.6cqw,28px); position: relative; z-index: 2; }
.hero-points>span { width: clamp(56px,14cqw,108px); height: clamp(56px,14cqw,108px); border: 2px solid #77401b; border-radius: 50%; background: #fffefa; box-shadow: 2px 4px 0 #77401b40; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.3; }
.hero-points svg { width: clamp(18px,3.7cqw,29px); height: clamp(18px,3.7cqw,29px); }
.hero-points b { font-size: clamp(9px,1.7cqw,13px); color: #222; margin-top: 2px; }
.hero-points strong { color: var(--brand); font-size: clamp(17px,3.2cqw,25px); font-weight: 900; letter-spacing: -.04em; }
.hero-car { position: absolute; width: 40%; right: 9%; bottom: -2px; z-index: 3; }
.hero-advisor { position: absolute; width: 17%; right: 1%; bottom: 0; z-index: 4; }
.publication { display: flex; justify-content: space-between; padding: 9px 3%; color: var(--muted); font-size: 10px; }

/* 比較表：3社を横並びにしたまま、スマホで読める大きさに調整。 */
.comparison { padding: 0 0 10px; }
.yellow-heading { display: flex; align-items: flex-end; justify-content: center; position: relative; isolation: isolate; min-height: 114px; overflow: hidden; border-radius: 15px 15px 0 0; background: #f9edb6; background-image: radial-gradient(#fff5 1.7px,transparent 2px); background-size: 12px 12px; text-align: center; padding: 13px 12% 13px; }
.heading-copy { position: relative; z-index: 2; width: 100%; }
.yellow-heading p { display: table; position: relative; margin: 0 auto 7px; border: 2px solid #6c3c1e; border-radius: 30px; background: white; padding: 3px 20px; font-size: clamp(12px,2.25cqw,18px); font-weight: 900; line-height: 1.5; transform: rotate(-2deg); box-shadow: 0 3px 0 #685a2520; white-space: nowrap; }
.yellow-heading p span { color: var(--brand); }
.yellow-heading p::after { content: ""; position: absolute; width: 9px; height: 9px; left: 52%; bottom: -7px; background: white; border-right: 2px solid #6c3c1e; border-bottom: 2px solid #6c3c1e; transform: skewY(-25deg); }
.yellow-heading h2 { font-size: clamp(17px,3.8cqw,30px); font-weight: 900; color: #77401b; line-height: 1.25; letter-spacing: -.06em; text-shadow: 1.5px 0 white,-1.5px 0 white,0 1.5px white,0 -1.5px white; }
.yellow-heading h2 strong { font-family: Arial,sans-serif; font-size: 1.8em; color: var(--brand); letter-spacing: -.06em; white-space: nowrap; }
.yellow-heading h2 strong span { font-size: .65em; }
.heading-advisor { position: absolute; z-index: 1; width: 16%; left: 1%; top: 10px; }
.heading-car { position: absolute; z-index: 1; width: 18%; bottom: 3px; right: 1%; }
.comparison-wrap { overflow: hidden; border-radius: 11px; border: 2px solid white; margin-top: -2px; position: relative; z-index: 3; }
#comparison-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: clamp(11px,1.85cqw,14px); line-height: 1.6; text-align: center; color: #142c3d; }
#comparison-table th, #comparison-table td { border: 1px solid #ece1d5; padding: 13px 8px; overflow-wrap: anywhere; }
#comparison-table tr>*:first-child { width: 17.5%; background: linear-gradient(120deg,#a35b29,#914519); color: white; font-size: clamp(10px,1.8cqw,14px); font-weight: 800; border-color: #ffffffba; }
#comparison-table tr>*:nth-child(2) { background: #fffbee; }
#comparison-table tr>*:nth-child(3) { background: #eff8fe; }
#comparison-table tr>*:nth-child(4) { background: #faf5f1; }
#comparison-table tr:nth-child(even)>td:not(:first-child) { background-image: linear-gradient(#ffffff75,#ffffff75); }
#comparison-table .rank-row td { padding: 7px 2px; border-color: white; }
#comparison-table .rank-row .rank-1 { background: linear-gradient(110deg,#f3dfa0,#e9cb73); }
#comparison-table .rank-row .rank-2 { background: linear-gradient(110deg,#dceefa,#bddff1); }
#comparison-table .rank-row .rank-3 { background: linear-gradient(110deg,#ffead8,#f1c9a7); }
.rank-label { display: flex; align-items: center; justify-content: center; gap: 7px; color: white; font-size: clamp(10px,1.9cqw,15px); font-weight: 800; white-space: nowrap; line-height: 1.3; }
.rank-label strong { font-family: Arial,sans-serif; font-size: 1.65em; margin-inline: 2px; }
.rank-label svg { width: clamp(18px,3.5cqw,28px); height: clamp(18px,3.5cqw,28px); fill: #ffe875; stroke: #fff4a9; filter: drop-shadow(1px 2px 0 #0002); }
.rank-1 .rank-label { color: #594414; }
.rank-2 .rank-label { color: #225b7f; }
.rank-3 .rank-label { color: #91512b; }
.rank-1 .rank-label svg { stroke: #97711d; }
.rank-2 .rank-label svg { fill: #d7e8f4; stroke: #658ea7; }
.rank-3 .rank-label svg { fill: #d1b07a; stroke: #876f40; }
.table-brand { display: grid; place-items: center; min-height: 44px; padding: 4px 2px; }
.table-brand img { display: block; width: 100%; max-width: 164px; height: clamp(20px,5cqw,40px); object-fit: contain; }
#comparison-table .brand-row th:not(:first-child) { background: white; }
.table-row-label { display: flex; align-items: center; gap: 8px; text-align: left; }
.table-row-label svg { width: 22px; height: 25px; }
.fee-circle { color: #b3682d; font-family: Arial,sans-serif; font-size: 30px; vertical-align: middle; font-weight: 800; line-height: 1; margin-right: 7px; }
.fee-label { font-size: clamp(14px,2.4cqw,19px); font-weight: 900; vertical-align: middle; }
.table-button { position: relative; display: flex; flex-direction: column; justify-content: center; background: var(--cta-gradient); color: var(--cta-ink); min-height: 58px; padding: 8px 11px 8px 5px; border-radius: 12px; box-shadow: inset 0 1px 0 #ffd4a6,0 4px 0 var(--cta-border),0 7px 0 #9c4b1e18; font-size: clamp(11px,2.1cqw,16px); line-height: 1.5; font-weight: 900; white-space: nowrap; transition: background .18s,box-shadow .18s; }
.table-button>span { font-size: .78em; }
.table-button>svg { position: absolute; right: 4px; width: 13px; height: 13px; }
.table-button:hover { filter: none; background: var(--cta-hover); }
.fine-print { font-size: 10px; line-height: 1.85; color: #657386; margin-top: 10px; }
.fine-print a { text-decoration: underline; text-underline-offset: 3px; }
.fine-print a { color: #81471f; }

/* ランキング詳細：順位帯、訴求、3つのポイント、編集コメント。 */
.orange-heading { border: 0; border-radius: 9px 9px 0 0; background: repeating-linear-gradient(135deg,#9a4d19 0,#9a4d19 7px,#a55720 7px,#a55720 14px); color: white; text-align: center; font-size: clamp(19px,3.8cqw,30px); font-weight: 900; line-height: 1.5; padding: 16px 8px; text-shadow: 0 1px 0 #66351540; }
.orange-heading small { display: block; font-size: clamp(11px,1.9cqw,15px); font-weight: 700; margin-bottom: 7px; }
.orange-heading>span { display: flex; align-items: center; justify-content: center; gap: 12px; }
.orange-heading svg { width: 35px; height: 35px; }
.section-intro { font-size: clamp(13px,2.25cqw,17px); line-height: 1.95; padding: 17px 10px 25px; }
.review { --rank-color: #81621b; --rank-light: #fff4c5; --rank-line: #e6cd7b; border: 1px solid #e3dbd2; border-radius: 9px; margin-bottom: 35px; background: white; overflow: hidden; }
.review:nth-child(2) { --rank-color: #286b91; --rank-light:#e1f3ff; --rank-line:#9bd4f6; }
.review:nth-child(3) { --rank-color: #9c5c34; --rank-light: #fff0e1; --rank-line: #eac2a0; }
.review-heading { position: relative; display: flex; align-items: center; gap: 17px; min-height: 108px; padding: 16px 20px; border-bottom: 3px solid var(--rank-line); background: linear-gradient(120deg,var(--rank-light),#fffdf2); overflow: hidden; }
.review-medal { flex-shrink: 0; text-align: center; border-right: 1px solid var(--rank-color); padding-right: 17px; color: var(--rank-color); font-size: 16px; font-weight: 900; line-height: 1.2; }
.review-medal svg { display: block; margin: 0 auto 0; width: 34px; height: 30px; fill: #ffe46f; stroke-width: 2; }
.review-medal strong { font-family: Arial,sans-serif; font-size: 43px; color: var(--rank-color); }
.review-heading h3 { font-size: clamp(22px,4.8cqw,37px); font-weight: 900; line-height: 1.3; letter-spacing: -.04em; position: relative; z-index: 2; }
#zbat .review-heading h3 { font-size: clamp(17px,3.45cqw,27px); }
.review-speech { position: absolute; z-index: 2; right: 18%; top: 20px; transform: rotate(-9deg); padding: 10px 16px; border-radius: 50%; background: var(--brand); color: white; font-size: 14px; font-weight: 800; line-height: 1.5; text-align: center; }
.review-speech::after { content: ""; position: absolute; right: 7px; bottom: 0; width: 16px; height: 17px; background: inherit; clip-path: polygon(0 0,100% 100%,0 75%); }
.review-advisor { position: absolute; width: 17%; right: 2%; top: 2px; }
.review-inside { padding: 14px 19px 25px; }
/* ご提供のファーストビュー画像。切り抜かず、元の縦横比で全体を表示。 */
.review-first-view { margin: 0 0 18px; border: 1px solid #e2dad2; border-radius: 8px; background: white; }
.review-first-view a { display: block; border-radius: inherit; }
.review-first-view img { display: block; width: 100%; height: auto; border-radius: 7px 7px 0 0; }
.first-view-caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; padding: 9px 11px; min-height: 42px; background: #fff7ef; border-top: 1px solid #efdbc9; border-radius: 0 0 7px 7px; color: #795333; font-size: clamp(10px,1.55cqw,12px); line-height: 1.6; }
.first-view-caption>span:last-child { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--orange-dark); }
.first-view-caption svg { width: 13px; height: 13px; }
.review-first-view a:hover .first-view-caption { background: #ffebda; }
.review-visual { position: relative; display: grid; grid-template-columns: 58% 42%; overflow: hidden; padding: 16px 22px; min-height: 174px; background: #fff1dc; border-radius: 10px; }
.review-visual::before { content: ""; position: absolute; right: -30px; top: -20px; width: 220px; height: 220px; border: 29px solid #f3d6b265; border-radius: 50%; }
.review-visual-copy { position: relative; z-index: 2; align-self: center; }
.review-visual small { display: block; font-size: clamp(11px,2cqw,16px); color: #714523; font-weight: 700; margin-bottom: 7px; }
.review-visual h4 { color: #8b471b; font-size: clamp(23px,5cqw,39px); line-height: 1.45; letter-spacing: -.05em; font-weight: 900; }
.review-visual h4 span { background: linear-gradient(transparent 65%,#ffe84b 65%); }
#carnext .review-visual-copy>small { font-size: clamp(12px,2.4cqw,18px); }
#carnext .review-visual-detail { font-size: clamp(10.5px,2.4cqw,18px); line-height: 1.7; letter-spacing: 0; white-space: normal; }
.review-visual-art { position: relative; min-width: 0; }
.review-car { position: absolute; width: 97%; max-width: none; left: -12%; bottom: -7px; }
.visual-icon { position: absolute; top: 19px; right: -6px; width: clamp(44px,9cqw,70px); height: clamp(44px,9cqw,70px); border: 3px solid #a65a23; border-radius: 50%; background: white; color: #a65a23; display: grid; place-items: center; box-shadow: 3px 4px #f3d6b2; }
.visual-icon svg { width: 55%; height: 55%; }
.review-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); background: #fff8ef; border: 1px solid #e2dad2; border-radius: 6px; padding: 15px 0; margin: 10px 0 20px; color: #714523; text-align: center; }
#carnext .review-facts { grid-template-columns: minmax(0,.7fr) minmax(0,1.6fr) minmax(0,.7fr); }
.review-facts>div { position: relative; display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 7px; padding: 0 12px; border-right: 1px solid #dcd2c8; }
.review-facts>div:last-child { border: 0; }
.review-facts svg { grid-row: 1/3; width: 27px; height: 31px; }
.review-facts dt { font-size: clamp(10px,1.9cqw,15px); white-space: nowrap; }
.review-facts dd { margin: 0; font-size: clamp(20px,3.6cqw,28px); color: var(--brand); font-weight: 900; line-height: 1.5; white-space: nowrap; }
.cta-kicker { text-align: center; font-size: clamp(11px,1.95cqw,15px); color: #714523; font-weight: 800; line-height: 1.5; margin: 0 0 13px; }
.cta-kicker::before, .cta-kicker::after { content: ""; display: inline-block; width: 4px; height: 16px; background: var(--orange); vertical-align: middle; margin-inline: 10px; transform: rotate(-28deg); }
.cta-kicker::after { transform: rotate(28deg); }
.cta-button { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 auto; width: 92%; min-height: 68px; padding: 14px 12px; background: var(--cta-gradient); color: var(--cta-ink); border-radius: 50px; border-bottom: 3px solid var(--cta-border); box-shadow: inset 0 1px 0 #ffd4a6,0 6px 0 #9c4b1e18; text-align: center; font-weight: 900; font-size: clamp(14px,2.9cqw,22px); line-height: 1.5; transition: background .18s,transform .18s; }
.cta-button:hover { background: var(--cta-hover); transform: translateY(1px); }
.cta-button .free { flex-shrink: 0; border-radius: 5px; background: white; color: var(--orange-dark); font-size: .8em; padding: 4px 9px; }
.cta-button>svg { width: 24px; height: 24px; }
.cta-button::before, .cta-button::after { content: ""; position: absolute; top: -8px; width: 20px; height: 24px; background: #d8b34b; clip-path: polygon(0 0,25% 0,44% 50%,35% 55%,0 30%,0 20%,39% 56%,42% 63%,0 65%,0 80%,48% 74%,56% 83%,82% 72%,70% 57%); }
.cta-button::before { left: -17px; }
.cta-button::after { right: -17px; transform: scaleX(-1); }
.cta-note { text-align: center; color: #a2886d; font-size: 11px; margin-top: 11px; }
.description-wrap { position: relative; padding-right: 15%; margin: 27px 0 0; min-height: 85px; }
.review-description { font-size: clamp(13px,2.1cqw,16px); line-height: 1.95; }
.description-car { position: absolute; width: 18%; right: -1%; bottom: -25px; z-index: 2; }
.points-box { border: 1px solid #e3bc94; border-radius: 12px; margin: 22px 0 15px; background: #fff3e4; }
.points-box h4 { display: flex; align-items: center; justify-content: center; gap: 12px; position: relative; margin: -1px -1px 0; border-radius: 12px 12px 0 0; background: var(--brand-gradient); color: white; padding: 10px 12px; font-size: clamp(17px,3.2cqw,25px); line-height: 1.5; font-weight: 900; }
.points-box h4>svg { width: 42px; height: 46px; margin-top: -16px; }
.points-box h4 em { color: #f7e6a0; font-style: normal; }
.points-box ol { list-style: none; margin: 8px; padding: 0 14px; border-radius: 9px; background: #fff; }
.points-box li { display: grid; grid-template-columns: 32px 49px 1fr; align-items: center; gap: 13px; padding: 16px 0; border-bottom: 1px dashed #e6c49f; font-size: clamp(13px,2.35cqw,18px); font-weight: 900; line-height: 1.75; }
.points-box li:last-child { border: 0; }
.point-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #b3682d; color: white; font-family: Arial,sans-serif; font-size: 20px; }
.points-box li>svg { width: 49px; height: 49px; }
.points-box li strong { color: var(--brand); font-weight: 900; white-space: nowrap; }
.editor-note { position: relative; display: grid; grid-template-columns: 22% 1fr; gap: 15px; overflow: hidden; background: #fffced; border: 1.5px solid #dfce85; border-radius: 12px; padding: 12px 15px 13px 0; margin: 18px 0 12px; }
.note-advisor { width: 100%; align-self: end; margin-bottom: -35%; }
.editor-note b { display: inline-block; position: relative; background: var(--brand); color: white; padding: 4px 16px; border-radius: 30px; font-size: clamp(13px,2.25cqw,17px); line-height: 1.6; }
.editor-note b::after { content: ""; position: absolute; left: 10px; bottom: -6px; border-top: 10px solid var(--brand); border-right: 12px solid transparent; }
.editor-note p { font-size: clamp(12px,1.9cqw,14px); line-height: 1.9; margin-top: 8px; }
.review-source { display: inline-flex; align-items: center; min-height: 35px; color: #657386; text-decoration: underline; text-underline-offset: 3px; font-size: 11px; margin-top: 5px; }
.review-bottom-cta { margin-top: 18px; }
.review-bottom-cta .cta-button { border-radius: 20px; }
.review-bottom-cta .free { background: #fff8ef; }

/* 最後の案内：順位、イラスト、訴求を1行ずつ表示。 */
.final-choice { border: 2px solid #d5a273; border-radius: 14px; background: #fff4e4; text-align: center; padding: 20px 16px 18px; margin-bottom: 25px; }
.final-heading { display: flex; position: relative; justify-content: center; align-items: center; padding: 0 12% 13px; overflow: hidden; }
.final-heading>div { position: relative; z-index: 2; }
.final-heading p { font-size: clamp(12px,2.5cqw,19px); font-weight: 800; color: #9a4d19; margin-bottom: 10px; }
.final-heading h2 { font-size: clamp(20px,3.55cqw,28px); line-height: 1.6; letter-spacing: -.04em; font-weight: 900; color: #4e2d16; }
.final-heading h2 em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 68%,#ffed40 68%); }
.final-advisor { position: absolute; width: 16%; left: 0; top: 16px; }
.final-car { position: absolute; width: 22%; right: -1%; bottom: 8px; }
.final-service { display: grid; grid-template-columns: 50px 70px 1fr 27px; align-items: center; gap: 15px; background: var(--cta-gradient); border: 2px solid var(--orange); border-radius: 13px; padding: 13px 16px; margin-top: 11px; text-align: left; color: var(--cta-ink); box-shadow: inset 0 1px 0 #ffd4a6,0 4px 0 var(--cta-border),0 7px 0 #9c4b1e12; transition: background .18s,border-color .18s; }
.final-service .num { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff8ef; color: var(--orange-dark); font-family: Arial,sans-serif; font-size: 35px; font-weight: 800; }
.final-service-icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #fff6e8; }
.final-service-icon svg { width: 53px; height: 53px; }
.final-service-copy { border-left: 1px solid #9a4d1945; padding-left: 15px; min-width: 0; }
.final-service small { display: block; font-size: clamp(11px,1.8cqw,14px); line-height: 1.6; color: var(--cta-ink); font-weight: 600; }
.final-service strong { display: block; font-size: clamp(20px,3.7cqw,29px); font-weight: 900; line-height: 1.5; letter-spacing: -.04em; }
.final-service>svg { color: var(--cta-ink); width: 26px; height: 26px; }
.final-service:hover { border-color: var(--cta-border); background: var(--cta-hover); }
.return-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: #81471f; text-decoration: underline; text-underline-offset: 5px; font-size: clamp(13px,2.2cqw,17px); margin-top: 14px; }

@media (min-width:600px) {
  .hero { padding-top: 12px; }
  .hero-board { padding-top: 16px; }
  .hero-lead { margin-top: 4px; }
  .hero-bottom { height: 150px; }
  .hero-points { padding-top: 28px; }
  .publication { font-size: 11px; }
  .yellow-heading { min-height: 128px; }
  .fine-print { font-size: 11px; }
}
@media (max-width:599px) {
  .content-pad { padding-inline: 10px; }
  .hero { padding-top: 10px; }
  .hero-overline { margin-bottom: 14px; }
  .hero-board { border-width: 3px; padding-top: 19px; box-shadow: 5px 6px #ecd576; }
  .hero-question { top: -12px; left: -10px; border-width: 2px; padding: 4px 9px; }
  .hero-lead { margin-top: 6px; }
  .hero-ranking { padding-bottom: 10px; }
  .hero-ribbon { gap: 4px; padding: 7px 1px; }
  .hero-points { gap: 4px; padding-top: 19px; }
  .hero-car { width: 40%; right: 9%; bottom: 0; }
  .hero-advisor { width: 18%; right: 0; }
  .yellow-heading { padding: 12px 12% 12px; min-height: 102px; }
  .yellow-heading p { padding-inline: 11px; }
  .yellow-heading h2 { line-height: 1.4; }
  .yellow-heading h2 strong { font-size: 1.6em; }
  .heading-advisor { width: 17%; top: 18px; left: 0; }
  .heading-car { width: 20%; right: 0; }
  #comparison-table th, #comparison-table td { padding: 10px 4px; }
  #comparison-table tr>*:first-child { width: 16.5%; }
  .rank-label { flex-direction: column; gap: 1px; font-size: 10px; }
  .rank-label strong { font-size: 16px; }
  .rank-label svg { width: 23px; height: 20px; }
  #comparison-table .brand-row th:not(:first-child) { padding-inline: 3px; }
  .table-row-label { flex-direction: column; gap: 4px; text-align: center; line-height: 1.5; }
  .table-row-label svg { width: 20px; height: 20px; }
  .fee-circle { font-size: 24px; margin-right: 3px; }
  .table-button { min-height: 50px; padding: 7px 2px; border-radius: 8px; font-size: 11px; }
  .table-button>svg { display: none; }
  .orange-heading { font-size: 19px; padding-inline: 4px; }
  .orange-heading>span { gap: 5px; }
  .orange-heading svg { width: 23px; height: 23px; }
  .review-heading { min-height: 88px; padding: 11px 10px; gap: 10px; }
  .review-medal { font-size: 11px; padding-right: 10px; }
  .review-medal svg { width: 25px; height: 22px; }
  .review-medal strong { font-size: 30px; }
  .review-heading h3 { font-size: 23px; }
  .review-advisor { width: 18%; right: 0; top: 9px; }
  .review-speech { display: none; }
  .review-inside { padding: 12px 10px 23px; }
  .review-visual { padding: 13px 11px; min-height: 145px; grid-template-columns: 61% 39%; }
  .review-visual small { font-size: 10px; white-space: nowrap; }
  .review-visual h4 { font-size: 25px; }
  .review-car { width: 115%; left: -12%; bottom: -4px; }
  .visual-icon { right: 0; top: 8px; width: 43px; height: 43px; border-width: 2px; }
  .review-facts { padding: 11px 0; margin-bottom: 18px; }
  .review-facts>div { display: flex; flex-direction: column; padding: 0 2px; gap: 1px; }
  .review-facts svg { width: 22px; height: 22px; margin-bottom: 3px; }
  .review-facts dt { font-size: 10px; }
  .review-facts dd { font-size: 20px; }
  .cta-kicker { font-size: 11px; margin-bottom: 10px; }
  .cta-kicker::before, .cta-kicker::after { width: 3px; height: 12px; margin-inline: 4px; }
  .cta-button { width: 96%; min-height: 58px; gap: 7px; padding: 10px 8px; font-size: 14px; }
  .cta-button .free { font-size: 11px; padding: 3px 5px; }
  .cta-button>svg { width: 18px; height: 18px; }
  .cta-button::before { left: -10px; width: 15px; }
  .cta-button::after { right: -10px; width: 15px; }
  .cta-note { font-size: 10px; }
  .description-wrap { padding-right: 0; margin-top: 25px; }
  .description-car { display: none; }
  .review-description { font-size: 13px; }
  .points-box h4 { font-size: 17px; gap: 6px; padding: 10px 7px; }
  .points-box h4>svg { width: 30px; height: 36px; }
  .points-box ol { margin: 6px; padding-inline: 8px; }
  .points-box li { grid-template-columns: 24px 33px 1fr; gap: 7px; padding: 13px 0; font-size: 13px; }
  .point-num { width: 24px; height: 24px; font-size: 15px; }
  .points-box li>svg { width: 33px; height: 36px; }
  .editor-note { grid-template-columns: 21% 1fr; gap: 8px; padding: 11px 9px 11px 0; }
  .note-advisor { align-self: start; margin-top: 26px; margin-bottom: 0; transform: scale(1.1); transform-origin: bottom left; }
  .editor-note b { padding: 4px 10px; font-size: 12px; }
  .editor-note p { font-size: 12px; }
  .final-choice { padding: 17px 10px 12px; }
  .final-heading { padding: 0 0 12px; }
  .final-heading>div { width: 100%; }
  .final-heading p { font-size: 12px; margin-bottom: 82px; }
  .final-heading h2 { font-size: 21px; }
  .final-advisor { width: 65px; top: 24px; left: 15%; height: 80px; object-fit: cover; object-position: top; }
  .final-car { width: 115px; top: 30px; right: 10%; }
  .final-service { grid-template-columns: 31px 39px 1fr 17px; padding: 11px 8px; gap: 7px; margin-top: 10px; }
  .final-service .num { width: 31px; height: 31px; font-size: 23px; }
  .final-service-icon { width: 39px; height: 43px; }
  .final-service-icon svg { width: 33px; height: 35px; }
  .final-service-copy { padding-left: 7px; }
  .final-service small { font-size: 10px; line-height: 1.6; }
  .final-service strong { font-size: 20px; margin-top: 3px; }
  .final-service>svg { width: 17px; height: 17px; }
}
@media (max-width:359px) {
  .hero-title { font-size: 34px; }
  .hero-lead { font-size: 16px; }
  .hero-ranking { font-size: 22px; }
  .hero-ribbon { gap: 4px; }
  .hero-points>span { width: 51px; height: 58px; }
  .hero-points strong { font-size: 16px; }
  .hero-overline { font-size: 10px; }
  .table-button { font-size: 10px; }
  #comparison-table { font-size: 10px; }
  .yellow-heading h2 { font-size: 15px; }
  .orange-heading { font-size: 16px; }
  .review-heading h3 { font-size: 20px; }
  .review-visual h4 { font-size: 21px; }
  .review-facts dd { font-size: 18px; }
  .cta-button { font-size: 12px; gap: 5px; }
  .cta-kicker { font-size: 10px; }
  .points-box h4 { font-size: 15px; }
  .points-box li { font-size: 12px; grid-template-columns: 21px 28px 1fr; }
  .points-box li>svg { width: 28px; height: 30px; }
  .point-num { width: 21px; height: 21px; font-size: 14px; }
  .final-heading h2 { font-size: 19px; }
  .final-service { grid-template-columns: 27px 31px 1fr 15px; gap: 5px; padding-inline: 6px; }
  .final-service .num { width: 27px; height: 27px; font-size: 20px; }
  .final-service-icon { width: 31px; height: 37px; }
  .final-service-icon svg { width: 28px; }
  .final-service strong { font-size: 18px; }
}
