/* ==========================================================================
   Vancouver Homestay & Roomstay LP — WordPress (STORK19 Child Theme)
   試作 assets/css/style.css 準拠 + STORK19干渉リセット + Gutenbergコアブロック対応 + CF7対応
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --c-navy: #12233D;
  --c-accent: #B5532E;
  --c-accent-dark: #A2462A;
  --c-accent-light: #E3A58A;
  --c-accent-bg: #F6EEEA;
  --c-text-sub: #44506A;
  --c-text-muted: #5B6778;
  --c-text-body2: #2B3850;
  --c-on-navy-sub: #B9C3D3;
  --c-on-navy-body: #C9D2E0;
  --c-bg: #FFFFFF;
  --c-bg-alt: #F6F7F9;
  --c-bg-toggle: #F2F4F7;
  --c-placeholder: #DDE2EA;
  --c-placeholder-2: #E7EBF0;
  --c-border: #E3E7ED;
  --c-border-light: #EEF1F5;
  --c-border-input: #CDD4DE;
  --c-error: #B42318;

  --font: 'Inter', 'Noto Sans JP', system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --gutter: 32px;
  --section-y: 128px;
  --header-h: 76px;

  --r-card: 16px;
  --r-band: 20px;
  --r-box: 12px;
  --r-ctrl: 8px;
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-y: 80px;
    --header-h: 64px;
  }
}

/* ---------- STORK19 & WP Core Reset (LPページ限定) ---------- */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body.homestay-lp-body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font) !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  letter-spacing: 0.02em;
  font-feature-settings: 'palt' 1;
  color: var(--c-navy) !important;
  background: var(--c-bg) !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.homestay-lp-body *,
body.homestay-lp-body *::before,
body.homestay-lp-body *::after {
  box-sizing: border-box;
}

body.homestay-lp-body .entry-content.homestay-lp-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: var(--c-navy) !important;
}

body.homestay-lp-body .entry-content h1,
body.homestay-lp-body .entry-content h2,
body.homestay-lp-body .entry-content h3,
body.homestay-lp-body .entry-content h4 {
  margin: 0;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: inherit;
  font-family: var(--font);
}

body.homestay-lp-body .entry-content h1::before,
body.homestay-lp-body .entry-content h1::after,
body.homestay-lp-body .entry-content h2::before,
body.homestay-lp-body .entry-content h2::after,
body.homestay-lp-body .entry-content h3::before,
body.homestay-lp-body .entry-content h3::after,
body.homestay-lp-body .entry-content h4::before,
body.homestay-lp-body .entry-content h4::after,
body.homestay-lp-body .entry-content ul li::before,
body.homestay-lp-body .entry-content ul li::after,
body.homestay-lp-body .entry-content ol li::before,
body.homestay-lp-body .entry-content ol li::after,
body.homestay-lp-body .entry-content a[target="_blank"]::after {
  content: none !important;
  display: none !important;
}

body.homestay-lp-body .homestay-lp-main h1,
body.homestay-lp-body .homestay-lp-main h2,
body.homestay-lp-body .homestay-lp-main h3,
body.homestay-lp-body .homestay-lp-main p,
body.homestay-lp-body .homestay-lp-main ul,
body.homestay-lp-body .homestay-lp-main ol,
body.homestay-lp-body .homestay-lp-main dl,
body.homestay-lp-body .homestay-lp-main dd,
body.homestay-lp-body .homestay-lp-main figure,
body.homestay-lp-body .site-footer p,
body.homestay-lp-body .site-footer ul {
  margin: 0;
}

body.homestay-lp-body .homestay-lp-main ul,
body.homestay-lp-body .homestay-lp-main ol,
body.homestay-lp-body .site-footer ul,
body.homestay-lp-body .entry-content ul,
body.homestay-lp-body .entry-content ol {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  border: 0 !important;
  background: none !important;
}

body.homestay-lp-body .entry-content ul > li,
body.homestay-lp-body .entry-content ol > li {
  padding-left: 0 !important;
  margin: 0;
}

body.homestay-lp-body .homestay-lp-main img {
  max-width: 100%;
  height: auto;
  display: block;
}

body.homestay-lp-body .entry-content img {
  margin-bottom: 0;
}

body.homestay-lp-body .homestay-lp-main a {
  color: var(--c-navy);
}
body.homestay-lp-body .homestay-lp-main a:hover {
  color: var(--c-accent);
}

body.homestay-lp-body :focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

body.homestay-lp-body [id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

body.homestay-lp-body .wp-block-group {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* WordPress管理バー表示時のヘッダー位置調整 */
body.homestay-lp-body.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  body.homestay-lp-body.admin-bar .site-header {
    top: 46px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--container) !important;
  margin: 0 auto !important;
  padding: 0 var(--gutter) !important;
}
.container--960 {
  max-width: 960px !important;
}
.container--860 {
  max-width: 860px !important;
}

.section {
  padding: var(--section-y) 0 !important;
}
.section--alt {
  background: var(--c-bg-alt) !important;
}

.num {
  letter-spacing: 0;
}

.icon {
  flex: none;
  width: 16px;
  height: 16px;
}

/* ---------- Section heading ---------- */
.sec-head {
  max-width: 640px !important;
  margin: 0 auto 64px !important;
  text-align: center;
}
.sec-head--left {
  margin: 0 !important;
  text-align: left;
  max-width: 620px !important;
}
body.homestay-lp-body .eyebrow {
  margin-bottom: 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em;
  color: var(--c-accent) !important;
}
body.homestay-lp-body .entry-content .sec-title {
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  letter-spacing: 0.04em;
  color: var(--c-navy) !important;
}
body.homestay-lp-body .sec-lead {
  margin-top: 16px !important;
  color: var(--c-text-sub) !important;
}
body.homestay-lp-body .sec-head--left .sec-lead {
  margin-top: 12px !important;
}

@media (max-width: 767px) {
  .sec-head {
    margin-bottom: 40px !important;
  }
  body.homestay-lp-body .eyebrow {
    font-size: 12px !important;
  }
  body.homestay-lp-body .entry-content .sec-title {
    font-size: 24px !important;
  }
}

/* ---------- Buttons ---------- */
body.homestay-lp-body .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 22px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: var(--r-ctrl);
  cursor: pointer;
  transition: background-color .15s, opacity .15s;
}
body.homestay-lp-body .btn--primary {
  background: var(--c-navy);
  color: #fff;
}
body.homestay-lp-body .btn--primary:hover {
  background: #1D3356;
  color: #fff;
}
body.homestay-lp-body .btn--white {
  background: #fff;
  color: var(--c-navy);
}
body.homestay-lp-body .btn--white:hover {
  background: #F2F4F7;
  color: var(--c-navy);
}
body.homestay-lp-body .btn--lg {
  min-height: 56px;
  padding: 0 32px;
  font-size: 16px;
}
body.homestay-lp-body .btn--md {
  min-height: 52px;
  padding: 0 28px;
  font-size: 15px;
}
body.homestay-lp-body .btn:disabled {
  opacity: .6;
  cursor: default;
}

body.homestay-lp-body .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}

/* WAF回避のため、CTA矢印・チェックアイコンをCSSで描画 */
body.homestay-lp-body .btn--arrow::after {
  content: "";
  display: inline-block;
  flex: none;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
body.homestay-lp-body .btn--white.btn--arrow::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312233D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
body.homestay-lp-body .link-arrow--down::after {
  content: "";
  display: inline-block;
  flex: none;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312233D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
body.homestay-lp-body .link-arrow--down:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B5532E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  text-decoration: none;
  color: var(--c-navy);
}
.brand__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand__sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--c-text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.gnav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.gnav__list a {
  text-decoration: none;
}

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  background: var(--c-bg-toggle);
  border-radius: var(--r-ctrl);
}
.lang-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 38px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  color: var(--c-text-muted);
}
.lang-toggle a[aria-current="true"] {
  background: #fff;
  color: var(--c-navy);
  box-shadow: 0 1px 2px rgba(18, 35, 61, .12);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  border-radius: var(--r-ctrl);
  color: var(--c-navy);
  cursor: pointer;
}
.menu-btn svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1179px) {
  .header-actions {
    gap: 12px;
  }
  .menu-btn {
    display: inline-flex;
    order: 3;
  }
  .gnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 8px 16px rgba(18, 35, 61, .06);
  }
  .gnav.is-open {
    display: block;
  }
  .gnav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px !important;
    font-size: 15px;
  }
  .gnav__list a {
    display: flex;
    align-items: center;
    min-height: 52px;
    border-bottom: 1px solid var(--c-border-light);
  }
}
@media (max-width: 767px) {
  .brand__name {
    font-size: 16px;
  }
  .brand__sub {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .lang-toggle a {
    min-width: 40px;
    padding: 4px 6px;
    font-size: 12px;
  }
  .header-cta {
    display: none !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--c-bg-alt) !important;
  padding-bottom: 96px !important;
}
.hero__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 72px;
  padding: 112px 0 96px;
}
.hero__text {
  flex: 1 1 500px;
  min-width: 0;
}
body.homestay-lp-body .hero__eyebrow {
  margin-bottom: 28px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em;
  color: var(--c-accent) !important;
}
body.homestay-lp-body .entry-content .hero__title {
  margin-bottom: 32px !important;
  font-size: 46px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.04em;
  color: var(--c-navy) !important;
}
body.homestay-lp-body .hero__lead {
  max-width: 30em;
  margin-bottom: 44px !important;
  font-size: 17px !important;
  line-height: 2 !important;
  color: var(--c-text-sub) !important;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.hero__ctas .link-arrow {
  min-height: 56px;
}
.hero__visual {
  flex: 1 1 440px;
  min-width: 0;
}
.hero__visual .wp-block-image,
.hero__visual figure {
  margin: 0 !important;
  width: 100%;
}
.hero__visual img,
.hero__visual .ph {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--r-card);
}

.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  background: var(--c-placeholder);
  color: var(--c-text-muted);
  font-size: 14px;
}

.price-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 !important;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}
.price-strip__item {
  padding: 28px 36px;
}
.price-strip__item + .price-strip__item {
  border-left: 1px solid var(--c-border);
}
body.homestay-lp-body .price-strip__label {
  margin-bottom: 6px !important;
  font-size: 13px !important;
  font-weight: 500;
  color: var(--c-text-muted) !important;
}
.price-strip__value {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-strip__price {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0;
}
.price-strip__unit {
  font-size: 13px;
  color: var(--c-text-muted);
}

/* 競合差別化バッジ帯（デポジット不要・清掃費不要・光熱費不要） */
.zero-fees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px !important;
}
.zero-fees__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: var(--r-box);
}
.zero-fees__item::before {
  content: "";
  display: block;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--c-accent-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B5532E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.zero-fees__text {
  min-width: 0;
}
body.homestay-lp-body .zero-fees__title {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: var(--c-navy) !important;
}
.zero-fees__badge {
  color: var(--c-accent);
  margin-left: 6px;
}
body.homestay-lp-body .zero-fees__sub {
  margin-top: 2px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: var(--c-text-muted) !important;
}

@media (max-width: 1179px) {
  .hero__main {
    gap: 48px;
    padding: 80px 0 64px;
  }
}
@media (max-width: 767px) {
  .hero {
    padding-bottom: 64px !important;
  }
  .hero__main {
    gap: 40px;
    padding: 56px 0 48px;
  }
  body.homestay-lp-body .hero__eyebrow {
    margin-bottom: 20px !important;
    font-size: 11px !important;
  }
  body.homestay-lp-body .entry-content .hero__title {
    margin-bottom: 24px !important;
    font-size: 30px !important;
  }
  body.homestay-lp-body .hero__lead {
    margin-bottom: 32px !important;
    font-size: 16px !important;
  }
  .hero__ctas {
    gap: 12px;
  }
  .hero__ctas .btn {
    width: 100%;
  }
  .price-strip {
    grid-template-columns: 1fr;
  }
  .price-strip__item {
    padding: 20px 24px;
  }
  .price-strip__item + .price-strip__item {
    border-left: 0;
    border-top: 1px solid var(--c-border);
  }
  .price-strip__price {
    font-size: 26px;
  }
  .zero-fees {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px !important;
  }
  .zero-fees__item {
    padding: 14px 18px;
  }
}

/* ---------- Stats ---------- */
.stats {
  background: var(--c-navy) !important;
  color: #fff !important;
}
.stats__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 72px 0 !important;
  text-align: center;
}
body.homestay-lp-body .stats__num {
  margin-bottom: 8px !important;
  font-size: 52px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: 0;
  color: #fff !important;
}
.stats__unit {
  margin-left: 4px;
  font-size: 22px;
  font-weight: 500;
}
body.homestay-lp-body .stats__label {
  font-size: 15px !important;
  letter-spacing: 0.08em;
  color: var(--c-on-navy-sub) !important;
}
@media (max-width: 767px) {
  .stats__list {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0 !important;
  }
  body.homestay-lp-body .stats__num {
    font-size: 40px !important;
  }
}

/* ---------- Points ---------- */
.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
/* 空の wp:group はWordPress保存時に自動削除されるため、.point::before でアイコンを描画 */
.point::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: var(--r-box);
  background-color: var(--c-accent-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B5532E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.point__icon {
  display: none;
}
body.homestay-lp-body .entry-content .point__title {
  margin-bottom: 10px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: var(--c-navy) !important;
}
body.homestay-lp-body .point__body {
  line-height: 1.9 !important;
  color: var(--c-text-sub) !important;
}
@media (max-width: 1179px) {
  .points {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 640px;
    margin: 0 auto !important;
  }
}

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto !important;
}
.plan {
  padding: 48px 44px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}
body.homestay-lp-body .plan__en {
  margin-bottom: 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em;
  color: var(--c-text-muted) !important;
}
body.homestay-lp-body .entry-content .plan__name {
  margin-bottom: 8px !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: var(--c-navy) !important;
}
body.homestay-lp-body .plan__desc {
  margin-bottom: 32px !important;
  font-size: 14px !important;
  color: var(--c-text-muted) !important;
}
body.homestay-lp-body .plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 32px !important;
  padding-bottom: 32px !important;
  border-bottom: 1px solid var(--c-border);
}
.plan__amount {
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}
.plan__unit {
  font-size: 14px;
  color: var(--c-text-muted);
}

/* wp:list ブロックでもチェックマークが自動付与される仕組み */
body.homestay-lp-body .entry-content ul.plan__items {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
}
body.homestay-lp-body .entry-content ul.plan__items li {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  color: var(--c-text-body2) !important;
}
body.homestay-lp-body .entry-content ul.plan__items li::before {
  content: "" !important;
  display: block !important;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B5532E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

.fee {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
  max-width: 960px;
  margin: 32px auto 0 !important;
  padding: 28px 44px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}
.fee__price {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.fee__label {
  font-weight: 700;
}
.fee__amount {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0;
}
.fee__tax {
  font-size: 14px;
  color: var(--c-text-muted);
}
body.homestay-lp-body .fee__body {
  flex: 1 1 320px;
  font-size: 14px !important;
  color: var(--c-text-sub) !important;
}

@media (max-width: 767px) {
  .plans {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .plan {
    padding: 32px 24px;
  }
  .plan__amount {
    font-size: 36px;
  }
  .fee {
    padding: 24px;
  }
}

/* ---------- Rooms ---------- */
.rooms-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px !important;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter {
  min-height: 40px;
  padding: 6px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: var(--c-navy);
  border: 1px solid var(--c-border-input);
  border-radius: var(--r-ctrl);
  cursor: pointer;
}
.filter:hover {
  border-color: var(--c-navy);
}
.filter[aria-pressed="true"] {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
}

.rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.room {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}
.room[hidden] {
  display: none;
}
.room__photo {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  background: var(--c-placeholder-2);
}
.room__photo.ph {
  font-size: 13px;
  padding: 16px;
}
.room__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
}
body.homestay-lp-body .room__meta {
  margin-bottom: 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  color: var(--c-navy) !important;
}
body.homestay-lp-body .room--roomstay .room__meta {
  color: var(--c-accent-dark) !important;
}
body.homestay-lp-body .entry-content .room__title {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  color: var(--c-navy) !important;
}
.room__spec {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  padding: 16px 0;
  font-size: 14px;
  border-top: 1px solid var(--c-border-light);
  border-bottom: 1px solid var(--c-border-light);
}
.room__spec dt {
  color: var(--c-text-muted);
  font-weight: 400;
}
.room__spec dd.is-strong {
  font-weight: 600;
}
.room__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.room__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.room__amount {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
}
.room__per {
  font-size: 13px;
  color: var(--c-text-muted);
}
.room__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.room__cta .icon {
  width: 14px;
  height: 14px;
}

.rooms-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--c-text-sub);
  background: var(--c-bg-alt);
  border-radius: var(--r-card);
}
.rooms-empty[hidden] {
  display: none;
}
.rooms-empty .btn {
  margin-top: 20px;
}
.rooms-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.rooms-more[hidden] {
  display: none;
}
body.homestay-lp-body .btn--outline {
  background: #fff;
  color: var(--c-navy);
  border: 1px solid var(--c-border-input);
}
body.homestay-lp-body .btn--outline:hover {
  border-color: var(--c-navy);
  color: var(--c-navy);
}
body.homestay-lp-body .rooms-note {
  margin-top: 20px !important;
  font-size: 13px !important;
  color: var(--c-text-muted) !important;
}

@media (max-width: 1179px) {
  .rooms {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .rooms-head {
    margin-bottom: 28px !important;
  }
  .rooms {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .room__body {
    padding: 24px;
  }
}

/* ---------- Flow ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step {
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}
body.homestay-lp-body .step__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px !important;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  flex: none;
}
.step__when {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-muted);
}
body.homestay-lp-body .entry-content .step__title {
  margin-bottom: 10px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: var(--c-navy) !important;
}
body.homestay-lp-body .step__body {
  font-size: 15px !important;
  line-height: 1.9 !important;
  color: var(--c-text-sub) !important;
}
@media (max-width: 1179px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step {
    padding: 28px 24px;
  }
}

/* ---------- Compare (wp:table ブロック対応) ---------- */
.table-wrap,
body.homestay-lp-body .wp-block-table.table-wrap {
  overflow-x: auto;
  margin: 0 !important;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: #fff;
}
body.homestay-lp-body .table-wrap table,
body.homestay-lp-body table.compare {
  width: 100% !important;
  min-width: 620px;
  margin: 0 !important;
  border-collapse: collapse !important;
  border: 0 !important;
  font-size: 15px !important;
  background: #fff !important;
}
body.homestay-lp-body .table-wrap thead tr,
body.homestay-lp-body .compare thead tr {
  background: var(--c-bg-alt) !important;
}
body.homestay-lp-body .table-wrap th,
body.homestay-lp-body .table-wrap td,
body.homestay-lp-body .compare th,
body.homestay-lp-body .compare td {
  padding: 20px 28px !important;
  text-align: left !important;
  vertical-align: top !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--c-navy) !important;
}
body.homestay-lp-body .table-wrap thead th,
body.homestay-lp-body .compare thead th {
  font-weight: 700 !important;
}
body.homestay-lp-body .table-wrap thead th:first-child,
body.homestay-lp-body .compare thead th:first-child {
  width: 26%;
}
body.homestay-lp-body .table-wrap tbody tr,
body.homestay-lp-body .compare tbody tr {
  border-top: 1px solid var(--c-border) !important;
}
body.homestay-lp-body .table-wrap tbody td:first-child,
body.homestay-lp-body .compare tbody th {
  font-weight: 500 !important;
  color: var(--c-text-muted) !important;
}
@media (max-width: 767px) {
  body.homestay-lp-body .table-wrap th,
  body.homestay-lp-body .table-wrap td,
  body.homestay-lp-body .compare th,
  body.homestay-lp-body .compare td {
    padding: 16px 20px !important;
  }
}

/* ---------- FAQ (wp:details ブロック対応) ---------- */
.faq {
  padding: 8px 36px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}
body.homestay-lp-body .faq .faq__item,
body.homestay-lp-body .faq .wp-block-details {
  padding: 22px 0;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
body.homestay-lp-body .faq .faq__item + .faq__item,
body.homestay-lp-body .faq .wp-block-details + .wp-block-details {
  border-top: 1px solid var(--c-border) !important;
}
body.homestay-lp-body .faq .faq__q,
body.homestay-lp-body .faq .wp-block-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-navy);
  cursor: pointer;
  list-style: none;
  padding: 0 !important;
  background: none !important;
}
body.homestay-lp-body .faq .faq__q::-webkit-details-marker,
body.homestay-lp-body .faq .wp-block-details > summary::-webkit-details-marker {
  display: none;
}
body.homestay-lp-body .faq .faq__q::after,
body.homestay-lp-body .faq .wp-block-details > summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2px solid var(--c-text-muted);
  border-bottom: 2px solid var(--c-text-muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s;
}
body.homestay-lp-body .faq .faq__item[open] .faq__q::after,
body.homestay-lp-body .faq .wp-block-details[open] > summary::after {
  transform: rotate(-135deg) translateY(-3px);
}
body.homestay-lp-body .faq .faq__a,
body.homestay-lp-body .faq .wp-block-details > p {
  margin-top: 12px !important;
  line-height: 1.9 !important;
  color: var(--c-text-sub) !important;
}
@media (max-width: 767px) {
  .faq {
    padding: 4px 20px;
  }
  body.homestay-lp-body .faq .faq__item,
  body.homestay-lp-body .faq .wp-block-details {
    padding: 18px 0;
  }
}

/* ---------- Agency band ---------- */
.section--agent {
  padding: 112px 0 !important;
}
.agent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 64px;
  background: var(--c-navy);
  color: #fff;
  border-radius: var(--r-band);
}
.agent__text {
  flex: 1 1 520px;
  min-width: 0;
}
body.homestay-lp-body .agent .eyebrow {
  color: var(--c-accent-light) !important;
}
body.homestay-lp-body .entry-content .agent__title {
  margin-bottom: 16px !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  letter-spacing: 0.04em;
  color: #fff !important;
}
body.homestay-lp-body .agent__body {
  line-height: 1.9 !important;
  color: var(--c-on-navy-body) !important;
}
@media (max-width: 767px) {
  .section--agent {
    padding: 72px 0 !important;
  }
  .agent {
    padding: 40px 24px;
    gap: 28px;
  }
  body.homestay-lp-body .entry-content .agent__title {
    font-size: 22px !important;
  }
  .agent .btn {
    width: 100%;
  }
}

/* ---------- Form (デモフォーム + Contact Form 7 両対応) ---------- */
.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
}
.contact__intro {
  flex: 1 1 320px;
  min-width: 0;
}
body.homestay-lp-body .entry-content .contact__title {
  margin-bottom: 20px !important;
}
body.homestay-lp-body .contact__lead {
  margin-bottom: 32px !important;
  line-height: 1.9 !important;
  color: var(--c-text-sub) !important;
}
body.homestay-lp-body .contact__note {
  padding: 20px 24px;
  font-size: 14px !important;
  line-height: 1.9 !important;
  color: var(--c-text-sub) !important;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-box);
}
.contact__form-wrap {
  flex: 2 1 560px;
  min-width: 0;
}
.form,
.contact__form-wrap .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 28px;
  padding: 48px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}
.contact__form-wrap .wpcf7-form > p {
  display: contents;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy);
}
.req {
  margin-left: 4px;
  font-size: 12px;
  color: var(--c-accent);
}
.field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 8px 14px;
  font: inherit;
  color: var(--c-navy);
  background: #fff;
  border: 1px solid var(--c-border-input);
  border-radius: var(--r-ctrl);
}
.field textarea {
  padding: 10px 14px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-navy);
  box-shadow: 0 0 0 3px rgba(18, 35, 61, .12);
}
.field.is-error input,
.field.is-error select,
.field.is-error textarea,
.field .wpcf7-not-valid {
  border-color: var(--c-error) !important;
}
.field__error,
.field .wpcf7-not-valid-tip {
  font-size: 13px !important;
  color: var(--c-error) !important;
  margin-top: 4px;
}
.field__error:empty {
  display: none;
}

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border-light);
}
body.homestay-lp-body .form__privacy {
  flex: 1 1 260px;
  font-size: 13px !important;
  color: var(--c-text-muted) !important;
}
.form__foot .btn,
.form__foot .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 40px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  background: var(--c-navy);
  color: #fff;
  border: 0;
  border-radius: var(--r-ctrl);
  cursor: pointer;
}
.form__foot .wpcf7-submit:hover {
  background: #1D3356;
}
.contact__form-wrap .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 0 !important;
  padding: 14px 18px !important;
  border-radius: var(--r-ctrl);
  font-size: 14px;
}

@media (max-width: 767px) {
  .contact {
    gap: 40px;
  }
  .form,
  .contact__form-wrap .wpcf7-form {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 20px;
  }
  .form__foot .btn,
  .form__foot .wpcf7-submit {
    width: 100%;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--c-border);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 40px !important;
  padding-bottom: 40px !important;
  font-size: 13px;
  color: var(--c-text-muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links a {
  color: var(--c-text-muted);
}
.footer-links a:hover {
  color: var(--c-accent);
}

/* ---------- Mobile fixed CTA ---------- */
.mobile-cta {
  display: none;
}
@media (max-width: 767px) {
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--c-border);
    transform: translateY(110%);
    transition: transform .25s;
  }
  .mobile-cta.is-visible {
    transform: none;
  }
  .mobile-cta .btn {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
  }
  .site-footer__inner {
    padding-bottom: 100px !important;
  }
}
