/* ========================================
   HOTEL INNOSHIMA — COMMON STYLES
   共通リセット・変数・スマホ固定ナビ
   ======================================== */

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.8;
  -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; }
button { font-family: inherit; }
address { font-style: normal; }

/* --- CSS Variables --- */
:root {
  --c-text: #333;
  --c-heading: #1a1a1a;
  --c-accent: #1B4965;
  --c-accent-hover: #143a52;
  --c-sub: #D4A853;
  --c-cta: #CC0000;
  --c-cta-hover: #a30000;
  --c-bg: #fff;
  --c-bg-alt: #F5F7FA;
  --c-border: #E0E0E0;
  --c-muted: #888;
  --c-body: #555;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --max-w: 1200px;
  --sp-bottom-h: 56px;
}

/* --- Utility --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--c-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--c-heading);
  letter-spacing: 0.04em;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .section-title { font-size: 1.75rem; letter-spacing: 0.08em; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--c-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  font-family: var(--font-sans);
}
.btn:hover { background: var(--c-accent-hover); }
.btn::after { content: '\2192'; }
.btn--cta { background: var(--c-cta); }
.btn--cta:hover { background: var(--c-cta-hover); }
.btn--outline {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn--outline:hover { background: #f5f5f5; }
.btn--outline::after { display: none; }

@media (min-width: 768px) {
  .btn { padding: 16px 36px; font-size: 0.9rem; }
}

/* --- SP Fixed Bottom Nav --- */
.sp-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--sp-bottom-h);
  background: #fff;
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
}
.sp-bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.6rem;
  color: #666;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  min-height: 44px;
}
.sp-bottom-nav__item svg {
  width: 22px;
  height: 22px;
  fill: #666;
}
.sp-bottom-nav__item--accent {
  color: var(--c-cta);
}
.sp-bottom-nav__item--accent svg {
  fill: var(--c-cta);
}

@media (min-width: 768px) {
  .sp-bottom-nav { display: none; }
}

/* Bottom padding for SP */
body { padding-bottom: var(--sp-bottom-h); }
@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

/* --- Visually Hidden --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- EN/JP Toggle --- */
[data-en] { /* marker only, JS toggles textContent */ }
