@charset "UTF-8";
/* =================================================================
   サーラ住宅 トップページ
   - デザイントークン / 共通パーツ / 各セクション / レスポンシブ
   ================================================================= */

/* ---------- 1. デザイントークン（共通変数） ---------- */
:root {
  /* color */
  --green-dark: #3b5f4b;
  --green: #6b8e7a;
  --green-light: #deeee5;
  --bg: #f7f7f5;
  --black: #111111;
  --text: #151515;
  --white: #ffffff;
  --line: #e8ece9;
  --gray: #888888;

  /* font */
  --font-jp: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;
  --font-en: "Outfit", sans-serif;

  /* layout */
  --container: 1560px;  /* 幅広・ダイナミック */
  --gutter: 64px;       /* 左右マージン PC */
  --edge: 40px;         /* フルブリード要素のサイド余白（ヘッダーのロゴ頭と揃える） */
  --header-h: 80px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. リセット / ベース ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, p { margin: 0; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 3. 共通レイアウトパーツ ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 120px;
}

/* セクション見出し（和文＋英字） */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}
.sec-head.center { justify-content: center; }

.sec-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.sec-title .en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--green);
  text-transform: lowercase;
}

/* 英字のみの見出し（experience / service） */
.sec-title-en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 0.18em;
  color: var(--black);
  text-transform: lowercase;
  position: relative;
  padding-bottom: 18px;
}
.sec-title-en::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100px; height: 1px;
  background: var(--green);
}
.sec-head.center .sec-title-en::after { left: 50%; transform: translateX(-50%); }
.sec-title-en.small { font-size: 26px; }

/* more リンク（共通） */
.more-link {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-bottom: 8px;
}
.more-link i {
  width: 8px; height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.more-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.more-link:hover i { transform: rotate(45deg) translate(2px, -2px); }
.more-link.light { color: var(--white); }
.event-more-sp { display: none; }   /* スマホのみカード下に表示 */

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding-inline: 22px;
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 500;
  border-radius: 4px;
  transition: opacity 0.3s, background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn-fill { background: var(--green-dark); color: var(--white); }
.btn-fill:hover { opacity: 0.85; }
.btn-outline { background: var(--white); color: var(--green-dark); border: 1px solid var(--green-dark); }
.btn-outline:hover { background: var(--green-dark); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border: 1px solid var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--green-dark); }

/* ---------- 4. ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  z-index: 100;
  transition: height 0.3s var(--ease), box-shadow 0.3s;
}
.site-header.is-scrolled {
  height: 64px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.header-inner {
  height: 100%;
  padding-inline: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
/* ロゴ：ロゴ画像（ヘッダー高さに合わせて高さ基準で制御） */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.logo img {
  height: 30px;
  width: auto;
  display: block;
  transition: height 0.3s var(--ease);
}
/* スクロール縮小時はロゴも少し小さく */
.site-header.is-scrolled .logo img { height: 26px; }

.gnav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.gnav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}
.gnav-list a {
  font-size: 13px;
  letter-spacing: 0.06em;
  position: relative;
  transition: color 0.3s;
}
.gnav-list a:hover { color: var(--green-dark); }
.gnav-cta { display: flex; gap: 12px; }

/* ヘッダーCTAボタン（チャコール角丸ピル＋アイコン） */
.hbtn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding-inline: 26px;
  border-radius: 999px;
  background: #2e2e2e;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.06em;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.3s var(--ease), height 0.3s var(--ease);
}
.hbtn:hover { background: var(--green-dark); }
.hbtn.is-green { background: var(--green-dark); }
.hbtn.is-green:hover { background: var(--green); }
.hbtn-icon { display: inline-flex; }
.hbtn-icon svg { width: 18px; height: 18px; }
.site-header.is-scrolled .hbtn { height: 42px; }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 64px; height: 64px;
  background: var(--green-dark);
  position: fixed;
  top: 0; right: 0;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.hamburger em {
  font-family: var(--font-en);
  font-style: normal;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-top: 2px;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 5. FV（単写真フェードスライド＋白背景見出し） ---------- */
.fv {
  position: relative;
  padding-top: var(--header-h);
  padding-bottom: 80px;
  background: var(--white);
}
/* スライド：両サイドに少し余白を残した大判ビジュアル */
.fv-slider {
  position: relative;
  margin: 28px var(--edge) 0;
  height: clamp(480px, 82vh, 860px);
  overflow: hidden;
  border-radius: 4px;
}
.fv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
}
.fv-slide.is-active { opacity: 1; z-index: 1; }
.fv-slide img { width: 100%; height: 100%; object-fit: cover; }
.fv-slide.is-active img { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }

/* SCROLL DOWN：写真右下で円形テキストが回転＋中央に下向き矢印 */
.fv-scroll {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  color: var(--white);
}
.fv-scroll-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: fvScrollSpin 14s linear infinite;
}
.fv-scroll-text text {
  fill: var(--white);
  font-family: var(--font-en);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
@keyframes fvScrollSpin { to { transform: rotate(360deg); } }
.fv-scroll-arrow {
  display: inline-flex;
  width: 22px;
  height: 22px;
  animation: fvScrollArrow 1.8s var(--ease) infinite;
}
.fv-scroll-arrow svg { width: 100%; height: 100%; }
@keyframes fvScrollArrow {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}

/* 白背景の見出し：右上だけ角丸、写真の左下に食い込ませる */
.fv-copy {
  position: absolute;
  left: var(--edge);
  bottom: 18px;
  z-index: 2;
  background: var(--white);
  padding: 32px 60px 30px 44px;
  border-radius: 0 16px 0 0;
}
.fv-lead {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.5;
  letter-spacing: 0.22em;
  color: var(--black);
}
.fv-sub {
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.95;
  letter-spacing: 0.08em;
  color: #555;
  margin-top: 14px;
}
/* FV実績数値（22,000棟 / 50年 / 1987〜）：白ボックス内に横並び */
.fv-stats {
  display: flex;
  gap: 26px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e6e2da;
  list-style: none;
}
.fv-stats li { display: flex; flex-direction: column; gap: 2px; }
.fv-stat-num {
  font-family: var(--font-en, var(--font-serif));
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--black);
}
.fv-stat-num small { font-size: 12px; margin-left: 2px; font-weight: 400; }
.fv-stat-label { font-size: 10.5px; letter-spacing: 0.14em; color: #8a857c; }
/* 現在時刻：写真の右上に「横書きを90°回転」した縦表示（vertical-rl の既定で数字が横倒しに流れる） */
.fv-time {
  position: absolute;
  top: calc(var(--header-h) + 52px);
  right: calc(var(--edge) + 24px);
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

/* ---------- 6. EVENT ---------- */
.event { background: var(--white); }
.event-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.tab {
  flex: 1;
  max-width: 280px;
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.3s, border-color 0.3s;
}
.tab .en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--green);
  text-transform: lowercase;
}
.tab.is-active { color: var(--black); border-bottom-color: var(--green-dark); }

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card { display: flex; flex-direction: column; }
.card-img {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding-top: 20px; }
.card-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-bottom: 14px;
}
.card-meta {
  font-size: 13px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 14px;
}

/* ---------- 7. CONCEPT（左：ずらし配置の写真群＋緩やかな曲線 / 右：詩的な本文ブロック） ---------- */
.concept {
  background: var(--white);
  padding-block: 120px 128px;
  overflow: hidden;
}
.concept-inner {
  width: 100%;
  padding-inline: var(--edge);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
}

/* 左：ずらし配置の写真＋緩やかな曲線 */
.concept-gallery {
  position: relative;
  aspect-ratio: 5 / 4;
}
.concept-gallery figure {
  position: absolute;
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(31, 42, 46, 0.5);
}
.concept-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cg-1 { top: 4%;  left: 12%; width: 60%; aspect-ratio: 4 / 3; z-index: 2; }
.cg-2 { top: 50%; left: 4%;  width: 46%; aspect-ratio: 4 / 3; z-index: 2; }
.cg-3 { top: 70%; left: 44%; width: 30%; aspect-ratio: 4 / 3.4; z-index: 3; }
.concept-curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
}
.concept-curve path {
  stroke: var(--green);
  stroke-width: 1;
  fill: none;
  opacity: 0.5;
}

/* 右：詩的な本文ブロック */
.concept-text { padding-right: clamp(0px, 2vw, 40px); }
.concept-copy {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 2.3;
  letter-spacing: 0.1em;
  color: var(--text);
}
.concept-copy + .concept-copy { margin-top: 2.1em; }

/* concept 丸矢印リンク（リファレンス準拠） */
.concept-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 56px;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.4s var(--ease);
}
.concept-link .cl-arrow { display: inline-flex; width: 92px; }
.concept-link svg { width: 100%; height: auto; overflow: visible; }
.cl-disc { fill: var(--green-light); transition: fill 0.4s var(--ease); }
.cl-line, .cl-head { stroke: currentColor; stroke-width: 1; fill: none; }
.concept-link:hover { color: var(--green); }
.concept-link:hover .cl-disc { fill: var(--green); }

/* 全幅の緩やかな波線ディバイダー */
.wave-divider {
  display: block;
  width: 100%;
  height: clamp(58px, 8vw, 120px);
  background: var(--white);
  overflow: hidden;
}
.wave-divider svg { display: block; width: 100%; height: 100%; }
.wave-divider path { stroke: rgba(31, 42, 46, 0.22); stroke-width: 1; fill: none; }

/* ---------- 8. SERVICE ---------- */
.service { background: var(--white); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 52px 20px;       /* 行間広め＝縦書きキャッチの上はみ出し分の余白 */
  margin-top: 16px;
}
.svc {
  position: relative;
  display: block;
  aspect-ratio: 629 / 439;
  color: var(--white);
  overflow: visible;        /* svc-vtext を上にはみ出させる */
}
/* 画像ズーム＆角丸はラッパー側でクリップ */
.svc-img {
  position: absolute; inset: 0;
  border-radius: 8px;
  overflow: hidden;
}
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.svc::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--green-dark);
  opacity: 0.55;
  border-radius: 8px;
  z-index: 1;
  transition: opacity 0.4s;
}
.svc:hover .svc-img img { transform: scale(1.06); }
.svc:hover::before { opacity: 0.7; }

/* 縦書きキャッチ：白ボックス2列をカード上端からはみ出して配置 */
.svc-vtext {
  position: absolute;
  top: -28px; right: 36px;
  z-index: 3;
  display: flex;
  flex-direction: row-reverse;  /* 1フレーズ目を右列に（縦書きの読み順） */
  align-items: flex-start;       /* 上端揃え＝上にはみ出す */
  gap: 10px;
}
.svc-vtext .vt-col {
  writing-mode: vertical-rl;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.2em;
  line-height: 1;
  padding: 26px 15px 22px;
}
.svc-cap {
  position: absolute;
  left: 44px; right: 44px; bottom: 44px;
  z-index: 2;
}
.svc-jp {
  display: block;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.svc-text {
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  max-width: 540px;
}

/* ---------- 9. COMPANY ---------- */
.company { background: var(--bg); }
.company-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.company-text .sec-title { margin-bottom: 32px; }
.company-lead {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.company-body {
  font-size: 15px;
  line-height: 2;
  color: #555;
  margin-bottom: 36px;
}
.company-img { margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.company-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 10. NEWS ---------- */
.news { background: var(--white); }
.news-list { border-top: 1px solid var(--line); }
.news-item { border-bottom: 1px solid var(--line); }
.news-item a {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 8px;
  transition: background 0.3s;
}
.news-item a:hover { background: var(--bg); }
.news-date {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--gray);
  flex-shrink: 0;
}
.news-cat {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--green-dark);
  border: 1px solid var(--green);
  border-radius: 2px;
  padding: 3px 14px;
  flex-shrink: 0;
}
.news-ttl { font-size: 15px; letter-spacing: 0.04em; }

/* ---------- 11. CTA ---------- */
.cta { padding-block: 0 120px; background: var(--white); }

/* 上段：資料請求・お問い合わせ（2ボタン） */
.cta-primary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.cta-pbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 132px;
  background: var(--green-dark);
  color: var(--white);
  transition: opacity 0.4s var(--ease);
}
.cta-pbtn:hover { opacity: 0.88; }
.cta-pbtn-icon { display: inline-flex; }
.cta-pbtn-icon svg { width: 28px; height: 28px; }
.cta-pbtn-jp { font-size: 21px; font-weight: 500; letter-spacing: 0.12em; }
.cta-pbtn-arrow { display: inline-flex; width: 48px; }
.cta-pbtn-arrow svg { width: 100%; height: auto; transition: transform 0.4s var(--ease); }
.cta-pbtn:hover .cta-pbtn-arrow svg { transform: translateX(6px); }

/* 下段左：メールマガジン登録 */
.cta-mailmag {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: background 0.4s var(--ease);
}
.cta-mailmag:hover { background: var(--green-light); }
.cta-mailmag-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--green-dark);
}
.cta-mailmag-icon { display: inline-flex; }
.cta-mailmag-icon svg { width: 22px; height: 22px; }
.cta-mailmag-arrow { display: inline-flex; width: 32px; }
.cta-mailmag-arrow svg { width: 100%; height: auto; transition: transform 0.4s var(--ease); }
.cta-mailmag:hover .cta-mailmag-arrow svg { transform: translateX(5px); }

/* エリア別フリーダイヤル */
.cta-tel-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cta-tel {
  background: #f0f0ee;
  padding: 40px 24px 44px;
  text-align: center;
}
.cta-tel-area {
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 14px;
}
.cta-tel-num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tel-icon { display: inline-flex; align-items: center; }
.tel-icon img { height: 26px; width: auto; display: block; }
.tel-digits {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(30px, 2.6vw, 40px);
  letter-spacing: 0.02em;
  color: var(--black);
  line-height: 1;
}
.cta-tel-sep { width: 1px; height: 26px; background: #c9c9c4; }
.cta-tel-time {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gray);
}

/* ---------- 11.5 CLOSING（全画面ビジュアル＋白抜きコピー） ---------- */
.closing {
  position: relative;
  height: calc(30vh + 100px);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.closing-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.closing::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(18, 24, 20, 0.32);
}
.closing-lead {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--white);
  font-size: 28px;
  line-height: 1.6;
  letter-spacing: 0.22em;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

/* ---------- 12. FOOTER ---------- */
.site-footer {
  background: var(--green-dark);
  color: var(--white);
  padding-block: 80px 32px;
}

/* サイトマップ */
.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.fcol-head {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 0.3s;
}
.fcol-head:hover { color: var(--green-light); }
.fcol-head--mt { margin-top: 28px; }
.fcol ul { display: flex; flex-direction: column; gap: 11px; }
.fcol ul a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s, padding-left 0.3s;
}
.fcol ul a:hover { color: var(--white); padding-left: 4px; }

/* 会社情報 */
.footer-company {
  padding-top: 48px;
}
.footer-logo { display: inline-block; line-height: 0; margin-bottom: 24px; }
.footer-logo img {
  height: 38px;
  width: auto;
  display: block;
}
.footer-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 22px;
}
.footer-license {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.fl-item dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3px;
}
.fl-item dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.6);
}
.fl-item dd.fl-note { color: rgba(255, 255, 255, 0.45); }
.footer-sns { display: flex; align-items: center; gap: 22px; }
.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s, opacity 0.3s;
}
.footer-sns a:hover { color: var(--white); opacity: 0.85; }
.footer-sns svg { width: 22px; height: 22px; }

.copy {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-top: 48px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 13. ドロワー（SPメニュー） ---------- */
.drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(86vw, 340px);
  height: 100%;
  background: var(--green-dark);
  color: var(--white);
  z-index: 105;
  padding: 96px 36px 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  font-size: 16px;
  letter-spacing: 0.06em;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.drawer-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.drawer-cta .btn { height: 50px; }
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 104;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }

/* ---------- 14. スクロールアニメーション ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-up.is-visible { opacity: 1; transform: none; }

/* =================================================================
   レスポンシブ
   ================================================================= */

/* ---- タブレット（〜1024px） ---- */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .section { padding-block: 80px; }

  .gnav-list { gap: 16px; }
  .gnav-list a { font-size: 12px; }

  .fv-lead { font-size: 34px; }

  .event-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }

  .company-inner { gap: 40px; }
  .company-lead { font-size: 20px; }

  /* フッターサイトマップ：3カラム */
  .footer-sitemap { grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
}

/* ---- ナビ折りたたみ（〜900px）：ハンバーガー表示 ---- */
@media (max-width: 900px) {
  .gnav { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding-inline: 24px; padding-right: 80px; }
}

/* ---- スマートフォン（〜768px） ---- */
@media (max-width: 768px) {
  :root { --gutter: 24px; --header-h: 64px; --edge: 24px; }   /* ヒーロー等のサイド余白をロゴ左(24px)に揃える */
  .section { padding-block: 88px; }

  .sec-head { margin-bottom: 36px; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
  .sec-head .more-link { margin-left: auto; }
  .sec-title { font-size: 24px; gap: 12px; }
  .sec-title .en { font-size: 13px; }
  .sec-title-en { font-size: 26px; }
  .sec-title-en.small { font-size: 22px; }

  /* FV：写真を画面いっぱいの縦長に。キャッチコピーは写真下部に重ねて画面下に表示 */
  .fv { padding-bottom: 0; }
  .fv-slider { margin: 12px var(--edge) 0; height: calc(100vh - var(--header-h) - 28px); height: calc(100svh - var(--header-h) - 28px); min-height: 480px; }
  .fv-copy { left: var(--edge); bottom: 0; padding: 22px 28px 20px 0; border-radius: 0 14px 0 0; width: calc((100vw - var(--edge) * 2) * 0.95); max-width: calc(100vw - var(--edge) * 2); text-align: left; }
  .fv-lead { font-size: 20px; letter-spacing: 0.1em; line-height: 1.55; text-align: left; }
  .fv-time { top: calc(var(--header-h) + 34px); right: calc(var(--edge) + 14px); font-size: 13px; letter-spacing: 0.12em; }
  .fv-sub { font-size: 12px; text-align: left; }
  .fv-sub br { display: none; }
  .fv-stats { gap: 16px; margin-top: 14px; padding-top: 12px; }
  .fv-stat-num { font-size: 19px; }
  .fv-stat-num small { font-size: 10px; }
  .fv-stat-label { font-size: 9px; letter-spacing: 0.08em; }
  .fv-clock { width: 56px; height: 56px; top: -28px; right: 24px; }
  .fv-scroll { width: 66px; height: 66px; right: 14px; bottom: 14px; }
  .fv-scroll-text text { font-size: 11px; letter-spacing: 0.5px; }
  .fv-scroll-arrow { width: 16px; height: 16px; }

  /* EVENT：横スクロール1.2枚見せ */
  .event-tabs { margin-bottom: 32px; }
  .tab { font-size: 13px; padding: 14px 4px; min-width: 0; }
  .tab .en { font-size: 11px; }
  .event-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
  }
  .event-grid::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  /* 「一覧を見る」をカードの下に移動 */
  .event .sec-head .more-link { display: none; }
  .event-more-sp { display: inline-flex; margin: 32px auto 0; }

  /* CONCEPT：縦積み（写真→テキスト） */
  .concept { padding-block: 88px; }
  .concept-inner { grid-template-columns: none; gap: 36px; }
  .concept-gallery { aspect-ratio: 5 / 4; margin-inline: auto; width: 100%; max-width: 460px; }
  /* 写真クラスタを中央寄せ（左右11%ずつシフトして左右対称に） */
  .concept-gallery .cg-1 { left: 23%; }
  .concept-gallery .cg-2 { left: 15%; }
  .concept-gallery .cg-3 { left: 55%; }
  .concept-text { padding-right: 0; }
  .concept-copy { line-height: 2.15; }
  .concept-copy br { display: none; }   /* スマホは改行を取って自然折り返し */
  .concept-copy + .concept-copy { margin-top: 1.7em; }
  .concept-link { margin-top: 40px; }

  /* SERVICE：1カラム・縦長カードで縦書きキャッチとキャプションの衝突を回避 */
  .service-grid { grid-template-columns: none; gap: 48px 16px; }
  .svc { aspect-ratio: 4 / 5; }
  .svc-cap { left: 28px; right: 28px; bottom: 30px; }
  .svc-jp { font-size: 20px; margin-bottom: 12px; }
  .svc-text { font-size: 13px; }
  .svc-vtext { top: -20px; right: 22px; gap: 10px; }
  .svc-vtext .vt-col { font-size: 17px; padding: 18px 11px 16px; }

  /* CLOSING */
  .closing { height: calc(26vh + 100px); min-height: 260px; }
  .closing-lead { font-size: 18px; letter-spacing: 0.08em; line-height: 1.7; }

  /* COMPANY：縦積み */
  .company-inner { grid-template-columns: none; gap: 28px; }
  .company-img { order: -1; }
  .company-lead { font-size: 18px; }

  /* NEWS */
  .news-item a { flex-wrap: wrap; gap: 8px 16px; padding: 18px 4px; }
  .news-ttl { flex-basis: 100%; font-size: 14px; }

  /* CTA：縦積み */
  .cta { padding-bottom: 80px; }
  .cta-primary { grid-template-columns: none; gap: 14px; margin-bottom: 14px; }
  .cta-pbtn { height: 92px; gap: 12px; }
  .cta-pbtn-jp { font-size: 18px; }
  .cta-pbtn-arrow { width: 36px; }
  .cta-tel-grid { grid-template-columns: none; gap: 14px; }
  .cta-tel { padding: 28px 16px 30px; }
  .cta-tel-num { gap: 8px 10px; }

  /* FOOTER */
  .footer-sitemap { display: none; }   /* スマホはサイトマップ非表示 */
  .footer-company { padding-top: 0; }
}

/* ---- 細い端末（〜400px） ---- */
@media (max-width: 400px) {
  .fv-lead { font-size: 19px; }
  .footer-sitemap { grid-template-columns: 1fr; }
}

/* ---- アニメーション抑制設定 ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
