/* 不登校支援ポータル「学校やめても、なんとかなる」共通スタイル */
:root{
  --bg:#fffaf3;
  --surface:#ffffff;
  --ink:#33312e;
  --ink-soft:#6b665f;
  --primary:#2e7d6b;
  --primary-dark:#22604f;
  --accent:#e8873a;
  --accent-soft:#fdeeda;
  --line:#e7ded2;
  --radius:14px;
}
*{box-sizing:border-box;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP","Yu Gothic",sans-serif;
  line-height:1.8;
  font-size:16px;
}
a{color:var(--primary-dark);}
a:hover{text-decoration:none;}
.wrap{max-width:1060px;margin:0 auto;padding:0 20px;}

/* header */
header.site{
  background:var(--surface);
  border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:10;
}
header.site .wrap{display:flex;align-items:center;gap:24px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap;}
.brand{font-weight:700;font-size:1.15rem;color:var(--ink);text-decoration:none;}
.brand small{display:block;font-size:.68rem;color:var(--ink-soft);font-weight:400;letter-spacing:.04em;}
nav.main{display:flex;gap:18px;flex-wrap:wrap;margin-left:auto;}
nav.main a{color:var(--ink);text-decoration:none;font-size:.92rem;}
nav.main a:hover{color:var(--primary);}

/* hero */
.hero{
  background:linear-gradient(135deg,#fdf3e3 0%,#eef7f2 100%);
  border-bottom:1px solid var(--line);
  padding:56px 0 48px;
}
.hero h1{font-size:2rem;line-height:1.45;margin:0 0 16px;}
.hero h1 .marker{background:linear-gradient(transparent 62%,#ffd9a8 62%);}
.hero p.lead{font-size:1.05rem;color:var(--ink-soft);max-width:720px;margin:0 0 24px;}
.hero .story-box{
  background:var(--surface);border:1px solid var(--line);border-left:5px solid var(--accent);
  border-radius:var(--radius);padding:20px 24px;max-width:860px;
}
.hero .story-box p{margin:0 0 8px;}
.hero .story-box .who{font-size:.85rem;color:var(--ink-soft);}
.hero .story-layout{display:flex;gap:26px;align-items:flex-start;}
.hero .story-main{flex:1;min-width:0;}
.hero .story-badge{flex:none;margin-top:2px;}
.hero .story-linkedin{margin-top:14px;font-size:.92rem;color:var(--ink-soft);}
.hero .story-linkedin-btn{margin:10px 0 2px;}
@media (max-width:640px){
  .hero .story-layout{flex-direction:column;}
  .hero .story-badge{margin:10px auto 2px;}
}

/* core message box */
.message-box{
  background:linear-gradient(135deg,#fdf3e3 0%,#eef7f2 100%);
  border:1px solid var(--line);border-left:5px solid var(--accent);
  border-radius:var(--radius);padding:26px 28px;
}
.message-box .message-lead{font-size:1.35rem;font-weight:700;line-height:1.6;margin:0 0 12px;}
.message-box p{margin:0;}

/* sections */
section.block{padding:44px 0 8px;}
section.block h2{font-size:1.45rem;margin:0 0 6px;}
section.block .sub{color:var(--ink-soft);margin:0 0 22px;}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;}
.card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px;text-decoration:none;color:var(--ink);display:block;
}
.card:hover{border-color:var(--primary);}
.card h3{margin:0 0 8px;font-size:1.12rem;color:var(--primary-dark);}
.card p{margin:0;color:var(--ink-soft);font-size:.94rem;}
.card .tag{display:inline-block;background:var(--accent-soft);color:#9a5a17;font-size:.72rem;
  padding:2px 10px;border-radius:999px;margin-bottom:10px;font-weight:700;}

/* stats */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;}
.stat .num{font-size:1.7rem;font-weight:700;color:var(--primary-dark);}
.stat .lbl{font-size:.85rem;color:var(--ink-soft);}
.source{font-size:.78rem;color:var(--ink-soft);margin-top:10px;}
.sub-note{font-size:.9rem;color:var(--ink-soft);}

/* generic content */
main.page{padding:36px 0 20px;}
main.page h1{font-size:1.8rem;line-height:1.5;margin:0 0 10px;}
main.page h2{font-size:1.3rem;margin:38px 0 10px;padding-left:12px;border-left:5px solid var(--primary);}
main.page h3{font-size:1.08rem;margin:24px 0 6px;}
main.page h3.region-title{font-size:1rem;margin:22px 0 8px;color:var(--ink-soft);}
.crumb{font-size:.85rem;color:var(--ink-soft);margin-bottom:14px;}
.crumb a{color:var(--ink-soft);}
table.data{width:100%;border-collapse:collapse;background:var(--surface);margin:12px 0;}
table.data th,table.data td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top;font-size:.94rem;}
table.data th{background:#f4efe7;width:26%;}
blockquote{
  margin:18px 0;padding:14px 20px;background:var(--surface);
  border-left:5px solid var(--accent);border-radius:0 var(--radius) var(--radius) 0;
  font-size:.97rem;
}
blockquote p{margin:0;}
.note{background:var(--accent-soft);border-radius:var(--radius);padding:16px 20px;margin:18px 0;font-size:.94rem;}
.note p{margin:0;}
.info-box{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px 22px;margin:14px 0;}
.info-box h3{margin-top:0;}
ul.tight li{margin-bottom:6px;}
.btn{
  display:inline-block;background:var(--primary);color:#fff;text-decoration:none;
  padding:12px 26px;border-radius:999px;font-weight:700;border:none;cursor:pointer;font-size:1rem;
}
.btn:hover{background:var(--primary-dark);}
.btn.sub{background:var(--surface);color:var(--primary-dark);border:2px solid var(--primary);}
.btn[disabled]{background:#cfc8bc;cursor:not-allowed;}
.placeholder{
  background:#f1ece4;border:1.5px dashed #c9bda9;border-radius:var(--radius);
  color:var(--ink-soft);text-align:center;padding:28px 16px;font-size:.9rem;
}
.pref-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;}
.pref-grid a,.pref-grid span{
  background:var(--surface);border:1px solid var(--line);border-radius:10px;
  padding:10px 12px;text-decoration:none;color:var(--ink);font-size:.95rem;display:block;
}
.pref-grid span{color:#b3aa9c;}
.pref-grid a:hover{border-color:var(--primary);}

/* simulation tables */
.sim-scroll{overflow-x:auto;}
table.sim{width:100%;border-collapse:collapse;background:var(--surface);margin:12px 0;min-width:560px;}
table.sim th,table.sim td{border:1px solid var(--line);padding:10px 12px;font-size:.94rem;vertical-align:top;}
table.sim thead th{background:#eef7f2;color:var(--primary-dark);text-align:right;}
table.sim thead th:first-child{text-align:left;}
table.sim tbody th{background:#f4efe7;font-weight:700;text-align:left;white-space:nowrap;}
table.sim tbody td{text-align:right;white-space:nowrap;}
table.sim tr.total td,table.sim td.total{font-weight:700;color:var(--primary-dark);background:#fdf3e3;}
table.sim td.hl{font-weight:700;color:var(--primary-dark);}

/* form */
form.story{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;}
form.story label{display:block;font-weight:700;margin:16px 0 6px;font-size:.95rem;}
form.story label:first-child{margin-top:0;}
form.story input[type=text],form.story select,form.story textarea{
  width:100%;border:1px solid var(--line);border-radius:8px;padding:10px 12px;font-size:1rem;
  font-family:inherit;background:#fffdf9;
}
form.story textarea{min-height:150px;}
form.story .hint{display:block;font-size:.8rem;color:var(--ink-soft);font-weight:400;}
form.story .req{font-size:.72rem;color:#b3541e;background:var(--accent-soft);border-radius:999px;padding:1px 8px;margin-left:6px;}
form.story .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;}
.errors{background:#fbeae6;border:1px solid #e5b3a7;border-radius:var(--radius);padding:14px 20px;margin:16px 0;font-size:.94rem;}
.errors ul{margin:0;padding-left:18px;}

/* emergency hotline box (soudan) */
.emergency{background:#fdf0ec;border:2px solid #d9534f;border-radius:var(--radius);padding:18px 22px;margin:18px 0;}
.emergency h2{margin:0 0 8px;color:#a93226;font-size:1.12rem;}
.emergency ul{margin:8px 0;padding-left:18px;}
.emergency .tel{font-weight:700;font-size:1.08rem;white-space:nowrap;}

/* published Q&A (soudan) */
.qa{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px 24px;margin:16px 0;}
.qa h3{margin:0 0 4px;}
.qa .meta{font-size:.82rem;color:var(--ink-soft);margin:0 0 12px;}
.qa .question{white-space:pre-wrap;margin:0;}
.qa .answer{background:var(--accent-soft);border-left:5px solid var(--accent);border-radius:0 var(--radius) var(--radius) 0;padding:14px 18px;margin-top:14px;}
.qa .answer h4{margin:0 0 6px;font-size:.95rem;}
.qa .answer p{white-space:pre-wrap;margin:0;}
form.story label.consent{font-weight:400;font-size:.92rem;}
form.story input[type=checkbox]{margin-right:8px;transform:scale(1.15);}

/* footer */
footer.site{border-top:1px solid var(--line);margin-top:56px;padding:28px 0 40px;background:var(--surface);}
footer.site .wrap{font-size:.85rem;color:var(--ink-soft);}
footer.site nav{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:10px;}
footer.site nav a{color:var(--ink-soft);text-decoration:none;}
footer.site .copyright{margin-top:14px;}

@media (max-width:640px){
  .hero h1{font-size:1.5rem;}
  main.page h1{font-size:1.4rem;}
}

/* figures & diagrams */
.fig{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px 12px;margin:20px 0;}
.fig svg{width:100%;height:auto;display:block;}
.fig figcaption{font-size:.86rem;color:var(--ink-soft);text-align:center;margin-top:10px;}
/* person portraits (merit page) */
.person-photo{margin:16px 0 8px;}
.person-photo img{width:220px;max-width:100%;height:auto;display:block;border-radius:var(--radius);}
.person-photo figcaption{font-size:.75rem;color:var(--ink-soft);margin-top:6px;line-height:1.5;}
.person-photo figcaption a{color:inherit;}
.hic{width:1.02em;height:1.02em;vertical-align:-.13em;margin-right:.32em;stroke:var(--primary);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.emergency .hic{stroke:#a93226;}

/* bar chart */
.bars{margin:16px 0 4px;}
.bar-row{display:flex;align-items:center;gap:12px;margin:10px 0;}
.bar-label{flex:0 0 36%;font-size:.9rem;font-weight:700;line-height:1.5;}
.bar-track{flex:1;background:#f1ece4;border-radius:999px;height:26px;overflow:hidden;}
.bar-fill{height:100%;background:var(--primary);border-radius:999px;}
.bar-fill.b{background:#5aa48f;}
.bar-fill.c{background:var(--accent);}
.bar-fill.d{background:#c9a86a;}
.bar-fill.e{background:#a4553f;}
.bar-val{flex:0 0 auto;font-weight:700;color:var(--primary-dark);white-space:nowrap;font-size:.92rem;}
@media (max-width:640px){
  .bar-row{flex-wrap:wrap;gap:4px 10px;}
  .bar-label{flex:1 1 100%;}
}

/* steps diagram */
.steps{display:flex;margin:16px 0 4px;}
.step{flex:1;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px;}
.step .n{display:inline-block;background:var(--accent);color:#fff;font-weight:700;font-size:.76rem;border-radius:999px;padding:1px 10px;margin-bottom:6px;}
.step h4{margin:0 0 4px;font-size:.97rem;}
.step p{margin:0;font-size:.85rem;color:var(--ink-soft);line-height:1.6;}
.step-arrow{align-self:center;padding:0 5px;color:var(--accent);font-weight:700;font-size:1.05rem;}
@media (max-width:640px){
  .steps{flex-direction:column;}
  .step-arrow{transform:rotate(90deg);align-self:flex-start;padding:2px 0 2px 16px;}
}

/* route flow (merit) */
.route-flow{margin:16px 0 4px;display:grid;gap:12px;}
.route-row{display:flex;align-items:stretch;gap:8px;}
.route-name{flex:0 0 112px;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:700;font-size:.88rem;line-height:1.5;border-radius:10px;padding:8px;background:#f4efe7;color:var(--ink);}
.route-row.b .route-name{background:#eef7f2;color:var(--primary-dark);}
.route-row.c .route-name{background:var(--accent-soft);color:#9a5a17;}
.route-box{flex:1;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:.87rem;line-height:1.55;display:flex;flex-direction:column;justify-content:center;}
.route-box strong{font-size:.92rem;}
.route-box.dual{border:2px solid var(--primary);background:#eef7f2;font-weight:700;text-align:center;align-items:center;}
.route-arrow{align-self:center;color:var(--accent);font-weight:700;}
@media (max-width:640px){
  .route-row{flex-wrap:wrap;}
  .route-name{flex:1 1 100%;}
  .route-box{flex:1 1 40%;}
  .route-arrow{display:none;}
}

/* day timeline (night) */
.day-bar{display:flex;border-radius:10px;overflow:hidden;border:1px solid var(--line);margin:16px 0 4px;}
.day-seg{padding:10px 6px;font-size:.84rem;font-weight:700;line-height:1.45;color:#fff;text-align:center;}
.day-seg small{display:block;font-size:.72rem;font-weight:400;opacity:.92;}
.day-seg.free{background:#b3a58d;}
.day-seg.work{background:var(--accent);}
.day-seg.move{background:#8d8577;}
.day-seg.study{background:var(--primary);}
.day-seg.rest{background:#5aa48f;}
@media (max-width:640px){.day-seg{font-size:.72rem;padding:8px 3px;}.day-seg small{font-size:.62rem;}}

/* merit cost figures (merit page only) */
.merit-figtitle{font-weight:700;font-size:1.02rem;margin:0 0 4px;}
.merit-bigfig{display:flex;align-items:baseline;gap:8px 18px;flex-wrap:wrap;margin:0 0 12px;}
.merit-bigfig-label{font-weight:700;font-size:1rem;line-height:1.5;}
.merit-bigfig-num{font-size:2.5rem;font-weight:800;color:var(--primary-dark);line-height:1.15;letter-spacing:.01em;}
.example-badge{display:inline-block;background:var(--accent);color:#fff;font-size:.72rem;font-weight:700;line-height:1.4;padding:.18em .7em;border-radius:999px;letter-spacing:.08em;margin-left:.55em;vertical-align:.22em;white-space:nowrap;}
.fig-badge{margin:0 0 2px;text-align:right;}
.fig-badge .example-badge{margin-left:0;vertical-align:baseline;}
.example-note{font-size:.92rem;color:var(--ink-soft);margin:12px 0 0;}
.merit-stack{display:flex;border-radius:10px;overflow:hidden;margin:4px 0 2px;}
.merit-stack-seg{padding:10px 14px;color:#fff;font-size:.84rem;font-weight:700;line-height:1.55;display:flex;align-items:center;}
.merit-stack-seg strong{font-size:1.02rem;margin-left:.45em;white-space:nowrap;}
.merit-stack-seg.a{background:var(--primary);}
.merit-stack-seg.b{background:#5aa48f;}
@media (max-width:640px){
  .merit-bigfig-num{font-size:2rem;}
  .merit-stack{flex-direction:column;}
  .merit-stack-seg{width:100%!important;}
}

/* career timeline (profile page only) */
.timeline{position:relative;margin:18px 0 4px;padding-left:28px;}
.timeline::before{content:"";position:absolute;left:8px;top:8px;bottom:8px;width:3px;background:var(--line);border-radius:999px;}
.tl-item{position:relative;padding:2px 0 18px;}
.tl-item:last-child{padding-bottom:2px;}
.tl-item::before{content:"";position:absolute;left:-26px;top:9px;width:11px;height:11px;border-radius:50%;background:var(--accent);border:2px solid var(--bg);}
.tl-when{display:inline-block;font-size:.76rem;font-weight:700;color:#9a5a17;background:var(--accent-soft);border-radius:999px;padding:1px 10px;margin-bottom:2px;}
.tl-org{font-size:1.24rem;font-weight:800;color:var(--primary-dark);line-height:1.45;}
.tl-desc{margin:2px 0 0;font-size:.94rem;color:var(--ink-soft);}

/* rich header & footer (2026-11-19) */
header.site .wrap{display:block;padding-top:14px;padding-bottom:12px;}
.brand-row{display:flex;align-items:center;gap:16px;}
header.site .brand{display:flex;align-items:center;gap:13px;line-height:1.35;}
.brand-logo{width:56px;height:56px;flex:0 0 auto;display:block;}
.brand-text{display:block;}
.brand-text small{margin-top:2px;}
.brand-side{margin-left:auto;flex:0 0 auto;font-size:.88rem;font-weight:700;color:var(--primary-dark);text-decoration:none;border:1.5px solid var(--line);border-radius:999px;padding:7px 14px;background:#fffdf9;}
.brand-side:hover{border-color:var(--primary);}

/* tab navigation */
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;}
.tabs .tab{
  display:inline-flex;align-items:center;min-height:44px;
  padding:9px 16px;border:1.5px solid var(--line);border-radius:999px;
  background:#fffdf9;color:var(--ink);text-decoration:none;
  font-size:.93rem;font-weight:700;line-height:1.3;
}
.tabs .tab:hover{border-color:var(--primary);color:var(--primary-dark);}
.tabs .tab.active{background:var(--primary);border-color:var(--primary);color:#fff;}
.tabs .tab.active:hover{color:#fff;}

/* scenery bands */
.scenery{display:block;width:100%;overflow:hidden;line-height:0;}
.scenery svg{width:100%;height:100%;display:block;}
.scenery-top{height:clamp(64px,10vw,128px);}
.scenery-foot{height:clamp(48px,7vw,88px);margin-top:56px;}

/* rich footer */
footer.site{
  background:linear-gradient(180deg,#22604f 0%,#1d5343 100%);
  border-top:none;margin-top:0;padding:38px 0 36px;
}
footer.site .wrap{color:#dcefe6;font-size:.9rem;}
.foot-brand{display:flex;gap:18px;align-items:flex-start;margin-bottom:28px;}
.foot-logo-badge{background:var(--bg);border-radius:16px;padding:8px;flex:0 0 auto;line-height:0;}
.foot-logo-badge img{width:60px;height:60px;display:block;}
.foot-site-name{font-size:1.25rem;font-weight:800;color:#fff;margin:4px 0 6px;line-height:1.4;}
.foot-desc{margin:0 0 8px;max-width:660px;line-height:1.75;}
.foot-operator{margin:0;font-size:.88rem;font-weight:700;color:#ffd9a8;}
footer.site .foot-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:22px 26px;margin-bottom:26px;}
.foot-group h4{margin:0 0 10px;font-size:.95rem;color:#fff;border-bottom:2px solid var(--accent);padding-bottom:6px;}
.foot-group ul{list-style:none;margin:0;padding:0;}
.foot-group li{margin:0 0 8px;}
footer.site .foot-group a{color:#dcefe6;text-decoration:none;}
footer.site .foot-group a:hover{color:#fff;text-decoration:underline;}
.foot-note{border-top:1px solid rgba(255,255,255,.25);padding-top:14px;font-size:.8rem;color:#bcd8cb;margin:0;}
footer.site .copyright{color:#bcd8cb;margin:10px 0 0;}

@media (max-width:640px){
  header.site{position:static;}
  .brand-logo{width:44px;height:44px;}
  header.site .brand{font-size:1.02rem;gap:10px;}
  .brand-side{display:none;}
  .tabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px;scrollbar-width:none;}
  .tabs::-webkit-scrollbar{display:none;}
  .tabs .tab{flex:0 0 auto;padding:10px 15px;}
  .foot-brand{flex-direction:column;gap:12px;}
}

/* 人生相談「約束」ボックス */
.promise{background:#eef7f2;border:2px solid var(--primary);border-radius:var(--radius);padding:20px 22px;margin:22px 0 4px;}
.promise-lead{font-size:1.3rem;font-weight:700;line-height:1.6;margin:0;color:var(--primary-dark);}
.promise-note{font-size:.85rem;color:var(--ink-soft);margin:10px 0 0;line-height:1.7;}

/* よくある質問（Q&A）開閉式 */
.faq{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin:12px 0;}
.faq summary{
  cursor:pointer;font-weight:700;font-size:1.02rem;line-height:1.6;
  padding:15px 44px 15px 20px;position:relative;list-style:none;
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{
  content:"＋";position:absolute;right:16px;top:50%;transform:translateY(-50%);
  color:var(--primary);font-weight:700;font-size:1.05rem;
}
.faq[open ] summary{color:var(--primary-dark);}
.faq[open ] summary::after{content:"－";}
.faq summary:hover{color:var(--primary-dark);}
.faq .faq-a{border-top:1px dashed var(--line);padding:13px 20px 16px;}
.faq .faq-a p{margin:0 0 8px;}
.faq .faq-a p:last-child{margin-bottom:0;}
.operator-badge-wrap{display:flex;justify-content:center;margin:20px 0 6px;}
.operator-badge-lg{width:172px;height:172px;border-radius:50%;object-fit:cover;box-shadow:0 4px 18px rgba(23,63,51,.18);}
.answer-head{display:flex;align-items:center;gap:10px;}
.operator-badge-sm{width:60px;height:60px;border-radius:50%;object-fit:cover;flex:none;}

/* affiliate cards (PR表記つき。affiliate.py の LINKS が空なら表示されない) */
.aff-block{margin:36px 0 8px;}
.aff-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin:16px 0 4px;}
.aff-card{
  position:relative;background:var(--surface);border:1px solid var(--line);
  border-top:4px solid var(--accent);border-radius:var(--radius);
  padding:20px 22px 16px;
}
.aff-pr{
  position:absolute;top:12px;right:14px;font-size:.68rem;font-weight:700;
  letter-spacing:.1em;color:#9a5a17;background:var(--accent-soft);
  border:1px solid #ecd9bd;border-radius:4px;padding:1px 7px;line-height:1.6;
}
.aff-card .aff-name{margin:0 44px 8px 0;font-size:1.05rem;color:var(--primary-dark);line-height:1.5;}
.aff-desc{margin:0 0 10px;font-size:.93rem;}
.aff-note{
  margin:0 0 10px;font-size:.85rem;color:#9a5a17;line-height:1.65;
  background:var(--accent-soft);border-radius:8px;padding:8px 12px;
}
.aff-cta{margin:14px 0 2px;}
.aff-btn{background:var(--accent);}
.aff-btn:hover{background:#cf7428;}
.aff-caution{margin:10px 0 0;font-size:.78rem;color:var(--ink-soft);line-height:1.65;}

/* ============================================================
   リッチデザインシステム（2026-11-19 全面リッチ化）
   LP風の質感：アイコンチップ見出し／帯セクション／影と角丸の
   カード／大きめCTA／ページタイトルバンドを全ページ共通部品化
   ============================================================ */
:root{
  --primary-deep:#173f33;
  --accent-dark:#cf7428;
  --mint:#eef7f2;
  --mint-2:#dcefe6;
  --cream:#fdf3e3;
  --peach:#fdeeda;
  --sun:#ffd9a8;
  --shadow-sm:0 2px 8px rgba(23,63,51,.07);
  --shadow-md:0 10px 26px rgba(23,63,51,.11);
  --shadow-lg:0 18px 44px rgba(23,63,51,.16);
  --radius-lg:22px;
}
body{
  background-image:
    radial-gradient(640px 300px at 88% -60px, rgba(232,135,58,.09), rgba(232,135,58,0) 70%),
    radial-gradient(760px 360px at -12% 260px, rgba(46,125,107,.08), rgba(46,125,107,0) 70%);
  background-repeat:no-repeat;
}
header.site{box-shadow:0 2px 16px rgba(23,63,51,.07);}
.tabs .tab{box-shadow:var(--shadow-sm);}
.tabs .tab.active{box-shadow:0 5px 14px rgba(34,96,79,.32);}

/* 見出しアイコン → 白抜きの丸チップ */
.hic{
  background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);
  stroke:#fff;border-radius:50%;
  width:1.62em;height:1.62em;padding:.31em;
  vertical-align:-.44em;margin-right:.42em;
  box-shadow:0 3px 9px rgba(34,96,79,.30);
}
.emergency .hic{
  background:linear-gradient(135deg,#d9534f 0%,#b03a34 100%);
  stroke:#fff;box-shadow:0 3px 9px rgba(169,50,38,.32);
}

/* ---------- トップ：ヒーロー ---------- */
.hero{
  padding:62px 0 56px;position:relative;overflow:hidden;
  background:linear-gradient(140deg,#fdf3e3 0%,#f8ecd4 32%,#eef7f2 76%,#e0efe7 100%);
}
.hero::before{
  content:"";position:absolute;width:340px;height:340px;border-radius:50%;
  right:-110px;top:-150px;background:rgba(232,135,58,.16);
}
.hero::after{
  content:"";position:absolute;width:260px;height:260px;border-radius:50%;
  left:-100px;bottom:-150px;background:rgba(46,125,107,.13);
}
.hero .wrap{position:relative;z-index:1;}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:42px;align-items:center;}
.hero h1{font-size:2.35rem;margin:0 0 18px;}
.hero-fig{
  margin:0;background:#fff;padding:10px;border-radius:30px;
  box-shadow:var(--shadow-lg);transform:rotate(1.2deg);
}
.hero-fig img{width:100%;height:auto;display:block;border-radius:22px;}
.hero .story-box{
  margin-top:40px;border-radius:20px;box-shadow:var(--shadow-md);
  border-left-width:6px;padding:26px 30px;
}
@media (max-width:820px){
  .hero-grid{grid-template-columns:1fr;gap:26px;}
  .hero h1{font-size:1.85rem;}
  .hero-fig{transform:none;max-width:560px;}
}
@media (max-width:640px){
  .hero{padding:42px 0 40px;}
  .hero h1{font-size:1.55rem;}
  .hero .story-box{padding:20px 20px;margin-top:28px;}
}

/* ---------- トップ：セクション ---------- */
section.block h2{font-size:1.58rem;position:relative;padding-bottom:12px;}
section.block h2::after{
  content:"";position:absolute;left:2px;bottom:0;width:76px;height:4px;
  border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--sun));
}
section.block .sub{font-size:1rem;}
section.block.band{padding:54px 0 46px;margin-top:46px;}
section.block.band-mint{background:linear-gradient(180deg,#e6f2eb 0%,#eef7f2 100%);}
section.block.band-cream{background:linear-gradient(180deg,#fcefd8 0%,#fdf6e9 100%);}
section.block.cta-sec{padding-top:40px;}
section.block.cta-sec .wrap{
  background:var(--surface);border:1px solid var(--line);border-radius:26px;
  box-shadow:var(--shadow-md);padding:34px 38px 30px;
}
@media (max-width:640px){
  section.block h2{font-size:1.32rem;}
  section.block.cta-sec .wrap{padding:24px 20px 20px;}
}

/* カード（画像つき対応） */
.card{
  border-radius:20px;padding:24px;box-shadow:var(--shadow-sm);
  position:relative;overflow:hidden;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:5px;z-index:1;
  background:linear-gradient(90deg,var(--primary),#5aa48f);
}
.card:has(.card-img)::before{display:none;}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:#bcd8cb;}
.card-img{
  display:block;width:calc(100% + 48px);max-width:none;height:168px;object-fit:cover;
  margin:-24px -24px 18px;
}
.card .tag{
  background:linear-gradient(135deg,var(--peach),#fbe3c2);color:#9a5a17;
  padding:3px 12px;box-shadow:var(--shadow-sm);
}
.card h3{font-size:1.18rem;}

/* 数字カード */
.stat{
  border-radius:20px;box-shadow:var(--shadow-sm);padding:24px 22px 20px;
  position:relative;overflow:hidden;
}
.stat::before{
  content:"";position:absolute;top:0;left:0;right:0;height:5px;
  background:linear-gradient(90deg,var(--accent),var(--sun));
}
.stat .num{font-size:2.05rem;letter-spacing:.01em;}

/* ボタン */
.btn{
  padding:14px 32px;box-shadow:0 7px 18px rgba(34,96,79,.26);
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 11px 24px rgba(34,96,79,.30);}
.btn.accent{
  background:linear-gradient(135deg,#f0953f 0%,var(--accent-dark) 100%);
  box-shadow:0 7px 18px rgba(207,116,40,.32);
}
.btn.accent:hover{box-shadow:0 11px 24px rgba(207,116,40,.36);}
.btn.sub{box-shadow:none;}
.btn.sub:hover{box-shadow:var(--shadow-sm);}

/* メッセージボックス・各種ボックス */
.message-box{border-radius:20px;box-shadow:var(--shadow-md);border-left-width:6px;padding:30px 32px;}
.info-box{border-radius:20px;box-shadow:var(--shadow-sm);padding:22px 26px;}
.note{border:1px solid #f0dcba;box-shadow:var(--shadow-sm);border-radius:16px;}
.fig{border-radius:20px;box-shadow:var(--shadow-sm);padding:22px 22px 14px;}
.promise{border-radius:20px;box-shadow:var(--shadow-sm);}
.qa{border-radius:20px;box-shadow:var(--shadow-sm);}
.faq{border-radius:16px;box-shadow:var(--shadow-sm);}
.emergency{border-radius:20px;box-shadow:0 10px 24px rgba(169,50,38,.13);}
form.story{border-radius:20px;box-shadow:var(--shadow-sm);padding:28px;}
form.story input[type=text]:focus,form.story select:focus,form.story textarea:focus{
  outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(46,125,107,.18);
}
blockquote{box-shadow:var(--shadow-sm);border-radius:0 16px 16px 0;}

/* ステップ・ルート図・バー・タイムライン */
.step{border-radius:18px;box-shadow:var(--shadow-sm);}
.step .n{font-size:.82rem;padding:3px 12px;box-shadow:0 3px 8px rgba(232,135,58,.35);}
.route-box{box-shadow:var(--shadow-sm);border-radius:12px;}
.day-bar{box-shadow:var(--shadow-sm);border-radius:12px;}
.bar-track{box-shadow:inset 0 1px 3px rgba(51,49,46,.10);}
.person-photo img{border:5px solid #fff;box-shadow:var(--shadow-md);border-radius:18px;}
.timeline::before{background:linear-gradient(180deg,var(--accent) 0%,var(--primary) 100%);}
.tl-item::before{box-shadow:0 2px 7px rgba(232,135,58,.45);}
.pref-grid a{border-radius:12px;box-shadow:var(--shadow-sm);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;}
.pref-grid a:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);}

/* ---------- 下層ページ：タイトルバンド＋見出し ---------- */
.crumb{
  display:inline-block;background:#fff;border:1px solid var(--line);
  border-radius:999px;padding:4px 15px;box-shadow:var(--shadow-sm);margin-bottom:16px;
}
main.page h1{
  font-size:1.92rem;line-height:1.5;margin:0 0 20px;
  background:linear-gradient(135deg,#fdf3e3 0%,#f6efdd 45%,#eef7f2 100%);
  border:1px solid var(--line);border-radius:20px;
  padding:28px 32px 32px;box-shadow:var(--shadow-md);
  position:relative;overflow:hidden;
}
main.page h1::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:6px;
  background:linear-gradient(90deg,var(--accent) 0%,var(--sun) 42%,var(--primary) 100%);
}
main.page h2{
  font-size:1.42rem;margin:48px 0 14px;padding:0 0 10px;border-left:none;position:relative;
}
main.page h2::after{
  content:"";position:absolute;left:2px;bottom:0;width:76px;height:4px;
  border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--sun));
}
main.page .emergency h2{margin:0 0 8px;padding:0;}
main.page .emergency h2::after{display:none;}
main.page h3{font-size:1.14rem;}
table.data{box-shadow:var(--shadow-sm);}
table.data th{background:linear-gradient(180deg,#f8f2e7,#f2ebdb);}
table.sim thead th{background:linear-gradient(180deg,#dff0e6,#eef7f2);}
@media (max-width:640px){
  main.page h1{font-size:1.42rem;padding:20px 20px 24px;}
  main.page h2{font-size:1.24rem;margin:36px 0 12px;}
}
