/* ===== ヒカクIFP 固定ページ用（「ヒカクIFPとは」「スペック比較」共通） ===== */
/* ===== ヒカクIFPとは（リニューアル） ===== */
.hk-about{--hk-accent:#0b5cab;--hk-text:#1f2933;--hk-sub:#667085;--hk-line:#e3e7ec;--hk-soft:#f4f6f9;color:var(--hk-text);line-height:1.9}
.hk-about p{margin:0 0 1em}
.hk-about a{color:var(--hk-accent)}

/* はじめに */
.hk-about__hero{padding:40px 36px;border-radius:8px;background:linear-gradient(135deg,#f4f6f9 0%,#e9eef6 100%);margin-bottom:56px}
.hk-about .hk-about__eyebrow,.hk-about .hk-about__sub{font-size:12px;font-weight:800;letter-spacing:.18em;color:var(--hk-accent);margin:0 0 6px}
.hk-about .hk-about__headline{font-size:30px;font-weight:900;line-height:1.45;margin:0 0 18px;letter-spacing:.02em}
.hk-about .hk-about__lead{font-size:16px;margin:0;color:#3d4a5c}

/* セクション共通・見出し（テーマの見出し装飾を打ち消す） */
.hk-about__sec{margin:0 0 64px}
.hk-about h2.hk-about__h2{all:unset;display:block;font-size:24px;font-weight:900;line-height:1.4;margin:0 0 22px;padding:0 0 12px;border-bottom:2px solid var(--hk-text);color:var(--hk-text)}
.hk-about h2.hk-about__h2::before,.hk-about h2.hk-about__h2::after{content:none!important;display:none!important}

/* 3つの約束 */
.hk-about__cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.hk-about__card{background:#fff;border:1px solid var(--hk-line);border-radius:6px;padding:22px 20px}
.hk-about__card p{font-size:14px;color:#4a5565;margin:0}
.hk-about__num{display:block;font-size:28px;font-weight:900;color:var(--hk-accent);line-height:1;margin-bottom:10px;font-feature-settings:"tnum"}
.hk-about .hk-about__cardtitle{font-size:17px;font-weight:800;color:var(--hk-text);margin:0 0 8px;line-height:1.5}

/* できること */
.hk-about__uses{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.hk-about a.hk-about__use{display:flex;flex-direction:column;gap:6px;padding:18px 44px 18px 20px;border:1px solid var(--hk-line);border-radius:6px;background:#fff;color:#4a5565;text-decoration:none;font-size:14px;line-height:1.7;position:relative;transition:border-color .15s,box-shadow .15s,transform .15s}
.hk-about a.hk-about__use::after{content:"→";position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--hk-accent);font-weight:800}
.hk-about a.hk-about__use:hover{border-color:var(--hk-accent);box-shadow:0 8px 20px rgba(15,23,42,.08);transform:translateY(-2px)}
.hk-about__usettl{font-size:16px;font-weight:800;color:var(--hk-text)}

/* 評価のしくみ */
.hk-about ul.hk-about__crit{list-style:none;margin:0 0 24px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;counter-reset:crit;border:none;background:none}
.hk-about ul.hk-about__crit li{counter-increment:crit;margin:0;padding:12px 14px;background:var(--hk-soft);border-radius:5px;font-size:14px;font-weight:700;line-height:1.5}
.hk-about ul.hk-about__crit li::before{content:counter(crit)!important;display:inline-flex!important;align-items:center;justify-content:center;position:static!important;width:22px;height:22px;margin-right:8px;border-radius:50%;background:var(--hk-accent)!important;color:#fff;font-size:12px;vertical-align:1px}
.hk-about ol.hk-about__flow{list-style:none;margin:0 0 16px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;border:none;background:none}
.hk-about ol.hk-about__flow li{position:relative;margin:0;padding:18px 18px 16px;border:1px solid var(--hk-line);border-radius:6px;background:#fff;font-size:14px;line-height:1.7;color:#4a5565}
.hk-about ol.hk-about__flow li::before{content:none!important;display:none!important}
.hk-about ol.hk-about__flow li:not(:last-child)::after{content:"";position:absolute;right:-12px;top:50%;width:10px;height:10px;border-top:2px solid var(--hk-accent);border-right:2px solid var(--hk-accent);transform:translateY(-50%) rotate(45deg);z-index:1}
.hk-about__step{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--hk-accent);margin-bottom:4px}
.hk-about__flow strong{display:block;font-size:16px;color:var(--hk-text);margin-bottom:4px}
.hk-about .hk-about__note{font-size:13px;color:var(--hk-sub)}

/* 情報の集め方 */
.hk-about dl.hk-about__dl{display:grid;grid-template-columns:9em 1fr;margin:0;border-top:1px solid var(--hk-line)}
.hk-about__dl dt,.hk-about__dl dd{margin:0;padding:16px 4px;border-bottom:1px solid var(--hk-line);font-size:14px}
.hk-about__dl dt{font-weight:800}
.hk-about__dl dd{color:#4a5565;line-height:1.8}

/* 関係の開示 */
.hk-about__sec--box{background:#f7f8fa;border:1px solid var(--hk-line);border-radius:8px;padding:28px 28px 20px}
.hk-about ul.hk-about__check{list-style:none;margin:0;padding:0;border:none;background:none}
.hk-about ul.hk-about__check li{position:relative;margin:0 0 10px;padding:0 0 0 30px;font-size:14px;line-height:1.8}
.hk-about ul.hk-about__check li::before{content:"✓"!important;display:flex!important;align-items:center;justify-content:center;position:absolute!important;left:0;top:3px;width:20px;height:20px;border-radius:50%;background:var(--hk-accent)!important;color:#fff;font-size:12px;font-weight:800}

/* よくある質問 */
.hk-about__faq{border-bottom:1px solid var(--hk-line)}
.hk-about__faq summary{cursor:pointer;list-style:none;padding:16px 36px 16px 0;font-weight:800;position:relative;line-height:1.6}
.hk-about__faq summary::-webkit-details-marker{display:none}
.hk-about__faq summary::before{content:"Q";color:var(--hk-accent);margin-right:10px;font-weight:900}
.hk-about__faq summary::after{content:"＋";position:absolute;right:6px;top:50%;transform:translateY(-50%);color:var(--hk-sub)}
.hk-about__faq[open] summary::after{content:"－"}
.hk-about__faq p{margin:0 0 16px;padding:0 0 0 24px;font-size:14px;color:#4a5565}

/* 最後の検索 */
.hk-about__cta{padding:32px 28px;border-radius:8px;background:linear-gradient(135deg,#0b5cab,#0a3f7a);color:#fff}
.hk-about .hk-about__ctatitle{font-size:22px;font-weight:900;margin:0 0 14px}
.hk-about .hk-about__ctasub{margin:14px 0 0;font-size:13px;color:rgba(255,255,255,.85)}
.hk-about .hk-about__ctasub a{color:#fff;text-decoration:underline}
.hk-about__cta .ifpk-hero__qlabel,.hk-about__cta .ifpk-hero__more summary{color:#fff!important}

/* スマホ */
@media (max-width:760px){
  .hk-about__hero{padding:28px 20px}
  .hk-about .hk-about__headline{font-size:22px}
  .hk-about__cards,.hk-about__uses,.hk-about ol.hk-about__flow{grid-template-columns:1fr}
  .hk-about ol.hk-about__flow li:not(:last-child)::after{right:50%;top:auto;bottom:-12px;transform:translateX(50%) rotate(135deg)}
  .hk-about ul.hk-about__crit{grid-template-columns:1fr 1fr}
  .hk-about dl.hk-about__dl{grid-template-columns:1fr}
  .hk-about__dl dt{border-bottom:none;padding-bottom:0}
  .hk-about__sec--box,.hk-about__cta{padding:24px 18px}
}

/* ===== スペック比較ページ（「ヒカクIFPとは」のCSSと一緒に使います） ===== */
.hk-spec .hk-spec__how{font-size:14px;color:#4a5565}
.hk-spec ul.hk-spec__legend{list-style:none;margin:14px 0 0;padding:14px 16px;background:#f7f8fa;border-radius:5px;border:none}
.hk-spec ul.hk-spec__legend li{margin:0 0 4px;padding:0;font-size:13px;color:#4a5565;line-height:1.7}
.hk-spec ul.hk-spec__legend li::before{content:none!important;display:none!important}
.hk-spec__points{display:grid;gap:14px}
.hk-spec__point{background:#fff;border:1px solid #e3e7ec;border-radius:6px;padding:20px 22px}
.hk-spec__point p{font-size:14px;color:#4a5565;margin:0 0 10px}
.hk-spec .hk-spec__ptitle{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:800;color:#1f2933;margin:0 0 10px}
.hk-spec__ptitle span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#0b5cab;color:#fff;font-size:14px;flex-shrink:0}
.hk-spec .hk-spec__check{margin:0;padding:8px 12px;background:#eef4fb;border-radius:5px;font-size:13px;font-weight:700;color:#0b5cab}

/* ===== スペック比較ページの横幅 =====
   SWELLの「サイト幅1200px（左右48pxの余白）」に合わせて、
   大きいモニターでも中身の幅を 1200 − 48×2 ＝ 1104px にそろえる。
   ページの設定が「1カラム（記事幅900px）」でも「100%」でも、同じ幅で表示される。 */
@media (min-width:960px){
  .hk-about.hk-spec{
    --hk-w:min(1104px, calc(100vw - 96px));
    width:var(--hk-w)!important;
    max-width:none!important;
    margin-left:calc(50% - var(--hk-w) / 2)!important;
    margin-right:calc(50% - var(--hk-w) / 2)!important;
    box-sizing:border-box;
  }
}
.hk-spec .hk-about__hero{padding:48px 48px}
.hk-spec .hk-about__headline{font-size:34px}
.hk-spec .hk-about__lead{max-width:none}
@media (min-width:960px){
  .hk-spec__points{grid-template-columns:repeat(3,1fr)}
  .hk-spec__point:nth-child(4),.hk-spec__point:nth-child(5){grid-column:span 1}
  .hk-spec .hk-about__sec--box{padding:32px 40px 24px}
}

/* 文章の折り返しを自然に（単語の途中や変な位置で改行しない） */
.hk-about .hk-about__lead,.hk-about .hk-about__headline{word-break:auto-phrase;text-wrap:pretty}

/* 最後の検索枠を横幅いっぱいに */
.hk-about__cta .ifpk-search--hero{max-width:none;width:100%;margin:0}
/* パソコンでだけ改行（スマホでは自然に折り返す） */
@media (max-width:760px){.hk-about br.hk-pc{display:none}}

/* ===== スマホ表示の調整（599px以下：SWELLのスマホ表示と同じ区切り） ===== */
@media (max-width:599px){
  .hk-about .hk-about__hero,.hk-spec .hk-about__hero{padding:24px 18px;margin-bottom:40px;border-radius:6px}
  .hk-about .hk-about__headline,.hk-spec .hk-about__headline{font-size:21px;line-height:1.5;letter-spacing:0;margin-bottom:14px}
  .hk-about .hk-about__lead{font-size:14.5px;line-height:1.85}
  .hk-about h2.hk-about__h2{font-size:20px;margin-bottom:18px}
  .hk-about br.hk-pc{display:none}
}

/* 文の区切り（文節）で改行させる：<span class="hk-nw">で囲んだまとまりは途中で折り返さない（iPhoneでも効く） */
.hk-about .hk-nw{display:inline-block}

/* ===== 見出しをトップページのセクション見出し（最新情報など）とそろえる ===== */
.hk-about .hk-about__eyebrow,.hk-about .hk-about__sub{font-size:11.5px;letter-spacing:.18em}
.hk-about h2.hk-about__h2{font-size:25px;font-weight:800;line-height:1.25;letter-spacing:.02em;padding:0 0 12px;margin:0 0 22px}
@media (max-width:599px){.hk-about h2.hk-about__h2{font-size:21px}}
/* 本文中のプラグイン部品の間隔をそろえる */
.hk-about>.ifpk-latest{margin:0 0 64px}
.hk-rank__purpose{margin-bottom:8px}

/* ===== ランキングページ：目的別の見出し ===== */
/* 親の見出し（目的別ランキング）：色つきの帯にして、下の各ランキングとはっきり分ける */
.hk-rank__intro{margin:72px 0 48px;padding:32px 36px 28px;border-radius:8px;background:linear-gradient(135deg,#0b5cab 0%,#0a3f7a 100%);color:#fff}
.hk-about .hk-rank__introsub{margin:0 0 6px;font-size:11.5px;font-weight:800;letter-spacing:.18em;color:rgba(255,255,255,.75)}
.hk-about h2.hk-rank__introtitle{all:unset;display:block;font-size:26px;font-weight:900;line-height:1.3;color:#fff;margin:0 0 10px}
.hk-about h2.hk-rank__introtitle::before,.hk-about h2.hk-rank__introtitle::after{content:none!important;display:none!important}
.hk-about .hk-rank__introtext{margin:0 0 20px;font-size:14px;line-height:1.8;color:rgba(255,255,255,.88)}
.hk-rank__jump{display:flex;flex-wrap:wrap;gap:8px}
.hk-about .hk-rank__jump a{display:inline-flex;align-items:center;gap:8px;padding:8px 14px 8px 8px;border-radius:6px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);color:#fff!important;font-size:13px;font-weight:700;text-decoration:none;transition:background .15s}
.hk-about .hk-rank__jump a:hover{background:rgba(255,255,255,.24)}
.hk-rank__jump a span{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#fff;color:#0b5cab;font-size:11px;font-weight:900;font-feature-settings:"tnum"}

/* 子の見出し（各目的）：細い線と左のアクセントで、ひとつ下の階層に見せる */
.hk-rank__item{margin:0 0 56px;scroll-margin-top:90px}
.hk-rank__item .ifpk-sec{margin:0!important}
.hk-rank__item .ifpk-latest__head{border-bottom:1px solid #dfe3e8!important;padding:0 0 12px 16px!important;margin-bottom:20px!important;position:relative}
.hk-rank__item .ifpk-latest__head::before{content:"";position:absolute;left:0;top:2px;bottom:12px;width:4px;border-radius:2px;background:var(--ifpk-accent,#0b5cab)}
body .hk-rank__item .ifpk-latest .ifpk-latest__sub{font-size:11px;letter-spacing:.14em}
body .hk-rank__item .ifpk-latest .ifpk-latest__title{font-size:20px;font-weight:800}
@media (max-width:599px){
  .hk-rank__intro{margin:48px 0 36px;padding:24px 18px 20px;border-radius:6px}
  .hk-about h2.hk-rank__introtitle{font-size:21px}
  .hk-about .hk-rank__jump a{font-size:12px;padding:6px 12px 6px 6px}
  .hk-rank__item{margin-bottom:44px}
  body .hk-rank__item .ifpk-latest .ifpk-latest__title{font-size:17px}
}
/* 目的別ランキングのまとまりと、下の「3つのポイント」の間をしっかり空ける（テーマの余白指定に左右されないよう内側の余白で確保） */
.hk-rank__group{display:flow-root;padding-bottom:56px!important;margin-bottom:0!important}
.hk-rank__group .hk-rank__item:last-child{margin-bottom:0!important}
@media (max-width:599px){.hk-rank__group{padding-bottom:40px!important}}
