/*
Theme Name: Tabi Wan GeneratePress Child
Theme URI: https://example.com/
Description: Tabi Wan向けGeneratePress子テーマ
Author: Your Name
Template: generatepress
Version: 1.8.1
Text Domain: tabi-wan
*/

:root {
  --rp-red: #a64b36;
  --rp-red-dark: #7f382a;
  --rp-black: #3a2f2a;
  --rp-charcoal: #51423b;
  --rp-white: #fffdf7;
  --rp-gray: #f4efe2;
  --rp-muted: #493c36;
  --rp-line: #ded3bd;
  --rp-cream: #f2e4b5;
  --rp-radius: 24px;
  --rp-shadow: 0 18px 48px rgba(57, 48, 34, 0.11);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.home {
  background: var(--rp-white);
  color: var(--rp-black);
}

body.tabi-wan-designed-page,
body.tabi-wan-designed-page button,
body.tabi-wan-designed-page input,
body.tabi-wan-designed-page select,
body.tabi-wan-designed-page textarea {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}

body.tabi-wan-designed-page h1,
body.tabi-wan-designed-page h2,
body.tabi-wan-designed-page h3,
body.tabi-wan-designed-page h4 {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-synthesis: none;
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: pretty;
}

body.tabi-wan-designed-page,
body.tabi-wan-designed-page * {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}

body.home #page,
body.home #primary,
body.home .site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.home .content-area { width: 100%; }
body.home .site-content { display: block; padding: 0; }

body.tabi-wan-designed-page #page,
body.tabi-wan-designed-page #primary,
body.tabi-wan-designed-page .site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.tabi-wan-designed-page .content-area { width: 100%; }
body.tabi-wan-designed-page .site-content { display: block; padding: 0; }

.rp-home *, .rp-home *::before, .rp-home *::after { box-sizing: border-box; }
.rp-home img { display: block; width: 100%; height: auto; }
.rp-home a { text-decoration: none; }

.rp-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.rp-section { padding: 104px 0; }
.rp-section--gray { background: var(--rp-gray); }

.rp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--rp-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rp-eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; }

.rp-section-title {
  margin: 0;
  color: var(--rp-black);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.rp-section-title,
.rp-hero h1,
.rp-subhero h1,
.rp-feature h2,
.rp-vehicle__body h3,
.rp-reason h3,
.rp-story__copy h2,
.rp-about-card h2 {
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.rp-keep,
.rp-hero h1 span,
.rp-subhero h1 span {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}

.rp-section-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--rp-muted);
  font-size: 18px;
  line-height: 1.9;
}

/* PDF-specified heading lines; keep each phrase intact. */
.rp-heading-line { display: block; white-space: nowrap; }
#rp-story-title { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.4; }
.rp-reservation-card__extra { display: block; margin-top: 16px; }

/* Independent mobile menu; leaves GeneratePress navigation untouched. */
.rp-mobile-menu { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 120px); padding: 24px; border: 1px solid var(--rp-line); border-radius: 20px; background: #fffaf0; color: var(--rp-black); overflow-y: auto; }
.rp-mobile-menu::backdrop { background: rgba(32,26,22,.6); }
.rp-mobile-menu__header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.rp-mobile-menu__header h2 { margin: 0; font-size: 22px; }
.rp-mobile-menu__close { padding: 10px 14px; border-radius: 8px; background: var(--rp-black); color: #fff; }
.rp-mobile-menu ul { margin: 0; padding: 0; list-style: none; }
.rp-mobile-menu li a { display: block; padding: 13px 8px; border-bottom: 1px solid var(--rp-line); color: var(--rp-black); font-size: 16px; font-weight: 700; text-decoration: none; }
.rp-mobile-menu ul ul { padding-left: 16px; }
body.rp-menu-open { overflow: hidden; }

.rp-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border: 2px solid var(--rp-red);
  border-radius: 999px;
  background: var(--rp-red);
  color: var(--rp-white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.rp-button:hover, .rp-button:focus { background: var(--rp-red-dark); border-color: var(--rp-red-dark); color: #fff; transform: translateY(-2px); }
.rp-button--dark { background: var(--rp-black); border-color: var(--rp-black); }
.rp-button--dark:hover, .rp-button--dark:focus { background: var(--rp-charcoal); border-color: var(--rp-charcoal); }
.rp-button--outline { border-color: #fff; background: transparent; }
.rp-button--outline:hover, .rp-button--outline:focus { border-color: #fff; background: #fff; color: var(--rp-black); }
.rp-button__arrow { font-size: 20px; line-height: 1; }
.rp-button-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.rp-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fffaf0;
  color: var(--rp-black);
}

.rp-hero__media { position: relative; width: 100%; height: clamp(380px, 68vh, 760px); overflow: hidden; }
.rp-hero__shade { display: none; }
.rp-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.rp-hero__slide { position: absolute; inset: 0; opacity: 0; animation: rp-hero-crossfade 10s ease-in-out infinite; will-change: opacity, transform; }
.rp-hero__slide--first { animation-delay: 0s; }
.rp-hero__slide--second { animation-delay: -5s; }
.rp-hero__media .rp-hero__slide--second { object-position: 50% 12%; }

@keyframes rp-hero-crossfade {
  0%, 45% { opacity: 1; transform: scale(1); }
  50%, 95% { opacity: 0; transform: scale(1.035); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes rp-hero-crossfade-reduced {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
.rp-hero__shade { background: linear-gradient(90deg, rgba(24,43,40,.84) 0%, rgba(33,48,44,.48) 48%, rgba(33,48,44,.12) 100%), linear-gradient(0deg, rgba(24,43,40,.42), transparent 50%); }
.rp-hero__content { position: relative; display: flex; width: min(1180px, calc(100% - 48px)); flex-direction: column; align-items: flex-start; margin-inline: auto; padding: 56px 0 64px; }
.rp-hero__badge { display: inline-flex; max-width: 100%; padding: 8px 14px; border: 1px solid var(--rp-line); border-radius: 999px; background: var(--rp-cream); color: var(--rp-black); font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .05em; }
.rp-hero h1 { max-width: 100%; margin: 24px 0 20px; color: var(--rp-black); font-size: clamp(40px, 4.4vw, 64px); font-weight: 800; line-height: 1.3; letter-spacing: -.04em; }
.rp-hero h1 span {
  display: inline-block;
  width: fit-content;
  margin: 0;
  padding: 0;
  color: var(--rp-red);
}
.rp-hero__copy { max-width: 820px; margin: 0 0 32px; color: var(--rp-muted); font-size: clamp(16px, 1.25vw, 18px); font-weight: 500; line-height: 1.85; }
.rp-hero .rp-button--outline { border-color: var(--rp-black); color: var(--rp-black); }
.rp-hero .rp-button--outline:hover, .rp-hero .rp-button--outline:focus { border-color: var(--rp-black); background: var(--rp-black); color: #fff; }
.rp-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 32px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; }
.rp-hero__facts li::before { content: "✓"; margin-right: 8px; color: var(--rp-red); font-weight: 900; }
.rp-hero__stripe { display: none; }

/* Reasons */
.rp-reasons__intro { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: end; }
.rp-reasons__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.rp-reason { position: relative; min-height: 340px; padding: 40px 34px; overflow: hidden; border: 1px solid var(--rp-line); border-top: 6px solid var(--rp-red); border-radius: var(--rp-radius); background: #fffdf8; color: var(--rp-black); box-shadow: 0 14px 36px rgba(57,48,34,.07); }
.rp-reason__number { position: absolute; right: 18px; top: 8px; color: rgba(0,0,0,.06); font-size: 100px; font-weight: 900; line-height: 1; }
.rp-reason__icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: var(--rp-red); font-size: 25px; }
.rp-reason h3 { position: relative; margin: 64px 0 16px; color: var(--rp-black); font-size: clamp(20px, 2vw, 24px); font-weight: 700; line-height: 1.5; }
.rp-reason p { position: relative; margin: 0; color: var(--rp-muted); font-size: 17px; line-height: 1.9; }
.rp-inline-emphasis { color: var(--rp-red-dark); font-weight: 900; }

/* Vehicles */
.rp-vehicles__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.rp-vehicle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.rp-vehicle { overflow: hidden; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); background: #fffdf8; box-shadow: var(--rp-shadow); }
.rp-vehicle__image { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.rp-vehicle__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.rp-vehicle:hover .rp-vehicle__image img { transform: scale(1.04); }
.rp-vehicle__tag { position: absolute; left: 20px; top: 20px; padding: 8px 13px; border-radius: 999px; background: var(--rp-red); color: #fff; font-size: 12px; font-weight: 900; }
.rp-vehicle__body { padding: 30px; }
.rp-vehicle__body h3 { margin: 0 0 10px; font-size: 30px; font-weight: 700; }
.rp-vehicle__body > p { margin: 0; color: var(--rp-muted); font-size: 17px; line-height: 1.85; }
.rp-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 24px 0; }
.rp-spec { padding: 13px 8px; border-left: 1px solid var(--rp-line); text-align: center; }
.rp-spec:first-child { border-left: 0; }
.rp-spec small { display: block; color: var(--rp-muted); font-size: 11px; }
.rp-spec strong { display: block; margin-top: 4px; font-size: 16px; }
.rp-text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--rp-red); font-weight: 800; }

/* Story */
.rp-story__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.rp-story__image { position: relative; min-height: 560px; align-self: stretch; overflow: hidden; border-radius: var(--rp-radius); box-shadow: var(--rp-shadow); }
.rp-story__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rp-story__copy p:not(.rp-eyebrow) { margin: 24px 0 0; color: var(--rp-muted); font-size: 17px; line-height: 1.95; }

/* Price band */
.rp-price-band { padding: 34px 0; background: var(--rp-red); color: #fff; }
.rp-price-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.rp-price-band__label { margin: 0 0 4px; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.rp-price-band__price { margin: 0; font-size: clamp(26px, 4vw, 42px); font-weight: 900; line-height: 1.25; }
.rp-price-band__price small { font-size: .45em; font-weight: 700; }
.rp-price-band__note { margin: 7px 0 0; font-size: 14px; }
.rp-price-band__strength { display: inline-block; margin: 10px 0 0; padding: 5px 11px; border-radius: 8px; background: rgba(255,255,255,.18); color: #fff; font-size: 16px; font-weight: 900; }

/* Journey */
.rp-journey { background: var(--rp-gray); color: var(--rp-black); }
.rp-journey .rp-section-title { color: var(--rp-black); }
.rp-journey__layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
.rp-journey__copy p:not(.rp-eyebrow) { margin: 24px 0 34px; color: var(--rp-muted); font-size: 17px; line-height: 1.9; }
.rp-journey__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rp-journey__photo { min-height: 460px; overflow: hidden; border-radius: var(--rp-radius); }
.rp-journey__photo:last-child { margin-top: 52px; }
.rp-journey__photo img { width: 100%; height: 100%; object-fit: cover; }

/* CTA */
.rp-cta { position: relative; overflow: hidden; background: var(--rp-red); color: #fffdf7; }
.rp-cta::before { content: "GO"; position: absolute; right: -20px; top: 50%; color: rgba(255,255,255,.09); font-size: 310px; font-weight: 900; line-height: .7; transform: translateY(-50%); }
.rp-cta__inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.rp-cta .rp-eyebrow, .rp-cta .rp-section-title { color: #fff; }
.rp-cta .rp-eyebrow::before { background: #fff; }
.rp-cta p { max-width: 650px; margin: 22px 0 0; font-size: 17px; line-height: 1.8; }

/* Fixed reservation */
.rp-fixed-reserve { position: fixed; right: 22px; bottom: 22px; z-index: 999; display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 12px 22px; border: 3px solid #fff; border-radius: 999px; background: var(--rp-red); color: #fff !important; box-shadow: 0 12px 34px rgba(0,0,0,.3); font-size: 14px; font-weight: 900; letter-spacing: .03em; transition: transform .2s ease, background .2s ease; }
.rp-fixed-reserve:hover, .rp-fixed-reserve:focus { background: var(--rp-red-dark); transform: translateY(-3px); }
.rp-fixed-reserve__icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #fff; color: var(--rp-red); font-size: 18px; }

/* Mobile fixed actions */
.rp-mobile-cta { display: none; }

/* Subpages */
.rp-subpage { overflow: hidden; background: var(--rp-white); color: var(--rp-black); }
.rp-subpage *, .rp-subpage *::before, .rp-subpage *::after { box-sizing: border-box; }
.rp-subpage img { display: block; width: 100%; }
.rp-subpage a { text-decoration: none; }

.rp-subhero { position: relative; min-height: 610px; display: grid; align-items: end; overflow: hidden; background: var(--rp-black); color: #fff; }
.rp-subhero__media, .rp-subhero__shade { position: absolute; inset: 0; }
.rp-subhero__media img { width: 100%; height: 100%; object-fit: cover; }
.rp-subhero__shade { background: linear-gradient(90deg, rgba(24,43,40,.88), rgba(33,48,44,.45) 60%, rgba(33,48,44,.16)); }
.rp-subhero__content { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 76px; }
.rp-subhero h1 { max-width: 900px; margin: 18px 0 22px; color: #fff; font-size: clamp(38px, 5.2vw, 62px); font-weight: 800; line-height: 1.18; letter-spacing: -.03em; }
.rp-subhero h1 span { color: var(--rp-red); }
.rp-subhero__lead { max-width: 700px; margin: 0; color: rgba(255,255,255,.92); font-size: 18px; line-height: 1.9; }

.rp-feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; background: var(--rp-white); }
.rp-feature:nth-child(even) .rp-feature__media { order: 2; }
.rp-feature__media { min-height: 480px; overflow: hidden; }
.rp-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.rp-feature__body { display: grid; align-content: center; padding: clamp(44px, 7vw, 100px); }
.rp-feature__number { color: var(--rp-red); font-size: 13px; font-weight: 900; letter-spacing: .15em; }
.rp-feature h2 { margin: 18px 0; font-size: clamp(30px, 4vw, 50px); font-weight: 700; line-height: 1.32; letter-spacing: -.02em; }
.rp-feature p { max-width: 620px; margin: 0; color: var(--rp-muted); font-size: 17px; line-height: 1.95; }

.rp-dual-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.rp-dual-photo img { aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }

.rp-spec-section { background: var(--rp-gray); }
.rp-spec-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.rp-spec-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 16px; background: #fffdf8; box-shadow: var(--rp-shadow); }
.rp-spec-table th, .rp-spec-table td { padding: 19px 22px; border-bottom: 1px solid var(--rp-line); text-align: left; vertical-align: top; }
.rp-spec-table th { width: 32%; background: var(--rp-black); color: #fff; font-size: 14px; }
.rp-spec-table td { font-weight: 700; line-height: 1.7; }
.rp-equipment { margin-top: 28px; padding: 28px; border-left: 6px solid var(--rp-red); border-radius: 0 16px 16px 0; background: #fffdf8; }
.rp-equipment h3 { margin: 0 0 10px; font-size: 20px; }
.rp-equipment p { margin: 0; color: var(--rp-muted); font-size: 17px; line-height: 1.85; }

.rp-guide-hero { padding: 110px 0 84px; background: var(--rp-black); color: #fff; }
.rp-guide-hero .rp-section-title { max-width: 900px; color: #fff; }
.rp-guide-hero__lead { max-width: 720px; margin: 24px 0 0; color: rgba(255,255,255,.92); font-size: 18px; line-height: 1.9; }
.rp-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 50px; }
.rp-flow__step { position: relative; padding: 28px 20px; background: var(--rp-cream); color: var(--rp-black); text-align: center; }
.rp-flow__step strong { display: block; margin-bottom: 6px; color: var(--rp-red); font-size: 12px; letter-spacing: .12em; }
.rp-flow__step span { font-size: 21px; font-weight: 700; }

.rp-reservation-card { display: grid; grid-template-columns: .82fr 1.18fr; overflow: hidden; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); background: #fffdf8; color: var(--rp-black); box-shadow: var(--rp-shadow); }
.rp-reservation-card__price { display: grid; align-content: center; padding: 50px; background: var(--rp-red); color: #fffdf7; }
.rp-reservation-card__price p { margin: 0; }
.rp-reservation-card__price strong { display: block; margin: 10px 0; font-size: clamp(38px, 6vw, 64px); line-height: 1; }
.rp-reservation-card__price small { font-size: 14px; }
.rp-reservation-card__strength { display: inline-block; width: fit-content; margin-top: 16px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.18); font-size: 15px; font-weight: 900; line-height: 1.6; }
.rp-reservation-card__action { padding: 50px; }
.rp-reservation-card__action h2 { margin: 0 0 14px; color: var(--rp-black); font-size: 30px; }
.rp-reservation-card__action p { margin: 0 0 28px; color: var(--rp-muted); font-size: 17px; line-height: 1.85; }

.rp-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.rp-info-card { padding: 30px 26px; border: 1px solid var(--rp-line); border-radius: 18px; background: #fffdf8; }
.rp-info-card > span { display: inline-block; margin-bottom: 20px; color: var(--rp-red); font-size: 13px; font-weight: 900; letter-spacing: .14em; }
.rp-info-card h3 { margin: 0 0 12px; color: var(--rp-black); font-size: 21px; font-weight: 700; }
.rp-info-card p { margin: 0; color: var(--rp-muted); font-size: 16px; line-height: 1.9; }
.rp-info-card strong { color: var(--rp-black); }
.rp-contact-box { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 28px; padding: 34px; border-radius: 20px; background: var(--rp-cream); }
.rp-contact-box__label { margin: 0 0 6px !important; color: var(--rp-red) !important; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.rp-contact-box h3 { margin: 0 0 8px; font-size: 23px; }
.rp-contact-box p { max-width: 680px; margin: 0; color: var(--rp-muted); font-size: 17px; line-height: 1.85; }

.rp-notice { margin-top: 38px; padding: 34px; border: 1px solid var(--rp-line); border-radius: 18px; background: #fffdf8; }
.rp-notice h3 { margin: 0 0 16px; font-size: 23px; }
.rp-notice p { margin: 10px 0; color: var(--rp-muted); font-size: 17px; line-height: 1.9; }
.rp-example { margin: 22px 0; padding: 20px 24px; border-left: 5px solid var(--rp-red); background: var(--rp-gray); font-weight: 700; line-height: 1.9; }

.rp-faq-list { display: grid; gap: 12px; margin-top: 42px; }
.rp-faq { border: 1px solid var(--rp-line); border-radius: 16px; background: #fffdf8; }
.rp-faq summary { position: relative; padding: 22px 60px 22px 24px; cursor: pointer; font-size: 18px; font-weight: 700; list-style: none; }
.rp-faq summary::-webkit-details-marker { display: none; }
.rp-faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; color: var(--rp-red); font-size: 28px; transform: translateY(-50%); }
.rp-faq[open] summary::after { content: "−"; }
.rp-faq p { margin: 0; padding: 0 24px 24px; color: var(--rp-muted); font-size: 17px; line-height: 1.85; }
.rp-line-help { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; padding: 28px 30px; border-radius: 18px; background: var(--rp-cream); }
.rp-line-help h3 { margin: 0 0 7px; color: var(--rp-black); font-size: 22px; }
.rp-line-help p { margin: 0; color: var(--rp-muted); font-size: 17px; line-height: 1.8; }

.rp-cancel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.rp-cancel__item { padding: 24px; border: 1px solid var(--rp-line); border-top: 5px solid var(--rp-red); border-radius: 14px; background: #fffdf8; color: var(--rp-black); text-align: center; }
.rp-cancel__item span { display: block; color: var(--rp-muted); font-size: 13px; }
.rp-cancel__item strong { display: block; margin-top: 7px; font-size: 28px; }

.rp-doc-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; }
.rp-doc-links a { display: flex; justify-content: space-between; gap: 20px; padding: 20px 22px; border: 1px solid var(--rp-line); border-radius: 14px; background: #fffdf8; color: var(--rp-black); font-weight: 700; }
.rp-doc-links a:hover, .rp-doc-links a:focus { border-color: var(--rp-red); color: var(--rp-red); }

/* Legal pages */
.rp-legal-hero { padding: 110px 0 82px; border-bottom: 1px solid var(--rp-line); background: var(--rp-cream); }
.rp-legal-hero .rp-section-title { max-width: 900px; }
.rp-legal-hero__lead { max-width: 760px; margin: 24px 0 0; color: var(--rp-muted); font-size: 18px; line-height: 1.9; }
.rp-legal { padding: 82px 0 110px; background: var(--rp-white); }
.rp-legal__inner { width: min(880px, calc(100% - 48px)); margin-inline: auto; }
.rp-legal-section { padding: 34px 0; border-bottom: 1px solid var(--rp-line); }
.rp-legal-section:first-child { padding-top: 0; }
.rp-legal-section h2 { margin: 0 0 16px; color: var(--rp-black); font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.5; }
.rp-legal-section p { margin: 0; color: var(--rp-muted); font-size: 17px; line-height: 1.95; }
.rp-legal-section ul { margin: 14px 0 0; padding-left: 1.4em; color: var(--rp-muted); line-height: 1.9; }
.rp-legal-contact { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 44px; padding: 32px; border-radius: 20px; background: var(--rp-gray); }
.rp-legal-contact h2 { margin: 0 0 8px; font-size: 23px; }
.rp-legal-contact p { margin: 0; color: var(--rp-muted); line-height: 1.75; }
.rp-legal-source { margin: 26px 0 0; color: var(--rp-muted); font-size: 13px; line-height: 1.7; }
.rp-legal-source a { color: var(--rp-red); text-decoration: underline; }
.rp-legal-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--rp-line); border-radius: 18px; background: #fffdf8; }
.rp-legal-table th, .rp-legal-table td { padding: 22px 24px; border-bottom: 1px solid var(--rp-line); text-align: left; vertical-align: top; line-height: 1.85; }
.rp-legal-table tr:last-child th, .rp-legal-table tr:last-child td { border-bottom: 0; }
.rp-legal-table th { width: 28%; background: var(--rp-gray); color: var(--rp-black); font-weight: 700; }
.rp-legal-table td { color: var(--rp-muted); font-size: 16px; line-height: 1.85; }
.rp-policy-note { margin: 22px 0 0; padding: 24px; border-left: 5px solid var(--rp-red); border-radius: 0 14px 14px 0; background: var(--rp-gray); color: var(--rp-muted); line-height: 1.9; }

/* About page */
.rp-about-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.rp-about-intro__copy p { margin: 0 0 18px; color: var(--rp-muted); font-size: 17px; line-height: 1.95; }
.rp-about-visual { margin-top: 48px; overflow: hidden; border-radius: var(--rp-radius); box-shadow: var(--rp-shadow); }
.rp-about-visual img { width: 100%; max-height: 620px; object-fit: cover; }
.rp-about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.rp-about-card { padding: 34px; border: 1px solid var(--rp-line); border-radius: 20px; background: #fffdf8; }
.rp-about-card__label { display: inline-block; margin-bottom: 18px; color: var(--rp-red); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.rp-about-card h2 { margin: 0 0 14px; color: var(--rp-black); font-size: 26px; font-weight: 700; }
.rp-about-card p { margin: 0; color: var(--rp-muted); font-size: 17px; line-height: 1.9; }
.rp-about-access { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.rp-about-access__details { padding: 34px; border-radius: 20px; background: var(--rp-cream); }
.rp-about-access__details dl { margin: 0; }
.rp-about-access__details dt { margin-top: 20px; color: var(--rp-red); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.rp-about-access__details dt:first-child { margin-top: 0; }
.rp-about-access__details dd { margin: 6px 0 0; color: var(--rp-black); line-height: 1.8; }

@media (max-width: 900px) {
  .rp-section { padding: 78px 0; }
  .rp-hero { min-height: 0; display: flex; flex-direction: column; }
  .rp-hero__media { order: 1; width: 100%; height: clamp(340px, 58vh, 560px); }
  .rp-hero__content { order: 2; width: min(100% - 48px, 720px); margin-inline: auto; padding: 52px 0 60px; }
  .rp-hero h1 { max-width: 680px; font-size: clamp(38px, 7vw, 58px); }
  .rp-hero__copy { max-width: 680px; }
  .rp-reasons__intro, .rp-journey__layout, .rp-story__layout { grid-template-columns: 1fr; gap: 40px; }
  .rp-reasons__grid { grid-template-columns: 1fr; }
  .rp-reason { min-height: 260px; }
  .rp-reason h3 { margin-top: 42px; }
  .rp-journey__photos { max-width: 680px; }
  .rp-story__image { min-height: 430px; align-self: auto; }
  .rp-feature, .rp-spec-layout, .rp-reservation-card { grid-template-columns: 1fr; }
  .rp-feature:nth-child(even) .rp-feature__media { order: 0; }
  .rp-flow { grid-template-columns: repeat(2, 1fr); }
  .rp-info-grid { grid-template-columns: repeat(2, 1fr); }
  .rp-contact-box, .rp-line-help { align-items: flex-start; flex-direction: column; }
  .rp-legal-contact { align-items: flex-start; flex-direction: column; }
  .rp-about-intro, .rp-about-access { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 700px) {
	body.tabi-wan-designed-page { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .rp-container { width: min(100% - 32px, 1180px); }
  .rp-section { padding: 66px 0; }
  .rp-section-title { font-size: clamp(28px, 7.8vw, 38px); line-height: 1.38; }
  .rp-title-compact { font-size: clamp(25px, 7vw, 34px); }
  .rp-reason h3 { font-size: clamp(21px, 5.6vw, 24px); line-height: 1.5; }
  #rp-story-title { font-size: clamp(23px, 6vw, 30px); line-height: 1.5; }
  .rp-hero { min-height: 0; }
  .rp-hero__media { height: clamp(280px, 48vh, 460px); height: clamp(280px, 48svh, 460px); }
  .rp-hero__content { width: min(100% - 36px, 680px); padding: 38px 0 48px; }
  .rp-hero h1 { font-size: clamp(34px, 9.8vw, 44px); }
  .rp-subhero h1 { font-size: clamp(27px, 7.5vw, 34px); line-height: 1.35; }
  .rp-feature h2 { font-size: clamp(24px, 6.5vw, 30px); line-height: 1.45; }
  .rp-legal-section h2 { font-size: clamp(20px, 5.8vw, 26px); line-height: 1.55; }
  #rp-concept-title { font-size: clamp(28px, 8.3vw, 36px); line-height: 1.4; }
  .rp-hero__copy br { display: none; }
  .rp-vehicles__head { display: block; }
  .rp-vehicles__head .rp-button { margin-top: 26px; }
  .rp-vehicle-grid { grid-template-columns: 1fr; }
  .rp-vehicle__body { padding: 24px 20px; }
  .rp-journey__photos { gap: 10px; }
  .rp-journey__photo { min-height: 300px; }
  .rp-journey__photo:last-child { margin-top: 30px; }
  .rp-cta__inner { grid-template-columns: 1fr; }
  .rp-cta::before { font-size: 180px; }
  .rp-price-band__inner { display: grid; }
  .rp-price-band .rp-button { width: 100%; }
  .rp-story__image { min-height: 340px; }
  .rp-subhero { min-height: 570px; }
  .rp-subhero__content { padding-top: 90px; padding-bottom: 60px; }
  .rp-feature__media { min-height: 330px; }
  .rp-feature__body { padding: 44px 20px 54px; }
  .rp-dual-photo { grid-template-columns: 1fr; }
  .rp-flow { grid-template-columns: 1fr 1fr; }
  .rp-flow__step { padding: 22px 12px; }
  .rp-reservation-card__price, .rp-reservation-card__action { padding: 34px 24px; }
  .rp-cancel, .rp-doc-links { grid-template-columns: 1fr; }
  .rp-info-grid { grid-template-columns: 1fr; }
  .rp-contact-box .rp-button, .rp-line-help .rp-button { width: 100%; }
  .rp-legal-hero { padding: 82px 0 62px; }
  .rp-legal { padding: 62px 0 82px; }
  .rp-legal__inner { width: min(100% - 32px, 880px); }
  .rp-legal-contact .rp-button { width: 100%; }
  .rp-legal-table, .rp-legal-table tbody, .rp-legal-table tr, .rp-legal-table th, .rp-legal-table td { display: block; width: 100%; }
  .rp-legal-table th { padding-bottom: 8px; border-bottom: 0; }
  .rp-legal-table td { padding-top: 8px; }
  .rp-about-grid { grid-template-columns: 1fr; }
  .rp-fixed-reserve { display: none; }
  .rp-mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: calc(72px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #2d2724;
    box-shadow: 0 -8px 28px rgba(36,27,23,.22);
  }
  .rp-mobile-cta__item,
  .rp-mobile-cta button.rp-mobile-cta__item {
    display: flex;
    min-width: 0;
    min-height: 72px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 0;
    padding: 7px 3px;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.25);
    border-radius: 0;
    background: #3a2f2a;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .02em;
    text-decoration: none;
    appearance: none;
    box-shadow: none;
    cursor: pointer;
  }
  .rp-mobile-cta__item:last-child { border-right: 0; }
  .rp-mobile-cta__item--line { background: #4f6953; }
  .rp-mobile-cta__item--reserve { background: var(--rp-red); }
  .rp-mobile-cta button.rp-mobile-cta__menu { background: #211d1b; }
  .rp-mobile-cta__icon { display: block; height: 29px; font-size: 25px; font-weight: 700; line-height: 29px; }
  .rp-mobile-cta__item:focus-visible { outline: 3px solid var(--rp-cream); outline-offset: -4px; }
}

@media (max-width: 520px) {
  .rp-container,
  .rp-legal__inner { width: min(100% - 36px, 1180px); }
  .rp-section-title,
  .rp-feature h2,
  .rp-vehicle__body h3,
  .rp-story__copy h2,
  .rp-about-card h2 {
    word-break: normal;
    overflow-wrap: normal;
    text-wrap: pretty;
  }
  .rp-section-title br,
  .rp-feature h2 br,
  .rp-vehicle__body h3 br,
  .rp-story__copy h2 br,
  .rp-about-card h2 br { display: none; }
  .rp-hero h1 { font-size: clamp(34px, 9.5vw, 42px); line-height: 1.18; }
  .rp-hero h1 span { border-radius: 13px; }
  .rp-section-lead,
  .rp-reason p,
  .rp-vehicle__body > p,
  .rp-journey__copy p:not(.rp-eyebrow),
  .rp-story__copy p:not(.rp-eyebrow),
  .rp-feature p,
  .rp-guide-hero__lead,
  .rp-reservation-card__action p,
  .rp-notice p,
  .rp-faq p,
  .rp-legal-section p,
  .rp-about-intro__copy p {
    font-size: 16px;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: pretty;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rp-home *, .rp-home *::before, .rp-home *::after { transition: none !important; }
  .rp-hero__slide {
    animation-name: rp-hero-crossfade-reduced !important;
    animation-duration: 10s !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
    transform: none !important;
  }
}
