/* =============================================
   パンサラッサのうみ 足利温泉 - 共通スタイル
   和風・癒し系デザイン
   ============================================= */

/* Google Fonts - 和風フォント */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;700&family=Noto+Sans+JP:wght@300;400;500&display=swap');

/* =============================================
   カラーパレット
   ============================================= */
:root {
  --color-bg: #f5f0e8;           /* 和紙色 */
  --color-bg-dark: #2a2118;      /* 深い焦げ茶 */
  --color-primary: #7a5c3a;      /* 木の色 */
  --color-primary-dark: #5a3e24; /* 濃い木の色 */
  --color-accent: #c8a96e;       /* 金色 */
  --color-accent-light: #e8d5a8; /* 薄い金色 */
  --color-text: #3a2e22;         /* 濃い茶色テキスト */
  --color-text-light: #7a6a56;   /* 薄い茶色テキスト */
  --color-water: #8b9e7a;        /* 温泉の緑がかった色 */
  --color-water-light: #b8c9a8;  /* 薄い温泉色 */
  --color-white: #faf7f2;        /* オフホワイト */
  --color-border: #d4c4a8;       /* ボーダー色 */
}

/* =============================================
   リセット & ベース
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  font-size: 16px;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-accent);
}

/* =============================================
   ヘッダー・ナビゲーション
   ============================================= */
header {
  background-color: var(--color-bg-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--color-accent);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-logo .logo-main {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

.site-logo .logo-sub {
  font-size: 0.65rem;
  color: var(--color-accent-light);
  letter-spacing: 0.15em;
  font-family: 'Noto Sans JP', sans-serif;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0;
}

nav ul li a {
  display: block;
  padding: 8px 16px;
  color: var(--color-accent-light);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-bottom: 2px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* ハンバーガーメニュー（モバイル） */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-accent);
  transition: all 0.3s ease;
}

/* =============================================
   フッター
   ============================================= */
footer {
  background-color: var(--color-bg-dark);
  color: var(--color-accent-light);
  text-align: center;
  padding: 40px 20px;
  border-top: 2px solid var(--color-accent);
}

footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

footer .footer-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

footer .footer-info {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 2;
}

footer .footer-copy {
  margin-top: 20px;
  font-size: 0.7rem;
  color: #5a4a38;
  font-family: 'Noto Sans JP', sans-serif;
}

/* =============================================
   共通セクション
   ============================================= */
.section {
  padding: 80px 20px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  letter-spacing: 0.2em;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--color-accent), transparent);
}

.section-title .title-en {
  display: block;
  font-size: 0.75rem;
  color: var(--color-accent);
  letter-spacing: 0.3em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* 区切り線 */
.divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-accent), transparent);
  margin: 0 auto 20px;
}

/* =============================================
   ページヒーロー（各ページ上部）
   ============================================= */
.page-hero {
  background-color: var(--color-bg-dark);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M0 30 Q15 0 30 30 Q45 60 60 30" fill="none" stroke="%23c8a96e" stroke-width="0.3" opacity="0.15"/></svg>') repeat;
  pointer-events: none;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.3em;
  position: relative;
}

.page-hero .hero-sub {
  font-size: 0.8rem;
  color: var(--color-accent-light);
  letter-spacing: 0.25em;
  margin-top: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  position: relative;
}

/* =============================================
   料金表
   ============================================= */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background-color: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.price-table thead {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.price-table thead th {
  padding: 15px 20px;
  text-align: left;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.price-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.2s ease;
}

.price-table tbody tr:hover {
  background-color: var(--color-accent-light);
}

.price-table tbody td {
  padding: 18px 20px;
  font-size: 0.95rem;
}

.price-table tbody td:last-child {
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: 1.05rem;
}

.price-table tbody td .capacity {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-family: 'Noto Sans JP', sans-serif;
  display: block;
  margin-top: 3px;
}

/* =============================================
   カード
   ============================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
}

.card-body h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
  font-family: 'Noto Sans JP', sans-serif;
}

/* =============================================
   ボタン
   ============================================= */
.btn {
  display: inline-block;
  padding: 12px 35px;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  border-color: var(--color-primary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: var(--color-bg-dark);
}

/* =============================================
   お知らせ・インフォボックス
   ============================================= */
.info-box {
  background-color: var(--color-white);
  border-left: 4px solid var(--color-accent);
  padding: 20px 25px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-box h4 {
  font-size: 0.9rem;
  color: var(--color-primary-dark);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.info-box p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
}

/* =============================================
   営業時間ボックス
   ============================================= */
.hours-box {
  background-color: var(--color-bg-dark);
  color: var(--color-accent-light);
  padding: 40px;
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hours-box::before {
  content: '営';
  position: absolute;
  font-size: 8rem;
  color: rgba(200, 169, 110, 0.05);
  top: -20px;
  right: -10px;
  font-weight: 700;
  pointer-events: none;
}

.hours-box h3 {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
}

.hours-box .hours-main {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.hours-box .hours-days {
  font-size: 1rem;
  color: var(--color-accent-light);
  margin: 10px 0;
  letter-spacing: 0.2em;
}

.hours-box .hours-note {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-family: 'Noto Sans JP', sans-serif;
  margin-top: 15px;
  line-height: 2;
}

/* =============================================
   写真ギャラリー
   ============================================= */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.photo-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.photo-gallery img:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

/* =============================================
   ダミー画像プレースホルダー
   ============================================= */
.dummy-image {
  width: 100%;
  height: 220px;
  background: repeating-linear-gradient(
    45deg,
    #ffeb3b,
    #ffeb3b 10px,
    #000 10px,
    #000 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dummy-image .dummy-label {
  background-color: rgba(255, 0, 0, 0.85);
  color: white;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
  border-radius: 4px;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

/* =============================================
   アクセスページ
   ============================================= */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.access-info h3 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  margin-bottom: 5px;
  margin-top: 25px;
}

.access-info h3:first-child {
  margin-top: 0;
}

.access-info p {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.8;
  font-family: 'Noto Sans JP', sans-serif;
}

.access-info .phone-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.05em;
}

.map-container {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-bg-dark);
    border-top: 1px solid var(--color-accent);
    padding: 10px 0;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(200, 169, 110, 0.1);
  }

  .section {
    padding: 50px 15px;
  }

  .section-title h2 {
    font-size: 1.4rem;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .hours-box .hours-main {
    font-size: 1.8rem;
  }

  .price-table {
    font-size: 0.85rem;
  }

  .price-table thead th,
  .price-table tbody td {
    padding: 12px 12px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 15px;
  }

  .site-logo .logo-main {
    font-size: 0.9rem;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   装飾要素
   ============================================= */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* 和風の区切り飾り */
.kamon-divider {
  text-align: center;
  margin: 30px 0;
  color: var(--color-accent);
  font-size: 1.2rem;
  letter-spacing: 1em;
  opacity: 0.6;
}

/* テキストの強調 */
.highlight {
  color: var(--color-primary-dark);
  font-weight: 500;
}

/* 背景色バリエーション */
.bg-dark {
  background-color: var(--color-bg-dark);
}

.bg-light {
  background-color: var(--color-white);
}

.bg-accent {
  background-color: var(--color-accent-light);
}
