*{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 NAV */
.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;}

/* BREADCRUMB */
.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;}

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

/* 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 LAYOUT */
.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 16px 90px;overflow-x:hidden;} .content,.sec,.pay-grid{max-width:100%;box-sizing:border-box;overflow-x:hidden;}}
.content{}

/* 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;}

/* FLOW STEPS */
.flow-steps{display:flex;flex-direction:column;gap:0;}
.step{display:flex;gap:0;align-items:stretch;}
.step-left{display:flex;flex-direction:column;align-items:center;width:56px;flex-shrink:0;}
.step-num{width:40px;height:40px;background:var(--primary);color:white;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;flex-shrink:0;z-index:1;}
.step-line{width:2px;background:var(--border);flex:1;margin:4px 0;}
.step:last-child .step-line{display:none;}
.step-body{background:var(--white);border:1px solid var(--border);border-radius:8px;padding:18px 20px;margin-bottom:12px;flex:1;}
.step-label{font-size:15px;font-weight:700;color:var(--accent);letter-spacing:.08em;margin-bottom:6px;}
.step-title{font-family:var(--serif);font-size:15px;font-weight:700;color:var(--primary);margin-bottom:8px;}
.step-desc{font-size:17px;font-weight:500;color:var(--muted);line-height:1.8;}
.step-note{margin-top:10px;background:#f5f3ef;border-radius:4px;padding:10px 12px;font-size:17px;font-weight:500;color:var(--muted);line-height:1.7;}
.step-note strong{color:var(--text);}

/* DELIVERY OPTIONS */
.delivery-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;}
@media (max-width:480px){.delivery-cards{grid-template-columns:1fr;}}
.delivery-card{background:var(--white);border:1px solid var(--border);border-radius:8px;padding:18px;}
.delivery-card h3{font-size:14px;font-weight:700;color:var(--primary);margin-bottom:8px;display:flex;align-items:center;gap:6px;}
.delivery-card h3::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--accent);flex-shrink:0;}
.delivery-card p{font-size:17px;font-weight:500;color:var(--muted);line-height:1.8;}
.delivery-card .merit{margin-top:10px;font-size:16px;color:var(--pl);font-weight:500;}

/* PAYMENT OPTIONS */
.pay-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;}
.pay-card{background:var(--white);border:1px solid var(--border);border-radius:8px;padding:14px;text-align:center;}
.pay-icon{font-size:24px;margin-bottom:6px;}
.pay-name{font-size:17px;font-weight:700;color:var(--primary);margin-bottom:4px;}
.pay-desc{font-size:15px;color:var(--muted);line-height:1.6;}

/* PACKING GUIDE */
.pack-steps{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;}
.pack-step{background:var(--white);border:1px solid var(--border);border-radius:8px;padding:16px;}
.pack-num{width:26px;height:26px;background:var(--primary);color:white;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;margin-bottom:10px;}
.pack-title{font-size:16px;font-weight:700;margin-bottom:6px;}
.pack-desc{font-size:17px;font-weight:500;color:var(--muted);line-height:1.7;}

/* NOTICE */
.notice{background:#fff9f5;border:1px solid #f0d5c5;border-radius:10px;padding:12px 14px;font-size:16px;color:#8a4a2a;line-height:1.8;}
.notice strong{color:var(--accent);}

/* ADDRESS BOX */
.addr-box{background:var(--white);border:2px solid var(--primary);border-radius:8px;padding:20px 24px;display:flex;align-items:center;gap:20px;flex-wrap:wrap;}
.addr-label{font-size:16px;font-weight:700;color:var(--primary);letter-spacing:.06em;margin-bottom:4px;}
.addr-text{font-size:14px;line-height:1.9;}
.addr-copy-btn{background:var(--primary);color:white;border:none;padding:8px 16px;border-radius:10px;font-size:16px;font-weight:700;cursor:pointer;font-family:var(--sans);white-space:nowrap;}
.addr-copy-btn:active{background:var(--pl);}

/* FAQ */
.faq-cats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px;}
.faq-cat-btn{padding:6px 14px;border:1px solid var(--border);border-radius:20px;background:var(--white);font-size:16px;color:var(--muted);cursor:pointer;font-family:var(--sans);-webkit-tap-highlight-color:transparent;transition:all .2s;}
.faq-cat-btn.active{background:var(--primary);color:white;border-color:var(--primary);}
.faq-group{margin-bottom:24px;}
.faq-group-title{font-size:17px;font-weight:700;color:var(--primary);margin-bottom:10px;padding:6px 12px;background:#f0f6fc;border-radius:4px;display:flex;align-items:center;gap:6px;}
.faq-group-title::before{content:'';width:3px;height:14px;background:var(--accent);border-radius:2px;flex-shrink:0;}
.faq-list{display:flex;flex-direction:column;gap:8px;}
.faq-item{background:var(--white);border:1px solid var(--border);border-radius:8px;overflow:hidden;}
.faq-q{padding:14px 16px;font-weight:500;font-size:17px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;-webkit-tap-highlight-color:transparent;user-select:none;line-height:1.5;}
.faq-q::after{content:'+';font-size:18px;color:var(--primary);flex-shrink:0;transition:transform .2s;font-weight:400;}
.faq-item.open .faq-q::after{transform:rotate(45deg);}
.faq-a{display:none;padding:0 16px 14px;font-size:17px;font-weight:500;color:var(--muted);line-height:1.8;border-top:1px solid var(--border);}
.faq-item.open .faq-a{display:block;}
.fq{color:var(--accent);font-weight:700;margin-right:4px;flex-shrink:0;}
.faq-hidden{display:none;}

/* 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;}
.s-addr{font-size:15px;line-height:1.9;background:#f5f3ef;border-radius:4px;padding:9px 11px;}
.s-links{display:flex;flex-direction:column;gap:0;}
.s-link{font-size:16px;color:var(--pl);text-decoration:none;padding:7px 0;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;}
.s-link:last-child{border-bottom:none;}
.s-link::after{content:'›';font-size:17px;font-weight:500;color:var(--muted);}
.s-link:active{color:var(--accent);}
.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;}

/* CTA BLOCK */
.cta-blk{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;}
.btn-m:active{background:var(--al);}

/* 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="index.html"]{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:600px){ .sidebar{display:none;} }