:root{
  --navy:#1f2f54;
  --navy2:#152646;
  --beige:#c9b596;
  --beige2:#efe9e0;
  --line:#d7d7d7;
  --price:#d65a4a;
  --faqbg:#dbe7ed;
  --text:#222;
  --muted:#666;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.7;
}

a{ color:#1a57c6; text-decoration:underline; }

.wrap{ max-width:900px; margin:0 auto; }
.section{ padding:34px 16px; }
.center{ text-align:center; }

.label{
  display:inline-block;
  background:var(--beige);
  color:#222;
  font-weight:700;
  padding:10px 28px;
  border-radius:2px;
  letter-spacing:.08em;
}

/* HERO */
.hero{ background:#4f4f4f; }
.hero__topline{ height:10px; background:var(--navy); }
.hero__imgWrap{ border-top:6px solid #d9cdbb; }
.hero__img{ width:100%; height:auto; display:block; }
.hero__catch{
  background:var(--beige2);
  color:#333;
  padding:16px 12px 20px;
  text-align:center;
  font-size:15px;
}
.hero__catch p{ margin:0; }
.hero__catch p + p{ margin-top:4px; }

/* FLOW */
.flow{ background:#fff; }
.step{ margin-top:18px; }
.stepbar{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:16px auto 10px;
  max-width:760px;
}
.badge{
  width:56px;height:56px;border-radius:50%;
  background:var(--beige);
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  color:#fff;font-weight:800;
  box-shadow:0 0 0 3px rgba(0,0,0,.05) inset;
  flex:0 0 56px;
}
.badge small{ font-size:12px; letter-spacing:.05em; opacity:.9; margin-bottom:2px; }
.badge b{ font-size:22px; line-height:1; }

.pill{
  flex:1;
  background:var(--navy);
  color:#fff;
  border-radius:30px;
  padding:14px 18px;
  font-weight:800;
  text-align:center;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.15);
}

.steptxt{
  text-align:center;
  font-size:15px;
  color:#333;
  padding:0 8px 6px;
}

.arrow{
  width:0;height:0;margin:8px auto 0;
  border-left:16px solid transparent;
  border-right:16px solid transparent;
  border-top:22px solid #d7b45f;
  filter:drop-shadow(0 2px 0 rgba(0,0,0,.15));
}

/* PRICE */
.price{
  background:var(--beige2);
  position:relative;
  overflow:visible;
}
.price::after{
  /* 下部のゆるいカーブ（元デザインの雰囲気） */
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:-44px;
  height:88px;
  background:var(--beige2);
  border-radius:0 0 50% 50% / 0 0 100% 100%;
}
.price .wrap{ position:relative; z-index:1; }

.bullets{
  list-style:none;
  padding:0;
  margin:14px auto 0;
  max-width:760px;
  text-align:left;
  font-size:15px;
}
.bullets li{
  position:relative;
  padding-left:18px;
  margin:6px 0;
}
.bullets li::before{
  content:"■";
  position:absolute;
  left:0; top:0;
  color:#111;
  font-size:14px;
}
.tagRed{
  display:inline-block;
  background:#c85a4f;
  color:#fff;
  font-weight:800;
  padding:2px 8px;
  border-radius:3px;
  font-size:14px;
  margin:0 2px;
}

.priceTables{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.tblwrap{
  max-width:820px;
  margin:0 auto;
  background:#fff;
  border:2px solid #777;
  border-radius:10px;
  overflow:hidden;
  position:relative;
}
.tblwrap.slim{ max-width:760px; }

.tax{
  position:absolute;
  right:10px;
  top:-18px;
  font-size:14px;
  color:#333;
}

.priceTable{
  width:100%;
  border-collapse:collapse;
  font-size:15px;
  table-layout:fixed; /* 画面幅に合わせて折り返し */
}
.priceTable th,
.priceTable td{
  border:1px solid #777;
  padding:10px 8px;
  text-align:center;
  vertical-align:middle;
  word-break:break-word;
}
.priceTable thead th{
  background:#d7c8b5;
  color:#111;
  font-weight:800;
}
.priceTable thead th:nth-child(1){ width:22%; }
.priceTable thead th:nth-child(2){ width:26%; }
.priceTable thead th:nth-child(3){ width:26%; }
.priceTable thead th:nth-child(4){ width:26%; }

.carcol{
  background:var(--navy);
  color:#fff;
  font-weight:800;
}
.period{ font-weight:700; background:#f7f7f7; }
.yen{ font-weight:900; color:#111; }

/* 通常価格（上段）はテキスト表示 */
.priceTable .price-normal{
  display:inline;
  padding: 0;
  background: transparent;
  color:#111;
  font-size:14px;
  font-weight:900;
  line-height:1;
  position:static;
  margin: 0;
  border-radius: 0;
}
.priceTable .price-normal::after{
  content:none;
}

.red{ color:var(--price); }
.yen.red{ font-size:16px; }
.small{ font-size:14px; }

/* HOURS */
.hours{ padding-top:60px; } /* カーブ分の余白 */
.hours p{ margin:12px 0 0; font-size:16px; text-align:center; }

/* CARS */
.cars .card{
  display:flex;
  gap:18px;
  align-items:flex-start;
  max-width:820px;
  margin:20px auto;
  padding:18px 0;
  border-top:1px solid var(--line);
}
.cars .card:first-of-type{ border-top:none; }

.card__media{ width:240px; flex:0 0 240px; }
.carimg{ width:100%; height:auto; display:block; border:1px solid #ccc; background:#fff; }
.caption{ font-size:13px; color:var(--muted); text-align:center; margin-top:6px; }

.card__body{ flex:1; }
.cartitle{
  font-weight:900;
  margin:0 0 8px;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  font-size:16px;
}
.tag{
  background:var(--navy);
  color:#fff;
  font-size:13px;
  padding:3px 10px;
  border-radius:2px;
  font-weight:700;
}
.cars p{ margin:0; font-size:15px; }

/* OPTIONS */
.optTitle{ text-align:center; font-weight:900; margin-top:10px; letter-spacing:.06em; }
.optgrid{
  max-width:820px;
  margin:18px auto 0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.opt{ border-radius:10px; overflow:hidden; border:1px solid #bfc6d1; background:#fff; }
.opt .top{
  background:var(--navy);
  color:#fff;
  text-align:center;
  padding:10px 6px;
  font-size:14px;
  font-weight:900;
  line-height:1.2;
  min-height:46px;
  display:flex; align-items:center; justify-content:center;
}
.opt .bot{ text-align:center; padding:14px 6px; font-weight:900; font-size:16px; }

/* FAQ */
.faq{ background:var(--faqbg); }
.faqbox{ max-width:820px; margin:18px auto 0; }
.qa{
  border:2px solid #93a6b8;
  border-radius:10px;
  background:rgba(255,255,255,.25);
  padding:14px;
  margin:14px 0;
  text-align:left;
}
.q{
  display:inline-block;
  background:var(--navy);
  color:#fff;
  padding:8px 14px;
  border-radius:6px;
  font-weight:900;
  margin-bottom:10px;
  font-size:15px;
}
.a{ font-size:15px; margin:0; color:#223; }

/* RULE / RESERVE */
.rule p,
.reserve p{ max-width:820px; margin:14px auto 0; text-align:center; }
.reserve{ padding-bottom:0; }

.tel{
  font-size:30px;
  color:#1a57c6;
  font-weight:900;
  margin:10px 0 0;
  text-align:center;
}
.reserve__name{ margin-top:10px; font-weight:800; }
.reserve__addr{ color:var(--muted); font-size:15px; }

/* Footer background */
.footerBg{
  margin-top:18px;
  padding:34px 0 34px;
  background:url("../img/footer-bock.jpg") center/cover no-repeat;
  position:relative;
}
.footerBg::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.08), rgba(0,0,0,0) 55%);
  pointer-events:none;
}
.footerBg .wrap{ position:relative; z-index:1; }

.footerLogo{
  display:block;
  width:min(340px, 78vw);
  height:auto;
  margin:0 auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.12));
}
.footerLogo__mark{
  width:30px;height:30px;
  border-radius:50%;
  background:#1e5fa9;
  display:grid;
  place-items:center;
  font-size:14px;
  letter-spacing:.06em;
}
.footerLogo__text{ letter-spacing:.06em; }

.footerStrip{ height:22px; background:var(--beige); }
.footerBottom{ height:12px; background:var(--navy); }

/* Responsive */
@media (max-width: 820px){
  .section{ padding:30px 14px; }
}

@media (max-width: 760px){
  .label{ padding:9px 18px; font-size:15px; }
  .hero__catch{ font-size:14px; }

  .stepbar{ flex-direction:column; gap:8px; }
  .pill{ width:100%; border-radius:14px; }
  .steptxt{ text-align:left; max-width:520px; margin:0 auto; }

  .cars .card{
    flex-direction:column;
    align-items:center;
    text-align:left;
  }
  .card__media{ width:100%; max-width:520px; flex:0 0 auto; }
  .card__body{ width:100%; max-width:520px; }

  .optgrid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 420px){
  .section{ padding:26px 12px; }
  .label{ padding:8px 14px; font-size:14px; }
  .badge{ width:52px; height:52px; flex-basis:52px; }
  .pill{ padding:12px 14px; font-size:15px; }
  .steptxt{ font-size:14px; }

  .priceTable{ font-size:14px; }
  .priceTable th, .priceTable td{ padding:9px 6px; }

  .optgrid{ grid-template-columns:1fr; }
  .tel{ font-size:26px; }
}

/* =========================
   Simple Web Editor (edit=1)
   ========================= */

body.is-edit{
  background:#f6f7fb;
}

.editorBar{
  position:sticky;
  top:0;
  z-index:9999;
  background:#111;
  color:#fff;
  padding:10px 14px;
  font-size:15px;
}
.editorBar__inner{
  max-width:980px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.editorBar a{
  color:#fff;
  text-decoration:underline;
}

.editorPanel{
  max-width:980px;
  margin:14px auto 26px;
  padding:0 14px;
}

.editorCard{
  background:#fff;
  border:2px solid #111;
  border-radius:14px;
  padding:14px;
}

.editorCard h2{
  margin:0 0 8px;
  font-size:18px;
}

.editorNote{
  margin:6px 0 0;
  font-size:14px;
  color:#333;
}

.editorForm details{
  border:1px solid #d7d7d7;
  border-radius:12px;
  padding:10px;
  margin:12px 0;
  background:#fafafa;
}
.editorForm summary{
  cursor:pointer;
  font-weight:900;
  color:#111;
}

.editorField{ margin-top:10px; }
.editorField label{
  display:block;
  font-size:14px;
  font-weight:800;
  color:#222;
  margin-bottom:6px;
}

.editorField input,
.editorField textarea{
  width:100%;
  padding:10px 12px;
  border:1px solid #cfcfcf;
  border-radius:10px;
  font:inherit;
  font-size:16px;
  line-height:1.6;
}
.editorField textarea{
  min-height:86px;
  resize:vertical;
}

.editorGrid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.editorActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

.editorBtn{
  border:none;
  border-radius:12px;
  padding:10px 14px;
  font-weight:900;
  cursor:pointer;
}
.editorBtn--primary{ background:var(--navy); color:#fff; }
.editorBtn--secondary{ background:#666; color:#fff; }

.editorMsg{
  margin:0 0 10px;
  padding:10px 12px;
  border-radius:12px;
  background:#e7f6ed;
  border:1px solid #8ed1a8;
  color:#0b5b2b;
  font-size:15px;
}

@media (max-width: 560px){
  .editorGrid2{ grid-template-columns:1fr; }
}
