:root {
  --pink: #e8336d;
  --pink-btn: #d62a66;
  --pink-deep: #b81f55;
  --pink-soft: #f7b6cc;
  --pink-pale: #fdeef3;
  --red: #e3260f;
  --gold: #fbb120;
  --line-green: #06a24a;
  --cream: #fff8f1;
  --ink: #3a2a30;
  --ink-soft: #6c5a62;
  --paper: #fffdfd;
  --white: #ffffff;
  --line: #f1d3de;
  --shadow: 0 10px 30px rgba(184, 31, 85, 0.10);
  --radius: 20px;
}

* { box-sizing: border-box; }

/* Grid/flex items default to min-width:auto, which lets long text and
   images force a track wider than its container. Reset it so tracks always
   respect the container width. */
.container,
.topbar .container > *,
.hero .container > *,
.about-wrap > *,
.feature-grid > *,
.access-grid > *,
.pay-grid > *,
.footer-top > * {
  min-width: 0;
}

html { scroll-behavior: smooth; scroll-padding-top: 16px; }

body {
  margin: 0;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 880px; }

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: -3px;
  fill: none;
  stroke: currentColor;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .nav-toggle:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-primary { background: var(--pink-btn); color: var(--white); box-shadow: 0 6px 16px rgba(214, 42, 102, 0.28); }
.btn-primary:hover { background: var(--pink-deep); }
.btn-outline { background: var(--white); color: var(--pink-deep); border-color: var(--pink); }
.btn-outline:hover { background: var(--pink-pale); }
.btn-white { background: var(--white); color: var(--pink-deep); }
.btn-white:hover { background: var(--pink-pale); }
.btn-line { background: var(--line-green); color: var(--white); box-shadow: 0 6px 16px rgba(6, 162, 74, 0.28); }
.btn-line:hover { background: #058a3f; }
.btn-care { background: var(--red); color: var(--white); box-shadow: 0 6px 16px rgba(227, 38, 15, 0.25); }
.btn-care:hover { background: #bf1e0a; }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; }
.btn-lg { padding: 16px 36px; font-size: 1.5rem; }

/* ---------- header ---------- */
.site-header { background: var(--white); }
.topbar .container { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px 36px; padding-top: 14px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand-name { display: block; font-size: 1.8rem; font-weight: 900; color: var(--pink); line-height: 1.2; letter-spacing: 0.04em; }
.brand-sub { display: block; font-size: 0.72rem; color: var(--ink-soft); line-height: 1.3; }
.brand-addr { margin-top: 6px; font-size: 0.74rem; color: var(--ink-soft); line-height: 1.6; }
.telfax { justify-self: center; text-align: left; }
.telfax a, .footer-tel a { display: flex; align-items: center; gap: 10px; font-size: 1.75rem; font-weight: 700; color: var(--pink-deep); text-decoration: none; letter-spacing: 0.05em; line-height: 1.3; }
.telfax small, .footer-tel small { display: block; font-size: 0.72rem; color: var(--ink-soft); margin-left: 42px; }
.circ { width: 32px; height: 32px; border-radius: 50%; background: var(--pink); color: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.circ .icon { width: 17px; height: 17px; }
.hours-mini { font-size: 0.76rem; line-height: 1.75; color: var(--ink); }
.hours-mini b { font-weight: 700; }
.top-line { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 58px; height: 58px; border-radius: 50%; background: var(--line-green); color: var(--white); text-decoration: none; font-size: 0.66rem; font-weight: 900; justify-content: center; letter-spacing: 0.05em; }
.top-line .icon { width: 22px; height: 22px; }
.top-tel { display: none; }

.gnav { position: sticky; top: 0; z-index: 50; background: var(--white); border-top: 1px solid var(--line); border-bottom: 3px solid var(--pink); box-shadow: 0 4px 12px rgba(184, 31, 85, 0.08); }
.gnav ul { display: grid; grid-template-columns: repeat(6, 1fr); }
.gnav a { display: block; text-align: center; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem; line-height: 1.4; padding: 14px 4px; }
.gnav a:hover { color: var(--pink-deep); background: var(--pink-pale); }
.gnav a[aria-current="page"] { background: var(--pink); color: var(--white); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--pink-pale); cursor: pointer; position: relative; flex-shrink: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 11px; width: 22px; height: 2.5px; border-radius: 2px; background: var(--pink-deep); transition: transform 0.2s, top 0.2s; }
.nav-toggle span { top: 20px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.mobile-nav { display: none; border-top: 3px solid var(--pink); background: var(--white); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 4px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- arrow buttons（このはな薬局風） ---------- */
.btn-arrow { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 230px; padding: 15px 18px 15px 28px; background: var(--pink-btn); color: var(--white); border: 2px solid var(--pink-btn); border-radius: 14px; font-weight: 700; font-size: 1.05rem; line-height: 1.3; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.btn-arrow::after { content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d62a66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / 16px no-repeat; }
.btn-arrow:hover { background: var(--pink-deep); border-color: var(--pink-deep); transform: translateY(-1px); }
.btn-arrow-lg { min-width: 270px; padding: 22px 20px 22px 32px; font-size: 1.2rem; box-shadow: 0 8px 20px rgba(184, 31, 85, 0.25); }
.btn-arrow-sm { min-width: 190px; padding: 11px 14px 11px 22px; font-size: 0.95rem; }
.btn-arrow-outline { background: var(--white); color: var(--pink-deep); }
.btn-arrow-outline::after { background-color: var(--pink-btn); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E"); }
.btn-arrow-outline:hover { background: var(--pink-pale); color: var(--pink-deep); }

/* ---------- frame（このはな薬局風の角飾り） ---------- */
.frame { position: relative; background: var(--white); }
.frame::before, .frame::after { content: ""; position: absolute; width: 46%; height: 62%; max-width: 330px; max-height: 190px; border: 12px solid var(--pink); pointer-events: none; z-index: 0; }
.frame::before { top: -14px; left: -14px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.frame::after { bottom: -14px; right: -14px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.frame > * { position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hero { padding: 0; }
.hero-photo { position: relative; height: 380px; overflow: hidden; background: var(--pink-pale); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 42, 48, 0.06) 0%, rgba(58, 42, 48, 0) 30%, rgba(58, 42, 48, 0.55) 100%); }
.hero-caption { position: absolute; z-index: 2; left: max(24px, calc((100% - 1120px) / 2 + 24px)); bottom: 176px; color: var(--white); font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 900; letter-spacing: 0.08em; text-shadow: 0 2px 12px rgba(58, 42, 48, 0.8); text-align: left; white-space: nowrap; }
.hero-caption small { display: block; font-size: 0.68rem; letter-spacing: 0.28em; margin-top: 2px; }
.hero-panel { position: relative; z-index: 3; margin-top: -170px; pointer-events: none; }
.hero-panel-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero-btns { display: grid; gap: 16px; pointer-events: auto; padding-bottom: 6px; }
.hero-hours { pointer-events: auto; width: 440px; background: rgba(255, 255, 255, 0.97); border-radius: 18px 18px 0 0; padding: 18px 22px 16px; box-shadow: 0 -4px 24px rgba(58, 42, 48, 0.15); }
.hero-hours h2 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; font-weight: 900; color: var(--pink-deep); margin-bottom: 8px; }
.hours-grid { width: 100%; border-collapse: collapse; text-align: center; font-size: 0.95rem; }
.hours-grid th, .hours-grid td { border: 1px solid var(--pink-soft); padding: 6px 4px; }
.hours-grid thead th { background: var(--pink); color: var(--white); border-color: var(--pink); font-weight: 700; }
.hours-grid tbody th { background: var(--pink-pale); color: var(--pink-deep); font-weight: 700; width: 18%; }
.hours-grid td { color: var(--pink-deep); font-weight: 700; }
.hours-note { margin-top: 8px; font-size: 0.78rem; line-height: 1.7; color: var(--ink); }

.hours-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: 14px; overflow: hidden; }
.hours-table th, .hours-table td { padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.tbd { color: var(--ink-soft); font-weight: 500; }

/* ---------- intro ---------- */
.intro { padding: 96px 0 72px; text-align: center; }
.intro-title { font-size: clamp(1.7rem, 3.8vw, 2.7rem); font-weight: 900; line-height: 1.6; color: var(--pink); letter-spacing: 0.06em; margin-bottom: 34px; }
.intro p { color: var(--ink); line-height: 2.2; font-size: 1.02rem; }

/* ---------- section titles ---------- */
section { padding: 72px 0; }
.sec-title { text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; line-height: 1.4; margin-bottom: 36px; }
.sec-title small { display: block; font-size: 0.8rem; letter-spacing: 0.2em; color: var(--pink); margin-bottom: 4px; }
.sec-title::after { content: ""; display: block; width: 56px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--pink) 0 60%, var(--gold) 60%); margin: 12px auto 0; }
.more { text-align: right; margin-top: 18px; }
.warn { color: var(--red); font-weight: 900; display: inline-block; }

/* ---------- features ---------- */
.feature-section { padding: 0 0 80px; }
.feature-band { background: var(--pink); color: var(--white); text-align: center; padding: 34px 0 30px; margin-bottom: 70px; }
.feature-band h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 900; letter-spacing: 0.08em; }
.feature-band small { display: block; color: var(--gold); letter-spacing: 0.3em; font-size: 0.8rem; margin-top: 4px; }
.feature-list { display: grid; gap: 80px; }
.feature-row { display: grid; grid-template-columns: 1fr 0.9fr; gap: 0; align-items: stretch; box-shadow: 0 6px 24px rgba(184, 31, 85, 0.10); border-radius: 6px; margin: 0 14px; overflow: visible; }
.feature-row.reverse { grid-template-columns: 0.9fr 1fr; }
.feature-row.reverse .feature-text { order: 2; }
.feature-text { padding: 44px 48px 48px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.feature-head { display: flex; gap: 18px; align-items: center; }
.feature-label { flex-shrink: 0; width: 86px; height: 86px; background: var(--pink); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; font-size: 0.92rem; line-height: 1.1; position: relative; }
.feature-label::before { content: ""; position: absolute; top: 0; left: 0; border-top: 14px solid var(--white); border-right: 14px solid transparent; }
.feature-label b { font-size: 1.8rem; font-weight: 700; }
.feature-head h3 { font-size: 1.35rem; font-weight: 900; line-height: 1.6; color: var(--pink); }
.feature-text p { color: var(--ink); line-height: 2; text-wrap: pretty; word-break: normal; line-break: strict; }
.feature-visual { background: linear-gradient(135deg, var(--pink-soft), var(--pink-pale)); min-height: 280px; display: grid; place-items: center; margin: 0; }
.fv-icon { width: 132px; height: 132px; border-radius: 50%; background: var(--white); color: var(--pink); display: grid; place-items: center; box-shadow: 0 10px 28px rgba(184, 31, 85, 0.18); }
.fv-icon .icon { width: 64px; height: 64px; stroke-width: 1.6; }
.feature-visual.photo { place-items: stretch; background: var(--pink-pale); }
.feature-visual.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- access ---------- */
.access-section { background: var(--white); }
.access-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: stretch; }
.access-info { background: var(--pink-pale); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.access-info h3 { font-size: 1.3rem; font-weight: 900; color: var(--pink); }
.access-info dt { font-size: 0.8rem; font-weight: 700; color: var(--pink-deep); letter-spacing: 0.08em; margin-top: 14px; }
.access-info dt:first-child { margin-top: 0; }
.access-info dd a { font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; background: var(--pink-pale); }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- payment ---------- */
.pay-section { background: var(--pink-pale); padding: 56px 0; border-top: 3px solid var(--pink); }
.pay-title { text-align: center; font-size: 1.5rem; font-weight: 900; margin-bottom: 8px; }
.pay-title small { display: block; font-size: 0.75rem; letter-spacing: 0.2em; color: var(--pink); }
.pay-lead { text-align: center; color: var(--ink-soft); margin-bottom: 28px; }
.pay-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.pay-card { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pay-card h3 { font-size: 1rem; font-weight: 900; color: var(--white); background: var(--pink); display: inline-block; padding: 2px 16px; border-radius: 999px; margin-bottom: 14px; }
.pay-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--pink-deep); margin: 16px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 14px; border-radius: 999px; background: var(--pink-pale); border: 1px solid var(--line); font-weight: 700; font-size: 0.88rem; line-height: 1.6; }
.pay-note { margin-top: 12px; font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- sub pages ---------- */
.page-hero { background: linear-gradient(135deg, var(--pink), var(--pink-btn)); color: var(--white); padding: 36px 0 32px; }
.page-hero .crumb { font-size: 0.82rem; opacity: 0.92; margin-bottom: 8px; }
.page-hero .crumb a { text-decoration: none; }
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 900; line-height: 1.4; }
.page-hero h1 small { display: block; font-size: 0.78rem; letter-spacing: 0.2em; opacity: 0.85; }
.page-body { padding: 56px 0 72px; }
.sub-title { font-size: 1.35rem; font-weight: 900; padding-left: 14px; border-left: 6px solid var(--pink); margin: 48px 0 18px; line-height: 1.5; }
.about-copy .sub-title { margin-top: 0; }
.sub-lead { text-align: center; color: var(--ink-soft); margin-bottom: 28px; }
.about-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.about-visual img { width: 100%; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-copy p { margin-top: 14px; color: var(--ink-soft); }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 28%; background: var(--pink-pale); color: var(--pink-deep); font-weight: 700; }
.info-table a { font-weight: 700; }
.tbd-box, .contact-box { background: var(--pink-pale); border-radius: var(--radius); padding: 40px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 28px; }
.tbd-lead { font-size: 1.2rem; font-weight: 900; color: var(--pink-deep); }
.contact-label { font-weight: 700; color: var(--pink-deep); }
.contact-hours { font-size: 0.9rem; color: var(--ink-soft); }
.note { margin-top: 18px; color: var(--ink-soft); font-size: 0.92rem; }
.note a { color: var(--pink-deep); font-weight: 700; }
.page-body .access-grid { margin-top: 0; }

/* ---------- floating cta ---------- */
.float-cta { position: fixed; right: 0; top: 52%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.float-cta a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--white); text-decoration: none; font-weight: 900; font-size: 0.78rem; line-height: 1.35; text-align: center; border-radius: 14px 0 0 14px; box-shadow: -4px 4px 14px rgba(58, 42, 48, 0.2); }
.float-cta .icon { width: 24px; height: 24px; }
.float-line { background: var(--line-green); width: 116px; padding: 12px 10px 10px; }
.float-qr { width: 96px; height: 96px; margin-top: 4px; background: var(--white); border-radius: 6px; padding: 3px; }
.float-care { background: var(--red); width: 78px; align-self: flex-end; padding: 12px 6px; }
.float-cta a:hover { filter: brightness(0.93); }

/* ---------- footer ---------- */
.pay-section { background: var(--white); padding: 70px 0 56px; border-top: 0; }
.pay-banner { background: var(--pink); color: var(--white); text-align: center; font-weight: 700; font-size: 1.05rem; line-height: 1.7; padding: 12px 24px; border-radius: 999px; max-width: 820px; margin: 0 auto 32px; }
.pay-banner small { font-size: 0.85rem; font-weight: 500; margin-left: 4px; }
.pay-grid { margin-top: 0; }

.site-footer { background: var(--pink-pale); color: var(--ink); padding: 0; border-top: 3px solid var(--pink); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.footer-nav li { padding: 0 20px; border-left: 1px solid var(--pink-soft); }
.footer-nav li:first-child { border-left: 0; }
.footer-nav a { text-decoration: none; font-weight: 700; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--pink-deep); text-decoration: underline; }
.footer-logo { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 44px 0 30px; }
.footer-logo img { width: 84px; height: 84px; }
.footer-logo strong { display: block; font-size: 2rem; font-weight: 900; color: var(--pink); letter-spacing: 0.06em; line-height: 1.3; }
.footer-logo span { font-size: 0.85rem; color: var(--ink-soft); }
.footer-info { display: flex; justify-content: center; align-items: center; gap: 44px; flex-wrap: wrap; }
.site-footer address { font-style: normal; font-size: 0.95rem; line-height: 1.95; }
.site-footer address a { color: var(--pink-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.footer-cta { text-align: center; margin: 34px 0 52px; }
.copyright { background: var(--pink); color: var(--white); text-align: center; font-size: 0.75rem; letter-spacing: 0.12em; padding: 10px 16px; }
.page-top { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 52px; height: 52px; border-radius: 50%; background: var(--pink); color: var(--white); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(184, 31, 85, 0.35); text-decoration: none; }
.page-top .icon { width: 24px; height: 24px; }
.page-top:hover { background: var(--pink-deep); }

/* 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }

.notfound h1 { font-size: 1.6rem; font-weight: 900; color: var(--pink); }
.notfound p { color: var(--ink-soft); }

/* ---------- contact form（mailto 送信。こかげのフォームと同じ作り） ---------- */
.contact-form { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.2vw, 34px); display: grid; gap: 20px; }
.contact-form > * { min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row > * { min-width: 0; }
.contact-form label { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
.contact-form .req { font-size: 0.7rem; color: var(--white); background: var(--pink); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 1px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  background: var(--paper);
  color: var(--ink);
}
.contact-form select {
  -webkit-appearance: none;
  appearance: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b81f55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--pink); }
.form-submit { width: 100%; }
.form-note { margin-top: 12px; font-size: 0.82rem; color: var(--ink-soft); }
.form-status { margin-top: 8px; font-weight: 700; color: var(--line-green); }
.form-status:empty { display: none; }

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* LINE */
.line-contact { padding: 26px 20px; }
.site-footer address a[href^="https://line.me"] { text-decoration: underline; text-underline-offset: 3px; }

/* LINE受付ページ */
.line-lead-text { font-size: 1.05rem; line-height: 2; }
.line-cta { text-align: center; margin-bottom: 8px; }
.line-cta-note { margin-top: 12px; font-size: 0.85rem; color: var(--ink-soft); }
.steps { display: grid; gap: 18px; counter-reset: none; }
.step { display: flex; gap: 20px; align-items: center; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 24px; position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 47px; bottom: -20px; width: 0; height: 0; border: 9px solid transparent; border-top-color: var(--pink-soft); border-bottom: 0; }
.step > div, .care-card, .feature-text, .feature-head > h3 { min-width: 0; }
.step-num { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--pink); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1.7rem; font-weight: 900; line-height: 1; }
.step-num small { font-size: 0.6rem; letter-spacing: 0.12em; font-weight: 700; margin-bottom: 2px; }
.step h3 { font-size: 1.1rem; font-weight: 900; margin-bottom: 4px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }
.step p strong, .notice-list strong { color: var(--red); }
.line-points li { margin-bottom: 0; }
.notice-list { display: grid; gap: 10px; background: var(--pink-pale); border-radius: var(--radius); padding: 22px 24px 22px 40px; list-style: disc; color: var(--ink-soft); font-size: 0.95rem; }
.notice-list li { padding-left: 4px; }
.notice-list a { color: var(--pink-deep); font-weight: 700; }
.line-tel { margin-top: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 700; color: var(--pink-deep); }

@media (max-width: 560px) {
  .step { padding: 16px; gap: 14px; }
  .step-num { width: 54px; height: 54px; font-size: 1.4rem; }
  .step:not(:last-child)::after { left: 34px; }
  .notice-list { padding: 18px 16px 18px 32px; }
}

/* 在宅療養支援 */
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.care-card { background: var(--white); border: 2px solid var(--line); border-top: 6px solid var(--pink); border-radius: var(--radius); padding: 22px 20px 24px; }
.care-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--pink-pale); color: var(--pink); display: grid; place-items: center; margin-bottom: 12px; }
.care-icon .icon { width: 26px; height: 26px; }
.care-card h3 { font-size: 1.05rem; font-weight: 900; line-height: 1.5; margin-bottom: 6px; }
.care-card p { color: var(--ink-soft); font-size: 0.92rem; text-wrap: pretty; word-break: normal; line-break: strict; }
@media (max-width: 880px) { .care-grid { grid-template-columns: 1fr; } }

/* 在宅訪問の対応エリア */
.area-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: center; }
.area-wrap > * { min-width: 0; }
.area-figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); }
.area-figure img { width: 100%; }
.area-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.area-copy p { color: var(--ink); line-height: 2; text-wrap: pretty; }
.area-copy strong { color: var(--pink-deep); font-size: 1.1rem; }
@media (max-width: 880px) { .area-wrap { grid-template-columns: 1fr; gap: 20px; } }

/* チェックリスト */
.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; text-wrap: pretty; }
.check-list li::before { content: ""; position: absolute; left: 6px; top: 0.66em; width: 12px; height: 6px; border-left: 3px solid var(--pink); border-bottom: 3px solid var(--pink); transform: rotate(-45deg); }

/* 条件バッジ */
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 28px; }
.badge-row li { background: var(--pink-pale); border: 2px solid var(--pink-soft); border-radius: 999px; padding: 6px 18px; font-size: 0.95rem; font-weight: 700; color: var(--pink-deep); }
.badge-row b { font-weight: 900; color: var(--red); }

/* 店内の様子 */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-grid > * { min-width: 0; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.photo-grid figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--ink-soft); text-align: center; }
@media (max-width: 700px) { .photo-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .photo-grid figure:first-child { grid-column: span 2; } .photo-grid figure:first-child img { aspect-ratio: 4 / 3; } }
@media (max-width: 1020px) { .gnav a { font-size: 0.8rem; padding-left: 2px; padding-right: 2px; } }

/* 右端の固定ボタン（幅116px）が営業時間カードに重なるため、ヒーローのパネルの
   右余白を広げて逃がす。必要な余白は画面幅によって変わるので、段差が出ないよう
   calc で連続的に求める。狭いときは132pxで頭打ち、広くて重ならないときは通常の24px。
   これで固定ボタンとの間が常に16px以上あく。
   880px以下では固定ボタンが画面下のバーになるため、この指定は当てない。 */
@media (min-width: 881px) {
  .hero-panel-inner { padding-right: clamp(24px, calc(692px - 50vw), 132px); }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .topbar .container { gap: 12px 22px; }
  .hours-mini { font-size: 0.72rem; }
  .telfax a { font-size: 1.5rem; }
  .gnav a { font-size: 0.85rem; }
  .float-line { width: 100px; }
  .float-qr { width: 80px; height: 80px; }
}

@media (max-width: 880px) {
  .about-wrap { grid-template-columns: 180px 1fr; gap: 28px; }
  .site-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(184, 31, 85, 0.12); border-bottom: 3px solid var(--pink); }
  .topbar .container { display: flex; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .brand-block { margin-right: auto; }
  .brand-addr, .telfax, .hours-mini, .top-line { display: none; }
  .gnav { display: none; }
  .top-tel { display: inline-flex; width: 44px; height: 44px; padding: 0; }
  .top-tel .icon { width: 20px; height: 20px; margin: 0; }
  .nav-toggle { display: block; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.3rem; }

  .hero-photo { height: auto; aspect-ratio: 2 / 1; }
  .hero-caption { left: 20px; bottom: 16px; font-size: 1.2rem; }
  .hero-caption small { font-size: 0.62rem; }
  .hero-panel { margin-top: 0; background: var(--pink-pale); padding: 24px 0 30px; pointer-events: auto; }
  .hero-panel-inner { flex-direction: column; align-items: stretch; gap: 20px; }
  .hero-btns { padding-bottom: 0; }
  .btn-arrow-lg { width: 100%; min-width: 0; padding: 18px 16px 18px 24px; font-size: 1.1rem; }
  .hero-hours { width: 100%; border-radius: 16px; box-shadow: 0 4px 16px rgba(184, 31, 85, 0.12); }

  .intro { padding: 60px 0 44px; }
  .intro p br { display: none; }

  .feature-band { margin-bottom: 44px; }
  .feature-list { gap: 56px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; margin: 0 8px; }
  .feature-row.reverse .feature-text { order: 0; }
  .feature-text { padding: 28px 20px 30px; }
  .feature-head { gap: 14px; }
  .feature-label { width: 72px; height: 72px; font-size: 0.8rem; }
  .feature-label b { font-size: 1.5rem; }
  .feature-head h3 { font-size: 1.15rem; }
  .feature-visual { min-height: 170px; }
  .fv-icon { width: 100px; height: 100px; }
  .fv-icon .icon { width: 48px; height: 48px; }
  .frame::before, .frame::after { border-width: 9px; width: 52%; height: 50%; }

  .access-grid, .pay-grid { grid-template-columns: 1fr; }
  .care-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .pay-section { padding: 48px 0 40px; }
  .pay-banner { border-radius: 22px; font-size: 0.95rem; }
  .pay-banner small { display: block; margin: 0; }
  .footer-nav li { padding: 0 12px; }
  .footer-logo { margin: 32px 0 22px; }
  .footer-logo strong { font-size: 1.6rem; }
  .footer-info { gap: 18px; flex-direction: column; text-align: center; }
  .footer-tel { display: flex; flex-direction: column; align-items: center; }
  .footer-tel small { margin-left: 0; }
  .footer-cta { margin: 26px 0 40px; }

  /* floating buttons become a bottom bar */
  body { padding-bottom: 60px; }
  .float-cta { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; gap: 0; }
  .float-cta a { flex: 1; width: auto !important; align-self: stretch !important; flex-direction: row; justify-content: center; gap: 8px; padding: 12px 6px !important; border-radius: 0; font-size: 0.9rem; box-shadow: 0 -2px 10px rgba(58, 42, 48, 0.15); }
  .float-cta a span br { display: none; }
  .float-qr { display: none; }
  .page-top { right: 14px; bottom: 74px; width: 44px; height: 44px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .about-wrap { grid-template-columns: 1fr; gap: 24px; }
  .about-visual { max-width: 160px; margin: 0 auto; }
  .hero-btns { gap: 12px; }
  .hours-grid { font-size: 0.85rem; }
  .info-table th { width: 32%; padding: 12px; }
  .info-table td { padding: 12px; }
  .btn-lg { font-size: 1.25rem; padding: 14px 28px; }
  .tbd-box, .contact-box { padding: 32px 16px; }
  .step { padding: 16px; gap: 14px; }
  .step-num { width: 54px; height: 54px; font-size: 1.4rem; }
  .step:not(:last-child)::after { left: 34px; }
  .notice-list { padding: 18px 16px 18px 32px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn-arrow, .btn:hover, .btn-arrow:hover { transition: none; transform: none; }
}

/* サブページ本文は長い日本語文がはみ出さないよう、通常の折り返しにする */
.page-body { word-break: normal; line-break: strict; }
.info-table { table-layout: fixed; }
