/* BlueStar館山 v1.1.1: desktop stability and fixed-page presentation */
.header-inner { width: min(1240px, calc(100% - 40px)); }
.site-nav { gap: 16px; font-size: .82rem; white-space: nowrap; }

/* Prevent legacy/editor styles from turning the hero copy into a row. */
.hero .hero-content { display: block !important; width: min(1120px, calc(100% - 40px)) !important; margin-inline: auto !important; }
.hero .hero-content > h1,
.hero .hero-content > .hero-brand,
.hero .hero-content > .hero-ruby,
.hero .hero-content > .hero-actions { position: static !important; float: none !important; width: auto !important; }
.hero .hero-actions { display: flex !important; align-items: center; justify-content: flex-start; }
.hero .button { width: auto !important; max-width: none !important; }

.simple-page-head { padding: 110px 0 80px !important; background: var(--navy) !important; color: #fff !important; }
.simple-page-head h1 { color: #fff !important; }
.simple-page-head .eyebrow { color: var(--gold) !important; }

/* Contact form reset: protects layout from block-editor and browser defaults. */
.contact-layout { display: grid !important; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important; gap: 72px !important; align-items: start !important; }
.contact-form { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px !important; padding: 38px !important; border-radius: 22px !important; background: #fff !important; box-shadow: var(--shadow) !important; }
.contact-form label { display: grid !important; gap: 7px !important; min-width: 0 !important; font-weight: 800 !important; }
.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea { display: block !important; width: 100% !important; max-width: none !important; min-height: 50px !important; padding: 13px 14px !important; border: 1px solid rgba(37,33,29,.25) !important; border-radius: 9px !important; background: #fff !important; font: inherit !important; }
.contact-form textarea { min-height: 180px !important; resize: vertical; }
.contact-form .full,
.contact-form .form-message { grid-column: 1 / -1 !important; }
.contact-form .privacy-check { display: flex !important; flex-direction: row !important; gap: 10px !important; align-items: flex-start !important; }
.contact-form .privacy-check input { flex: 0 0 auto !important; width: 18px !important; height: 18px !important; margin-top: 5px !important; }
.contact-form .honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Rates */
.rates-visual-head { position: relative; overflow: hidden; padding: 120px 0 100px; background: var(--navy); color: #fff; isolation: isolate; }
.rates-visual-head::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; top: -300px; right: -80px; border: 1px solid rgba(201,164,92,.42); border-radius: 50%; box-shadow: 0 0 0 80px rgba(201,164,92,.06), 0 0 0 160px rgba(201,164,92,.035); }
.rates-visual-head .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.rates-visual-head .eyebrow { color: var(--gold); }
.rates-visual-head h1 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1.1; }
.rates-visual-head p:last-child { margin: 22px 0 0; color: rgba(255,255,255,.75); font-size: 1.05rem; }
.rates-head-mark { display: flex; align-items: center; gap: 16px; padding: 22px 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(255,255,255,.06); }
.rates-head-mark strong { color: var(--gold); font-family: Georgia, serif; font-size: 4.5rem; line-height: .9; }
.rates-head-mark span { font-size: .7rem; font-weight: 800; letter-spacing: .16em; }
.rate-main-section { background: linear-gradient(180deg, #f7f1e7 0%, #fff 100%); }
.rate-big-grid { align-items: stretch; }
.rate-big-grid article { position: relative; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
.rate-big-grid article::after { content: ""; position: absolute; right: -72px; bottom: -72px; width: 190px; height: 190px; border: 1px solid rgba(154,104,66,.22); border-radius: 50%; }
.rate-label { position: absolute; top: 28px; left: 34px; color: var(--brown) !important; font-size: .68rem; font-weight: 900; letter-spacing: .16em; }
.accent .rate-label { color: var(--gold) !important; }
.rate-rule { display: grid; grid-template-columns: 120px 1fr; gap: 34px; align-items: center; padding: 40px !important; background: #fff; box-shadow: var(--shadow); }
.plus-mark { display: grid; place-items: center; width: 100px; height: 100px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 3.5rem; font-weight: 300; }
.rate-rule h2 { color: var(--navy); font-size: clamp(1.5rem, 3vw, 2.35rem); }

/* Tourism */
.tourism-section { background: linear-gradient(180deg, var(--cream), #fff); }
.tourism-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.tourism-intro > p { margin: 0; color: var(--muted); }
.tourism-section .spot-list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px !important; margin-top: 54px !important; border: 0 !important; }
.tourism-section .spot-list article { position: relative; overflow: hidden; min-height: 300px; display: block !important; padding: 34px !important; border: 0 !important; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.tourism-section .spot-list article:first-child { grid-column: 1 / -1; min-height: 390px; background: linear-gradient(90deg, rgba(12,38,61,.93), rgba(12,38,61,.48)), url('../images/tateyama-sea.jpg') center/cover; color: #fff; }
.tourism-section .spot-list article > span { display: block; color: var(--gold); font-family: Georgia, serif; font-size: 3.2rem; line-height: 1; }
.spot-copy { margin-top: 54px; }
.spot-copy small { color: var(--brown); font-weight: 900; letter-spacing: .15em; }
.spot-featured .spot-copy { max-width: 520px; margin-top: 100px; }
.spot-featured .spot-copy small { color: var(--gold); }
.tourism-section .spot-list h3 { margin-top: 8px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.tourism-section .spot-list article:first-child h3 { color: #fff; }
.tourism-section .spot-list article:first-child p { color: rgba(255,255,255,.78); }
.tourism-section .spot-list article:first-child a { color: #f1d792; }

/* Access */
.access-visual-head { position: relative; min-height: 550px; display: grid; align-items: end; background-position: center 46%; background-size: cover; isolation: isolate; }
.access-visual-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,29,46,.72), rgba(10,29,46,.05) 70%); }
.access-title-card { width: min(580px, 100%); margin-bottom: 58px; padding: 36px 40px; border-left: 4px solid var(--gold); background: rgba(23,50,77,.84); color: #fff; backdrop-filter: blur(8px); }
.access-title-card .eyebrow { color: var(--gold); }
.access-title-card h1 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(3rem, 6vw, 5rem); line-height: 1.1; }
.access-title-card p:last-child { margin: 15px 0 0; color: rgba(255,255,255,.76); }
.location-lead { margin-bottom: 42px; display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.location-lead p { margin-bottom: 0; }
.location-lead strong { color: var(--navy); font-size: 1.28rem; }
.access-panel { position: relative; overflow: hidden; min-height: 400px; padding: 44px !important; }
.access-panel:nth-child(2) { background: var(--navy); color: #fff; }
.access-panel:nth-child(2) h2 { color: #fff; }
.access-panel:nth-child(2) p { color: rgba(255,255,255,.74); }
.access-panel:nth-child(2) .text-link { color: var(--gold); }
.access-icon { position: absolute; top: 30px; right: 30px; display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 50%; color: var(--brown); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.access-panel:nth-child(2) .access-icon { border-color: rgba(255,255,255,.2); color: var(--gold); }
.access-sea-note { margin-top: 28px; display: grid; grid-template-columns: 180px 1fr; gap: 34px; align-items: center; padding: 34px 40px; border-radius: 20px; background: var(--brown); color: #fff; }
.access-sea-note > span { color: #f1d792; font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.access-sea-note h2, .access-sea-note p { margin: 0; }
.access-sea-note p { color: rgba(255,255,255,.75); }

@media (max-width: 1120px) and (min-width: 901px) {
  .site-nav { gap: 10px; font-size: .75rem; }
  .nav-cta { padding-inline: 12px; }
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr !important; gap: 44px !important; }
  .tourism-intro { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 640px) {
  .hero .hero-content { width: min(100% - 28px, 1120px) !important; }
  .hero .hero-actions { flex-wrap: wrap !important; }
  .contact-form { grid-template-columns: 1fr !important; padding: 24px !important; }
  .contact-form .full, .contact-form .form-message { grid-column: auto !important; }
  .rates-visual-head { padding: 82px 0 65px; }
  .rates-visual-head .container { display: block; }
  .rates-head-mark { width: fit-content; margin-top: 34px; }
  .rate-rule { grid-template-columns: 1fr; padding: 28px !important; }
  .plus-mark { width: 72px; height: 72px; font-size: 2.5rem; }
  .tourism-section .spot-list { grid-template-columns: 1fr !important; }
  .tourism-section .spot-list article:first-child { grid-column: auto; min-height: 420px; }
  .tourism-section .spot-list article { min-height: 270px; padding: 28px !important; }
  .access-visual-head { min-height: 500px; background-position: 42% center; }
  .access-title-card { margin-bottom: 30px; padding: 28px; }
  .location-lead { display: block; }
  .location-lead .button { margin-top: 24px; }
  .access-panel { min-height: 0; padding: 30px !important; }
  .access-icon { position: static; margin-bottom: 28px; }
  .access-sea-note { grid-template-columns: 1fr; gap: 8px; padding: 28px; }
}
