/* =====================================================================
   common.css — 下層ページ共通スタイル（site/{page}/index.html が読み込む）
   宍戸動物病院 / V3 下層ページ
   ・全ページで一致する共通ルールのみをここに集約
   ・ページ固有・ページ差のあるルールは各ページのインライン <style> に残す
   ・各ページは <link common.css> を <style> の直前で読み込み、
     インライン側が common を上書きできる順序にする
   ===================================================================== */


/* ---------- Reset & Base ---------- */
*,*::before,*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: clip; /* motion-reveal の水平スライド時に横スクロールを出さない（トップと同方式・clip は fixed と非干渉） */
}
body {
    /* fixed ヘッダー（.site-header）のぶん本文を下げる。トップ v3-home.css と同値 */
    padding-top: 96px;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
}
ul {
    list-style: none;
}
h1,h2 {
    font-family: 'Noto Serif JP', serif;
}
h1 {
    font-size: 44px;
    line-height: 1.55;
    font-weight: 600;
}
h2 {
    font-size: 30px;
    line-height: 1.6;
    font-weight: 600;
}
h3 {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 600;
}
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pc);
}

/* ---------- Section backgrounds & layout ---------- */
.section {
    padding-block: var(--section-y-pc);
}
.section--base {
    background: var(--color-bg);
}
.section--soft {
    background: var(--color-bg-soft);
}
/* セクション境界の区切り線（罫線方式の共通実装）。
   セクション上部に 1px 罫線を引く。左右はコンテナ幅にインセット。
   下層ページ共通で使用し、ページごとの独自実装を作らない。 */
.section--divider {
    position: relative;
}
.section--divider::before {
    content: "";
    position: absolute;
    top: 0;
    left:  max(var(--container-pc), calc((100% - var(--container-max)) / 2 + var(--container-pc)));
    right: max(var(--container-pc), calc((100% - var(--container-max)) / 2 + var(--container-pc)));
    height: 1px;
    background: var(--color-border);
}

/* ---------- Section headings ---------- */
.sec-sub,.section-kicker {
    font-family: 'Lora', serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    display: block;
}
/* セクションタイトル直下のゴールド下線（.section-head__line と同寸法）。
   左寄せが基本、中央寄せ見出しには .sec-line--center を併用する。 */
.sec-line {
    width: 48px;
    height: 2px;
    margin-top: 14px;
    background: var(--color-accent);
}
.sec-line--center {
    margin-inline: auto;
}

/* ---------- Header & global nav ---------- */
.button,.header-reserve-btn,.drawer-reserve-btn,.cta-btn {
    border-radius: var(--radius-sm);
    font-weight: 500;
}
.site-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.72);
    border-bottom-color: rgba(230, 216, 198, 0.42);
    box-shadow: 0 10px 26px rgba(90, 56, 56, 0.06);
}
.header-inner {
    max-width: none;
    margin-inline: auto;
    padding-inline: clamp(28px, 3.2vw, 52px);
    height: 96px;
    display: flex;
    align-items: center;
    gap: 0;
    transition: height 0.25s ease;
}
.header-logo {
    flex-shrink: 0;
    min-width: clamp(210px, 15vw, 260px);
    padding-right: clamp(18px, 1.8vw, 32px);
}
.header-logo img {
    transition: width 0.25s ease, opacity 0.25s ease;
}
.site-header.is-scrolled .header-inner {
    height: 80px;
}
.site-header.is-scrolled .header-logo img {
    width: clamp(168px, 10.8vw, 190px);
    opacity: 0.94;
}
.global-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 3vw, 52px);
    flex: 1;
    padding-inline: clamp(28px, 3.4vw, 64px);
}
.global-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    transition: color 0.2s;
}
.global-nav a:hover,.global-nav a[aria-current="page"] {
    color: var(--color-accent);
}
.global-nav__item {
    position: relative;
}
.global-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.global-nav__link::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}
.global-nav__dropdown {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    min-width: 190px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 36px rgba(90, 56, 56, 0.12);
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.global-nav__dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -22px;
    height: 22px;
}
.global-nav__dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
}
.global-nav__dropdown a:hover {
    background: var(--color-bg-soft);
    color: var(--color-accent);
}
.global-nav__item--has-dropdown:hover .global-nav__dropdown,
.global-nav__item--has-dropdown:focus-within .global-nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.header-contact {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 210px;
    padding-left: clamp(18px, 1.8vw, 32px);
}
.header-tel {
    display: grid;
    grid-template-columns: 24px auto;
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
    line-height: 1;
}
.header-tel::before {
    content: '';
    grid-row: 1 / span 2;
    width: 22px;
    height: 22px;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23C9923F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.77.62 2.61a2 2 0 0 1-.45 2.11L8.09 9.63a16 16 0 0 0 6.28 6.28l1.19-1.19a2 2 0 0 1 2.11-.45c.84.29 1.71.5 2.61.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.header-tel-label {
    grid-column: 2;
    font-size: 12px;
    color: var(--color-text-body);
    letter-spacing: 0.08em;
}
.header-tel-num {
    grid-column: 2;
    font-family: 'Lora', serif;
    font-size: 21px;
    font-weight: 600;
    color: var(--color-main);
    letter-spacing: 0.04em;
}
.header-hours {
    padding-left: 34px;
    font-size: 12px;
    color: var(--color-text-body);
    letter-spacing: 0.04em;
}
.header-reserve-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    background: var(--color-accent);
    color: var(--color-text-light);
    font-size: 13px;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.header-reserve-btn:hover {
    opacity: 0.86;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    height: 1.5px;
    background: var(--color-main);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.hamburger.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Drawer (mobile menu) ---------- */
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 200;
}
.drawer-overlay.is-open {
    display: block;
}
.drawer {
    position: fixed;
    inset: 0;
    width: 100%;
    background: var(--color-bg);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    display: flex;
    flex-direction: column;
    padding: 88px var(--container-sp) 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.drawer.is-open {
    opacity: 1;
    visibility: visible;
}
.drawer-close {
    display: none;
}
.drawer-nav {
    padding-top: 0;
}
.drawer-nav__group + .drawer-nav__group {
    margin-top: 0;
}
.drawer-nav__primary {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 12px 2px;
    font-family: 'Noto Serif JP', serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: color 0.2s;
}
.drawer-nav__primary:hover,.drawer-nav__primary[aria-current="page"] {
    color: var(--color-main);
}
.drawer-nav__primary[aria-current="page"] {
    padding-left: 12px;
    border-left: 2px solid var(--color-accent);
}
.drawer-nav__sub {
    display: flex;
    flex-direction: column;
}
.drawer-nav__sub a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 2px 10px 18px;
    font-size: 15px;
    color: var(--color-text-body);
    border-bottom: 1px solid var(--color-border);
}
.drawer-nav__sub a[aria-current="page"] {
    color: var(--color-main);
    font-weight: 500;
}
.drawer-cta {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.drawer-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    background: var(--color-accent);
    color: var(--color-text-light);
    border: 0;
    border-radius: var(--radius-md);
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: opacity 0.2s;
}
.drawer-tel::before {
    content: "";
    width: 18px;
    height: 18px;
    margin-right: 8px;
    flex-shrink: 0;
    background: url("../images/icons/icon-phone.svg") center / contain no-repeat;
}
.drawer-tel:hover { opacity: 0.9; }
.drawer-tel-sub {
    padding: 9px 12px;
    background: var(--color-main);
    color: var(--color-text-light);
    border-radius: var(--radius-md);
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}
.drawer-reserve-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    background: var(--color-accent);
    color: var(--color-text-light);
    font-size: 14px;
}

/* ---------- Page hero & breadcrumb ---------- */
.page-hero {
    background: var(--color-bg-soft);
    padding-block: 72px 64px;
    border-bottom: 1px solid var(--color-border);
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-family: 'Lora', serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 42px;
}
.breadcrumb a {
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: var(--color-accent);
}
.page-hero__content {
    max-width: 760px;
}
.page-hero__sub {
    margin-bottom: 10px;
}
.page-hero__title {
    color: var(--color-main);
    margin-bottom: 16px;
}
.page-hero__title:last-child {
    margin-bottom: 0;
}
.page-hero__line {
    width: 24px;
    height: 2px;
    background: var(--color-accent);
    margin-bottom: 28px;
}

/* ---------- Section headings ---------- */
.section-head {
    margin-bottom: 36px;
}
.section-head--center {
    text-align: center;
}
.section-head__sub {
    color: var(--color-accent);
    margin-bottom: 12px;
}
.section-head h2 {
    color: var(--color-main);
    margin-bottom: 14px;
}
.section-head__line {
    width: 48px;
    height: 2px;
    background: var(--color-accent);
}
.section-head--center .section-head__line {
    margin-inline: auto;
}

/* ---------- Split layout ---------- */
.split-lead {
    align-self: center;
}
.split-lead h2 {
    color: var(--color-main);
    margin-bottom: 16px;
}
.split-lead p {
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 1.95;
}

/* ---------- Buttons ---------- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 22px;
    font-size: 13px;
    transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.button--outline {
    color: var(--color-main);
    border: 1px solid var(--color-main);
}
.button--outline:hover {
    background: var(--color-main);
    color: var(--color-text-light);
}
.button--dark {
    background: var(--color-main);
    color: var(--color-text-light);
}
.button--dark:hover {
    opacity: 0.86;
}
.button--accent {
    background: var(--color-accent);
    color: var(--color-text-light);
}
.button--accent:hover {
    opacity: 0.86;
}

/* ---------- Policy lead (shared) ---------- */
.policy-copy h2 {
    color: var(--color-main);
    margin-bottom: 20px;
}
.policy-copy p {
    color: var(--color-text-body);
    line-height: 2;
    max-width: 720px;
}
.policy-point {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    align-items: start;
    font-size: 14px;
    color: var(--color-text);
}
.policy-point + .policy-point {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}
.policy-point__num {
    font-family: 'Lora', serif;
    font-size: 13px;
    color: var(--color-accent);
}

/* ---------- Checklist ---------- */
.check-list {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 30px 32px;
    box-shadow: 0 2px 8px rgba(90, 56, 56, 0.05);
}
.check-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 14px;
    align-items: start;
}
.check-item + .check-item {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--color-border);
}
.check-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-bg-section);
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lora', serif;
    font-size: 14px;
    font-weight: 600;
}
.check-item h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 17px;
    color: var(--color-main);
    margin-bottom: 6px;
}
.check-item p {
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 1.85;
}

/* ---------- Flow ---------- */
.flow-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 34px 36px;
    box-shadow: 0 2px 8px rgba(90, 56, 56, 0.05);
}
.flow-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-accent);
    background: var(--color-bg);
    color: var(--color-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.flow-num-label {
    font-family: 'Lora', serif;
    font-size: 9px;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
}
.flow-num-value {
    font-family: 'Lora', serif;
    font-size: 18px;
    color: var(--color-accent);
}
.flow-body h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    color: var(--color-main);
    margin-bottom: 6px;
}
.flow-body p {
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 1.85;
}

/* ---------- Worry list ---------- */
.worry-item h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 17px;
    color: var(--color-main);
    margin-bottom: 8px;
}
.worry-item p {
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 1.85;
}

/* ---------- Care cards ---------- */
.care-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.care-card__icon {
    grid-area: icon;
    width: 96px;
    height: 96px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.care-card__title {
    grid-area: title;
    font-family: 'Noto Serif JP', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-main);
    line-height: 1.45;
    align-self: end;
}
.care-card__text {
    grid-area: text;
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 1.75;
}
.care-card__example {
    grid-area: example;
    font-size: 12px;
    color: var(--color-main);
    line-height: 1.7;
    padding-top: 6px;
}
.care-card__example span {
    color: var(--color-accent);
}

/* ---------- Section headings ---------- */
.section-follow {
    margin-top: 28px;
}

/* ---------- FAQ ---------- */
.faq-section {
    position: relative;
    background: var(--color-bg);
    overflow: hidden;
}
.faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}
.faq-head {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}
.faq-list {
    width: min(100%, 920px);
    margin-inline: auto;
    display: grid;
    gap: 12px;
}
.faq-item {
    border: 1px solid rgba(209, 183, 143, 0.62);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 34px rgba(90, 56, 56, 0.06);
    overflow: hidden;
}
.faq-question {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    gap: 16px;
    align-items: center;
    min-height: 76px;
    padding: 18px 24px;
    cursor: pointer;
    list-style: none;
    color: var(--color-main);
    font-weight: 600;
}
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-question::before {
    content: 'Q';
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-bg-section);
    color: var(--color-main);
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}
.faq-toggle {
    position: relative;
    width: 22px;
    height: 22px;
}
.faq-toggle::before,.faq-toggle::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 1.5px;
    background: var(--color-accent);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}
.faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}
.faq-answer {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    padding: 0 24px 24px;
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.9;
}
.faq-answer::before {
    content: 'A';
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-main);
    color: #fff;
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}
.faq-answer p {
    padding-top: 6px;
}

/* ---------- Hours table ---------- */
.hours-layout {
    display: grid;
    grid-template-columns: 28% 1fr;
    gap: 40px;
    align-items: start;
}
.hours-lead h2 {
    color: var(--color-main);
    margin-bottom: 16px;
}
.hours-lead p {
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 1.9;
}
.hours-table-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: 0.06em;
}
.hours-table thead th {
    background: var(--color-bg-section);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-muted);
}
.hours-table .dash {
    color: var(--color-border-strong);
}
.hours-note {
    font-size: 11px;
    color: var(--color-text-body);
    line-height: 1.8;
    margin-top: 10px;
}

/* ---------- Contact CTA ---------- */
.contact-cta {
    padding-block: var(--section-y-pc);
    background: var(--color-bg-soft);
}
.cta-box {
    background: var(--color-bg-cta);
    border-radius: var(--radius-lg);
    padding: 28px 40px;
    display: grid;
    grid-template-columns: 22% 41% 1fr;
    grid-template-areas: "image text buttons";
    gap: 24px;
    align-items: center;
}
.cta-image {
    grid-area: image;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-sm);
}
.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta-text {
    grid-area: text;
}
.cta-text h2 {
    color: var(--color-text-light);
    margin-bottom: 10px;
    font-size: 26px;
}
.cta-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.8;
}
.cta-buttons {
    grid-area: buttons;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cta-btn:hover {
    opacity: 0.88;
}
.cta-btn--dark {
    background: var(--color-main);
    color: var(--color-text-light);
}
.cta-btn--light {
    background: var(--color-surface);
    color: var(--color-main);
}
.cta-btn-sub {
    font-size: 10px;
    opacity: 0.75;
    font-weight: 400;
    letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
}
.footer-main {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pc);
    padding-block: 40px 32px;
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: var(--gap-lg);
    align-items: start;
}
.footer-clinic {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-clinic-logo {
    width: 140px;
    height: auto;
    margin-bottom: 4px;
}
.footer-clinic-addr {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.8;
}
.footer-clinic-tel {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-main);
    letter-spacing: 0.04em;
}
.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
    align-items: start;
}
.footer-nav-col-title {
    font-family: 'Lora', serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}
.footer-nav-col a {
    display: block;
    font-size: 13px;
    color: var(--color-text);
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-nav-col a:hover {
    color: var(--color-accent);
}

/* ---------- Hours table ---------- */
.footer-hours-item {
    font-size: 12px;
    color: var(--color-text);
    line-height: 1.7;
    padding: 3px 0;
}
.footer-hours-day {
    display: block;
    font-size: 11px;
    color: var(--color-text-muted);
}

/* ---------- Footer ---------- */
.footer-bottom {
    background: var(--color-main);
}
.footer-bottom-inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pc);
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-privacy,.footer-copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.04em;
}
.footer-privacy:hover {
    color: #ffffff;
}

/* ---------- Hours table ---------- */
.hours-intro {
    font-size: 15px;
    color: var(--color-text-body);
    line-height: 1.9;
    margin-bottom: 24px;
    max-width: 720px;
}

@media (max-width: 767px) {
  body {
      padding-top: 72px;
  }
  h1 {
      font-size: 30px;
  }
  h2 {
      font-size: 24px;
  }
  h3 {
      font-size: 18px;
  }
  .container {
      padding-inline: var(--container-sp);
  }
  .section {
      padding-block: var(--section-y-sp);
  }
  .section--divider::before {
      left: var(--container-sp);
      right: var(--container-sp);
  }
  .hamburger {
      display: flex;
      position: relative;
      justify-content: center;
      gap: 2px;
      width: 48px;
      height: 48px;
      padding: 17px 18px 4px;
      background: url("../images/icons/icon-menu-paw.svg") center / 44px 44px no-repeat;
      z-index: 1;
  }
  .hamburger span {
      width: 12px;
      height: 1px;
      background: var(--color-text-light);
  }
  .hamburger:not(.is-open) span:nth-child(1),
  .hamburger:not(.is-open) span:nth-child(3) {
      width: 11px;
  }
  .hamburger.is-open span:nth-child(1) {
      width: 13px;
      transform: translate(-0.5px, 2px) rotate(45deg);
  }
  .hamburger.is-open span:nth-child(3) {
      width: 13px;
      transform: translate(-0.5px, -4px) rotate(-45deg);
  }
  .header-inner {
      height: 72px;
      padding-inline: 16px;
  }
  .site-header.is-scrolled .header-inner { height: 72px; }
  .site-header.is-scrolled .header-logo img { width: 160px; opacity: 1; }
  .header-logo {
      min-width: 0;
      padding-right: 0;
      border-right: none;
  }
  .page-hero {
      padding-block: 36px 42px;
  }
  .breadcrumb {
      margin-bottom: 30px;
  }
  .section-head {
      margin-bottom: 28px;
  }
  .check-list,.flow-panel {
      padding: 24px 20px;
  }
  .check-item {
      grid-template-columns: 28px 1fr;
      gap: 12px;
  }
  .check-mark {
      width: 28px;
      height: 28px;
      font-size: 13px;
  }
  .flow-num {
      width: 44px;
      height: 44px;
  }
  .care-card__icon {
      width: 76px;
      height: 76px;
  }
  .care-card__title {
      font-size: 16px;
  }
  .care-card__text {
      font-size: 13.5px;
  }
  .faq-head {
      text-align: left;
  }
  .faq-head .sec-line {
      margin-inline: 0;
  }
  .faq-list {
      gap: 10px;
  }
  .faq-question {
      grid-template-columns: 34px minmax(0, 1fr) 20px;
      gap: 12px;
      min-height: 68px;
      padding: 16px;
      font-size: 15px;
  }
  .faq-question::before,.faq-answer::before {
      width: 34px;
      height: 34px;
      font-size: 14px;
  }
  .faq-answer {
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 12px;
      padding: 0 16px 18px;
      font-size: 13px;
  }
  .hours-layout {
      grid-template-columns: 1fr;
      gap: var(--gap-md);
  }
  .contact-cta {
      padding-block: var(--section-y-sp);
  }
  .cta-box {
      grid-template-columns: 1fr;
      grid-template-areas:
          "text"
          "buttons"
          "image";
      padding: 28px 24px;
      gap: 20px;
  }
  .cta-image {
      aspect-ratio: 3 / 2;
  }
  .cta-text h2 {
      font-size: 22px;
  }
  .footer-main {
      grid-template-columns: 1fr;
      padding-inline: var(--container-sp);
      gap: var(--gap-md);
  }
  .footer-nav {
      grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom-inner {
      padding-inline: var(--container-sp);
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  body {
      padding-top: 76px;
  }
  .hamburger {
      display: flex;
  }
  .header-inner {
      height: 76px;
      padding-inline: 16px;
  }
  .site-header.is-scrolled .header-inner { height: 76px; }
  .header-logo {
      min-width: 0;
      padding-right: 0;
      border-right: none;
  }
}

@media (max-width: 1023px) {
  .care-grid {
      grid-template-columns: 1fr;
  }
}

/* =====================
   Scroll Motion（共通・下層ページ用）
   トップ（v3-home.css）の motion-reveal と同値で揃える
===================== */
body.motion-ready .motion-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.72s ease,
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--motion-delay, 0s);
  will-change: opacity, transform;
}
body.motion-ready .motion-reveal--left {
  transform: translateX(-24px);
}
body.motion-ready .motion-reveal--right {
  transform: translateX(24px);
}
body.motion-ready .motion-reveal--scale {
  transform: translateY(18px) scale(0.985);
}
body.motion-ready .motion-reveal--fade {
  transform: none;
  transition: opacity 0.72s ease;
  will-change: opacity;
}
body.motion-ready .motion-reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
body.motion-ready .motion-reveal--fade.is-visible {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body.motion-ready .motion-reveal,
  body.motion-ready .motion-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 診療時間表: 本日の曜日列ハイライト（js/hours-today.js が .is-today を付与）
   トップ（v3-home.css）と同等の見た目で揃える */
.hours-table th.is-today,
.hours-table td.is-today {
  background: rgba(201, 146, 63, 0.12);
  box-shadow: inset 0 0 0 1px rgba(201, 146, 63, 0.22);
}
.hours-table thead th.is-today {
  background: var(--color-accent);
  color: #fff;
}
.hours-table td.is-today .dot,
.hours-table td.is-today .dash {
  color: var(--color-main);
}
