/* =========================================================
   〇〇内科クリニック — front page
   WordPress化時：style.css（テーマ）へそのまま移植可能な構成
   ========================================================= */
:root {
  --orange: #ee6a2c;
  --orange-2: #f5893a;
  --orange-ink: #b0430f;
  --btn: linear-gradient(135deg, #e5651f, #cc4f14); /* 白地テキスト用（AA） */
  --orange-soft: #fdebe0;
  --beige: #fbf4ec;
  --beige-2: #f6ebdf;
  --line: #eadfd3;
  --ink: #3b3330;
  --ink-2: #5f5550;
  --green: #86a873;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(120, 80, 40, .08);
  --side: 260px;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --hand: "Klee One", "Zen Maru Gothic", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--beige);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
p, li { text-wrap: pretty; }
.sprite { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--sm { width: 16px; height: 16px; stroke-width: 2.2; }
.ico--lg { width: 40px; height: 40px; stroke-width: 1.5; }
.ico--title { width: 28px; height: 28px; }
.ico--orange { color: var(--orange); }
.ico--green { color: var(--green); }
.ico--leaf { width: 34px; height: 34px; color: var(--green); }
.pc { display: inline; }

/* ---------- Header / sidebar ---------- */
body { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); }
.site-header { grid-column: 1; grid-row: 1; position: relative; z-index: 20; background: var(--white); padding: 34px 22px 34px 0; border-bottom-right-radius: 28px; box-shadow: 6px 0 24px rgba(120, 80, 40, .06); align-self: stretch; }
main, .site-footer { grid-column: 1 / -1; }
main { display: contents; }
.hero { grid-column: 2; grid-row: 1; }
.quick, .features, .medical, .message, .info { grid-column: 1 / -1; }

.brand { padding-left: 26px; }
.brand__name { font-size: 21px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; line-height: 1.4; display: inline-block; }
.brand__sub { font-size: 14px; color: var(--ink-2); line-height: 1.7; margin-top: 8px; }
.menu-btn, .hdr-tel-sp { display: none; }

.gnav__list { margin-top: 30px; display: grid; gap: 4px; }
.gnav__list a { display: flex; align-items: center; gap: 16px; padding: 10px 18px 10px 30px; font-size: 15px; border-radius: 0 999px 999px 0; transition: background .2s; }
.gnav__list a:hover { background: var(--beige); }
.gnav__list a.is-current { background: var(--orange-soft); color: var(--orange-ink); position: relative; }
.gnav__list a.is-current::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--orange); }

.btn-tel { display: flex; align-items: center; gap: 10px; margin: 26px 0 0 12px; padding: 14px 18px; border-radius: 999px; color: #fff; background-color: #cc4f14; background-image: var(--btn); box-shadow: 0 8px 18px rgba(238, 106, 44, .3); transition: transform .2s; }
.btn-tel:hover { transform: translateY(-2px); }
.btn-tel .ico { width: 28px; height: 28px; }
.btn-tel b { display: block; font-size: 21px; letter-spacing: .03em; line-height: 1.2; }
.btn-tel small { display: block; font-size: 13px; line-height: 1.3; }
.hdr-hours { margin: 12px 0 0 24px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.hdr-hours span { font-size: 14px; }

/* sticky bar (PC) */
.sticky-bar { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 24px; padding: 10px 32px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); box-shadow: 0 4px 16px rgba(120, 80, 40, .1); transform: translateY(-110%); transition: transform .35s; }
.sticky-bar.is-show { transform: none; }
.sticky-bar__name { font-weight: 700; font-size: 18px; letter-spacing: .05em; }
.sticky-bar__hours { margin-left: auto; font-size: 14px; color: var(--ink-2); }
.sticky-bar__tel { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 20px; color: var(--orange-ink); }

/* ---------- Hero (全面背景FV) ---------- */
.hero { position: relative; min-height: clamp(620px, 52vw, 800px); display: flex; flex-direction: column; justify-content: center; padding: 60px 5vw 100px; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 249, 242, .92) 0%, rgba(255, 249, 242, .78) 32%, rgba(255, 249, 242, .2) 55%, rgba(255, 249, 242, 0) 70%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: -1; background: linear-gradient(to bottom, rgba(251, 244, 236, 0), var(--beige)); }
.hero__body { max-width: 780px; }
.hero__title { font-family: var(--hand); font-weight: 600; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.6; letter-spacing: .05em; }
.hero__title span { display: block; }
.hero__title-line2 { position: relative; width: fit-content; }
.hero__swash { position: absolute; right: 4px; bottom: -16px; width: 58%; height: 22px; fill: none; stroke: var(--orange-2); stroke-width: 3; stroke-linecap: round; }
.hero__lead { margin-top: 26px; font-size: 17px; line-height: 2; color: var(--ink-2); }
.btn-cta { display: inline-flex; align-items: center; gap: 16px; margin-top: 30px; padding: 18px 28px; border-radius: 999px; color: #fff; background-color: #cc4f14; background-image: var(--btn); box-shadow: 0 12px 26px rgba(238, 106, 44, .35); font-weight: 700; font-size: 19px; line-height: 1.4; transition: transform .2s, box-shadow .2s; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(238, 106, 44, .4); }
.btn-cta .ico { width: 30px; height: 30px; }
.btn-cta__tel { display: block; font-size: 1.35em; letter-spacing: .04em; line-height: 1.2; }
.hero__hours { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.btn-cta .ico--sm { width: 18px; height: 18px; margin-left: 14px; }


/* ---------- decorative leaves ---------- */
.leaf { position: absolute; pointer-events: none; width: 120px; height: 260px; opacity: .55; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 260'%3E%3Cg fill='none' stroke='%2393ad7e' stroke-width='2'%3E%3Cpath d='M60 258C58 180 64 90 96 6'/%3E%3C/g%3E%3Cg fill='%23a9c294'%3E%3Cpath d='M62 220c-30-6-46-26-50-48 24 4 44 22 50 48z'/%3E%3Cpath d='M64 190c26-8 42-28 44-50-22 6-40 26-44 50z'/%3E%3Cpath d='M66 150c-28-6-42-26-46-46 22 4 40 22 46 46z'/%3E%3Cpath d='M72 118c22-10 34-30 34-50-20 8-32 28-34 50z'/%3E%3Cpath d='M78 82c-22-6-34-22-36-40 18 4 32 18 36 40z'/%3E%3Cpath d='M86 50c18-8 26-24 26-40-16 6-24 22-26 40z'/%3E%3C/g%3E%3C/svg%3E"); }
.leaf--qr { right: 6px; top: -120px; transform: rotate(8deg); }
.leaf--ml { left: -20px; top: -60px; transform: rotate(-18deg); width: 90px; }
.leaf--mr { right: 20px; top: 0; transform: rotate(25deg); opacity: .4; }
.leaf--fr { right: 40px; bottom: 30px; width: 90px; height: 180px; opacity: .3; transform: rotate(30deg); }

/* ---------- Quick links ---------- */
.quick { position: relative; padding: 24px 5vw 0; overflow-x: clip; overflow-y: visible; }
.quick__list { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick__list a { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 16px 28px; background: rgba(255, 255, 255, .85); border: 1px solid #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; height: 100%; }
.quick__list a:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(120, 80, 40, .12); }
.quick__list .ico--lg { color: #4f6f8c; }
.quick__list .ico--lg.ico--orange { color: var(--orange); }
.quick__list b { margin-top: 12px; font-size: 18px; letter-spacing: .05em; }
.quick__list span { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-top: 4px; }
.circle-arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: var(--orange-2); margin-top: 14px; }

/* ---------- Section title ---------- */
.sec-title { display: flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; }
.sec-title em { font-style: normal; font-size: 1.6em; line-height: 1; color: var(--orange); font-family: var(--hand); margin: 0 2px; position: relative; top: .04em; }
.sec-title--center { justify-content: center; }

/* ---------- Features ---------- */
.features { padding: 80px 5vw 40px; }
.features__list { max-width: 1240px; margin: 44px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature { position: relative; text-align: center; }
.feature__img { border-radius: 26px 26px 50% 50% / 26px 26px 18% 18%; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.feature:hover .feature__img img { transform: scale(1.04); }
.feature__num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 64px; height: 64px; margin: -10px 0 0 -6px; border-radius: 50%; background: rgba(214, 90, 30, .9); color: #fff; font-family: var(--hand); font-size: 26px; letter-spacing: .04em; box-shadow: 0 6px 16px rgba(238, 106, 44, .3); }
.feature h3 { margin-top: 26px; font-size: 23px; line-height: 1.55; letter-spacing: .08em; }
.feature p { text-wrap: pretty; margin: 16px auto 0; max-width: 23em; font-size: 16px; line-height: 1.9; color: var(--ink-2); text-align: left; }

/* ---------- Medical ---------- */
.medical { position: relative; padding: 40px 5vw 30px; }
.panel { max-width: 1240px; margin: 0 auto; background: rgba(255, 255, 255, .78); border-radius: 24px; padding: 34px 40px 40px; box-shadow: var(--shadow); }
.panel__head, .card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.panel .sec-title { font-size: 26px; }
.btn-pill { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 700; box-shadow: 0 4px 12px rgba(120, 80, 40, .06); transition: border-color .2s, color .2s; }
.btn-pill:hover { border-color: var(--orange); color: var(--orange-ink); }
.btn-pill--sm { padding: 8px 18px; font-size: 14px; }
.medical__list { margin-top: 28px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.medical__list a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 6px 18px; border-radius: 16px; transition: background .2s; }
.medical__list a:hover { background: var(--beige); }
.m-ico { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; }
.m-ico .ico { width: 38px; height: 38px; stroke-width: 1.5; }
.m-ico--blue { background: #e6f0f8; color: #4a79a6; }
.m-ico--orange { background: #fdeadf; color: var(--orange); }
.m-ico--green { background: #e8f2e1; color: #5f9150; }
.m-ico--teal { background: #e3f1f1; color: #3f8b93; }
.m-ico--pink { background: #fbe5e3; color: #d0594f; }
.m-ico--sky { background: #e5eef9; color: #4b74b8; }
.medical__list b { margin-top: 14px; font-size: 17px; letter-spacing: .04em; }
.medical__list span { margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }

/* ---------- Message ---------- */
.message { position: relative; overflow-x: clip; display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); align-items: center; gap: 0; margin: 30px 0 0; background: linear-gradient(90deg, transparent 0 20%, rgba(255, 255, 255, .65) 20%); }
.message__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0 24px 24px 0; }
.message__img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.message__body { position: relative; z-index: 1; padding: 50px 6vw 50px 5vw; max-width: 780px; }
.message__title { font-size: 26px; font-weight: 700; letter-spacing: .1em; margin-bottom: 20px; }
.message__body p + p { margin-top: 12px; }
.message__sign { margin-top: 24px !important; text-align: right; }
.message__sign small { display: block; font-size: 14px; color: var(--ink-2); }
.message__sign span { font-family: var(--hand); font-size: 24px; letter-spacing: .2em; }

/* ---------- Info cards ---------- */
.info { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; padding: 40px 3vw 60px; max-width: 1400px; margin: 0 auto; width: 100%; }
.card { background: #fff; border-radius: 22px; padding: 30px 30px 34px; box-shadow: var(--shadow); }
.card__title { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: .06em; }
.hours__grid { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; }
.table-wrap { overflow-x: auto; }
.hours__table { width: 100%; border-collapse: collapse; font-size: 15px; text-align: center; border: 1px solid var(--line); border-radius: 12px; }
.hours__table th, .hours__table td { padding: 12px 4px; border-bottom: 1px solid var(--line); }
.hours__table thead th { background: var(--beige); font-weight: 700; font-size: 14px; }
.hours__table tbody th { font-weight: 500; white-space: nowrap; padding: 12px 10px; font-size: 14px; }
.hours__table td { color: var(--ink); font-size: 16px; }
.hours__table .off { color: #b9aca2; }
.hours__closed { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-size: 15px; }
.tag { display: inline-block; padding: 1px 12px; border-radius: 999px; font-size: 14px; background: var(--beige-2); color: var(--ink-2); white-space: nowrap; line-height: 1.7; }
.tag--orange { color: #fff; font-weight: 700; background: #b8460f; }
.tag--red { background: #b8352a; color: #fff; font-weight: 700; }
.hours__access figure { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; }
.hours__access figure img { width: 100%; height: 100%; object-fit: cover; }
.hours__access ul { margin-top: 12px; display: grid; gap: 4px; font-size: 15px; line-height: 1.6; }
.hours__access li { display: flex; gap: 8px; align-items: center; }
.hours__access li .ico { width: 18px; height: 18px; }
.hours__access .btn-pill { margin-top: 12px; }

.news__list { margin-top: 14px; }
.news__list a { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 6px 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.news__list li:last-child a { border-bottom: 0; }
.news__list time { color: var(--ink-2); font-size: 14px; letter-spacing: .03em; }
.news__list .tag { font-size: 13px; padding: 0 10px; min-width: 5.2em; text-align: center; }
.news__list a:hover .news__title { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #fff; padding: 40px 3vw 20px; overflow: hidden; }
.footer__inner { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 40px; }
.footer__name { font-size: 22px; font-weight: 700; letter-spacing: .06em; }
.footer__brand p:not(.footer__name), .footer__brand address { font-size: 14px; color: var(--ink-2); font-style: normal; line-height: 1.8; }
.footer__cta { display: flex; gap: 18px; align-items: center; }
.footer__tel { display: flex; align-items: center; gap: 8px; color: var(--orange-ink); }
.footer__tel .ico { width: 30px; height: 30px; }
.footer__tel b { display: block; font-size: 24px; line-height: 1.2; letter-spacing: .03em; }
.footer__tel small, .footer__nav ul { display: flex; flex-wrap: wrap; gap: 4px 0; justify-content: flex-end; }
.footer__nav li { font-size: 14px; }
.footer__nav li + li::before { content: "|"; margin: 0 14px; color: var(--line); }
.footer__nav a:hover { color: var(--orange-ink); }
.footer__demo { text-align: center; margin-top: 26px; font-size: 14px; color: var(--ink-2); }
.footer__copy { text-align: center; margin-top: 4px; color: var(--ink-2); }
.footer__copy small { font-size: 13px; }
.pagetop { position: fixed; right: 22px; bottom: 22px; z-index: 25; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: #b5a79c; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s; }
.pagetop.is-show { opacity: 1; pointer-events: auto; }

/* ---------- reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .hero__swash path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.2s .6s ease forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  :root { --side: 240px; }
  .site-header { padding-right: 16px; }
  .brand { padding-left: 20px; }
  .brand__name { font-size: 19px; }
  .gnav__list a { padding-left: 20px; gap: 12px; font-size: 14px; white-space: nowrap; }
  .btn-tel { margin-left: 10px; padding: 12px 14px; gap: 8px; }
  .btn-tel .ico { width: 22px; height: 22px; }
  .btn-tel b { font-size: 18px; white-space: nowrap; }
  .btn-tel small { white-space: nowrap; }
  .hdr-hours { margin-left: 18px; }
  .medical__list { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
  .info { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__nav { grid-column: 1 / -1; }
  .footer__nav ul { justify-content: flex-start; }
}

/* ---- tablet / SP: サイドバー → 上部ヘッダー＋ドロワー ---- */
@media (max-width: 960px) {
  body { display: block; padding-top: 64px; }
  main { display: block; }
  .site-header { position: fixed; inset: 0 0 auto 0; height: 64px; display: flex; align-items: center; padding: 0 8px 0 16px; border-radius: 0; box-shadow: 0 2px 14px rgba(120, 80, 40, .08); }
  .brand { padding: 0; margin-right: auto; min-width: 0; }
  .brand__name { font-size: 19px; }
  .brand__sub { display: none; }
  .hdr-tel-sp, .menu-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 52px; letter-spacing: 0; white-space: nowrap; border: 0; border-radius: 12px; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.2; cursor: pointer; }
  .hdr-tel-sp { order: 2; color: #fff; background-color: #cc4f14; background-image: var(--btn); margin-right: 6px; }
  .menu-btn { order: 3; background: var(--beige); color: var(--ink); }
  .hdr-tel-sp .ico, .menu-btn .ico { width: 24px; height: 24px; }
  .gnav { position: fixed; top: 64px; left: 0; right: 0; bottom: 0; overflow-y: auto; background: #fff; padding: 16px 20px 40px; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .gnav.is-open { transform: none; visibility: visible; }
  .gnav__list { margin-top: 0; }
  .gnav__list a { font-size: 19px; padding: 14px 16px; border-radius: 12px; border-bottom: 1px solid var(--line); }
  .gnav__list a.is-current::before { display: none; }
  .btn-tel,   .btn-tel b { font-size: 24px; }
  .hdr-hours { margin-left: 0; text-align: center; font-size: 15px; }
      .sticky-bar { display: none; }

  .hero { min-height: calc(100svh - 64px); max-height: 860px; justify-content: flex-end; padding: 40px 6vw 34px; }
  .hero__bg img { object-position: 74% 12%; }
  .hero::before { background: linear-gradient(180deg, rgba(255, 249, 242, 0) 18%, rgba(255, 249, 242, .78) 46%, rgba(255, 249, 242, .95) 62%); }
  .hero::after { display: none; }

  .quick { padding-top: 30px; }
  .quick__list { grid-template-columns: repeat(3, 1fr); }
  .features__list { grid-template-columns: 1fr; max-width: 560px; gap: 48px; }
  .feature p { text-align: center; }
  .message { grid-template-columns: 1fr; background: rgba(255, 255, 255, .65); }
  .message__img { border-radius: 0; aspect-ratio: 16 / 10; }
  .message__body { padding: 36px 6vw 44px; }
  .hours__grid { grid-template-columns: 1fr; }
  .leaf--qr, .leaf--mr, .leaf--ml { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .pc { display: none; }
  .hero { padding: 30px 20px 24px; }
  .hero__title { font-size: clamp(22px, 6.4vw, 32px); letter-spacing: .02em; line-height: 1.6; }
  .hero__lead { margin-top: 14px; font-size: 16px; line-height: 1.8; }
  .btn-cta { margin-top: 18px; width: 100%; padding: 14px 18px; font-size: clamp(15px, 4.4vw, 17px); gap: 12px; }
  .btn-cta .ico { width: 26px; height: 26px; }
  .btn-cta .ico--sm { margin-left: auto; }
  .hero__hours { margin-top: 10px; font-size: 14px; line-height: 1.6; }
  .hero__hours span { display: block; }
  .quick { padding: 24px 16px 0; }
  .quick__list { gap: 10px; }
  .quick__list a { padding: 18px 8px 18px; }
  .quick__list .ico--lg { width: 34px; height: 34px; }
  .quick__list b { font-size: 16px; margin-top: 8px; }
  .features { padding: 60px 20px 20px; }
  .sec-title { font-size: 23px; }
  .features__list { margin-top: 30px; }
  .feature h3 { font-size: 21px; }
  .medical { padding: 30px 16px 20px; }
  .panel { padding: 26px 16px 24px; }
  .panel .sec-title { font-size: 23px; }
  .medical__list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .m-ico { width: 72px; height: 72px; }
  .message__title { font-size: 23px; }
  .info { padding: 30px 16px 40px; gap: 20px; }
  .card { padding: 24px 18px 26px; }
  .card__title { font-size: 20px; }
  .hours__table th, .hours__table td { padding: 10px 2px; }
  .hours__table thead th, .hours__table tbody th { font-size: 13px; padding-left: 4px; padding-right: 4px; }
  .hours__table td { font-size: 14px; }
  .news__list a { grid-template-columns: auto auto 1fr; }
  .news__list .tag { justify-self: start; }
  .news__title { grid-column: 1 / -1; font-size: 16px; }
  .site-footer { padding: 34px 20px 90px; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__cta { flex-direction: column; align-items: stretch; }
  .footer__tel { justify-content: center; padding: 10px; border: 1px solid var(--line); border-radius: 999px; }
    .footer__nav ul { justify-content: center; }
  .footer__nav li { font-size: 15px; }
  .footer__nav li + li::before { margin: 0 10px; }
  .pagetop { right: 14px; bottom: 14px; }
}

@media (max-width: 360px) {
  .brand__name { font-size: 17px; }
  .hero__title { font-size: 20px; }
  .quick__list span { font-size: 14px; }
  .m-ico { width: 64px; height: 64px; }
}
