/* 優待のミカタ スタイル。承認済みデザイン(山吹×墨紺×白、方眼紙、切符モチーフ)を実装したもの */

:root{
  --brand:#F5B700;      /* 山吹 */
  --brand-pale:#FFF6DC; /* 淡い山吹(区切りの地) */
  --navy:#1B2B3A;       /* 墨紺 */
  --cta:#C93A22;        /* 朱(ボタン専用) */
  --teal:#0E7C6B;       /* 青緑(新設・向いている) */
  --white:#FFFFFF;
  --line:#EFE9D8;       /* 方眼紙の線 */
  --shadow:6px 6px 0 var(--navy);
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  color:var(--navy);
  background:var(--white);
  background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:24px 24px;
  font-family:'Noto Sans JP',system-ui,-apple-system,sans-serif;
  line-height:1.7;
}
h1,h2,h3,.mk{font-family:'Zen Maru Gothic',sans-serif;font-weight:900}
a{color:inherit}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
img,svg{max-width:100%}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
dl.qa{margin:14px 0}
dl.qa dt{font-weight:700;margin-top:16px;font-size:15px}
dl.qa dt::before{content:"Q. "}
dl.qa dd{margin:6px 0 0;color:#3a4a5c}
dl.qa dd::before{content:"A. ";font-weight:700;color:var(--navy)}
.find-list{position:absolute;left:0;right:0;top:100%;margin-top:6px;background:#fff;border:2px solid var(--navy);
  border-radius:10px;list-style:none;padding:6px;z-index:5;box-shadow:var(--shadow)}
.find-list li a{display:block;padding:8px 10px;text-decoration:none;color:var(--navy);border-radius:6px}
.find-list li a:hover{background:var(--brand-pale)}
.find-list small{display:block;font-size:12px;color:#5a6879}

/* ---------- ヘッダー(切符の形) ---------- */
.head{background:var(--white);border-bottom:2px solid var(--navy)}
.head .wrap{display:flex;flex-wrap:wrap;align-items:stretch;gap:0 24px;padding:0 20px}
.head .logo{display:flex;align-items:center;gap:10px;padding:14px 18px;background:var(--brand);
  border-left:2px solid var(--navy);border-right:2px dashed var(--navy);text-decoration:none;color:var(--navy)}
.head .logo .lw{display:flex;flex-direction:column;gap:2px}
.head .logo .lw b{font-size:11px;letter-spacing:.3em;font-weight:700}
.head .logo .lw strong{font-family:'Zen Maru Gothic',sans-serif;font-weight:900;font-size:22px;letter-spacing:.06em}
.head nav{flex:1 1 320px;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:0 20px;padding:6px 0;font-size:14px;font-weight:700}
.head nav a{display:inline-flex;align-items:center;gap:6px;padding:10px 0;text-decoration:none}
.head nav a .sq{width:8px;height:8px;background:var(--brand);border:2px solid var(--navy);flex:none}
.head-perf{height:8px;border-top:2px solid var(--navy);
  background-image:radial-gradient(circle at 10px 0,var(--navy) 3px,transparent 3.5px);background-size:16px 8px;background-repeat:repeat-x}

/* ---------- 共通セクション ---------- */
main{display:block}
section{padding:48px 0}
section.alt{background:var(--brand-pale)}
h2{font-size:26px;margin:0 0 20px}
.lead{font-size:16px;color:#3a4a5c}
.note{color:#5a6879;font-size:14px;margin-top:-8px}

.btn{display:inline-flex;align-items:center;gap:8px;background:var(--cta);color:var(--white);
  font-weight:700;border:2px solid var(--navy);border-radius:10px;padding:12px 24px;text-decoration:none;
  box-shadow:var(--shadow);font-size:15px}
.btn-sub{background:var(--white);color:var(--navy)}

/* ---------- トップ:ヒーロー ---------- */
.hero{padding:56px 0 40px}
.hero h1{font-size:34px;line-height:1.3;margin:0 0 14px}
.hero .lead{max-width:36em}

.search{position:relative;margin-top:24px;max-width:640px;background:var(--white);
  border:2px solid var(--navy);border-radius:14px;box-shadow:var(--shadow);display:flex;align-items:center;gap:10px;padding:14px 18px}
.search svg{flex:none;stroke:var(--navy);fill:none;stroke-width:2}
.search input{flex:1;border:0;background:none;font-size:16px;font-family:inherit;outline:none}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.chip{display:inline-flex;align-items:center;gap:6px;background:var(--white);border:2px solid var(--navy);
  border-radius:999px;padding:8px 16px;font-size:14px;font-weight:700;text-decoration:none;color:var(--navy)}
.chip:hover{background:var(--brand-pale)}

/* ---------- 実績の数字(4つ) ---------- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:0;list-style:none;margin:0;padding:0;
  border:2px solid var(--navy);border-radius:14px;overflow:hidden;background:var(--white)}
.stats div{padding:18px 14px;border-left:1px dashed var(--navy);text-align:center}
.stats div:first-child{border-left:0}
.stats dt{font-size:12px;color:#5a6879;margin:0 0 6px}
.stats dd{margin:0;font-size:22px;font-weight:900;font-family:'Zen Maru Gothic',sans-serif}
.stats dd small{font-size:12px;font-weight:500;margin-left:2px}
@media (max-width:720px){.stats{grid-template-columns:repeat(2,1fr)}.stats div:nth-child(3){border-left:0}}

/* ---------- 月のタブ ---------- */
.rg{margin-top:18px}
.rg-tabs,.month-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:2px solid var(--navy);padding-bottom:0}
.rg-tabs button,.month-tabs button{background:var(--white);border:2px solid var(--navy);border-bottom:0;
  border-radius:10px 10px 0 0;padding:10px 16px;font-weight:700;cursor:pointer;font-family:inherit}
.rg-tabs button[aria-selected="true"],.month-tabs button[aria-selected="true"]{background:var(--brand)}

/* ---------- 立場別の2つの入口 ---------- */
.paths{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:16px}
.path{background:var(--white);border:2px solid var(--navy);border-radius:14px;padding:22px;box-shadow:var(--shadow)}
.path h3{margin:0 0 4px;font-size:19px}
.path h3 small{display:block;font-size:12px;font-weight:500;color:#5a6879;margin-top:4px}
@media (max-width:760px){.paths{grid-template-columns:1fr}}

/* ---------- カテゴリー(暮らしの入口)カード ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:8px}
.cat-grid a{display:block;background:var(--white);border:2px solid var(--navy);border-radius:14px;
  padding:22px;text-decoration:none;color:var(--navy);box-shadow:var(--shadow)}
.cat-grid a h3{margin:0 0 6px;font-size:18px}
.cat-grid a p{margin:0;font-size:13px;color:#5a6879}
@media (max-width:760px){.cat-grid{grid-template-columns:1fr 1fr}}

/* ---------- 優待券カード(ticket motif) ---------- */
.tickets{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:8px}
.ticket{display:flex;background:var(--white);border:2px solid var(--navy);border-radius:14px;overflow:hidden;
  text-decoration:none;color:var(--navy);box-shadow:var(--shadow)}
.ticket .stub{flex:0 0 68px;background:var(--brand);border-right:2px dashed var(--navy);
  display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 4px;text-align:center}
.ticket .stub b{font-size:20px;font-family:'Zen Maru Gothic',sans-serif}
.ticket .stub small{font-size:11px}
.ticket .body{flex:1;padding:14px 16px}
.ticket .body h3{margin:0 0 6px;font-size:16px}
.ticket .body p{margin:0;font-size:13px;color:#5a6879}
.ticket .tag{display:inline-block;margin-top:8px;font-size:11px;font-weight:700;background:var(--teal);
  color:var(--white);border-radius:999px;padding:3px 10px}
@media (max-width:900px){.tickets{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.tickets{grid-template-columns:1fr}}

/* ---------- 銘柄ページ:大きなヒーロー券 ---------- */
.stock-hero{display:flex;background:var(--white);border:3px solid var(--navy);border-radius:18px;
  overflow:hidden;box-shadow:10px 10px 0 var(--navy);margin-top:10px}
.stock-hero .stub{flex:0 0 120px;background:var(--brand);border-right:3px dashed var(--navy);
  display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px 8px;text-align:center}
.stock-hero .stub b{font-size:28px;font-family:'Zen Maru Gothic',sans-serif;line-height:1.2}
.stock-hero .body{flex:1;padding:26px 28px}
.stock-hero .conclusion{font-size:13px;letter-spacing:.2em;color:#8a6b00;font-weight:700;margin:0 0 6px}
.stock-hero h1{margin:0 0 10px;font-size:26px}
.stock-hero .req{display:flex;gap:28px;margin-top:14px;flex-wrap:wrap}
.stock-hero .req div dt{font-size:12px;color:#5a6879}
.stock-hero .req div dd{margin:2px 0 0;font-size:20px;font-weight:900;font-family:'Zen Maru Gothic',sans-serif}
@media (max-width:640px){.stock-hero{flex-direction:column}.stock-hero .stub{flex-direction:row;gap:8px;border-right:0;border-bottom:3px dashed var(--navy)}}

/* ---------- 表(優待の内容、いくら返ってくるか) ---------- */
table.data{width:100%;border-collapse:collapse;margin:14px 0;font-size:14px}
table.data th,table.data td{border:1px solid #d8cfa8;padding:10px 12px;text-align:left}
table.data th{background:var(--brand-pale)}
dl.det{display:grid;grid-template-columns:repeat(2,1fr);gap:0;margin:14px 0}
dl.det div{border-bottom:1px solid #d8cfa8;padding:10px 0}
dl.det dt{font-size:12px;color:#5a6879;margin:0}
dl.det dd{margin:2px 0 0;font-weight:700}
@media (max-width:640px){dl.det{grid-template-columns:1fr}}

/* ---------- 向いている人/向いていない人 ---------- */
.fits{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}
.fit{border-radius:12px;padding:16px 18px;border:2px solid var(--navy)}
.fit.yes{background:#eafaf4}
.fit.no{background:#fdeceb}
.fit h3{margin:0 0 8px;font-size:15px}
.fit ul{margin:0;padding-left:18px;font-size:14px}
@media (max-width:640px){.fits{grid-template-columns:1fr}}

/* ---------- 受け取るまでの流れ ---------- */
ol.flow{list-style:none;margin:18px 0;padding:0;counter-reset:fl}
ol.flow li{counter-increment:fl;position:relative;padding:10px 0 10px 40px;border-left:2px dashed var(--navy);margin-left:14px}
ol.flow li::before{content:counter(fl);position:absolute;left:-15px;top:8px;width:28px;height:28px;border-radius:50%;
  background:var(--brand);border:2px solid var(--navy);display:flex;align-items:center;justify-content:center;font-weight:900;font-size:13px}
ol.flow li:last-child{border-left:2px solid transparent}

/* ---------- 変更の履歴 ---------- */
ul.changelog{list-style:none;margin:14px 0;padding:0}
ul.changelog li{padding:10px 0;border-bottom:1px dashed #d8cfa8;font-size:14px}

/* ---------- 証券口座をくらべる ---------- */
.brokers{background:var(--navy);color:var(--white);border-radius:16px;padding:26px;margin-top:16px}
.brokers h2{color:var(--white)}
.brokers .pr{display:inline-block;background:var(--brand);color:var(--navy);font-size:11px;font-weight:900;
  padding:2px 8px;border-radius:4px;margin-right:8px}
.broker-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #35485c;gap:14px;flex-wrap:wrap}
.broker-row:last-child{border-bottom:0}
.broker-row .note{color:#b9c5d1;font-size:13px}

/* ---------- 出典・確認日 ---------- */
.src-box{font-size:13px;color:#5a6879;border-top:2px solid var(--navy);padding-top:16px;margin-top:28px}
.src-box a{color:var(--cta)}

/* ---------- フッター ---------- */
.foot{background:var(--navy);color:#dbe3ea;padding:36px 0 24px;margin-top:0}
.foot .wrap{display:flex;flex-wrap:wrap;gap:30px;justify-content:space-between}
.foot a{color:#dbe3ea;text-decoration:none}
.foot .fh{font-weight:700;color:var(--white);margin:0 0 10px}
.foot ul{list-style:none;margin:0;padding:0}
.foot ul li{margin:4px 0;font-size:14px}
.foot p.small{width:100%;font-size:12px;color:#8ea0b1;border-top:1px solid #35485c;padding-top:16px;margin-top:16px}

/* ---------- パンくず ---------- */
.crumb{padding:14px 0 0}
.crumb ol{list-style:none;display:flex;gap:6px;margin:0;padding:0;font-size:13px;color:#5a6879;flex-wrap:wrap}
.crumb ol li:not(:last-child)::after{content:"›";margin-left:6px}
.crumb a{text-decoration:none;color:#5a6879}
.cat-grid .soon{display:block;background:transparent;border:2px dashed #b9b29c;border-radius:14px;padding:18px;color:#7a8594}
.cat-grid .soon h3{margin:0 0 6px;font-size:18px;color:#5a6879}
.cat-grid .soon p{margin:0;font-size:13px}
.cat-grid .tag{display:inline-block;margin-top:8px;font-size:11px;font-weight:700;background:var(--teal);color:#fff;border-radius:999px;padding:2px 10px}
.cat-grid .soon .tag{background:#9aa3ae}
.adnote{max-width:1120px;margin:8px auto 0;padding:0 20px;font-size:12px;color:#5a6879}
.adnote span{display:inline-block;background:var(--brand);color:var(--navy);font-weight:900;font-size:10px;border-radius:4px;padding:1px 6px;margin-right:6px}
.broker-row .go{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.btn-ad{background:var(--cta);color:#fff;border:0}
.broker-row .risk{font-size:12px;color:#b9c5d1}
@media (max-width:760px){.broker-row .go{align-items:stretch;width:100%}}
.broker-row > div > .note{margin-top:6px}

/* ========== 2026-11-15 使いやすさの手直し(配色とテイストはそのまま) ========== */
/* 余白をTCDより詰める */
section{padding:36px 0}
.hero{padding:40px 0 28px}
h2{font-size:24px;margin:0 0 14px}

/* ヘッダー:上に固定、スマホでは1行で横に流す */
.head{position:sticky;top:0;z-index:20}
.crumb .wrap,.crumb{padding-left:20px;padding-right:20px}
.crumb{max-width:1120px;margin:0 auto}
.head nav a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:3px;text-decoration-color:var(--brand);text-underline-offset:6px}
@media (max-width:640px){
  .head .wrap{flex-wrap:nowrap;gap:0 12px;padding:0 12px}
  .head .logo{padding:8px 12px;gap:8px}
  .head .logo svg{width:24px;height:18px}
  .head .logo .lw b{font-size:9px}
  .head .logo .lw strong{font-size:17px}
  .head nav{flex:1 1 auto;flex-wrap:nowrap;overflow-x:auto;gap:0 14px;font-size:13px;scrollbar-width:none}
  .head nav::-webkit-scrollbar{display:none}
  .head nav a{white-space:nowrap}
  .head-perf{height:6px}
  section{padding:28px 0}
  .hero{padding:28px 0 20px}
  .hero h1{font-size:27px}
  h2{font-size:21px}
}

/* 権利確定月で探す(1〜12月) */
.mon-h{margin:22px 0 8px;font-size:13px;font-weight:700}
.months{display:grid;grid-template-columns:repeat(12,1fr);gap:6px;max-width:720px}
.mon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;background:var(--white);
  border:2px solid var(--navy);border-radius:10px;padding:6px 0;font-weight:900;font-size:14px;text-decoration:none;color:var(--navy);
  font-family:'Zen Maru Gothic',sans-serif;cursor:pointer}
.mon small{font-family:'Noto Sans JP',sans-serif;font-size:10px;font-weight:700;color:#5a6879}
a.mon:hover{background:var(--brand-pale)}
.mon[aria-pressed="true"]{background:var(--brand);box-shadow:3px 3px 0 var(--navy)}
.mon.off{border-style:dashed;border-color:#b9b29c;color:#a8aeb6;cursor:default}
@media (max-width:640px){.months{grid-template-columns:repeat(6,1fr)}}

/* 実績の数字:スマホで小さく */
@media (max-width:720px){.stats div{padding:12px 8px}.stats dd{font-size:18px}.stats dt{font-size:11px}}

/* 優待券カード:権利確定月を全部、条件のバッジ */
.ticket .stub{flex:0 0 76px}
.ticket .stub b{font-size:15px;line-height:1.3}
.ticket .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.ticket .tags .tag{margin-top:0}
.tag-o{background:var(--white)!important;color:var(--teal)!important;border:1.5px solid var(--teal)}
.ticket:hover{transform:translate(-2px,-2px);box-shadow:8px 8px 0 var(--navy)}
.ticket{transition:transform .12s,box-shadow .12s}
.ticket[hidden]{display:none}

/* 銘柄一覧の絞り込み */
.filter{background:var(--white);border:2px solid var(--navy);border-radius:14px;padding:16px 18px;margin:16px 0 22px;box-shadow:var(--shadow)}
.frow{display:flex;align-items:flex-start;gap:14px;padding:8px 0;border-bottom:1px dashed #d8cfa8}
.frow .fl{flex:0 0 88px;font-size:13px;font-weight:700;padding-top:8px}
.frow .months{flex:1;max-width:none}
.frow .chips{margin-top:0}
.filter .chip{cursor:pointer;font-family:inherit}
.filter .chip[aria-pressed="true"]{background:var(--brand)}
.fcount{margin:10px 0 0;font-size:14px}
.fcount b{font-size:22px;font-family:'Zen Maru Gothic',sans-serif;margin-right:2px}
.freset{margin-left:14px;background:none;border:0;color:var(--cta);font-weight:700;cursor:pointer;font-family:inherit;text-decoration:underline}
.empty{padding:24px;text-align:center;color:#5a6879;background:var(--white);border:2px dashed #b9b29c;border-radius:14px}
@media (max-width:640px){.frow{flex-direction:column;gap:6px}.frow .fl{flex:none;padding-top:0}}

/* 銘柄ページ:ヒーローと要点の表 */
.s-hero{padding-top:20px}
.stock-hero .lead{margin:0}
.keyfacts{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:22px 0 0;background:var(--white);
  border:2px solid var(--navy);border-radius:14px;overflow:hidden}
.keyfacts .kv{padding:12px 14px;border-left:1px dashed var(--navy)}
.keyfacts .kv:first-child{border-left:0}
.keyfacts dt{font-size:11px;color:#5a6879;font-weight:700;margin:0 0 4px}
.keyfacts dd{margin:0;font-size:13px;font-weight:700;line-height:1.55}
.keyfacts .kv.na dd{color:#8a95a1;font-weight:500}
.pill{display:inline-block;font-size:10px;font-weight:900;border-radius:999px;padding:1px 8px;margin:0 6px 4px 0;vertical-align:1px}
.pill.ok{background:var(--teal);color:#fff}
.pill.na{background:#e3e6ea;color:#5a6879}
@media (max-width:900px){.keyfacts{grid-template-columns:1fr 1fr}.keyfacts .kv{border-left:0;border-top:1px dashed var(--navy)}
  .keyfacts .kv:nth-child(even){border-left:1px dashed var(--navy)}.keyfacts .kv:first-child,.keyfacts .kv:nth-child(2){border-top:0}
  .keyfacts .kv:last-child{grid-column:1/-1;border-left:0}}
@media (max-width:640px){
  .stock-hero{flex-direction:row;box-shadow:6px 6px 0 var(--navy)}
  .stock-hero .stub{flex:0 0 58px;flex-direction:column;border-right:3px dashed var(--navy);border-bottom:0;padding:10px 4px}
  .stock-hero .stub b{font-size:16px}
  .stock-hero .body{padding:16px}
  .stock-hero .conclusion{font-size:11px;letter-spacing:.1em}
  .stock-hero h1{font-size:21px}
  .stock-hero .lead{font-size:14px}
}

/* 銘柄ページの目次(横に流れる、上に貼りつく) */
.toc{position:sticky;top:73px;z-index:15;background:rgba(255,255,255,.96);border-bottom:2px solid var(--navy);border-top:2px solid var(--navy);margin-top:22px}
.toc .wrap{display:flex;gap:6px;overflow-x:auto;padding-top:8px;padding-bottom:8px;scrollbar-width:none}
.toc .wrap::-webkit-scrollbar{display:none}
.toc a{flex:none;font-size:13px;font-weight:700;text-decoration:none;padding:6px 12px;border-radius:999px;border:2px solid transparent;white-space:nowrap}
.toc a:hover{border-color:var(--navy)}
.toc a.on{background:var(--brand);border-color:var(--navy)}
section[id]{scroll-margin-top:130px}
@media (max-width:640px){.toc{top:52px}section[id]{scroll-margin-top:110px}}

/* 表の行を読みやすく */
dl.det{gap:0 28px}
.adnote{margin-top:6px}
.head .logo .lw strong,.head .logo .lw b{white-space:nowrap}
.toc{top:var(--headh,84px)}
section[id]{scroll-margin-top:calc(var(--headh,84px) + 56px)}
@media (max-width:640px){.toc{top:var(--headh,52px)}}
.ticket .stub b{display:block;font-size:17px;line-height:1.25}
.ticket .stub i{display:block;font-style:normal;font-size:11px;font-weight:700;margin-top:2px}
.ticket .stub small{margin-top:4px}
section > .wrap > h1{margin:6px 0 10px;font-size:30px}
@media (max-width:640px){section > .wrap > h1{font-size:25px}}
@media (max-width:640px){.frow .months{width:100%}.mon{font-size:13px}}
/* 銘柄マーク(会社名の頭文字の判子) */
.mk-badge{flex:none;display:block}
.h1row{display:flex;align-items:center;gap:12px;margin:0 0 10px}
.h1row h1{margin:0}
.ticket .tname{display:flex;align-items:center;gap:8px;margin:0 0 6px}
.ticket .tname h3{margin:0}
.mk-sm{flex:none}
@media (max-width:640px){.h1row .mk-badge{width:38px;height:38px}}
@media (max-width:640px){.h1row{flex-direction:column;align-items:flex-start;gap:8px}.h1row .mk-badge{width:34px;height:34px}}

/* ========== 2026-11-15 トップの手直し:インパクトと親しみ(配色はそのまま) ========== */
.hero2{padding:44px 0 36px;overflow:hidden}
.hero2 .wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:36px;align-items:center}
.eyebrow{display:inline-block;margin:0 0 14px;background:var(--navy);color:var(--brand);font-weight:900;font-size:13px;
  letter-spacing:.12em;padding:6px 14px;border-radius:999px}
.hero2 h1{font-size:52px;line-height:1.22;margin:0 0 16px;letter-spacing:.01em}
.hero2 h1 .hl{background:linear-gradient(transparent 58%,var(--brand) 58%,var(--brand) 92%,transparent 92%);padding:0 2px}
.hero2 .lead{font-size:16px;margin:0}
.hero2 .search{margin-top:22px}

/* 右側:優待券が重なって、ふわふわ浮く */
.hero-art{position:relative;height:360px}
.ht{position:absolute;left:8%;width:84%;display:flex;background:var(--white);border:2.5px solid var(--navy);border-radius:14px;
  box-shadow:6px 6px 0 var(--navy);text-decoration:none;color:var(--navy);overflow:hidden;transition:transform .25s}
.ht-stub{flex:0 0 70px;background:var(--brand);border-right:2.5px dashed var(--navy);display:flex;flex-direction:column;
  align-items:center;justify-content:center;padding:10px 0}
.ht-stub b{font-family:'Zen Maru Gothic',sans-serif;font-size:22px;line-height:1.1}
.ht-stub small{font-size:10px;font-weight:700}
.ht-body{flex:1;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:14px 16px}
.ht-body svg{grid-row:1/3}
.ht-body b{font-size:15px;line-height:1.35}
.ht-body small{font-size:12px;color:#5a6879}
.ht0{top:8px;transform:rotate(-6deg);animation:fl0 6s ease-in-out infinite}
.ht1{top:122px;left:14%;transform:rotate(3deg);animation:fl1 7s ease-in-out infinite;z-index:2}
.ht2{top:236px;left:4%;transform:rotate(-2deg);animation:fl2 6.5s ease-in-out infinite}
.ht:hover{transform:rotate(0) translateY(-6px) scale(1.03)!important;animation-play-state:paused;z-index:3}
@keyframes fl0{0%,100%{transform:rotate(-6deg) translateY(0)}50%{transform:rotate(-5deg) translateY(-8px)}}
@keyframes fl1{0%,100%{transform:rotate(3deg) translateY(0)}50%{transform:rotate(4deg) translateY(-10px)}}
@keyframes fl2{0%,100%{transform:rotate(-2deg) translateY(0)}50%{transform:rotate(-3deg) translateY(-7px)}}
.sticker{position:absolute;right:0;top:-6px;z-index:4;width:104px;height:104px;border-radius:50%;background:var(--cta);color:#fff;
  border:3px solid var(--navy);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  font-size:12px;font-weight:900;line-height:1.3;transform:rotate(12deg);box-shadow:4px 4px 0 var(--navy);animation:spin 14s linear infinite}
.sticker b{font-family:'Zen Maru Gothic',sans-serif;font-size:30px;line-height:1}
@keyframes spin{0%,100%{transform:rotate(12deg) scale(1)}50%{transform:rotate(4deg) scale(1.06)}}

/* 掲載銘柄が流れる帯 */
.marquee{background:var(--navy);border-top:2px solid var(--navy);border-bottom:2px solid var(--navy);overflow:hidden;padding:10px 0}
.mq-track{display:flex;gap:26px;width:max-content;animation:mq 40s linear infinite}
.marquee:hover .mq-track{animation-play-state:paused}
.mq-track a{display:inline-flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-weight:700;font-size:14px;white-space:nowrap}
.mq-track a i{font-style:normal;font-size:12px;color:var(--brand);border:1px solid var(--brand);border-radius:999px;padding:0 8px}
@keyframes mq{to{transform:translateX(-50%)}}

/* 暮らしの入口:大きなアイコン、文字は少なく */
.s-stats{padding:28px 0}
.cats{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.cat{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;background:var(--white);border:2px solid var(--navy);
  border-radius:16px;padding:20px 10px 16px;text-decoration:none;color:var(--navy);box-shadow:var(--shadow);transition:transform .15s,box-shadow .15s}
.cat h3{margin:0;font-size:15px}
.cat .cat-ic{display:flex;align-items:center;justify-content:center;width:62px;height:62px;border-radius:50%;background:var(--brand);border:2px solid var(--navy)}
.cat .tag{font-size:11px;font-weight:700;background:var(--teal);color:#fff;border-radius:999px;padding:1px 10px}
a.cat:hover{transform:translate(-2px,-3px) rotate(-1.5deg);box-shadow:8px 9px 0 var(--navy)}
a.cat:hover .cat-ic{animation:wob .5s ease}
.cat.soon{border-style:dashed;border-color:#b9b29c;box-shadow:none;color:#8a95a1;background:transparent}
.cat.soon .cat-ic{background:#f1ede0;border-color:#b9b29c}
.cat.soon .tag{background:#9aa3ae}
@keyframes wob{0%,100%{transform:rotate(0)}30%{transform:rotate(-12deg)}60%{transform:rotate(9deg)}}
.more{text-align:center;margin:26px 0 0}

/* 立場別の入口:ひと目で押せる大きなボタン */
.paths2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.path2{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;column-gap:14px;align-items:center;
  background:var(--white);border:2px solid var(--navy);border-radius:16px;padding:18px 20px;text-decoration:none;color:var(--navy);
  box-shadow:var(--shadow);transition:transform .15s}
.path2 .p-ic{grid-row:1/3;display:flex;width:52px;height:52px;border-radius:14px;background:var(--brand-pale);border:2px solid var(--navy);align-items:center;justify-content:center}
.path2 b{font-family:'Zen Maru Gothic',sans-serif;font-size:19px}
.path2 small{font-size:13px;color:#5a6879}
.path2 .arrow{grid-row:1/3;grid-column:3;font-size:24px;font-weight:900;transition:transform .15s}
.path2:hover{transform:translate(-2px,-2px)}
.path2:hover .arrow{transform:translateX(5px)}

/* スクロールでふわっと出る */
.rv{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.rv.in{opacity:1;transform:none}
.no-js .rv{opacity:1;transform:none}

@media (max-width:960px){.cats{grid-template-columns:repeat(3,1fr)}}
@media (max-width:860px){
  .hero2 .wrap{grid-template-columns:1fr;gap:10px}
  .hero2 h1{font-size:36px}
  .hero-art{height:250px;order:-1;margin:0 -6px 6px}
  .ht{width:86%}
  .ht0{top:0}.ht1{top:78px}.ht2{top:156px}
  .ht-body{padding:10px 12px}.ht-stub{flex-basis:58px}.ht-stub b{font-size:18px}
  .sticker{width:84px;height:84px;font-size:10px;top:-4px}.sticker b{font-size:24px}
  .paths2{grid-template-columns:1fr}
}
@media (max-width:640px){
  .hero2{padding:22px 0 26px}
  .hero2 h1{font-size:31px}
  .eyebrow{font-size:11px;margin-bottom:10px}
  .cats{grid-template-columns:repeat(3,1fr);gap:10px}
  .cat{padding:14px 6px 12px}.cat .cat-ic{width:50px;height:50px}.cat h3{font-size:13px}
  .cat .ic{width:26px;height:26px}
}
@media (prefers-reduced-motion:reduce){
  .ht,.sticker,.mq-track{animation:none!important}
  .rv{opacity:1;transform:none;transition:none}
}
.hero2 h1 .nb{display:inline-block}
.ht-body{min-width:0}
.ht-body b,.ht-body small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.sticker{top:auto;bottom:-4px;right:2%}
@media (max-width:860px){
  .hero-art{height:200px}
  .ht0{top:0}.ht1{top:62px}.ht2{top:124px}
  .ht-body{padding:8px 12px}.ht-body b{font-size:14px}.ht-body small{font-size:11px}
  .ht-stub{padding:6px 0}
  .sticker{bottom:-10px;right:0;width:76px;height:76px}.sticker b{font-size:21px}
}

/* カーソル:山吹の矢印、押せる所では切符の目(サイトのロゴと同じ形) */
@media (hover:hover) and (pointer:fine){
  html,body{cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2028%2028%22%3E%3Cpath%20d%3D%22M4%203l17%209.5-7.2%201.6-3.6%206.9z%22%20fill%3D%22%23F5B700%22%20stroke%3D%22%231B2B3A%22%20stroke-width%3D%222.2%22%20stroke-linejoin%3D%22round%22/%3E%3Ccircle%20cx%3D%2211.5%22%20cy%3D%2211.5%22%20r%3D%221.8%22%20fill%3D%22%231B2B3A%22/%3E%3C/svg%3E") 4 3,auto}
  a,button,[role="button"],summary,label[for],.mon:not(.off),.chip{cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20d%3D%22M4%209h20v4.5a2.5%202.5%200%200%200%200%205V23H4v-4.5a2.5%202.5%200%200%200%200-5z%22%20fill%3D%22%23F5B700%22%20stroke%3D%22%231B2B3A%22%20stroke-width%3D%222.2%22%20stroke-linejoin%3D%22round%22/%3E%3Cpath%20d%3D%22M18%2010v12%22%20stroke%3D%22%231B2B3A%22%20stroke-width%3D%221.6%22%20stroke-dasharray%3D%222%202%22/%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2216%22%20r%3D%223.4%22%20fill%3D%22%23fff%22%20stroke%3D%22%231B2B3A%22%20stroke-width%3D%221.8%22/%3E%3Ccircle%20cx%3D%2212.2%22%20cy%3D%2216%22%20r%3D%221.5%22%20fill%3D%22%231B2B3A%22/%3E%3Cpath%20d%3D%22M2%202l6%203.2-2.6.6-1.2%202.4z%22%20fill%3D%22%231B2B3A%22/%3E%3C/svg%3E") 2 2,pointer}
  input,textarea{cursor:text}
  .mon.off{cursor:not-allowed}
}
