/* ========================================
   リセット・変数
======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red:        #c0392b;
  --red-dark:   #922b21;
  --red-light:  #e74c3c;
  --black:      #1a1a1a;
  --white:      #ffffff;
  --gray-bg:    #f8f8f8;
  --gray-light: #f0f0f0;
  --border:     #e0e0e0;
  --text:       #333333;
  --text-light: #777777;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  background: var(--white);
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* ========================================
   共通レイアウト
======================================== */
.inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
}

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-dark       { background: var(--black); }
.section-gray       { background: var(--gray-bg); }
.section-conditions { background: var(--gray-bg); }
.section-contact    { background: var(--white); }

.section-red-bg {
  background: var(--red-dark);
  position: relative;
  overflow: hidden;
}

.section-red-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}




/* ========================================
   1名1室利用追加代金
======================================== */
.price-single-wrap {
  margin-top: 20px;
}

.price-single {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--red);
  border-radius: 0 6px 6px 0;
}

.price-single-label {
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.price-single-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.price-single-unit {
  font-size: 1rem;
  font-weight: 400;
  margin-left: 2px;
}

/* スマホ */
@media (max-width: 480px) {
  .price-single {
    padding: 14px 18px;
    gap: 16px;
  }

  .price-single-amount {
    font-size: 1.3rem;
  }
}
/* ----------------------------------------
   セクションヘッダー
---------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  background-image: url("../img/back.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 30px 15px rgba(172, 28, 45, 0.25);
}

.conditions-message {
  background: var(--white);
  border-left: 4px solid var(--red);
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text);
}

.section-en {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: #fff;
  padding-top: 10px;
  font-weight: 700;
}


.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  color: #fff;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-point .section-title {
  color: var(--white);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--white);
}


/* ----------------------------------------
   スクロールアニメーション
---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   ヘッダー
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(192, 57, 43, 0.15);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  width: 100%;
  padding: 12px 40px;
  display: flex;
  justify-content: space-between; /* ロゴ左・ナビ右 */
  align-items: center;
}

/* ----------------------------------------
   ロゴ（左端）
---------------------------------------- */
.header-logo {
  flex-shrink: 0;
}

.header-logo a {
  display: block;
}

.header-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

/* ========================================
   PC：グローバルナビ（右端）
======================================== */
.global-nav {
  margin-left: auto;
}

.global-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.global-nav li {
  margin: 0;
  padding: 0;
}

.global-nav a {
  font-size: 0.82rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.global-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.3s ease;
}

.global-nav a:hover { color: var(--red); }
.global-nav a:hover::after { width: 100%; }

/* ========================================
   PC：ハンバーガー・×ボタンは非表示
======================================== */
.hamburger { display: none; }
.nav-close  { display: none; }

/* ========================================
   ヒーロー（ヘッダー分下げる）
======================================== */
.hero {
  margin-top: 60px;
  min-height: calc(100vh - 60px);
}


/* ========================================
   レスポンシブ（スマホ：768px以下）
======================================== */
@media (max-width: 768px) {

  /* ----------------------------------------
     共通
  ---------------------------------------- */
  .inner {
    padding: 0 20px;
  }

  .section {
    padding: 70px 0;
  }

  /* ----------------------------------------
     ヘッダー
  ---------------------------------------- */
  .header-inner {
    padding: 10px 20px;
    min-height: 55px;
  }

  /* ----------------------------------------
     ナビ：通常時は非表示
  ---------------------------------------- */
  .global-nav {
    display: none;
  }

  /* ----------------------------------------
     ハンバーガーボタン
  ---------------------------------------- */
  .hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10001;
    position: relative;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--red);
    transition: all 0.3s;
  }

  .hamburger[aria-expanded="true"] {
    display: none !important;
  }

  /* ----------------------------------------
     ×（閉じる）ボタン
  ---------------------------------------- */
  .nav-close {
    display: none;
    position: fixed;
    top: 12px;
    right: 18px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10002;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-close.show {
    display: flex;
  }

  .nav-close::before,
  .nav-close::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
  }

  .nav-close::before { transform: rotate(45deg); }
  .nav-close::after  { transform: rotate(-45deg); }

  /* ----------------------------------------
     ナビ：オープン時（フルスクリーン）
  ---------------------------------------- */
  .global-nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow-y: auto;
    padding: 70px 20px 30px;
  }

  .global-nav.open ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .global-nav.open li {
    margin: 0;
    padding: 0;
  }

  .global-nav.open a {
    display: inline-block;
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.05em;
    padding: 5px 10px;
  }

  .global-nav.open a::after {
    display: none;
  }


  /* ----------------------------------------
     オーロラエフェクト
  ---------------------------------------- */
  .aurora.a1 { width: 400px; height: 400px; }
  .aurora.a2 { width: 350px; height: 350px; }
  .aurora.a3 { width: 300px; height: 300px; }

  /* ----------------------------------------
     目次
  ---------------------------------------- */
  .toc-list {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 10px;
  }

  .toc-list li a {
    padding: 12px 10px;
    white-space: nowrap;
    font-size: 0.75rem;
  }
}