@charset "UTF-8";
/**
 * base.css
 *
 * [ファイルの役割]
 * テーマ全体の共通基盤となるベーススタイルシートです。
 * カラーコード、フォントファミリー、余白の共通設計（CSS変数）の定義、
 * リセットCSS、および基本的なHTML要素（body, a, h1-h6等）のスタイルを定義します。
 *
 * @package Sunlit_Estate
 */

/* ==========================================================================
   Design Tokens (CSS Variables)
   ========================================================================== */
:root {
  /* Color Palette */
  --color-navy: #012964;          /* メインカラー：濃紺 */
  --color-navy-light: #0d3875;    /* ホバー用ネイビー */
  --color-gold: #a8843e;          /* アクセント/CTAカラー：ゴールド */
  --color-gold-light: #bfa15c;    /* ホバー用ゴールド */
  --color-white: #ffffff;
  --color-bg-light: #f5f5f5;      /* セクション背景用薄グレー */
  --color-text-main: #333333;     /* 本文メインテキストカラー */
  --color-text-sub: #666666;      /* 補助テキストカラー */
  --color-border: #dddddd;        /* 境界線・枠線用 */
  --color-line-green: #06c755;    /* LINEのブランドカラー */

  /* Typography */
  --font-gothic: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mincho: "Noto Serif JP", Georgia, "Times New Roman", serif;

  /* Layout & Spacing */
  --container-width: 1200px;
  --space-unit: 8px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Base resets & Defaults
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-white);
  color: var(--color-text-main);
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover {
  color: var(--color-gold);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mincho);
  font-weight: 700;
  margin-top: 0;
  color: var(--color-navy);
  line-height: 1.4;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

/* Section Layout */
.section-padding {
  padding: 80px 0;
}
.section-bg-light {
  background-color: var(--color-bg-light);
}
.section-bg-navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* Common Header style for sections */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-title {
  font-size: 32px;
  font-family: var(--font-mincho);
  color: var(--color-navy);
  margin: 0;
  display: inline-block;
}

/* 左右にゴールドの短い装飾線があるセクションタイトル */
.section-header--decorated .section-title {
  position: relative;
  padding: 0 40px;
}
.section-header--decorated .section-title::before,
.section-header--decorated .section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background-color: var(--color-gold);
}
.section-header--decorated .section-title::before {
  left: 0;
}
.section-header--decorated .section-title::after {
  right: 0;
}

/* Text alignment & helpers */
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-text-sub { color: var(--color-text-sub); }

/* Screen Reader (Accessibility) */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

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

/* Scroll lock when mobile menu is active */
.u-noscroll {
  overflow: hidden;
}
