*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #d4521a;
  --white: #ffffff;
  --off-white: #fafafa;
  --ink: #1a1a1a;
  --gray: #666;
  --light-gray: #999;
  --border: #e0e0e0;
  --bg-tint: #fdf6f2;
}

body {
  font-family: 'Jost', 'Noto Sans JP', sans-serif;
  background: var(--off-white);
  color: var(--ink);
  font-weight: 300;
}

/* ── HEADER ── */
header {
  background: var(--white);
  padding: 18px 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-wrap { display: flex; align-items: center; text-decoration: none; }
.logo-img  { height: 52px; width: auto; }

/* ── NAV ── */
nav {
  background: var(--orange);
  display: flex;
  justify-content: center;
  position: sticky;
  top: 89px;
  z-index: 90;
}

nav a {
  display: inline-block;
  padding: 14px 44px;
  font-family: 'Jost', sans-serif;
  font-size: 10.5px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  position: relative;
  transition: background 0.2s;
}

nav a::after {
  content: '';
  position: absolute;
  right: 0; top: 25%; bottom: 25%;
  width: 0.5px;
  background: rgba(255,255,255,0.35);
}

nav a:last-child::after { display: none; }
nav a:hover  { background: rgba(0,0,0,0.12); }
nav a.active { background: rgba(0,0,0,0.15); }

/* ── HAMBURGER / DRAWER ── */
.hamburger { display: none; }
.drawer    { display: none; }
.drawer-overlay { display: none; }

/* ── MAIN LAYOUT ── */
.detail-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 48px 80px;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--white);
  padding: 16px 80px;
  border-bottom: 1px solid #ececec;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
}

.breadcrumb a {
  color: var(--orange);
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.breadcrumb a:hover { opacity: 0.65; }

.breadcrumb-sep {
  color: #ccc;
  font-size: 11px;
}

.breadcrumb-current {
  color: var(--gray);
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.1em;
  text-transform: none;
}

/* ページタイトル */
.page-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--ink);
  margin-bottom: 56px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid var(--border);
}

/* ── SECTIONS ── */
.detail-section {
  margin-bottom: 64px;
}

.section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--orange);
}

.section-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 28px;
}

/* ── PLAN CARDS ── */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.2s;
}

.plan-card:hover {
  border-color: var(--light-gray);
}

.plan-card.selected {
  border-color: var(--orange);
  background: var(--bg-tint);
}

.plan-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 0.5px solid var(--border);
}

.plan-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.plan-price {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--ink);
  white-space: nowrap;
}

.plan-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-list li {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--ink);
  padding-left: 14px;
  position: relative;
}

.plan-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--orange);
}

.plan-note {
  margin-top: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--orange);
}

/* ── INFO BOX ── */
.info-box {
  background: var(--bg-tint);
  border: 1px solid #e8d5c8;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-box-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 4px;
}

.info-box p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--gray);
}

.info-box-note {
  font-size: 10.5px !important;
  color: var(--light-gray) !important;
}

/* ── DOT LIST ── */
.dot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.dot-list li {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--gray);
  padding-left: 16px;
  position: relative;
}

.dot-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* ── PRICE NOTE LIST ── */
.price-note-list {
  border-top: 0.5px solid var(--border);
  margin-bottom: 12px;
}

.price-note-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--border);
}

.price-note-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.price-note-price {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--orange);
  white-space: nowrap;
}

.caption {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--light-gray);
}

/* ── OPTION LIST ── */
.option-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 0.5px solid var(--border);
}

.option-item {
  padding: 24px 0;
  border-bottom: 0.5px solid var(--border);
}

.option-item--highlight {
  background: var(--bg-tint);
  padding: 24px 20px;
  margin: 0 -20px;
  border-bottom: 0.5px solid #e8d5c8;
}

.option-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.option-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.option-price {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--orange);
  white-space: nowrap;
}

.option-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--gray);
}

/* ── VARIATION GRID ── */
.variation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.variation-block {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
}

.variation-block-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 6px;
}

.variation-block-price {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 12px;
}

.variation-block-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--gray);
}

.variation-price-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.variation-price-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--border);
}

.variation-price-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.variation-price-item span:first-child {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.variation-price-item span:last-child {
  font-family: 'Jost', sans-serif;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--orange);
}

/* ── SIMULATOR ── */
.simulator-section {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  margin-top: 16px;
}

.simulator {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sim-group-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 14px;
}

/* ラジオボタン */
.sim-radio-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sim-radio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.sim-radio-item input[type="radio"] {
  display: none;
}

.sim-radio-box {
  width: 14px;
  height: 14px;
  min-width: 14px;
  border: 1px solid var(--border);
  border-radius: 50%;
  position: relative;
  transition: border-color 0.2s;
}

.sim-radio-item input[type="radio"]:checked + .sim-radio-box {
  border-color: var(--orange);
}

.sim-radio-item input[type="radio"]:checked + .sim-radio-box::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.sim-radio-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.sim-radio-text em {
  font-style: normal;
  color: var(--orange);
  margin-left: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 11.5px;
}

/* チェックボックス */
.sim-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sim-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.sim-check-item input[type="checkbox"] {
  display: none;
}

.sim-check-box {
  width: 13px;
  height: 13px;
  min-width: 13px;
  border: 1px solid var(--border);
  position: relative;
  margin-top: 2px;
  transition: background 0.15s, border-color 0.15s;
}

.sim-check-item input[type="checkbox"]:checked + .sim-check-box {
  background: var(--orange);
  border-color: var(--orange);
}

.sim-check-item input[type="checkbox"]:checked + .sim-check-box::after {
  content: '';
  position: absolute;
  left: 3px; top: 1px;
  width: 5px; height: 8px;
  border: 1.5px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.sim-check-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.sim-check-text em {
  font-style: normal;
  color: var(--orange);
  margin-left: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 11.5px;
}

/* 合計結果表示部分 */
.sim-result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--off-white);
  border: 1px solid var(--border);
}

.sim-result-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.sim-result-price {
  font-family: 'Jost', sans-serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.sim-caption {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--light-gray);
}

.sim-cta {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.sim-cta-btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  padding: 13px 48px;
  font-family: 'Jost', 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.25em;
  transition: opacity 0.2s;
}

.sim-cta-btn:hover {
  opacity: 0.85;
}

/* ── FOOTER ── */
footer {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 10px 48px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 300;
  position: relative;
}

.footer-sns {
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.footer-sns a {
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-sns a:hover { opacity: 1; }
.footer-sns img { height: 22px; width: auto; }

.footer-logo {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.25em;
  margin-bottom: 8px;
  opacity: 0.9;
}

.footer-copy {
  opacity: 0.65;
  font-size: 7px;
  letter-spacing: 0.2em;
}

/* ── STEP BLOCKS ── */
.step-block {
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(16px);
  animation: simFadeUp 0.4s ease forwards;
}

@keyframes simFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hidden { display: none !important; }

.step-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.step-num.done {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ── INLINE COUNTER ── */
.sim-inline-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-left: 24px;
}

.counter-btn {
  width: 28px;
  height: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}

.counter-btn:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.counter-val {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  min-width: 20px;
  text-align: center;
}

/* ── SUMMARY LINES ── */
.sim-summary-lines {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sim-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--gray);
}

.sim-summary-line .s-price {
  font-family: 'Jost', sans-serif;
  color: var(--ink);
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  header {
    padding: 14px 20px;
    justify-content: space-between;
  }

  .logo-img { height: 38px; }
  #global-nav { display: none; }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }

  .hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--orange);
  }

  .drawer {
    display: block;
    position: fixed;
    top: 0; right: -100%;
    width: 65%;
    height: 100%;
    background: var(--white);
    z-index: 200;
    transition: right 0.3s ease;
    padding: 60px 32px 40px;
  }

  .drawer.open { right: 0; }

  .drawer-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--orange);
    cursor: pointer;
  }

  .drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--white);
  }

  .drawer-nav a {
    display: block;
    padding: 16px 0;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--orange);
    text-decoration: none;
    border-bottom: 0.5px solid #ececec;
  }

  .drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  .detail-wrap {
    padding: 36px 24px 64px;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .variation-grid {
    grid-template-columns: 1fr;
  }

  .option-header {
    flex-direction: column;
    gap: 4px;
  }

  .simulator-section {
    padding: 28px 20px;
  }

  .sim-result-price {
    font-size: 18px;
  }

  .footer-sns { left: 20px; }
  .footer-sns img { height: 18px; }
}

.breadcrumb {
  padding: 12px 24px;
}