/* ===== 共通スタイル ===== */

/* ----- コンテナ ----- */
.container {
  width: 100%;
}

/* ----- セクション共通 ----- */
section {
  width: 100%;
  position: relative;
}

/* ----- セクション見出しパターン ----- */
.section-heading {
  text-align: center;
}

.section-label-en {
  font-family: var(--font-display-en);
  font-style: normal;
  font-size: 14px;
  color: var(--color-primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif-jp);
  font-weight: 400;
  color: var(--color-text-dark);
  line-height: 1.4;
  letter-spacing: 0.2em;
}

.section-subtitle {
  font-family: var(--font-sans-jp);
  font-size: 16px;
  color: var(--color-text-mid);
  margin-top: 8px;
}

/* ----- ボタン共通 ----- */
.btn-white,
.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans-jp);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  border-radius: 1px;
  text-decoration: none;
}

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

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

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

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

/* ----- ヘッダー共通 ----- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.header-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-img {
  height: 13px;
  width: auto;
  display: block;
}

/* ----- SPハンバーガーメニュー ----- */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  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ナビオーバーレイ ----- */
.sp-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 98;
}

.sp-nav-overlay.is-open {
  display: block;
}

/* ----- SPナビドロワー ----- */
#sp-nav {
  display: none;
  position: fixed;
  top: var(--header-height-sp);
  left: 0;
  width: 100%;
  background: var(--color-white);
  z-index: 99;
  padding: 24px var(--sp-padding);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#sp-nav.is-open {
  display: block;
}

#sp-nav .sp-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#sp-nav .sp-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-dark);
  border-bottom: 1px solid var(--color-border-light);
  letter-spacing: 0.0em;
}

#sp-nav .sp-nav-btns {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

#sp-nav .sp-nav-btns .btn-white,
#sp-nav .sp-nav-btns .btn-green {
  flex: 1;
  padding: 12px 8px;
  font-size: 16px;
}

/* ----- フッター共通 ----- */
#site-footer {
  width: 100%;
  background: var(--color-bg-cream);
}

/* ----- SP固定フッターCTA ----- */
#sp-fixed-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 97;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 8px var(--sp-padding);
  border-top: 1px solid var(--color-border-light);
}

#sp-fixed-cta .sp-cta-btns {
  display: flex;
  gap: 10px;
}

#sp-fixed-cta .btn-white,
#sp-fixed-cta .btn-green {
  flex: 1;
  padding: 12px 8px;
  font-size: 16px;
  font-weight: 700;
}

/* ===== CTAボタン パルスアニメーション ===== */
@keyframes btn-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(59, 92, 63, 0.5); }
  60%  { box-shadow: 0 0 0 12px rgba(59, 92, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 92, 63, 0); }
}

.btn-header,
.mv-cta-pc a,
.cta1-btn,
.cta1-btn-ghost,
.cta2-btn,
#sp-fixed-cta .btn-white,
#sp-fixed-cta .btn-green {
  animation: btn-pulse 2.0s ease-out infinite;
}

.btn-header:hover,
.mv-cta-pc a:hover,
.cta1-btn:hover,
.cta1-btn-ghost:hover,
.cta2-btn:hover,
#sp-fixed-cta .btn-white:hover,
#sp-fixed-cta .btn-green:hover {
  animation: none;
}

/* ===== スクロールフェードイン ===== */
.fade-in-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ケネットバーン効果（MV背景画像） ===== */
@keyframes kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}

.mv-hero-bg img {
  animation: kenburns 8.0s ease-in-out 1 forwards;
}

/* ===== シャイン効果（ケンバーン終了後、光の帯が定期的に通過） ===== */
@keyframes mv-shine {
  0%   { left: -60%; }
  20%  { left: 120%; }
  100% { left: 120%; }
}

.mv-hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(75deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: mv-shine 6s ease-in-out 8s infinite;
  pointer-events: none;
}

/* ===== ローディング画面 ===== */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#loading-screen.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  width: 180px;
  display: block;
  margin: 0 auto 15px;
}

.loading-site-name {
  font-family: var(--font-sans-jp);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

/* ===== 共通本文テキスト（16px/400/1.6、PC・SP共通） ===== */
.plotmap-detail,
.plotmap-lot-table th,
.plotmap-lot-table td,
.pillar-text,
.concept2-feature-text,
.cta1-body {
  font-family: var(--font-sans-jp);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
}
