@charset "utf-8";
/* =============================================================
   YAMATON GROUP 公式サイト  共通スタイル
   静的サイト（HTML/CSS/JS のみ） / Xserver ホスティング対応
   ============================================================= */

/* ---------- デザイントークン ---------- */
:root {
  --black:      #000000;
  --ink:        #1a1a1a;   /* 本文テキスト */
  --dark:       #141414;   /* ダークセクション背景 */
  --dark-2:     #1e1e1e;
  --silver:     #d6dcdc;   /* ダーク上の明色テキスト */
  --grey:       #6f6f6f;   /* 補助テキスト */
  --grey-2:     #939393;
  --line:       #e6e6e6;   /* 罫線 */
  --bg:         #ffffff;
  --bg-soft:    #f5f6f7;   /* ライトセクション背景 */
  --bg-soft-2:  #eef0f1;
  --accent:     #1a1a1a;   /* CTA など */

  --metallic: linear-gradient(180deg,#f4f6f7 0%,#c7ced2 38%,#9aa2a7 55%,#e9edee 100%);

  --font-jp: "Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  --font-en: "Barlow",var(--font-jp);

  --wrap: 1120px;
  --wrap-narrow: 880px;
  --header-h: 74px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.14);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- リセット ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s, opacity .25s; }
h1,h2,h3,h4 { margin: 0; font-weight: 700; line-height: 1.4; letter-spacing: .04em; }
p { margin: 0 0 1.2em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- レイアウト補助 ---------- */
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 48px, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: var(--silver); }
.center { text-align: center; }

/* セクション見出し（英字ラベル + 和文タイトル） */
.eyebrow {
  font-family: var(--font-en);
  text-transform: uppercase;
  letter-spacing: .34em;
  font-weight: 600;
  font-size: 13px;
  color: var(--grey-2);
  display: inline-block;
  margin-bottom: 18px;
}
.section--dark .eyebrow {
  background: var(--metallic);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.sec-title {
  font-size: clamp(22px, 3.4vw, 32px);
  letter-spacing: .06em;
  margin-bottom: 28px;
}
.sec-title--lg { font-size: clamp(26px,4vw,40px); }
.lead { font-size: clamp(15px,1.7vw,17px); color: var(--ink); }
.section--dark .lead { color: #c2c8c9; }

/* 区切り線 */
.rule { width: 46px; height: 2px; background: var(--ink); border: 0; margin: 0 0 26px; }
.center .rule { margin-inline: auto; }
.section--dark .rule { background: var(--silver); }

/* ---------- ボタン ---------- */
.btn {
  --bg-btn: var(--ink); --fg-btn: #fff;
  display: inline-flex; align-items: center; gap: .7em;
  padding: 15px 34px;
  background: var(--bg-btn); color: var(--fg-btn);
  font-family: var(--font-en); font-weight: 600;
  letter-spacing: .12em; font-size: 14px;
  border: 1px solid var(--bg-btn); border-radius: 2px;
  cursor: pointer; transition: all .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--bg-btn); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.section--dark .btn { --bg-btn: var(--silver); --fg-btn: #111; border-color: var(--silver); }
.section--dark .btn:hover { background: transparent; color: var(--silver); }
.btn--light { --bg-btn: #fff; --fg-btn: #111; border-color:#fff; }

/* =============================================================
   ヘッダー
   ============================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .3s, height .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: min(100% - 40px, 1240px); }
.brand img { height: 38px; width: auto; }
.brand { display: flex; align-items: center; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav a {
  font-size: 14.5px; font-weight: 500; letter-spacing: .06em;
  position: relative; padding: 6px 2px; color: #222;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: #111; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: #000; font-weight: 700; }

/* ハンバーガー */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  padding: 0; position: relative; z-index: 110;
}
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #111; transition: .3s var(--ease); }
.nav-toggle span:nth-child(1){ top: 15px; }
.nav-toggle span:nth-child(2){ top: 21px; }
.nav-toggle span:nth-child(3){ top: 27px; }
.nav-open .nav-toggle span:nth-child(1){ top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
.nav-open .nav-toggle span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(12,12,12,.97); color: #fff;
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  .nav a { color: #f2f2f2; font-size: 20px; letter-spacing: .1em; }
  .nav a::after { background: #fff; }
  .nav-open .nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}

/* メインをヘッダー分下げる */
main { display: block; }
.has-fixed-header { padding-top: var(--header-h); }

/* =============================================================
   ヒーロー（トップ）
   ============================================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--silver); overflow: hidden;
  background: #0b0d0e;
  box-sizing: border-box;
  /* 上=固定ヘッダー分の余白 / 下=SCROLL表示分の余白 で重なりを防ぐ */
  padding: calc(var(--header-h) + 30px) 20px 88px;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../img/hero-fabric.jpg") center/cover no-repeat;
  transform: scale(1.05); animation: heroZoom 16s ease-out forwards;
  filter: brightness(.52);
}
@keyframes heroZoom { to { transform: scale(1.0); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.48) 42%, rgba(0,0,0,.82) 100%);
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; border: 0; pointer-events: none;
  filter: brightness(.52);
}
.hero__inner { position: relative; z-index: 2; padding: 40px 20px; }
.hero__emblem {
  width: clamp(190px, 26vw, 330px); margin: 0 auto 18px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.55));
  animation: fadeUp 1s var(--ease) both;
}
.hero__tag {
  font-family: var(--font-en); letter-spacing: .3em; text-transform: uppercase;
  font-size: 13px; color: #b9c0c2; margin-bottom: 14px;
  animation: fadeUp 1s .15s var(--ease) both;
}
.hero__title {
  font-size: clamp(24px, 4.6vw, 46px); letter-spacing: .1em; line-height: 1.5;
  color: #f3f6f6; font-weight: 700;
  animation: fadeUp 1s .3s var(--ease) both;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; color: #cfd4d5;
}
.hero__scroll::after {
  content: ""; display: block; width: 1px; height: 42px; margin: 10px auto 0;
  background: linear-gradient(#cfd4d5, transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100%{ opacity:.3; transform: scaleY(.6);} 50%{ opacity:1; transform: scaleY(1);} }
@keyframes fadeUp { from{ opacity:0; transform: translateY(24px);} to{ opacity:1; transform:none;} }

/* =============================================================
   ページ共通ヘッダー（下層ページのタイトル帯）
   ============================================================= */
.page-hero {
  position: relative; padding: clamp(70px,12vw,140px) 0 clamp(56px,8vw,90px);
  color: var(--silver); text-align: center; overflow: hidden; background:#141414;
}
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; transform: scale(1.04); }
.page-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; z-index: 0; border: 0; pointer-events: none; }

/* セクション背景動画（汎用） */
.bgvideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; border: 0; pointer-events: none; }
.philosophy .bgvideo { opacity: .32; }
.philosophy > .wrap-narrow { position: relative; z-index: 2; }

/* iOS等で背景動画に出る「再生ボタン/コントロール」を非表示にする */
.hero__video::-webkit-media-controls,
.page-hero__video::-webkit-media-controls,
.bgvideo::-webkit-media-controls { display: none !important; }
.hero__video::-webkit-media-controls-start-playback-button,
.page-hero__video::-webkit-media-controls-start-playback-button,
.bgvideo::-webkit-media-controls-start-playback-button {
  display: none !important; -webkit-appearance: none; appearance: none;
}
.hero__video::-webkit-media-controls-panel,
.page-hero__video::-webkit-media-controls-panel,
.bgvideo::-webkit-media-controls-panel { display: none !important; }

/* 動きを減らす設定の端末では動画を止めてポスター画像にフォールバック */
@media (prefers-reduced-motion: reduce) {
  .hero__video, .page-hero__video, .bgvideo { display: none; }
}
.page-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(10,10,10,.55), rgba(10,10,10,.78)); }
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero__en { font-family: var(--font-en); text-transform: uppercase; letter-spacing: .36em; font-size: 12px; color:#aeb6b8; display:block; margin-bottom: 14px; }
.page-hero__title { font-size: clamp(28px,5vw,46px); letter-spacing: .12em; color: #f3f6f6; }

/* パンくず */
.crumbs { font-size: 12.5px; color: var(--grey); letter-spacing: .05em; padding: 16px 0; border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--grey-2); margin: 0 .5em; }

/* =============================================================
   トップ：MESSAGE
   ============================================================= */
.message { text-align: center; }
.message .lead { max-width: 720px; margin-inline: auto; }

/* トップ：事業カード */
.services { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.svc-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: #111; color: #fff; min-height: 300px; display: flex; align-items: flex-end;
  box-shadow: var(--shadow);
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform .7s var(--ease), opacity .5s; }
.svc-card::after { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.75)); }
.svc-card:hover img { transform: scale(1.07); opacity: .7; }
.svc-card__body { position: relative; z-index: 2; padding: 34px; width: 100%; }
.svc-card__en { font-family: var(--font-en); text-transform: uppercase; letter-spacing: .28em; font-size: 11px; color: #cfd4d5; }
.svc-card__title { font-size: 24px; letter-spacing: .08em; margin: 6px 0 16px; }
.svc-card__more { font-family: var(--font-en); font-weight: 600; letter-spacing: .18em; font-size: 13px; display: inline-flex; align-items: center; gap: .6em; }
.svc-card__more .arrow { transition: transform .3s var(--ease); }
.svc-card:hover .svc-card__more .arrow { transform: translateX(5px); }

/* 3事業一覧（コンパクト） */
.svc-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 8px; }
.svc-mini a { display: block; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .35s var(--ease); }
.svc-mini a:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-mini .num { font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: var(--grey-2); }
.svc-mini h3 { font-size: 19px; margin: 10px 0 8px; letter-spacing: .06em; }
.svc-mini p { font-size: 14px; color: var(--grey); margin: 0; }

/* トップ：理念（ダーク） */
.philosophy { position: relative; overflow: hidden; }
.philosophy__emblem { width: clamp(140px,18vw,200px); margin: 0 auto 30px; opacity: .95; }
.philosophy .biz-lines { max-width: 760px; margin: 30px auto 0; text-align: left; }
.biz-lines li { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; color:#cdd3d4; letter-spacing:.04em; }
.biz-lines li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.biz-lines b { color: #fff; font-weight: 700; }

/* =============================================================
   汎用コンテンツ（下層ページ）
   ============================================================= */
.prose h3 { font-size: clamp(19px,2.4vw,24px); letter-spacing:.05em; margin: 0 0 18px; padding-left: 16px; border-left: 4px solid var(--ink); }
.prose h4 { font-size: 17px; margin: 30px 0 12px; }
.prose p { color: #333; }
.block { margin-bottom: clamp(48px,7vw,80px); }
.block:last-child { margin-bottom: 0; }

/* 施設方針カード（福祉トップ） */
.pillar { display:grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.pillar .card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.pillar .card .en { font-family:var(--font-en); letter-spacing:.2em; font-size:11px; color:var(--grey-2); text-transform:uppercase; }
.pillar .card .t { font-size: 15px; color:var(--grey); margin-top:6px; }
.pillar .card .v { font-size: 22px; letter-spacing:.06em; margin-top:6px; }

/* サービス一覧（チェックリスト） */
.check-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 30px; }
.check-list li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px dashed var(--line); font-size: 15px; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* 情報テーブル（会社概要 / 施設情報） */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.info-table th { width: 34%; font-weight: 700; letter-spacing: .06em; color: var(--ink); font-size: 15px; }
.info-table td { color: #333; font-size: 15px; }
@media (max-width: 620px){
  .info-table th, .info-table td { display: block; width: 100%; padding: 12px 4px; }
  .info-table th { border-bottom: 0; padding-bottom: 2px; color: var(--grey); font-size: 13px; }
  .info-table tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .info-table td, .info-table th { border-bottom: 0; }
}

/* 料金テーブル */
.fee-table { width:100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
.fee-table th, .fee-table td { border: 1px solid var(--line); padding: 14px 16px; }
.fee-table thead th { background: var(--ink); color:#fff; font-weight:600; letter-spacing:.06em; }
.fee-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.fee-table tbody tr:nth-child(odd) { background: var(--bg-soft); }

/* 画像ギャラリー */
.gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* CTA（募集・LINE） */
.cta-box { background: var(--bg-soft); border-radius: 8px; padding: clamp(30px,5vw,54px); display: grid; grid-template-columns: 160px 1fr; gap: 34px; align-items: center; }
.cta-box .qr { width: 160px; height: 160px; background:#fff; border:1px solid var(--line); border-radius: 8px; padding: 12px; }
.cta-box h3 { font-size: clamp(20px,3vw,26px); letter-spacing:.06em; margin-bottom: 10px; }
.cta-box p { margin: 0; color: var(--grey); font-size: 15px; }
@media (max-width: 620px){ .cta-box { grid-template-columns: 1fr; text-align:center; justify-items:center; } }

/* FAQ / アコーディオン */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 44px; position: relative;
  font-size: clamp(16px,2.2vw,19px); font-weight: 700; letter-spacing:.04em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 4px; top: 22px; font-family: var(--font-en); font-weight: 700; color: var(--grey-2); font-size: 20px; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--grey); border-bottom: 2px solid var(--grey);
  transform: translateY(-60%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__body { padding: 0 44px 28px; color:#3a3a3a; font-size: 15px; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* コンサル：2カラム */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,5vw,60px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width:100%; }
.split--rev .split__media { order: 2; }
@media (max-width: 820px){ .split, .split--rev .split__media { grid-template-columns: 1fr; order: 0; } }

.tag-list { display:flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tag-list li { font-size: 13.5px; padding: 8px 16px; border:1px solid var(--line); border-radius: 999px; color: var(--grey); letter-spacing:.04em; }

/* =============================================================
   イベント：タイムライン
   ============================================================= */
.timeline { position: relative; margin-top: 10px; }
.timeline::before { content:""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 40px 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content:""; position: absolute; left: 3px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ink);
}
.tl-year { font-family: var(--font-en); font-weight: 600; letter-spacing: .1em; font-size: 13px; color: var(--grey-2); }
.tl-title { font-size: clamp(17px,2.4vw,20px); letter-spacing: .04em; margin: 4px 0 8px; }
.tl-desc { font-size: 14.5px; color: var(--grey); margin: 0; }

/* 実績ハイライト */
.stat-row { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 10px; }
.stat { text-align:center; padding: 30px 16px; border:1px solid var(--line); border-radius: var(--radius); background:#fff; }
.stat .n { font-family: var(--font-en); font-weight: 700; font-size: clamp(26px,4vw,38px); letter-spacing: .02em; color: var(--ink); }
.stat .l { font-size: 13px; color: var(--grey); margin-top: 4px; letter-spacing:.04em; }

/* =============================================================
   お問合せフォーム
   ============================================================= */
/* お問い合わせ：連絡先カード（メール/電話 表示のみ） */
.contact-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; max-width: 660px; margin: 44px auto 0; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 34px 22px; border: 1px solid var(--line); border-radius: 8px;
  text-align: center; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card__en { font-family: var(--font-en); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--grey-2); }
.contact-card__val { font-size: clamp(18px,2.4vw,22px); font-weight: 700; letter-spacing: .02em; word-break: break-all; }
.contact-card__act { font-family: var(--font-en); font-weight: 600; letter-spacing: .1em; font-size: 13px; color: var(--ink); display: inline-flex; align-items: center; gap: .5em; margin-top: 4px; }
.contact-card:hover .contact-card__act .arrow { transform: translateX(4px); }
.contact-card__act .arrow { transition: transform .3s var(--ease); }
@media (max-width: 600px){ .contact-cards { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px,5vw,56px); }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-info .item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .item:first-child { padding-top: 0; }
.contact-info .lbl { font-family: var(--font-en); letter-spacing:.16em; font-size: 12px; color: var(--grey-2); text-transform: uppercase; }
.contact-info .val { font-size: clamp(19px,2.6vw,24px); font-weight: 700; letter-spacing:.03em; margin-top: 4px; }
.contact-info .val a:hover { color: var(--grey); }

.form { display: grid; gap: 22px; }
.form .field { display: grid; gap: 8px; }
.form label { font-size: 14px; font-weight: 700; letter-spacing:.05em; }
.form label .req { color:#c0392b; font-size: 12px; margin-left: 6px; }
.form label .opt { color: var(--grey-2); font-size: 12px; margin-left: 6px; font-weight: 500; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 14px 16px; border: 1px solid #d3d6d8; border-radius: 3px; background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.form textarea { min-height: 160px; resize: vertical; }
.form .note { font-size: 13px; color: var(--grey); margin: 0; }
.form-msg { display:none; padding: 16px 18px; border-radius: 4px; font-size: 14px; margin-top: 4px; }
.form-msg.show { display: block; }
.form-msg.info { background: #f3f4f5; border: 1px solid var(--line); color: #333; }

/* =============================================================
   フッター
   ============================================================= */
.site-footer { background: var(--black); color: #c9cfd0; padding: 64px 0 28px; }
.site-footer__top { display:flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.site-footer .brand img { height: 92px; width: auto; margin-bottom: 18px; }
.site-footer__addr { font-size: 13.5px; line-height: 2; color: #9aa1a2; letter-spacing: .03em; }
.fnav { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.fnav a { font-size: 14px; letter-spacing: .05em; color: #d7dcdd; }
.fnav a:hover { color: #fff; }
.site-footer__bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  font-family: var(--font-en); font-size: 12px; letter-spacing: .1em; color: #7f8788; text-align: center;
}

/* トップへ戻る */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; background: rgba(20,20,20,.85); color:#fff;
  display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: .3s var(--ease); border: 0; cursor: pointer;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background:#000; }

/* スクロール表示アニメ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity:1; transform:none; transition:none; }
  .hero__bg, .hero__emblem, .hero__title, .hero__tag { animation: none; }
  html { scroll-behavior: auto; }
}

/* レスポンシブ調整 */
@media (max-width: 820px){
  .services { grid-template-columns: 1fr; }
  .svc-mini { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  /* モバイルは横型ロゴ（社名入り）を少し小さく表示してはみ出しを防ぐ */
  .brand img { height: 32px; }
}
@media (max-width: 480px){
  body { font-size: 15px; }
  .wrap, .wrap-narrow { width: min(100% - 34px, var(--wrap)); }
}
