/* ───────────────────────────────────────────
   RESET & BASE — matches ron.co.jp style
─────────────────────────────────────────── */
ul.sidemenu{
  z-index: 20;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:      #7CC3E8;
  --accent-dark: #4fa8d5;
  --accent-light:#eef6fa;
  --black:       #000000;
  --text:        #333333;
  --text-muted:  #888888;
  --border:      #e0e0e0;
  --bg-page:     #ffffff;
  --bg-cream:    #fcf9ef;
  --bg-light:    #f7f7f7;
  --font-en:     'Montserrat', sans-serif;
  --font-ja:     'Noto Sans JP', 'Hiragino Kaku Gothic Pro', Meiryo, sans-serif;
  --max-w:       982px;
}

body {
  background: var(--bg-page);
  color: var(--text);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
}

a { color: var(--accent); text-decoration: none; }

/* ───────────────────────────────────────────
   WRAPPER — matches #wrapper on site (982px)
─────────────────────────────────────────── */
.indigo-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0;
}

/* ───────────────────────────────────────────
   TAB NAV
─────────────────────────────────────────── */
.indigo-tab-nav {
  display: flex;
  border-bottom: 2px solid var(--accent);
  background: #fff;
  overflow-x: auto;
  scrollbar-width: none;
  position: sticky;
  top: 0;
  z-index: 10;
  scroll-behavior: smooth;
}
.indigo-tab-nav::-webkit-scrollbar { display: none; }

.indigo-tab-btn {
  background: none;
  border: none;
  border-bottom: 4px solid transparent;
  margin-bottom: -2px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-en);
  font-size: 125%;
  font-weight: 600;
  letter-spacing: 0.16em;
  padding: 16px 22px 13px;
  text-transform: uppercase;
  transition: color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.indigo-tab-btn.active {
  color: var(--black);
  border-bottom-color: var(--accent);
}

/* ───────────────────────────────────────────
   PANELS
─────────────────────────────────────────── */
.indigo-panel { display: none; padding: 44px 15px 100px; transform: translateY(100px); margin-top: -100px; position: relative; }
.indigo-panel.active { display: block; }

/* ── section heading ── */
.i-sec-label {
  font-family: var(--font-en);
  font-size: 110%;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.i-sec-title {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--black);
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

/* ───────────────────────────────────────────
   OVERVIEW PANEL
─────────────────────────────────────────── */
.i-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border: 1px solid var(--border);
  gap: 0;
  margin-bottom: 40px;
}
.i-spec-cell {
  padding: 12px 18px 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.i-spec-key {
  font-family: var(--font-en);
  font-size: 110%;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.i-spec-val {
  font-family: var(--font-ja);
  font-size: 100%;
  color: var(--black);
  line-height: 1.7;
  padding-left: 10px;
}
.i-spec-val strong {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-right: 0.5em;
  letter-spacing: 2px;
  line-height: 1.8;
}

/* zone switcher */
.i-zone-nav {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 0;
}
.i-zone-btn {
  flex: 1;
  background: var(--accent-light);
  border: none;
  border-right: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 12px 8px;
  text-transform: uppercase;
  transition: all 0.18s;
}
.i-zone-btn:last-child { border-right: none; }
.i-zone-btn.active {
  background: var(--accent);
  color: #fff;
}

.i-zone-panels {
  border: 1px solid var(--border);
  border-top: none;
  margin-bottom: 8px;
}
.i-zone-panel { display: none; }
.i-zone-panel.active { display: block; }

.i-zone-row {
  display: flex;
  align-items: baseline;
  gap: 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.i-zone-row:last-child { border-bottom: none; }
.i-zone-key {
  font-family: var(--font-en);
  font-size: 110%;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  width: 150px;
  flex-shrink: 0;
  padding: 12px 16px;
  background: var(--bg-light);
  border-right: 1px solid var(--border);
  align-self: stretch;
  display: flex;
  align-items: center;
}
.i-zone-val {
  font-family: var(--font-ja);
  font-size: 100%;
  color: var(--black);
  padding: 12px 20px;
  line-height: 1.7;
}

/* ───────────────────────────────────────────
   PRICING PANEL
─────────────────────────────────────────── */
.i-note {
  font-family: var(--font-ja);
  font-size: 110%;
  color: var(--black);
  line-height: 1.9;
  margin-bottom: 28px;
}

.i-price-table-wrapper{
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 28px;
}

.i-price-table {
  border: 1px solid var(--border);
  width: auto;
  border-collapse: collapse;
  font-size: 11px;
  margin-bottom: 8px;
}
.i-price-table th {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: 125%;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 0;
  text-align: center;
  border-right: 1px solid var(--border);
  width: auto;
}
.i-price-table th:first-child,
.i-price-table td:first-child {
  width: 180px;
}

.i-price-table th:nth-child(n+2),
.i-price-table td:nth-child(n+2) {
  width: 125px;
}
.i-price-table th:last-child {
  border-right: none; 
}
.i-price-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-family: var(--font-ja);
  color: var(--text);
  vertical-align: middle;
  height: 3em;
  width: auto;
}
.i-price-table td:last-child { border-right: none; }
.i-price-table tr:last-child td { border-bottom: none; }
.i-price-highlight td { background: var(--accent-light); }
.i-price-table .zone-label {
  font-family: var(--font-en);
  font-size: 110%;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--black);
}
.i-price-table .zone-size {
  font-size: 140%;
  color: var(--text-muted);
  margin-top: 2px;
}
.i-price-amt {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
}
.i-price-ask {
  font-family: var(--font-ja);
  font-size: 110%;
  color: var(--text-muted);
}

.i-cancel-box {
  border: 1px solid var(--border);
  margin-top: 8px;
}
.i-cancel-head {
  background: var(--bg-light);
  padding: 10px 18px;
  font-family: var(--font-en);
  font-size: 110%;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.i-cancel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-ja);
  font-size: 110%;
}
.i-cancel-row:last-child { border-bottom: none; }
.i-cancel-pct {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: #c0392b;
}
.i-cancel-pct.free { color: #27ae60; }

.i-cta {
  display: flex;
  width: fit-content;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  margin: 24px auto auto;
  transition: background 0.18s;
  text-decoration: none;
}

/* ───────────────────────────────────────────
   ACCESS PANEL
─────────────────────────────────────────── */
.i-map {
  width: 716px;
  height: 400px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
  overflow: hidden;
  position: relative;
}
.i-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%);
}

.i-map-link{
  display: block;
  font-weight: 600;
  font-size: 110%;
  margin-bottom: 60px;
  text-decoration: underline;
}

.i-access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  margin-bottom: 28px;
}
.i-access-cell {
  padding: 18px 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.i-access-cell:nth-child(2n) { border-right: none; }
.i-access-cell:nth-last-child(-n+2) { border-bottom: none; }
.i-access-key {
  font-family: var(--font-en);
  font-size: 110%;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 7px;
}
.i-access-val {
  font-family: var(--font-ja);
  font-size: 12px;
  color: var(--black);
  line-height: 1.8;
}

.i-station-table {
  width: 100%;
  border-collapse: collapse;
}
.i-station-table th {
  background: var(--bg-light);
  font-family: var(--font-en);
  font-size: 110%;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 16px;
  text-align: left;
  border: 1px solid var(--border);
}
.i-station-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-family: var(--font-ja);
  font-size: 12px;
  color: var(--text);
}
.i-station-table th:first-child,
.i-station-table td:first-child {
  width: 80px;
}
.i-station-table th:nth-child(2),
.i-station-table td:nth-child(2) {
  width: 130px;
}
.i-station-table th:nth-child(3),
.i-station-table td:nth-child(3) {
  width: 90px;
}
.i-station-table .time {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-dark);
  text-align: right;
}
.i-station-table .time span {
  font-family: var(--font-ja);
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
}

/* ───────────────────────────────────────────
   CALENDAR PANEL
─────────────────────────────────────────── */
.i-cal-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.i-cal-month {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--black);
}
.i-cal-nav-btns { display: flex; gap: 4px; }
.i-cal-nav {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  padding: 5px 12px;
  transition: all 0.15s;
  font-family: var(--font-en);
}
.i-cal-wrap{
  margin:40px 0;
}

.i-cal-zone-filter {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.i-zone-filter-btn {
  border: 1px solid var(--border);
  background: var(--bg-light);
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  text-transform: uppercase;
  transition: all 0.15s;
}
.i-zone-filter-btn.on {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: #eef7fc;
}

.i-cal-grid {
  border: 1px solid var(--border);
  overflow: hidden;
}
.i-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--black);
}
.i-cal-wd {
  font-family: var(--font-en);
  font-size: 110%;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #fff;
  text-align: center;
  padding: 9px 4px;
  text-transform: uppercase;
}
.i-cal-wd.sun { color: #f4a0a0; }
.i-cal-wd.sat { color: #a0c4f4; }

.i-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.i-cal-day {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: 70px;
  padding: 7px 6px 5px;
}
.i-cal-day:nth-child(7n) { border-right: none; }
.i-cal-day.i-empty { background: var(--bg-light); }
.i-cal-day.i-today { background: #eef7fc; }
.i-day-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.i-cal-day.i-sun .i-day-num { color: #c0392b; }
.i-cal-day.i-sat .i-day-num { color: #2980b9; }
.i-cal-day.i-today .i-day-num { color: var(--accent-dark); }

.i-booking-tag {
  display: block;
  font-family: var(--font-en);
  font-size: 110%;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 2px 5px;
  margin-bottom: 2px;
}
.i-tag-a { background: #d6eaf8; color: #1a6a9a; }
.i-tag-b { background: #d5f5e3; color: #1a7a4a; }
.i-tag-c { background: #fde8c8; color: #9a5a10; }

.i-cal-legend {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.i-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ja);
  font-size: 110%;
  color: var(--text-muted);
}
.i-legend-dot {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* ───────────────────────────────────────────
   RULES PANEL
─────────────────────────────────────────── */
.i-rule-block { margin-bottom: 32px; }
.i-rule-head {
  font-family: var(--font-en);
  font-size: 110%;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-dark);
  text-transform: uppercase;
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 10px 16px;
}
.i-rule-row {
  display: flex;
  gap: 6px;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-top: none;
  font-family: var(--font-ja);
  font-size: 110%;
  color: var(--text);
  line-height: 1.7;
  align-items: flex-start;
}
.i-rule-icon, .i-rule-icon-bold { flex-shrink: 0; font-size: 110%; }
.i-rule-icon-ng{ color:#c0392b; }

/* ───────────────────────────────────────────
   CONTACT PANEL
─────────────────────────────────────────── */
.i-contact-box {
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.i-contact-head {
  border-bottom: 1px solid var(--border);
  background: var(--accent-light);
  color: var(--text-muted);
  padding: 18px 14px;
}
.i-contact-name {
  color: var(--black);
  font-family: var(--font-en);
  font-size: 140%;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.i-contact-role {
  font-family: var(--font-ja);
  font-size: 100%;
  margin-top: 3px;
}
.i-contact-row {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.i-contact-row:last-child { border-bottom: none; }
.i-contact-label {
  font-family: var(--font-en);
  font-size: 110%;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-light);
  border-right: 1px solid var(--border);
  width: 100px;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  padding-left: 14px;
  align-items: center;
}
.i-contact-val {
  font-family: var(--font-ja);
  font-size: 140%;
  color: var(--black);
  padding: 14px 20px;
}
.i-contact-val a { color: var(--accent-dark); }

/* ───────────────────────────────────────────
   CTA お見積り・お問合せ
─────────────────────────────────────────── */
.btn--cta--wrap{
  display: block;
  pointer-events: none;
  opacity: 0;
  position: fixed;
  text-align: center;
  z-index: 100;
  transition: opacity 0.5s linear, bottom 1s ease-in-out;
}

.btn--cta--wrap.show{
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.5s linear, bottom 1s ease-in-out;
}

.btn--cta--area{
  position: relative;
  left: 50%;
}

a.btn--cta {
  color: #fff;
  background-color: var(--accent);
  border-radius: 5px;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
  font-size: 180%;
  position: relative;
  padding: 14px 28px;
  border-bottom: 5px solid var(--accent-dark);
}

a.btn--cta span{
  margin-left: 12px;
  font-weight: 800;
  font-size: 80%;
}

/* ───────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────── */
/* ---SP--- */
@media screen and (max-width:640px){
  .indigo-panel { padding: 28px 20px 200px; }
  .indigo-tab-nav.left::after { display: block; content: ">>"; padding: 0 1vw 0 2vw; right: 0; width: 40px; height: 40px; font-size: 24px; font-weight: 600; letter-spacing: -3px; line-height: 56px; text-align: center; position: sticky; user-select: none; pointer-events: none; background-color: #ffffffcc; animation: anim 1.2s ease-in-out infinite alternate; }
  @keyframes anim{ 0% { color: var(--bg-light);} 100% { color: var(--text-muted); } }
  .i-access-grid { grid-template-columns: 1fr; } 
  .i-access-cell:nth-child(2n) { border-right: 1px solid var(--border); }
  .i-access-cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .i-access-cell:last-child { border-bottom: none; }
  .i-spec-grid { grid-template-columns: 1fr 1fr; }
  .i-spec-grid { grid-template-columns: 1fr; }
  .i-zone-key { width: 110px; }
  .i-spec-cell {height: 100px;}
  .i-price-table th, .i-price-table td { width: 200px; padding: 10px 10px; white-space: nowrap; }
  .i-price-table th:first-child, .i-price-table td:first-child {width: 180px;}
  .i-price-table th:nth-child(n+2), .i-price-table td:nth-child(n+2) {width: 120px;}
  .i-cal-wrap{ margin:40px 0; width: 97vw; position: relative; left: 50%; transform: translateX(-50%); }
  .i-map{ width: 100%; height: 400px; }
  .btn--cta--wrap{ bottom: 15vh; }
  .btn--cta--area{ left: -7px; width: 100vw;  position: absolute; }
  a.btn--cta{ font-size: 140%; }
  a.btn--cta:active { color: #fff; background-color: #9cd6f5; opacity: 1; box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1); }
}

/* ---PC--- */
@media screen and (min-width: 641px){
  .i-spec-cell {height: 140px;}
  .btn--cta--wrap{ bottom: 120px; }
  .btn--cta--wrap.is-bottom { bottom: 200px; transition: bottom 1s ease-in-out; }
  a.btn--cta:hover { color: #fff; background-color: #9cd6f5; opacity: 1; box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1); }
}
