/* =========================================================
   デイサービス はまなす（架空・採用特化・スタンダード5ページ）共有スタイル
   トークン：介護・採用系（セージ緑×生成り×テラコッタ）
   ※採用サイト＝求職者向け。安心感・読みやすさ優先。
     応募・見学CTAはテラコッタ（暖色）で確実に浮かせる。
   外部Webフォント不使用（system font stack・見出しは明朝系）
   ========================================================= */
:root {
  --bg:         #f7f5ef;   /* 生成り背景 */
  --bg-card:    #fffdf8;
  --bg-deep:    #eef1ec;   /* 淡いセージがかった生成り */
  --ink:        #33413a;   /* 本文インク */
  --muted:      #647065;
  --main:       #5f806f;   /* セージ緑（濃） */
  --main-deep:  #46614f;   /* 濃セージ（見出し・AA配慮） */
  --main-pale:  #e4ede7;   /* セージ淡（背景アクセント） */
  --sage-light: #8aab9a;   /* セージ淡（補助） */
  --accent:     #c46b3a;   /* テラコッタ（面用・応募/見学ボタン） */
  --accent-ink: #a9542a;   /* テラコッタ（文字用・AA配慮） */
  --gold:       #b58a4a;   /* 補助アクセント */
  --line-green: #06C755;   /* LINE公式緑・固定 */
  --border:     #ddd8ca;
  --radius: 12px;
  --shadow: 0 14px 38px rgba(55, 62, 45, .10);
  --font-serif: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  background: var(--bg);
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
main { display: block; }

/* 採用ページのため見出しは大きすぎず読みやすさ優先 */
h1, h2, h3, .logo-name { font-family: var(--font-serif); letter-spacing: .03em; }

/* === 画像プレースホルダ（実素材差し替え前提） === */
.ph {
  position: relative;
  background: #ddd;
  overflow: hidden;
  display: block;
  margin: 0;
}
.ph::before {
  content: attr(data-file);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 8px; text-align: center;
  color: #8d8d8d; font-size: .8rem; letter-spacing: .04em;
  word-break: break-all;
}
.ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ph img.img-missing { visibility: hidden; }
/* アイコン用（小さいのでファイル名は極小表示） */
.ic {
  position: relative; background: #ddd; border-radius: 10px;
  overflow: hidden; flex: 0 0 auto; display: block; margin: 0;
}
.ic::before {
  content: attr(data-file);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 2px; text-align: center;
  color: #8d8d8d; font-size: .5rem; line-height: 1.2; word-break: break-all;
}
.ic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ic img.img-missing { visibility: hidden; }

/* === サンプルバー === */
.sample-bar {
  position: sticky; top: 0; z-index: 60;
  background: var(--main-deep); color: #fdfbf5;
  text-align: center; padding: 8px 14px;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
}
.sample-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--main-deep);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .04em;
}

/* === ヘッダー === */
.site-header {
  position: sticky; top: 37px; z-index: 50;
  background: rgba(253, 251, 245, .95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.header-inner {
  width: min(1080px, calc(100% - 36px));
  min-height: 70px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.logo { display: flex; flex-direction: column; line-height: 1.35; padding: 8px 0; }
.logo-name { font-size: 1.22rem; font-weight: 700; color: var(--main-deep); white-space: nowrap; }
.logo-sub { font-size: .68rem; color: var(--muted); letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 20px; font-size: .9rem; font-weight: 700; color: #4b564d; }
.nav a:hover { color: var(--accent-ink); }
.nav a.current { color: var(--accent-ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.header-tel { text-align: right; line-height: 1.3; }
.header-tel .num { font-size: 1.18rem; font-weight: 800; color: var(--main-deep); letter-spacing: .02em; white-space: nowrap; }
.header-tel .hours { font-size: .68rem; color: var(--muted); }

/* === ハンバーガー === */
.menu-toggle {
  display: none; width: 46px; height: 46px;
  border: 0; border-radius: 10px;
  background: var(--main-pale); color: var(--main-deep);
  position: relative; flex: 0 0 auto;
}
.menu-toggle span {
  position: absolute; left: 13px; width: 20px; height: 2px; border-radius: 999px;
  background: currentColor; transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* === ボタン === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; line-height: 1.3; text-align: center;
}
/* 採用サイトの主役CTA＝見学（accent・テラコッタ暖色で浮かせる） */
.btn-phone { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(196, 107, 58, .32); flex-direction: column; gap: 2px; padding: 10px 30px; }
.btn-phone .num { font-size: 1.4rem; letter-spacing: .03em; white-space: nowrap; }
.btn-phone .small { font-size: .7rem; font-weight: 700; opacity: .95; }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 10px 24px rgba(6, 199, 85, .28); flex-direction: column; gap: 2px; padding: 10px 30px; }
.btn-line .small { font-size: .7rem; font-weight: 700; opacity: .95; }
.btn-outline { background: #fff; color: var(--main-deep); border-color: var(--border); }
.btn .ic { width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.25); }
.btn .ic::before { color: rgba(255,255,255,.8); }

/* === ヒーロー === */
.hero { position: relative; overflow: hidden; }
.hero .ph { aspect-ratio: 16 / 8; min-height: 480px; max-height: 680px; width: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  /* 文字は縦に長く分布する（見出し→本文→ボタン→注記）ため、左からの1枚では下側に届かず
     コントラストが2.14〜2.90と基準（本文4.5・大見出し3.0）に未達だった。下からの1枚を重ねて補う。
     写真の主役が写る右側は明るいまま残す。姉妹サンプル daycare-home と同じ値。 */
  background:
    linear-gradient(90deg, rgba(35, 46, 38, .80) 0%, rgba(35, 46, 38, .60) 44%, rgba(35, 46, 38, .24) 72%, transparent 90%),
    linear-gradient(to top, rgba(35, 46, 38, .44) 0%, rgba(35, 46, 38, .26) 42%, transparent 74%);
}
.hero-content {
  position: absolute; inset: 0; z-index: 2;
  width: min(1080px, calc(100% - 36px)); margin: 0 auto;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(28px, 6svh, 56px) 0;
}
.hero-btns { margin-top: auto; }
.hero h1 {
  margin: 0; max-width: 780px;
  font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.55;
  color: #fdfbf5; font-weight: 700;
  text-shadow: 0 2px 18px rgba(28, 34, 26, .65), 0 1px 4px rgba(28, 34, 26, .6);
}
.hero .lead {
  margin: 16px 0 26px; max-width: 560px;
  font-size: clamp(.95rem, 1.4vw, 1.06rem); line-height: 2;
  color: #f4f1e8; text-shadow: 0 1px 12px rgba(28, 34, 26, .65), 0 1px 3px rgba(28, 34, 26, .6);
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin: 12px 0 0; font-size: .8rem; color: #ece7d9; text-shadow: 0 1px 8px rgba(28,34,26,.6); }

/* ヒーローのふわっと表示（動き1/3） */
.hero-content > * { opacity: 0; transform: translateY(14px); animation: heroIn .7s ease forwards; }
.hero-content > *:nth-child(2) { animation-delay: .12s; }
.hero-content > *:nth-child(3) { animation-delay: .24s; }
.hero-content > *:nth-child(4) { animation-delay: .36s; }
.hero-content > *:nth-child(5) { animation-delay: .44s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* === 下層ページヘッダー === */
.page-header {
  background: linear-gradient(120deg, var(--main) 0%, var(--main-deep) 100%);
  color: #fdfbf5; padding: 52px 0 44px; position: relative; overflow: hidden;
}
.page-header::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(253, 251, 245, .06);
}
.page-header .inner { width: min(1080px, calc(100% - 36px)); margin: 0 auto; position: relative; z-index: 1; }
.page-header h1 { margin: 0; font-size: clamp(1.55rem, 2.8vw, 2.1rem); font-weight: 700; }
.page-header .en { display: block; font-size: .74rem; letter-spacing: .22em; opacity: .8; margin-bottom: 6px; }
.page-header p { margin: 10px 0 0; font-size: .95rem; opacity: .92; max-width: 660px; }
.breadcrumb {
  width: min(1080px, calc(100% - 36px)); margin: 14px auto 0;
  font-size: .78rem; color: var(--muted);
}
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--accent-ink); }

/* === セクション共通 === */
.section { padding: 76px 0; position: relative; }
.section.tint { background: var(--bg-deep); }
.section.white { background: var(--bg-card); }
.container { width: min(1080px, calc(100% - 36px)); margin: 0 auto; }
.section-head { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-head .en { display: block; font-size: .74rem; letter-spacing: .24em; color: var(--accent-ink); font-weight: 800; margin-bottom: 8px; }
.section-head h2 { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2rem); font-weight: 700; color: var(--main-deep); line-height: 1.5; }
.section-head p { margin: 14px auto 0; color: var(--muted); font-size: .95rem; }
.more-link { text-align: center; margin-top: 36px; }
.more-link a {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--accent-ink);
  border-bottom: 2px solid var(--accent); padding-bottom: 4px;
}
.more-link a:hover { opacity: .8; }

/* === 羅列アイテム（お願い・ルール系） === */
.trouble-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trouble-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; font-weight: 700; font-size: .92rem; color: #45524a;
  transition: transform .18s ease, box-shadow .18s ease;
}
.trouble-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.trouble-item .ic { width: 40px; height: 40px; }
.trouble-more { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: .92rem; }

/* === 写真カード（1日の流れ抜粋・シーン等） === */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.photo-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 8px 26px rgba(55, 62, 45, .07);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.photo-card .ph { aspect-ratio: 4 / 3; }
.photo-card .body { padding: 20px 22px 22px; flex: 1; }
.photo-card h3 { margin: 0 0 8px; font-size: 1.12rem; color: var(--main-deep); }
.photo-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.photo-card .tag {
  display: inline-block; margin-bottom: 10px;
  font-size: .72rem; font-weight: 800; color: var(--accent-ink);
  background: #f4e6d9; border-radius: 999px; padding: 3px 12px;
}

/* === 代表あいさつ（施設長） === */
.greeting { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: start; }
.greeting .ph { aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: var(--shadow); position: sticky; top: 90px; width: 100%; }
.greeting-copy h2 { margin: 0 0 6px; font-size: clamp(1.35rem, 2.2vw, 1.7rem); color: var(--main-deep); font-weight: 700; }
.greeting-copy .name { margin: 0 0 14px; color: var(--accent-ink); font-weight: 800; font-size: 1.1rem; }
.greeting-copy .name small { color: var(--muted); font-weight: 600; font-size: .8rem; margin-left: 8px; }
.greeting-copy p { margin: 0 0 12px; color: #4b564d; font-size: .96rem; }

/* === 対応エリア／横並び画像＋コピー === */
.area-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.area-layout .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow); }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.area-list li {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 20px; font-weight: 800; color: var(--main-deep); font-size: .95rem;
}
.area-copy h3 { margin: 0 0 8px; font-size: 1.3rem; color: var(--main-deep); }
.area-copy p { margin: 0 0 8px; color: var(--muted); font-size: .94rem; }
.area-note {
  margin-top: 14px; padding: 12px 18px; border-radius: var(--radius);
  background: #f4e6d9; color: var(--main-deep); font-size: .9rem; font-weight: 700;
}

/* === お知らせ === */
.news-list { max-width: 820px; margin: 0 auto; }
.news-item {
  display: grid; grid-template-columns: 110px auto 1fr; gap: 14px;
  padding: 16px 8px; border-bottom: 1px solid var(--border); align-items: baseline;
}
.news-item time { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.news-item .cat {
  font-size: .7rem; font-weight: 800; color: var(--accent-ink);
  background: #f4e6d9; border-radius: 999px; padding: 3px 12px; white-space: nowrap;
  justify-self: start;
}
.news-item .txt { font-size: .95rem; font-weight: 600; color: #45524a; }
.news-note { max-width: 820px; margin: 18px auto 0; color: var(--muted); font-size: .85rem; }

/* === FAQ === */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
details {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(55, 62, 45, .05);
}
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-weight: 800; color: var(--main-deep);
}
summary::-webkit-details-marker { display: none; }
summary .q { display: flex; gap: 12px; align-items: baseline; }
summary .q::before { content: "Q"; color: var(--accent-ink); font-family: var(--font-serif); font-size: 1.1rem; flex: 0 0 auto; }
summary::after {
  content: "+"; width: 30px; height: 30px; flex: 0 0 auto;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--main-pale); color: var(--main-deep); line-height: 1; font-weight: 800;
}
details[open] summary::after { content: "−"; }
.answer { padding: 0 22px 20px; color: var(--muted); font-size: .94rem; }
.answer::before { content: "A． "; color: var(--accent-ink); font-weight: 800; }

/* === 流れ（受付ステップ・応募フロー等） === */
.flow-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.flow-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: 0 6px 20px rgba(55, 62, 45, .05);
}
.flow-step .no {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--main); color: #fff; display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem;
}
.flow-step h3 { margin: 0 0 6px; font-size: 1.06rem; color: var(--main-deep); }
.flow-step p { margin: 0; color: var(--muted); font-size: .92rem; }
.flow-photos { max-width: 860px; margin: 26px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.flow-photos .ph { aspect-ratio: 16 / 10; border-radius: var(--radius); box-shadow: 0 8px 26px rgba(55,62,45,.07); }
.flow-photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 8px 14px; font-size: .78rem; color: #fff; background: linear-gradient(transparent, rgba(35,42,32,.7)); }

/* === サービス／仕事内容カード === */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-note {
  margin-top: 8px; padding: 10px 14px; border-radius: 10px;
  background: #f4e6d9; border-left: 3px solid var(--accent);
  color: #6a5237; font-size: .82rem; line-height: 1.7;
}

/* === 写真ギャラリー（設備・シーン） === */
.profile-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.profile-gallery .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: 0 8px 26px rgba(55,62,45,.07); }
.profile-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 8px 14px; font-size: .78rem; color: #fff; background: linear-gradient(transparent, rgba(35,42,32,.72)); }

/* === お問い合わせ／応募カード === */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.contact-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; box-shadow: 0 8px 26px rgba(55, 62, 45, .07);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.contact-card .ic { width: 46px; height: 46px; }
.contact-card h3 { margin: 4px 0 0; font-size: 1.05rem; color: var(--main-deep); }
.contact-card .big-num { font-size: 1.5rem; font-weight: 800; color: var(--main-deep); letter-spacing: .02em; }
.contact-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.contact-card .btn { margin-top: 8px; }

/* フォーム（ダミー） */
.form-wrap {
  max-width: 680px; margin: 0 auto; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: 0 8px 26px rgba(55, 62, 45, .07);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 800; font-size: .9rem; color: var(--main-deep); margin-bottom: 6px; }
.form-row .req { color: var(--accent-ink); font-size: .74rem; margin-left: 6px; }
.form-row .opt { color: var(--muted); font-size: .74rem; margin-left: 6px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; font: inherit; color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-submit { text-align: center; margin-top: 24px; }
.form-msg { margin: 14px 0 0; text-align: center; font-weight: 800; color: var(--accent-ink); min-height: 1.6em; }
.form-note { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .82rem; }
.form-privacy {
  margin: 18px auto 0; max-width: 680px; padding: 14px 18px; border-radius: 10px;
  background: var(--bg-deep); border: 1px dashed var(--border);
  color: var(--muted); font-size: .8rem; line-height: 1.8;
}

/* === 大CTA帯 === */
.cta-band {
  background: linear-gradient(120deg, var(--accent) 0%, #a9542a 100%);
  color: #fff; padding: 64px 0; text-align: center;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
.cta-band > .container > p { margin: 0 0 28px; opacity: .95; font-size: .95rem; }
.cta-band .btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-band .btn-phone { background: #fff; color: var(--accent-ink); box-shadow: 0 10px 24px rgba(60, 30, 8, .25); }
.cta-band .fallback { margin: 18px 0 0; font-size: .85rem; opacity: .95; }

/* CTA帯のふわっと表示（動き2/3・スクロール時） */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* === フッター === */
.site-footer { background: var(--main-deep); color: rgba(253, 251, 245, .9); padding: 48px 0 30px; }
.footer-inner { width: min(1080px, calc(100% - 36px)); margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; gap: 30px; align-items: flex-start;
  padding-bottom: 26px; border-bottom: 1px solid rgba(253, 251, 245, .18);
}
.footer-logo { font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; margin-bottom: 8px; color: #fdfbf5; }
.footer-info { font-size: .88rem; line-height: 2; }
.footer-map { aspect-ratio: 16/9; max-width: 320px; border-radius: 10px; overflow: hidden; margin-top: 1rem; }
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer-nav { display: grid; gap: 8px; font-size: .9rem; font-weight: 700; }
.footer-nav a:hover { color: #f3d3b6; }
.sample-disclaimer {
  margin: 24px 0 0; font-size: .78rem; line-height: 1.9; color: rgba(253, 251, 245, .66);
}
.footer-credit { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(253, 251, 245, .14); font-size: .8rem; color: rgba(253, 251, 245, .72); }
.footer-credit a { text-decoration: underline; text-underline-offset: 3px; }

/* === スマホ下部固定CTAバー === */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; grid-template-columns: 1fr 1fr; gap: 8px;
  height: calc(56px + env(safe-area-inset-bottom));
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
  background: rgba(253, 251, 245, .97);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 26px rgba(55, 62, 45, .14);
  transition: transform .25s ease;
}
.mobile-cta.is-hidden { transform: translateY(110%); }
.mobile-cta .btn { min-height: 44px; padding: 4px 8px; border-radius: 999px; font-size: .92rem; gap: 0; }
.mobile-cta .btn .small { font-size: .62rem; }
.mobile-cta .btn-phone .num { font-size: 1.02rem; }

/* === トースト（LINE/電話ダミー等） === */
.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 70;
  transform: translateX(-50%) translateY(16px);
  max-width: min(90vw, 420px);
  background: rgba(35, 42, 32, .94); color: #fdfbf5;
  padding: 12px 20px; border-radius: 12px;
  font-size: .88rem; font-weight: 700; text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* === 動きの抑制 === */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content > * { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .trouble-item, .photo-card { transition: none; }
  .mobile-cta { transition: none; }
}

/* === レスポンシブ === */
@media (max-width: 980px) {
  .trouble-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; max-width: 520px; }
  .nav { gap: 12px; font-size: .84rem; }
}

@media (max-width: 800px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; left: 0; right: 0; top: 0; bottom: auto; z-index: 45;
    display: grid; gap: 0; padding: calc(37px + 70px + 8px) 22px 24px;
    background: rgba(253, 251, 245, .98);
    border-bottom: 1px solid var(--border); box-shadow: 0 20px 40px rgba(55, 62, 45, .18);
    transform: translateY(-105%); opacity: 0; pointer-events: none;
    transition: transform .24s ease, opacity .24s ease;
    font-size: 1rem;
  }
  .menu-open .nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 4px; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--border); }
  .nav a.current { border-bottom: 1px solid var(--border); color: var(--accent-ink); }
  .header-inner { min-height: 62px; }

  .hero .ph { aspect-ratio: auto; min-height: 560px; }
  .hero::after { background: linear-gradient(180deg, rgba(35, 46, 38, .58), rgba(35, 46, 38, .40) 55%, rgba(35, 46, 38, .12)); }
  /* スマホは上寄せ・最小テキストのみ。大ボタン/注意書きはヒーローに重ねず固定バーに任せる */
  .hero-content { align-content: start; padding-top: 22px; }
  .hero h1 { font-size: clamp(1.5rem, 6.2vw, 1.9rem); line-height: 1.4; }
  /* lead は下のタグ（夜勤なし/週2日〜/未経験OK）と内容が重複するためスマホでは隠し、H1＋タグ＋写真を同時に見せる */
  .hero .lead { display: none; }
  .hero-btns, .hero-note { display: none; }
  .hero-tags { margin-top: 16px; }

  .section { padding: 48px 0; }
  .section-head { margin-bottom: 30px; }
  .trouble-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trouble-item { font-size: .85rem; padding: 12px 12px; gap: 10px; }
  .trouble-item .ic { width: 34px; height: 34px; }
  .card-grid, .service-grid { grid-template-columns: 1fr; }
  .greeting { grid-template-columns: 1fr; gap: 26px; }
  .greeting .ph { max-width: 340px; margin: 0 auto; position: static; }
  .greeting-copy { text-align: left; }
  .area-layout { grid-template-columns: 1fr; gap: 24px; }
  .flow-step { grid-template-columns: 44px 1fr; padding: 18px 18px; gap: 14px; }
  .flow-photos { grid-template-columns: 1fr; }
  .profile-gallery { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 4px; padding: 14px 4px; }
  .footer-top { display: grid; gap: 22px; }
  th, td { padding: 13px 14px; font-size: .9rem; }
  .mobile-cta { display: grid; }
}

@media (max-width: 430px) {
  .logo-name { font-size: 1.05rem; }
  .trouble-grid { grid-template-columns: 1fr 1fr; }
  .btn-phone .num { font-size: 1.2rem; }
}

/* === ヒーロー3枚スライド（ゆっくりズーム・動きの内数） === */
.hero-slides { position: absolute; inset: 0; }
.hero-slides .hero-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity 1.6s ease;
}
.hero-slides .hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slides .hero-slide.is-active { opacity: 1; }
.hero-slides .hero-slide.is-active img { animation: heroZoom 7s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero { min-height: 480px; max-height: 680px; }
.hero .ph { min-height: 0; }
@media (min-width: 801px) {
  .hero { aspect-ratio: 16 / 8; }
}
@media (max-width: 800px) {
  .hero { width: 100%; max-width: 100%; min-height: 560px; max-height: none; aspect-ratio: auto; }
  .hero-slides, .hero-slides .hero-slide { width: 100%; max-width: 100%; }
  .hero-content { max-width: calc(100% - 32px); }
  .hero-btns { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides .hero-slide { transition: none; }
  .hero-slides .hero-slide.is-active img { animation: none; }
}

/* ヒーローをフルスクリーン化（100svh目安） */
.hero {
  min-height: 480px; max-height: none; aspect-ratio: auto;
  height: calc(100vh - 112px);   /* 112px＝告知バー41＋ヘッダー71（実測） */
  height: calc(100svh - 112px);
}
.hero .ph, .hero-slides .hero-slide {
  aspect-ratio: auto; min-height: 0; max-height: none; height: 100%;
}
@media (max-width: 800px) {
  .hero {
    min-height: 560px;
    height: calc(100vh - 104px);  /* 104px＝告知バー41＋ヘッダー63（実測） */
    height: calc(100svh - 104px);
  }
}
/* 544px以下は告知バーの文言が2行に折り返してバーが41→67pxに伸びる（実測）。
   103pxのままだと27pxはみ出していた。 */
@media (max-width: 544px) {
  .hero {
    height: calc(100vh - 130px);
    height: calc(100svh - 130px);
  }
}

/* 画像ロード成功時：ファイル名プレースホルダを消す */
.ph.is-loaded::before, .ic.is-loaded::before { content: none; }
.ic.is-loaded { background: transparent; }
/* ハンバーガー展開時の透け防止 */
body.menu-open .nav { background: rgb(253, 251, 245); }

/* 801〜980pxはヘッダー電話を縮小表示 */
@media (max-width: 980px) and (min-width: 801px) {
  .header-tel .num { font-size: 1rem; }
  .header-tel .hours { font-size: .68rem; }
}
@media (max-width: 800px) {
  .header-tel { display: none; }
}
/* 告知バーの折返し防止 */
@media (max-width: 430px) {
  .sample-bar { font-size: .66rem; padding: 6px 8px; }
}

/* このサンプルについて */
.sample-about { background: #ece4d5; }
.sample-spec { max-width: 860px; margin: 0 auto 26px; }
.sample-spec div.row { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 12px 6px; border-bottom: 1px dashed #d5cbb6; }
.sample-spec dt { font-weight: 800; color: #4a3d28; }
.sample-spec dd { margin: 0; line-height: 1.9; }
.sample-links { text-align: center; display: grid; gap: 12px; justify-items: center; }
.sample-links p { margin: 0; font-weight: 700; }
@media (max-width: 800px) { .sample-spec div.row { grid-template-columns: 1fr; gap: 2px; } }

/* =========================================================
   デイサービス はまなす 追加スタイル（採用固有）
   ========================================================= */

/* 募集中ラベル（ヒーロー・果物狩りのhero-now相当） */
.hero-now {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; padding: 6px 16px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: .82rem; font-weight: 800; letter-spacing: .04em;
  box-shadow: 0 8px 20px rgba(196, 107, 58, .3);
}
.hero-now::before { content: "●"; font-size: .6rem; color: #ffe4c2; }

/* ヒーロー直下の即表示タグ（夜勤なし 等） */
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 0; }
.hero-tags .tag {
  padding: 6px 16px; border-radius: 999px;
  background: rgba(253, 251, 245, .92); color: var(--main-deep);
  font-size: .82rem; font-weight: 800; letter-spacing: .02em;
}

/* === 働きやすさ数字カード（岐阜県福祉事業団型） === */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: 0 8px 26px rgba(55, 62, 45, .07);
  display: flex; flex-direction: column;
}
.stat-card .stat-label { font-size: .78rem; font-weight: 800; color: var(--accent-ink); letter-spacing: .04em; }
.stat-card .stat-num {
  margin: 10px 0 4px; font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 700; color: var(--main-deep); line-height: 1.25;
}
.stat-card .stat-num small { font-size: .5em; color: var(--muted); font-weight: 600; margin-left: 2px; }
.stat-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.stat-note { text-align: center; margin: 22px auto 0; max-width: 720px; color: var(--muted); font-size: .82rem; }

/* === 縦タイムライン（1日の流れ） === */
.timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 8px; }
.timeline::before {
  content: ""; position: absolute; left: 70px; top: 8px; bottom: 8px;
  width: 2px; background: var(--main-pale);
}
.tl-item {
  position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 22px;
  padding: 12px 0 22px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-time {
  font-family: var(--font-serif); font-weight: 700; color: var(--main-deep);
  font-size: .98rem; text-align: right; padding-top: 2px;
}
.tl-body { position: relative; padding-left: 22px; }
.tl-body::before {
  content: ""; position: absolute; left: -3px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--main); border: 3px solid var(--bg-card); box-shadow: 0 0 0 2px var(--main-pale);
}
.tl-item.is-end .tl-body::before { background: var(--accent); box-shadow: 0 0 0 2px #f4e6d9; }
.tl-body h3 { margin: 0 0 4px; font-size: 1.02rem; color: var(--main-deep); }
.tl-body p { margin: 0; color: var(--muted); font-size: .9rem; }
.tl-body .end-tag {
  display: inline-block; margin-bottom: 4px;
  font-size: .7rem; font-weight: 800; color: #fff; background: var(--accent);
  border-radius: 999px; padding: 2px 12px;
}

/* === 先輩の声カード === */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 8px 26px rgba(55, 62, 45, .07);
  display: flex; flex-direction: column;
}
.voice-card .ph { aspect-ratio: 4 / 3; }
.voice-card .ph img { object-position: center 20%; }
.voice-card .body { padding: 20px 22px 22px; flex: 1; }
.voice-card .voice-attr {
  display: inline-block; margin-bottom: 10px;
  font-size: .72rem; font-weight: 800; color: #fff; background: var(--main);
  border-radius: 999px; padding: 3px 12px;
}
.voice-card h3 { margin: 0 0 10px; font-size: 1.06rem; color: var(--main-deep); line-height: 1.6; }
.voice-card p { margin: 0; color: var(--muted); font-size: .9rem; }

/* 先輩の声・Q&A詳細（voiceページ） */
.interview { max-width: 860px; margin: 0 auto; display: grid; gap: 30px; }
.interview-block {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(55, 62, 45, .07); overflow: hidden;
  display: grid; grid-template-columns: .8fr 1.2fr;
}
.interview-block .ph { aspect-ratio: auto; min-height: 100%; }
.interview-block .iv-body { padding: 28px 30px; }
.interview-block .voice-attr { margin-bottom: 8px; }
.interview-block h3 { margin: 0 0 16px; font-size: 1.14rem; color: var(--main-deep); line-height: 1.6; }
.iv-qa { margin-bottom: 14px; }
.iv-qa:last-child { margin-bottom: 0; }
.iv-qa .q { font-weight: 800; color: var(--main-deep); font-size: .95rem; margin: 0 0 4px; display: flex; gap: 8px; }
.iv-qa .q::before { content: "Q"; color: var(--accent-ink); font-family: var(--font-serif); flex: 0 0 auto; }
.iv-qa .a { margin: 0; color: var(--muted); font-size: .92rem; }

/* === シフト例カード === */
.shift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; margin: 0 auto; }
.shift-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 26px; box-shadow: 0 8px 26px rgba(55, 62, 45, .07);
}
.shift-card .shift-label {
  display: inline-block; font-size: .74rem; font-weight: 800; color: #fff;
  background: var(--main); border-radius: 999px; padding: 3px 14px; margin-bottom: 12px;
}
.shift-card h3 { margin: 0 0 12px; font-size: 1.1rem; color: var(--main-deep); }
.shift-days { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.shift-days span {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
  font-size: .82rem; font-weight: 800; background: var(--bg-deep); color: var(--muted);
}
.shift-days span.on { background: var(--main-pale); color: var(--main-deep); }
.shift-card p { margin: 0; color: var(--muted); font-size: .9rem; }

/* === 職種カード（募集要項） === */
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.job-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 26px; box-shadow: 0 8px 26px rgba(55, 62, 45, .07);
  display: flex; flex-direction: column;
}
.job-card .job-type {
  align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  color: #fff; border-radius: 999px; padding: 3px 14px; margin-bottom: 12px;
}
.job-card .job-type.seishain { background: var(--main); }
.job-card .job-type.part { background: var(--accent); }
.job-card h3 { margin: 0 0 6px; font-size: 1.16rem; color: var(--main-deep); }
.job-card .job-pay { margin: 4px 0 12px; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--accent-ink); }
.job-card .job-pay small { font-size: .55em; color: var(--muted); font-weight: 600; }
.job-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .88rem; }
.job-card dt { color: var(--muted); font-weight: 700; }
.job-card dd { margin: 0; color: #45524a; }

/* 情報テーブル（募集要項詳細・園情報） */
.info-table-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 26px rgba(55,62,45,.07); overflow: hidden; max-width: 860px; margin: 0 auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; font-size: .95rem; }
thead th { background: var(--main-pale); color: var(--main-deep); font-size: .88rem; }
tr:last-child td { border-bottom: 0; }
td.num { text-align: right; font-weight: 800; color: var(--main-deep); white-space: nowrap; }
.table-note { max-width: 860px; margin: 16px auto 0; color: var(--muted); font-size: .88rem; }
.table-note li { margin-bottom: 4px; }

/* ゴールド見出しアクセント */
.section-head .en.gold { color: var(--gold); }

/* 制度・特典グリッド（資格取得支援・子育て 等） */
.perk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.perk-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: 0 8px 26px rgba(55, 62, 45, .07);
}
.perk-card h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--main-deep); display: flex; gap: 10px; align-items: baseline; }
.perk-card h3::before { content: "○"; color: var(--accent-ink); font-weight: 800; flex: 0 0 auto; }
.perk-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* レスポンシブ（追加分） */
@media (max-width: 980px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .voice-grid, .job-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 14px; }
  .voice-grid, .job-grid { grid-template-columns: 1fr; }
  .shift-grid, .perk-grid { grid-template-columns: 1fr; }
  .interview-block { grid-template-columns: 1fr; }
  .interview-block .ph { aspect-ratio: 4 / 3; min-height: 0; }
  .timeline::before { left: 62px; }
  .tl-item { grid-template-columns: 54px 1fr; gap: 16px; }
  .tl-time { font-size: .88rem; }
  .hero-tags { gap: 8px; }
  .hero-tags .tag { font-size: .74rem; padding: 5px 12px; }
}

/* 情報テーブル：狭い画面では横スクロール */
@media (max-width: 560px) {
  .info-table-wrap.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .info-table-wrap.scroll table { min-width: 460px; }
}
