/*
Theme Name: Kusunoki Taisho
Theme URI: https://kusunoki-td.com/
Author: 医療法人なごみ会 大正くすのきクリニック
Description: 大正くすのきクリニック公式サイト用オリジナルテーマ（温かみ×医療の信頼感）
Version: 1.0.3
Requires PHP: 7.4
License: proprietary
Text Domain: kusunoki-taisho
*/

/* ============================================
   大正くすのきクリニック HPリニューアル サンプル
   テーマ: 温かみナチュラル系
   （オレンジ × ベージュ × 緑 / 丸みのあるフォント）
   ============================================ */

:root {
  --orange: #E08A3C;
  --orange-dark: #C4722E;
  --orange-pale: #FBEFDF;
  --green: #3D8E7C;        /* 医療らしい落ち着いたティールグリーン */
  --green-dark: #2E6F60;
  --green-pale: #E9F3EF;
  --beige: #FAFAF7;        /* ほぼ白のベース */
  --cream: #F3F6F2;        /* セクション背景（薄いグリーングレー） */
  --white: #FFFFFF;
  --text: #3E4742;
  --text-soft: #75817B;
  --line: #E3E8E2;
  --shadow: 0 4px 18px rgba(50, 80, 70, 0.08);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }


body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--text);
  background: var(--beige);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* 大見出しは明朝体で品格を。本文・小見出しはゴシックで清潔感を */
.hero-copy h1, .page-hero h1, .sec-head h2, .recruit-banner h2 {
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}
.hero-copy h1, .page-hero h1 { letter-spacing: 0.05em; }

/* ヒーローのクリニック名（視認性重視でゴシック太字） */
.hero-name { line-height: 1.4; margin-bottom: 10px; }
.hero-name .corp { font-size: 12px; font-weight: 500; color: var(--text-soft); letter-spacing: 0.06em; }
.hero-name .name { font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; color: var(--text); letter-spacing: 0.04em; }

/* TELラベル */
.tel-label {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  background: var(--green-pale); color: var(--green-dark);
  border-radius: 5px; padding: 2px 7px; margin-right: 6px; vertical-align: 3px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.brand-text { line-height: 1.3; }
.brand-text .corp { font-size: 11px; color: var(--text-soft); }
.brand-text .name { font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: 0.02em; }

.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 2px; }
.gnav a {
  display: block; padding: 10px 11px; font-size: 13px; font-weight: 700;
  border-radius: 8px; transition: 0.2s; white-space: nowrap;
}
.gnav a:hover, .gnav a.current { background: var(--green-pale); color: var(--green-dark); }

.header-tel { text-align: right; line-height: 1.3; white-space: nowrap; }
.header-tel .tel {
  font-size: 18px; font-weight: 700; color: var(--orange-dark);
  display: flex; align-items: center; gap: 2px; justify-content: flex-end;
}
.header-tel .note { font-size: 10px; color: var(--text-soft); }
.header-inner > .btn { padding: 11px 18px; font-size: 13px; white-space: nowrap; }

.btn {
  display: inline-block; padding: 13px 30px; border-radius: 8px;
  font-weight: 700; font-size: 15px; transition: 0.25s;
  text-align: center;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(229, 138, 60, 0.4); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(124, 159, 95, 0.4); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--orange); color: var(--orange-dark); background: #fff; }
.btn-outline:hover { background: var(--orange-pale); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(253,252,248,0.96) 0%, rgba(253,252,248,0.88) 34%, rgba(253,251,246,0.45) 62%, rgba(253,251,246,0.08) 100%),
    url("images/wix_room.jpg") center 40% / cover no-repeat;
  padding: 110px 20px 130px;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(to bottom, transparent, var(--beige));
  pointer-events: none;
}
.hero-inner { max-width: 1080px; margin: 0 auto; }
.hero-copy { max-width: 640px; }
.hero-copy h1 {
  font-size: clamp(28px, 4.2vw, 44px); font-weight: 900; line-height: 1.5;
  color: var(--text); margin-bottom: 20px;
}
.hero-copy h1 .accent { color: var(--orange-dark); }
.hero-copy p { font-size: 16px; color: var(--text-soft); margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero-badges span {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 7px 16px 7px 14px; font-size: 13px; font-weight: 700; color: var(--green-dark);
  box-shadow: var(--shadow);
}
.hero-badges span::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 6px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.photo-ph {
  border-radius: 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #B49A7C; font-size: 13px; font-weight: 700; gap: 8px;
  background: repeating-linear-gradient(45deg, #F3E8D5, #F3E8D5 12px, #EFE2CC 12px, #EFE2CC 24px);
  border: 2px dashed #D9C6A8;
}
.hero-visual .photo-ph { aspect-ratio: 4 / 3; }
.photo-ph svg { opacity: 0.7; }

/* 実画像（インスタから仮配置） */
.photo-img { width: 100%; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); display: block; }
.hero-visual .photo-img { aspect-ratio: 4 / 3; }
.two-col .photo-img { aspect-ratio: 4 / 3; border-radius: 12px; }
.reel-thumb .photo-img { position: absolute; inset: 0; height: 100%; border-radius: 0; box-shadow: none; }
.recruit-banner .photo-img { aspect-ratio: 16 / 10; border-radius: 12px; }
.gallery-grid .photo-img { aspect-ratio: 4 / 3; border-radius: 10px; }
.img-note { font-size: 11px; color: var(--text-soft); margin-top: 8px; text-align: right; }
.reel-thumb .photo-img, .gallery-grid .photo-img { transition: opacity 0.45s ease; }

/* ---------- こころ（LOVOT）セクション ---------- */
.kokoro { background: var(--green-pale); }
.kokoro-card {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  padding: 48px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center;
}
.kokoro-photo { position: relative; }
.kokoro-photo .photo-img { border-radius: 14px; }  /* 元画像の縦横比のまま表示（切れ防止） */
.kokoro-photo .badge {
  position: absolute; top: -14px; left: -14px; background: var(--orange); color: #fff;
  font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 8px;
  box-shadow: 0 4px 14px rgba(229, 138, 60, 0.4); transform: rotate(-3deg);
}
.kokoro-body h3 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; margin-bottom: 6px; }
.kokoro-body h3 .name { color: var(--orange-dark); }
.kokoro-body .sub { font-size: 13px; color: var(--green-dark); font-weight: 700; margin-bottom: 16px; }
.kokoro-body p { font-size: 14px; color: var(--text-soft); margin-bottom: 12px; }
.kokoro-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.kokoro-tags span {
  background: var(--cream); border-radius: 6px; padding: 6px 14px;
  font-size: 12px; font-weight: 700; color: var(--orange-dark);
}
.kokoro-mini { display: flex; gap: 12px; margin-bottom: 24px; }
.kokoro-mini img {
  width: 88px; height: 88px; object-fit: cover; border-radius: 16px;
  border: 3px solid #fff; box-shadow: var(--shadow);
}

/* ---------- セクション共通 ---------- */
section { padding: 80px 0; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .en {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--green); text-transform: uppercase; margin-bottom: 8px;
}
.sec-head h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 900; }
.sec-head h2 .leaf { color: var(--green); }
.sec-head p.lead { margin-top: 14px; color: var(--text-soft); font-size: 15px; }

/* ---------- 写真バンド（全幅3枚組） ---------- */
.photo-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 10px; margin: 72px 0 0; }
.photo-band figure { overflow: hidden; border-radius: 12px; margin: 0; }
.photo-band img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block;
  transition: transform 0.8s ease;
}
.photo-band figure:hover img { transform: scale(1.04); }
@media (max-width: 700px) {
  .photo-band { grid-template-columns: 1fr; }
  .photo-band img { aspect-ratio: 16 / 9; }
}

/* ---------- お知らせ ---------- */
.news { padding: 0; margin-top: -50px; position: relative; z-index: 5; }
.news-box {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px 32px; display: flex; gap: 24px; align-items: flex-start;
}
.news-box h2 {
  font-size: 15px; color: var(--orange-dark); white-space: nowrap; padding-top: 8px;
  display: flex; align-items: center; gap: 8px;
}
.news-list { flex: 1; }
.news-list li { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.news-list li:last-child { border-bottom: none; }
.news-list time { color: var(--text-soft); white-space: nowrap; }
.news-list .tag {
  background: var(--green-pale); color: var(--green-dark); font-size: 11px; font-weight: 700;
  border-radius: 4px; padding: 2px 10px; white-space: nowrap; align-self: center;
}

/* ---------- 特徴カード ---------- */
.features { background: transparent; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px; display: flex; gap: 20px; align-items: flex-start;
  transition: 0.25s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-pale);
}
.feature-card:nth-child(even) .feature-icon { background: var(--green-pale); }
.feature-card h3 { font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.feature-card h3 .num { color: var(--orange); font-size: 13px; display: block; letter-spacing: 0.1em; }
.feature-card p { font-size: 14px; color: var(--text-soft); }

/* ---------- 診療時間 ---------- */
.hours { background: var(--cream); }
.hours-table-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; overflow-x: auto; }
table.hours-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.hours-table th, .hours-table td { padding: 14px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.hours-table thead th { background: var(--green-pale); color: var(--green-dark); font-weight: 700; }
.hours-table thead th:first-child { border-radius: 12px 0 0 12px; }
.hours-table thead th:last-child { border-radius: 0 12px 12px 0; }
.hours-table td.slot { font-weight: 700; color: var(--green-dark); white-space: nowrap; }
.hours-table .circle { color: var(--orange); font-size: 18px; font-weight: 900; }
.hours-table .dash { color: #CDBFA9; }
.hours-note { margin-top: 18px; font-size: 13px; color: var(--text-soft); }
.hours-note li { padding-left: 1.2em; text-indent: -1.2em; }
.hours-note li::before { content: "※ "; color: var(--orange); }

/* ---------- 安心への取り組み ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; text-align: center;
}
.trust-card .t-icon {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--green-pale); display: flex; align-items: center; justify-content: center;
}
.trust-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--green-dark); }
.trust-card p { font-size: 13px; color: var(--text-soft); text-align: left; }

/* ---------- 雰囲気 / Instagram ---------- */
.mood { }
.mood-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.reel-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  transition: 0.25s;
}
.reel-card:hover { transform: translateY(-4px); }
.reel-thumb { aspect-ratio: 4 / 5; position: relative; }
.reel-thumb .photo-ph { position: absolute; inset: 0; border-radius: 0; border: none; }
.reel-thumb .play {
  position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; z-index: 2;
  background: rgba(255,255,255,0.9); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--orange-dark);
  font-size: 14px;
}
.reel-card figcaption { padding: 16px 18px; font-size: 14px; font-weight: 700; }
.reel-card figcaption span { display: block; font-size: 12px; color: var(--text-soft); font-weight: 400; margin-top: 4px; }
.mood-cta { text-align: center; }

/* ---------- X（旧Twitter）埋め込み ---------- */
.x-embed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.x-embed-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 20px 12px; overflow: hidden;
}
.x-embed-title {
  font-size: 14px; font-weight: 700; margin-bottom: 12px;
  padding-left: 10px; border-left: 4px solid var(--green);
}
.x-embed-title small { font-weight: 400; color: var(--text-soft); margin-left: 6px; }
@media (max-width: 800px) { .x-embed-grid { grid-template-columns: 1fr; } }

/* ---------- 採用バナー ---------- */
.recruit-banner {
  background:
    radial-gradient(ellipse 60% 90% at 90% 10%, rgba(255,255,255,0.25), transparent 55%),
    linear-gradient(120deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: 18px; color: #fff; padding: 56px 48px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center;
  box-shadow: var(--shadow);
}
.recruit-banner h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; line-height: 1.5; margin-bottom: 14px; }
.recruit-banner p { font-size: 14px; opacity: 0.95; margin-bottom: 24px; }
.recruit-banner .btn { background: #fff; color: var(--green-dark); }
.recruit-banner .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.recruit-banner .photo-ph { aspect-ratio: 16 / 10; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.22), rgba(255,255,255,0.22) 12px, rgba(255,255,255,0.12) 12px, rgba(255,255,255,0.12) 24px); border-color: rgba(255,255,255,0.6); color: rgba(255,255,255,0.9); }

/* ---------- アクセス ---------- */
.access { background: var(--cream); }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.access-info { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.access-info h3 { font-size: 20px; font-weight: 900; color: var(--orange-dark); margin-bottom: 16px; }
.access-info dl { font-size: 14px; }
.access-info dt { font-weight: 700; color: var(--green-dark); margin-top: 16px; display: flex; align-items: center; gap: 8px; }
.access-info dt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.access-info dd { margin-left: 16px; color: var(--text-soft); }
.map-ph { min-height: 320px; }

/* ---------- ページ下部CTA ---------- */
.bottom-cta { text-align: center; }
.bottom-cta .tel-big { font-size: clamp(28px, 4vw, 40px); font-weight: 900; color: var(--orange-dark); margin: 10px 0 4px; }
.bottom-cta .note { color: var(--text-soft); font-size: 13px; margin-bottom: 28px; }

/* ---------- フッター ---------- */
.footer { background: #33413B; color: #E7EDE9; padding: 56px 0 24px; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.footer .brand-text .corp { color: #A9B8B0; }
.footer .brand-text .name { color: #F2C58C; }
.footer address { font-style: normal; font-size: 13px; color: #A9B8B0; margin-top: 14px; line-height: 2; }
.footer-nav { display: flex; gap: 40px; font-size: 13px; }
.footer-nav a { display: block; padding: 4px 0; color: #E7EDE9; }
.footer-nav a:hover { color: #F2C58C; }
.footer-nav .head { font-weight: 700; color: #8FC7B4; margin-bottom: 8px; }
.copyright { text-align: center; font-size: 11px; color: #8A9A92; margin-top: 40px; border-top: 1px solid #465650; padding-top: 20px; }

/* ---------- 下層ページ共通 ---------- */
.page-hero {
  background:
    radial-gradient(ellipse 70% 80% at 90% 10%, rgba(224,138,60,0.07), transparent 60%),
    linear-gradient(160deg, #FDFDFB, #F0F4EE);
  padding: 60px 20px; text-align: center;
}
.page-hero .en { font-size: 12px; letter-spacing: 0.22em; color: var(--green); font-weight: 700; text-transform: uppercase; }
.page-hero h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; margin-top: 6px; }
.breadcrumb { font-size: 12px; color: var(--text-soft); margin-top: 14px; }
.breadcrumb a { color: var(--green-dark); }

.content-block { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; margin-bottom: 32px; }
.content-block h3 {
  font-size: 20px; font-weight: 900; margin-bottom: 18px;
  padding-left: 14px; border-left: 5px solid var(--orange); line-height: 1.4;
}
.content-block p { font-size: 15px; margin-bottom: 12px; }
.content-block p.muted { color: var(--text-soft); font-size: 13px; }

.check-list li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px dashed var(--line); font-size: 15px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 4px; top: 10px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--green-pale);
  color: var(--green-dark); font-weight: 900; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

/* ステップ */
.steps { counter-reset: step; display: grid; gap: 16px; list-style: none; padding-left: 0; }
.steps li {
  background: var(--cream); border-radius: 16px; padding: 20px 24px 20px 72px; position: relative;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff;
  font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.steps li b { display: block; font-size: 16px; }
.steps li span { font-size: 13px; color: var(--text-soft); }

/* 定義テーブル（募集要項・概要） */
table.def-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.def-table th, .def-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.def-table th { width: 28%; background: var(--green-pale); color: var(--green-dark); font-weight: 700; }

/* 職員の声 */
.voice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.voice-card { background: var(--cream); border-radius: var(--radius); padding: 26px; position: relative; }
.voice-card::before { content: "“"; font-size: 48px; color: var(--orange); line-height: 1; position: absolute; top: 12px; left: 18px; opacity: 0.5; }
.voice-card p { font-size: 14px; margin: 14px 0 12px; }
.voice-card .who { font-size: 12px; color: var(--text-soft); font-weight: 700; }

/* ギャラリー */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid .photo-ph { aspect-ratio: 4 / 3; font-size: 12px; }

/* 2カラム */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.two-col .photo-ph { aspect-ratio: 4 / 3; }

/* ---------- アニメーション ---------- */
/* ヒーローの登場（ページ表示時に順にふわっと） */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.hero-copy > * { animation: heroUp 0.8s ease-out backwards; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.25s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.35s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.45s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.55s; }
.hero-visual { animation: heroUp 0.9s ease-out 0.35s backwards; }

/* スクロールで現れる要素（anim.jsが .reveal を付与） */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ホバーの持ち上がり（控えめ） */
.trust-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* 動きを減らす設定のユーザーにはアニメーションを無効化 */
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-visual { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1100px) {
  .gnav { display: none; }
}
@media (max-width: 900px) {
  .hero-inner, .recruit-banner, .access-grid, .two-col, .footer-inner, .kokoro-card { grid-template-columns: 1fr; }
  .kokoro-card { padding: 28px 22px; }
  .feature-grid, .voice-grid, .trust-grid { grid-template-columns: 1fr; }
  .mood-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .news-box { flex-direction: column; gap: 8px; }
  section { padding: 56px 0; }
  .hero { padding: 56px 20px 90px; }
  .content-block { padding: 26px 22px; }
}
@media (max-width: 560px) {
  .mood-grid, .gallery-grid { grid-template-columns: 1fr; }
  .header-tel { display: none; }
}


/* ============================================
   ブラッシュアップ・レイヤー
   （余白・タイポ・スマホ最適化・完成度向上）
   ============================================ */

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 92px; }
body { text-wrap: pretty; }
:where(a, button):focus-visible { outline: 3px solid rgba(224, 138, 60, 0.45); outline-offset: 2px; border-radius: 8px; }

/* ---- タイポと余白のリズム ---- */
section { padding: 88px 0; }
.sec-head { margin-bottom: 52px; }
.sec-head h2 { line-height: 1.55; letter-spacing: 0.04em; }
.sec-head::after {
  content: ""; display: block; width: 46px; height: 3px; border-radius: 2px;
  margin: 18px auto 0; background: linear-gradient(90deg, var(--orange), var(--green));
  opacity: 0.75;
}
.sec-head p.lead { max-width: 620px; margin-left: auto; margin-right: auto; }
.content-block h3 { border-left-width: 4px; padding-left: 16px; }
.content-block { padding: 44px; }
.content-block + .content-block { margin-top: 4px; }

/* ---- カードを1pxラインでくっきりと ---- */
.feature-card, .reel-card, .news-box, .hours-table-wrap,
.kokoro-card, .access-info, .content-block, .x-embed-card { border: 1px solid var(--line); }
.feature-card:hover, .reel-card:hover { box-shadow: 0 12px 30px rgba(50, 80, 70, 0.13); }
.feature-card h3 { line-height: 1.6; }
.voice-card .who::before { content: "— "; color: var(--orange); }

/* ---- ヘッダー ---- */
.header { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ハンバーガー（デスクトップでは非表示） */
.nav-toggle {
  display: none; width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0;
  margin-left: auto;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--green-dark); border-radius: 2px; transition: 0.25s; display: block; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- 採用：数字で見る働きやすさ ---- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stats-strip .stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center; padding: 24px 10px 20px;
}
.stats-strip .v { font-family: "Zen Old Mincho", serif; font-size: clamp(21px, 2.6vw, 28px); font-weight: 900; color: var(--green-dark); line-height: 1.25; display: block; }
.stats-strip .v b { color: var(--orange-dark); font-size: 1.15em; }
.stats-strip .l { font-size: 12px; color: var(--text-soft); font-weight: 700; margin-top: 8px; display: block; }

/* ---- スマホ固定CTAバー ---- */
.sp-cta { display: none; }

/* ---- レスポンシブ強化 ---- */
@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .header-tel .note { display: none; }
  .gnav {
    display: block; position: fixed; top: 65px; left: 0; right: 0; z-index: 99;
    background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 10px 16px 16px; margin-left: 0;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  body.nav-open .gnav { opacity: 1; visibility: visible; transform: none; }
  .gnav ul { flex-direction: column; gap: 4px; }
  .gnav a { font-size: 15px; padding: 13px 14px; }
}
@media (max-width: 900px) {
  section { padding: 60px 0; }
  .content-block { padding: 28px 22px; }
  .stats-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 700px) {
  .header-inner > .btn { display: none; }
  .sp-cta {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 98;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }
  .sp-cta .btn { padding: 13px 6px; font-size: 13px; border-radius: 10px; }
  body { padding-bottom: 76px; }
}
@media (max-width: 560px) {
  .hero { padding: 46px 20px 86px; }
  .hero-copy h1 { font-size: 30px; }
  .hero-copy p { font-size: 15px; }
  .hero-badges { gap: 8px; }
  .hero-badges span { font-size: 12px; padding: 6px 12px 6px 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text .name { font-size: 16px; }
  .header-inner { gap: 12px; }
  .sec-head { margin-bottom: 36px; }
  .def-table tr { display: block; border-bottom: 1px solid var(--line); padding: 4px 0; }
  .def-table th, .def-table td { display: block; width: 100%; border-bottom: none; padding: 10px 14px; }
  .def-table th { border-radius: 8px; }
  .kokoro-mini img { width: 76px; height: 76px; }
  .news-box { padding: 20px 22px; }
  .bottom-cta .tel-big { font-size: 26px; }
}


/* ===== 採用応募フォーム（Contact Form 7） ===== */
.entry-form{max-width:640px;margin:24px auto 0;text-align:left;}
.entry-form p{margin-bottom:16px;font-size:15px;}
.entry-form label{font-weight:700;font-size:14px;color:var(--text,#333);}
.entry-form input[type="text"],
.entry-form input[type="tel"],
.entry-form input[type="email"],
.entry-form select,
.entry-form textarea{width:100%;margin-top:6px;padding:11px 12px;border:1px solid #d8d2c8;border-radius:8px;background:#fff;font:inherit;font-size:15px;box-sizing:border-box;}
.entry-form textarea{min-height:130px;}
.entry-form input:focus,.entry-form select:focus,.entry-form textarea:focus{outline:2px solid var(--green,#3D8E7C);outline-offset:1px;border-color:var(--green,#3D8E7C);}
.entry-form .wpcf7-list-item{display:inline-block;margin:6px 16px 0 0;font-weight:400;}
.entry-form .wpcf7-list-item label{font-weight:400;}
.entry-form input[type="radio"]{margin-right:5px;accent-color:var(--green,#3D8E7C);}
.entry-form input[type="submit"]{display:inline-block;padding:14px 40px;background:var(--green,#3D8E7C);color:#fff;border:none;border-radius:8px;font:inherit;font-size:16px;font-weight:700;cursor:pointer;transition:opacity .2s;}
.entry-form input[type="submit"]:hover{opacity:.85;}
.entry-form .wpcf7-spinner{display:block;margin:8px auto 0;}
.entry-form .wpcf7-not-valid-tip{color:#c0392b;font-size:13px;margin-top:4px;}
.entry-form .wpcf7-response-output{margin:16px 0 0;padding:12px 16px;border-radius:8px;border:2px solid var(--orange,#E08A3C);font-size:14px;}
.entry-form form.sent .wpcf7-response-output{border-color:var(--green,#3D8E7C);background:#eef6f3;}
