@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800&family=Noto+Serif+JP:wght@500;600;700&display=swap");

:root {
  --ink: #27322f;
  --muted: #66736f;
  --primary: #2f765f;
  --primary-dark: #1f4f43;
  --secondary: #d88945;
  --secondary-dark: #a85f24;
  --accent: #df6f91;
  --accent-soft: #fdebf1;
  --line: #06c755;
  --bg: #fffaf5;
  --soft: #eef7f1;
  --warm: #fff1e4;
  --border: #e5ded7;
  --content: min(1120px, calc(100vw - 40px));
  --font-body: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Noto Serif JP", "Noto Sans JP", serif;
  --fs-body: 16px;
  --fs-lead: 19px;
  --fs-heading: 38px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--font-body); font-size: var(--fs-body); font-weight: 400; line-height: 1.95; font-feature-settings: "palt"; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,250,246,.94); border-bottom: 1px solid var(--border); backdrop-filter: blur(16px); }
.site-header__inner { width: var(--content); margin: 0 auto; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { text-decoration: none; }
.site-logo__image { width: auto; height: 72px; }
.site-logo__name { display: block; font-family: var(--font-body); font-size: var(--fs-lead); line-height: 1.1; font-weight: 800; color: var(--primary); }
.site-logo__sub { display: block; color: var(--muted); font-size: var(--fs-body); line-height: 1.4; }
.global-nav__list, .footer-nav__list { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-body); font-weight: 500; }
.global-nav a, .footer-nav a { text-decoration: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: #fff; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); }
.hero { width: var(--content); min-height: calc(100svh - 72px); margin: 0 auto; padding: 64px 0 48px; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 48px; }
.hero h1, .page-hero h1 { margin: 0; font-family: var(--font-heading); font-size: var(--fs-heading); line-height: 1.55; letter-spacing: 0; font-weight: 700; }
.hero__lead, .page-hero p { color: var(--muted); font-size: var(--fs-lead); line-height: 2; }
.hero__image { min-height: 460px; border-radius: 8px; overflow: hidden; background: var(--soft); }
.hero__image img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.hero-collage { position: relative; overflow: visible; border-radius: 0; background: transparent; }
.hero-collage__main { width: 82%; min-height: 460px; border-radius: 8px; object-fit: cover; box-shadow: 0 18px 50px rgba(31,58,51,.16); }
.hero-collage__sub { position: absolute; width: 42%; min-height: 0 !important; aspect-ratio: 4 / 3; border: 8px solid var(--bg); border-radius: 8px; object-fit: cover; box-shadow: 0 14px 34px rgba(31,58,51,.18); }
.hero-collage__sub--one { right: 0; bottom: 34px; }
.hero-collage__sub--two { right: 8%; top: -24px; width: 32%; }
.image-placeholder { min-height: 420px; display: grid; place-items: center; color: var(--muted); padding: 24px; text-align: center; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: var(--fs-body); font-weight: 800; text-transform: uppercase; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 6px; border: 1px solid transparent; text-decoration: none; font-weight: 700; line-height: 1.4; }
.button--primary { background: var(--primary); color: #fff; }
.button--secondary { background: var(--secondary); color: #fff; }
.button--line { background: var(--line); color: #fff; }
.button--ghost { background: #fff; border-color: var(--border); }
.section { width: var(--content); margin: 0 auto; padding: 72px 0; }
.section--soft, .section--branch { width: 100%; padding-left: max(20px, calc((100vw - 1120px) / 2)); padding-right: max(20px, calc((100vw - 1120px) / 2)); }
.section--soft { background: linear-gradient(180deg, var(--warm), #fff8ef); }
.section__head { max-width: 720px; margin-bottom: 32px; }
.section h2, .page-content h1 { margin: 0 0 16px; font-family: var(--font-heading); font-size: var(--fs-heading); line-height: 1.55; letter-spacing: 0; font-weight: 700; }
.branch-grid, .value-grid, .voice-list, .contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.branch-card, .value-grid article, .voice-card, .contact-box, .check-panel, .cta-panel, .notice-box { border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 24px; }
.branch-card h3, .value-grid h3, .voice-card h3, .contact-box h3, .check-panel h3, .cta-panel h3 { margin-top: 0; font-family: var(--font-body); font-size: var(--fs-lead); line-height: 1.55; letter-spacing: 0; font-weight: 800; }
.branch-card a, .voice-card a { color: var(--primary); font-weight: 700; }
.branch-card--primary { border-top: 5px solid var(--primary); }
.branch-card--secondary { border-top: 5px solid var(--secondary); }
.branch-card--primary h3::after,
.branch-card--secondary h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--accent);
}
.split-section { display: grid; grid-template-columns: 1fr .9fr; gap: 36px; align-items: start; }
.split-section--reverse { grid-template-columns: .9fr 1fr; align-items: center; }
.photo-band { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; padding-top: 18px; padding-bottom: 18px; }
.photo-band img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.image-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.image-stack img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.image-stack img:nth-child(2) { margin-bottom: 42px; }
.panel-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin-bottom: 18px; }
.philosophy-section { padding-top: 18px; }
.philosophy-card { position: relative; overflow: hidden; border-radius: 8px; background: var(--primary-dark); color: #fff; padding: clamp(28px, 5vw, 56px); }
.philosophy-card::after { content: ""; position: absolute; right: -90px; top: -110px; width: 240px; height: 240px; border-radius: 50%; background: var(--accent); opacity: .22; }
.philosophy-card .eyebrow { color: #ffb8cb; }
.philosophy-card h2 { max-width: 780px; }
.philosophy-card p { position: relative; max-width: 820px; color: rgba(255,255,255,.86); font-size: var(--fs-lead); }
.philosophy-keywords { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.philosophy-keywords span { display: inline-flex; min-height: 38px; align-items: center; padding: 6px 14px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 700; }
.representative-section { padding-top: 18px; }
.representative-card { display: grid; grid-template-columns: .62fr 1fr; gap: 42px; align-items: center; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.representative-card__image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.representative-card__body p { color: var(--muted); }
.representative-card__name { margin-top: 24px; color: var(--ink) !important; font-weight: 800; text-align: right; }
.check-list { padding: 0; margin: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.page-hero { width: var(--content); margin: 0 auto; padding: 72px 0 48px; max-width: 860px; }
.page-hero--homecare, .page-hero--seitai { max-width: 1120px; display: grid; grid-template-columns: 1fr .82fr; gap: 40px; align-items: center; }
.page-hero--homecare img, .page-hero--seitai img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; box-shadow: 0 18px 50px rgba(31,58,51,.13); }
.page-content { max-width: 860px; }
.policy-content h2 { margin-top: 42px; font-size: var(--fs-lead); font-family: var(--font-body); font-weight: 800; }
.policy-content ul { padding-left: 1.4em; }
.entry-image { margin: 24px 0; }
.faq-list { max-width: 860px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; padding: 18px 22px; }
.faq-item summary { cursor: pointer; font-weight: 700; }
.section--voice { padding-top: 90px; }
.voice-head { display: grid; grid-template-columns: 1fr .78fr; gap: 32px; align-items: end; margin-bottom: 32px; }
.voice-head p { color: var(--muted); margin: 0; }
.voice-card { position: relative; }
.voice-card__label { display: inline-flex; min-height: 30px; align-items: center; width: fit-content; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 800; }
.voice-card--photo { overflow: hidden; padding: 0; }
.voice-card--photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.voice-card__body { padding: 24px; }
.voice-card--photo h3, .voice-card--photo p { padding-left: 0; padding-right: 0; }
.voice-card--photo p { padding-bottom: 0; }
.voice-notice { margin-top: 18px; color: var(--muted); font-size: 14px; text-align: right; }
.voice-filter-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.voice-filter-grid a { display: inline-flex; min-height: 40px; align-items: center; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--primary); text-decoration: none; font-weight: 800; }
.final-cta { text-align: center; }
.final-cta > p { max-width: 720px; margin-left: auto; margin-right: auto; }
.contact-grid { margin-top: 28px; grid-template-columns: repeat(2, 1fr); text-align: left; }
.contact-box--primary { border-top: 5px solid var(--primary); }
.contact-box:not(.contact-box--primary) { border-top: 5px solid var(--secondary); }
.tel-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--primary-dark); }
.site-footer { padding: 44px 0 92px; background: var(--primary-dark); color: #fff; }
.site-footer__inner { width: var(--content); margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; }
.site-footer__logo { margin: 0; font-size: 28px; font-weight: 700; }
.site-footer__logo-image { width: 210px; max-width: 70vw; height: auto; padding: 8px; border-radius: 8px; background: #fff; }
.copyright { width: var(--content); margin: 28px auto 0; color: rgba(255,255,255,.72); font-size: var(--fs-body); }
.fixed-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-top: 1px solid var(--border); }
.fixed-cta__button { min-height: 56px; display: grid; place-items: center; text-decoration: none; font-weight: 700; }
.fixed-cta__button--primary { background: var(--line); color: #fff; }
.fixed-cta__button--secondary { background: var(--warm); color: var(--secondary-dark); }
@media (max-width: 860px) {
  :root { --content: min(100vw - 32px, 1120px); --fs-body: 15px; --fs-lead: 18px; --fs-heading: 31px; }
  .site-header__inner { min-height: 72px; }
  .site-logo__image { width: auto; height: 66px; }
  .nav-toggle { display: block; }
  .global-nav { position: absolute; left: 16px; right: 16px; top: 72px; display: none; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
  .global-nav.is-open { display: block; }
  .global-nav__list, .footer-nav__list { display: grid; gap: 12px; }
  .hero { min-height: auto; padding: 40px 0; grid-template-columns: 1fr; gap: 28px; }
  .hero__image, .hero__image img, .image-placeholder { min-height: 280px; }
  .hero-collage { min-height: 390px; }
  .hero-collage__main { width: 88%; min-height: 330px; }
  .hero-collage__sub { border-width: 6px; }
  .hero-collage__sub--one { width: 48%; bottom: 0; }
  .hero-collage__sub--two { width: 36%; right: 4%; top: -12px; }
  .section { padding: 52px 0; }
  .section--soft, .section--branch { padding-left: 16px; padding-right: 16px; }
  .branch-grid, .value-grid, .voice-list, .contact-grid, .split-section, .photo-band, .page-hero--homecare, .page-hero--seitai, .voice-head, .representative-card { grid-template-columns: 1fr; }
  .image-stack img:nth-child(2) { margin-bottom: 0; }
  .voice-notice { text-align: left; }
  .button-row, .button { width: 100%; }
  .site-footer__inner { display: grid; }
}
