/* ============================================================
   CSS変数
   ============================================================ */
:root {
  /* カラー */
  --color-accent:      #1B1464;
  --color-accent-dark: #120e45;
  --color-bg:          #FFFFFF;
  --color-text:        #333333;
  --color-text-light:  #666666;
  --color-footer-bg:   #1a1a1a;
  --color-footer-text: #FFFFFF;
  --color-border:      #DDDDDD;
  --color-error:       #CC0000;
  --color-btn-sec-bg:  #F5F0E8;
  --color-btn-sec-text:#4A3F2F;
  --color-beige-soft:  #F8F5F0;
  --color-overlay:     rgba(0, 0, 0, 0.45);
  --color-header-scroll: rgba(255, 255, 255, 0.78);

  /* フォント */
  --font-serif-en: 'Playfair Display', Georgia, serif;
  --font-sans-en:  'Lato', Arial, sans-serif;
  --font-sans-ja:  'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --font-serif-ja: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;

  /* 余白 */
  --section-gap-pc: 96px;
  --section-gap-sp: 64px;
  --container-max:  1200px;
  --content-max:    760px;
  --header-height:  72px;

  /* ブレークポイント（参照用） */
  --bp-sp: 767px;
  --bp-tb: 1023px;
}


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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans-ja);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
}

/* ============================================================
   ページ共通レイアウト
   ============================================================ */

/* コンテンツ幅 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 40px;
}

/* 本文読み幅 */
.container--narrow {
  max-width: var(--content-max);
  margin-inline: auto;
}

/* セクション余白 */
.section {
  padding-block: var(--section-gap-pc);
}

/* 2カラムレイアウト */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.two-col--wide-left {
  grid-template-columns: 3fr 2fr;
}

.two-col--wide-right {
  grid-template-columns: 2fr 3fr;
}

/* セクション見出し */
.section-heading {
  font-family: var(--font-sans-en);
  font-size: clamp(1rem, 1.4vw, 1.375rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.25em;
}

/* セクション間の区切り線 */
.section-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: 0;
}

.section-heading--ja {
  font-family: var(--font-serif-ja);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.section-heading--sans {
  font-family: var(--font-sans-en);
  letter-spacing: 0.12em;
}

.section-subheading {
  font-family: var(--font-sans-ja);
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

/* 区切り線アクセント */
.heading-rule {
  width: 32px;
  height: 2px;
  background: var(--color-accent);
  margin-block: 14px;
}


/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: var(--color-header-scroll);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 40px;
}

/* ロゴ */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-logo img {
  height: 84px;
  width: auto;
}

/* PCナビ */
.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header-nav a {
  font-family: var(--font-sans-en);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text);
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

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

.header-nav a:hover::after,
.header-nav a.is-active::after {
  width: 100%;
}

.header-nav a.is-active {
  color: var(--color-accent);
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* SPドロワーメニュー */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--color-bg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 24px 40px 32px;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.04em;
}

.mobile-nav a:last-child {
  border-bottom: none;
}


/* ============================================================
   Contact CTA（Topページ）
   ============================================================ */
.contact-cta-link {
  display: inline-block;
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-sans-en);
  font-size: clamp(1rem, 1.4vw, 1.375rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  padding: 0;
  border: none;
  transition: opacity 0.2s ease;
}

.contact-cta-link:hover {
  opacity: 0.75;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding-block: 56px 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 40px;
}

/* 左カラム */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 84px;
  width: auto;
  align-self: flex-start;
}

.footer-company-name {
  font-family: var(--font-serif-ja), var(--font-serif-en), serif;
  font-size: 1.3125rem;
  color: rgba(255, 255, 255, 0.75);
  align-self: flex-start;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: auto;
}

/* 右カラム（ナビ） */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-self: end;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--color-footer-text);
}


/* ============================================================
   ボタン共通
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

/* アクセントカラー系 */
.btn-primary {
  background: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
}

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

/* 薄ベージュ系 */
.btn-secondary {
  background: var(--color-btn-sec-bg);
  color: var(--color-btn-sec-text);
  border-color: var(--color-btn-sec-bg);
}

.btn-secondary:hover {
  background: #ece5d4;
  border-color: #ece5d4;
}

/* アウトライン（アクセントカラー） */
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: #FFFFFF;
}

.btn:disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* サイズバリエーション */
.btn--sm {
  padding: 10px 24px;
  font-size: 0.8125rem;
}

.btn--lg {
  padding: 18px 48px;
  font-size: 1rem;
}


/* ============================================================
   フォーム共通
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.form-label .required {
  color: var(--color-error);
  font-size: 0.75rem;
  margin-left: 4px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: #FAFAFA;
  color: var(--color-text);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(27, 20, 100, 0.12);
  background: #FFFFFF;
}

.form-input.is-error,
.form-textarea.is-error {
  border-color: var(--color-error);
}

.form-input.is-error:focus,
.form-textarea.is-error:focus {
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
}

/* チェックボックス */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.6;
}

.form-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--color-border);
  border-radius: 2px;
  background: #FFFFFF;
  cursor: pointer;
  position: relative;
  margin-top: 2px;
  transition: border-color 0.2s, background 0.2s;
}

.form-checkbox input[type="checkbox"]:checked {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.form-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 4px;
  width: 6px;
  height: 10px;
  border: 2px solid #FFFFFF;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.form-checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* エラー文言 */
.form-error {
  font-size: 0.8125rem;
  color: var(--color-error);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-error::before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-error);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* フォーム送信行 */
.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}


/* ============================================================
   Hero（全画面スライドショー）
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}

/* スライドコンテナ */
.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 各スライド */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

/* オーバーレイ */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  z-index: 1;
}

/* テキストブロック */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: 40px;
  color: #FFFFFF;
}

.hero-catch {
  font-family: var(--font-serif-en);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero-catch--ja {
  font-family: var(--font-serif-ja);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
}

.hero-sub {
  font-family: var(--font-serif-en);
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.94);
  max-width: 1100px;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin-bottom: 0;
}

/* インジケーター（ドット） */
.hero-indicators {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.is-active {
  background: #FFFFFF;
  transform: scale(1.3);
}

/* スクロールダウン矢印 */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.5);
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ============================================================
   ユーティリティ
   ============================================================ */
.text-center { text-align: center; }
.text-right  { text-align: right; }

.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 48px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* ============================================================
   メディアクエリ
   ============================================================ */

/* ---- タブレット (768px – 1023px) ---- */
@media (max-width: 1023px) {
  .container,
  .header-inner,
  .footer-inner {
    padding-inline: 32px;
  }

  .two-col,
  .two-col--wide-left,
  .two-col--wide-right {
    gap: 40px;
  }
}

/* ---- スマートフォン (〜767px) ---- */
@media (max-width: 767px) {
  :root {
    --header-height: 60px;
  }

  /* コンテナ */
  .container,
  .header-inner,
  .footer-inner {
    padding-inline: 20px;
  }

  /* セクション余白 */
  .section {
    padding-block: var(--section-gap-sp);
  }

  /* 2カラム → 縦積み */
  .two-col,
  .two-col--wide-left,
  .two-col--wide-right {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Header: ハンバーガー表示・PCナビ非表示 */
  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    padding-inline: 20px;
  }

  /* Footer: 縦積み */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-nav {
    align-items: flex-start;
  }

  /* Hero */
  .hero-content {
    padding-inline: 20px;
  }

  .hero-scroll-hint {
    display: none;
  }

  /* フォーム */
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- PCのみ表示調整 (1024px〜) ---- */
@media (min-width: 1024px) {
  .hamburger,
  .mobile-nav {
    display: none !important;
  }
}
