/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* SP: 横はみ出し完全遮断（sticky を壊さない overflow-x: clip） */
html, body { max-width: 100%; }
@media (max-width: 768px) {
  html, body { overflow-x: clip; }
  @supports not (overflow-x: clip) {
    html, body { overflow-x: hidden; }
  }
}

:root {
  /* DESIGN.md — Tropical Resort / Natural Luxury */
  --ocean-dark:    #0e4c55;
  --ocean-primary: #2da4a8;
  --ocean-light:   #e0f2f2;
  --ocean-mist:    #f0f9f9;
  --sand-light:    #fdfbf7;
  --sand:          #f3eee6;
  --ui-black:      #1a202c;
  --ui-gray:       #718096;
  --white:         #fff;
  --text:          #0e4c55;
  --text-sub:      #718096;
  --max-w:         1280px;
  --max-w-wide:    1444px;
  --header-h:      96px;
  --font-serif:    'Playfair Display', serif;
  --font-sans:     'Inter', 'Noto Sans JP', sans-serif;
  /* legacy aliases for templates still using these */
  --navy:          #0e4c55;
  --blue:          #2da4a8;
  --orange:        #2da4a8;
  --black:         #1a202c;
  --bg-dark:       #0e4c55;
}

html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.75;
  background-color: var(--sand-light);
  overflow-x: clip; /* clip not hidden: hidden breaks position:sticky */
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background-color: var(--ocean-primary); color: #fff; }

/* Container */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 99999;
  background-color: var(--ocean-dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s;
}
.preloader.is-hidden { opacity: 0; pointer-events: none; }
.preloader__spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(255,255,255,.2);
  border-top-color: var(--ocean-primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Side CTA (BOOK NOW) — ocean-primary */
.side-cta {
  position: fixed; top: 0; right: 0; z-index: 1100;
  width: 132px; text-align: center;
}
.side-cta__top {
  width: 132px; height: 132px;
  background: linear-gradient(135deg, #2da4a8, #3cbfc3, #2da4a8);
  background-size: 200% 200%;
  animation: ctaShine 3s ease-in-out infinite;
  color: var(--white);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 12px; border-radius: 0 0 0 12px;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  box-shadow: -4px 4px 16px rgba(0,0,0,.15), 0 0 20px rgba(45,164,168,.2);
  border: 2px solid rgba(255,255,255,.4);
  position: relative; overflow: hidden;
}
.side-cta__top::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: ctaSweep 4s ease-in-out infinite;
}
@keyframes ctaShine {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes ctaSweep {
  0%,70% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.side-cta__top:hover {
  transform: scale(1.06);
  box-shadow: -6px 6px 28px rgba(0,0,0,.25), 0 0 30px rgba(45,164,168,.4);
}
.side-cta__icon { font-size: 28px; margin-bottom: 4px; position: relative; z-index: 1; }
.side-cta__main { font-size: 16px; font-weight: 800; letter-spacing: .1em; line-height: 1.4; position: relative; z-index: 1; }
.side-cta__small { font-size: 10px; font-weight: 500; letter-spacing: .08em; margin-top: 2px; opacity: .85; position: relative; z-index: 1; }

/* Pet Welcome */
.side-cta__pet-wrap {
  width: 132px; margin-top: 2px; text-align: center; position: relative;
}
.side-cta__pet-img {
  width: 126px !important; max-width: none !important; height: auto;
  display: block; margin: 0 auto;
}
.pet-btn {
  text-align: center; cursor: pointer;
  background: linear-gradient(135deg, #2da4a8, #3cbfc3, #2da4a8);
  background-size: 200% 200%;
  animation: ctaShine 3s ease-in-out infinite;
  display: inline-flex; align-items: center; justify-content: center;
  user-select: none;
  font-family: "Noto Serif JP", serif;
  font-size: .85rem; font-weight: 500; letter-spacing: .12em; color: #fff;
  padding: .5em 1em;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 2rem;
  box-shadow: 0 2px 8px rgba(45,164,168,.25), 0 0 12px rgba(45,164,168,.18);
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.pet-btn__cosm {
  fill: rgba(255,255,255,.35); transition: .3s ease-out;
  scale: 0.4; position: absolute;
  translate: calc(-100% + 20px) 1.2rem;
}
.pet-btn__highlight {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  fill: rgba(255,255,255,.2);
  stroke: rgba(255,255,255,.45);
  stroke-width: 10; stroke-linecap: round;
  pointer-events: none;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  transition: stroke-dashoffset .5s ease-in-out;
}
.pet-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 14px rgba(45,164,168,.35), 0 0 20px rgba(45,164,168,.3);
}
.pet-btn:hover .pet-btn__highlight { stroke-dashoffset: 0; }
.pet-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(45,164,168,.25);
}

/* ============================================================
   Japanese orphan-char prevention (mobile wrap fix) — universal
   見出し・リード文の「を。」「が。」単独改行を全ページで防止
   ============================================================ */
h1, h2, h3, h4, h5, h6, p,
[class*="__h"],
[class*="__title"],
[class*="__heading"],
[class*="__kicker"],
[class*="__jp"],
[class*="__label"],
[class*="__p"],
[class*="__sub"],
.hero__title, .hero__subtitle,
.page-title, .section-title {
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  line-break: strict !important;
}
/* モバイルで見出しの letter-spacing を詰めて単独改行を防ぐ */
@media (max-width: 640px){
  h1, h2, h3, h4,
  [class*="__h"], [class*="__title"], [class*="__kicker"], [class*="__jp"] {
    letter-spacing: 0.04em !important;
  }
}

/* Left-side Instagram FAB */
.side-insta{
  position: fixed; left: 0; bottom: 90px;
  z-index: 1100;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 10px;
  background: linear-gradient(155deg, #feda75 0%, #fa7e1e 18%, #d62976 42%, #962fbf 75%, #4f5bd5 100%);
  color: #fff; text-decoration: none;
  border-radius: 0 10px 10px 0;
  box-shadow: 4px 4px 16px rgba(214,41,118,.3), 0 0 0 1px rgba(255,255,255,.15) inset;
  transition: transform .25s, box-shadow .25s, padding-left .25s;
  font-family: "Playfair Display", serif;
}
.side-insta svg{
  width: 26px; height: 26px; display: block;
}
.side-insta span{
  font-size: 9.5px; letter-spacing: .2em; writing-mode: vertical-rl;
  text-transform: uppercase; opacity: .95;
}
.side-insta:hover{
  padding-left: 16px;
  box-shadow: 6px 6px 24px rgba(214,41,118,.5), 0 0 0 1px rgba(255,255,255,.25) inset;
  color: #fff;
}
@media(max-width: 720px){
  .side-insta{ padding: 12px 8px; bottom: 150px; }
  .side-insta svg{ width: 22px; height: 22px; }
  .side-insta span{ display: none; }
}

/* ============================================================
   Header — DESIGN.md: fixed, bg-white/90 backdrop-blur-md
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0;
  width: calc(100% - 132px); height: var(--header-h);
  background-color: #ffffff;
  border-bottom: 1px solid rgba(45,164,168,.12);
  z-index: 1000;
}
.site-header::after {
  content: none;
}
.header__inner {
  max-width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.header__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header__logo .logo-img { height: 64px; width: auto; }
.logo-text small {
  display: block; font-family: var(--font-sans);
  font-size: 10px; font-weight: 500; color: var(--text);
  letter-spacing: .05em; line-height: 1.5;
}

/* Icon Nav — カラフルSVGアイコン維持 + DESIGN.md風味 */
.gnav { flex: 1; height: var(--header-h); position: relative; overflow: hidden; }
.gnav::before {
  content: none;
}
.gnav__list {
  display: flex; gap: 0; list-style: none;
  justify-content: center; height: 100%;
  position: relative; z-index: 1;
}
.gnav__list li { border-right: 1px solid var(--ocean-light); }
.gnav__list li:last-child { border-right: none; }
.gnav__list li a {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 0 14px; height: var(--header-h);
  text-align: center; transition: background-color .2s;
  position: relative;
}
.gnav__list li a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px;
  background-color: var(--ocean-primary); border-radius: 2px;
  transition: width .3s ease, left .3s ease;
}
.gnav__list li a:hover { background-color: rgba(45,164,168,.06); }
.gnav__list li a:hover::after { width: 60%; left: 20%; }
.gnav__svg {
  display: block; width: 28px; height: 28px; margin-bottom: 5px;
  transition: none;
}
.gnav__icon {
  display: block; width: 32px; height: 32px; margin-bottom: 4px;
  object-fit: contain;
}
.gnav__txt {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 600; color: var(--text);
  letter-spacing: .02em; line-height: 1.4;
}

/* Header Contact */
.header__contact {
  display: inline-flex; flex-direction: column;
  align-items: flex-end; justify-content: center;
  min-width: 220px; height: var(--header-h);
  text-align: right; flex-shrink: 0;
  color: var(--ocean-primary); padding-right: 8px;
}
.header__contact-label {
  display: block; font-size: 10px; font-weight: 500;
  color: var(--ocean-primary); margin-bottom: 2px;
}
.header__tel {
  display: flex; align-items: center; gap: 4px;
  font-size: 18px; font-weight: 700; color: var(--ocean-dark);
  letter-spacing: 1px; line-height: 1.2;
}
.header__tel-icon { width: 16px; height: 16px; color: var(--ocean-primary); flex-shrink: 0; }
.header__contact-hours {
  display: inline-block; font-size: 10px; font-weight: 600;
  color: var(--ocean-primary); margin-top: 4px;
  background-color: rgba(45,164,168,.08); padding: 3px 12px;
  border-radius: 9999px;
}

/* Burger */
.header__burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 60px; height: 60px; position: relative; z-index: 1200;
  flex-shrink: 0;
}
.header__burger span {
  display: block; width: 28px; height: 3px;
  background-color: var(--ocean-dark); border-radius: 2px;
  position: absolute; left: 16px;
  transition: transform .3s, opacity .3s;
}
.header__burger span:nth-child(1) { top: 18px; }
.header__burger span:nth-child(2) { top: 28px; }
.header__burger span:nth-child(3) { top: 38px; }
.header__burger.is-open span { background-color: var(--white); }
.header__burger.is-open span:nth-child(1) { top: 28px; transform: rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { top: 28px; transform: rotate(-45deg); }

/* ============================================================
   Section — DESIGN.md: py-32, bg rotation
   ============================================================ */
.section { padding: 128px 0; }
.section--pdg-lg { padding: 128px 0; }
.section--pdg-xl { padding: 128px 0; }
.section:nth-child(even) { background-color: var(--ocean-mist); }
.section:nth-child(odd) { background-color: var(--white); }
.section-head {
  text-align: center; margin-bottom: 60px;
}
.section-head .en {
  display: block; font-family: var(--font-sans);
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ocean-primary);
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-serif); font-size: 36px; font-weight: 400;
  color: var(--ocean-dark); letter-spacing: .03em;
}

/* Breadcrumb */
.breadcrumb {
  padding: 12px 0; font-size: 13px; color: rgba(255,255,255,.7);
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 8px; }

/* Page Hero */
.page-hero {
  position: relative; height: 500px;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  margin-top: var(--header-h);
  overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(14,76,85,.2), rgba(14,76,85,.5));
}
/* Wave bottom edge on page hero */
.page-hero__wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  z-index: 3; overflow: hidden; line-height: 0;
  transform: rotate(180deg);
}
.page-hero__wave svg {
  position: relative; display: block;
  width: calc(100% + 1.3px); height: 60px;
}
.page-hero__content {
  position: relative; z-index: 1; text-align: center; color: var(--white);
}
.page-hero__sub {
  font-family: var(--font-sans); font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 12px;
}
.page-hero__title {
  font-family: var(--font-serif); font-size: 42px; font-weight: 400;
  font-style: italic; letter-spacing: .03em; color: var(--white);
}

/* Page Hero — left-aligned */
.page-hero--left {
  align-items: flex-end; justify-content: flex-start;
  padding: 0 0 48px 60px;
}
.page-hero--left::after {
  background: linear-gradient(to top, rgba(14,76,85,.6), transparent);
}
.page-hero__title-left {
  position: relative; z-index: 1;
  font-family: var(--font-serif);
  font-size: 36px; font-weight: 400; font-style: italic; letter-spacing: .03em;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.breadcrumb--left {
  position: absolute; bottom: 20px; left: 60px; z-index: 1;
  font-size: 12px;
}
.breadcrumb--left, .breadcrumb--left a {
  color: rgba(255,255,255,.6);
}
.breadcrumb--left a:hover { color: #fff; }

@media (max-width: 768px) {
  .page-hero--left { padding: 0 0 40px 24px; }
  .page-hero__title-left { font-size: 28px; }
  .breadcrumb--left { left: 24px; }
}

/* Carousel */
.carousel { position: relative; overflow: hidden; border-radius: 16px; }
.carousel__track {
  display: flex; transition: transform .5s ease;
}
.carousel__slide { flex: 0 0 100%; }
.carousel__slide img { width: 100%; height: 400px; object-fit: cover; }
.carousel__nav {
  position: absolute; top: 50%; width: 100%;
  display: flex; justify-content: space-between;
  padding: 0 16px; transform: translateY(-50%);
  pointer-events: none;
}
.carousel__btn {
  pointer-events: auto;
  width: 40px; height: 40px; border-radius: 50%;
  background-color: rgba(255,255,255,.9); color: var(--ocean-dark);
  backdrop-filter: blur(4px);
  border: none; cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.carousel__btn:hover { background-color: var(--white); }
.carousel__dots {
  display: flex; justify-content: center; gap: 8px;
  padding: 16px 0;
}
.carousel__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background-color: rgba(45,164,168,.3);
  border: none; cursor: pointer; transition: background-color .2s;
}
.carousel__dot.is-active { background-color: var(--ocean-primary); }

/* NEWS Block */
.news-block {
  display: flex;
  background-color: var(--ocean-mist);
  border: 1px solid var(--ocean-light);
  border-radius: 16px;
  padding: 50px 60px;
}
.news-heading {
  font-family: var(--font-serif); font-style: italic;
  font-size: 28px; font-weight: 400; letter-spacing: .05em;
  color: var(--ocean-dark); margin-right: 40px; padding-right: 40px;
  border-right: 1px solid var(--ocean-light); flex-shrink: 0;
}
.news-list { flex: 1; }
.news-item {
  display: flex; align-items: flex-start;
  margin-bottom: 18px; font-size: 15px; line-height: 1.6;
  text-decoration: none; transition: opacity .2s;
  border-left: 3px solid transparent; padding-left: 16px;
}
.news-item:hover { opacity: .85; border-left-color: var(--ocean-primary); }
.news-date { font-size: 14px; color: var(--ui-gray); margin-right: 20px; white-space: nowrap; min-width: 80px; }
.news-label {
  display: inline-block; background-color: var(--ocean-primary); color: var(--white);
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 9999px; padding: 3px 12px; margin-right: 20px; flex-shrink: 0;
}
.news-title { color: var(--ocean-dark); line-height: 1.7; }

/* Blog Grid */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.blog-card {
  display: block; position: relative; overflow: hidden;
  background-color: var(--white); border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
}
.blog-card__thumb { overflow: hidden; aspect-ratio: 16/10; }
.blog-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.blog-card:hover .blog-card__thumb img { transform: scale(1.05); }
.blog-card__body { padding: 16px; }
.blog-card__date { font-size: 12px; color: var(--ui-gray); }
.blog-card__title { font-size: 15px; font-weight: 500; margin-top: 4px; }

/* Category Scroll */
.cat-scroll {
  display: flex; gap: 20px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: 16px 24px; scroll-snap-type: x mandatory;
}
.cat-scroll::-webkit-scrollbar { height: 4px; }
.cat-scroll::-webkit-scrollbar-thumb { background-color: rgba(45,164,168,.3); border-radius: 2px; }
.cat-card {
  flex: 1 0 0; min-width: 180px; scroll-snap-align: start;
  border-radius: 16px; overflow: hidden; position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.15); }
.cat-card img { width: 100%; height: 300px; object-fit: cover; transition: transform .7s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card__label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px; text-align: center;
  background: linear-gradient(transparent, rgba(14,76,85,.7));
  color: var(--white); font-family: var(--font-serif);
  font-size: 18px; font-weight: 400; letter-spacing: .03em;
}

/* ============================================================
   CTA — DESIGN.md: ocean-dark bg
   ============================================================ */
.cta {
  text-align: center; padding: 100px 40px;
  background-color: var(--white);
  border-top: 1px solid var(--ocean-light);
}
.cta__en {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ocean-primary);
  margin-bottom: 16px;
}
.cta__title {
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 400; letter-spacing: .03em;
  color: var(--ocean-dark); margin-bottom: 20px;
}
.cta__text { font-size: 14px; font-weight: 300; line-height: 2; margin-bottom: 36px; color: var(--ui-gray); }
.cta__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta__btn {
  display: inline-block; padding: 16px 48px;
  background-color: var(--ocean-primary); color: #fff;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .3s, transform .3s, box-shadow .3s;
}
.cta__btn:hover {
  background-color: var(--ocean-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,164,168,.2);
}
.cta__btn--outline {
  background-color: transparent; color: var(--ocean-dark);
  border: 2px solid var(--ocean-dark);
}
.cta__btn--outline:hover {
  background-color: var(--ocean-dark); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,76,85,.15);
}

/* ============================================================
   Footer — DESIGN.md: ocean-dark bg, 4-column wide grid
   ============================================================ */
.site-footer {
  background-color: var(--ocean-dark);
  color: rgba(255,255,255,.7);
  padding: 96px 0 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  max-width: var(--max-w, 1280px);
  margin: 0 auto;
  padding: 0 24px 64px;
}
.footer__brand {}
.footer__logo-text {
  font-family: var(--font-serif); font-size: 28px; font-weight: 700;
  color: var(--white); letter-spacing: -.01em;
  margin-bottom: 16px;
}
.footer__desc {
  font-family: "Noto Serif JP", serif;
  font-size: 14px; font-weight: 400; line-height: 1.9;
  letter-spacing: .04em;
  color: rgba(255,255,255,.68);
}
.footer__heading {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ocean-primary);
  margin-bottom: 20px;
}
.footer__links {
  display: flex; flex-direction: column; gap: 12px;
}
.footer__links a {
  font-family: "Noto Serif JP", serif;
  font-size: 14px; font-weight: 400; color: rgba(255,255,255,.72);
  letter-spacing: .06em;
  transition: color .3s;
}
.footer__links a:hover { color: var(--ocean-primary); }
.footer__contact-info {
  font-family: "Noto Serif JP", serif;
  font-size: 14px; font-weight: 400; line-height: 1.8;
  letter-spacing: .04em;
  color: rgba(255,255,255,.72);
}
.footer__contact-info p { margin-bottom: 12px; }
.footer__contact-info i {
  color: var(--ocean-primary); margin-right: 6px; width: 16px;
}
.footer__contact-info a { color: rgba(255,255,255,.6); transition: color .3s; }
.footer__contact-info a:hover { color: var(--ocean-primary); }
.footer__hours {
  display: inline-block; font-size: 11px; font-weight: 600;
  color: var(--ocean-primary);
  background-color: rgba(45,164,168,.1);
  padding: 4px 12px; border-radius: 9999px;
  margin-top: 4px;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: var(--max-w, 1280px);
  margin: 0 auto;
  padding: 20px 24px;
  font-size: 10px; letter-spacing: .1em;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
}

/* fade-in: 表示は常時 opacity:1（JS 失敗・障害でも見える） */
.fade-in { opacity: 1; transform: none; transition: opacity .8s, transform .8s; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: .08s; }
.fade-in:nth-child(3) { transition-delay: .16s; }
.fade-in:nth-child(4) { transition-delay: .24s; }
.fade-in:nth-child(5) { transition-delay: .32s; }
.fade-in:nth-child(6) { transition-delay: .40s; }
.fade-in:nth-child(7) { transition-delay: .48s; }
.fade-in:nth-child(8) { transition-delay: .56s; }
.fade-in:nth-child(9) { transition-delay: .64s; }
.fade-in:nth-child(10) { transition-delay: .72s; }
.fade-in:nth-child(11) { transition-delay: .80s; }
.fade-in:nth-child(12) { transition-delay: .88s; }

/* Content Text (shared) */
.content-text { max-width: 800px; margin: 32px auto 0; }
.content-text p { font-size: 16px; line-height: 2; margin-bottom: 16px; }

/* Specs Table (shared) */
.about-specs { max-width: 700px; margin: 40px auto 0; }
.spec-item {
  display: flex; padding: 16px 0;
  border-bottom: 1px solid var(--ocean-light);
  font-size: 15px;
}
.spec-label { flex: 0 0 140px; font-weight: 600; color: var(--ocean-dark); }
.spec-val { flex: 1; color: var(--text); }

/* Room Detail (shared) */
.room-detail { display: flex; gap: 48px; align-items: flex-start; }
.room-detail .carousel { flex: 0 0 55%; }
.room-detail__info { flex: 1; }

/* Legal / Info content */
.legal-content, .info-content { max-width: 800px; margin: 0 auto; font-size: 15px; line-height: 2; }
.legal-content h2, .info-content h2 { font-family: var(--font-serif); font-size: 20px; margin: 32px 0 12px; color: var(--ocean-dark); }
.legal-content p, .info-content p { margin-bottom: 16px; }

/* QA */
.qa-list { max-width: 800px; margin: 0 auto; }

/* Search */
.search-form-wrap { max-width: 600px; margin: 0 auto 48px; }

/* Astra overrides */
.ast-container { max-width: 100% !important; padding: 0 !important; }
.entry-content { padding: 0 !important; margin: 0 !important; }
.entry-content > * { max-width: none; }
table, th, td, tr { border: none !important; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
  .site-header { width: 100%; height: 80px; backdrop-filter: blur(12px); }
  .site-header::after { content: none; }
  .header__inner { padding: 0 12px; }
  .header__logo .logo-img { height: 48px; }
  .logo-text small { font-size: 10px; }
  .header__burger { display: block; }
  .gnav {
    position: fixed; top: 0; right: -100%; width: 90%; max-width: 420px;
    height: 100dvh; background-color: var(--ocean-dark); z-index: 1100;
    padding: 64px 14px 20px; overflow-y: auto;
    transition: right .4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -8px 0 30px rgba(0,0,0,.2);
    display: flex; flex-direction: column;
    -webkit-overflow-scrolling: touch;
  }
  .gnav::before { content: none; }
  .gnav.is-open { right: 0; }
  /* 予約CTAブロック（JSで先頭挿入） */
  .gnav__cta {
    display: flex; flex-direction: column; gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .gnav__cta-heading {
    font-family: "Playfair Display", serif;
    font-size: 10px; letter-spacing: .35em;
    color: rgba(255,255,255,.55);
    text-align: center;
    margin: 0 0 2px;
    text-transform: uppercase;
  }
  .gnav__cta-heading span {
    display: block;
    font-family: "Noto Serif JP", serif;
    font-size: 12px; letter-spacing: .3em;
    color: rgba(255,255,255,.92);
    margin-bottom: 2px;
    font-weight: 500;
  }
  .gnav__cta-book,
  .gnav__cta-tel {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s, background-color .25s;
    position: relative;
  }
  .gnav__cta-book {
    background-color: #c9a96e;
    background-image: linear-gradient(135deg, #d4b888 0%, #b8965a 100%);
    color: #1a2e32;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
  }
  .gnav__cta-tel {
    background-color: rgba(255,255,255,.06);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
  }
  .gnav__cta-book:active,
  .gnav__cta-tel:active { transform: translateY(1px); }
  .gnav__cta-icon {
    flex: 0 0 auto;
    width: 24px; height: 24px;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .gnav__cta-svg {
    width: 19px; height: 19px;
    color: currentColor;
  }
  .gnav__cta-tel .gnav__cta-svg { color: #c9a96e; }
  .gnav__cta-text { display: flex; flex-direction: column; gap: 1px; flex: 1; }
  .gnav__cta-label {
    font-family: "Playfair Display", "Noto Serif JP", serif;
    font-size: 9px; letter-spacing: .2em;
    color: rgba(26,46,50,.75);
    text-transform: uppercase;
  }
  .gnav__cta-tel .gnav__cta-label {
    color: rgba(255,255,255,.55);
    text-transform: none;
    letter-spacing: .06em;
    font-size: 9.5px;
  }
  .gnav__cta-main {
    font-family: "Noto Serif JP", serif;
    font-size: 14px; font-weight: 600; letter-spacing: .1em;
    line-height: 1.15;
  }
  .gnav__cta-tel .gnav__cta-main {
    font-family: "Roboto Condensed", "Roboto", sans-serif;
    font-size: 17px; font-weight: 700; letter-spacing: .04em;
  }
  .gnav__cta-arrow {
    font-family: "Playfair Display", serif;
    font-size: 18px; line-height: 1;
    color: rgba(26,46,50,.55);
  }
  .gnav__list {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 6px; height: auto;
    justify-content: stretch;
  }
  .gnav__list li {
    border-right: none;
    border-bottom: none;
    background-color: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 4px;
    overflow: hidden;
    transition: background-color .25s, border-color .25s;
  }
  .gnav__list li:hover {
    background-color: rgba(201,169,110,.12);
    border-color: rgba(201,169,110,.4);
  }
  .gnav__list li a {
    flex-direction: column; height: auto; padding: 10px 6px 9px; gap: 4px;
    justify-content: center; align-items: center;
    min-height: 62px;
  }
  .gnav__list li a::after { content: none; }
  .gnav__svg { width: 22px; height: 22px; margin-bottom: 0; }
  .gnav__icon { width: 22px; height: 22px; margin-bottom: 0; opacity: .92; }
  .gnav__txt {
    font-family: "Noto Serif JP", serif;
    font-size: 11px; font-weight: 500;
    text-align: center;
    color: rgba(255,255,255,.92);
    line-height: 1.35; letter-spacing: .06em;
  }
  .header__contact { display: none; }
  .side-cta { display: none; }
}
/* デスクトップでは予約CTAを非表示 */
@media (min-width: 1201px) {
  .gnav__cta { display: none !important; }
}

/* Mobile: prevent any child element from exceeding viewport width */
@media (max-width: 768px){
  img, video, iframe { max-width: 100%; height: auto; }
  section, div, figure, header, footer, main { max-width: 100%; }
}

@media (max-width: 768px) {
  .cta { padding: 60px 24px; }
  .cta__title { font-size: 24px; }
  .section { padding: 80px 0; }
  .page-hero { height: 320px; }
  .page-hero__title { font-size: 28px; }
  .page-hero__sub { font-size: 10px; }
  .section-head h2 { font-size: 28px; }
  .spec-label { flex: 0 0 100px; font-size: 14px; }
  .spec-val { font-size: 14px; }
  .room-detail { flex-direction: column; gap: 24px; }
  .room-detail .carousel { flex: 0 0 auto; }
  .news-block { flex-direction: column; padding: 30px 20px; border-radius: 12px; }
  .news-heading {
    font-size: 24px; margin-right: 0; margin-bottom: 20px;
    padding-right: 0; padding-bottom: 15px;
    border-right: none; border-bottom: 1px solid var(--ocean-light);
  }
  .news-item { flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--ocean-light); }
  .news-item:last-child { border-bottom: none; padding-bottom: 0; }
  .news-date { margin-right: 12px; min-width: auto; font-size: 13px; }
  .news-title { width: 100%; margin-top: 10px; font-size: 14px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .site-footer { padding: 48px 0 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 0 24px 40px; }
  .carousel__slide img { height: 280px; }
}

@media (max-width: 480px) {
  .blog-grid { grid-template-columns: 1fr; }
  .news-block { padding: 25px 15px; }
  .news-heading { font-size: 22px; }
  .carousel__slide img { height: 220px; }
}

/* ============================================================
   Footer — Mobile 2行コンパクト（SP最適化）
   1行目: ナビリンク横並び（Home･About･Sauna･Rooms･BBQ･Experience･Access･Q&A･Contact）
   2行目: © 3CUBE
   ============================================================ */
@media (max-width: 768px) {
  .site-footer { padding: 22px 0 0; }
  /* 不要ブロック非表示 */
  .footer__brand,
  .footer__heading,
  .footer__grid > div:nth-child(4) { display: none; }
  .footer__grid {
    display: flex; flex-direction: column;
    gap: 6px;
    padding: 0 12px 14px;
    text-align: center;
  }
  .footer__grid > div { margin: 0; }
  /* ナビ統合 5列×2行グリッド */
  .footer__links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px 4px;
    margin: 0 auto;
    max-width: 100%;
  }
  .footer__links a {
    font-family: "Noto Serif JP", serif;
    font-size: 11px; line-height: 1.5;
    color: rgba(255,255,255,.78);
    padding: 2px 0;
    letter-spacing: .02em;
    white-space: nowrap;
    text-align: center;
  }
  .footer__bottom {
    padding: 10px 16px 14px;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
    font-size: 9px;
    letter-spacing: .12em;
  }
}
@media (max-width: 480px) {
  .footer__grid { padding: 0 10px 12px; }
  .footer__links { gap: 4px 10px; }
  .footer__links a { font-size: 11.5px; padding: 1px 0; }
}

/* ============================================================
   Lightbox (shared across all pages)
   ============================================================ */
.lb-overlay {
  position: fixed; inset: 0; z-index: 99998;
  background-color: rgba(14,76,85,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.lb-overlay.is-open { opacity: 1; pointer-events: all; }
.lb-overlay img {
  max-width: 88vw; max-height: 88vh;
  object-fit: contain; border-radius: 8px;
  transition: opacity .2s;
  cursor: default;
}
.lb-close {
  position: fixed; top: 18px; right: 22px;
  background: none; border: none;
  color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer; opacity: .7; transition: opacity .2s;
  z-index: 99999;
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none;
  color: #fff; font-size: 22px; padding: 14px 18px;
  cursor: pointer; border-radius: 8px;
  opacity: .75; transition: opacity .2s, background .2s;
  z-index: 99999;
}
.lb-prev:hover, .lb-next:hover { opacity: 1; background: rgba(255,255,255,.25); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-counter {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.55); font-size: 13px; letter-spacing: .08em;
}

/* Terms / Privacy (menseki page) */
.terms-body h3 {
  font-family: var(--font-serif); font-size: 17px; font-weight: 500;
  color: var(--ocean-dark); margin: 40px 0 12px;
}
.terms-body p {
  font-size: 14px; line-height: 2.2; color: var(--ui-gray); margin-bottom: 12px;
}
.terms-divider {
  border: none; border-top: 1px solid var(--ocean-light); margin: 60px 0;
}

/* ============================================================
   Mobile critical fixes（過去案件反省より）
   ============================================================ */

/* iOS Safari: input フォーカス時の自動拡大を防止（font-size>=16px必須） */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="password"],
input[type="date"],
input[type="time"],
select,
textarea {
  font-size: 16px;
}

/* Astra entry-content / ast-container の影響を切る（子テーマ全幅レイアウト） */
.ast-container { max-width: 100% !important; padding: 0 !important; }
.entry-content { padding: 0 !important; margin: 0 !important; }
.entry-content > * { max-width: none; }

/* テーブル枠線を Astra デフォルトから消す */
table, th, td, tr { border: none !important; }


/* === tp-cta-img / tp-cta-btn — moved from front-page.css for全ページ共通利用 === */
.tp-cta-img {
  position: relative;
  height: 600px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.tp-cta-img__overlay {
  position: absolute; inset: 0;
  background-color: rgba(14,76,85,.55);
  mix-blend-mode: multiply;
}
.tp-cta-img__content {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  max-width: 700px; padding: 0 24px;
}
.tp-cta-img__label {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.tp-cta-img__title {
  font-family: var(--font-serif);
  font-size: 40px; font-weight: 400; font-style: italic;
  letter-spacing: .03em;
  color: var(--white);
  margin-bottom: 20px;
}
.tp-cta-img__desc {
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 300; line-height: 2;
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
}
.tp-cta-img__btns {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.tp-cta-img__wave-top {
  position: absolute; top: -1px; left: 0; right: 0;
  z-index: 3; overflow: hidden; line-height: 0;
}
.tp-cta-img__wave-top svg {
  position: relative; display: block;
  width: calc(100% + 1.3px); height: 60px;
}
.tp-cta-img__wave-bottom {
  position: absolute; bottom: -1px; left: 0; right: 0;
  z-index: 3; overflow: hidden; line-height: 0;
  transform: rotate(180deg);
}
.tp-cta-img__wave-bottom svg {
  position: relative; display: block;
  width: calc(100% + 1.3px); height: 60px;
}
.tp-cta-img { height: 480px; }
.tp-cta-img__title { font-size: 28px; }
.tp-cta-btn--ghost {
  background-color: transparent; color: var(--white);
  border: 2px solid var(--white);
}
.tp-cta-btn--ghost:hover {
  background-color: var(--white); color: var(--ocean-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,255,255,.2);
}
.tp-cta-btn {
  display: inline-block; padding: 16px 48px;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase;
  transition: transform .3s, box-shadow .3s, background-color .3s;
}
.tp-cta-btn--primary {
  background-color: var(--ocean-primary); color: #fff; border: 2px solid var(--ocean-primary);
}
.tp-cta-btn--primary:hover {
  background-color: var(--white); color: var(--ocean-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45,164,168,.3);
}
.tp-cta-btn--outline {
  background-color: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.tp-cta-btn--outline:hover {
  border-color: #fff; background-color: var(--white); color: var(--ocean-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,255,255,.15);
}

/* Mobile: 宿泊予約はこちら / 080-9157-8036 ボタンを小さく */
@media (max-width: 768px) {
  .tp-cta-img { height: auto; min-height: 360px; padding: 80px 0; }
  .tp-cta-img__content { padding: 0 16px; max-width: 100%; box-sizing: border-box; }
  .tp-cta-img__btns { gap: 10px; }
  .tp-cta-btn {
    padding: 11px 20px;
    font-size: 11px;
    letter-spacing: .1em;
  }
  .tp-cta-img__title {
    font-size: 18px;
    letter-spacing: .04em;
    line-height: 1.5;
    margin-bottom: 14px;
    word-break: break-word;
  }
  .tp-cta-img__desc {
    font-size: 12px;
    line-height: 1.85;
    margin-bottom: 22px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 480px) {
  .tp-cta-img__title { font-size: 17px; }
  .tp-cta-img__desc { font-size: 11.5px; }
  .tp-cta-btn { padding: 10px 14px; font-size: 10.5px; }
  .tp-cta-img__btns { gap: 8px; }
}

/* Astra親テーマのscroll-to-top（▽ボタン）を完全非表示 — 独自ボタン .cube-totop に置換 */
#ast-scroll-top,
.ast-scroll-top-icon,
.ast-scroll-to-top-right { display: none !important; }

/* ============================================================
   Back to Top button — サイト主色 teal に合わせる
   ============================================================ */
.cube-totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #2da4a8, #3cbfc3, #2da4a8);
  background-size: 200% 200%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(45,164,168,.35), 0 0 0 1px rgba(255,255,255,.15) inset;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s, box-shadow .25s, background-position .4s;
  z-index: 999;
}
.cube-totop.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.cube-totop:hover {
  box-shadow: 0 12px 30px rgba(45,164,168,.5), 0 0 0 1px rgba(255,255,255,.25) inset;
  transform: translateY(-2px);
  background-position: 100% 50%;
}
.cube-totop svg { width: 20px; height: 20px; }
@media (max-width: 768px) {
  .cube-totop { right: 14px; bottom: 76px; width: 42px; height: 42px; }
  .cube-totop svg { width: 18px; height: 18px; }
}

/* ============================================================
   SP Fixed Footer — 宿泊予約 / お問い合わせ / 電話
   ============================================================ */
.cube-spfoot { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: 60px; }
  .cube-spfoot {
    position: fixed; left: 0; right: 0; bottom: 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    background: #ffffff;
    border-top: 1px solid rgba(14,76,85,.12);
    box-shadow: 0 -4px 16px rgba(0,0,0,.08);
    z-index: 1050;
    height: 60px;
  }
  .cube-spfoot__btn {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px;
    text-decoration: none;
    font-family: "Noto Serif JP", serif;
    font-size: 10.5px;
    letter-spacing: .08em;
    color: #1a2e32;
    border-right: 1px solid rgba(14,76,85,.08);
    transition: background-color .2s;
  }
  .cube-spfoot__btn:last-child { border-right: none; }
  .cube-spfoot__btn svg { width: 20px; height: 20px; }
  .cube-spfoot__btn:active { background-color: rgba(201,169,110,.1); }
  /* 楽天予約は強調（サイト主色 teal） */
  .cube-spfoot__btn--book {
    background: linear-gradient(135deg, #2da4a8, #3cbfc3, #2da4a8);
    background-size: 200% 200%;
    color: #fff;
    font-weight: 700;
  }
  .cube-spfoot__btn--book svg { color: #fff; }
  .cube-spfoot__btn--info svg { color: #2d4a4f; }
  .cube-spfoot__btn--mail svg { color: #2d4a4f; }
  .cube-spfoot__btn--tel svg { color: #2d4a4f; }
  .cube-spfoot__logo { width: 24px; height: 24px; object-fit: contain; display: block; }
}

/* ============================================================
   SP Pet FAB — チャットボットの上に画像だけで配置（テキストなし）
   ============================================================ */
.cube-petfab { display: none; }
@media (max-width: 1200px) {
  .cube-petfab {
    display: block;
    position: fixed;
    right: 14px;
    bottom: 204px;
    width: 56px;
    z-index: 99998;
    transition: transform .2s;
    /* 透過PNG: 枠・背景・シャドウなし */
  }
  .cube-petfab:hover { transform: translateY(-2px); }
  .cube-petfab img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,.3));
  }
}

/* tp-cta-btn — SP小型化 */
@media (max-width: 768px) {
  .tp-cta-img__btns { gap: 10px; }
  .tp-cta-btn { padding: 11px 20px; font-size: 11px; letter-spacing: .1em; }
  .tp-cta-img__title { font-size: 22px; }
  .tp-cta-img__desc { font-size: 13px; margin-bottom: 24px; }
}
@media (max-width: 480px) {
  .tp-cta-btn { padding: 10px 16px; font-size: 10.5px; }
  .tp-cta-img__btns { gap: 8px; }
}

/* ============================================================
   404 ページスタイリング
   ============================================================ */
.page-404 {
  text-align: center; padding: 120px 24px 100px;
  background: var(--sand-light, #fdfbf7); min-height: 60vh;
}
.page-404__inner { max-width: 680px; margin: 0 auto; }
.page-404__code {
  font-family: "Playfair Display", serif;
  font-size: 140px; font-weight: 400; font-style: italic;
  line-height: 1; color: var(--ocean-primary, #2da4a8);
  margin: 0 0 12px; letter-spacing: .04em;
}
.page-404__title {
  font-family: "Noto Serif JP", serif;
  font-size: 26px; font-weight: 500;
  color: var(--ocean-dark, #0e4c55);
  margin: 0 0 24px; letter-spacing: .12em;
}
.page-404__text {
  font-size: 14px; line-height: 2; color: #546069; margin: 0 0 36px;
}
.page-404__actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.page-404__btn {
  display: inline-block; padding: 14px 32px;
  background: linear-gradient(135deg, #2da4a8, #3cbfc3, #2da4a8);
  color: #fff; text-decoration: none;
  font-family: "Noto Serif JP", serif;
  font-size: 13px; letter-spacing: .14em;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(45,164,168,.3);
  transition: transform .2s, box-shadow .2s;
}
.page-404__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(45,164,168,.45); }
.page-404__btn--ghost {
  background: transparent; color: var(--ocean-dark, #0e4c55);
  border: 1px solid var(--ocean-dark, #0e4c55);
  box-shadow: none;
}
.page-404__btn--ghost:hover {
  background: var(--ocean-dark, #0e4c55); color: #fff;
  box-shadow: 0 6px 18px rgba(14,76,85,.3);
}
@media (max-width: 640px) {
  .page-404 { padding: 80px 20px 60px; }
  .page-404__code { font-size: 96px; }
  .page-404__title { font-size: 20px; }
}

/* ============================================================
   下層ページ見出しサイズ統一（about 基準: SP 20px / PC 28px）
   TOP（front-page）とヒーロータイトル（*-hero__title）は除外
   body セレクタで page CSS より specificity を上げて確実に勝つ
   ============================================================ */
body:not(.home) .ab-philo__h,
body:not(.home) .ab-loc__h,
body:not(.home) .ab-msg__h,
body:not(.home) .ab-pet__h,
body:not(.home) .ab-threec__title,
body:not(.home) .ab-fac__title,
body:not(.home) .ab-spec__title,
body:not(.home) .ac-intro__h,
body:not(.home) .ac-near__title,
body:not(.home) .ac-gal__title,
body:not(.home) .bq-stay__h,
body:not(.home) .bq-each__title,
body:not(.home) .bq-gal__title,
body:not(.home) .bq-gal2__title,
body:not(.home) .ct-intro__h,
body:not(.home) .ct-form-h,
body:not(.home) .ex-intro__h,
body:not(.home) .ex-seasons__title,
body:not(.home) .ex-near__title,
body:not(.home) .ex-gal__title,
body:not(.home) .ex-notes__title,
body:not(.home) .mn-intro__h,
body:not(.home) .qa-intro__h,
body:not(.home) .qa-contact__h,
body:not(.home) .rm-stay__h,
body:not(.home) .rm-gal__title,
body:not(.home) .sa-rit__h,
body:not(.home) .sa-barrel__h,
body:not(.home) .sa-jac__h,
body:not(.home) .sa-flow__title,
body:not(.home) .sa-ame__title,
body:not(.home) .sa-gal__title {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .08em;
  /* color は各ページで設定（ダーク背景の見出しが潰れないよう統一しない） */
}
@media (min-width: 768px) {
  body:not(.home) .ab-philo__h,
  body:not(.home) .ab-loc__h,
  body:not(.home) .ab-msg__h,
  body:not(.home) .ab-pet__h,
  body:not(.home) .ab-threec__title,
  body:not(.home) .ab-fac__title,
  body:not(.home) .ab-spec__title,
  body:not(.home) .ac-intro__h,
  body:not(.home) .ac-near__title,
  body:not(.home) .ac-gal__title,
  body:not(.home) .bq-stay__h,
  body:not(.home) .bq-each__title,
  body:not(.home) .bq-gal__title,
  body:not(.home) .bq-gal2__title,
  body:not(.home) .ct-intro__h,
  body:not(.home) .ct-form-h,
  body:not(.home) .ex-intro__h,
  body:not(.home) .ex-seasons__title,
  body:not(.home) .ex-near__title,
  body:not(.home) .ex-gal__title,
  body:not(.home) .ex-notes__title,
  body:not(.home) .mn-intro__h,
  body:not(.home) .qa-intro__h,
  body:not(.home) .qa-contact__h,
  body:not(.home) .rm-stay__h,
  body:not(.home) .rm-gal__title,
  body:not(.home) .sa-rit__h,
  body:not(.home) .sa-barrel__h,
  body:not(.home) .sa-jac__h,
  body:not(.home) .sa-flow__title,
  body:not(.home) .sa-ame__title,
  body:not(.home) .sa-gal__title {
    font-size: 28px;
  }
}
