/* ==========================================================
   すこやか薬局 1ページ版（ライト）スタイル
   元デザイン: Claude Design「柴崎薬局ホームページリニューアル」
   色・余白・文字サイズは元デザインの値をそのまま使用
   ========================================================== */

/* ---------- 色・書体の定義 ---------- */
:root {
  --bg: #FAF7F1;          /* 生成りの背景 */
  --ink: #2B2F2A;         /* 本文の黒 */
  --ink-soft: #3F4A44;    /* あいさつ文など */
  --muted: #6B6F68;       /* 補足のグレー */
  --green-dark: #3F5A4A;  /* 帯・リンク */
  --green: #5B7B65;       /* ボタン・番号丸 */
  --green-pale: #EEF2ED;  /* 薄い緑の帯 */
  --green-tint: #EAF3E9;  /* 「対応可」バッジ */
  --line: #DDE3D9;        /* 罫線 */
  --accent: #C17B54;      /* テラコッタ（強調） */
  --accent-light: #E6A87C;/* 濃い帯の上の小見出し */
  --accent-tint: #FBEFE7; /* 「要確認」バッジ */
  --on-dark: #C7D0C5;     /* 濃い帯の上の本文 */
  --cream: #EDEAE0;       /* 写真の上の本文 */
  --font-head: 'Zen Kaku Gothic New', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

/* ---------- 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--ink); }
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--accent); }
iframe { border: 0; display: block; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
section[id] { scroll-margin-top: 76px; }

.container { max-width: 1264px; margin: 0 auto; padding: 0 32px; }
.container--md { max-width: 1064px; }
.container--sm { max-width: 964px; }

.section { padding: 80px 0; }
.section--lg { padding: 88px 0; }
.bg-pale { background: var(--green-pale); }

/* ---------- 見出し類 ---------- */
.eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; }
.eyebrow--wide { letter-spacing: 0.05em; margin-bottom: 8px; }
.eyebrow--light { color: var(--accent-light); }
.h-xl { font-family: var(--font-head); font-size: 28px; font-weight: 700; }
.h-lg { font-family: var(--font-head); font-size: 24px; font-weight: 700; margin-bottom: 28px; }
.h-md { font-family: var(--font-head); font-size: 22px; font-weight: 700; }
.note { font-size: 13.5px; color: var(--muted); }
.more-link { font-weight: 700; font-size: 14px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }

/* ---------- ボタン ---------- */
.btn { display: inline-block; border-radius: 999px; font-weight: 700; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover, .btn--green:hover { color: #fff; opacity: 0.9; }
.btn--outline { border: 2px solid #fff; color: #fff; padding: 14px 28px; font-size: 15px; }
.btn--outline:hover { color: #fff; background: rgba(255, 255, 255, 0.15); }
.btn--green { background: var(--green); color: #fff; padding: 10px 18px; font-size: 13px; }
.btn--xl { padding: 16px 28px; font-size: 15px; }
.btn--lg { padding: 14px 28px; font-size: 14px; }
.btn--md { padding: 12px 22px; font-size: 14px; }
.btn-row-center { margin-top: 32px; text-align: center; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { padding-top: 16px; padding-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 44px; width: auto; display: block; }
.brand span { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); }
.global-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; font-weight: 500; align-items: center; }
.global-nav .is-key { color: var(--accent); font-weight: 700; }

/* ---------- 写真ヒーロー（トップ・在宅訪問・採用） ---------- */
.photo-hero { position: relative; overflow: hidden; }
.photo-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.photo-hero .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.photo-hero h1, .photo-hero h2 { font-family: var(--font-head); font-weight: 900; color: #fff; }

.photo-hero--top { height: 640px; }
.photo-hero--top::before { background: linear-gradient(180deg, rgba(43, 47, 42, 0.5) 0%, rgba(43, 47, 42, 0.78) 100%); }
.photo-hero--top .container { gap: 24px; }
.photo-hero--top h1 { font-size: 44px; line-height: 1.5; max-width: 680px; }
.photo-hero--top p { font-size: 16px; color: var(--cream); max-width: 560px; line-height: 1.9; }
.hero-pill { background: rgba(255, 255, 255, 0.18); padding: 8px 18px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 700; width: fit-content; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

.photo-hero--sub .container { gap: 12px; }
.photo-hero--sub h2 { font-size: 30px; }
.photo-hero--sub p { color: var(--cream); font-size: 14px; }
.photo-hero--visit { height: 360px; }
.photo-hero--visit > img { object-position: right center; }
.photo-hero--visit::before { background: rgba(43, 47, 42, 0.6); }
.photo-hero--recruit { height: 340px; }
.photo-hero--recruit > img { object-position: center 40%; }
.photo-hero--recruit::before { background: rgba(43, 47, 42, 0.55); }

/* ---------- 濃い緑の見出し帯 ---------- */
.page-band { background: var(--green-dark); padding: 64px 0; }
.page-band .eyebrow { margin-bottom: 10px; }
.page-band h2 { font-family: var(--font-head); font-size: 32px; font-weight: 900; color: #fff; }
.page-band p { color: var(--on-dark); font-size: 14px; margin-top: 12px; }
.page-band--tall { padding: 72px 0; }
.page-band--tall p { font-size: 15px; line-height: 1.9; max-width: 680px; margin-top: 14px; }

/* ---------- カード類 ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); gap: 12px; }

.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 22px; }
.svc-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.svc-card__title { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.svc-card__text { font-size: 13px; color: var(--muted); line-height: 1.7; }

.lead-grid { gap: 24px; }
.lead-card { background: #fff; border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.lead-card p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.lead-card .more-link { margin-top: 8px; }
.lead-card--dark { background: var(--green-dark); }
.lead-card--dark h3 { color: #fff; }
.lead-card--dark p { color: var(--on-dark); }
.lead-card--dark .more-link { color: #fff; }

/* ---------- お知らせ ---------- */
.news-head { margin-bottom: 32px; }
.news-head h2 { font-family: var(--font-head); font-size: 24px; font-weight: 700; }
.news-brief a { display: flex; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.news-brief a:last-child { border-bottom: 0; }
.news-brief__date, .news-list__date { font-size: 13px; color: var(--muted); flex-shrink: 0; }
.news-brief__tag { font-size: 13px; color: var(--green-dark); flex-shrink: 0; background: var(--green-pale); padding: 2px 10px; border-radius: 999px; }
.news-brief__title { font-size: 14px; color: var(--ink); }

.news-list__row { display: grid; grid-template-columns: 110px 90px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.news-list__row:last-child { border-bottom: 0; }
.news-list__tag { font-size: 12px; color: var(--green-dark); background: var(--green-pale); padding: 3px 10px; border-radius: 999px; text-align: center; }
.news-list__title { font-size: 15px; font-weight: 500; }

/* ---------- 定義表（会社概要・募集要項） ---------- */
.def-list { border-top: 1px solid var(--line); margin: 0; }
.def-list > div { display: grid; grid-template-columns: 160px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.def-list > div:last-child { border-bottom: 0; }
.def-list dt { color: var(--muted); }
.def-list dd { margin: 0; }
.def-list--compact > div { grid-template-columns: 140px 1fr; padding: 16px 0; font-size: 13.5px; }

/* ---------- 代表あいさつ ---------- */
.greeting { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.greeting img { width: 260px; height: 300px; object-fit: cover; border-radius: 16px; display: block; }
.greeting h3 { margin-bottom: 20px; }
.greeting p { font-size: 14.5px; line-height: 2; color: var(--ink-soft); margin-bottom: 16px; }
.greeting p:last-of-type { margin-bottom: 24px; }
.greeting__sign { font-weight: 700; font-size: 14px; }

/* ---------- 経営理念 ---------- */
.policy-card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.policy-card__no { color: var(--accent); font-weight: 900; font-size: 22px; margin-bottom: 12px; }
.policy-card__title { font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.policy-card__text { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ---------- 店舗案内 ---------- */
.shop-list { display: flex; flex-direction: column; gap: 32px; }
.shop-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.shop-card iframe { width: 100%; height: 280px; }
.shop-card__body { padding: 32px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.shop-card__name { font-weight: 700; font-size: 18px; font-family: var(--font-head); }
.shop-card__info { font-size: 13.5px; color: var(--muted); line-height: 1.9; font-style: normal; }
.shop-card .btn { margin-top: 8px; }

/* ---------- サービス詳細 ---------- */
.svc-list { display: flex; flex-direction: column; gap: 72px; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.svc-row img { width: 100%; height: 260px; object-fit: cover; border-radius: 16px; display: block; }
.svc-row .eyebrow { margin-bottom: 8px; }
.svc-row h3 { margin-bottom: 12px; }
.svc-row p { font-size: 14px; color: var(--muted); line-height: 1.9; margin-bottom: 20px; }

/* ---------- 在宅訪問 ---------- */
.target-grid { gap: 16px; }
.target-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; font-size: 14px; line-height: 1.7; }

.fee-head { margin-bottom: 12px; }
.fee-note { margin-bottom: 24px; }
.table-card { background: #fff; border-radius: 16px; overflow: hidden; font-size: 13.5px; }
.table-card__row { display: grid; padding: 16px 24px; border-bottom: 1px solid var(--green-pale); }
.table-card__row:last-child { border-bottom: 0; }
.table-card__row--head { background: var(--green-dark); color: #fff; font-weight: 700; border-bottom: 0; }
.table-card--fee .table-card__row { grid-template-columns: 1fr 1fr; }
.table-card--work .table-card__row { grid-template-columns: 2fr 1fr 3fr; padding: 18px 28px; align-items: center; }
.table-card--work .table-card__row--head { padding: 16px 28px; }
.table-card__memo { color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.badge { border-radius: 999px; font-weight: 700; white-space: nowrap; }
.badge--ok { background: var(--green-tint); color: var(--green-dark); padding: 4px 12px; font-size: 12px; }
.badge--check { background: var(--accent-tint); color: var(--accent); padding: 2px 8px; font-size: 11px; }
.badge--type { background: var(--green-pale); color: var(--green-dark); padding: 6px 16px; font-size: 12.5px; }

.step-head { margin-bottom: 32px; }
.step__no { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; }
.step__title { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.step__text { font-size: 13px; color: var(--muted); line-height: 1.7; }

.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: #fff; border-radius: 14px; padding: 22px 26px; }
.faq__q { font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--green-dark); }
.faq__a { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ---------- ケアマネ・医療機関の方へ ---------- */
.num-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.num-head h3 { font-family: var(--font-head); font-size: 24px; font-weight: 700; }
.num-head__no { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.num-head--gap-lg { margin-bottom: 36px; }
.num-head--gap-md { margin-bottom: 32px; }
.num-head--on-dark h3 { color: #fff; }
.num-note { margin: 0 0 28px 40px; }
.num-note strong { color: var(--accent); font-weight: 700; }

.area-map { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.area-map iframe { width: 100%; height: 440px; }
.area-map__circle { position: absolute; top: 50%; left: 50%; width: 340px; height: 340px; transform: translate(-50%, -50%); border-radius: 50%; border: 3px dashed var(--accent); background: rgba(193, 123, 84, 0.08); pointer-events: none; }
.area-map__label { position: absolute; top: 16px; left: 16px; background: #fff; padding: 10px 16px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--green-dark); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.area-shops { gap: 16px; margin-top: 20px; }
.area-shop { border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: 13px; }
.area-shop__name { font-weight: 700; margin-bottom: 4px; }
.area-shop__addr { color: var(--muted); }

.flow-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 16px; }
.flow-card__no { color: var(--accent); font-weight: 900; font-size: 18px; margin-bottom: 10px; }
.flow-card__title { font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.flow-card__text { font-size: 12px; color: var(--muted); line-height: 1.6; }
.flow-card--goal { background: var(--green); border-color: var(--green); }
.flow-card--goal .flow-card__no, .flow-card--goal .flow-card__title { color: #fff; }
.flow-card--goal .flow-card__text { color: var(--green-tint); }

.request-band { background: var(--green-dark); padding: 72px 0; }
.request-card { background: #fff; border-radius: 16px; padding: 32px; }
.request-card__title { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.request-card__text { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.request-card--accent { background: var(--accent); }
.request-card--accent .request-card__title { color: #fff; }
.request-card--accent .request-card__text { color: #FBEADD; }
.pill-link { display: inline-flex; align-items: center; gap: 8px; background: var(--green-pale); color: var(--green-dark); padding: 12px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.pill-link--tel { background: #fff; color: var(--accent); font-size: 15px; font-weight: 900; }
.pill-link--tel:hover { color: var(--green-dark); }

/* ---------- 採用情報 ---------- */
.job-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; }
.job-card__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.job-card__name { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.info-card { background: #fff; border-radius: 16px; padding: 32px; }
.info-card__title { font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.info-card p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.apply-steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 12px; color: #fff; }
.footer-title { font-weight: 700; margin-bottom: 12px; font-size: 14px; color: #fff; }
.site-footer p { font-size: 13px; line-height: 1.8; color: var(--on-dark); max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-links a { color: var(--on-dark); }
.footer-links a:hover { color: var(--accent-light); }
.footer-copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 12px; color: #9FAE9B; }

/* ==========================================================
   画面幅ごとの調整（元デザインはパソコン幅のみ。崩れ防止として追加）
   ========================================================== */
@media (max-width: 1000px) {
  .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section[id] { scroll-margin-top: 110px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section, .section--lg { padding: 56px 0; }
  .page-band, .page-band--tall, .request-band { padding: 48px 0; }
  .page-band h2 { font-size: 26px; }

  /* メニューは折り返さず横スクロールにして、ヘッダーの高さを抑える */
  .header-inner { gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .brand img { height: 36px; }
  .brand span { font-size: 18px; }
  .global-nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; white-space: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  section[id] { scroll-margin-top: 100px; }

  .photo-hero--top { height: auto; padding: 72px 0; }
  .photo-hero--top h1 { font-size: 28px; }
  .photo-hero--top p { font-size: 14.5px; }
  .photo-hero--sub { height: auto; padding: 64px 0; }
  .photo-hero--sub h2 { font-size: 24px; }
  .h-xl { font-size: 22px; }
  .h-lg { font-size: 21px; }
  .h-md, .num-head h3 { font-size: 19px; }

  .grid--2, .shop-card, .svc-row, .greeting { grid-template-columns: 1fr; }
  .svc-row { gap: 20px; }
  .svc-row img { height: 200px; }
  .greeting { gap: 24px; }
  .lead-card, .job-card { padding: 28px 22px; }
  .shop-card iframe { height: 220px; }
  .shop-card__body { padding: 24px 22px; }

  .def-list > div, .def-list--compact > div { grid-template-columns: 96px 1fr; }
  .news-brief a { flex-wrap: wrap; gap: 6px 12px; }
  .news-brief__title { width: 100%; }
  .news-list__row { grid-template-columns: auto auto 1fr; gap: 6px 12px; padding: 18px 0; }
  .news-list__title { grid-column: 1 / -1; }
  .news-list__tag { justify-self: start; }

  .table-card__row, .table-card--work .table-card__row, .table-card--work .table-card__row--head { padding: 14px 16px; }
  .table-card--work .table-card__row { grid-template-columns: 1fr auto; row-gap: 8px; }
  .table-card--work .table-card__row--head > :last-child { display: none; }
  .table-card__memo { grid-column: 1 / -1; }
  .num-note { margin-left: 0; }
  .area-map iframe { height: 340px; }
  .area-map__circle { width: 240px; height: 240px; }
}

@media (max-width: 480px) {
  .grid--4, .grid--5, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .photo-hero--top h1 { font-size: 23px; } /* 1行目が画面幅に収まる大きさ */
}
