/* =========================================================
   訪問看護ステーション蓮  style.css
   静的サイト共通スタイル（白基調 / グレージュ / ローズアクセント）
   ========================================================= */

/* ---- Tokens ---- */
:root {
  --white: #ffffff;
  --paper: #fbfaf8;
  --greige: #f0ebe4;
  --greige-deep: #e6ded3;
  --pink-tint: #fbedef;
  --rose: #d38a95;
  --rose-deep: #9e5763;
  --rose-deep-hover: #8c4d58;
  --ink: #383539;
  --ink-sub: #676266;
  --line: #e7e0d8;

  --space-2: 8px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px;

  --container: 1100px;
  --measure: 740px;
  --radius: 6px;
  --radius-lg: 10px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --leading: 1.85;
  --shadow-soft: 0 1px 3px rgba(56, 53, 57, 0.05);
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: var(--leading);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); }
ul, dl { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: 12px; top: -56px; z-index: 200;
  background: var(--rose-deep); color: #fff;
  padding: 8px 16px; border-radius: var(--radius); text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---- Focus visibility ---- */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--rose-deep); outline-offset: 2px; border-radius: 2px;
}

/* ---- Lotus motif ---- */
.lotus { display: inline-block; width: 22px; height: auto; vertical-align: middle; color: var(--rose); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.container.measure { max-width: var(--measure); }

.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.section--tight { padding: 48px 0; }
@media (min-width: 768px) { .section--tight { padding: 80px 0; } }
.section--greige { background: var(--greige); }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .btn-group { justify-content: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 40px; }
.maxw-sm { max-width: 540px; }
.stack > * + * { margin-top: 16px; }
.stack-l > * + * { margin-top: 30px; }

/* ---- Typography ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--rose-deep); font-size: 13px; letter-spacing: .14em;
  font-weight: 600; margin-bottom: 14px;
}
.eyebrow .lotus, .eyebrow svg { width: 20px; height: 20px; flex-shrink: 0; }

h1 { font-size: 26px; font-weight: 700; line-height: 1.45; letter-spacing: .02em; }
h2 { font-size: 21px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.6; }
@media (min-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
}
.lead { color: var(--ink-sub); font-size: 16px; line-height: 1.9; }
@media (min-width: 768px) { .lead { font-size: 17px; } }
p + p { margin-top: 1em; }

.heading { margin-bottom: 28px; }
@media (min-width: 768px) { .heading { margin-bottom: 40px; } }
.heading h2 { margin-bottom: 14px; }
.heading .lead { max-width: 680px; }
.heading.center { text-align: center; }
.heading.center .lead { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 13px 26px;
  border-radius: var(--radius); font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn-primary { background: var(--rose-deep); color: #fff; }
.btn-primary:hover { background: var(--rose-deep-hover); box-shadow: 0 6px 16px rgba(158, 87, 99, .22); transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--rose-deep); border-color: var(--rose-deep); }
.btn-secondary:hover { background: var(--pink-tint); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

.textlink { display: inline-flex; align-items: center; gap: 6px; color: var(--rose-deep); font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; }
.textlink::after { content: "→"; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
@media (min-width: 768px) { .header-inner { padding: 14px 32px; } }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { display: inline-flex; align-items: center; color: var(--rose); flex: none; }
.brand-mark .lotus { width: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.brand-sub { font-size: 11px; color: var(--ink-sub); letter-spacing: .04em; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; padding: 11px; background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul { list-style: none; }
.site-nav a { text-decoration: none; color: var(--ink); }
.nav-tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--rose-deep); text-decoration: none; }
.nav-tel svg { width: 16px; height: 16px; }

/* mobile nav (< 1080px) */
@media (max-width: 1079px) {
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; box-shadow: var(--shadow-soft);
  }
  .site-header.is-open .site-nav { display: block; }
  .site-nav ul { display: flex; flex-direction: column; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav ul a { display: block; padding: 14px 4px; }
  .site-nav .nav-tel { margin-top: 16px; padding: 13px; justify-content: center; border: 1px solid var(--rose-deep); border-radius: var(--radius); }
}
/* desktop nav (>= 1080px) */
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 18px; }
  .site-nav ul { display: flex; align-items: center; gap: 15px; }
  .site-nav ul a { font-size: 14px; padding: 6px 0; position: relative; white-space: nowrap; }
  .site-nav .nav-tel { font-size: 14px; white-space: nowrap; }
  .site-nav ul a:hover { color: var(--rose-deep); }
  .site-nav ul a[aria-current="page"] { color: var(--rose-deep); }
  .site-nav ul a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--rose); }
}

/* ---- Hero ---- */
.hero {
  background:
    radial-gradient(120% 140% at 12% 0%, var(--pink-tint) 0%, transparent 58%),
    linear-gradient(180deg, var(--pink-tint) 0%, var(--paper) 55%, var(--white) 100%);
}
.hero-inner { display: grid; gap: 28px; padding: 48px 0 56px; }
@media (min-width: 880px) {
  .hero-inner { grid-template-columns: .92fr 1.08fr; align-items: center; gap: 48px; padding: 72px 0 80px; }
}
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .sub { color: var(--ink-sub); font-size: 16px; line-height: 1.95; margin-bottom: 28px; max-width: 36em; }
@media (min-width: 768px) { .hero-copy .sub { font-size: 17px; } }

/* ---- Media + placeholder ---- */
.media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--greige) 0%, var(--paper) 100%);
  box-shadow: 0 6px 18px rgba(56, 53, 57, .05);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  aspect-ratio: 4 / 3; color: var(--ink-sub); text-align: center; padding: 24px;
}
.media-ph .lotus { width: 36px; opacity: .6; color: var(--rose-deep); }
.media-ph span { font-size: 13px; letter-spacing: .03em; line-height: 1.7; }
.hero .media-ph { aspect-ratio: 4 / 3; }

.media-caption {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--ink-sub);
}
.media-caption .lotus { width: 14px; flex: none; color: var(--rose-deep); }

/* ---- Photo grid placeholders (gallery-style) ---- */
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
@media (min-width: 640px) {
  .photo-grid { gap: 32px 20px; }
  .photo-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.photo-grid--feature { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) {
  .photo-grid--feature { grid-template-columns: 1.3fr 1fr; }
  .photo-grid--feature .photo-item:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
  .photo-grid--feature .photo-item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .photo-grid--feature .photo-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .photo-grid--feature .photo-item:first-child .photo-ph { aspect-ratio: 3 / 4; }
}
.photo-item { display: flex; flex-direction: column; }
.photo-ph {
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--greige) 0%, var(--paper) 100%);
  display: flex; align-items: center; justify-content: center;
}
.photo-ph .lotus { width: 20px; opacity: .5; color: var(--rose-deep); }
.photo-caption { margin-top: 8px; font-size: 12px; color: var(--ink-sub); line-height: 1.6; }

/* ---- Split (text + media) ---- */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split.reverse .split-media { order: -1; }
}

/* ---- Cards grid ---- */
.grid { display: grid; gap: 16px; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid { gap: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  padding: 4px 0;
}
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--pink-tint); color: var(--rose-deep); margin-bottom: 10px; flex: none;
}
.card-icon .lotus { width: 17px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-sub); font-size: 15px; line-height: 1.85; }

/* ---- Topic list (icon-left description list) ---- */
.topic-list { display: grid; gap: 28px; }
@media (min-width: 700px) {
  .topic-list { grid-template-columns: repeat(2, 1fr); gap: 32px 44px; }
}
.topic-item { display: flex; gap: 14px; align-items: flex-start; }
.topic-item .card-icon { margin-top: 2px; margin-bottom: 0; }
.topic-item h3 { margin-bottom: 6px; }
.topic-item p { color: var(--ink-sub); font-size: 15px; line-height: 1.85; margin: 0; }

/* ---- Steps ---- */
.steps { display: grid; gap: 26px; }
@media (min-width: 768px) { .steps { gap: 30px; } }
.step { display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: start; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--pink-tint); color: var(--rose-deep); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-sub); font-size: 15px; }

/* ---- Info list (dl) ---- */
.info-list { border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .info-row { grid-template-columns: 180px 1fr; gap: 20px; } }
.info-row dt { font-weight: 700; color: var(--ink); font-size: 15px; }
.info-row dd { margin: 0; color: var(--ink-sub); font-size: 15px; line-height: 1.8; }
.info-row dd a { font-weight: 600; }

/* ---- Checklist ---- */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 28px; color: var(--ink-sub); line-height: 1.8; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; background: var(--pink-tint); border: 1px solid var(--rose); }

/* ---- Doc list (important.html) ---- */
.doc-list { display: grid; gap: 14px; }
.doc-item { display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.doc-item .lotus { width: 18px; flex: none; margin-top: 3px; }
.doc-item h3 { font-size: 15px; margin-bottom: 3px; }
.doc-item p { font-size: 13px; color: var(--ink-sub); }

/* ---- Contact card ---- */
.contact-card {
  background: #fff; border: 1px solid var(--rose); border-radius: var(--radius-lg); padding: 28px; text-align: center;
}
.contact-card .label { color: var(--ink-sub); font-size: 13px; letter-spacing: .08em; margin-bottom: 10px; }
.contact-tel { display: inline-flex; align-items: center; gap: 10px; font-size: 30px; font-weight: 700; color: var(--rose-deep); text-decoration: none; letter-spacing: .02em; }
@media (min-width: 768px) { .contact-tel { font-size: 36px; } }
.contact-tel svg { width: 26px; height: 26px; }
.contact-card .btn-group { justify-content: center; }
.contact-note { color: var(--ink-sub); font-size: 14px; margin-top: 12px; }

.fax-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.fax-card .label { color: var(--ink-sub); font-size: 13px; letter-spacing: .08em; margin-bottom: 10px; }
.fax-number { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }

/* ---- CTA band ---- */
.cta-band { background: var(--pink-tint); padding: 72px 0; }
@media (min-width: 768px) { .cta-band { padding: 116px 0; } }

/* ---- Footer ---- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 28px; }
@media (min-width: 768px) { .site-footer { padding-top: 64px; } }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; } }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand address { font-style: normal; color: var(--ink-sub); font-size: 14px; line-height: 1.95; }
.footer-brand address a { color: var(--rose-deep); text-decoration: none; font-weight: 600; }
.footer-col h4 { font-size: 13px; letter-spacing: .08em; color: var(--ink); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--ink-sub); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--rose-deep); }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.footer-bottom small { color: var(--ink-sub); font-size: 12px; }
.footer-bottom .ig-link { color: var(--rose-deep); text-decoration: none; font-size: 13px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.footer-bottom .ig-link svg { width: 16px; height: 16px; }

/* ---- Page head (sub pages) ---- */
.page-head { background: linear-gradient(180deg, var(--pink-tint), var(--white)); padding: 40px 0 36px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .page-head { padding: 60px 0 52px; } }
.page-head h1 { margin-bottom: 12px; }
.page-head .lead { max-width: 720px; }
.breadcrumb { font-size: 12px; color: var(--ink-sub); margin-bottom: 16px; }
.breadcrumb a { color: var(--ink-sub); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---- 404 ---- */
.notfound { min-height: 56vh; display: flex; align-items: center; }
.notfound .lotus { width: 56px; margin-bottom: 20px; opacity: .85; }
.notfound h1 { margin-bottom: 14px; }
.notfound p { color: var(--ink-sub); margin-bottom: 26px; }

/* ---- Entry cards (top page audience-based navigation) ---- */
.entry-card { display: flex; flex-direction: column; height: 100%; padding: 28px 26px; }
.entry-card p { flex: 1; }
.entry-card .textlink { margin-top: 16px; padding: 6px 0; }
.entry-card-links { margin-top: 16px; display: flex; flex-direction: column; }
.entry-card-links .textlink { margin-top: 0; padding: 8px 0; }
.entry-card-links .textlink--sub {
  color: var(--ink-sub); font-weight: 600; font-size: 14px;
  padding-top: 10px; border-top: 1px solid var(--line);
}
.entry-card-links .textlink--sub:hover { color: var(--rose-deep); }

/* ---- Recruit visit/consult CTA ---- */
.recruit-cta { text-align: center; }
.recruit-cta p { color: var(--ink-sub); }
.recruit-cta .btn-group { justify-content: center; margin-top: 22px; }

/* ---- Notice (emergency / important caution) ---- */
.notice { background: var(--pink-tint); border: 1px solid var(--rose); border-radius: var(--radius-lg); padding: 24px 26px; }
.notice h3 { color: var(--rose-deep); margin-bottom: 8px; }
.notice p { color: var(--ink); font-size: 15px; line-height: 1.85; }
.notice p + p { margin-top: .8em; }

/* ---- FAQ (Q&A accordion) ---- */
.faq-list { display: grid; gap: 18px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 10px;
  padding: 18px 22px; font-weight: 600; color: var(--ink); font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; margin-left: auto; flex: none; color: var(--rose-deep); font-weight: 700; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-q-mark { flex: none; color: var(--rose-deep); font-weight: 700; }
.faq-body { padding: 0 22px 20px 22px; color: var(--ink-sub); font-size: 15px; line-height: 1.85; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
