  * { margin: 0; padding: 0; box-sizing: border-box; }
  :root {
    --primary: #2d4a6b;
    --primary-light: #2e7ab5;
    --accent: #e8612e;
    --accent-light: #f4784a;
    --bg: #f7f5f0;
    --white: #ffffff;
    --text: #1e1e1e;
    --text-muted: #666;
    --border: #e0ddd7;
    --serif: 'Noto Serif JP', serif;
    --sans: 'Noto Sans JP', sans-serif;
    --radius: 6px;
    --shadow: 0 2px 12px rgba(0,0,0,0.07);
    --pop:'Zen Maru Gothic',sans-serif;
}
  body { font-family: var(--sans); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.8; }

  /* HEADER */
  .header { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 5%; }
  .header-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 60px; }
  .logo { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--primary); text-decoration: none; }
  .logo span { color: var(--accent); }
  .header-back { font-size: 13px; color: var(--text-muted); text-decoration: none; display: flex; align-items: center; gap: 4px; }
  .header-back:hover { color: var(--primary); }

  /* PAGE HERO */
  .page-hero { background: linear-gradient(150deg, #1a2f45, #2d4a6b); color: white; padding: 40px 5% 36px; text-align: center; }
  .page-hero h1 { font-family: var(--serif); font-size: clamp(20px, 3.5vw, 30px); font-weight: 700; margin-bottom: 8px; }
  .page-hero p { font-size: 14px; color: rgba(255,255,255,0.75); }
  .step-bar { display: flex; justify-content: center; align-items: center; gap: 0; margin-top: 24px; }
  .step-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .step-circle { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); color: rgba(255,255,255,0.5); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
  .step-circle.active { background: var(--accent); border-color: var(--accent); color: white; }
  .step-label { font-size: 11px; color: rgba(255,255,255,0.55); white-space: nowrap; }
  .step-label.active { color: white; }
  .step-line { width: 48px; height: 1px; background: rgba(255,255,255,0.2); margin-bottom: 14px; }

  /* MAIN LAYOUT */
  .main { max-width: 960px; margin: 0 auto; padding: 32px 5% 60px; display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
  @media (max-width: 720px) { .main { grid-template-columns: 1fr; padding:20px 16px 90px; overflow-x:hidden; } .sidebar { order: -1; } .content,.tape-table,.option-grid,.sec{max-width:100%;box-sizing:border-box;overflow-x:hidden;} }

  /* FORM CARD */
  .form-card { background: var(--white); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
  .form-section { padding: 28px 28px 0; border-bottom: 1px solid var(--border); }
  .form-section:last-of-type { border-bottom: none; padding-bottom: 28px; }
  .section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
  .section-label::after { content: ''; flex: 1; height: 1px; background: #f0ece6; }

  /* FORM ELEMENTS */
  .field { margin-bottom: 18px; }
  .field:last-child { margin-bottom: 0; }
  label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
  label .req { color: var(--accent); font-size: 11px; margin-left: 4px; }
  label .opt { color: var(--text-muted); font-size: 11px; margin-left: 4px; font-weight: 400; }
  input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    width: 100%; padding: 10px 13px; border: 1px solid var(--border); border-radius: 10px;
    font-family: var(--sans); font-size: 14px; color: var(--text); background: var(--white);
    transition: border-color .15s, box-shadow .15s; appearance: none;
  }
  input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(26,79,122,0.08);
  }
  select { background-image: url("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='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
  textarea { resize: vertical; min-height: 100px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

  /* TAPE ROWS */
  .tape-table { width: 100%; border-collapse: collapse; margin-bottom: 6px; }
  .tape-table th { font-size: 11px; color: var(--text-muted); font-weight: 500; padding: 0 8px 8px; text-align: left; border-bottom: 1px solid var(--border); }
  .tape-table th:last-child { text-align: center; }
  .tape-table td { padding: 10px 8px; border-bottom: 1px solid #f5f3ef; vertical-align: middle; }
  .tape-table tr:last-child td { border-bottom: none; }
  .tape-name { font-size: 13px; font-weight: 500; }
  .tape-format { font-size: 11px; color: var(--text-muted); }
  .qty-input { width: 70px; padding: 7px 10px; text-align: center; }
  .qty-note { font-size: 11px; color: var(--text-muted); text-align: center; }
  .tape-group-label { font-size: 11px; font-weight: 700; color: var(--primary); letter-spacing: 0.06em; padding: 12px 8px 6px; background: #f7f5f0; border-bottom: 1px solid var(--border); }

  /* DELIVERY OPTIONS */
  .option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  @media (max-width: 480px) { .option-grid { grid-template-columns: 1fr; } }
  .option-card { border: 1.5px solid var(--border); border-radius: 10px; padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s; position: relative; }
  .option-card:has(input:checked) { border-color: var(--primary); background: #f0f5fb; }
  .option-card input[type="radio"] { position: absolute; opacity: 0; }
  .option-title { font-size: 13px; font-weight: 700; margin-bottom: 2px; color: var(--text); }
  .option-desc { font-size: 11px; color: var(--text-muted); line-height: 1.5; }
  .option-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 20px; margin-bottom: 5px; }
  .badge-blue { background: #e6f1fb; color: #185fa5; }
  .badge-accent { background: #fff0eb; color: var(--accent); }
  .badge-gray { background: #f0ece6; color: #666; }

  /* PLAN OPTIONS */
  .plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  @media (max-width: 480px) { .plan-grid { grid-template-columns: 1fr; } }
  .plan-card { border: 1.5px solid var(--border); border-radius: 10px; padding: 16px; cursor: pointer; transition: border-color .15s, background .15s; position: relative; }
  .plan-card:has(input:checked) { border-color: var(--primary); background: #f0f5fb; }
  .plan-card input[type="radio"] { position: absolute; opacity: 0; }
  .plan-name { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
  .plan-deadline { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
  .plan-price { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--accent); }
  .plan-price-unit { font-size: 11px; color: var(--text-muted); }

  /* PAYMENT */
  .pay-options { display: flex; flex-direction: column; gap: 8px; }
  .pay-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
  .pay-option:has(input:checked) { border-color: var(--primary); background: #f0f5fb; }
  .pay-option input[type="radio"] { margin-top: 3px; accent-color: var(--primary); }
  .pay-option-title { font-size: 13px; font-weight: 500; }
  .pay-option-desc { font-size: 11px; color: var(--text-muted); }

  /* NOTES BOX */
  .note-box { background: #fff9f5; border: 1px solid #f0d5c5; border-radius: 10px; padding: 14px 16px; font-size: 12px; color: var(--text-muted); line-height: 1.8; margin-top: 12px; }
  .note-box strong { color: var(--accent); }

  /* SUBMIT AREA */
  .submit-area { padding: 24px 28px; background: #f7f5f0; border-top: 1px solid var(--border); }
  .submit-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; font-size: 13px; color: var(--text-muted); }
  .submit-check input { margin-top: 3px; accent-color: var(--primary); }
  .submit-check a { color: var(--primary); }
  .btn-submit { width: 100%; background: var(--accent); color: white; border: none; padding: 16px; border-radius: 10px; font-family: var(--sans); font-size: 16px; font-weight: 700; cursor: pointer; letter-spacing: 0.04em; transition: background .15s; }
  .btn-submit:hover { background: var(--accent-light); }
  .btn-submit:disabled { background: #ccc; cursor: not-allowed; }
  .submit-note { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 10px; }

  /* SIDEBAR */
  .sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow-y: auto; scrollbar-width: none; }
  .sidebar::-webkit-scrollbar { display: none; }
  @media (max-width: 719px) { .sidebar { position: static; max-height: none; } }
  .side-card { background: var(--white); border-radius: 10px; box-shadow: var(--shadow); padding: 20px; }
  .side-title { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
  .side-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
  .side-list li { font-size: 12px; color: var(--text-muted); display: flex; gap: 8px; line-height: 1.5; }
  .side-list li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }
  .price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid #f5f3ef; font-size: 13px; }
  .price-row:last-child { border-bottom: none; }
  .price-row .tape { color: var(--text-muted); }
  .price-row .price { font-weight: 700; color: var(--accent); font-family: var(--serif); }
  .address-box { background: #f7f5f0; border-radius: 10px; padding: 12px 14px; font-size: 12px; color: var(--text-muted); line-height: 1.9; margin-top: 10px; }
  .contact-link { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 700; color: var(--primary); text-decoration: none; margin-top: 6px; font-family: var(--serif); }

  /* TOTAL PREVIEW */
  .total-preview { background: var(--primary); color: white; border-radius: 8px; padding: 16px; margin-top: 4px; }
  .total-label { font-size: 12px; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
  .total-amount { font-family: var(--serif); font-size: 28px; font-weight: 700; color: #f4a261; }
  .total-unit { font-size: 12px; color: rgba(255,255,255,0.7); }
  .total-note { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 6px; }
  .total-breakdown { margin-top: 10px; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 10px; font-size: 11px; color: rgba(255,255,255,0.65); line-height: 1.9; }

  /* BULK NOTE */
  .bulk-note { display: none; background: #e6f1fb; border: 1px solid #b5d4f4; border-radius: 10px; padding: 10px 14px; font-size: 12px; color: #0c447c; margin-top: 10px; line-height: 1.7; }
  .bulk-note.show { display: block; }

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

.site-header{position:relative;}
.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:15px;font-weight:700;padding:2px 9px;border-radius:3px;white-space:nowrap;flex-shrink:0;letter-spacing:.04em;}
.news-bar-text{font-size:17px;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-date{font-size:15px;color:rgba(255,255,255,.5);white-space:nowrap;flex-shrink:0;}
.news-bar-more{font-size:15px;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;}
@media (max-width:600px){.news-bar-date,.news-bar-more{display:none;}}

  .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:15px;font-weight:700;padding:2px 9px;border-radius:3px;white-space:nowrap;flex-shrink:0;letter-spacing:.04em;}
  .news-bar-text{font-size:17px;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-date{font-size:15px;color:rgba(255,255,255,.5);white-space:nowrap;flex-shrink:0;}
  .news-bar-more{font-size:15px;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;}
  @media (max-width:600px){.news-bar-date,.news-bar-more{display:none;}}
  .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;line-height:1;}
  .back-to-top.visible{opacity:1;}
  @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;} }