/* BLOGセクション スライダー用レスポンシブCSS */
@media (max-width: 768px) {
        .blog-slider-wrapper,
        .blog-slider {
            overflow: visible !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        .blog-card {
            opacity: 1 !important;
            visibility: visible !important;
        }
    .blog-slider-wrapper {
        position: relative;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .blog-slider {
        margin-top: 50px;
        width: 100%;
        overflow: hidden;
        min-height: 320px;
    }
    .blog-card {
        display: none !important;
        transition: opacity 0.3s;
        position: relative;
        z-index: 10;
    }
    .blog-card-main {
        display: block !important;
    }
    .blog-card-main, .blog-card-slide {
        margin: 0 auto;
    }
    .blog-slider-btn {
        display: block !important;
        background: none;
        border: none;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 40px;
        height: 40px;
        padding: 0;
        cursor: pointer;
    }
    .blog-slider-btn-left {
        left: -10px;
        width: 70px;
        z-index: 20;
        top: 170px;
    }
    .blog-slider-btn-right {
        right: -15px;
        width: 70px;
        z-index: 20;
        top: 170px;
    }
}

@media (min-width: 769px) {
    .blog-slider-wrapper {
        display: flex;
        align-items: center;
        position: relative;
        max-width: 100%;
        overflow: hidden;
        width: 100%;
    }
    .blog-slider {
        display: flex;
        gap: 24px;
        min-height: unset;
        transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
        min-width: calc(32% * 6 + 24px * 5); /* 6枚分＋gap5つ分 */
    }
    .blog-card {
        display: block;
        margin: 0;
        flex-shrink: 0;
    }
    .blog-slider-btn {
        display: block;
        background: none;
        border: none;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 40px;
        height: 40px;
        padding: 0;
        cursor: pointer;
    }
    .blog-slider-btn-left {
        left: -10px;
        width: 90px;
        top: 170px;
    }
    .blog-slider-btn-right {
        right: -10px;
        width: 90px;
        top: 170px;
    }
}
@media (max-width: 768px) {
    .footer-menu-wrap {
        display: flex;
        gap: 16px;
        margin-bottom: 8px;
    }
    .footer-menu-item {
        flex: 1 1 50%;
        text-align: left;
    }
}
@media (max-width: 768px) {
    .medical-label-white {
        display: block;
        margin-bottom: 10px;
    }
    .medical-title {
        margin-bottom: 10px !important;
    }
    .medical-image {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}
@media (max-width: 768px) {
    .medical-content {
        margin-top: 0px !important;
    }
}
.medical-label-vertical,
.medical-label-white {
    color: #fff;
    font-family: 'EB Garamond';
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}
.medical-label-vertical { display: inline; }
.medical-label-white { display: none; }

@media (max-width: 768px) {
    .medical-label-vertical { display: none; }

    .news-item {
        display: block;
    }
    .news-meta-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-bottom: 4px;
    }
    .news-title {
        display: block;
        font-size: 1.1rem;
        font-weight: bold;
        margin-bottom: 8px;
        position: relative;
        padding-bottom: 6px;
    }
    .news-title-underline {
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        background: #C4C4C4;
        content: '';
    }
    .medical-label-white {
        display: inline;
        text-align: left;
        position: absolute;
        top: 70px;
    }
}
@media (min-width: 769px) {
    .medical-label-vertical { display: inline; }
    .medical-label-white { display: none; }
}
.line-vertical { display: inline; }
.line-white { display: none; }

@media (max-width: 768px) {
    .line-vertical { display: none; }
    .line-white {
        display: inline;
        width: 56%;
        position: absolute;
        right: 0px;
        top: 85px;
    }
}
@media (min-width: 769px) {
    .line-vertical { display: inline; }
    .line-white { display: none; }
}
@media (min-width: 769px) {
    .greeting-title-row { order: 0; }
    .greeting-message { order: 1; }
    .greeting-image { order: 2; }
}
@media (max-width: 768px) {
    .greeting-content {
        display: flex;
        flex-direction: column;
    }

    @media (min-width: 769px) {
        .news-content {
            display: block;
        }
    }
    .greeting-title-row { order: 0; }
    .greeting-image { order: 1; }
    .greeting-message { order: 2; }

    .greeting-photo {
        margin-left: -7%;
        min-width: 300px;
    }
}
.line-vertical-black { display: inline; }
.line-black { display: none; }

@media (max-width: 768px) {
    .line-vertical-black { display: none; }
    .line-black { display: inline; }
}

/* greeting-section 画像はみ出し防止 site-content対応 */
.greeting-section .greeting-container {
    /* padding: 0 0 0 80px; */
}
.greeting-content,
.site-content {
    overflow-x: hidden;
}

.greeting-photo-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.greeting-photo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}
/* サイトマップ中央寄せ・左揃え */
.sitemap-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 0;
}
.sitemap-list {
    text-align: left;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    max-width: 400px;
}
.sitemap-list li {
    margin-bottom: 12px;
    font-size: 1.08rem;
}
.sitemap-list a {
    color: #333;
    text-decoration: underline;
    transition: color 0.2s;
}
.sitemap-list a:hover {
    color: #65b73c;
}
/* === ブログ一覧カードレイアウト === */
.blog-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 0;
    flex-direction: column;
    padding: 30px 80px;
    background-color: #ddffe2;
}
.blog-list-item {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: box-shadow 0.2s;
}
.blog-list-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.blog-list-thumb {
    width: 400px;
    min-width: 180px;
    height: 300px;
    overflow: hidden;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-list-content {
    flex: 1;
    padding: 18px 20px 18px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-list-header {
    margin-bottom: 8px;
}
.blog-list-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #333;
    line-height: 1.3;
}
.blog-list-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.blog-list-title a:hover {
    color: #65b73c;
}
.blog-list-excerpt {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.7;
}
@media (max-width: 768px) {
    .blog-list {
    padding: 30px 30px;
    }
    .blog-list-item {
        flex-direction: column;
        min-height: unset;
    }
    .blog-list-thumb {
        width: 100%;
        min-width: 0;
        height: 180px;
    }
    .blog-list-content {
        padding: 16px 14px 18px 14px;
    }
}
@media (max-width: 600px) {
    .blog-list {
        gap: 18px 0;
    }
    .blog-list-item {
        margin-bottom: 14px;
        border-radius: 6px;
    }
    .blog-list-thumb {
        height: 140px;
    }
    .blog-list-content {
        padding: 12px 8px 14px 8px;
    }
    .blog-list-title {
        font-size: 1.05rem;
    }
}

/* === お知らせリスト新構造 === */
.news-archive-content {
    padding: 30px 15%;
    margin: 0 auto;
    background-color: #ddffe2;
}
.sitemap-list a {
    color: #333;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 10px;
    transition: color 0.2s;
}
.sitemap-list a:hover {
    color: #65b73c;
}
.sitemap-parent > a {
    font-weight: 400;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 10px;
}
.sitemap-child {
    margin-left: 18px;
    margin-top: 10px;
    list-style: none;
    padding-left: 0;
}
.sitemap-child a {
    text-decoration: none !important;
}
.sitemap-child li {
    font-size: 1.02rem;
    margin-bottom: 8px;
}
.news-list-date {
    font-size: 1.5rem;
    color: #000;
    /* color: #65b73c; */
    font-family: var(--font-en, 'Roboto', sans-serif);
    white-space: nowrap;
}
.news-list-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    font-family: 'Noto Serif JP';
    margin-bottom: 20px;
}
.news-list-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.news-list-title a:hover {
    color: #65b73c;
}
.news-list-excerpt {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 50px;
    border-bottom: solid 1px;
    padding-bottom: 50px;
}
.nav-links {
    font-size: 1.4rem;
    text-align: center;
    padding-bottom: 30px;
    background-color: #ddffe2;
}
.news-more-link-a {
    color: #65b73c;
}
.page-numbers {
    margin: 0 30px;
    color: #65b73c;
}
.page-numbers.current {
  color: #333; /* 現在ページの色（例） */
  pointer-events: none;
}
@media (max-width: 600px) {
    .news-list-item {
        padding: 12px 8px 10px 8px;
        border-radius: 4px;
    }
    .news-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .news-list-date {
        font-size: 0.92rem;
    }
    .news-list-title {
        font-size: 1rem;
    }
}
/* ===== SP用ボトムメニュー ===== */
#fixed-bottom-menu-sp {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    height: 55px;
}
.bottom-menu-btn-tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    width: auto;
    height: 55px;
    padding: 0;
    justify-content: flex-end;
}
.bottom-menu-btn-calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    width: auto;
    height: 55px;
    padding: 0;
    justify-content: flex-end;
}
.bottom-menu-btn-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    width: auto;
    height: 55px;
    padding: 0;
    justify-content: flex-end;
}
.bottom-menu-btn img {
    width: 100%;
}
@media (min-width: 769px) {
    #fixed-bottom-menu-sp, #calendar-modal-sp { display: none !important; }
}
@media (max-width: 768px) {
    #fixed-buttons-pc, #calendar-modal { display: none !important; }
    #fixed-bottom-menu-sp { display: flex; }
}
/* ===== PC用 右下追従ボタン ===== */
#fixed-buttons-pc {
    position: fixed;
    right: 0;
    bottom: 32px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.fixed-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.2s;
    padding: 0;
    background: none;
}
.fixed-btn img {
    width: 77px;
}
.fixed-btn:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* カレンダーモーダル */
.calendar-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
}
.calendar-modal.active {
    display: flex;
}
.calendar-modal-content {
    background: #ddffe2;
    padding: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.calendar-modal-content img {
    max-width: 400px;
    width: 100%;
    height: auto;
}
.calendar-modal-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    background-color: #65b73c;
    border-radius: 50%;
    padding: 10px;
    color: #fff;
}
@media (max-width: 768px) {
    #fixed-buttons-pc { display: none !important; }
}
/* モバイルメニュー縦スクロール対応 */
#mobile-menu {
    overflow-y: auto;
    max-height: 100vh;
}
/* Instagram埋め込みサイズ統一 */
.instagram-embed-grid .instagram-media {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    min-height: 420px;
    /* max-height: 420px; */
    margin: 0 auto !important;
}
.instagram-embed-grid iframe {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    min-height: 420px;
    /* max-height: 420px; */
    margin: 0 auto !important;
}
@media (max-width: 768px) {
    .instagram-embed-grid .instagram-media,
    .instagram-embed-grid iframe {
        min-height: 340px;
        max-height: 340px;
    }
}
/* Instagram埋め込みグリッド */
.instagram-embed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 768px) {
    .instagram-embed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
/*
 * テーマ: Tsuki dental clinicテーマ
 * CSSファイル: style.css (メインの装飾用)
 */

/* === リセットCSS === */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, dl {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

a {
    background-color: transparent;
    text-decoration: none;
}

img {
    border-style: none;
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}
/* === リセットCSS終了 === */

/* === 共通スタイル === */
:root {
    --color-primary: #8B7355;
    --color-beige: #F5F1E8;
    --color-brown-dark: #6B5A4A;
    --color-brown-light: #A89482;
    --color-cream: #FAF8F3;
    --color-gold: #C9A871;
    --color-text: #333333;
    --color-text-light: #666666;
    
    /* フォントファミリー */
    --font-primary: 'Noto Sans JP', 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic ProN', sans-serif;
    --font-serif: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', serif;
    --font-en: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    --font-elegant: 'EB Garamond', 'Playfair Display', 'Cormorant', serif;
    --font-modern: 'Inter', 'Roboto', 'Helvetica', sans-serif;
    --font-mincho: 'Zen Old Mincho', 'Noto Serif JP', 'Yu Mincho', serif;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.8;
    background-color: #ffffff;
    font-weight: 400;
}

/* 英数字用フォント */
.font-en {
    font-family: var(--font-en);
}

/* エレガントなフォント（見出しなど） */
.font-elegant {
    font-family: var(--font-elegant);
}

/* モダンなフォント */
.font-modern {
    font-family: var(--font-modern);
}

/* 明朝体 */
.font-mincho {
    font-family: var(--font-mincho);
}

/* 見出し用フォント設定 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 500;
}

/* ボタンやナビゲーション用 */
button, .btn, .nav-menu {
    font-family: var(--font-primary);
    font-weight: 500;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

/* === ヘッダー === */
.demo-site-notice {
    font-size: 18px;
    display: flex;
    justify-content: center;
    color: red;
}
.demo-site-notice a {
    display: contents;
}
.site-header {
    background-color: #ddffe2;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto;
    padding: 15px 0;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ロゴ */
.site-branding {
    /* flex-shrink: 0; */
    width: 30%;
}

.site-title {
    margin: 0;
    line-height: 1;
    width: 100%;
}

.site-title a {
    display: block;
    transition: opacity 0.3s;
}

.site-title a:hover {
    opacity: 0.8;
}

.site-title img {
    height: auto;
    width: auto;
    display: block;
}

/* メインナビゲーション */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    font-family: 'Noto Serif JP', serif;
    display: block;
    padding: 10px 5px;
    white-space: nowrap;
}

.nav-list > li > p {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    font-family: 'Noto Serif JP', serif;
    display: block;
    padding: 10px 5px;
    white-space: nowrap;
}

.nav-list > li > a:hover {
    color: var(--color-gold);
}

/* ドロップダウンメニュー */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > a::after {
    content: "▼";
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s;
}

.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.menu-item-has-children > p > img {
    width: 10px;
    margin: 0px 0 8px 8px;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0;
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 400;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'Noto Serif JP', serif;
}

.sub-menu li a:hover {
    background-color: var(--color-beige);
    color: var(--color-gold);
}

/* ヘッダーアイコン */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.header-icon-link {
    display: block;
    transition: opacity 0.3s;
}

.header-icon-link:hover {
    opacity: 0.7;
}

.header-icon-link img {
    height: 35px;
    width: auto;
    display: block;
}

/* モバイルメニューボタン */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* モバイルメニュー */
.mobile-menu {
    /* background-color: white; */
    border-top: 1px solid #e5e5e5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.mobile-menu > img {
    padding: 0 25%;
}
.mobile-menu > a {
    display: flex;
    justify-content: center;
}
.mobile-menu > a > img {
    padding: 3% 25%;
}
.mobile-menu > p {
    text-align: center;
}
.mobile-menu.active {
    max-height: 800px;
    padding: 20px 0 200px;
}

.mobile-menu.is-hidden {
    display: none !important;
    max-height: 0;
    padding: 0;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0 20px;
}

.mobile-nav-list > li {
    border-bottom: 1px solid #000;
}

.mobile-nav-list > li:last-child {
    border-bottom: none;
}

.mobile-nav-list > li > a {
    display: block;
    padding: 15px 0;
    color: var(--color-text);
    font-size: 15px;
    font-family: var(--font-primary);
    font-weight: 500;
}

.mobile-nav-list > li > p {
    display: block;
    padding: 15px 0;
    color: var(--color-text);
    font-size: 15px;
    font-family: var(--font-primary);
    font-weight: 500;
}

/* モバイルサブメニュー */
.mobile-submenu-item {
    padding: 10px 0;
}

.mobile-submenu-title {
    display: block;
    padding: 10px 0;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-primary);
}

.mobile-submenu {
    list-style: none;
    margin: 5px 0 0 0;
    padding-left: 20px;
}

.mobile-submenu li {
    border-bottom: none;
}

.mobile-submenu li a {
    display: block;
    padding: 10px 0;
    color: var(--color-text-light);
    font-size: 14px;
    font-family: var(--font-primary);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .nav-list {
        gap: 15px;
    }
    
    .nav-list > li > a {
        font-size: 13px;
    }
    
    .nav-list > li > p {
        font-size: 13px;
    }
    
    .header-inner {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    .header-icons {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
        background-color: #65b73c;
        padding: 13px;
    }
}

/* === ヒーローセクション === */
.hero-section {
    position: relative;
    width: 100%;
    height: 762px; /* PC時の高さ */
    overflow: hidden;
}

/* 背景画像スライダー */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* オーバーレイ */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f06e; /* 半透明のオーバーレイ */
    z-index: 2;
}

/* テキストコンテンツ */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.hero-text {
    display: flex;
    width: 82%;
    /* height: 35%; */
    opacity: 1;
    padding-top: 14px;
    padding-right: 23px;
    padding-bottom: 29px;
    padding-left: 33px;
    background-color: #FFFFFFE3;
    gap: 10px;
    flex-direction: column;
}
.hero-title {
    color: #292929;
    text-align: left;
    font-family: 'Zen Old Mincho';
    font-weight: 600;
    font-size: 40px;
    line-height: 164%;
}

.hero-title span{
    color: #71d751;
}

.hero-subtitle {
    font-family: 'Noto Sans JP';
    font-weight: 400;
    font-size: 24px;
    line-height: 165%;
    letter-spacing: 0%;
}

.hero-point {
    margin-top: 40px;
}

.hero-point img {
    max-width: 600px;
    width: 100%;
    height: auto;
}

/* タブレット対応 (768px〜1439px) */
@media (max-width: 1439px) {
    .hero-section {
        height: 600px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-point img {
        max-width: 500px;
    }
}

/* スマホ対応 (390px基準) */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh; /* 画面高さいっぱい */
        min-height: 600px;
    }
    
    .hero-content {
        align-items: center;
        padding: 100px 0px;
        justify-content: flex-start;
    }
    .hero-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .hero-point {
        margin-top: 30px;
        position: absolute;
        bottom: 200px;
        left: 0;
    }
    
    .hero-point img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        /* display: none; */
    }
    .demo-site-notice {
        font-size: 16px;
    }
}

/* === お知らせセクション === */
.news-content {
    display: flex;
    flex-direction: column;
    padding-right: 20px;
}
.news-section {
    padding: 83px 0;
    background-color: #ddffe2;
    position: relative;
    display: flex;
}

.news-tag {
    background-color: #65b73c;
    color: white;
    padding: 3px 13px;
    font-family: 'Noto Sans JP';
    font-size: 13px;
    margin: 0 11px;
}

.news-tag2 {
    background-color: #ddffe2;
    color: #65b73c;
    padding: 3px 13px;
    font-family: 'Noto Sans JP';
    font-size: 16px;
    margin: 0 11px;
    border: solid 1px #65b73c;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    height: 0px;
}

.section-title {
font-family: Cormorant;
    font-weight: 500;
    font-size: 52px;
    line-height: 52px;
    text-align: center;
    vertical-align: middle;
    color: #65b73c;
}

.section-subtitle {
    font-family: 'Noto Serif JP';
    font-weight: 400;
    font-size: 14px;
    line-height: 24.5px;
    letter-spacing: 1.4px;
    text-align: center;
    vertical-align: middle;
    color: #555555;
    margin-bottom: 63px;
}

.news-vertical-line {
    height: 156px;
    margin-top: 10px;
}

.news-list {
    margin: 0 auto 0 31px;
}

.news-item {
    display: flex;
    padding: 14px 0;
    transition: background-color 0.3s;
    gap: 20px;
    font-family: Roboto;
    font-weight: 400;
    font-size: 15px;
    line-height: 26.25px;
    letter-spacing: 0.75px;
    vertical-align: middle;
}

.news-item:hover {
    /* background-color: #f9f9f9; */
}

.news-date {
    font-size: 15px;
    color: var(--color-text-light);
    white-space: nowrap;
    font-family: var(--font-en);
}

.news-category {
    background-color: var(--color-gold);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    font-family: var(--font-primary);
    font-weight: 500;
}

.news-title {
    flex: 1;
    font-size: 15px;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-weight: 400;
}

.btn-more {
    gap: 18px;
    width: 160px;
    display: flex;
    padding: 12px 21px;
    background-color: #65b73c;
    color: white;
    font-size: 16px;
    transition: background-color 0.3s;
    font-family: 'Playfair Display';
    font-weight: 400;
    align-items: center;
    justify-content: space-around;
    margin-top: 50px;
}

.btn-more:hover {
    background-color: var(--color-brown-dark);
}

/* カレンダー画像 */
.clinic-calendar {
    text-align: left;
    width: 40%;
}

.clinic-calendar-pc {
    display: block;
    margin: 0 auto;
    max-width: 524px;
    height: auto;
    width: 90%;
}

.clinic-calendar-sp {
    display: none;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }
    .news-vertical-line {
        display: none;
    }
    
    /* SPで3件目のお知らせを非表示 */
    .news-item-hide-sp {
        display: none;
    }
    
    .news-date {
        font-size: 13px;
    }
    
    .news-title {
        font-size: 14px;
    }
    
    /* カレンダー画像の切り替え */
    .clinic-calendar-pc {
        display: none;
    }
    
    .clinic-calendar-sp {
        display: block;
    }
}

/* === FEATUREセクション === */
.feature-section {
    padding: 73px 0 112px;
    background-color: #95cba9;
    position: relative;
    /* background-image: url(../img/feature_back.png); */
    background-size: cover;
    background-position: center 120px;
    background-repeat: no-repeat;
}

.feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background-color: var(--color-beige);
    z-index: 0;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}
.section-title-right {
    color: #797979;
    margin-bottom: 10px;
    position: absolute;
    right: 0px;
    top: -60px;
    z-index: 2;
    font-family: 'EB Garamond';
    font-weight: 400;
    font-size: 120px;
    line-height: 100%;
    text-align: center;
}
.section-title-large {
    font-family: 'EB Garamond';
    font-weight: 500;
    font-size: 28px;
    line-height: 120%;
    text-align: center;
    color: #65b73c;
}

.section-subtitle-center {
    font-family: 'Zen Old Mincho';
    font-weight: 600;
    font-size: 28px;
    line-height: 120%;
    text-align: center;
    color: #333333;
}

/* 診療時間・アクセスセクション用の線付きサブタイトル */
.access-section .section-subtitle-center {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.access-section .section-subtitle-center::before,
.access-section .section-subtitle-center::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #333333;
}

.feature-grid {
    display: flex;
    gap: 47px;
    align-items: flex-start;
    flex-direction: row;
}

.feature-card {
    width: 33%;
    display: flex;
    align-items: stretch;
    flex-direction: column;
}

.feature-card:nth-child(2) {
    margin-top: 30px;
}

.feature-card:nth-child(3) {
    margin-top: 60px;
}

.feature-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-card-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.feature-card-content {
    flex: 1;
    padding: 12px 25px 30px;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.feature-dark {
    background-color: #5E5E5E;
    color: white;
}

.feature-light {
    background-color: #7f7f7f;
    color: white;
}

.feature-brown {
    background-color: #5E5E5E;
    color: white;
}

.feature-card-number {
    font-family: 'Noto Serif JP';
    font-weight: 600;
    font-size: 22px;
    line-height: 130%;
    text-align: center;
    margin-bottom: 10px;
}

.feature-card-title {
    font-family: 'Zen Old Mincho';
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    text-align: center;
}

.feature-card-text {
    flex: 1;
    padding: 12px 0 30px;
    display: flex;
    flex-direction: column;
    font-family: 'Noto Sans JP';
    font-weight: 400;
    line-height: 150%;
    font-size: 16px;
}

.feature-btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: white;
    color: var(--color-text);
    border-radius: 25px;
    font-size: 13px;
    transition: opacity 0.3s;
    font-family: var(--font-primary);
    font-weight: 500;
}

.feature-btn:hover {
    opacity: 0.8;
}

/* === 診療時間・アクセスセクション === */
.access-section {
    padding: 80px 0;
    background-color: #ddffe2;
    position: relative;
}

.section-title-info {
    color: #7f7f7f;
    font-family: 'EB Garamond';
    font-weight: 400;
    font-size: 82.41px;
    line-height: 120%;
    transform: rotate(-90deg);
    position: absolute;
    right: 0px;
    top: 115px;
    transform-origin: right bottom;
    z-index: 1;
}

.access-content {
    display: flex;
    gap: 64px;
    align-items: stretch;
}

.access-info {
    display: flex;
    flex-direction: column;
}

/* PCビューで画像と内容を重ねる */
/* 幅・重なり指定（PC） */
@media (min-width: 1201px) {
  .medical-card-1 .medical-image,
  .medical-card-3 .medical-image {
      width: 50%;
      height: 450px;
      /* min-width: 320px; */
      /* margin-right: -50px; */
      z-index: 2;
      /* position: relative; */
  }
  .medical-card-1 .medical-content,
  .medical-card-3 .medical-content {
      width: 50%;
      /* max-width: 38%; */
      /* min-width: 220px; */
      z-index: 3;
      /* position: relative; */
      /* box-shadow: 0 4px 24px 0 rgba(0,0,0,0.04); */
  }
  .medical-card-2 .medical-image {
      max-width: 764px;
      min-width: 320px;
      margin-left: -50px;
      z-index: 2;
      position: relative;
  }
  .medical-card-2 .medical-content {
      width: 50%;
      /* max-width: 38%; */
      /* min-width: 220px; */
      height: 450px;
      z-index: 3;
      position: relative;
      /* background: white; */
      box-shadow: 0 4px 24px 0 rgba(0,0,0,0.04);
  }
}
.medical-card .medical-image img {
    /* height: 100%; */
    /* width: 100%; */
    /* height: auto; */
    /* display: block; */
}
@media (max-width: 1200px) {
  .medical-card-1 .medical-image,
  .medical-card-3 .medical-image {
      height: 100%;
      width: 50%;
      max-width: 100%;
      min-width: 180px;
      margin-right: -30px;
      margin-left: 0;
  }
  .medical-card-2 .medical-image {
      width: 50%;
      max-width: 100%;
      min-width: 180px;
      margin-left: -30px;
      margin-right: 0;
      height: 100%;
      z-index: 1;
  }
  .medical-card-1 .medical-content,
  .medical-card-3 .medical-content,
  .medical-card-2 .medical-content {
      width: 50%;
      max-width: 100%;
      min-width: 140px;
      z-index: 2;
  }
}
@media (max-width: 768px) {
  .medical-card-1 .medical-image,
  .medical-card-3 .medical-image,
  .medical-card-2 .medical-image {
      width: 100%;
      margin-right: 0;
      margin-left: 0;
  }
  .medical-card-1 .medical-content,
  .medical-card-3 .medical-content,
  .medical-card-2 .medical-content {
      width: 100%;
  }
}

@media (max-width: 768px) {
    .medical-card-1 .medical-image,
    .medical-card-3 .medical-image,
    .medical-card-2 .medical-image {
        margin: 0;
        width: 100%;
        height: auto;
    }
    .medical-card-1 .medical-content,
    .medical-card-3 .medical-content,
    .medical-card-2 .medical-content {
        box-shadow: none;
        width: 100%;
        height: auto;
    }
}

.access-title {
    font-size: 28px;
    color: var(--color-brown-dark);
    margin-bottom: 30px;
    font-weight: 700;
    font-family: var(--font-primary);
}

.clinic-info-box {
background-color: #fff;
    padding: 18px 24px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 480px;
    flex: 1;
}

.clinic-name {
    font-size: 22px;
    color: #333333;
    font-family: 'Noto Sans JP';
    font-weight: 400;
    line-height: 140%;
    margin-bottom: 7px;
}

.clinic-address {
display: flex;
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 15px;
    line-height: 1.8;
    font-family: var(--font-primary);
    font-weight: 400;
    flex-direction: row;
}

.clinic-address img {
    margin-right: 4px;
    width: 17px;
    height: 19px;
    margin-top: 4px;
}

.clinic-phone {
    font-size: 14px;
    margin-bottom: 30px;
    font-weight: 400;
    font-family: 'Noto Sans JP';
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 13px;
}

.clinic-phone img {
    width: 200px;
    border: 2px solid #65b73c;
}

.clinic-notes {
    width: 432px;
    opacity: 1;
}

.clinic-note {
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.6;
    font-family: var(--font-primary);
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 12px;
}

.clinic-note span {
    color: white;
    font-weight: 400;
    background-color: #65b73c;
    width: 72px;
    height: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clinic-note p {
    font-size: 16px;
    color: #333333;
    line-height: 1.6;
    font-family: 'Noto Sans JP';
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 12px;
}

.access-map {
    flex: 1;
    display: flex;
    max-width: 736px;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    z-index: 10;
}

/* === GREETINGセクション === */
.greeting-section {
    padding: 40px 0 80px;
    position: relative;
    background-color: #95cba9;
}

.greeting-content {
    width: 100%;
    display: flex;
    /* gap: 6%; */
    align-items: flex-start;
    margin-right: -80px;
}

.greeting-text {
    display: flex;
}

.greeting-label {
    font-family: 'EB Garamond';
    font-weight: 400;
    font-size: 82px;
    color: #797979;
    white-space: nowrap;
    transform: none;
    position: static;
    display: block;
    writing-mode: vertical-rl;
}

/* 横並び用ラッパー */
.greeting-title-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-top: 50px;
    margin-right: 7%;
}

.greeting-title {
    writing-mode: vertical-rl;
    font-family: Zen Old Mincho;
    font-weight: 700;
    font-size: 28px;
    line-height: 126%;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 16px;
}

.greeting-title img {
    width: 1px;
    height: 101.5px;
}
@media (max-width: 768px) {
    .greeting-title img {
        width: 200px;
        height: 1px;
    }
}

.greeting-message {
    margin-bottom: 40px;
    /* margin-left: 4vw; */
    font-family: Noto Sans JP;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    max-width: 464px;
    padding-top: 50px;
    margin-right: 4%;
}

.greeting-message p {
    margin-bottom: 20px;
}

.greeting-signature {
    margin-bottom: 30px;
}

.greeting-position {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 5px;
}

.greeting-name {
    font-size: 18px;
    color: var(--color-text);
    font-weight: 700;
    font-family: var(--font-primary);
}

.greeting-image {
    flex: 1;
    text-align: center;
}

.greeting-photo-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.greeting-photo {
    max-width: 100%;
    height: auto;
    display: block;
    width: 100%;
    height: auto;
    max-width: 450px;
    min-width: 350px;
    padding-top: 50px;
}

.greeting-welcome-overlay {
    position: absolute;
    left: -30px;
    top: -25px;
    width: 100px;
    height: auto;
    border-radius: 0;
    pointer-events: none;
    width: 33%;
}

.greeting-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.greeting-image-caption {
    position: absolute;
    margin-top: 15px;
    font-size: 24px;
    color: #333333;
    line-height: 1.6;
    /* left: 8.5%; */
    bottom: 0;
    /* background-color: #E2DCCD; */
    /* width: 40%; */
    height: auto;
    padding: 0px 17px 5px;
    font-family: 'Zen Old Mincho';
    text-align: justify;
}

.greeting-image-caption span {
    font-size: 16px;
    margin: 0;
    padding: 0;
}

/* === MEDICALセクション === */
.medical-section {
    display: flex;
    text-align: center;
    background-color: #ddffe2;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    padding: 60px 40px;
}

.medical-bg-image {
    width: 100%;
    max-width: 1440px;
}

.medical-bg {
    padding: 0px 0 80px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center top;
    min-height: 100vh;
    max-width: 1440px;
    width: 100%;
}

.section-subtitle-medical {
    font-family: 'Zen Old Mincho';
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    text-align: center;
    color: white !important;
    margin-bottom: 60px;
}

.medical-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.medical-card {
    height: 450px;
    display: flex;
    /* gap: 40px; */
    align-items: center;
    /* border-radius: 8px; */
    overflow: hidden;
    flex-direction: row;
    position: relative;
    justify-content: center;
}

/* 1つ目と3つ目: image, content, title */
.medical-card-1, .medical-card-3 {
    flex-direction: row;
    /* left: 5%; */
}
.medical-card-2 {
    /* right: 70px; */
}
/* 2つ目: title, content, image (PCはrow-reverse) */
.medical-card-2 .medical-title {
    padding-top: 0px;
    padding-bottom: 100px;
}

.medical-title {
    min-width: 140px;
    color: #fff;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(90deg);
    font-family: EB Garamond;
    font-weight: 400;
    font-size: 23.41px;
    line-height: 100%;
    text-align: center;
    padding-top: 100px;
    margin-top: 400px;
}
.medical-title > img {
    transform: rotate(90deg);
    right: 300px;
    position: absolute;
}

@media (max-width: 768px) {
    .medical-grid {
        gap: 40px;
    }
    .medical-card,
    .medical-card-1,
    .medical-card-2,
    .medical-card-3 {
        flex-direction: column !important;
        align-items: stretch;
    }
    .medical-title {
        order: 1;
        margin: 0 0 12px 0;
        font-size: 18px;
    }
    .medical-image {
        order: 2;
        margin-bottom: 12px;
    }
    .medical-content {
        order: 3;
    }
}

.medical-card-reverse {
    flex-direction: row-reverse;
}

.medical-image {
    /* flex: 1; */
}

.medical-image img {
    /* width: 100%; */
    /* height: 100%; */
    object-fit: cover;
}

.medical-content {
    height: 100%;
    /* position: relative; */
    background-image: url(../img/medical_box.png);
    background-size: 100% 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin-top: 100px; */
}

.medical-number {
    color: #A18353;
    margin-bottom: 20px;
    font-family: Zen Old Mincho;
    font-weight: 700;
    font-size: 50px;
    line-height: 120%;
}

.medical-name {
    font-size: 30px;
    color: #333333;
    margin-bottom: 20px;
    font-family: 'Zen Old Mincho';
    font-weight: 700;
    line-height: 120%;
    text-align: center;
}

.medical-text {
    font-size: 16px;
    color: #333333;
    margin-bottom: 25px;
    font-family: Noto Sans JP;
    font-weight: 400;
    line-height: 150%;
    padding: 24px 22px 0;
    text-align: left;
}

.medical-btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 25px;
    font-size: 13px;
    transition: background-color 0.3s;
    font-family: var(--font-primary);
    font-weight: 500;
}

.medical-btn:hover {
    background-color: var(--color-brown-dark);
}

.btn-more2 {
    gap: 18px;
    width: 140px;
    display: flex;
    padding: 12px 21px;
    background-color: #65b73c;
    color: white;
    font-size: 16px;
    transition: background-color 0.3s;
    font-family: 'Playfair Display';
    font-weight: 400;
    align-items: center;
    justify-content: space-around;
    margin: 50px 0 28px;
}

/* === Instagramセクション === */
.instagram-section {
    padding: 60px 0;
    background-color: #95cba9;
    /* background-image: url(../img/Introduction.png); */
    background-size: cover;
    /* height: 600px; */
    width: auto;
}

.section-header-instagram {
    display: flex;
    justify-content: space-between;
}

.section-title-instagram {
    font-family: 'EB Garamond';
    font-weight: 600;
    font-size: 54px;
    line-height: 120%;
    text-align: left;
    color: #333333;
}

.Instagram-icon-link {
    display: flex;
    border: solid 1px #292929;
    font-family: Playfair Display;
    font-weight: 400;
    font-size: 16px;
    line-height: 13px;
    letter-spacing: 1.3px;
    text-align: center;
    vertical-align: middle;
    padding: 15.5px;
    color: #292929;
    align-items: center;
}

.instagram-icon {
    width: 18px;
    height: 18px;
    margin-right: 7px;
}

.instagram-arrow {
    width: 30px;
    height: 7px;
    margin-left: 18px;
}

.instagram-link {
    font-family: 'Zen Old Mincho';
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    text-align: center;
    color: #333333;
    margin-bottom: 40px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
    border-radius: 8px;
}

.btn-instagram {
    display: inline-block;
    padding: 12px 40px;
    background-color: white;
    color: var(--color-text);
    border: 2px solid var(--color-primary);
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: var(--font-primary);
    font-weight: 500;
}

.btn-instagram:hover {
    background-color: var(--color-primary);
    color: white;
}

/* === BLOGセクション === */
.blog-section {
    padding: 80px 0;
    /* 上半分#95cba9、下半分#ddffe2 */
    background: linear-gradient(to bottom, #ddffe2 0%, #ddffe2 50%, #95cba9 50%, #95cba9 100%);
}
.section-title-blog {
    color: #797979;
    font-family: 'EB Garamond';
    font-weight: 400;
    font-size: 80px;
    line-height: 66%;
    transform: rotate(90deg);
    position: absolute;
    left: 0px;
    transform-origin: left bottom;
    z-index: 1;
}

.section-header-blog {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto 40px auto;
    position: relative;
}

.section-header-blog > div {
        flex: 1 1 0;
}
.section-header-blog > div:nth-child(2) {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
}
.section-header-blog > div:last-child {
        display: flex;
        justify-content: flex-end;
        align-items: center;
}
.btn-more-image {
        display: block;
        width: 180px;
        height: auto;
        cursor: pointer;
        margin-right: 0;
}
@media (max-width: 1440px) {
    .section-header-blog {
        max-width: 100vw;
    }
}
.btn-more-image2 {
    display: none;
}
@media (max-width: 768px) {
    .btn-more2 {
        margin: 0;
    }
    .btn-more-image {
        width: 120px;
        display: none;
    }
    .btn-more-image2 {
        display: block;
        width: 180px;
        height: auto;
        cursor: pointer;
        margin-right: 0;
    }
}
.btn-more-blog {
    display: flex;
    justify-content: center;
    margin: 40px 0 0px;
}

.section-subtitle-blog {
    font-family: 'Zen Old Mincho';
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    text-align: center;
    color: #333333;
    margin-bottom: 60px;
}


.section-title-blog {
    color: #797979;
    font-family: 'EB Garamond';
    font-weight: 400;
    font-size: 80px;
    line-height: 66%;
    transform: rotate(90deg);
    position: absolute;
    left: 0px;
    transform-origin: left bottom;
    z-index: 1;
}

.section-title-blog2 {
    font-family: 'EB Garamond';
    color: #5E5E5E;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 28px;
    line-height: 120%;
    text-align: center;
    margin: 0;
}
.section-subtitle-blog {
    font-family: 'Zen Old Mincho';
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    text-align: center;
    color: #333333;
    margin-bottom: 60px;
}

.btn-more-image {
    width: 180px;
    height: auto;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    z-index: 10;
    position: relative;
}

.blog-card {
    width: 16%;
    height: 450px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    padding: 28px 28px 15px;
}

.blog-content {
    padding: 0 28px;
}
.blog-meta-row {
    display: flex;
    gap: 10px;
}
.blog-tag {
    color: #65b73c;
    padding: 3px 6px;
    font-family: 'Noto Sans JP';
    font-size: 14px;
    margin: 0 11px;
    border: #65b73c 1px solid;
}
.blog-title {
    font-size: 18px;
    color: var(--color-brown-dark);
    margin-bottom: 8px;
    font-weight: 700;
    font-family: var(--font-primary);
}
.blog-title a {
    color: black;
}
.blog-text {
    font-size: 18px;
    color: var(--color-text);
    line-height: 1.8;
    font-family: var(--font-primary);
    font-weight: 400;
}

/* タブレット (768px〜1024px) */
@media (max-width: 1024px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .section-title-large {
        font-size: 40px;
    }
    
    .feature-grid,
    .medical-grid {
        gap: 40px;
    }
}

/* タブレット・スマホ (768px以下) */
@media (max-width: 768px) {
    /* 共通 */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .header-inner {
        padding-right: 0px;
    }
    .site-header {
        padding: 0px;
    }

    .site-branding {
        width: 50%;
    }
    
    .greeting-section .greeting-container {
    padding: 0px;
    }
    
    /* セクション余白調整 */
    .news-section,
    .feature-section,
    .access-section,
    .greeting-section,
    .medical-section,
    .instagram-section,
    .blog-section {
        padding: 60px 0;
    }
    .news-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* セクションタイトル */
    .section-title-large {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .section-subtitle-center {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    /* お知らせセクション */
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }
    
    .news-date {
        font-size: 13px;
    }
    
    .news-title {
        font-size: 14px;
        width: 100%;
    }

    .clinic-calendar {
        margin-top: 40px;
        width: 70%;
    }
    
    /* FEATUREセクション */
    .feature-section {
        padding: 60px 0;
    }
    
    .section-header-center {
        margin-bottom: 0px;
    }
    
    .feature-grid {
        flex-direction: column;
        display: flex;
        align-items: center;
    }
    
    .feature-card {
        width: 80%;
        flex-direction: column;
        display: flex;
        align-items: center;
    }

    .feature-card-image {
        width: 100%;
        height: auto;
    }
    
    .feature-card-content {
        padding: 30px 20px;
        width: 100%;
    }
    
    .feature-card-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .feature-card-text {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    /* 診療時間・アクセス */
    .access-content {
        flex-direction: column;
        gap: 40px;
        padding: 0 10%;
        z-index: 10;
        position: sticky;
    }
    
    .access-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    .access-info {
        align-items: center;
    }
    .clinic-info-box {
        padding: 30px 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .clinic-notes {
        width: 100%;
    }
    .clinic-name {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .clinic-phone {
        font-size: 14px;
        margin-bottom: 25px;
    }
    .clinic-note {
        display: flex;
        flex-direction: column;
    }
    .schedule-table {
        font-size: 11px;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 8px 5px;
    }
    
    .access-map iframe {
        height: 300px;
    }
    
    /* GREETINGセクション */
    .greeting-content {
        flex-direction: column;
        margin-right: 0;
        align-items: center;
    }
    
    .greeting-text {
        order: 1;
        display: block;
    }
    
    .greeting-title-row {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 16px;
        align-items: flex-start;
    }
    
    .greeting-label,
    .greeting-title {
        writing-mode: initial;
        transform: none;
        font-size: 32px;
        display: inline-block;
        text-align: left;
        margin: 0 8px 0 0;
    }
    .greeting-title {
        font-size: 24px;
        display: flex;
    }
    .greeting-photo-wrapper {
        display: flex;
        justify-content: center;
        padding: 0 10%;
    }
    .greeting-welcome-overlay {
        left: 7%;
    }
    .greeting-image-caption {
        /* left: 11%; */
        text-align: left;
        font-size: 20px;
    }
    .greeting-image-caption span {
        font-size: 14px;
    }

    .greeting-image {
        order: 2;
        margin: 0 auto 16px auto;
        text-align: center;
    }
    
    .greeting-message {
        order: 3;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 16px;
    }
    
    /* MEDICALセクション */
    .medical-bg {
        padding: 10px 7% 40px;
    }
    .medical-grid {
        gap: 40px;
    }
    
    .medical-card,
    .medical-card-reverse {
        flex-direction: column;
        height: auto;
    }
    
    .medical-content {
        padding: 30px 20px;
    }
    
    .medical-number {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .medical-name {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .medical-text {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .medical-card-1, .medical-card-3 {
        flex-direction: row;
        left: 0;
    }
    .medical-card-2 {
        right: 0;
    }

    
    /* Instagram */
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }
    
    /* BLOG */
    .section-header-blog {
        margin: 0;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10%;
    }
    .blog-card {
        width: 80%;
    }
    .blog-image img {
        height: 200px;
    }
    
    .blog-content {
        padding: 25px 20px;
    }
    
    .blog-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .blog-text {
        font-size: 13px;
    }
}

/* スマホ (390px基準) */
@media (max-width: 480px) {
    /* 共通 */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .header-inner {
        padding-right: 0px;
    }
    
    /* セクション余白 */
    .news-section,
    .feature-section,
    .access-section,
    .greeting-section,
    .medical-section,
    .instagram-section,
    .blog-section {
        padding: 50px 0;
    }
    .medical-section {
        padding: 10px 0 0px;
    }
    
    /* セクションタイトル */
    .section-title-large {
        font-size: 28px;
    }
        
    .section-title-blog2 {
        font-size: 19px;
    }
    .section-subtitle-blog {
        font-size: 24px;
        width: 200px;
    }
    .section-title-blog {
        font-size: 14vw;
    }
    /* ボタン */
    .btn-more,
    .btn-instagram {
        padding: 10px 30px;
        font-size: 13px;
    }

    .hero-text {
        width: 95%;
        background-color: transparent;
    }
    .hero-title {
        font-size: 22px;
    }
    .br-sp {
        display: none;
    }
    .hero-slide img {
        object-position: -600px;
    }

    /* GREETINGセクション */
    .greeting-photo {
        min-width: 300px;
    }
    .greeting-photo-wrapper {
        padding: 0px 80px;
        margin: -20px 0 10px;
    }
    .greeting-message {
        padding: 0 60px;
    }
    


    
    
    /* お知らせ */
    .news-item {
        padding: 12px;
    }
    
    /* FEATURE */
    .feature-grid {
        gap: 30px;
    }
    
    .feature-card-image {
        width: 300px;
    }
    
    .feature-card-content {
        width: 300px;
    }
    .Instagram-icon-link {
        padding: 5px;
        font-size: 13px;
    }
    
    .feature-card-title {
        font-size: 18px;
    }
    
    /* 診療時間表 */
    .schedule-table {
        font-size: 10px;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 6px 3px;
    }
    
    /* Instagram */
    .instagram-grid {
        gap: 10px;
    }
    .section-title-instagram {
        font-size: 30px;
    }
    
    /* フッター */
    .footer-nav {
        gap: 30px;
    }
    
    .footer-nav-col h4 {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .footer-nav-col ul li {
        margin-bottom: 10px;
    }
    
    .footer-nav-col ul li a {
        font-size: 13px;
    }
}

/* 小型スマホ (390px以下) */
@media (max-width: 390px) {
    .section-title-large {
        font-size: 26px;
    }
    
    .feature-card-title,
    .medical-name {
        font-size: 17px;
    }
    
    .clinic-name,
    .greeting-title,
    .access-title {
        font-size: 20px;
    }
}

.text-center {
    text-align: center;
}

.mt-8 {
    margin-top: 32px;
}

/* === フッター === */
.site-footer {
    background-color: #777267;
    color: white;
    padding: 60px 0 0;
}

/* 768px以下で.news-content直下の.section-headerと.text-center.mt-8を横並びに */
@media (max-width: 768px) {
    .news-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 30vw;
        padding-bottom: 50px;
    }
    .news-content .section-header {
        margin-bottom: 0;
        flex: 1 1 auto;
        text-align: left;
    }
    .news-content .text-center.mt-8 {
        margin-top: 0;
        flex: 0 0 auto;
        text-align: right;
    }
    .news-list {
        margin: 0;
        width: 80%;
    }
    .news-archive-content {
        padding: 30px 20px;
    }
    .news-archive-content > div {
        width: 100%;
    }
    .section-title-right {
        top: -30px;
        font-size: 60px;
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    /* gap: 60px; */
    padding-bottom: 40px;
}

.footer-logo {
    width: 304px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo h3 {
    width: 288px;
    margin-bottom: 13px;
}

.footer-address {
    color: #ddffe2;
    font-family: 'Noto Sans JP';
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    margin-bottom: 40px;
}

.footer-tel {
    width: 246px;
    height: 76px;
    margin-bottom: 8px;
}

.footer-note {
    font-family: 'Noto Sans JP';
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    color: #ddffe2;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav-link {
    border-bottom: 1px solid #ddffe2;
    padding-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.footer-nav-link2 {
    width: 173px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav-link img {
    width: 13px;
}

.footer-nav-link a {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    color: #ddffe2;
    text-decoration: none;
}

.footer-nav-col {
    width: 173px;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-padding {
    margin-bottom: 22px;
}

.footer-nav-menu {
    color: #ddffe2;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav-menu img {
    width: 14px;
    padding-bottom: 7px;
    padding-left: 2px;
}

.footer-menu-item {
    margin-bottom: 20px;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-en);
    font-weight: 400;
    text-align: right;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 60px;
        align-items: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 30px;
    }
    .footer-nav-col {
        min-width: 300px;
    }
    .footer-nav-col ul li a {
        width: 100%;
    }
}

/* ====================================================
   下層ページ共通ヘッダー（Elementor用）スタイル
   ==================================================== */

.page-visual-header {
}

.header-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-image: url(../img/TOP.png);
}

.page-title-container {
    text-align: left;
    position: relative;
    z-index: 10;
}

.page-title {
    font-size: 40px;
    font-weight: 700;
    color: #F4F4F1;
    border-radius: 8px;
    display: block;
    font-family: 'Noto Serif JP';
    text-align: center;
    margin-top: -20px;
}

.page-title-en {
    text-align: center;
    font-family: 'Noto Serif JP';
    color: #F4F4F1;
    padding-top: 90px;
    font-size: 20px;
}

/* パンくずリスト */
.breadcrumb-area {
    padding: 10px 0;
    background-color: #ddffe2;
}

.breadcrumb-list {
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb-list a {
    color: #71d751;
}
.header-image-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(71 71 71 / 50%);
    pointer-events: none;
    z-index: 2;
}

.tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    background-color: #ddffe2;
}
.tel1 {
    font-size: 19px;
    font-weight: bold;
    color: #333;
    padding: 30px 0;
}
.tel2 {
    font-size: 15px;
    background-color: #D9D9D9;
    padding: 12px 24px;
    color: #000;
}

.news-single {
    padding: 5%;
    background-color: #ddffe2;
}
.nav-previous {
    background-color: #ddffe2;
}
.nav-next {
    background-color: #ddffe2;
}
.news-single h1 {
    font-family: 'Noto Serif JP';
    margin: 10px 0;
}