/* ==================================================
   金沢うえの耳鼻咽喉科・鼻とアレルギーのクリニック
   style.css
================================================== */

html {
    margin: 0 !important;
    padding: 0 !important;
    scroll-behavior: smooth;
}

.body {
    position: relative;
    margin: 0;
    padding: 0;
    background: #FAFAF7;
    font-family: "Zen Maru Gothic", serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
}

* {
    box-sizing: border-box;
}

a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

.pc {
    display: block !important;
}

.sp {
    display: none !important;
}

@media screen and (max-width: 960px) {
    .sp {
        display: block !important;
    }

    .pc {
        display: none !important;
    }
}

/* ==================================================
   共通レイアウト
================================================== */
.wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.heading {
    position: relative;
    width: 100%;
    max-width: 1500px;
    padding: 100px min(15%, 180px);
    box-sizing: border-box;
}

@media screen and (max-width: 960px) {
    .heading {
        max-width: 480px;
        padding: 70px min(5.333%, 20px);
    }
}

.common-h2-en {
    font-family: 'Zen Maru Gothic', serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #93A493;
    margin: 0 0 8px 0;
    text-align: center;
    display: block;
}

.common-h2 {
    font-size: 38px;
    font-weight: 900;
    color: #535A53;
    text-align: center;
    letter-spacing: 1.5px;
    margin: 0 0 20px 0;
}

.common-h2._wh,
.common-h2-en._wh {
    color: #ffffff;
}

.common-lead {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: #535A53;
    margin: 0 0 50px 0;
}

.common-lead._wh {
    color: #ffffff;
}

@media screen and (max-width: 960px) {
    .common-h2 {
        font-size: 22px;
        margin: 0 0 14px 0;
    }

    .common-lead {
        font-size: 16px;
        margin: 0 0 35px 0;
    }
}

/* common-lead（導入文）を持たないセクションの見出し下余白 */
.news .common-h2,
.column-pickup .common-h2,
.access .common-h2,
.first-visit .common-h2,
.director .common-h2,
.treatment-pickup .common-h2,
.surgery-pickup .common-h2,
.facility .common-h2,
.faq .common-h2 {
    margin-bottom: 50px;
}

@media screen and (max-width: 960px) {
    .news .common-h2,
    .column-pickup .common-h2,
    .access .common-h2,
    .first-visit .common-h2,
    .director .common-h2,
    .treatment-pickup .common-h2,
    .surgery-pickup .common-h2,
    .facility .common-h2,
    .faq .common-h2 {
        margin-bottom: 35px;
    }
}

.non-text {
    text-align: center;
    color: #7A8D7A;
    font-size: 16px;
}

/* 見出し下部区切り */
#access, #first-visit, #director, #facility, #symptom, #treatment-pickup, #surgery-pickup, #faq, #news, #column-pickup, #feature {
    scroll-margin-top: 90px;
}

@media screen and (max-width: 960px) {
    #access, #first-visit, #director, #facility, #symptom, #treatment-pickup, #surgery-pickup, #faq, #news, #column-pickup, #feature {
        scroll-margin-top: 55px;
    }
}

/* ==================================================
   共通ボタン
================================================== */
.btn-wrapper1 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 40px 0 0 0;
}

.btn-wrapper1._left {
    justify-content: flex-start;
}

.btn-wrapper1._nomargin {
    margin: 0;
}

.btn-more1 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #93A493;
    border-radius: 30px;
    border: 1px solid #93A493;
    min-width: 220px;
    box-sizing: border-box;
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    padding: 14px 24px;
}

.btn-more1:hover {
    background: #7A8D7A;
    border-color: #7A8D7A;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(83, 90, 83, 0.2);
    opacity: 1;
}

.btn-more1._outline {
    background: transparent;
    color: #535A53;
    border: 1px solid #93A493;
}

.btn-more1._outline:hover {
    background: #93A493 !important;
    color: #ffffff;
}

.btn-more1._wh {
    background: #ffffff;
    color: #535A53;
    border: 1px solid #ffffff;
}

.btn-more1._wh:hover {
    background: transparent;
    color: #ffffff;
}

/* ==================================================
   フォトギャラリー
================================================== */
.scroll-gallery {
    position: relative;
    background: #FAFAF7;
}

.scroll-gallery-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 960px) {
    .scroll-gallery-img {
        height: 220px;
    }
}

/* ==================================================
   セクション間 波形ディバイダー
================================================== */
.wave-divider {
    width: 100%;
    line-height: 0;
}

.wave-divider-svg {
    display: block;
    width: 100%;
    height: 56px;
}

@media screen and (max-width: 960px) {
    .wave-divider-svg {
        height: 28px;
    }
}

.wave-divider-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

/* ==================================================
   header
================================================== */
.header01 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #DDE6E3;
    transition: background-color 0.3s;
}

.nav01 {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 90px;
    padding: 0 30px;
    box-sizing: border-box;
}

.header-logo {
    margin: 0;
}

.header-logo-img {
    width: min(20vw, 230px);
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    height: 90px;
}

.header-ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1;
}

.header-li {
    margin: 0 min(1.4vw, 18px) 0 0;
}

.header-text1 {
    text-decoration: none;
    color: #535A53;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.header-text1:hover {
    color: #93A493;
}

.header-instagram {
    display: flex;
    align-items: center;
}

.header-instagram-icon {
    width: 24px;
    height: 24px;
}

.header-reserve-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #93A493;
    border-radius: 30px;
    width: 150px;
    height: 54px;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    margin-left: 24px;
    flex-shrink: 0;
}

.header-reserve-btn-text1 {
    display: block;
    line-height: 1;
}

.header-reserve-btn:hover {
    background: #7A8D7A;
    opacity: 1;
}

.ham-btn {
    position: relative;
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.ham-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #535A53;
    transition: 0.3s;
}

.ham-btn span:nth-child(1) { top: 0; }
.ham-btn span:nth-child(2) { top: 11px; }
.ham-btn span:nth-child(3) { top: 22px; }

.ham-btn.is-active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.ham-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.ham-btn.is-active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

@media screen and (max-width: 960px) {
    .nav01 {
        height: 60px;
        padding: 0 16px;
    }

    .header-left,
    .header-right {
        height: 60px;
    }

    .header-logo-img {
        width: 150px;
    }

    .header-modal {
        display: block;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: #FAFAF7;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .header-modal.is-active {
        transform: translateX(0);
    }

    .header-ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
    }

    .header-li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #DDE6E3;
    }

    .header-text1 {
        display: block;
        width: 100%;
        padding: 16px 0;
        font-size: 16px;
    }

    .header-instagram {
        padding: 16px 0;
    }
}

/* ==================================================
   お知らせ
================================================== */
.news {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.news-bg-img {
    position: absolute;
    right: 50px;
    bottom: 20px;
    width: 320px;
    height: 320px;
    object-fit: contain;
    object-position: bottom right;
    pointer-events: none;
    z-index: 0;
}

.news .wrapper {
    position: relative;
    z-index: 1;
}

.heading._news {
    padding-top: 60px;
    padding-bottom: 60px;
}

.news-ul {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #DDE6E3;
}

.news-li {
    border-bottom: 1px solid #DDE6E3;
}

.news-link {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 16px 0;
}

.news-date {
    color: #93A493;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    min-width: 90px;
}

.news-title {
    color: #535A53;
    font-size: 16px;
    margin: 0;
}

@media screen and (max-width: 960px) {
    .news-bg-img {
        width: 160px;
        height: 160px;
        right: -20px;
        bottom: -20px;
    }

    .heading._news {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .news-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* お知らせ・ブログ */
.news-blog-wrapper {
    display: flex;
    align-items: stretch;
}

.news-blog-wrapper .news,
.news-blog-wrapper .column-pickup {
    width: 50%;
    background: #ffffff;
}

.news-blog-wrapper .column-pickup {
    border-left: 1px solid #DDE6E3;
}

@media screen and (max-width: 960px) {
    .news-blog-wrapper {
        flex-direction: column;
    }

    .news-blog-wrapper .news,
    .news-blog-wrapper .column-pickup {
        width: 100%;
    }

    .news-blog-wrapper .column-pickup {
        border-left: none;
        border-top: 1px solid #DDE6E3;
    }
}

/* ==================================================
   FV
================================================== */
.fv {
    position: relative;
    width: 100%;
    padding-top: 90px;
}

.fv-media {
    padding: 20px;
    border-radius: 60px;
    overflow: hidden;
    box-sizing: border-box;
}

.kv-slick-wrapper img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 40px;
}

.fv-title-block {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    padding: 0 min(8%, 100px);
    box-sizing: border-box;
    z-index: 2;
}

/* 開院予定（ボタンと区別するため、白い丸ボタンとは違う「角丸10pxのオレンジ枠＋オレンジ文字」の表示） */
.fv-text1 {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #C97B3A;
    border-radius: 10px;
    padding: 6px 22px 8px;
    color: #C97B3A;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.3;
    cursor: default;
    margin: 0 0 18px 0;
}

.fv-text1-date {
    font-size: 44px;
}

.fv-text1-day {
    font-size: 0.7em;
    margin: 0 0 0 2px;
}

.fv-h1 {
    color: #ffffff;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(83, 90, 83, 0.6);
    margin: 0 0 30px 0;
}

.fv-quicklink-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fv-quicklink {
    background: rgba(250, 250, 247, 0.95);
    color: #535A53;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 22px;
    border-radius: 30px;
}

.fv-quicklink:hover {
    background: #93A493;
    color: #ffffff;
}

@media screen and (max-width: 960px) {
    .fv {
        padding-top: 60px;
    }

    .fv-media {
        padding: 10px;
        border-radius: 30px;
    }

    .kv-slick-wrapper img {
        height: 420px;
        border-radius: 22px;
    }

    .fv-title-block {
        bottom: 40px;
        padding: 0 5.333%;
    }

    .fv-text1 {
        border-width: 2px;
        padding: 4px 14px 6px;
        font-size: 18px;
        margin: 0 0 12px 0;
    }

    .fv-text1-date {
        font-size: 30px;
    }

    .fv-h1 {
        font-size: 24px;
        margin: 0 0 18px 0;
    }

    .fv-quicklink {
        font-size: 16px;
        padding: 10px 16px;
    }
}

/* ==================================================
   カスタマーハラスメントに関する基本方針
================================================== */
.customer-harassment {
    background: #F7ECE0;
}

.customer-harassment .heading {
    padding-top: 40px;
    padding-bottom: 40px;
}

.btn-harassment {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #ffffff;
    border-radius: 10px;
    border: 2px solid #93A493;
    width: 100%;
    max-width: 560px;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    color: #535A53;
    padding: 24px 56px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-harassment::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #93A493;
    border-bottom: 2px solid #93A493;
    transform: translateY(-50%) rotate(-45deg);
}

.btn-harassment:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(83, 90, 83, 0.2);
    opacity: 1;
}

@media screen and (max-width: 960px) {
    .customer-harassment .heading {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .btn-harassment {
        font-size: 16px;
        padding: 18px 40px;
    }

    .btn-harassment::after {
        right: 16px;
        width: 7px;
        height: 7px;
    }
}

/* ==================================================
   診療時間・アクセス
================================================== */
.hours-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.hours-block {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(147, 164, 147, 0.08);
}

.hours-block-title-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #DDE6E3;
}

.hours-block-title {
    font-size: 18px;
    font-weight: 700;
    color: #535A53;
    margin: 0;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.hours-table th,
.hours-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #E9EAED;
}

.hours-table th {
    font-weight: 700;
    color: #93A493;
    font-size: 16px;
    letter-spacing: 0.06em;
}

.hours-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #535A53;
}

.hours-table ._circle {
    color: #93A493;
    font-weight: 700;
}

.hours-table ._triangle {
    color: #C0392B;
}

.hours-table ._cross {
    color: #ccc;
}

.hours-note {
    margin-top: 16px;
    font-size: 16px;
    color: #777777;
    line-height: 1.7;
}

.hours-note ._red {
    color: #C0392B;
}

.access-block {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(147, 164, 147, 0.08);
}

.access-map {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #B1CBB4;
    display: block;
}

.access-info {
    padding: 28px 32px;
}

.access-item {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #E9EAED;
    font-size: 16px;
}

.access-item:last-child {
    border-bottom: none;
}

.access-item dt {
    font-weight: 700;
    color: #93A493;
    min-width: 56px;
    font-size: 16px;
    letter-spacing: 0.06em;
    padding-top: 2px;
}

.access-item dd {
    color: #444444;
    line-height: 1.7;
    margin: 0;
}

.access-map-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 16px;
    color: #93A493;
    font-weight: 700;
    text-decoration: underline;
    letter-spacing: 0.04em;
}

.access-map-link:hover {
    color: #535A53;
    opacity: 1;
}

@media screen and (max-width: 960px) {
    .hours-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hours-block {
        padding: 20px;
    }

    .hours-table {
        font-size: 14px;
    }

    .hours-table th,
    .hours-table td {
        padding: 8px 4px;
    }

    .hours-note {
        font-size: 16px;
    }

    .access-info {
        padding: 20px;
    }
}

.access-gallery {
    overflow: hidden;
    padding-bottom: 60px;
}

.access-gallery-track {
    display: flex;
    width: max-content;
    animation: access-gallery-scroll 28s linear infinite;
}

.access-gallery-item {
    flex-shrink: 0;
    width: 340px;
    height: 220px;
    padding: 0 6px;
    box-sizing: border-box;
}

.access-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

@keyframes access-gallery-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 960px) {
    .access-gallery {
        padding-bottom: 36px;
    }

    .access-gallery-track {
        animation-duration: 18s;
    }

    .access-gallery-item {
        width: 200px;
        height: 130px;
    }
}

/* ==================================================
   初めての方へ
================================================== */
.first-visit {
    background: #EEF2F1;
}

.first-visit-subheading {
    font-size: 18px;
    font-weight: 700;
    color: #535A53;
    border-left: 5px solid #93A493;
    padding: 0 0 0 12px;
    margin: 0 0 24px 0;
}

.common-lead2 {
    text-align: center;
    font-size: 16px;
    line-height: 1.9;
    color: #535A53;
    margin: 0 0 30px 0;
}

.first-visit-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 0 30px 0;
}

.first-visit-info-item {
    background: #ffffff;
    border: 1px solid #DDE6E3;
    border-radius: 12px;
    padding: 24px;
}

.first-visit-info-title {
    font-size: 18px;
    font-weight: 700;
    color: #535A53;
    border-left: 5px solid #93A493;
    padding: 0 0 0 12px;
    margin: 0 0 14px 0;
}

.first-visit-info-text {
    font-size: 16px;
    line-height: 1.8;
    color: #535A53;
    margin: 0;
}

.first-visit-info-note {
    font-size: 14px;
    line-height: 1.8;
    color: #777777;
    margin: 10px 0 0 0;
}

.visit-method-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px 20px;
    margin: 56px 0 30px 0;
}

.visit-method-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 56px 24px 24px 24px;
}

.visit-method-num {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #93A493;
    color: #ffffff;
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 14px 0;
}

.visit-method-title {
    font-size: 22px;
    font-weight: 700;
    color: #535A53;
    margin: 0 0 6px 0;
}

.visit-method-tagline {
    font-size: 18px;
    font-weight: 700;
    color: #93A493;
    margin: 0 0 14px 0;
}

.visit-method-desc {
    align-self: stretch;
    text-align: left;
    font-size: 16px;
    line-height: 1.8;
    color: #535A53;
    margin: 0;
}

.visit-method-item .btn-wrapper1 {
    margin-top: 20px;
}

.visit-method-item._primary {
    grid-column: 1 / -1;
    border: 3px solid #C97B3A;
    box-shadow: 0 12px 32px rgba(147, 164, 147, 0.22);
}

.visit-method-item._primary .visit-method-num {
    box-shadow: 0 4px 14px rgba(147, 164, 147, 0.45);
}

.visit-method-item._primary .visit-method-title {
    font-size: 36px;
    color: #535A53;
}

.visit-method-item._primary .visit-method-desc {
    max-width: 640px;
    align-self: center;
    text-align: center;
}

.visit-method-recommend {
    font-size: 16px;
    font-weight: 700;
    color: #C97B3A;
    letter-spacing: 0.05em;
    margin: 0;
}

.visit-method-item._secondary {
    grid-column: 1 / 2;
    border: 2px solid #93A493;
}

.visit-method-item._secondary .visit-method-title {
    font-size: 32px;
}

.visit-method-item._tertiary {
    grid-column: 2 / 3;
    border: 2px solid #93A493;
}

.visit-method-item._tertiary .visit-method-desc {
    font-size: 14px;
}

.visit-today-box {
    text-align: center;
    background: rgba(147, 164, 147, 0.18);
    border: 1px solid #DDE6E3;
    border-radius: 12px;
    padding: 28px 32px;
    margin: 0 0 50px 0;
}

.visit-today-title {
    font-size: 22px;
    font-weight: 700;
    color: #535A53;
    margin: 0 0 10px 0;
}

.visit-today-hours {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    color: #535A53;
    margin: 0 0 16px 0;
}

.visit-today-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #535A53;
    margin: 0;
}

.visit-today-box .btn-wrapper1 {
    margin-top: 20px;
}

.visit-today-box .btn-more1._outline {
    background: #ffffff;
}

.belongings-ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.belongings-li {
    position: relative;
    background: #ffffff;
    padding: 10px 18px 10px 28px;
    border-radius: 30px;
    color: #535A53;
    font-size: 16px;
}

.belongings-li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #93A493;
}

.first-visit-reserve-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    background:
        linear-gradient(rgba(147, 164, 147, 0.82), rgba(147, 164, 147, 0.82)),
        url(../img/reserve-banner-bg.jpg) center / cover no-repeat;
    border-radius: 16px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.first-visit-reserve-banner-text1 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 2px;
}

.first-visit-reserve-banner:hover {
    background:
        linear-gradient(rgba(122, 141, 122, 0.85), rgba(122, 141, 122, 0.85)),
        url(../img/reserve-banner-bg.jpg) center / cover no-repeat;
    opacity: 1;
}

.first-visit-sub-btn-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.first-visit-sub-btn-wrapper .btn-more1 {
    width: 100%;
    min-width: 0;
}

@media screen and (max-width: 960px) {
    .first-visit-reserve-banner {
        height: 74px;
        margin-bottom: 14px;
    }

    .first-visit-reserve-banner-text1 {
        font-size: 19px;
    }

    .first-visit-sub-btn-wrapper {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media screen and (max-width: 960px) {
    .first-visit-subheading {
        font-size: 16px;
        margin: 0 0 18px 0;
    }

    .common-lead2 {
        text-align: left;
        margin-bottom: 24px;
    }

    .first-visit-info {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 24px;
    }

    .first-visit-info-item {
        padding: 20px;
    }

    .first-visit-info-title {
        font-size: 16px;
    }

    .visit-method-wrapper {
        grid-template-columns: 1fr;
        gap: 46px;
        margin-top: 38px;
        margin-bottom: 24px;
    }

    .visit-method-item {
        padding: 46px 20px 24px 20px;
    }

    .visit-method-num {
        top: -30px;
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .visit-method-item._primary {
        grid-column: auto;
    }

    .visit-method-item._secondary {
        grid-column: auto;
    }

    .visit-method-item._tertiary {
        grid-column: auto;
    }

    .visit-today-box {
        text-align: left;
        padding: 22px 20px;
        margin-bottom: 35px;
    }

    .visit-today-btn-wrapper {
        justify-content: flex-start;
    }

    .belongings-ul {
        margin-bottom: 35px;
    }
}

/* ==================================================
   当院の特徴
================================================== */
.feature-row-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-row-wrapper .feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-row-img-wrapper {
    position: relative;
    flex: 0 0 42%;
}

.feature-row-img {
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
}

.feature-row-text {
    position: relative;
    flex: 1;
}

.feature-row-num {
    display: block;
    font-family: 'Kaushan Script', cursive;
    font-weight: 400;
    font-size: 80px;
    line-height: 1;
    color: rgba(147, 164, 147, 0.35);
    margin: 0 0 -34px -4px;
}

.feature-row-title {
    position: relative;
    z-index: 1;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.5;
    color: #535A53;
    white-space: nowrap;
    margin: 0 0 22px 0;
}

.feature-row-desc {
    font-size: 16px;
    line-height: 2;
    color: #535A53;
    margin: 0;
}

@media screen and (max-width: 960px) {
    .feature-row,
    .feature-row-wrapper .feature-row:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .feature-row-img-wrapper {
        flex: none;
        width: 100%;
    }

    .feature-row-img {
        height: 200px;
    }

    .feature-row-num {
        font-size: 56px;
        margin: 0 0 -22px -2px;
    }

    .feature-row-title {
        font-size: 20px;
        margin: 0 0 16px 0;
    }

    .feature-row-desc {
        font-size: 16px;
        line-height: 1.9;
    }
}

/* ==================================================
   院長紹介
================================================== */
.director {
    background: #ffffff;
}

.director-inner {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.director-photo-block {
    flex: 0 0 320px;
    width: 320px;
}

.director-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.director-catch {
    font-size: 22px;
    font-weight: 900;
    color: #535A53;
    line-height: 1.7;
    margin: 0 0 24px 0;
}

.director-name {
    font-size: 20px;
    font-weight: 900;
    color: #535A53;
    text-align: center;
    margin: 16px 0 6px 0;
}

.director-credential {
    font-size: 16px;
    line-height: 1.7;
    color: #7A8D7A;
    text-align: center;
    margin: 0;
}

.director-text {
    font-size: 16px;
    line-height: 1.9;
    color: #535A53;
    margin: 0 0 20px 0;
}

.director-text:last-of-type {
    margin-bottom: 0;
}

@media screen and (max-width: 960px) {
    .director-inner {
        flex-direction: column;
        gap: 24px;
    }

    .director-photo-block {
        flex: none;
        width: 100%;
    }

    .director-img {
        width: 60%;
        margin: 0 auto;
    }

    .director-catch {
        font-size: 18px;
        margin-bottom: 18px;
    }
}

/* ==================================================
   診療案内
================================================== */
.medical-menu {
    background: #EEF2F1;
}

.medical-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.medical-menu-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 30px;
    box-shadow: 0 4px 24px rgba(147, 164, 147, 0.08);
}

.medical-menu-title {
    font-size: 18px;
    font-weight: 900;
    color: #93A493;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #DDE6E3;
}

.medical-menu-ul li {
    position: relative;
    font-size: 16px;
    line-height: 1.7;
    color: #535A53;
    margin: 0 0 8px 0;
    padding: 0 0 0 18px;
}

.medical-menu-ul li:last-child {
    margin-bottom: 0;
}

.medical-menu-ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #93A493;
}

@media screen and (max-width: 960px) {
    .medical-menu-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .medical-menu-card {
        padding: 22px 20px;
    }
}

/* ==================================================
   症状から探す
================================================== */
.symptom-check-ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 30px;
}

.symptom-check-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #535A53;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 0;
    border-bottom: 1px solid #DDE6E3;
    width: 100%;
}

.symptom-check-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media screen and (max-width: 960px) {
    .symptom-check-ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 16px;
    }
}

/* ==================================================
   ピックアップカード（専門診療／日帰り手術）
================================================== */
.treatment-pickup {
    background: #EEF2F1;
}

.pickup-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}

.pickup-card {
    position: relative;
    flex: 0 0 calc(25% - 18px);
    width: calc(25% - 18px);
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
}

.pickup-card-img-wrapper {
    position: absolute;
    inset: 0;
}

.pickup-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pickup-card:hover .pickup-card-img {
    transform: scale(1.06);
}

.pickup-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(83, 90, 83, 0.55) 0%, rgba(147, 164, 147, 0.15) 35%, rgba(83, 90, 83, 0.05) 60%, rgba(83, 90, 83, 0.55) 100%);
}

.pickup-card-title {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    margin: 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.6;
}

.pickup-card-arrow {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.pickup-card-arrow img {
    width: 14px;
    height: 14px;
}

.pickup-card:hover .pickup-card-arrow {
    background: rgba(255, 255, 255, 0.25);
}

@media screen and (max-width: 960px) {
    .pickup-card-wrapper {
        flex-direction: column;
    }

    .pickup-card {
        flex: 0 0 100%;
        width: 100%;
        aspect-ratio: 1 / 1;
    }
}

/* ==================================================
   院内紹介・検査・設備（ギャラリー）
================================================== */
.facility {
    background: #93A493;
    padding-bottom: 60px;
}

.heading._facility {
    padding-bottom: 40px;
}

.heading._facility-btn {
    padding-top: 40px;
}

.facility-slick-wrapper {
    position: relative;
    width: 300px;
    height: 440px;
    margin: 0 8px;
    border-radius: 20px;
    overflow: hidden;
}

.facility-slick-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.facility-slick-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 24px 20px;
    box-sizing: border-box;
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    background: linear-gradient(to top, rgba(83, 90, 83, 0.75), rgba(83, 90, 83, 0));
}

@media screen and (max-width: 960px) {
    .facility {
        padding-bottom: 40px;
    }

    .heading._facility {
        padding-bottom: 24px;
    }

    .heading._facility-btn {
        padding-top: 24px;
    }

    .facility-slick-wrapper {
        width: 200px;
        height: 300px;
        margin: 0 5px;
        border-radius: 14px;
    }

    .facility-slick-text {
        padding: 16px 14px;
        font-size: 16px;
    }
}

/* ==================================================
   よくある質問
================================================== */
.faq-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-accordion {
    background: #ffffff;
    border: 1px solid #DDE6E3;
    border-radius: 12px;
    padding: 20px 24px;
}

.faq-accordion-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 30px;
}

.faq-accordion-head::-webkit-details-marker {
    display: none;
}

.faq-accordion-q,
.faq-accordion-a {
    font-size: 20px;
    font-weight: 900;
    color: #93A493;
    margin: 0;
    flex-shrink: 0;
}

.faq-accordion-head-content p {
    margin: 0;
    color: #535A53;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.7;
}

.faq-accordion-head::after {
    content: "";
    position: absolute;
    right: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-right: 2px solid #93A493;
    border-bottom: 2px solid #93A493;
    transform: rotate(45deg);
    transition: transform 0.3s;
}

.faq-accordion[open] .faq-accordion-head::after {
    transform: rotate(-135deg);
}

.faq-accordion-body {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid #DDE6E3;
}

.faq-accordion-body-content p {
    margin: 0;
    color: #535A53;
    font-size: 16px;
    line-height: 1.8;
}

/* カテゴリーリスト（よくある質問 archive・taxonomy） */
.tag-cat-ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 40px 0;
}

.tag-cat-link {
    padding: 8px 20px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #93A493;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    color: #535A53;
    line-height: 1.5;
    transition: background-color 0.3s, color 0.3s;
}

.tag-cat-link:hover,
.tag-cat-link._current {
    background: #93A493;
    color: #ffffff;
    opacity: 1;
}

@media screen and (max-width: 960px) {
    .tag-cat-ul {
        gap: 8px;
        margin: 0 0 30px 0;
    }

    .tag-cat-link {
        padding: 6px 14px;
        font-size: 13px;
    }
}

/* ==================================================
   footer
================================================== */
.footer {
    background: #535A53;
    padding: 70px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0 min(15%, 180px);
    box-sizing: border-box;
}

.footer-logo-img {
    width: 200px;
    margin: 0 0 24px;
}

.footer-address,
.footer-tel {
    color: #DDE6E3;
    font-size: 16px;
    margin: 0 0 6px 0;
}

.footer-nav-ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin: 20px 0 0 0;
}

.footer-nav-link {
    color: #DDE6E3;
    font-size: 16px;
    text-decoration: underline;
}

.footer-nav-link:hover {
    opacity: 0.8;
}

.footer-text1 {
    color: #DDE6E3;
    font-size: 16px;
    margin: 30px 0 0 0;
}

@media screen and (max-width: 960px) {
    .footer {
        padding: 50px 0 90px;
    }

    .footer-inner {
        padding: 0 min(5.333%, 20px);
    }

    .footer-logo-img {
        width: 160px;
    }
}

.footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 900;
    transition: opacity 0.3s;
}

.cta-fixed-link1,
.cta-fixed-link2 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 56px;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
}

.cta-fixed-link1 {
    background: #7A8D7A;
}

.cta-fixed-link2 {
    background: #93A493;
}

.cta-fixed-icon {
    width: 18px;
    height: 18px;
}

.arrow-fixed {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 890;
}

.arrow-fixed-link {
    width: 46px;
    height: 46px;
}

@media screen and (max-width: 960px) {
    .arrow-fixed {
        bottom: 66px;
    }
}

/* ==================================================
   下層ページ（archive / single / page 共通）
================================================== */
.page02,
.page03 {
    background: #FAFAF7;
    padding-top: 130px;
}

.fv2,
.fv3 {
    /* height: 30px; */
}

.heading._page02 {
    padding-top: 60px;
    padding-bottom: 60px;
}

.heading._page03 {
    padding-top: 20px;
    padding-bottom: 80px;
}

.fv2-h1 {
    font-size: 26px;
    font-weight: 900;
    color: #535A53;
    text-align: center;
}

.crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 16px;
    color: #7A8D7A;
}

.heading._crumbs {
    padding-top: 16px;
    padding-bottom: 16px;
    /* max-width: 1200px; */
}

.crumbs-link {
    color: #7A8D7A;
}

.crumbs-current {
    color: #535A53;
}

.pagenum-wrapper {
    margin-top: 50px;
}

.pagenum {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagenum li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #535A53;
    font-size: 16px;
    border: 1px solid #DDE6E3;
}

.pagenum li a.current {
    background: #93A493;
    color: #ffffff;
    border-color: #93A493;
}

.date-text1 {
    color: #93A493;
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 10px 0;
}

.detail h1 {
    font-size: 26px;
    font-weight: 900;
    padding: 0 0 24px 0;
    margin: 0 0 50px 0;
    border-bottom: 2px solid #93A493;
    color: #535A53;
}

.detail-common-area h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    border-left: 6px solid #93A493;
    padding: 0 0 0 12px;
    margin: 0 0 30px 0;
    color: #535A53;
}

.detail-common-area h3 {
    font-size: 18px;
    font-weight: 700;
    color: #93A493;
    border-bottom: 1px solid #93A493;
    padding: 0 0 10px 0;
    margin: 0 0 30px 0;
}

.detail-common-area p {
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 26px 0;
    color: #535A53;
}

.detail-common-area img {
    margin: 0 0 20px 0;
    border-radius: 12px;
}

.detail-common-area ul li {
    font-size: 16px;
    color: #535A53;
    margin: 0 0 10px 0;
    position: relative;
    padding: 0 0 0 18px;
    line-height: 1.7;
}

.detail-common-area ul li::before {
    content: "";
    width: 8px;
    height: 8px;
    display: inline-block;
    background-color: #93A493;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
}

/* テキストリンク */
.detail-common-area a:not(.wp-block-button__link) {
    display: inline;
    color: #7A8D7A;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.detail-common-area a:not(.wp-block-button__link):hover {
    text-decoration: none;
    opacity: 1;
}

/* ボタンブロック（デフォルトスタイル） */
.detail-common-area .wp-block-buttons {
    margin: 0 0 26px 0;
}

.detail-common-area .wp-block-button:not(.is-style-outline) .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #93A493;
    border: 1px solid #93A493;
    border-radius: 30px;
    min-width: 220px;
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.5;
    padding: 14px 24px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-common-area .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
    background: #7A8D7A;
    border-color: #7A8D7A;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(83, 90, 83, 0.2);
    opacity: 1;
}

.related-wrapper {
    margin: 60px 0;
    padding: 30px;
    background: #EEF2F1;
    border-radius: 12px;
}

.related-heading {
    font-size: 18px;
    font-weight: 700;
    color: #535A53;
    margin: 0 0 16px 0;
}

@media screen and (max-width: 960px) {
    .page02,
    .page03 {
        padding-top: 60px;
    }

    .heading._page02 {
        padding-bottom: 60px;
    }

    .detail h1 {
        font-size: 20px;
        margin: 0 0 30px 0;
    }
}

/* 緊急のお知らせ全体の枠組み */
.emergency-banner {
    max-width: 800px;
    margin: 120px auto 0px; /* ここがサイトによって可変する */
    border: 2px solid #D00000; /* 赤い枠線 */
    background-color: #fff;
    font-family: sans-serif;
    box-sizing: border-box;
    width: 95%; /* スマホ等の小さい画面用 */
}

/* 「緊急のお知らせ」固定文言部分 */
.emergency-header {
    background-color: #FF0000; /* 鮮やかな赤 */
    color: #FFFFFF;
    text-align: center;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 16px;
}

/* タイトルと本文を包むエリア */
.emergency-body {
    padding: 15px 20px;
    text-align: left; /* 基本左寄せ */
}

/* 投稿タイトル（2行目） */
.emergency-title {
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    color: #333;
}

/* 投稿本文（3行目〜） */
.emergency-content {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

/* 本文内の改行（pタグ等）の余白調整 */
.emergency-content p {
    margin: 0 0 1em 0;
}
.emergency-content p:last-child {
    margin-bottom: 0;
}

/* レスポンシブ：画面幅が狭い時の微調整 */
@media screen and (max-width: 480px) {
    .emergency-header {
        font-size: 15px;
        padding: 6px 10px;
    }
    .emergency-body {
        padding: 10px 15px;
    }
}
