/* ==========================================================
   回線コンパス — サイト共通スタイル
   青基調 / 可読性・信頼感・CVR最適化
   ========================================================== */

:root {
  /* ブランドカラー(青基調) */
  --c-navy: #0b2c5f;        /* 見出し・ヘッダー */
  --c-primary: #1558d6;     /* メインブルー */
  --c-primary-dark: #0f43a8;
  --c-primary-pale: #eaf1fd; /* 淡い背景 */
  --c-sky: #f4f8fe;          /* セクション背景 */
  --c-accent: #f26f1d;       /* CTA(青の補色=オレンジ) */
  --c-accent-dark: #d85c10;
  --c-green: #0e9f6e;        /* 無料/OKバッジ */
  --c-red: #d64545;          /* 注意 */
  --c-text: #26303e;
  --c-text-sub: #5f6b7a;
  --c-border: #dde5ef;
  --c-bg: #ffffff;
  --c-gold: #d9a521;
  --c-silver: #94a0ac;
  --c-bronze: #b07a45;

  --shadow-1: 0 2px 8px rgba(11, 44, 95, 0.07);
  --shadow-2: 0 8px 24px rgba(11, 44, 95, 0.12);
  --radius: 12px;
  --radius-s: 8px;
  --w-site: 1120px;
  --w-article: 780px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", Meiryo, sans-serif;
  /* 見出し用: Noto より字面が締まっていて、大きく組んだときに強い */
  --font-display: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  /* ブランド用: 角丸で親しみのある書体 */
  --font-brand: "Zen Maru Gothic", var(--font-display);
  /* 数字用: 欧文の幾何学サンセリフ。日本語部分は自動で見出し書体にフォールバックする */
  --font-num: "Outfit", var(--font-display);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

/* 見出しは表示用書体 + 約物半角(palt)で、日本語らしい字間に整える */
h1, h2, h3, h4,
.hero__title, .sec-head h1, .sec-head h2, .article-title,
.article-body h2, .article-body h3, .card__title, .finder__title,
.footer h2, .profile-head h2, .box-memo__t {
  font-family: var(--font-display);
  font-feature-settings: "palt" 1;
}
/* 数字は欧文書体で。日本語の文字は自動的に見出し書体へフォールバックする */
.num, .hero .hl, .card__meta time, .stars small {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); }

/* ============ ヘッダー ============ */

.gnav-wrap {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}

.gnav {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 0 20px;
  height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand__name {
  font-family: var(--font-brand);
  font-size: 1.38rem; font-weight: 900; color: var(--c-navy);
  letter-spacing: 0.06em; line-height: 1.1;
}
.brand__tag {
  display: block;
  font-family: var(--font);
  font-size: 0.56rem; font-weight: 600; color: #94a3b5;
  letter-spacing: 0.4em; margin-top: 4px;
}

.gnav__menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.gnav__menu a {
  display: block; padding: 8px 13px;
  font-size: 0.9rem; font-weight: 600; color: var(--c-text);
  text-decoration: none; border-radius: 8px;
  transition: background .2s, color .2s;
}
.gnav__menu a:hover { background: var(--c-primary-pale); color: var(--c-primary-dark); }
.gnav__cta {
  margin-left: 8px;
  background: var(--c-primary); color: #fff !important;
  border-radius: 999px !important; padding: 9px 18px !important;
  font-size: 0.85rem !important;
}
.gnav__cta:hover { background: var(--c-primary-dark) !important; color: #fff !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-navy); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ============ パンくず ============ */

.breadcrumb {
  max-width: var(--w-article); margin: 0 auto; padding: 14px 20px 0;
  font-size: 0.76rem; color: var(--c-text-sub);
  overflow-x: auto; white-space: nowrap;
}
.breadcrumb ol { list-style: none; display: flex; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #9aa7b5; }
.breadcrumb a { color: var(--c-text-sub); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); text-decoration: underline; }

/* ============ トップ:ヒーロー ============ */

.hero {
  --hero-navy: #0b2c5f;
  --hero-mid: #114699;
  --hero-blue: #1558d6;
  background: linear-gradient(140deg, var(--hero-navy) 0%, var(--hero-mid) 46%, var(--hero-blue) 100%);
  background-size: 160% 160%;
  animation: heroGradient 18s ease-in-out infinite;
  color: #fff;
  padding: clamp(52px, 8vw, 84px) 20px clamp(56px, 7vw, 76px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* 背景の装飾(ふわふわ動く円 + 薄いグリッド) */
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero__orb--a {
  right: -120px; top: -140px; width: 440px; height: 440px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.13), rgba(255,255,255,.03) 70%);
  animation: orbFloat 16s ease-in-out infinite;
}
.hero__orb--b {
  right: 40px; bottom: -180px; width: 320px; height: 320px;
  background: radial-gradient(circle at 40% 40%, rgba(255,215,106,.16), rgba(255,215,106,0) 70%);
  animation: orbFloat 21s ease-in-out infinite reverse;
}
.hero__orb--c {
  left: -110px; bottom: -120px; width: 300px; height: 300px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.09), rgba(255,255,255,0) 70%);
  animation: orbFloat 26s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(-26px, 22px, 0) scale(1.06); }
  66%      { transform: translate3d(18px, -18px, 0) scale(0.96); }
}
.hero__grid {
  position: absolute; inset: 0; opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 20% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 20% 40%, #000 20%, transparent 75%);
}

.hero__inner { max-width: var(--w-site); margin: 0 auto; position: relative; z-index: 1; }

.hero__title {
  font-size: clamp(1.3rem, .92rem + 1.95vw, 2.45rem);
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: -0.005em;
  margin-bottom: 16px;
  /* 日本語を文節単位で折り返す(対応ブラウザのみ)。語の途中で切れるのを防ぐ */
  word-break: auto-phrase;
}
.hero__line { display: block; }
/* 語の途中で折り返させたくない箇所に付ける */
.nw { white-space: nowrap; }

/* 「3分」— 下線が伸びてから文字が光る */
.hero .hl {
  color: #ffd76a;
  position: relative;
  display: inline-block;
  padding: 0 .06em;
  white-space: nowrap;
}
.hero .hl::after {
  content: "";
  position: absolute; left: 0; bottom: .04em;
  width: 100%; height: .16em;
  background: linear-gradient(90deg, #ffd76a, #ffb648);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: hlSweep .7s cubic-bezier(.22,.9,.3,1) .75s forwards;
}
@keyframes hlSweep { to { transform: scaleX(1); } }

.hero__lead {
  font-size: clamp(.92rem, .86rem + .3vw, 1.05rem);
  line-height: 1.85;
  /* 日本語を文節単位で折り返す(対応ブラウザのみ。非対応なら従来どおり) */
  word-break: auto-phrase;
  opacity: .95;
  max-width: 640px;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.hero__points { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.hero__point {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 8px 17px;
  font-size: clamp(.78rem, .74rem + .18vw, .86rem);
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .25s, border-color .25s, transform .25s;
}
.hero__point:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,.6); transform: translateY(-2px); }
.hero__point-ico { font-size: 1.05em; line-height: 1; }

/* 登場アニメーション(上へふわっと) */
.hero__line, .hero__lead, .hero__point {
  animation: heroRise .62s cubic-bezier(.22,.9,.3,1) both;
}
.hero__line--1  { animation-delay: .02s; }
.hero__line--2  { animation-delay: .12s; }
.hero__lead     { animation-delay: .24s; }
.hero__point:nth-child(1) { animation-delay: .34s; }
.hero__point:nth-child(2) { animation-delay: .42s; }
.hero__point:nth-child(3) { animation-delay: .50s; }
@keyframes heroRise {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ============ 診断ボックス ============ */

.finder {
  max-width: var(--w-site); margin: clamp(-40px, -3vw, -28px) auto 0; padding: 0 20px;
  position: relative; z-index: 5;
}
.finder__box {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: clamp(20px, 2.4vw, 28px) clamp(18px, 2.4vw, 28px) clamp(18px, 2.2vw, 24px);
  border-top: 4px solid var(--c-accent);
  animation: heroRise .7s cubic-bezier(.22,.9,.3,1) .46s both;
}
.finder__title {
  font-size: clamp(1rem, .95rem + .25vw, 1.12rem);
  font-weight: 800; color: var(--c-navy); margin-bottom: 4px;
  display: flex; align-items: center; gap: 8px;
}
.finder__compass { display: inline-block; font-size: 1.15em; animation: compassSwing 5s ease-in-out infinite; transform-origin: 50% 55%; }
@keyframes compassSwing {
  0%, 62%, 100% { transform: rotate(0deg); }
  70% { transform: rotate(-16deg); }
  78% { transform: rotate(11deg); }
  86% { transform: rotate(-5deg); }
  93% { transform: rotate(2deg); }
}
.finder__sub { font-size: 0.82rem; color: var(--c-text-sub); margin-bottom: 16px; }
.finder__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.finder__item {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--c-border); border-radius: var(--radius-s);
  padding: 14px 14px 14px 16px; text-decoration: none; color: var(--c-text);
  font-weight: 700; font-size: 0.92rem; line-height: 1.5;
  min-height: 64px;
  position: relative;
  transition: border-color .22s, background .22s, transform .22s, box-shadow .22s;
}
.finder__item:hover,
.finder__item:focus-visible {
  border-color: var(--c-primary);
  background: var(--c-primary-pale);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(21, 88, 214, .13);
}
.finder__item .ico {
  font-size: 1.5rem; flex-shrink: 0; line-height: 1;
  transition: transform .28s cubic-bezier(.22,.9,.3,1);
}
.finder__item:hover .ico { transform: scale(1.16) rotate(-6deg); }
.finder__label { flex: 1; min-width: 0; }
.finder__item small { display: block; font-weight: 500; font-size: 0.76rem; color: var(--c-text-sub); margin-top: 2px; }
.finder__arrow {
  flex-shrink: 0; color: var(--c-primary); font-weight: 800;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .22s, transform .22s;
}
.finder__item:hover .finder__arrow,
.finder__item:focus-visible .finder__arrow { opacity: 1; transform: translateX(0); }

/* スクロールで順に現れる(JSが .is-in を付与。JS無効でも表示される) */
.reveal { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .5s ease, transform .5s cubic-bezier(.22,.9,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* 動きを減らす設定の人には静止して見せる */
@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; }
  .hero__orb, .finder__compass { animation: none; }
  .hero__line, .hero__lead, .hero__point, .finder__box { animation: none; opacity: 1; transform: none; }
  .hero .hl::after { animation: none; transform: scaleX(1); }
  .reveal { opacity: 1; transform: none; transition: none; }
  .finder__item:hover { transform: none; }
  .finder__item:hover .ico { transform: none; }
}

/* ============ 汎用レイアウト ============ */

.container { max-width: var(--w-site); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--sky { background: var(--c-sky); }

.sec-head { text-align: center; margin-bottom: 34px; }
.sec-head__en { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; color: var(--c-primary); text-transform: uppercase; }
.sec-head h1, .sec-head h2 { font-size: clamp(1.35rem, 1.15rem + .85vw, 1.75rem); font-weight: 900; color: var(--c-navy); line-height: 1.45; letter-spacing: .01em; margin-top: 6px; }
.sec-head p { font-size: 0.9rem; color: var(--c-text-sub); margin-top: 8px; }

/* ============ 記事カード ============ */

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 26px; }

.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-1);
  transition: box-shadow .25s, transform .25s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); }
.card__thumb { aspect-ratio: 1200 / 630; background: var(--c-primary-pale); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card__cat {
  align-self: flex-start; font-size: 0.7rem; font-weight: 700;
  color: var(--c-primary-dark); background: var(--c-primary-pale);
  border-radius: 999px; padding: 3px 12px; margin-bottom: 10px;
}
.card__title { font-size: 1.02rem; font-weight: 700; line-height: 1.6; letter-spacing: .005em; margin-bottom: 8px; }
.card__title a { color: var(--c-text); text-decoration: none; }
.card__title a:hover { color: var(--c-primary); }
.card__excerpt { font-size: 0.84rem; color: var(--c-text-sub); line-height: 1.7; margin-bottom: 12px; flex: 1; }
.card__meta { font-size: 0.75rem; color: var(--c-text-sub); display: flex; gap: 12px; }

/* ============ 信頼バナー(トップ) ============ */

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.trust__item {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-1);
}
.trust__item img { width: 64px; height: 64px; margin: 0 auto 12px; }
.trust__item h3 { font-size: 1rem; color: var(--c-navy); font-weight: 800; margin-bottom: 8px; }
.trust__item p { font-size: 0.84rem; color: var(--c-text-sub); line-height: 1.75; text-align: left; }

/* ============ 記事ページ ============ */

.article { max-width: var(--w-article); margin: 0 auto; padding: 18px 20px 64px; }

.article-head { margin-bottom: 22px; }
.article-head .card__cat { margin-bottom: 12px; }
.article-title { font-size: clamp(1.35rem, 1.1rem + 1.05vw, 1.82rem); font-weight: 900; color: var(--c-navy); line-height: 1.48; letter-spacing: 0.005em; margin-bottom: 14px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 0.8rem; color: var(--c-text-sub); }
.article-meta .upd { font-weight: 700; color: var(--c-primary-dark); }

.pr-note {
  display: flex; align-items: center; gap: 8px;
  background: var(--c-sky); border: 1px solid var(--c-border); border-radius: var(--radius-s);
  font-size: 0.76rem; color: var(--c-text-sub); padding: 9px 14px; margin: 16px 0 22px;
}

.eyecatch { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow-1); }

/* 冒頭の結論ボックス(AIO対策:直接回答) */
.answer-first {
  background: linear-gradient(0deg, #fff, #fff) padding-box,
              linear-gradient(120deg, var(--c-primary), #4b8bf5) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 22px 24px; margin: 26px 0;
}
.answer-first__label {
  display: inline-block; background: var(--c-primary); color: #fff;
  font-size: 0.74rem; font-weight: 700; border-radius: 999px;
  padding: 3px 14px; margin-bottom: 10px;
}
.answer-first p { font-size: 0.95rem; margin-bottom: 8px; }
.answer-first p:last-child { margin-bottom: 0; }

/* 本文 */
.article-body h2 {
  font-size: 1.38rem; font-weight: 800; color: var(--c-navy); line-height: 1.5;
  margin: 60px 0 22px; padding: 14px 18px;
  background: var(--c-primary-pale);
  border-left: 6px solid var(--c-primary);
  border-radius: 6px;
}
.article-body h3 {
  font-size: 1.14rem; font-weight: 700; color: var(--c-navy); line-height: 1.5;
  margin: 42px 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--c-primary-pale);
  position: relative;
}
.article-body h3::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 88px; height: 2px; background: var(--c-primary);
}
.article-body h4 { font-size: 1rem; font-weight: 700; color: var(--c-primary-dark); margin: 28px 0 12px; }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; }
.article-body li { margin-bottom: 7px; }
.article-body strong { background: linear-gradient(transparent 64%, #ffe6a8 64%); }
.article-body figure { margin: 26px 0; }
.article-body figure img { border-radius: var(--radius-s); border: 1px solid var(--c-border); width: 100%; }
.article-body figcaption { font-size: 0.76rem; color: var(--c-text-sub); text-align: center; margin-top: 8px; }

/* 目次 */
.toc {
  background: var(--c-sky); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 20px 26px; margin: 30px 0;
}
.toc__title { font-weight: 800; color: var(--c-navy); font-size: 0.95rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.toc ol { margin-left: 20px; font-size: 0.89rem; }
.toc ol ol { margin-top: 4px; font-size: 0.84rem; }
.toc li { margin-bottom: 5px; }
.toc a { color: var(--c-text); text-decoration: none; }
.toc a:hover { color: var(--c-primary); text-decoration: underline; }

/* 情報ボックス */
.box-point, .box-warn, .box-memo {
  border-radius: var(--radius); padding: 18px 22px; margin: 26px 0; font-size: 0.93rem;
}
.box-point { background: var(--c-primary-pale); border: 1px solid #c3d7f7; }
.box-warn  { background: #fdf2ef; border: 1px solid #f3cfc4; }
.box-memo  { background: #f6f7f2; border: 1px solid #dfe2d0; }
.box-point__t, .box-warn__t, .box-memo__t { font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.box-point__t { color: var(--c-primary-dark); }
.box-warn__t  { color: #b8482c; }
.box-memo__t  { color: #6f7550; }
.box-point ul, .box-warn ul, .box-memo ul { margin: 0 0 0 22px; }

/* 吹き出し(体験談・著者コメント) */
.voice { display: flex; gap: 14px; margin: 26px 0; align-items: flex-start; }
.voice__icon {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--c-primary-pale); overflow: hidden; background: var(--c-primary-pale);
}
.voice__icon img { width: 100%; height: 100%; }
.voice__body {
  position: relative; background: var(--c-sky);
  border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 14px 18px; font-size: 0.9rem; line-height: 1.8;
}
.voice__body::before {
  content: ""; position: absolute; left: -8px; top: 20px;
  width: 14px; height: 14px; background: var(--c-sky);
  border-left: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
  transform: rotate(45deg);
}
.voice__name { font-size: 0.7rem; color: var(--c-text-sub); text-align: center; margin-top: 4px; }

/* ============ 比較表 ============ */

.tbl-wrap {
  overflow-x: auto; margin: 26px 0;
  border: 1px solid var(--c-border); border-radius: var(--radius-s);
  -webkit-overflow-scrolling: touch;
}
table.cmp { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 660px; background: #fff; }
table.cmp th, table.cmp td { padding: 12px 14px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; line-height: 1.65; }
table.cmp thead th { background: var(--c-navy); color: #fff; font-weight: 700; white-space: nowrap; position: sticky; top: 0; }
table.cmp tbody th { background: var(--c-sky); font-weight: 700; white-space: nowrap; }
table.cmp tbody tr:nth-child(even) td { background: #fafcff; }
table.cmp td.best { background: #fff7e2 !important; font-weight: 700; }
table.cmp .ok { color: var(--c-green); font-weight: 700; }
table.cmp .ng { color: var(--c-red); font-weight: 700; }

/* 星評価 */
.stars { color: #f5b301; letter-spacing: 2px; font-size: 0.95rem; }
.stars small { color: var(--c-text-sub); font-size: 0.78rem; letter-spacing: 0; margin-left: 6px; }

/* ============ サービスカード(収益パーツ) ============ */

.svc {
  background: #fff; border: 1.5px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow-1); padding: 28px 28px 26px; margin: 34px 0; position: relative;
}
.svc--push { border-color: var(--c-accent); box-shadow: 0 6px 22px rgba(242, 111, 29, .14); }
.rank {
  position: absolute; top: -15px; left: 22px;
  color: #fff; font-weight: 800; font-size: 0.82rem;
  padding: 5px 18px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.22);
}
.rank--1 { background: linear-gradient(120deg, #d9a521, #f0c14e); }
.rank--2 { background: var(--c-silver); }
.rank--3 { background: var(--c-bronze); }
.rank--n { background: var(--c-primary); }
.rank--best { background: linear-gradient(120deg, var(--c-accent), #ff9a4d); }

.svc__name { font-size: 1.22rem; font-weight: 800; color: var(--c-navy); margin: 8px 0 2px; line-height: 1.5; }
.svc__co { font-size: 0.78rem; color: var(--c-text-sub); margin-bottom: 12px; }
.svc__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.svc__rating .score { font-size: 1.3rem; font-weight: 800; color: var(--c-accent-dark); }

.svc__spec { width: 100%; border-collapse: collapse; font-size: 0.84rem; margin: 12px 0 16px; }
.svc__spec th, .svc__spec td { border: 1px solid var(--c-border); padding: 8px 12px; text-align: left; line-height: 1.6; }
.svc__spec th { background: var(--c-sky); white-space: nowrap; width: 32%; font-weight: 700; }

.svc__desc { font-size: 0.93rem; margin-bottom: 16px; }

/* サービス公式バナー(A8広告素材) */
.svc__banner { text-align: center; margin: 4px 0 16px; }
.svc__banner a { display: inline-block; line-height: 0; border: 1px solid var(--c-border); border-radius: 8px; overflow: hidden; }
.svc__banner img { max-width: 100%; height: auto; }
.svc__banner > img { border: 1px solid var(--c-border); border-radius: 8px; }

.merit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.merit__col { border-radius: var(--radius-s); padding: 14px 16px; font-size: 0.84rem; }
.merit__col ul { margin-left: 18px; }
.merit__col li { margin-bottom: 4px; }
.merit__good { background: #eefaf4; border: 1px solid #bfe8d4; }
.merit__bad  { background: #fdf3f0; border: 1px solid #f0d2c8; }
.merit__t { font-weight: 800; font-size: 0.82rem; margin-bottom: 6px; }
.merit__good .merit__t { color: var(--c-green); }
.merit__bad .merit__t { color: #b8482c; }

/* CTAボタン */
.btn-area { margin-top: 18px; }
.btn {
  display: block; text-align: center; text-decoration: none;
  font-weight: 800; font-size: 1.02rem; line-height: 1.4;
  padding: 16px 28px; border-radius: 999px; color: #fff;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn--cv {
  background: linear-gradient(120deg, var(--c-accent), #ff8c3a);
  box-shadow: 0 4px 0 var(--c-accent-dark), 0 8px 18px rgba(242, 111, 29, .35);
}
.btn--cv:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--c-accent-dark), 0 6px 14px rgba(242,111,29,.3); filter: brightness(1.04); }
.btn--sub {
  background: #fff; color: var(--c-primary); border: 2px solid var(--c-primary);
  font-size: 0.9rem; padding: 12px 24px; margin-top: 10px;
}
.btn--sub:hover { background: var(--c-primary-pale); }
.btn small { display: block; font-weight: 600; font-size: 0.72rem; opacity: .92; }
.micro { text-align: center; font-size: 0.74rem; color: var(--c-text-sub); margin-top: 8px; }

/* CTA大型ボックス */
.cta {
  background: linear-gradient(135deg, #fff8ef, #fdeeda);
  border: 2px solid var(--c-accent); border-radius: var(--radius);
  padding: 28px 28px 24px; margin: 40px 0; text-align: center;
}
.cta__t { font-size: 1.12rem; font-weight: 800; color: var(--c-accent-dark); margin-bottom: 8px; }
.cta p { font-size: 0.9rem; margin-bottom: 16px; }
.cta .btn { max-width: 420px; margin: 0 auto; }

/* ============ 手順ステップ ============ */

.steps { counter-reset: step; list-style: none; margin: 26px 0 !important; }
.steps > li {
  counter-increment: step; position: relative;
  padding: 0 0 26px 58px; margin: 0 !important;
}
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-primary); color: #fff;
  font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px;
  width: 2px; background: var(--c-primary-pale);
}
.steps__t { font-weight: 800; color: var(--c-navy); font-size: 1rem; margin-bottom: 4px; }
.steps p { font-size: 0.9rem; margin-bottom: 0 !important; }

/* ============ FAQ ============ */

.faq { margin: 26px 0; }
.faq details { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-s); margin-bottom: 12px; overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 16px 44px 16px 52px; font-weight: 700; font-size: 0.94rem;
  list-style: none; position: relative; color: var(--c-navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 16px; top: 15px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800;
}
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--c-primary); font-size: 1.3rem; font-weight: 700;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq__a { padding: 2px 20px 18px 52px; font-size: 0.9rem; position: relative; }
.faq .faq__a::before {
  content: "A"; position: absolute; left: 16px; top: 4px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800;
}

/* ============ 参考情報・出典 ============ */

.sources {
  background: var(--c-sky); border: 1px solid var(--c-border); border-radius: var(--radius-s);
  padding: 16px 22px; margin: 30px 0; font-size: 0.8rem;
}
.sources__t { font-weight: 800; color: var(--c-navy); margin-bottom: 8px; }
.sources ul { margin-left: 20px; }
.sources li { margin-bottom: 4px; }

/* ============ 著者・監修 ============ */

.author {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--c-sky); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 24px; margin-top: 44px;
}
.author__icon { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid #fff; box-shadow: var(--shadow-1); }
.author__name { font-weight: 800; color: var(--c-navy); margin-bottom: 2px; }
.author__role { font-size: 0.74rem; color: var(--c-text-sub); margin-bottom: 8px; }
.author p { font-size: 0.84rem; color: var(--c-text); line-height: 1.75; }
.author a { font-weight: 600; }

/* ============ 関連記事 ============ */

.related { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--c-border); }
.related h2 { font-size: 1.2rem; font-weight: 800; color: var(--c-navy); margin-bottom: 18px; padding-left: 12px; border-left: 5px solid var(--c-primary); }
.related ul { list-style: none; display: grid; gap: 12px; }
.related a {
  display: block; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-s);
  padding: 14px 18px 14px 38px; text-decoration: none; color: var(--c-text);
  font-size: 0.92rem; font-weight: 600; position: relative;
  transition: background .2s, border-color .2s;
}
.related a::before { content: "▶"; position: absolute; left: 16px; color: var(--c-primary); font-size: 0.7rem; top: 50%; transform: translateY(-50%); }
.related a:hover { background: var(--c-primary-pale); border-color: var(--c-primary); }

/* ============ フッター ============ */

.footer { background: var(--c-navy); color: #c9d6e8; margin-top: 72px; font-size: 0.85rem; }
.footer__inner { max-width: var(--w-site); margin: 0 auto; padding: 48px 20px 26px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 34px; margin-bottom: 34px; }
.footer h2 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a { color: #c9d6e8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer__brand img { width: 36px; height: 36px; }
.footer__brand span { font-family: var(--font-brand); font-weight: 900; color: #fff; font-size: 1.12rem; letter-spacing: .06em; }
.footer__note { font-size: 0.74rem; color: #8fa3c0; border-top: 1px solid #24457e; padding-top: 18px; line-height: 1.8; }
.footer__copy { margin-top: 12px; text-align: center; font-size: 0.78rem; color: #8fa3c0; }

/* ============ ページトップ ============ */

.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--c-primary); color: #fff; border: 0;
  cursor: pointer; font-size: 1.15rem; box-shadow: var(--shadow-2);
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 150;
}
.to-top.visible { opacity: .92; pointer-events: auto; }

/* ============ 静的ページ ============ */

.static h2 { font-size: 1.3rem; font-weight: 800; color: var(--c-navy); margin: 44px 0 16px; padding: 12px 16px; background: var(--c-primary-pale); border-left: 6px solid var(--c-primary); border-radius: 6px; }
.static h3 { font-size: 1.05rem; font-weight: 700; color: var(--c-navy); margin: 30px 0 12px; }
.static p, .static ul, .static ol { margin-bottom: 18px; }
.static ul, .static ol { margin-left: 24px; }

.profile-head { display: flex; gap: 24px; align-items: center; margin: 30px 0; flex-wrap: wrap; }
.profile-head img { width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--c-primary-pale); }
.profile-head h2 { all: unset; font-size: 1.4rem; font-weight: 800; color: var(--c-navy); display: block; }
.profile-head .role { font-size: 0.85rem; color: var(--c-text-sub); }

/* ============ レスポンシブ ============ */

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .gnav__menu {
    position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--c-border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 16px 16px; display: none;
    box-shadow: 0 10px 20px rgba(11,44,95,.1);
  }
  .gnav__menu.open { display: flex; }
  .gnav__menu a { padding: 13px 14px; }
  .gnav__cta { margin: 8px 0 0; text-align: center; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .article-title { font-size: 1.36rem; }
  .article-body h2 { font-size: 1.2rem; }
  .merit { grid-template-columns: 1fr; }

  /* ヒーロー(スマホ) */
  .hero__title { line-height: 1.5; }
  .hero__lead { line-height: 1.8; }
  .hero__points { gap: 8px; }
  .hero__point { padding: 7px 14px; }
  .hero__grid { background-size: 44px 44px; }
  .hero__orb--a { width: 300px; height: 300px; right: -90px; top: -110px; }
  .hero__orb--b { width: 220px; height: 220px; right: -40px; bottom: -130px; }
  .hero__orb--c { display: none; }

  /* 診断ボックス(タッチ端末) — 矢印を常時出してタップ先を明示 */
  .finder__grid { gap: 10px; }
  .finder__item { min-height: 60px; padding: 13px 12px 13px 14px; }
  .finder__arrow { opacity: 1; transform: none; }
}

/* スマホは1カラムにしてタップ領域を横いっぱいに */
@media (max-width: 599px) {
  .finder__grid { grid-template-columns: 1fr; }
}


