@charset "UTF-8";

/* =========================================================
   デイサービス えんがわ（デモサイト）
   Irodori Web / ハナ
   ---------------------------------------------------------
   ①工務店（木・明朝）②歯科（青・ゴシック）③士業（深緑・明朝）
   ④割烹（墨黒）とは真逆に振る。明るい・あたたかい・やわらかい。
   読むのは50〜60代以上なので、文字を一段大きくする。
   ========================================================= */

:root {
  --white:  #ffffff;
  --cream:  #fdf8f0;   /* クリーム。セクション背景 */
  --ink:    #3d3833;
  --ink-sub:#736c64;
  --orange: #e8944a;   /* 陽だまりの色。主色 */
  --orange-lt:#fcefe0;
  --green:  #8fb85a;   /* 植物のやさしい黄緑。副色 */
  --line:   #e8e0d5;

  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;

  --pad-section: 96px;
  --wrap: 1120px;
  --wrap-text: 740px;
  --radius: 18px;      /* 大きめの角丸。割烹・士業と真逆 */
}

/* ---------- リセット ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;      /* ★他の4本より一段大きい */
  line-height: 2.05;      /* ★行間も広い */
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.03em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 共通 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap-text { max-width: var(--wrap-text); }
.section { padding-block: var(--pad-section); }
.section--cream { background: var(--cream); }
.section--orange { background: var(--orange); color: var(--white); }

.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange);
  background: var(--orange-lt);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.section--orange .label { color: var(--white); background: rgba(255,255,255,0.22); }
.heading { font-size: 29px; line-height: 1.65; letter-spacing: 0.03em; margin-bottom: 32px; }
.heading--center { text-align: center; }
.heading small { display: block; font-size: 15.5px; font-weight: 400; color: var(--ink-sub); margin-top: 16px; }
.section--orange .heading small { color: rgba(255,255,255,0.9); }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  padding: 20px 46px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(232, 148, 74, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(232, 148, 74, 0.36); }
.btn--light { background: var(--white); color: var(--orange); box-shadow: 0 5px 16px rgba(0,0,0,0.12); }
.btn--green { background: var(--green); box-shadow: 0 5px 16px rgba(143, 184, 90, 0.3); }
.btn--outline { background: var(--white); color: var(--orange); border: 2px solid var(--orange); box-shadow: none; }
.btn--outline:hover { background: var(--orange-lt); }

.more { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-size: 16px; font-weight: 700; }
.more::after { content: "→"; transition: transform 0.3s; }
.more:hover::after { transform: translateX(5px); }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.95);
  transition: box-shadow 0.3s;
}
.header.is-scrolled { box-shadow: 0 2px 14px rgba(61, 56, 51, 0.08); }
.header__logo { font-size: 21px; font-weight: 700; line-height: 1.3; }
.header__logo span { display: block; font-size: 11px; font-weight: 400; color: var(--ink-sub); letter-spacing: 0.1em; margin-top: 3px; }
.header__right { display: flex; align-items: center; gap: 24px; }
.gnav ul { display: flex; gap: 24px; }
.gnav a { font-size: 15px; font-weight: 700; position: relative; padding-block: 4px; }
.gnav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.header__cta .btn { padding: 13px 26px; font-size: 15px; }
.burger { display: none; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; padding-top: 76px; }
.hero__img { width: 100%; height: min(62vh, 540px); object-fit: cover; }
.hero__copy {
  position: absolute;
  left: 6%;
  top: 54%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  padding: 40px 44px;
  border-radius: var(--radius);
  max-width: 560px;
}
.hero__copy h1 { font-size: clamp(23px, 2.7vw, 33px); line-height: 1.7; }
.hero__copy p { margin: 18px 0 0; font-size: 16.5px; color: var(--ink-sub); }

/* ---------- 3方向の受け皿カード ---------- */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.who__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}
.who__item h3 { font-size: 19px; margin-bottom: 14px; color: var(--orange); }
.who__item p { margin: 0 0 20px; font-size: 15.5px; color: var(--ink-sub); line-height: 2.0; }

/* ---------- 一日の流れ（タイムライン） ---------- */
.timeline { counter-reset: tl; }
.timeline__item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 32px;
  padding-bottom: 44px;
  position: relative;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 53px; top: 34px; bottom: 0;
  width: 2px;
  background: var(--orange-lt);
}
.timeline__item:last-child::before { display: none; }
.timeline__time {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  background: var(--orange);
  border-radius: 999px;
  height: 46px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.timeline__body { padding-top: 6px; }
.timeline__title { font-size: 20px; margin-bottom: 12px; }
.timeline__text { font-size: 15.5px; color: var(--ink-sub); margin: 0; }
.timeline__img { margin-top: 18px; border-radius: 14px; overflow: hidden; }
.timeline__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- 写真グリッド ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.photo-grid figcaption { font-size: 14.5px; color: var(--ink-sub); margin-top: 10px; }
.photo-grid .span2 { grid-column: span 2; }

/* ---------- 大きな1枚 ---------- */
.full-photo { height: 54vh; min-height: 320px; overflow: hidden; }
.full-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 考え方 ---------- */
.policy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.policy__item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  border: 1px solid var(--line);
}
.policy__num {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--orange-lt);
  color: var(--orange);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}
.policy__title { font-size: 20px; margin-bottom: 14px; }
.policy__text { font-size: 15.5px; color: var(--ink-sub); margin: 0; }

/* ---------- 情報テーブル ---------- */
.data-table { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.data-table th, .data-table td { padding: 20px 22px; text-align: left; vertical-align: top; font-size: 16px; border-bottom: 1px solid var(--line); font-weight: normal; }
.data-table thead th { background: var(--orange-lt); font-weight: 700; font-size: 15.5px; }
.data-table tbody th { width: 34%; font-weight: 700; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }

/* ---------- 料金 ---------- */
.price-table { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 18px 22px; font-size: 16px; border-bottom: 1px solid var(--line); text-align: left; font-weight: normal; }
.price-table thead th { background: var(--orange-lt); font-weight: 700; font-size: 15.5px; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }

/* ---------- 注記 ---------- */
.note-box { background: var(--orange-lt); border-radius: var(--radius); padding: 26px 30px; font-size: 15.5px; line-height: 2.05; }
.note-box strong { color: #c4762f; }
.note-box--plain { background: var(--white); border: 1px solid var(--line); }

/* ---------- チェックリスト ---------- */
.checklist { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; }
.checklist li { position: relative; padding-left: 34px; font-size: 16px; margin-bottom: 16px; line-height: 1.95; }
.checklist li:last-child { margin-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 7px; top: 15px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

/* ---------- 採用（このサイト固有の見せ場） ---------- */
.recruit-hero {
  background: linear-gradient(135deg, var(--green), #7ba84d);
  color: var(--white);
  border-radius: var(--radius);
  padding: 52px 48px;
  text-align: center;
}
.recruit-hero h2 { font-size: 27px; line-height: 1.7; margin-bottom: 18px; }
.recruit-hero p { font-size: 16.5px; margin: 0 0 30px; color: rgba(255,255,255,0.92); }
.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 34px 38px;
  margin-bottom: 22px;
}
.job-card__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.job-card__title { font-size: 22px; }
.job-card__tag { font-size: 13px; font-weight: 700; color: var(--white); background: var(--green); padding: 5px 14px; border-radius: 999px; }
.job-card__tag--part { background: var(--orange); }
.job-table th, .job-table td { padding: 14px 0; font-size: 15.5px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: normal; }
.job-table th { width: 150px; font-weight: 700; color: var(--ink-sub); }
.job-table tr:last-child th, .job-table tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 16px; }
.faq__q { font-size: 17.5px; font-weight: 700; margin: 0 0 14px; display: flex; gap: 14px; }
.faq__q::before { content: "Q"; color: var(--orange); }
.faq__a { margin: 0; font-size: 15.5px; color: var(--ink-sub); display: flex; gap: 14px; line-height: 2.05; }
.faq__a::before { content: "A"; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ---------- フォーム ---------- */
.form-note { background: var(--orange-lt); border-radius: var(--radius); padding: 24px 28px; font-size: 15.5px; line-height: 2.0; margin-bottom: 48px; }
.form-row { margin-bottom: 30px; }
.form-row label { display: block; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.form-row .req { font-size: 12px; background: var(--orange); color: var(--white); padding: 3px 10px; border-radius: 6px; margin-left: 10px; vertical-align: 2px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 15px 16px;
  font-family: inherit;
  font-size: 16.5px;
  color: var(--ink);
  transition: border-color 0.3s;
}
.form-row textarea { min-height: 160px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--orange); }
.form-submit { text-align: center; margin-top: 44px; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta__title { font-size: clamp(23px, 2.6vw, 30px); line-height: 1.7; margin-bottom: 20px; }
.cta__text { font-size: 16.5px; margin-bottom: 36px; }
.section--orange .cta__text { color: rgba(255,255,255,0.92); }
.cta__btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- フッター ---------- */
.footer { background: var(--cream); padding: 66px 0 32px; font-size: 15.5px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.footer__logo { font-size: 21px; font-weight: 700; }
.footer__addr { margin-top: 16px; color: var(--ink-sub); line-height: 2.0; }
.footer__nav ul { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a { font-size: 15.5px; }

.demo-note { margin-top: 32px; padding: 22px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; line-height: 2.0; color: var(--ink-sub); }
.demo-note strong { color: var(--ink); }
.copyright { margin-top: 26px; font-size: 12.5px; color: var(--ink-sub); text-align: center; }

/* ---------- フェード ---------- */
.fade { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   スマートフォン
   ========================================================= */
@media (max-width: 900px) {
  :root { --pad-section: 60px; }
  body { font-size: 16px; }

  .header { padding: 12px 18px; }
  .header__logo { font-size: 18px; }
  .header__cta { display: none; }

  .burger {
    display: block;
    width: 28px; height: 19px;
    position: relative;
    background: none; border: 0; padding: 0;
    z-index: 110; cursor: pointer;
  }
  .burger span { position: absolute; left: 0; width: 100%; height: 3px; border-radius: 2px; background: var(--ink); transition: transform 0.35s, opacity 0.25s; }
  .burger span:nth-child(1) { top: 0; }
  .burger span:nth-child(2) { top: 50%; margin-top: -1.5px; }
  .burger span:nth-child(3) { bottom: 0; }
  .burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(22deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-22deg); }

  .gnav {
    position: fixed; inset: 0;
    background: var(--white);
    display: grid; place-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    z-index: 105;
  }
  .gnav.is-open { opacity: 1; visibility: visible; }
  .gnav ul { flex-direction: column; gap: 28px; text-align: center; }
  .gnav a { font-size: 18px; }

  .hero { padding-top: 58px; }
  .hero__img { height: 42vh; min-height: 240px; }
  .hero__copy {
    position: static; transform: none; max-width: none;
    margin: -34px 16px 0;
    padding: 28px 24px;
    background: var(--white);
    box-shadow: 0 6px 20px rgba(61,56,51,0.1);
  }
  .hero__copy h1 { font-size: 22px; line-height: 1.75; }

  .who, .policy { grid-template-columns: 1fr; gap: 18px; }
  .photo-grid { grid-template-columns: 1fr; gap: 16px; }
  .photo-grid .span2 { grid-column: span 1; }

  .timeline__item { grid-template-columns: 84px 1fr; gap: 18px; padding-bottom: 34px; }
  .timeline__item::before { left: 41px; top: 30px; }
  .timeline__time { font-size: 15px; height: 40px; }
  .timeline__title { font-size: 18px; }

  .heading { font-size: 23px; margin-bottom: 24px; }
  .data-table th, .data-table td { padding: 15px 14px; font-size: 15px; }
  .data-table tbody th { width: 38%; }
  .price-table th, .price-table td { padding: 15px 14px; font-size: 15px; }
  .checklist { padding: 24px 24px; }
  .recruit-hero { padding: 36px 24px; }
  .recruit-hero h2 { font-size: 21px; }
  .job-card { padding: 26px 24px 30px; }
  .job-table th { width: 110px; font-size: 14.5px; }
  .job-table td { font-size: 15px; }
  .full-photo { height: 40vh; min-height: 220px; }
  .footer__top { flex-direction: column; gap: 26px; }
}
