/* =============================================
   城崎温泉 春日屋旅館 - style.css
   ============================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif JP', serif;
  background-color: #F5EDE4;
  color: #3D3D3D;
  line-height: 1.6;
  min-width: 320px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ---- Utilities ---- */
.hidden {
  display: none !important;
}

/* ---- Containers ---- */
.container-wide {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  font-family: 'Noto Serif JP', serif;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  white-space: nowrap;
  border: none;
  text-align: center;
}

.btn-primary {
  padding: 10px 24px;
  background-color: #6c2612;
  color: #fff;
  font-size: 1rem;
}
.btn-primary:hover {
  background-color: #521c0d;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-reservation {
  padding: 16px 48px;
  background-color: #8B4513;
  color: #fff;
  font-size: 1.125rem;
}
.btn-reservation:hover {
  background-color: #6B3410;
}

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
}

#navbar.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  padding: 16px 40px;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 1rem;
  font-family: 'Noto Serif JP', serif;
  color: #3D2817;
  transition: color 0.2s ease;
  cursor: pointer;
}
.nav-link:hover {
  color: #8B4513;
}

/* Mobile nav */
.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #3D2817;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-menu-inner {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: #3D2817;
  padding: 8px 0;
  transition: color 0.2s ease;
  cursor: pointer;
}
.mobile-nav-link:hover {
  color: #8B4513;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-img-sp {
  display: none;
}

.hero-img-pc {
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero-content-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 64px;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-text-block {
  max-width: 672px;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 32px;
  padding: 8px 24px;
  background-color: #fff;
  border-radius: 9999px;
}

.hero-badge-text {
  color: #8B4513;
  font-size: 0.875rem;
  font-family: 'Noto Serif JP', serif;
  white-space: nowrap;
}

.hero-title {
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 16px;
}

.hero-title-main {
  display: block;
  font-size: 3.75rem;
  line-height: 1.6;
}

/* =============================================
   INTRODUCTION
   ============================================= */
.section-intro {
  padding: 96px 32px;
}

.intro-center {
  text-align: center;
}

.intro-heading {
  font-size: 1.875rem;
  font-family: 'Noto Serif JP', serif;
  color: #8B4513;
  line-height: 1.7;
  margin-bottom: 32px;
}

.intro-body {
  max-width: 720px;
  margin: 0 auto;
}

.intro-text {
  font-size: 1.125rem;
  font-family: 'Noto Serif JP', serif;
  color: #3D3D3D;
  line-height: 2;
  text-align: left;
}

/* =============================================
   FEATURES
   ============================================= */
.section-features {
  padding: 96px 32px;
  background-color: #fff;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-title {
  font-size: 3rem;
  font-family: 'Noto Serif JP', serif;
  color: #8B4513;
  line-height: 1.6;
}

.features-title-accent {
  color: #D4A574;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Feature 1 - Full Width Card */
.feature-card-full {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
}

.feature-img-wrap {
  width: 100%;
  overflow: hidden;
}

.feature-img-sp {
  height: 300px;
  display: none;
}

.feature-img-pc {
  height: 500px;
  display: block;
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.feature-card-full:hover .feature-img {
  transform: scale(1.03);
}

.feature-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 48px;
}

.feature-overlay-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.feature-badge-wrap {
  margin-bottom: 16px;
}

.feature-badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  color: #fff;
  font-size: 0.875rem;
  font-family: 'Noto Serif JP', serif;
  white-space: nowrap;
}

.feature-overlay-title {
  font-size: 2.25rem;
  font-family: 'Noto Serif JP', serif;
  color: #fff;
  margin-bottom: 16px;
}

.feature-overlay-text {
  color: rgba(255,255,255,0.9);
  font-family: 'Noto Serif JP', serif;
  font-size: 1.125rem;
  line-height: 1.8;
}

/* Feature 2 & 3 - Two Column */
.features-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card-box {
  border-radius: 24px;
  overflow: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

.feature-box-green {
  background-color: #C9D1C8;
}

.feature-box-pink {
  background-color: #E8D5D0;
}

.feature-box-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}

.feature-box-img-sp {
  height: 160px;
  display: none;
}

.feature-box-img-pc {
  height: 200px;
  display: block;
}

.feature-box-title {
  font-size: 1.5rem;
  font-family: 'Noto Serif JP', serif;
  color: #3D2817;
  margin-bottom: 12px;
}

.feature-box-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.875rem;
  color: #3D3D3D;
  line-height: 1.9;
}

/* =============================================
   RESERVATION
   ============================================= */
.section-reservation {
  padding: 96px 32px;
  background-color: #E8DDD0;
}

.reservation-center {
  text-align: center;
}

.reservation-text {
  font-size: 1.25rem;
  font-family: 'Noto Serif JP', serif;
  color: #3D3D3D;
  margin-bottom: 48px;
  line-height: 1.8;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background-color: #3D2817;
  color: #fff;
  padding: 80px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-name {
  font-size: 1rem;
  font-family: 'Noto Serif JP', serif;
  line-height: 2;
  margin-bottom: 40px;
  max-width: 320px;
}

.footer-sns {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.footer-sns-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.footer-sns-item:hover {
  opacity: 0.8;
}

.footer-sns-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 1.125rem;
  transition: background-color 0.2s ease;
}
.footer-sns-item:hover .footer-sns-icon {
  background-color: rgba(255,255,255,0.1);
}

.footer-sns-label {
  font-size: 0.75rem;
  font-family: 'Noto Serif JP', serif;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-info-block {
  /* block for address/tel */
}

.footer-info-label {
  font-size: 0.75rem;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.footer-info-text {
  font-size: 1rem;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.8;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.75rem;
  font-family: 'Noto Serif JP', serif;
}

/* =============================================
   RESPONSIVE - Tablet & Mobile (max 768px)
   ============================================= */
@media (max-width: 768px) {

  /* Navbar */
  .nav-inner {
    padding: 16px;
  }

  .logo-img {
    height: 48px;
  }

  .nav-desktop {
    display: none;
  }

  .nav-mobile-actions {
    display: flex;
  }

  /* Hero */
  .hero-img-pc {
    display: none;
  }

  .hero-img-sp {
    display: block;
  }

  .hero-content-wrap {
    padding: 0 16px;
  }

  .hero-badge {
    margin-bottom: 24px;
    padding: 8px 16px;
  }

  .hero-badge-text {
    font-size: 0.75rem;
  }

  .hero-title-main {
    font-size: 1.875rem;
  }

  /* Introduction */
  .section-intro {
    padding: 64px 16px;
  }

  .intro-heading {
    font-size: 1.25rem;
    margin-bottom: 24px;
  }

  .intro-text {
    font-size: 1rem;
  }

  /* Features */
  .section-features {
    padding: 64px 16px;
  }

  .features-header {
    margin-bottom: 48px;
  }

  .features-title {
    font-size: 1.875rem;
  }

  .features-grid {
    gap: 16px;
  }

  /* Feature 1 */
  .feature-img-pc {
    display: none;
  }

  .feature-img-sp {
    display: block;
  }

  .feature-overlay {
    padding: 24px;
  }

  .feature-overlay-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .feature-overlay-text {
    font-size: 1rem;
  }

  .feature-badge-wrap {
    margin-bottom: 12px;
  }

  /* Feature 2 & 3 */
  .features-two-col {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card-box {
    padding: 24px;
    min-height: auto;
  }

  .feature-box-img-pc {
    display: none;
  }

  .feature-box-img-sp {
    display: block;
  }

  .feature-box-title {
    font-size: 1.25rem;
  }

  /* Reservation */
  .section-reservation {
    padding: 64px 16px;
  }

  .reservation-text {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .btn-reservation {
    padding: 16px 32px;
    font-size: 1rem;
  }

  /* Footer */
  .footer {
    padding: 48px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .footer-name {
    margin-bottom: 32px;
  }

  .footer-right {
    gap: 32px;
  }

  .footer-info-text {
    font-size: 0.875rem;
  }
}
