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

.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-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;}}

.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:52px 4% 48px;position:relative;overflow:hidden;}
.hero::after{content:'CORPORATE';position:absolute;right:-20px;bottom:-24px;font-family:var(--serif);font-size:100px;font-weight:700;opacity:.04;pointer-events:none;letter-spacing:-2px;}
.hero-in{max-width:1000px;margin:0 auto;}
.hero-badge{display:inline-block;background:rgba(224,91,43,.85);color:white;font-size:15px;font-weight:700;padding:3px 12px;border-radius:20px;margin-bottom:14px;letter-spacing:.08em;}
.hero h1{font-family:var(--serif);font-size:clamp(22px,4vw,36px);font-weight:700;line-height:1.4;margin-bottom:12px;}
.hero h1 em{color:#f4a261;font-style:normal;}
.hero-sub{font-size:14px;color:rgba(255,255,255,.8);max-width:600px;line-height:1.9;margin-bottom:28px;}
.hero-btns{display:flex;gap:10px;flex-wrap:wrap;}
.btn-m{background:var(--accent);color:white;border:none;padding:13px 28px;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);}
.btn-s{color:white;border:1px solid rgba(255,255,255,.5);padding:13px 22px;border-radius:10px;font-size:17px;text-decoration:none;display:inline-block;}

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

/* SECTION */
.sec{margin-bottom:40px;}
.sec-title{font-family:var(--serif);font-size:20px;font-weight:700;color:var(--primary);margin-bottom:18px;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:22px;background:var(--accent);border-radius:2px;flex-shrink:0;}

/* POINTS GRID */
.points-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;}
.point-card{background:var(--white);border:1px solid var(--border);border-radius:10px;padding:22px 20px;}
.point-icon{width:44px;height:44px;background:#eef4fa;border-radius:8px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.point-icon svg{width:24px;height:24px;fill:var(--primary);}
.point-title{font-size:14px;font-weight:700;color:var(--primary);margin-bottom:8px;}
.point-desc{font-size:17px;font-weight:500;color:var(--muted);line-height:1.8;}

/* USE CASES */
.usecase-list{display:flex;flex-direction:column;gap:12px;}
.usecase-item{background:var(--white);border:1px solid var(--border);border-radius:8px;padding:16px 20px;display:flex;gap:14px;align-items:flex-start;}
.usecase-num{width:28px;height:28px;background:var(--primary);color:white;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;flex-shrink:0;margin-top:2px;}
.usecase-title{font-size:14px;font-weight:700;color:var(--primary);margin-bottom:4px;}
.usecase-desc{font-size:17px;font-weight:500;color:var(--muted);line-height:1.7;}

/* FLOW */
.flow-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:0;}
.flow-step{background:var(--white);border:1px solid var(--border);border-radius:8px;padding:18px 16px;text-align:center;position:relative;}
.flow-step+.flow-step{margin-left:-1px;}
.flow-step-num{font-size:14px;font-weight:700;color:var(--accent);letter-spacing:.06em;margin-bottom:8px;}
.flow-step-title{font-size:16px;font-weight:700;color:var(--primary);margin-bottom:6px;}
.flow-step-desc{font-size:15px;color:var(--muted);line-height:1.6;}
@media (max-width:600px){.flow-grid{grid-template-columns:1fr;}.flow-step+.flow-step{margin-left:0;margin-top:-1px;border-radius:0;}.flow-step:first-child{border-radius:8px 8px 0 0;}.flow-step:last-child{border-radius:0 0 8px 8px;}}

/* DOCS TABLE */
.docs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;}
.doc-card{background:var(--white);border:1px solid var(--border);border-radius:8px;padding:14px 16px;display:flex;align-items:center;gap:10px;}
.doc-icon{width:32px;height:32px;background:#eef4fa;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.doc-icon svg{width:18px;height:18px;fill:var(--primary);}
.doc-name{font-size:14px;font-weight:500;color:var(--text);}

/* BODY BOX */
.body-box{background:var(--white);border:1px solid var(--border);border-radius:8px;padding:20px 24px;font-size:17px;line-height:1.9;color:var(--muted);}
.body-box strong{color:var(--text);}

/* FAQ */
.faq-list{display:flex;flex-direction:column;gap:10px;}
.faq-item{background:var(--white);border:1px solid var(--border);border-radius:8px;overflow:hidden;}
.faq-q{padding:14px 18px;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;}
.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 18px 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;}

/* SIDEBAR */
.sidebar{display:flex;flex-direction:column;gap:14px;position:sticky;top:70px;max-height:calc(100vh - 90px);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:18px;}
.st{font-size:15px;font-weight:700;color:var(--primary);margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--border);}
.s-cta{display:block;background:var(--accent);color:white;text-align:center;padding:13px;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;}
.contact-info{font-size:16px;color:var(--muted);line-height:2;}
.contact-info strong{color:var(--primary);}
.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{background:linear-gradient(150deg,#1a2f45,#2d4a6b);color:white;padding:48px 4%;text-align:center;}
.cta-blk h2{font-family:var(--serif);font-size:clamp(20px,3.5vw,28px);font-weight:700;margin-bottom:10px;}
.cta-blk p{font-size:17px;color:rgba(255,255,255,.75);margin-bottom:28px;max-width:500px;margin-left:auto;margin-right:auto;}

/* SP CTA */
.sp-cta{display:none;position:fixed;bottom:0;left:0;right:0;z-index:90;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{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;} }