/*
Theme Name: BlueStar Tateyama
Theme URI: https://bluestar-tateyama.jp/
Author: BlueStar Tateyama
Description: BlueStar館山専用のレスポンシブWordPressテーマ。写真と主要文言はカスタマイザーから変更できます。
Version: 1.1.1
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: bluestar-tateyama
*/

:root {
  --navy: #17324d;
  --cream: #f7f1e7;
  --brown: #9a6842;
  --gold: #c9a45c;
  --charcoal: #25211d;
  --white: #fff;
  --muted: #6d685f;
  --line: rgba(37, 33, 29, .14);
  --shadow: 0 18px 50px rgba(37, 33, 29, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--charcoal); font-family: Manrope, "Noto Sans JP", system-ui, sans-serif; line-height: 1.8; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 8px; color: var(--brown); font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.section { padding: 96px 0; }
.section-title { margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.2; letter-spacing: -.03em; }
.section-lead { max-width: 680px; margin: 20px 0 0; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border: 1px solid var(--navy); border-radius: 999px; background: var(--navy); color: var(--cream); font-weight: 800; transition: .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.button-outline { background: transparent; color: var(--navy); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,241,231,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 1.15rem; font-weight: 900; letter-spacing: -.02em; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 1.3rem; }
.brand-mark-image { width: 42px; height: 42px; border-radius: 12px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: .9rem; font-weight: 700; }
.site-nav a:hover { color: var(--brown); }
.nav-cta { padding: 9px 17px; border-radius: 999px; background: var(--navy); color: var(--cream) !important; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--navy); color: white; font-size: 1.2rem; }

.hero { position: relative; min-height: min(760px, calc(100svh - 78px)); display: grid; align-items: end; background-size: cover; background-position: 50% 48%; color: white; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,28,40,.08) 20%, rgba(15,28,40,.74) 100%); }
.hero-content { padding: 120px 0 76px; }
.hero h1 { max-width: 760px; margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; font-size: clamp(1.55rem, 2.25vw, 2.25rem); font-weight: 400; line-height: 2.05; letter-spacing: .12em; text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,.32); }
.hero-title-line { display: block; }
@media (min-width: 641px) { .hero-title-line { white-space: nowrap; } }
.hero-brand { margin: 20px 0 0; font-family: Georgia, "Times New Roman", "Yu Mincho", serif; font-size: clamp(2.35rem, 4vw, 4rem); font-weight: 400; line-height: 1.15; letter-spacing: .04em; white-space: nowrap; text-shadow: 0 2px 18px rgba(0,0,0,.32); }
.hero-brand-ja { margin-left: .2em; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; }
.hero-ruby { width: fit-content; margin: 12px 0 0; display: flex; align-items: center; gap: 12px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: .85rem; letter-spacing: .08em; text-shadow: 0 2px 18px rgba(0,0,0,.32); }
.hero-ruby::before, .hero-ruby::after { content: ""; width: 72px; height: 1px; background: rgba(255,255,255,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ruby + .hero-actions { margin-top: 28px; }
.hero .button { border-color: white; background: white; color: var(--navy); }
.hero .button-outline { background: rgba(0,0,0,.16); color: white; }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.intro-image { position: relative; }
.intro-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 180px 180px 18px 18px; box-shadow: var(--shadow); }
.intro-card { position: absolute; right: -28px; bottom: 26px; width: 210px; padding: 22px; border-radius: 18px; background: var(--navy); color: white; box-shadow: var(--shadow); }
.intro-card strong { display: block; color: var(--gold); font-size: 2rem; }
.facts { margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; }
.facts li { padding: 18px 12px; border-top: 2px solid var(--gold); }
.facts strong { display: block; color: var(--navy); font-size: 1.25rem; }

.stay { background: var(--navy); color: white; }
.stay .section-title { color: white; }
.stay .section-lead { color: rgba(255,255,255,.72); }
.feature-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { overflow: hidden; border-radius: 20px; background: rgba(255,255,255,.08); }
.feature-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-card-body { padding: 24px; }
.feature-card h3 { margin: 0 0 8px; color: #f1d792; font-size: 1.2rem; }
.feature-card p { margin: 0; color: rgba(255,255,255,.74); font-size: .94rem; }

.gallery-grid { margin-top: 48px; display: grid; grid-template-columns: 1.35fr .65fr .65fr; grid-template-rows: 260px 260px; gap: 16px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.gallery-grid img:first-child { grid-row: 1 / 3; }

.sea-section { position: relative; min-height: 560px; display: grid; place-items: center; background-size: cover; background-position: center; color: white; text-align: center; isolation: isolate; }
.sea-section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(13,37,58,.5); }
.sea-copy { max-width: 720px; padding: 70px 20px; }
.sea-copy h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.15; }
.sea-copy p { margin: 20px auto 0; max-width: 580px; font-size: 1.05rem; }
.photo-credit { margin-top: 24px !important; font-size: .72rem !important; opacity: .76; }
.photo-credit a { text-decoration: underline; }

.price-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 46px; }
.price-card { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.price-card.featured { background: var(--navy); color: white; }
.price-card h3 { margin: 0; font-size: 1rem; }
.price { margin: 12px 0; color: var(--brown); font-size: 2.4rem; font-weight: 900; line-height: 1.2; }
.featured .price { color: var(--gold); }
.price small { font-size: .9rem; font-weight: 600; }
.price-notes { margin-top: 28px; padding: 22px 26px; border-left: 4px solid var(--gold); background: rgba(255,255,255,.55); }

.cta { padding: 84px 0; background: var(--brown); color: white; text-align: center; }
.cta h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.cta p { margin: 14px 0 28px; }
.cta .button { border-color: var(--cream); background: var(--cream); color: var(--navy); }

.site-footer { padding: 56px 0 26px; background: var(--charcoal); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.footer-brand { color: white; font-size: 1.45rem; font-weight: 900; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; }
.copyright { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .78rem; }

.page-main { min-height: 65vh; padding: 72px 0 100px; }
.page-main article { max-width: 860px; }
.page-main h1 { color: var(--navy); font-size: clamp(2.2rem, 5vw, 4rem); }
.page-main .entry-content { margin-top: 36px; }

/* Fixed pages */
.subpage-hero { min-height: 560px; display: grid; align-items: end; background-position: center; background-size: cover; color: white; isolation: isolate; position: relative; }
.subpage-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,25,38,.18), rgba(10,25,38,.78)); }
.subpage-hero-left { background-position: center 44%; }
.subpage-hero-copy { padding-block: 140px 68px; }
.subpage-hero h1, .simple-page-head h1 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(2.5rem, 6vw, 5.2rem); line-height: 1.12; letter-spacing: .02em; }
.subpage-hero-copy > p:last-child { max-width: 660px; margin: 18px 0 0; font-size: 1.08rem; }
.subpage-hero .eyebrow { color: #f1d792; }
.simple-page-head { padding: 110px 0 80px; background: var(--navy); color: white; }
.simple-page-head .eyebrow { color: var(--gold); }
.simple-page-head p:last-child { max-width: 650px; margin: 20px 0 0; color: rgba(255,255,255,.76); }
.story-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 72px; align-items: center; }
.story-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 160px 160px 18px 18px; box-shadow: var(--shadow); }
.page-dark { background: var(--navy); color: white; }
.page-dark .section-title { color: white; }
.page-dark .eyebrow { color: var(--gold); }
.info-card-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { padding: 34px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.06); }
.info-card span { color: var(--gold); font-weight: 900; letter-spacing: .12em; }
.info-card h3 { margin: 18px 0 8px; font-size: 1.35rem; }
.info-card p { margin: 0; color: rgba(255,255,255,.72); }
.fact-panel { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: white; box-shadow: var(--shadow); }
.fact-panel > div { padding: 30px; border-right: 1px solid var(--line); }
.fact-panel > div:last-child { border: 0; }
.fact-panel small, .address-card small, .contact-direct small { display: block; color: var(--brown); font-weight: 800; letter-spacing: .08em; }
.fact-panel strong { display: block; margin-top: 6px; color: var(--navy); font-size: 1.12rem; }
.room-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.room-grid article { overflow: hidden; display: grid; grid-template-columns: 44% 56%; border-radius: 20px; background: white; box-shadow: var(--shadow); }
.room-grid img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.room-grid article > div { padding: 28px; }
.room-grid h3 { margin: 0 0 8px; color: var(--navy); }
.room-grid p { margin: 0; color: var(--muted); font-size: .92rem; }
.notice-box { margin-top: 38px; padding: 26px 30px; border-left: 4px solid var(--gold); background: white; }
.notice-box p { margin: 5px 0 0; }
.rate-big-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rate-big-grid article { padding: 45px; border-radius: 24px; background: white; box-shadow: var(--shadow); }
.rate-big-grid article.accent { background: var(--navy); color: white; }
.rate-big-grid p { margin: 0; font-weight: 800; }
.rate-big-grid strong { display: block; margin: 12px 0; color: var(--brown); font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.15; }
.rate-big-grid .accent strong { color: var(--gold); }
.rate-big-grid small { font-size: .9rem; }
.rate-big-grid span { color: var(--muted); }
.rate-big-grid .accent span { color: rgba(255,255,255,.7); }
.rate-rule { margin-top: 34px; padding: 34px; border: 1px solid var(--line); border-radius: 20px; }
.rate-rule h2, .rate-rule p { margin: 0; }
.rate-rule p { margin-top: 8px; }
.soft-section { background: rgba(255,255,255,.5); }
.two-column-info { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.definition-list { margin: 0; border-top: 1px solid var(--line); }
.definition-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.definition-list dt { color: var(--navy); font-weight: 900; }
.definition-list dd { margin: 0; }
.table-wrap { margin-top: 36px; overflow-x: auto; }
.policy-table { width: 100%; border-collapse: collapse; background: white; }
.policy-table th, .policy-table td { padding: 18px 22px; border-bottom: 1px solid var(--line); text-align: left; }
.policy-table th { background: var(--navy); color: white; }
.policy-table td:last-child { color: var(--brown); font-weight: 900; }
.small-note { color: var(--muted); font-size: .85rem; }
.spot-list { margin-top: 50px; border-top: 1px solid var(--line); }
.spot-list article { display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.spot-list article > span { color: var(--gold); font-size: 2rem; font-weight: 900; }
.spot-list h3 { margin: 0; color: var(--navy); font-size: 1.6rem; }
.spot-list p { margin: 8px 0; color: var(--muted); }
.spot-list a, .text-link { color: var(--brown); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.access-panel { padding: 38px; border-radius: 22px; background: white; box-shadow: var(--shadow); }
.access-panel h2 { color: var(--navy); }
.access-panel li + li { margin-top: 10px; }
.address-card { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border-radius: 22px; background: var(--line); }
.address-card > div { padding: 38px; background: var(--navy); color: white; }
.address-card h2 { margin: 5px 0 10px; color: white; }
.address-card p { margin: 0; color: rgba(255,255,255,.72); }
.faq-wrap { max-width: 900px; }
.faq-wrap details { border-bottom: 1px solid var(--line); }
.faq-wrap summary { position: relative; padding: 26px 48px 26px 0; color: var(--navy); font-size: 1.08rem; font-weight: 900; cursor: pointer; list-style: none; }
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after { content: "+"; position: absolute; right: 8px; color: var(--brown); font-size: 1.5rem; }
.faq-wrap details[open] summary::after { content: "−"; }
.faq-wrap details p { margin: -4px 0 26px; padding-left: 22px; border-left: 3px solid var(--gold); color: var(--muted); }
.faq-contact { margin-top: 54px; padding: 42px; border-radius: 22px; background: var(--navy); color: white; }
.faq-contact h2 { margin: 0; }
.faq-contact .button { margin-top: 10px; background: white; color: var(--navy); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.contact-direct { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-direct a { display: block; margin-top: 4px; color: var(--navy); font-weight: 900; }
.contact-form { padding: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; border-radius: 22px; background: white; box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 7px; font-weight: 800; }
.contact-form em { color: #a14035; font-size: .75rem; font-style: normal; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(37,33,29,.25); border-radius: 9px; background: #fff; color: var(--charcoal); font: inherit; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.contact-form .full { grid-column: 1 / -1; }
.privacy-check { display: flex !important; grid-template-columns: none; flex-direction: row; align-items: flex-start; font-size: .85rem; font-weight: 500 !important; }
.privacy-check input { width: auto; margin-top: 7px; }
.form-message { grid-column: 1 / -1; padding: 14px 16px; border-radius: 8px; }
.form-message.success { background: #e5f5ea; color: #186031; }
.form-message.error { background: #fae9e7; color: #852a21; }
.honeypot { position: absolute !important; left: -9999px !important; }
.page-extra-content { margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .site-nav { position: fixed; inset: 78px 0 auto; padding: 28px 20px 34px; display: none; flex-direction: column; align-items: stretch; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 8px 0; }
  .nav-cta { text-align: center; }
  .intro-grid { grid-template-columns: 1fr; gap: 44px; }
  .intro-image { max-width: 560px; }
  .intro-card { right: -10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { display: grid; grid-template-columns: 42% 58%; }
  .feature-card img { height: 100%; aspect-ratio: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 220px; }
  .gallery-grid img:first-child { grid-column: 1 / 3; grid-row: auto; }
  .story-grid, .two-column-info, .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .info-card-grid { grid-template-columns: 1fr; }
  .fact-panel { grid-template-columns: 1fr 1fr; }
  .fact-panel > div:nth-child(2) { border-right: 0; }
  .fact-panel > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .room-grid article { grid-template-columns: 1fr; }
  .room-grid img { min-height: 240px; max-height: 320px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 68px; }
  .site-nav { top: 68px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { min-height: 690px; background-position: 38% 50%; }
  .hero-content { padding-bottom: 48px; }
  .hero h1 { max-width: 100%; font-size: clamp(1.28rem, 5.5vw, 1.65rem); line-height: 1.75; letter-spacing: .06em; }
  .hero-brand { margin-top: 12px; font-size: clamp(2rem, 9vw, 2.75rem); }
  .hero-ruby { margin-top: 8px; font-size: .68rem; }
  .hero-ruby::before, .hero-ruby::after { width: 44px; }
  .hero-ruby + .hero-actions { margin-top: 20px; }
  .facts { grid-template-columns: 1fr; }
  .intro-card { position: static; width: auto; margin: -45px 14px 0; }
  .feature-card { display: block; }
  .feature-card img { aspect-ratio: 4/3; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 180px 180px; gap: 10px; }
  .price-layout { grid-template-columns: 1fr; }
  .price-card { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .subpage-hero { min-height: 520px; }
  .subpage-hero-copy { padding-block: 100px 50px; }
  .simple-page-head { padding: 80px 0 58px; }
  .story-grid img { max-height: 520px; }
  .fact-panel, .room-grid, .rate-big-grid, .access-grid, .address-card { grid-template-columns: 1fr; }
  .fact-panel > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact-panel > div:last-child { border-bottom: 0; }
  .rate-big-grid article, .access-panel { padding: 28px; }
  .definition-list > div { grid-template-columns: 110px 1fr; }
  .spot-list article { grid-template-columns: 54px 1fr; gap: 14px; }
  .contact-form { padding: 24px; grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .faq-contact { padding: 28px; }
}
