/* =========================================================
   保険選定.com 見た目の調整と動き（保険業界のサイトに多い作りを参考）
   - 黄色のマーカー、番号つきの帯、押すと沈むボタン、右端の縦書き申込ボタン
   - スクロールで現れる、数字のカウントアップ、取扱会社名が流れる帯
   ========================================================= */
:root{--hk-navy:#1E3A5F;--hk-navy-d:#152B47;--hk-cta:#E8740C;--hk-cta-d:#B85A07;--hk-line:#DCE4EE;--hk-mark:#FFE27A}

/* AIっぽさの原因になる「大きな角丸・ぼかし影」を控えめに */
html .rounded-3xl{border-radius:14px}
html .shadow-xl,html .shadow-lg{box-shadow:0 1px 0 var(--hk-line),0 6px 18px rgba(30,58,95,.07)}
html .hover\:shadow-xl:hover{box-shadow:0 1px 0 var(--hk-line),0 10px 24px rgba(30,58,95,.1)}

/* 方眼の地（保険メディアに多い、やわらかい紙の印象） */
.hk-grid-bg{background-image:linear-gradient(rgba(30,58,95,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(30,58,95,.05) 1px,transparent 1px);background-size:28px 28px}

/* 見出し：左右に小さな線（＼ ／）を添える */
section .text-center > h2{position:relative;display:inline-block;padding:0 1.4em}
section .text-center > h2::before,section .text-center > h2::after{content:"";position:absolute;top:50%;width:.9em;height:3px;border-radius:2px;background:var(--hk-cta)}
section .text-center > h2::before{left:0;transform:translateY(-50%) rotate(55deg)}
section .text-center > h2::after{right:0;transform:translateY(-50%) rotate(-55deg)}
section .text-center > h2 + p{margin-left:auto;margin-right:auto}

/* 黄色のマーカー（表示されたときに左から引かれる） */
.hk-mark{background-image:linear-gradient(transparent 62%,var(--hk-mark) 62%);background-repeat:no-repeat;background-size:0% 100%;transition:background-size 1s cubic-bezier(.22,.8,.3,1) .2s}
.hk-mark.is-in,.is-in .hk-mark,.hk-mark--hero{background-size:100% 100%}
.hk-mark--hero{transition-delay:1s}

/* ヒーローの見出しを1行ずつ下から */
.hk-hero-h .hk-ln{display:block;overflow:hidden;padding-bottom:.06em}
.hk-hero-h .hk-ln>span{display:inline-block;transform:translateY(110%);animation:hk-up .9s cubic-bezier(.22,.8,.3,1) forwards}
.hk-hero-h .hk-ln:nth-child(2)>span{animation-delay:.15s}
@keyframes hk-up{to{transform:none}}

/* トップの写真と、写真に重なる小さなカード */
.hk-hero-photo{position:relative;padding:18px 0 28px 22px}
.hk-hero-photo::before{content:"";position:absolute;left:8%;top:6%;width:84%;aspect-ratio:1;border-radius:50%;background:#fff;border:2px solid #DCE4EE}
.hk-hero-photo__img{position:relative;margin:0 auto;max-width:560px;opacity:0;transform:translateY(20px) scale(.96);animation:hk-pop .9s .35s cubic-bezier(.22,.8,.3,1) forwards}
.hk-hero-photo__img img{width:100%;height:auto;display:block}
@keyframes hk-wipe{to{clip-path:inset(0 0 0 0 round 18px)}}
@keyframes hk-zoom{to{transform:scale(1)}}
.hk-badge{position:absolute;display:flex;align-items:center;gap:10px;background:#fff;border-radius:12px;padding:10px 16px 10px 10px;box-shadow:0 8px 22px rgba(30,58,95,.16);opacity:0;transform:translateY(14px);animation:hk-pop .7s cubic-bezier(.22,.8,.3,1) forwards}
.hk-badge i{flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-size:20px;background:#1E3A5F;color:#fff}
.hk-badge small{display:block;font-size:11px;color:#6b7280;line-height:1.3}
.hk-badge b{display:block;font-size:15px;color:#111827;line-height:1.4}
.hk-badge--a{left:0;bottom:70px;animation-delay:1.3s}
.hk-badge--b{right:-10px;top:40px;animation-delay:1.5s}
.hk-badge--b i{background:#E8740C}
.hk-badge--c{right:10px;bottom:20px;animation-delay:1.7s}
.hk-badge--c i{background:#06C755}
@keyframes hk-pop{to{opacity:1;transform:none}}
.hk-badge--b{animation:hk-pop .7s 1.5s cubic-bezier(.22,.8,.3,1) forwards,hk-float 4s 2.3s ease-in-out infinite}
@keyframes hk-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@media (max-width:1023px){.hk-hero-photo{margin-top:10px}}
@media (max-width:640px){.hk-badge{padding:8px 12px 8px 8px}.hk-badge i{width:32px;height:32px;font-size:17px}.hk-badge b{font-size:13px}.hk-badge--a{left:0}.hk-badge--b{right:0}}

/* 押すと沈むボタン */
.hk-btn3d{box-shadow:0 5px 0 var(--hk-cta-d)!important;transform:translateY(0);transition:transform .15s,box-shadow .15s,background-color .2s!important}
.hk-btn3d:hover{transform:translateY(2px);box-shadow:0 3px 0 var(--hk-cta-d)!important}
.hk-btn3d:active{transform:translateY(5px);box-shadow:0 0 0 var(--hk-cta-d)!important}

/* 3つのお約束：番号つきの帯 */
.hk-promise{margin:0 auto 28px;max-width:760px;text-align:center}
.hk-promise__bar{position:relative;display:flex;align-items:center;gap:18px;background:var(--hk-navy);color:#fff;border-radius:999px;padding:14px 32px;box-shadow:0 5px 0 var(--hk-navy-d);text-align:left}
.hk-promise__no{font:900 italic 30px/1 "Noto Sans JP",sans-serif;color:#FFD35A;letter-spacing:.02em}
.hk-promise__ttl{font-weight:900;font-size:clamp(16px,2vw,21px);letter-spacing:.06em}
.hk-promise__txt{margin-top:16px;color:#374151;line-height:2;font-size:15.5px}
.hk-promise__txt b{background-image:linear-gradient(transparent 62%,var(--hk-mark) 62%)}
.hk-mini{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--hk-line);border-radius:12px;padding:18px 18px}
.hk-mini i{flex:none;width:40px;height:40px;border-radius:50%;background:#F3F6FA;color:var(--hk-navy);display:grid;place-items:center;font-size:20px}
.hk-mini b{display:block;color:#111827;margin-bottom:2px}
.hk-mini span{font-size:13px;color:#6b7280;line-height:1.7}

/* 取扱会社名が流れる帯（2段・逆向き） */
.hk-marquee{overflow:hidden;padding:6px 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.hk-marquee__track{display:inline-flex;gap:12px;white-space:nowrap;animation:hk-run 48s linear infinite}
.hk-marquee--rev .hk-marquee__track{animation-direction:reverse;animation-duration:54s}
.hk-marquee:hover .hk-marquee__track{animation-play-state:paused}
.hk-marquee__item{font-size:14px;color:#1f2937;background:#fff;border:1px solid var(--hk-line);border-radius:6px;padding:9px 18px}
@keyframes hk-run{to{transform:translateX(-50%)}}

/* スクロールで現れる */
[data-hk-reveal]{opacity:0;transform:translateY(26px);transition:opacity .8s cubic-bezier(.22,.8,.3,1),transform .8s cubic-bezier(.22,.8,.3,1)}
[data-hk-reveal].is-in{opacity:1;transform:none}

/* 右端の縦書き申込ボタン（PC）／画面下の固定ボタン（スマホ） */
.hk-side-cta{position:fixed;right:0;top:50%;z-index:40;transform:translate(100%,-50%);transition:transform .5s cubic-bezier(.22,.8,.3,1);display:flex;flex-direction:column;align-items:center;gap:10px;background:var(--hk-cta);color:#fff;text-decoration:none;padding:16px 12px 16px;border-radius:14px 0 0 14px;box-shadow:-4px 6px 18px rgba(0,0,0,.12);font-weight:900;cursor:pointer;border:0}
.hk-side-cta.is-show{transform:translate(0,-50%)}
.hk-side-cta small{display:block;font-size:11px;line-height:1;letter-spacing:.04em;font-weight:700;background:#fff;color:var(--hk-cta);border-radius:999px;padding:5px 7px;white-space:nowrap}
.hk-side-cta__txt{writing-mode:vertical-rl;font-size:17px;letter-spacing:.2em;line-height:1}
.hk-side-cta i{width:28px;height:28px;border-radius:50%;background:#fff;color:var(--hk-cta);display:grid;place-items:center;font-size:18px}
.hk-side-cta:hover{background:var(--hk-cta-d)}
.hk-sp-cta{display:none}
@media (max-width:768px){
  .hk-side-cta{display:none}
  .hk-sp-cta{display:grid;grid-template-columns:1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:40;height:60px;transform:translateY(100%);transition:transform .4s;box-shadow:0 -2px 10px rgba(0,0,0,.1)}
  .hk-sp-cta.is-show{transform:none}
  .hk-sp-cta button{border:0;font-weight:900;font-size:15px;letter-spacing:.06em;color:#fff;cursor:pointer}
  .hk-sp-cta .is-diag{background:var(--hk-cta)}
  .hk-sp-cta .is-line{background:#06C755}
  body{padding-bottom:60px}
  .hk-promise__bar{padding:12px 20px;gap:12px}
  .hk-promise__no{font-size:24px}
  section .text-center > h2{padding:0 1.2em}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  [data-hk-reveal]{opacity:1;transform:none}
  .hk-hero-h .hk-ln>span{transform:none}
  .hk-hero-photo__img{opacity:1;transform:none}.hk-badge{opacity:1;transform:none}
  .hk-mark{background-size:100% 100%}
}
@media (min-width:640px){.hk-hero-h .hk-ln>span{white-space:nowrap}}

/* ---------- 文字（AIっぽさの最大の原因だった極太ゴシックをやめる） ---------- */
body{font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN",sans-serif;font-feature-settings:"palt";letter-spacing:.04em;color:#1f2937}
h1,h2,h3,.hk-promise__ttl,.hk-badge b,.hk-mini b,#companies h2{font-family:"Zen Maru Gothic","Hiragino Maru Gothic ProN",sans-serif!important;letter-spacing:.06em}
html h1.font-black,html h2.font-black,html h1,html h2{font-weight:700}
.hk-hero-h{line-height:1.4!important}
html .font-black:not(h1):not(h2){font-weight:700}
p,li,dd,dt,label{line-height:1.9}

/* ---------- ロゴ（選べる4つの丸） ---------- */
.hk-logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.hk-logo__mark{width:44px;height:44px;flex:none}
.hk-logo__wm{display:flex;flex-direction:column;line-height:1}
.hk-logo__t{font-family:"Zen Maru Gothic",sans-serif;font-weight:900;font-size:26px;color:#1E3A5F;letter-spacing:.04em}
.hk-logo__t span{color:#E8A317;font-size:.6em;margin-left:2px}
.hk-logo small{font-family:"Zen Maru Gothic",sans-serif;font-size:10.5px;font-weight:700;color:#6b7280;letter-spacing:.12em;margin-top:5px}
.hk-logo--lg .hk-logo__mark{width:52px;height:52px}.hk-logo--lg .hk-logo__t{font-size:30px}
.hk-logo__pick{transform-origin:46px 46px;animation:hk-pick .7s .3s cubic-bezier(.3,1.6,.5,1) both}
@keyframes hk-pick{from{transform:scale(0)}to{transform:scale(1)}}
a:hover .hk-logo__pick{animation:hk-pick .5s cubic-bezier(.3,1.6,.5,1)}
@media (max-width:640px){.hk-logo__mark{width:36px;height:36px}.hk-logo__t{font-size:21px}.hk-logo small{font-size:9.5px}}

/* ---------- ライフプランナー紹介 ---------- */
.hk-chk{display:inline-block;margin-left:.5em;padding:0 .55em;border-radius:3px;background:#FFE27A;color:#5a4300;font:700 11px/1.8 "Noto Sans JP",sans-serif;letter-spacing:.04em;vertical-align:.15em;white-space:nowrap}
.hk-planner{display:grid;grid-template-columns:240px 1fr;gap:44px;align-items:start;background:#F3F6FA;border:1px solid var(--hk-line);border-radius:18px;padding:40px 44px}
.hk-planner__photo{position:relative;width:240px;height:240px}
.hk-planner__photo img,.hk-planner__ph{position:relative;z-index:1;width:100%;height:100%;border-radius:50%;object-fit:cover;display:grid;place-content:center;justify-items:center;gap:4px;background:#fff;border:2px dashed #c8d3e0;color:#7a8799;font-size:13px}
.hk-planner__ph i{font-size:44px;color:#c8d3e0}
.hk-planner__ring{position:absolute;inset:-10px;border-radius:50%;border:3px solid #FFD35A;border-right-color:transparent;border-bottom-color:transparent;animation:hk-spin 14s linear infinite}
@keyframes hk-spin{to{transform:rotate(360deg)}}
.hk-planner__role{display:inline-block;font-size:12px;font-weight:700;color:#fff;background:var(--hk-navy);border-radius:999px;padding:3px 12px;letter-spacing:.1em}
.hk-planner__name{font-family:"Zen Maru Gothic",sans-serif;font-weight:900;font-size:30px;color:#1E3A5F;margin:10px 0 12px;letter-spacing:.08em}
.hk-planner__name small{font-family:"Noto Sans JP",sans-serif;font-size:12px;font-weight:500;color:#6b7280;margin-left:12px;letter-spacing:.1em}
.hk-planner__lic{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.hk-planner__lic li{font-size:13px;background:#fff;border:1px solid var(--hk-line);border-radius:6px;padding:4px 10px;color:#374151}
.hk-planner__lic li i{color:#E8A317;margin-right:4px}
.hk-planner__lic li.is-chk{border:0;background:transparent;padding:4px 0;color:#6b7280}
.hk-planner__msg{position:relative;background:#fff;border-radius:12px;padding:20px 24px;line-height:2;color:#1f2937;font-size:15.5px;margin-bottom:20px}
.hk-planner__msg::before{content:"";position:absolute;left:-10px;top:26px;border:10px solid transparent;border-right-color:#fff;border-left:0}
.hk-planner__ttl{font-weight:700;font-size:14px;color:#1E3A5F;margin-bottom:8px}
.hk-planner__tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.hk-planner__tags li{font-size:13px;color:#1E3A5F;background:#fff;border:1.5px solid #1E3A5F;border-radius:999px;padding:4px 14px}
.hk-planner__cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
@media (max-width:768px){
  .hk-planner{grid-template-columns:1fr;justify-items:center;padding:32px 20px;gap:28px}
  .hk-planner__photo{width:180px;height:180px}
  .hk-planner__body{width:100%}
  .hk-planner__name{font-size:25px;text-align:center}
  .hk-planner__role{display:table;margin:0 auto}
  .hk-planner__msg::before{display:none}
}

/* ===== 3秒かんたん診断（業界の見積もりフォーム風：白地・紺1色・角は小さめ・影なし） ===== */
.hk-qc{display:grid;gap:24px;align-items:start}
@media (min-width:1024px){.hk-qc{grid-template-columns:1.5fr 1fr}}
.hk-qc__box,.hk-qc__case{background:#fff;border:1px solid #C9D3DF;border-radius:6px;overflow:hidden}
.hk-qc__head,.hk-qc__case-head{background:#1E3A5F;color:#fff;font-weight:700;font-size:16px;padding:12px 20px;letter-spacing:.04em}
.hk-qc__case-head{background:#F5F7FA;color:#1E3A5F;border-bottom:1px solid #C9D3DF}
.hk-qc__inner{padding:24px}
.hk-qc__form{display:grid;gap:0;border-top:1px solid #E3E8EF}
.hk-qc__row{display:grid;grid-template-columns:84px 1fr;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #E3E8EF}
.hk-qc__q{font-weight:700;color:#1E3A5F;font-size:15px}
.hk-qc__chips{display:grid;gap:6px}
.hk-qc__chips--5{grid-template-columns:repeat(5,1fr)}.hk-qc__chips--2{grid-template-columns:repeat(2,1fr)}.hk-qc__chips--3{grid-template-columns:repeat(3,1fr)}
.hk-qc__chips label{cursor:pointer}
.hk-qc__chips input{position:absolute;opacity:0;pointer-events:none}
.hk-qc__chips span{display:block;text-align:center;padding:10px 2px;border:1px solid #C9D3DF;border-radius:4px;font-weight:700;font-size:15px;color:#334155;background:#fff;transition:background .15s,color .15s}
.hk-qc__chips label:hover span{background:#F5F7FA}
.hk-qc__chips input:checked+span{background:#1E3A5F;border-color:#1E3A5F;color:#fff}
.hk-qc__chips input:focus-visible+span{outline:2px solid #1E3A5F;outline-offset:2px}
.hk-qc__result{margin-top:20px}
.hk-qc__price{border:1px solid #C9D3DF;border-radius:4px;padding:12px 16px;margin-bottom:16px;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px}
.hk-qc__price small{font-size:12px;color:#64748b}
.hk-qc__price p{color:#1E3A5F;font-weight:700}
.hk-qc__price b{font-size:36px;font-weight:700;color:#1E3A5F;display:inline-block;font-family:"Noto Sans JP",sans-serif}
.hk-qc__price b.is-pop{animation:hk-pop .35s ease}
.hk-qc__price span{font-size:12px;color:#64748b;font-weight:500;margin-left:10px}
@keyframes hk-pop{0%{opacity:.2;transform:translateY(4px)}100%{opacity:1;transform:none}}
.hk-qc__sub{font-weight:700;color:#1f2937;font-size:14px;margin-bottom:4px}
.hk-qc__list{list-style:none;margin:0;padding:0;border-top:1px solid #E3E8EF}
.hk-qc__list li{display:grid;grid-template-columns:22px 1fr auto;gap:8px;align-items:center;padding:10px 2px;border-bottom:1px solid #E3E8EF}
.hk-qc__no{font-weight:700;color:#1E3A5F;font-size:15px}
.hk-qc__name{font-weight:700;font-size:14px;color:#1f2937;line-height:1.45}
.hk-qc__name small{display:block;font-weight:400;font-size:12px;color:#64748b}
.hk-qc__pr{font-weight:700;color:#1E3A5F;font-size:14px;white-space:nowrap}
.hk-qc__family{margin-top:12px;font-size:13px;color:#475569;line-height:1.7;padding-left:12px;border-left:3px solid #1E3A5F}
.hk-qc__policy{margin-top:10px;font-size:12px;color:#64748b}
.hk-qc__policy summary{cursor:pointer;text-decoration:underline}
.hk-qc__policy p{margin-top:6px;line-height:1.7}
.hk-qc__case-inner{padding:20px 22px}
.hk-qc__case-who{font-weight:700;color:#1f2937;line-height:1.6;margin-bottom:12px}
.hk-qc__case-tbl{width:100%;border-collapse:collapse;font-size:15px}
.hk-qc__case-tbl th,.hk-qc__case-tbl td{border:1px solid #DCE4EE;padding:10px 12px;text-align:left}
.hk-qc__case-tbl th{width:6.5em;background:#F5F7FA;font-weight:700;color:#475569;font-size:13px}
.hk-qc__case-tbl td{color:#475569}
.hk-qc__case-tbl .is-after td{color:#1E3A5F;font-weight:700;font-size:18px}
.hk-qc__case-tbl .is-diff td{color:#1E3A5F;font-weight:700}
.hk-qc__case-tbl small{font-weight:400;color:#64748b;margin-left:4px}
.hk-qc__case-txt{margin-top:14px;font-size:14px;color:#374151;line-height:1.8}
.hk-qc__case-link{margin-top:10px;display:inline-flex;align-items:center;font-size:14px;font-weight:700;color:#1E3A5F;text-decoration:underline;text-underline-offset:3px;cursor:pointer;background:none;border:0;padding:0}
.hk-qc__case-note{margin-top:12px;font-size:11px;color:#6b7280;line-height:1.7}
@media (max-width:640px){
  .hk-qc__inner{padding:16px}
  .hk-qc__row{grid-template-columns:1fr;gap:6px}
  .hk-qc__chips--5{grid-template-columns:repeat(5,1fr)}
  .hk-qc__chips span{font-size:14px;padding:10px 0}
  .hk-qc__price b{font-size:30px}
  .hk-qc__list li{grid-template-columns:20px 1fr}
  .hk-qc__pr{grid-column:2}
}

/* ===== 年代別のおすすめ（タブ切り替え） ===== */
.hk-age{background:#fff;border:1px solid #C9D3DF;border-radius:6px;overflow:hidden}
.hk-age__tabs{display:grid;grid-template-columns:repeat(5,1fr);border-bottom:2px solid #1E3A5F;background:#F5F7FA}
.hk-age__tab{padding:14px 4px;font-weight:700;font-size:16px;color:#475569;border-right:1px solid #DCE4EE;cursor:pointer;background:none;transition:background .15s}
.hk-age__tab:last-child{border-right:0}
.hk-age__tab:hover{background:#EBF0F6}
.hk-age__tab.is-on{background:#1E3A5F;color:#fff}
.hk-age__panel{padding:28px 32px}
.hk-age__lead{font-size:20px;font-weight:700;color:#1E3A5F;line-height:1.6;margin-bottom:20px}
.hk-age__cols{display:grid;gap:24px}
@media (min-width:768px){.hk-age__cols{grid-template-columns:1.2fr 1fr}}
.hk-age__h{font-size:13px;font-weight:700;color:#64748b;margin-bottom:8px}
.hk-age__list{list-style:none;margin:0;padding:0;border-top:1px solid #E3E8EF}
.hk-age__list li{padding:10px 0 10px 1.2em;border-bottom:1px solid #E3E8EF;position:relative;color:#1f2937;font-size:15px}
.hk-age__list li::before{content:"";position:absolute;left:2px;top:1.15em;width:6px;height:6px;background:#1E3A5F;border-radius:50%}
.hk-age__types{font-size:16px;font-weight:700;color:#1f2937;margin-bottom:12px}
.hk-age__price{font-size:14px;color:#475569;margin-bottom:14px}
.hk-age__price b{color:#1E3A5F;font-size:18px}
.hk-age__btn{display:inline-flex;align-items:center;gap:2px;border:1px solid #1E3A5F;color:#1E3A5F;font-weight:700;font-size:14px;border-radius:4px;padding:10px 16px;background:#fff;cursor:pointer;transition:background .15s,color .15s}
.hk-age__btn:hover{background:#1E3A5F;color:#fff}
@media (max-width:640px){
  .hk-age__tab{font-size:13px;padding:12px 0}
  .hk-age__panel{padding:20px 16px}
  .hk-age__lead{font-size:17px}
}

/* 診断結果をLINEで送るボタン */
.hk-line-send{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:16px;background:#06C755;color:#fff;font-weight:700;font-size:16px;border-radius:6px;padding:14px 16px;transition:background .15s}
.hk-line-send:hover{background:#05B04D}
.hk-line-send i{font-size:22px}
.hk-line-send__note{margin-top:6px;font-size:11px;color:#64748b;line-height:1.6}
.hoken-result-card~.hk-line-send__note,[id$="-results-list"]>.hk-line-send__note{color:rgba(255,255,255,.9)}
