@charset "utf-8";

/* ===========================================================================
   デザイントークン & 共通コンポーネント
   ザ・フォレストテラス熊本 5周年記念キャンペーンLP
   参照: docs/documents/design_review.md (002)
=========================================================================== */

:root {
  /* --- ブランドグリーン --- */
  --color-primary: #1E3A1E;
  --color-primary-dark: #162E16;
  --color-primary-mid: #1b281f;
  --color-primary-text: #2D4D2D;

  /* --- ゴールド --- */
  --color-gold: #9B8A5A;
  --color-gold-dark: #8C7A4A;
  --color-gold-light: #C9A96E;
  --color-gold-border: #B8A06A;

  /* --- ニュートラル --- */
  --color-white: #FFFFFF;
  --color-cream: #FAF7F2;
  --color-cream-mid: #F5F0E8;
  --color-cream-dark: #EDE8DA;
  --color-cream-darker: #E8E0CC;
  --color-text: #333333;
  --color-text-muted: #666666;
  --color-border: #D8D0C0;

  /* --- タイポグラフィ --- */
  /*  --font-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;*/
  --font-sans: "Shippori Mincho", serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;
  --font-mincho: "Shippori Mincho", serif;

  /* --- スペーシング --- */
  --space-section-y: clamp(3.5rem, 8vw, 6rem);
  --container-max: 68rem;
  --container-pad: clamp(1rem, 4vw, 2rem);

  /* --- 角丸・影 --- */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-pill: 999px;
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.12);

  /* --- z-index --- */
  --z-header: 100;
  --z-overlay: 90;
  --z-sidenav: 95;
  --z-pagetop: 50;
  --z-content: 1;
}

/* ---------------------------------------------------------------------------
   ベース
--------------------------------------------------------------------------- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.85;
  background-color: var(--color-white);
  overflow: hidden;
}

/* ---------------------------------------------------------------------------
   コンテナ
--------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ---------------------------------------------------------------------------
   セクション基本
--------------------------------------------------------------------------- */
.section {
  position: relative;
  padding-top: var(--space-section-y);
  padding-bottom: var(--space-section-y);
}

/* ---------------------------------------------------------------------------
   セクション見出し（共通）
--------------------------------------------------------------------------- */
.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head__en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(0.8rem, 1.5vw, 0.9375rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-head__ja {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary-text);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.section-head__lead {
  margin-top: 0.75rem;
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ---------------------------------------------------------------------------
   ゴールドライン区切り
--------------------------------------------------------------------------- */
.gold-divider {
  width: 3rem;
  height: 1px;
  background-color: var(--color-gold-border);
  margin: 1rem auto;
}

/* ---------------------------------------------------------------------------
   ボタン
--------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  line-height: 1.4;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

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

.btn--gold {
  background-color: var(--color-gold-light);
  color: var(--color-white);
  border-color: var(--color-gold-light);
}

.btn--outline-gold {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-gold-border);
}

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

.btn--lg {
  padding: 1rem 2.75rem;
  font-size: 1.0625rem;
}

/* ---------------------------------------------------------------------------
   ヘッダー— Figmaデザイン準拠
   左: ロゴ THE FOREST TERRACE KUMAMOTO
   右: 電話アイコン + 096-312-5300 (ゴールド枠)
   ナビゲーションなし
--------------------------------------------------------------------------- */
.site-header {
  width: 100%;
  z-index: var(--z-header);
  display: flex;
  justify-content: flex-start;
  position: absolute;
  top: 0;
  left: 0;
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
  padding: 0 1.5rem;
  gap: 5rem;
  background-color: rgba(14, 30, 14, 0.85);
}

.site-header__logo {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.2rem;
  color: var(--color-gold-light);
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
}

/* 電話ボタン（Figma: ゴールド枠 + アイコン + 番号） */
.site-header__tel-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-gold-light);
  text-decoration: none;
  border: 1px solid var(--color-gold-border);
  padding: 0.35rem 0.9rem 0.35rem 2.2rem;
  transition: background-color 0.2s ease;
  white-space: nowrap;
  position: relative;
}

/*
.site-header__tel-btn:hover {
  background-color: rgba(200, 181, 120, 0.2);
}*/

.site-header__tel-btn::before {
  content: "";
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  background: url(../assets/images/icon_h_tell.png) no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 0.5rem;
  transform: translateY(-50%);
}

/* ---------------------------------------------------------------------------
   フッター — Figmaデザイン準拠
   ダークグリーン背景のシンプル1行バー
   左: ロゴ THE FOREST TERRACE KUMAMOTO
   右: コピーライト
--------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-primary);
  padding: 1.5rem 0;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  max-width: 80rem;
  margin: 0 auto;
  gap: 0.5rem;
}

.site-footer__logo {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-gold-light);
  text-transform: uppercase;
  line-height: 1;
}

.site-footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   ページトップ
--------------------------------------------------------------------------- */
.pagetop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-pagetop);
  width: 3rem;
  height: 3rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 1px solid #fff;
}

.pagetop.show {
  opacity: 1;
  transform: translateY(0);
}

.pagetop::before {
  content: "";
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  border-top: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  transform: rotate(-45deg) translate(-1px, 2px);
}

/* ---------------------------------------------------------------------------
   レスポンシブ
--------------------------------------------------------------------------- */
@media (max-width: 64rem) {
  .site-header__nav {
    gap: 1rem;
  }

  .site-header__nav-link {
    font-size: 0.8125rem;
  }
}

@media (max-width: 48rem) {
  .site-header__nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__right {
    align-items: flex-start;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }
}

@media (max-width: 30rem) {
  html {
    font-size: 14px;
  }
}

/*ipad*/
@media screen and (min-width:1px) and (max-width:1024px) {
  html {
    font-size: 1.8vw;
  }

  body {
    overflow-x: hidden;
  }
}

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:479px) {
  html {
    font-size: 3.6vw;
    min-width: auto;
    -webkit-text-size-adjust: 100%;
  }

  body {
    min-width: initial;
    min-width: auto;
    overflow-y: scroll;
    overflow-x: hidden;
  }

  .site-header__inner {
    padding: 0 1rem;
    gap: 1rem;
  }

}