@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600;700&display=swap');

:root {
  /* Colors */
  --color-primary: #0A192F; /* Deep Navy */
  --color-secondary: #112240; /* Lighter Navy */
  --color-accent: #C5A059; /* Gold / Deep Orange */
  --color-accent-hover: #D4AF6A;
  --color-dark: #1A1A1A; /* Dark Gray */
  --color-light: #F8F9FA; /* Off White */
  --color-white: #FFFFFF;
  --color-text: #333333;
  --color-text-light: #888888;
  --color-border: #E0E0E0;

  /* Typography */
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;

  /* Spacing & Layout */
  --max-width: 1100px;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
}

.title-lg {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-md);
}

.title-md {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-md);
}

.text-center { text-align: center; }
.text-gold { color: var(--color-accent); }
.text-white { color: var(--color-white); }
.text-light { color: var(--color-text-light); }

/* Layout Containers */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.section-dark h1, .section-dark h2, .section-dark h3 {
  color: var(--color-white);
}

.section-gray {
  background-color: var(--color-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  white-space: nowrap; /* ボタン内のテキストが折り返して潰れないように */
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

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

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

.btn-block {
  display: flex;
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
  flex-wrap: wrap; /* 画面幅が狭い時に要素が重なるのを防ぐ */
}

.header__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  white-space: nowrap; /* ロゴの改行防止 */
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.header__nav-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.header__nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap; /* リンクテキストの改行防止 */
}

.header__nav-link:hover {
  color: var(--color-accent);
}

/* Hamburger Button (Hidden on PC) */
.header__hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #009688; /* ユーザー提示の青緑色 */
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1010;
  margin-left: 0.5rem;
}
.header__hamburger span {
  display: block;
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: var(--color-white);
  left: 12px;
  transition: all 0.3s ease;
}
.header__hamburger span:nth-child(1) { top: 14px; }
.header__hamburger span:nth-child(2) { top: 21px; }
.header__hamburger span:nth-child(3) { top: 28px; }
.header__hamburger.is-active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.header__hamburger.is-active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Main Visual (Hero) */
.hero {
  padding-top: calc(var(--spacing-xl) + 80px);
  padding-bottom: var(--spacing-xl);
  background-color: var(--color-primary);
  color: var(--color-white);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, rgba(197,160,89,0.1) 0%, transparent 100%);
  border-radius: 50% 0 0 50%;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero__title {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.hero__desc {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-top: 4px solid var(--color-accent);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card__icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card__desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.card__link {
  color: var(--color-accent);
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.card__link::after {
  content: '→';
  transition: transform var(--transition-fast);
}
.card:hover .card__link::after {
  transform: translateX(5px);
}

/* Stats Section (Infographic) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-item__num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-item__label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  opacity: 0.9;
}

/* Two Column Layout (Text + Image) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-layout--reverse .split-layout__content {
  order: 2;
}

.split-layout__img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background: var(--color-border);
}
.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 3rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}
.timeline-title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Reservation / Contact CTA */
.cta-section {
  background: linear-gradient(to right, rgba(197,160,89,0.05), rgba(197,160,89,0.15));
  border: 1px solid rgba(197,160,89,0.2);
  border-radius: 12px;
  padding: 4rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.embed-container {
  margin-top: 2rem;
  background: var(--color-white);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-border);
  color: var(--color-text-light);
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 4rem 0 2rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  white-space: nowrap;
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap; /* ナビが画面端で重ならないように折り返す */
  justify-content: center;
}

.footer__nav a {
  opacity: 0.8;
  font-size: 0.9rem;
  white-space: nowrap;
}
.footer__nav a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.footer__bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* 変数の上書き（余白をスマホ最適化） */
  :root {
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3.5rem;
  }

  /* ヘッダー */
  .header__inner {
    padding: 0.75rem 0;
    gap: 0.5rem;
    flex-wrap: nowrap; /* スマホでは折り返さず1行に収める */
  }
  .header__logo {
    font-size: 1.15rem; /* 小さな画面でも収まるように縮小 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 万が一長すぎたら省略(...)にする */
  }
  
  /* ナビリストは非表示にするが、相談予約ボタンは表示する */
  .header__nav {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* ボタンの枠が縮んで潰れるのを防ぐ */
  }
  .header__nav-list {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .header__nav-list.is-active {
    opacity: 1;
    visibility: visible;
  }
  .header__nav-list .header__nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
  }
  .header__hamburger {
    display: block;
  }
  .header__nav .btn {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.75rem !important;
    width: auto;
    white-space: nowrap; /* ボタン内の文字が縦に潰れる・折り返されるのを完全に防ぐ */
  }

  /* 全体タイトルの調整 */
  .title-lg {
    font-size: 1.75rem;
  }
  .title-md {
    font-size: 1.35rem;
  }

  /* ボタン */
  .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }

  /* ヒーローセクション */
  .hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 3rem;
  }
  .hero::after {
    /* 背景グラデーションをスマホ用に調整 */
    width: 100%;
    height: 60%;
    top: auto;
    bottom: 0;
    background: linear-gradient(0deg, rgba(197,160,89,0.15) 0%, transparent 100%);
    border-radius: 0;
  }
  .hero__title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  .hero__title span {
    font-size: 0.85em;
    margin-top: 1.5rem;
  }
  .hero__desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  /* レイアウト */
  .split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split-layout--reverse .split-layout__content {
    order: initial;
  }

  /* カード */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .card {
    padding: 1.5rem;
  }
  .card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  .card__title {
    font-size: 1.15rem;
  }

  /* スタッツ (2カラムにして見やすく) */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .stat-item {
    padding: 1rem 0;
  }
  .stat-item__num {
    font-size: 2.5rem;
  }
  .stat-item__num span {
    font-size: 1.25rem !important;
  }
  .stat-item__label {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* タイムライン */
  .timeline {
    padding: 1rem 0;
  }
  .timeline-item {
    padding-left: 40px;
    margin-bottom: 2rem;
  }
  .timeline::before {
    left: 10px;
  }
  .timeline-item::before {
    left: 4px;
  }

  /* CTAセクション */
  .cta-section {
    padding: 2.5rem 1.5rem;
  }
  .embed-container {
    min-height: 400px;
  }

  /* フッター */
  .footer {
    padding: 3rem 0 2rem;
  }
  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .footer__nav {
    flex-direction: column;
    gap: 1.25rem;
  }
  .footer__nav a {
    font-size: 1rem;
    display: block;
  }
}
