@charset "UTF-8";
/* ==========================================================
   みさきケアサポート Plan2  「信頼・プロフェッショナル」パターン
   ========================================================== */

:root {
  --color-header-bg: #5cf073;
  --color-footer-bg: #5cf073;
  --color-navy: #2a7536;
  --color-navy-light: #3f964c;
  --color-navy-lighter: #5cf073;
  --color-navy-deep: #1c4d24;
  --color-gold: #2a7536;
  --color-gold-light: #bafbc4;
  --color-gold-deep: #2a7536;
  --color-bg: #bafbc4;
  --color-bg-alt: #bafbc4;
  --color-text: #3f4a45;
  --color-text-light: #7c8b83;
  --color-white: #ffffff;
  --color-border: #d0f5d8;
  --color-accent: #2a7536;
  --color-accent-light: #bafbc4;
  --shadow-soft: 0 20px 45px rgba(42, 117, 54, 0.16);
  --shadow-card: 0 10px 24px rgba(42, 117, 54, 0.10);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --font-base: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-heading: "Zen Maru Gothic", "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  --container: 1160px;

  /* pタグ font-size 一元管理: ここの値だけ変更すれば各箇所に反映されます */
  --fs-p-base: 16.5px;         /* 通常の本文p（body継承） */
  --fs-p-lead: 16.5px;         /* .section-head p（見出し下のリード文） */
  --fs-p-page-lead: 14.5px;    /* .page-header .lead（ページ上部のリード文） */
  --fs-p-hero: 16px;           /* .hero-copy p（ヒーローの説明文） */
  --fs-p-card: 14.5px;         /* .service-card p（サービスカード本文） */
  --fs-p-detail: 14.5px;       /* .detail-copy p（サービス詳細本文） */
  --fs-p-flow: 14px;           /* .flow-step p（ご利用の流れ） */
  --fs-p-legal: 15px;          /* .legal p（プライバシーポリシー本文） */
  --fs-p-voice: 14px;          /* .voice-card p.text（お客様の声本文） */
  --fs-p-footer: 13px;         /* .site-footer p（フッター住所など） */
  --fs-p-form-privacy: 13px;   /* .form-privacy */
  --fs-p-form-note: 13.5px;    /* .form-note */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.9;
  font-size: var(--fs-p-base);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.5; font-family: var(--font-heading); }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 104px 0; }
@media (max-width: 768px) { section { padding: 68px 0; } }

/* ---------- 共通見出し ---------- */
.section-head { text-align: center; max-width: 660px; margin: 0 auto 60px; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-navy); background: var(--color-accent-light);
  font-weight: 700; font-size: 13px; letter-spacing: 0.03em;
  padding: 7px 20px; border-radius: 999px; margin-bottom: 18px;
}
.section-head h2 { font-size: 32px; font-weight: 700; color: var(--color-navy); letter-spacing: 0.01em; }
.section-head p { color: var(--color-text-light); margin-top: 16px; font-size: var(--fs-p-lead); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 36px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--color-navy); color: #fff; }
.btn-primary:hover { background: var(--color-navy-light); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--color-navy); color: var(--color-navy); }
.btn-outline:hover { background: var(--color-navy); color: #fff; }
.btn-gold { background: var(--color-gold); color: #fff; }
.btn-gold:hover { background: var(--color-gold-light); color: var(--color-navy-deep); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; max-width: 1400px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 56px; height: 56px; }
.brand-name { font-weight: 700; font-size: 22px; color: #fff; font-family: var(--font-heading); letter-spacing: 0.03em; }
.brand-name small { display: inline; font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.85); letter-spacing: 0.1em; font-family: var(--font-base); margin-left: 0.5em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14.5px; letter-spacing: 0.03em;
  color: rgba(28,77,36,0.75); transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--color-navy-deep); background: rgba(28,77,36,0.08); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.tel-link { display: flex; flex-direction: column; text-align: right; font-size: 15px; font-weight: 700; color: rgba(28,77,36,0.65); }
.tel-link strong { font-size: 18px; color: var(--color-navy-deep); font-weight: 700; letter-spacing: 0.03em; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: none;
  background: rgba(28,77,36,0.08); position: relative; cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--color-navy-deep);
  transition: 0.25s ease;
}
.nav-toggle span { top: 20px; }
.nav-toggle::before { top: 13px; }
.nav-toggle::after { top: 27px; }
.nav-toggle.is-open::before { top: 20px; transform: rotate(45deg); }
.nav-toggle.is-open::after { top: 20px; transform: rotate(-135deg); }
.nav-toggle.is-open span { opacity: 0; }

@media (max-width: 1240px) {
  .main-nav {
    position: fixed; inset: 68px 16px auto 16px; background: var(--color-navy);
    border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
    flex-direction: column; align-items: stretch; padding: 10px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: 0.25s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { text-align: center; color: rgba(255,255,255,0.85); }
  .main-nav a:hover, .main-nav a.is-active { color: #fff; background: rgba(255,255,255,0.14); }
  .nav-toggle { display: block; }
  .tel-link { display: none; }
}

@media (max-width: 640px) {
  .header-actions .btn { display: none; }
}

/* ---------- ページヘッダー ---------- */
.page-header {
  background: var(--color-footer-bg);
  padding: 76px 0 64px; text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(42,117,54,0.15), transparent 45%);
}
.page-header h1 { position: relative; font-size: 32px; font-weight: 700; color: var(--color-navy-deep); letter-spacing: 0.03em; }
.page-header .lead { position: relative; color: rgba(28,77,36,0.75); margin-top: 12px; font-size: var(--fs-p-page-lead); }
.breadcrumb { position: relative; margin-top: 20px; font-size: 12.5px; color: rgba(28,77,36,0.6); }
.breadcrumb a { color: var(--color-navy-deep); font-weight: 700; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(30,32,34,0.80) 0%, rgba(30,32,34,0.55) 45%, rgba(30,32,34,0.28) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 740px; }
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; background: rgba(255,255,255,0.16);
  font-weight: 700; font-size: 13px; letter-spacing: 0.03em;
  padding: 8px 20px; border-radius: 999px; margin-bottom: 26px;
}
.hero-copy h1 { font-size: 42px; font-weight: 700; margin-bottom: 22px; letter-spacing: 0.01em; }
.hero-copy p { color: rgba(255,255,255,0.82); font-size: var(--fs-p-hero); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-pad { padding-top: 120px; padding-bottom: 80px; }
.hero-outline-btn { border-color: rgba(255,255,255,0.6); color: #fff; }

.stats-bar {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 64px; padding-top: 36px;
}
.stats-bar .stat { text-align: left; padding-right: 20px; }
.stats-bar .stat .num { font-size: 30px; font-weight: 700; color: var(--color-gold-light); font-family: var(--font-heading); }
.stats-bar .stat .label { font-size: 12.5px; color: rgba(255,255,255,0.68); margin-top: 4px; }

@media (max-width: 900px) {
  .hero { display: block; min-height: auto; padding: 0; color: var(--color-text); }
  .hero-bg { position: relative; inset: auto; width: 100%; aspect-ratio: 1408 / 768; overflow: hidden; }
  .hero-bg img { position: static; }
  .hero-bg::after { display: none; }
  .hero-pad { padding-top: 32px; padding-bottom: 48px; }
  .hero-copy .eyebrow { color: var(--color-navy); background: var(--color-accent-light); }
  .hero-copy h1 { font-size: 28px; color: var(--color-navy); }
  .hero-copy p { color: var(--color-text-light); }
  .hero-outline-btn { border-color: var(--color-navy); color: var(--color-navy); }
  .stats-bar { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; border-top-color: var(--color-border); }
  .stats-bar .stat .num { color: var(--color-navy); }
  .stats-bar .stat .label { color: var(--color-text-light); }
}

/* ---------- 選ばれる理由(バッジ) ---------- */
.badges-strip { background: var(--color-bg); }
.badges-row { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.badge-item { text-align: center; width: 160px; }
.badge-item img { width: 150px; height: 150px; margin: 0 auto 12px; }
.badge-item span { font-size: 13px; font-weight: 700; color: var(--color-text-light); letter-spacing: 0.02em; }

/* ---------- サービスカード ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fff; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-card); border-top: 3px solid var(--color-gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.service-card figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; position: relative; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover img { transform: scale(1.06); }
.service-card .body { padding: 24px 22px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 10px; color: var(--color-navy); }
.service-card p { font-size: var(--fs-p-card); color: var(--color-text-light); flex: 1; }
.service-card .more { margin-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--color-gold-deep); letter-spacing: 0.05em; }

/* ---------- 詳細サービス ---------- */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 60px 0; border-bottom: 1px solid var(--color-border); position: relative;
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse .detail-figure { order: 2; }
.service-detail.reverse .detail-copy { order: 1; }
.detail-figure { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 5/4; }
.detail-figure img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy .num {
  font-size: 44px; font-weight: 700; color: var(--color-bg-alt); font-family: var(--font-heading);
  display: block; line-height: 1; margin-bottom: -6px;
}
.detail-copy h3 { font-size: 23px; font-weight: 700; margin: 6px 0 16px; color: var(--color-navy); }
.detail-copy p { color: var(--color-text-light); font-size: var(--fs-p-detail); }
.detail-copy ul { margin-top: 18px; }
.detail-copy li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 14px; }
.detail-copy li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 1.5px; background: var(--color-gold-deep);
}
@media (max-width: 860px) {
  .service-detail, .service-detail.reverse { grid-template-columns: 1fr; }
  .service-detail.reverse .detail-figure, .service-detail.reverse .detail-copy { order: initial; }
}

/* ---------- 流れ ---------- */
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
@media (max-width: 900px) { .flow-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow-steps { grid-template-columns: 1fr; } }
.flow-step { background: #fff; padding: 34px 26px; text-align: center; }
.flow-step .step-no {
  font-size: 34px; font-weight: 700; color: var(--color-gold-deep); font-family: var(--font-heading);
  margin-bottom: 12px;
}
.flow-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--color-navy); }
.flow-step p { font-size: var(--fs-p-flow); color: var(--color-text-light); margin: 0; }

/* ---------- 事業所概要 ---------- */
.company-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
@media (max-width: 900px) { .company-wrap { grid-template-columns: 1fr; } }
.company-figure { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--color-border); }
.info-table th, .info-table td { text-align: left; padding: 18px 22px; font-size: 14px; }
.info-table th { width: 130px; background: #fff; color: var(--color-navy); font-weight: 700; letter-spacing: 0.02em; border-right: 1px solid var(--color-border); }
.info-table tr:not(:last-child) th, .info-table tr:not(:last-child) td { border-bottom: 1px solid var(--color-border); }
.info-table td a { color: var(--color-navy); font-weight: 700; border-bottom: 1px solid var(--color-gold); }

/* ---------- プライバシーポリシー ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 19px; font-weight: 700; color: var(--color-navy); margin: 44px 0 14px; font-family: var(--font-heading); }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--color-text-light); font-size: var(--fs-p-legal); line-height: 1.9; }
.legal ul { color: var(--color-text-light); font-size: 15px; line-height: 1.9; padding-left: 1.4em; margin: 0 0 1em; }
.legal .legal-date { margin-top: 48px; text-align: right; color: var(--color-text-light); font-size: 13.5px; }

.map-frame { margin-top: 28px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--color-border); }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- お客様の声 ---------- */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .voice-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .voice-grid { grid-template-columns: 1fr; } }
.voice-card { background: #fff; border: 1px solid var(--color-border); padding: 32px 28px; position: relative; }
.voice-card::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 3px; border-radius: 0 0 3px 0; background: var(--color-accent); }
.voice-card p.text { color: var(--color-text); font-size: var(--fs-p-voice); margin-bottom: 22px; }
.voice-who { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--color-border); padding-bottom: 16px; margin-bottom: 18px; }
.voice-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--color-accent);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-weight: 700; font-size: 14px; flex-shrink: 0; font-family: var(--font-heading);
}
.voice-who .name { font-size: 13px; font-weight: 700; color: var(--color-navy); }
.voice-who .role { font-size: 11.5px; color: var(--color-text-light); }

/* ---------- CTAバナー ---------- */
.cta-banner {
  background: var(--color-navy); padding: 60px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(186,251,196,0.18), transparent 45%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { font-size: 25px; font-weight: 700; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.82); margin: 0; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.55); color: #fff; }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,0.14); }

/* ---------- フォーム ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info { background: var(--color-bg); border: 1px solid var(--color-border); padding: 36px; height: fit-content; }
.contact-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 20px; color: var(--color-navy); }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .icon {
  width: 42px; height: 42px; border-radius: 50%; background: var(--color-accent-light);
  color: var(--color-navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px;
}
.contact-info .item strong { display: block; font-size: 13.5px; margin-bottom: 3px; color: var(--color-navy); }
.contact-info .item span, .contact-info .item a { font-size: 13px; color: var(--color-text-light); }

.contact-form { background: #fff; border: 1px solid var(--color-border); padding: 42px; }
.form-row { margin-bottom: 24px; }
.form-row label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 9px; color: var(--color-navy); }
.form-row label .required { color: #fff; background: var(--color-navy); font-size: 10px; padding: 2px 9px; border-radius: 999px; margin-left: 8px; font-weight: 700; }
.form-row label .optional { color: var(--color-text-light); font-size: 10px; font-weight: 700; margin-left: 8px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border); font-family: inherit; font-size: 14px;
  background: #f7fbf9; transition: border-color 0.2s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--color-navy); }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-privacy { font-size: var(--fs-p-form-privacy); color: var(--color-text-light); margin-bottom: 24px; }
.form-note { font-size: var(--fs-p-form-note); color: var(--color-text-light); margin-top: 12px; }
.form-error { color: #b5615c; font-size: 12.5px; margin-top: 6px; display: none; }

/* ---------- フッター ---------- */
.site-footer { background: var(--color-footer-bg); color: var(--color-navy-deep); padding: 68px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand span { font-weight: 700; font-size: 16px; color: #fff; font-family: var(--font-heading); }
.site-footer p { color: rgba(28,77,36,0.8); font-size: var(--fs-p-footer); }
.footer-col h4 { color: var(--color-navy-deep); font-size: 13.5px; margin-bottom: 18px; font-weight: 700; letter-spacing: 0.06em; }
.footer-col li { margin-bottom: 11px; }
.footer-col-voice { margin-top: 34px; }
@media (max-width: 760px) { .footer-col-voice { margin-top: 0; } }
.footer-col a { font-size: 13px; color: rgba(28,77,36,0.8); }
.footer-col a:hover { color: var(--color-navy); }
.footer-bottom { border-top: 1px solid rgba(28,77,36,0.15); padding-top: 24px; text-align: center; font-size: 12px; color: rgba(28,77,36,0.65); letter-spacing: 0.04em; }

/* ---------- スクロールリビール ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- ユーティリティ ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.bg-alt { background: var(--color-bg); }
