*{box-sizing:border-box;margin:0;padding:0;}
:root{
  --primary:#2d4a6b;--pl:#3d6a9a;--accent:#e8612e;--al:#f07040;
  --bg:#f7f5f0;--white:#fff;--text:#1e1e1e;--muted:#666;--border:#dddad4;
  --serif:'Noto Serif JP',serif;--pop:'Zen Maru Gothic',var(--sans);--sans:'Noto Sans JP',sans-serif;--radius:6px;
}
body{font-family:var(--sans);color:var(--text);background:var(--bg);font-size:17px;line-height:1.8;}

/* HEADER */
.hdr{background:var(--white);border-bottom:1px solid var(--border);padding:0 4%;}
.hdr-in{max-width:1000px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:64px;}
.logo{font-family:var(--serif);font-size:20px;font-weight:700;color:var(--primary);text-decoration:none;letter-spacing:0.05em;}
.logo span{color:var(--accent);}
.hdr-nav{display:flex;align-items:center;gap:18px;}
.hdr-nav a{font-size:16px;color:var(--muted);text-decoration:none;}
.hdr-nav a:hover{color:var(--primary);}
.hdr-cta{background:var(--accent);color:white!important;padding:10px 22px;border-radius:10px;font-weight:700;font-size:14px;}
@media (max-width:600px){.hdr-nav a:not(.hdr-cta){display:none;}}

/* TAB */
.tab-wrap{background:var(--white);border-bottom:2px solid var(--border);padding:0 4%;position:sticky;top:54px;z-index:90;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
.tab-wrap::-webkit-scrollbar{display:none;}
.tab-nav{display:inline-flex;}
.tab-btn{padding:12px 20px;font-size:17px;font-weight:500;color:var(--muted);border:none;background:transparent;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;font-family:var(--sans);-webkit-tap-highlight-color:transparent;}
.tab-btn.active{color:var(--primary);border-bottom-color:var(--accent);font-weight:700;}

/* PAGE */
.tab-page{display:none;}
.tab-page.active{display:block;}

/* BC */
.bc{background:var(--white);border-bottom:1px solid var(--border);padding:8px 4%;font-size:15px;color:var(--muted);}
.bc-in{max-width:1000px;margin:0 auto;display:flex;gap:5px;flex-wrap:wrap;}
.bc a{color:var(--muted);text-decoration:none;}

/* HERO */
.hero{background:linear-gradient(150deg,#1a2f45,#2d4a6b);color:white;padding:36px 4% 32px;text-align:center;}
.hero h1{font-family:var(--serif);font-size:clamp(20px,4vw,30px);font-weight:700;margin-bottom:8px;}
.hero p{font-size:17px;color:rgba(255,255,255,.75);}

/* MAIN */
.main{max-width:1000px;margin:0 auto;padding:32px 4% 80px;display:grid;grid-template-columns:1fr 240px;gap:28px;align-items:start;}
@media (max-width:720px){.main{grid-template-columns:1fr;padding:20px 20px 90px 16px;overflow-x:hidden;} .content,.price-hero,.ptable-wrap,.cmp-wrap,.sec{max-width:100%;box-sizing:border-box;overflow-x:hidden;}}

/* SECTION */
.sec{margin-bottom:36px;}
.sec-title{font-family:var(--serif);font-size:19px;font-weight:700;color:var(--primary);margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid var(--border);display:flex;align-items:center;gap:8px;}
.sec-title::before{content:'';display:inline-block;width:4px;height:20px;background:var(--accent);border-radius:2px;flex-shrink:0;}

/* PRICE HIGHLIGHT */
.price-hero{background:var(--white);border:2px solid var(--accent);border-radius:10px;padding:24px 28px;margin-bottom:20px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;}
.ph-left{}
.ph-label{font-size:16px;color:var(--muted);margin-bottom:4px;}
.ph-price{font-family:var(--serif);font-size:42px;font-weight:700;color:var(--accent);line-height:1;}
.ph-unit{font-size:17px;font-weight:500;color:var(--muted);margin-left:4px;}
.ph-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;}
.ph-tag{background:#f0f6fc;border:1px solid #b5d4f4;color:#185fa5;font-size:15px;padding:3px 10px;border-radius:20px;}
.ph-note{font-size:14px;color:var(--muted);margin-top:0;line-height:1.6;}

/* PRICE TABLE */
.ptable-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%;max-width:100%;box-sizing:border-box;}
.ptable{width:100%;border-collapse:collapse;background:var(--white);border-radius:8px;overflow:hidden;border:1px solid var(--border);min-width:480px;}
.ptable thead th{background:var(--primary);color:white;padding:11px 16px;font-size:15px;font-weight:500;text-align:left;white-space:nowrap;}
.ptable thead th:not(:first-child){text-align:center;}
.ptable tbody td{padding:12px 16px;border-bottom:1px solid var(--border);font-size:16px;vertical-align:middle;}
.ptable tbody tr:last-child td{border-bottom:none;}
.ptable tbody tr:hover td{background:#fafaf8;}
.ptable td:not(:first-child){text-align:center;}
.ptable .cat-row td{background:#f5f3ef;font-weight:700;font-size:15px;color:var(--primary);padding:8px 16px;letter-spacing:.04em;}
.price-normal{font-family:var(--serif);font-size:22px;font-weight:700;color:#e8612e;}
.price-express{font-family:var(--serif);font-size:22px;font-weight:700;color:var(--primary);}
.ptag{display:inline-block;font-size:16px;padding:2px 8px;border-radius:3px;margin-left:4px;vertical-align:middle;}
.ptag-ask{display:inline-block!important;background:#e8612e!important;color:#fff!important;font-size:13px!important;font-weight:700!important;padding:4px 14px!important;border-radius:20px!important;}
.consult-badge{display:inline-block;background:#e8612e;color:#fff;font-size:13px;font-weight:700;padding:3px 10px;border-radius:4px;}
.ptable tbody td:nth-child(2){font-size:20px!important;font-weight:700!important;color:#e8612e!important;}
.ptag-sp{background:#fff3e0;color:#b35c00;}
.ptable-note{margin-top:10px;font-size:17px;font-weight:500;color:var(--muted);line-height:1.9;}

/* OPTION TABLE */
.opt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;}
.opt-card{background:var(--white);border:1px solid var(--border);border-radius:8px;padding:16px;}
.opt-name{font-size:16px;font-weight:700;color:var(--primary);margin-bottom:6px;}
.opt-price{font-family:var(--serif);font-size:18px;font-weight:700;color:var(--accent);margin-bottom:4px;}
.opt-desc{font-size:17px;font-weight:500;color:var(--muted);line-height:1.7;}

/* SIMULATOR */
.sim-box{background:var(--white);border:1px solid var(--border);border-radius:10px;overflow:hidden;}
.sim-header{background:var(--primary);color:white;padding:14px 20px;font-family:var(--serif);font-size:15px;font-weight:700;}
.sim-body{padding:20px;}
.sim-row{display:flex;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap;}
.sim-row label{font-size:17px;font-weight:500;min-width:120px;flex-shrink:0;}
.sim-row select,.sim-row input{padding:9px 12px;border:1px solid var(--border);border-radius:10px;font-family:var(--sans);font-size:14px;background:white;color:var(--text);}
.sim-row input[type=number]{width:80px;text-align:center;}
.sim-row select{flex:1;min-width:160px;appearance:none;-webkit-appearance:none;background-image:url(&quot;data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E&quot;);background-repeat:no-repeat;background-position:right 12px center;padding-right:36px;}
.sim-result{background:#f0f6fc;border:1px solid #b5d4f4;border-radius:8px;padding:16px 20px;margin-top:4px;}
.sim-result-rows{margin-bottom:12px;}
.sim-result-row{display:flex;justify-content:space-between;font-size:17px;margin-bottom:6px;color:var(--muted);}
.sim-result-row .val{font-weight:700;color:var(--text);}
.sim-total{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid #b5d4f4;padding-top:10px;}
.sim-total .lbl{font-size:17px;font-weight:700;}
.sim-total .val{font-family:var(--serif);font-size:28px;font-weight:700;color:var(--accent);}
.sim-note{font-size:15px;color:var(--muted);margin-top:8px;line-height:1.7;}
.sim-cta{display:block;background:var(--accent);color:white;text-align:center;padding:12px;border-radius:10px;font-size:17px;font-weight:700;text-decoration:none;margin-top:14px;}
.sim-cta:active{background:var(--al);}

/* COMPARISON TABLE */
.cmp-intro{background:#fff9f5;border:1px solid #f0d5c5;border-radius:8px;padding:16px 20px;margin-bottom:20px;font-size:17px;color:#8a4a2a;line-height:1.8;}
.cmp-intro strong{color:var(--accent);}
.cmp-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;}
.cmp{width:100%;border-collapse:collapse;min-width:540px;}
.cmp th{padding:12px 14px;font-size:16px;font-weight:700;text-align:center;border-bottom:2px solid var(--border);}
.cmp th.ours{background:var(--primary);color:white;border-radius:8px 8px 0 0;}
.cmp th.other{background:#f5f3ef;color:var(--muted);}
.cmp th:first-child{text-align:left;background:transparent;font-weight:500;color:var(--muted);}
.cmp td{padding:12px 14px;font-size:17px;border-bottom:1px solid var(--border);vertical-align:middle;text-align:center;}
.cmp td:first-child{text-align:left;font-weight:500;color:var(--text);}
.cmp tr:last-child td{border-bottom:none;}
.cmp tr:hover td{background:#fafaf8;}
.cmp .ours-col{background:rgba(26,79,122,0.04);}
.cmp .ours-col.best{background:rgba(26,79,122,0.08);}
.ok{color:#1d9e75;font-weight:700;font-size:15px;}
.ng{color:#ccc;font-size:15px;}
.warn{color:#e8612e;font-weight:700;font-size:17px;}
.cmp-price{font-family:var(--serif);font-size:18px;font-weight:700;color:var(--accent);}
.cmp-price.ours{color:var(--primary);}
.cmp-note{font-size:14px;color:var(--muted);}

/* EXAMPLE TABLE */
.ex-box{background:var(--white);border:1px solid var(--border);border-radius:8px;overflow:hidden;margin-top:20px;}
.ex-header{background:#f5f3ef;padding:12px 16px;font-size:17px;font-weight:700;color:var(--primary);}
.ex-table{width:100%;border-collapse:collapse;}
.ex-table th{padding:10px 14px;font-size:16px;font-weight:500;color:var(--muted);border-bottom:1px solid var(--border);text-align:left;}
.ex-table td{padding:12px 14px;font-size:17px;border-bottom:1px solid var(--border);}
.ex-table tr:last-child td{border-bottom:none;}
.ex-table .winner{font-weight:700;color:var(--primary);}
.ex-table .price-big{font-family:var(--serif);font-size:18px;font-weight:700;color:var(--accent);}
.ex-table .saving{font-size:15px;color:#1d9e75;font-weight:700;}

/* SIDEBAR */
.sidebar{display:flex;flex-direction:column;gap:12px;position:sticky;top:116px;max-height:calc(100vh-136px);overflow-y:auto;scrollbar-width:none;}
.sidebar::-webkit-scrollbar{display:none;}
@media (max-width:720px){.sidebar{position:static;max-height:none;}}
.sc{background:var(--white);border:1px solid var(--border);border-radius:10px;padding:16px;}
.st{font-size:15px;font-weight:700;color:var(--primary);margin-bottom:10px;padding-bottom:7px;border-bottom:1px solid var(--border);}
.s-cta{display:block;background:var(--accent);color:white;text-align:center;padding:12px;border-radius:10px;font-size:17px;font-weight:700;text-decoration:none;margin-bottom:8px;}
.s-cta:active{background:var(--al);}
.s-sub{display:block;color:var(--primary);text-align:center;padding:10px;border-radius:10px;font-size:16px;text-decoration:none;border:1px solid var(--border);}
.s-note{font-size:17px;color:var(--muted);text-align:center;margin-top:6px;line-height:1.6;}
.ck-list{font-size:16px;line-height:2.2;}
.ck-list li{list-style:none;padding-left:16px;position:relative;}
.ck-list li::before{content:'✓';position:absolute;left:0;color:var(--primary);font-weight:700;}
.s-links{display:flex;flex-direction:column;}
.s-link{font-size:16px;color:var(--pl);text-decoration:none;padding:8px 0;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;}
.s-link:last-child{border-bottom:none;}
.s-link::after{content:'›';color:var(--muted);}

/* CTA BLOCK */
.cta-blk{grid-column:1/-1;background:linear-gradient(150deg,#1a2f45,#2d4a6b);color:white;padding:36px 4%;text-align:center;}
.cta-blk h2{font-family:var(--serif);font-size:clamp(18px,3vw,24px);font-weight:700;margin-bottom:8px;}
.cta-blk p{font-size:16px;color:rgba(255,255,255,.75);margin-bottom:22px;}
.btn-m{background:var(--accent);color:white;border:none;padding:14px 32px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;font-family:var(--sans);text-decoration:none;display:inline-block;}

/* SP CTA */
.sp-cta{display:none;position:fixed;bottom:0;left:0;right:0;z-index:190;padding:9px 4%;background:white;border-top:1px solid var(--border);box-shadow:0 -2px 10px rgba(0,0,0,.1);}
.sp-cta a{display:block;background:var(--accent);color:white;text-align:center;padding:13px;border-radius:10px;font-size:14px;font-weight:700;text-decoration:none;}
@media (max-width:720px){.sp-cta{display:block;}}

/* FOOTER */
.footer{background:#0d1f2d;color:rgba(255,255,255,.5);padding:24px 4%;font-size:14px;text-align:center;line-height:2;}
.footer a{color:rgba(255,255,255,.4);text-decoration:none;margin:0 6px;}

/* === NEWS BAR (integrated header) === */
.site-header { position: sticky; top: 0; z-index: 100; }
.news-bar { background: #1a2f45; }
.news-bar-in { max-width: 1100px; margin: 0 auto; padding: 8px 4%; display: flex; align-items: center; gap: 12px; }
.news-bar-label { background: var(--accent); color: white; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 3px; white-space: nowrap; flex-shrink: 0; letter-spacing: .04em; }
.news-bar-text { font-size: 11px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: white; }
.news-bar-text a { color: rgba(255,255,255,.9); text-decoration: none; }
.news-bar-text a:hover { text-decoration: underline; }
.news-bar-date { font-size: 11px; color: rgba(255,255,255,.5); white-space: nowrap; flex-shrink: 0; }
.news-bar-more { font-size: 11px; color: rgba(255,255,255,.6); white-space: nowrap; text-decoration: none; padding: 2px 8px; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; flex-shrink: 0; }
.news-bar-close { background: none; border: none; color: rgba(255,255,255,.5); font-size: 18px; cursor: pointer; padding: 0 4px; flex-shrink: 0; line-height: 1; }
.news-bar-close:hover { color: white; }
@media (max-width:600px){ .news-bar-date,.news-bar-more { display:none; } }
/* === BACK TO TOP === */
.back-to-top { position: fixed; bottom: 80px; right: 16px; width: 44px; height: 44px; background: var(--primary); color: white; border: none; border-radius: 50%; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.2); z-index: 80; opacity: 0; transition: opacity .3s; text-decoration: none; line-height: 1; }
.back-to-top.visible { opacity: 1; }
.back-to-top:hover { background: var(--pl); }
@media (min-width:721px){ .back-to-top { bottom: 24px; } }

.sub-nav{background:#2d4a6b;}
.sub-nav-in{max-width:1100px;margin:0 auto;display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
.sub-nav-in::-webkit-scrollbar{display:none;}
.sub-nav a{color:rgba(255,255,255,.85);font-size:14px;font-weight:500;text-decoration:none;padding:11px 22px;display:block;border-right:1px solid rgba(255,255,255,.1);white-space:nowrap;transition:background .15s;}
.sub-nav a:first-child{border-left:1px solid rgba(255,255,255,.1);}
.sub-nav a:hover{background:rgba(255,255,255,.12);color:white;}
.sub-nav a[href=&quot;index.html&quot;]{color:white;font-weight:700;background:rgba(255,255,255,.1);letter-spacing:.04em;}

/* === ESTIMATE POPUP === */
.est-popup{
  position:fixed;bottom:24px;left:auto;right:16px;width:240px;
  background:var(--white);
  border-radius:12px;
  border:1px solid var(--border);
  box-shadow:0 8px 32px rgba(0,0,0,.15);
  z-index:9999;
  display:none;
  pointer-events:auto;
  overflow:hidden;
  will-change:transform;
  transform:translateZ(0);
  isolation:isolate;
  -webkit-transform:translateZ(0);
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
.est-popup-accent{height:5px;background:var(--accent);}
.est-popup-body{padding:16px 18px 18px;}
.est-popup-close{
  position:absolute;top:10px;right:12px;
  background:none;border:none;
  font-size:15px;color:var(--muted);
  cursor:pointer;line-height:1;padding:2px 4px;
  border-radius:4px;
}
.est-popup-close:hover{background:#f0ece6;color:var(--text);}
.est-popup-title{
  font-family:var(--pop);font-size:15px;font-weight:700;
  color:var(--primary);margin-bottom:5px;
  padding-right:20px;line-height:1.4;
}
.est-popup-sub{
  font-size:13px;color:var(--muted);
  margin-bottom:14px;line-height:1.6;
}
.est-popup-btn{
  display:block;background:var(--accent);color:white;
  text-align:center;padding:11px;border-radius:8px;
  font-family:var(--pop);font-size:14px;font-weight:700;
  text-decoration:none;
}
.est-popup-btn:hover{background:var(--al);}
@media (max-width:480px){.est-popup{width:200px;bottom:80px;left:10px;}}

/* === POP FONT & COLOR === */
.hero h1,.hero h2 { font-family: var(--pop) !important; font-weight: 900; }
.sec-title,.section-title { font-family: var(--pop) !important; font-weight: 700; }
.step-title,.flow-step-title,.point-title,.usecase-title { font-family: var(--pop) !important; font-weight: 700; }
.faq-q { font-family: var(--pop) !important; }
.tab-btn { font-family: var(--pop) !important; }
.s-cta,.btn-m,.btn-s,.pb-cta,.hdr-cta { font-family: var(--pop) !important; }
.hero-badge,.news-bar-label { font-family: var(--pop) !important; }
.sim-header { font-family: var(--pop) !important; }
.article-title { font-family: var(--pop) !important; font-weight: 900; }
.blog-card-title { font-family: var(--pop) !important; font-weight: 700; }
.news-title { font-family: var(--pop) !important; font-weight: 700; }
.delivery-card h3,.access-card h4 { font-family: var(--pop) !important; font-weight: 700; }
.pack-title,.doc-name,.opt-name,.pay-name { font-family: var(--pop) !important; font-weight: 700; }
.point-num,.flow-step-num,.step-label { font-family: var(--pop) !important; }
.est-popup-title { font-family: var(--pop) !important; font-weight: 700; }
.sub-nav a { font-family: var(--pop) !important; }
.logo { font-family: var(--pop) !important; }

.sub-nav-contact{margin-left:auto;display:flex;align-items:center;gap:0;flex-shrink:0;}
.sub-nav-tel{background:var(--accent);color:white;font-family:var(--pop);font-size:15px;font-weight:700;padding:8px 18px;margin:6px 0 6px 12px;border-radius:6px;white-space:nowrap;letter-spacing:.02em;display:flex;align-items:center;gap:6px;text-decoration:none;}.sub-nav-tel:hover{background:var(--al);}
.sub-nav-tel::before{content:none;}
.sub-nav-contact-btn{background:var(--accent);color:white !important;font-family:var(--pop);font-size:13px;font-weight:700;padding:8px 18px;margin:6px 12px;border-radius:6px;text-decoration:none;white-space:nowrap;transition:background .15s;}
.sub-nav-contact-btn:hover{background:var(--al) !important;}
@media (max-width:720px){.sub-nav-tel{display:none;}}
@media (max-width:480px){.sub-nav-contact-btn{padding:7px 12px;font-size:12px;margin:6px 8px;}}

/* === CHARACTER LOGO === */
.logo-wrap{display:flex;align-items:center;gap:8px;cursor:pointer;text-decoration:none;}
.logo-chara{height:48px;width:auto;display:block;object-fit:contain;}
@media (max-width:480px){.logo-chara{height:38px;}}

@media (max-width:480px){
  .ptable thead th,.ptable tbody td{padding:8px 10px;font-size:13px;}
  .cmp{min-width:unset;}
  .cmp-wrap{overflow-x:auto;max-width:100%;}
  .sim-row{flex-wrap:wrap;}
  .sim-row label{min-width:unset;width:100%;}
  .sc-note,.note-list{font-size:13px;word-break:break-all;}
  .opt-grid{grid-template-columns:1fr;}
}
@media (max-width:600px){
  .ptable-wrap{overflow-x:hidden;}
  .ptable,.ptable thead,.ptable tbody,.ptable tr,.ptable td,.ptable th{display:block;width:100%;max-width:100%;box-sizing:border-box;}
  .ptable thead{display:none;}
  .ptable tbody tr{border:1px solid var(--border);border-radius:8px;margin-bottom:8px;padding:10px 14px;background:var(--white);}
  .ptable tbody tr.cat-row{background:#f0f4f8;border:none;border-radius:6px;}
  .ptable tbody td{border:none;padding:3px 0;font-size:14px;}
  .ptable tbody td:first-child{font-weight:600;font-size:15px;color:var(--text);margin-bottom:6px;}
  .ptable tbody td:nth-child(2)::before{content:'通常: ';font-size:12px;color:var(--muted);}
  .ptable tbody td:nth-child(3)::before{content:'特急: ';font-size:12px;color:var(--accent);}
  .ptable tbody td:nth-child(3){color:var(--accent);}
}@media (max-width:600px){ .sidebar{display:none;} }
/* 通常=オレンジ 特急=紺 color override */
.ptable tbody td:nth-child(2){color:#e8612e!important;}
.ptable tbody td:nth-child(3) .price-express,
.ptable tbody td:nth-child(3){color:var(--primary)!important;}