body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 500;
    background-color: #f9f9f9;
    color: #1A3651;
    max-width: 375px;
}

body,
html {
    overflow-x: hidden;
}

h1,
h2 {
    font-family: 'Noto Serif', serif;
}

p {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 500;
    color: #1A3651;
}

/* メインスライド */
.main-visual {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 3/4;
  margin: 0 auto;
  overflow: hidden;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  animation-duration: 10s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.slide:nth-child(1) {
  animation-name: fadeA;
  z-index: 1;
}

.slide:nth-child(2) {
  animation-name: fadeB;
  z-index: 0;
}

@keyframes fadeA {
  0% { opacity: 1; }
  30% { opacity: 1; }   /* 表示キープ */
  40% { opacity: 0; }   /* フェードアウト */
  90% { opacity: 0; }   /* 非表示キープ */
  100% { opacity: 1; }  /* ループに備えて先読み表示 */
}

@keyframes fadeB {
  0% { opacity: 0; }
  40% { opacity: 0; }   /* 非表示キープ */
  50% { opacity: 1; }   /* フェードイン */
  80% { opacity: 1; }   /* 表示キープ */
  90% { opacity: 0; }   /* フェードアウト */
  100% { opacity: 0; }
}

/* menu */


/* 新着情報 */
.news-section {
    max-width: 375px;
    margin: 0 auto;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.news-title {
    text-align: center;
    margin-bottom: 30px;
}

.news-title h2 {
    letter-spacing: 0.1em;
    color: #1A3651;
    font-weight: normal;
    margin-bottom: 5px;
    font-family: 'Noto Serif', serif;
}

.news-title p {
    font-size: 14px;
    color: #1A3651;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    margin-bottom: 20px;
}

.news-list li a {
    display: flex;
    gap: 20px;
    text-decoration: none;
    color: #3a362d;
    font-size: 15px;
    line-height: 1.8;
    transition: background-color 0.2s;
    padding: 10px;
    border-radius: 4px;
}

.news-list li a:hover {
    background-color: #f5f5f5;
}

.news-list .date {
    white-space: nowrap;
    min-width: 100px;
    color: #888;
    font-size: 14px;
}

/* MOREリンク矢印アニメーション */
.news-more {
    text-align: right;
    /* これがポイント */
    margin-top: 20px;
}

.news-more a {
    text-decoration: none;
    color: #1A3651;
    font-size: 18px;
    display: inline-block;
    position: relative;
    padding-right: 18px;
    font-family: 'Noto Serif', serif;
}

.news-more .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    position: absolute;
    right: 0;
    top: 0;
}

.news-more a:hover .arrow {
    transform: translateX(5px);
}

@media screen and (max-width: 768px) {
    .news-section {
        padding: 30px 15px;
    }

    .news-title h2 {
        font-size: 28px;
    }

    .news-title p {
        font-size: 13px;
    }

    .news-list li a {
        flex-direction: column;
        gap: 8px;
        font-size: 14px;
        padding: 12px;
    }

    .news-list .date {
        font-size: 13px;
        min-width: auto;
        color: #666;
    }

    .news-more {
        margin-top: 30px;
        text-align: center;
    }

    .news-more a {
        font-size: 16px;
        padding-right: 20px;
    }
}

/* 幅広い世代の方から選ばれています */
.generation-block {
    width: 100%;
    max-width: 100vw;
    /* ビューポート幅までに制限 */
    margin: 20px 0;
    /* 中央寄せを解除する */
    padding: 20px;
    background: url(images/your-image.jpg) no-repeat center center / cover, rgb(255, 255, 244);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}


/* 全体の幅計算をpadding込みに */
.generation-block,
.generation-title-wrap,
.gen-row,
.feature-box {
    box-sizing: border-box;
}

.generation-title-wrap {
    background: url("../img/bg01.png") no-repeat center center / cover, #fffef6;
    padding: 20px 10px;
    text-align: center;
    margin: 40px auto;
    max-width: 375px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: #3a362d;
}

.generation-title {
    font-size: 30px;
    font-weight: 500;
    color: #1A3651;
    line-height: 1.8;
    font-family: 'Noto Serif', serif;
}

.generation-title .accent {
    font-weight: bold;
    display: inline-block;
    padding: 0 4px;
}

.bg-box-wrap {
    background-color: rgba(255, 255, 255, 0.8);
    /* 半透明の白背景 */
    padding: 10px 0px;
    border-radius: 4px;
    line-height: 1.8;
    font-size: 25px;
}

.accent.senior {
    color: #76a68b;
    /* 緑系（高齢者） */
    font-size: 27px;
}

.gen-row {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 30px;
    flex-wrap: wrap;
}

.gen-row.reverse {
    flex-direction: row-reverse;
}

.gen-img {
    flex: 1;
    min-width: 280px;
}

.gen-img img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.gen-text {
    flex: 1;
    min-width: 280px;
}

.gen-text h3 {
    font-size: 20px;
    color: #c060a1;
    margin-bottom: 10px;
}

.gen-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.feature-box {
    display: flex;
    background: #fff;
    padding: 20px;
    margin-bottom: 40px;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    gap: 20px;
    flex-wrap: wrap;
}

.feature-box.reverse {
    flex-direction: row-reverse;
}

.feature-img {
    flex: 1;
    min-width: 280px;
}

.feature-img img {
    width: 100%;
    object-fit: cover;
}

.feature-text {
    flex: 1;
    position: relative;
    min-width: 280px;
}

.feature-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.feature-heading {
    position: relative;
    /* これはあってもOK */
    padding-left: 0;
    /* ← 左の余白不要なら消す */
    margin: 20px 10px;
    font-family: 'Noto Serif', serif;
    display: flex;
    /* ← 追加 */
    flex-direction: column;
    /* ← 縦並びにする */
}

.effort-label {
    position: static;
    /* ← 重要！absolute をやめる */
    font-size: 20px;
    color: #e7b5c6;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 6px;
    /* 間隔調整 */
}

.feature-title {
    font-size: 25px;
    color: #1A3651;
    display: inline-block;
    border-bottom: 2px dotted #e7b5c6;
    padding-bottom: 4px;
    margin: 0;
    /* ← 左マージン削除 */
    font-weight: normal;
}

.ftbr {
    display: block;
    text-align: right;
}

.feature-list {
    margin-top: 8px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    background: #ffe4ec;
    padding: 8px 12px;
    position: relative;
    font-size: 16px;
    color: #4b3d3d;
    padding-left: 30px;
}

.feature-list li::before {
    content: '✔';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #d06d98;
    font-weight: bold;
}

.feature-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
}

.feature-icon img {
    width: 60%;
    height: auto;
    margin-top: 60px;
    margin-left: 50px;
}

/* 子ども向け（ピンク系） */

.feature-kids .feature-list li {
    background: #ffe4ec;
}

.feature-kids .feature-list li::before {
    color: #d06d98;
}

.feature-kids .feature-title {
    border-bottom-color: #e7b5c6;
}

.feature-kids .effort-label {
    color: #e7b5c6;
    background: none;
    font-size: 25px;
}

/* 大人向け（グリーン系） */

.feature-adult .feature-list li {
    background: #e6f4e6;
}

.feature-adult .feature-list li::before {
    color: #8DBB7B;
}

.feature-adult .feature-title {
    border-bottom-color: #8DBB7B;
}

.feature-adult .effort-label {
    color: #8DBB7B;
    background: none;
    font-size: 25px;
}

/* 高齢者向け（ブルー系） */

.feature-senior .feature-list li {
    background: #e6f0fa;
}

.feature-senior .feature-list li::before {
    color: #6ca0dc;
}

.feature-senior .feature-title {
    border-bottom-color: #6ca0dc;
}

.feature-senior .effort-label {
    color: #6ca0dc;
    background: none;
    font-size: 25px;
}

/* 診療メニュー */
.menu-title-bar {
    background-color: #F2B804;
    text-align: center;
    padding: 20px 0;
    margin: 20px auto 40px;
    max-width: 100%;
}

.menu-title-heading {
    color: #fff;
    font-size: 25px;
    font-weight: bold;
    font-family: 'Noto Serif', serif;
    margin: 0;
}

.menu-section {
    background: url("../img/背景｜長谷川デンタルクリニック.png") no-repeat center center;
    background-size: cover;
    /* or contain / auto */
    padding: 20px;
}

/* ▼ コンテナ中央寄せ */
.menu-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* ▼ 見出しとサブタイトル */
.menu-header {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 40px;
}

.menu-header h2 {
    font-size: 35px;
    font-family: 'Noto Serif', serif;
    color: #444;
}

.menu-subtitle {
    font-size: 26px;
    font-style: italic;
    color: #327EB6;
}

/* ▼ グリッド全体（段階式） */
.menu-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ▼ 各段ごとに横並び */
.menu-row {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    /* 必要に応じて調整 */
    flex-wrap: nowrap;
    /* ← 横並びを強制 */
    width: 100%;
}

/* ▼ 個別のメニュー項目 */
.menu-item {
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    max-width: 100%;
    transition: box-shadow 0.3s ease;
}

.menu-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* ▼ アイコンエリア */
.menu-icon-area img {
    width: 48px;
    height: auto;
}

/* ▼ テキストエリア */
.menu-text-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 16px;
    flex: 1;
}

.menu-comment {
    font-size: 14px;
    color: #1A3651;
    margin-bottom: 6px;
    line-height: 1.4;
}

.menu-title {
    font-size: 20px;
    font-weight: bold;
    color: #1A3651;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Noto Serif', serif;
}

.menu-title:hover {
    color: #327EB6;
}

/* ▼ 矢印 */
.menu-arrow span {
    font-size: 24px;
    color: #999;
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-arrow span {
    transform: translateX(5px);
    color: #327EB6;
}

/* ▼ モバイル対応 */
@media (max-width: 768px) {
    .menu-row {
        flex-direction: column;
        gap: 20px;
    }

    .menu-header {
        flex-direction: column;
        gap: 6px;
    }

    .menu-header h2 {
        font-size: 28px;
    }

    .menu-subtitle {
        font-size: 20px;
    }
}

/* 豊平の「長谷川デンタルクリニック」が選ばれる理由 */
/* 見出し全体のデザイン */
.section-title {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: #333;
    font-family: 'Noto Serif JP', serif;
    margin-bottom: 50px;
}

/* 接続詞の小さな文字 */
.small-word {
    font-size: 0.9em;
    /* 小さくする */
    font-weight: bold;
    color: #333;
    /* 通常の色に */
}

/* 強調された部分（選ばれる理由）の色 */
.highlighted-text {
    color: #327EB6;
    /* 任意の色、ここでは緑色 */
    font-weight: bold;
    font-size: 30px;
    margin-left: 10px;
}


.reason-block {
    max-width: 1200px;
    margin: 60px auto;
    text-align: center;
}

.reason-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.reason-card {
    flex: 1 1 300px;
    background: #fff0f5;
    padding: 20px;
    margin: 0 20px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.reason-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.reason-num {
    font-size: 40px;
    font-weight: bold;
    color: #EFD3A5;
    min-width: 40px;
    text-align: center;
    font-family: 'Noto Serif', serif;
    font-style: italic;
}

.reason-text {
    flex: 1;
    text-align: left;
}

.reason-tag {
    font-size: 15px;
    color: #666;
    margin: 0 0 4px;
    text-align: right;
}

.reason-title {
    font-size: 30px;
    font-weight: normal;
    margin: 0;
    color: #1A3651;
    text-align: right;
    font-family: 'Noto Serif', serif;
}

.reason-btn {
    display: inline-block;
    padding: 7px 24px 7px 18px;
    background: #ddbe53;
    /* お好みの色に変更可 */
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    font-weight: normal;
    clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

.reason-btn:hover {
    background: #e9d9ad;
    /* ホバー時の色 */
    transform: translateX(3px);
    /* 少し右にスライド */
}

.reason-card {
    text-align: right;
    /* ボタンを右に揃える */
}

.reason-img {
    width: 300px;
    height: 180px;
    overflow: visible;
    /* はみ出しを許可 */
    position: relative;
}

.reason-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    left: -30px;
    /* 左に20pxズラす */
    top: -40px;
}

/* 1番目と3番目 */
.reason-card:nth-of-type(1),
.reason-card:nth-of-type(3) {
    background: #F3F1D8;
}

.reason-card:nth-of-type(1) .reason-num,
.reason-card:nth-of-type(3) .reason-num {
    color: #EFD3A5;
}

.reason-card:nth-of-type(1) .reason-btn,
.reason-card:nth-of-type(3) .reason-btn {
    background: #ddbe53;
}

.reason-card:nth-of-type(1) .reason-btn:hover,
.reason-card:nth-of-type(3) .reason-btn:hover {
    background: #e9d9ad;
}


/* 2番目 */
.reason-card:nth-of-type(2) {
    background: #F7F8F5;
}

/* ここから⇩フッター全体のスタイル */
.footer-container {
    padding: 100px 10px;
    background-color: #f6f6f6;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

.footer-inner {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0px;
}

/* ロゴのスタイル */
.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-logo img {
    width: 288px;
    height: auto;
}

/* 住所のスタイル */
.footer-address {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    color: #333;
}

/* フッターのメインコンテンツ */
.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-left {
    flex: 1 1 40%;
    padding-right: 20px;
    padding-left: 50px;
}

.footer-right {
    flex: 1 1 35%;
    background-color: #eaeaea;
    padding: 50px 70px;
    box-sizing: border-box;
}

/* バナー */
.footer-banner {
    margin-bottom: 30px;
}

.footer-banner img {
    width: 100%;
    height: auto;
}

/* ボタン */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.contact-button {
    flex: 1 1 30%;
    text-align: center;
    padding: 15px;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.contact-button.tel {
    background-color: #8398BB;
}

.contact-button.web {
    background-color: #4CAF50;
}

.contact-button.line {
    background-color: #00C300;
}

/* 診療時間テーブル */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.schedule-table th,
.schedule-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.schedule-table th {
    background-color: #f0f0f0;
}

.schedule-caption {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* アクセス情報 */
.access-section {
    background-color: #FFF;
    padding: 50px 20px;
    box-sizing: border-box;
}

.access-title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
    font-family: neue-kabel, sans-serif;
}

.access-map-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.access-map {
    height: auto;
}

.access-flexbox {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    /* スマホ対応 */
}

.access-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.access-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.access-info-item span {
    font-size: 18px;
}

.access-info-item img {
    width: 50px;
    height: 50px;
}

/* サイトマップ */
.sitemap {
    background-color: #8398BB;
    padding: 60px 20px;
    text-align: center;
}

.sitemap-title {
    font-size: 30px;
    color: #fff;
    margin-bottom: 20px;
    font-family: neue-kabel, sans-serif;
}

.sitemap-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.sitemap-links a:hover {
    text-decoration: underline;
}

/* コピーライト */
.footer-bottom {
    background-color: #fff;
    color: #1A3651;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* モバイル対応 */
.mobile-nav {
    display: none;
}

/* ▲の色指定 */
.icon-mark {
    color: #be6060;
    /* 好きな色に変更可 */
    font-weight: bold;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
    }

    .footer-left,
    .footer-right {
        flex: 1 1 100%;
        padding: 0;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: #fff;
        border-top: 1px solid #ccc;
    }

    .mobile-nav ul {
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
        margin: 0;
        list-style: none;
    }

    .mobile-nav li a img {
        width: 40px;
        height: 40px;
    }
}

/* 長谷川デンタルクリニック特徴 */
.custom-service-section {
    padding-top: 30px;
}

.custom-service-item {
    padding: 30px 10px 10px 10px;
}

.service-title {
    margin: 20px 0 50px 0;
}

.service-title-en {
    font-size: 45px;
    line-height: 1;
    letter-spacing: 5px;
    color: rgba(26, 54, 81, 0.5);
    /* 50% 透過 */
    font-style: italic;
    font-family: neue-kabel, sans-serif;
    font-weight: 300;
    position: relative;
    text-shadow: 3px 3px 0 rgba(26, 54, 81, 0.7), -3px -3px 0 rgba(26, 54, 81, 0.3);
    text-align: left;
}

.service-title-ja {
    font-size: 25px;
    line-height: 1;
    letter-spacing: 2px;
    padding-bottom: 60px;
    text-align: center;
}

.service-content {
    flex-direction: column;
    text-align: center;
}

.service-image img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.service-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
}

.service-text {
    max-width: 50%;
}

.service-icon img {
    width: 130px;
    height: 130px;
    margin-bottom: 20px;
    display: block;
    /* 画像をブロック要素に変換 */
    margin-left: auto;
    margin-right: auto;
    /* 左右の自動マージンで中央揃え */
}

.service-heading {
    font-size: 27px;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
    font-family: Noto serif JP, sans-serif;
    font-weight: 500;
}

.service-description {
    font-size: 16px;
    text-align: left;
    margin: 10px 10px 40px 10px;
}

.service-banner img {
    width: 100%;
    height: auto;
}

.service-button {
    text-align: center;
}

.button-link {
    display: inline-block;
    background-color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    color: black;
    font-size: 18px;
    border: 2px solid #000;
}

.bg-service01 {
    background: linear-gradient(to bottom, #dfe9bd33, #dfe9bd);
    /* 上がかなり薄く、下が濃くなるグラデーション */
    margin: 0 20px;
}

.bg-service02 {
    background: linear-gradient(to bottom, #e2f3f533, #e2f3f5);
    /* 上がかなり薄く、下が濃くなるグラデーション */
    margin: 0 20px;
}

.bg-service03 {
    background: linear-gradient(to bottom, #eae1fd33, #ece6fa);
    /* 上がかなり薄く、下が濃くなるグラデーション */
    margin: 0 20px;
}

.bg-service04 {
    background: linear-gradient(to bottom, #FFEDF233, #FFEDF2);
    /* 上がかなり薄く、下が濃くなるグラデーション */
    margin: 0 20px;
}

.bg-service05 {
    background: linear-gradient(to bottom, #f1e5be33, #f0e6c6);
    /* 上がかなり薄く、下が濃くなるグラデーション */
    margin: 0 20px;
}

@media screen and (max-width: 768px) {

    .service-text {
        max-width: 100%;
    }
}

/* 院長挨拶 */
.greeting-section {
    background: linear-gradient(to bottom, #fdf8f5, #fceef3);
    padding: 60px 20px;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

.greeting-container {
    flex-direction: column;
    text-align: center;
    margin: 20px auto;
}

.greeting-image {
    flex: 1 1 300px;
    text-align: center;
    position: relative;
}

.greeting-image img {
    width: 100%;
    border-radius: 50%;
}

.director-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85);
    font-weight: bold;
    color: #333;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 5px 20px;
}

.greeting-text {
    flex: 2 1 600px;
    color: #333;
    padding: 0 10px;
}

.greeting-title {
    font-size: 40px;
    color: #c8b4a9;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-family: neue-kabel, sans-serif;
    font-weight: normal;
    font-style: italic;
}

.greeting-lead {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    line-height: 1.5;
    margin: 20px;
}

.greeting-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    text-align: left;
}

/* 対応している歯並び */
.ortho-section {
    background-color: #f0f9e5;
}

.ortho-title {
    justify-content: center;
    /* ←テキストと両側アイコンを中央に */
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 25px;
}

.title-text {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5;
}

.icon-left,
.icon-right {
    display: inline-block;
    width: 30px;
    height: 37px;
    padding: 0 10px;
}

.ortho-description {
    max-width: 900px;
    margin: 20px auto;
    font-size: 1rem;
    line-height: 1.8;
}

.ortho-symptoms {
    display: flex;
    /* ←重要 */
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    /* 任意 */
    margin-top: 50px;
}

.symptom-item {
    width: 140px;
    text-align: center;
}

.ortho-callout {
    background-color: #327EB6;
    color: #fff;
    text-align: center;
    padding: 30px;
}

.ortho-banners {
    padding: 10px;
    background-color: #e5f1f9;
    /* 必要に応じて変更 */
}

.banner-wrapper {
    display: block;
    /* 横並びを解除して縦並びに */
}

.banner-item {
    width: 100%;
    margin-bottom: 20px;
    /* バナー間の余白 */
}

.banner-item:last-child {
    margin-bottom: 0;
    /* 最後だけ余白をなくす */
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
}

.teeth {
    margin-top: 20px;
}



/* Utility */
.pt90 {
    padding-top: 90px;
}

.pb50 {
    padding-bottom: 50px;
}

.pt60 {
    padding-top: 60px;
}

.pb60 {
    padding-bottom: 60px;
}

.prl20 {
    padding-left: 20px;
    padding-right: 20px;
}

.mt100 {
    margin-top: 100px;
}

.mb150 {
    margin-bottom: 150px;
}

.bg-pattern-light {
    background: #e5f1f9;
}

.bg-green {
    background: #327EB6;
}

.txt_center {
    text-align: center;
}

.txt_left {
    text-align: left;
}

.fz32 {
    font-size: 2rem;
}

@media screen and (max-width: 768px) {
    .sp_only {
        display: inline;
    }
}

/* 支払い方法 */
.payment-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #E5F1F9;
}

.payment-inner {
    max-width: 800px;
    margin: auto;
}

.payment-text {
    margin-bottom: 30px;
}

.payment-text h2 {
    font-size: 28px;
    font-weight: bold;
    font-family: 'Noto Serif', serif;
    color: #666;
}

.payment-text .en-title {
    font-size: 24px;
    color: #afbdd0;
    display: block;
    font-weight: normal;
    font-style: italic;
}

.payment-text p {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
    text-align: left;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.payment-item {
    text-align: center;
}

.payment-item p {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

.payment-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* モバイル対応 */
@media screen and (max-width: 768px) {

    .payment-item img {
        width: 70px;
        height: 70px;
    }
}

/* 無料相談バナー */
.banner-container1 {
    display: flex !important;
    /* 親要素にflexを適用 */
    justify-content: center;
    /* 水平方向の中央配置 */
    align-items: center;
    /* 垂直方向の中央配置 */
    width: 100%;
    /* 親要素に幅を指定 */
    margin: 40px 0;
    /* 上下の余白を調整 */
    text-align: center;
}

.banner-container1 img {
    display: block !important;
    /* 画像をブロック要素にして中央配置 */
    max-width: 90%;
    /* 横幅を80%に設定 */
    height: auto;
    /* 高さを自動調整 */
    margin: 0 auto;
    /* 明示的に中央に配置 */
}

/* 症例 */
.cases-section {
    padding: 60px 20px;
    background: #f5f2ec;
    font-family: 'Noto Serif JP', serif;
}

.case-slide {
    display: none;
    /* 初期状態は非表示、JSで .active のみ表示 */
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.case-slide.active {
    display: flex;
}

.case-left {
    flex: 1;
    min-width: 300px;
}

.case-right {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.case-num {
    font-size: 64px;
    display: block;
    line-height: 1;
    margin-bottom: 20px;
    font-family: 'Noto Serif JP', serif;
    font-style: italic;
}

.case-title {
    font-size: 24px;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
    font-family: 'Noto Serif JP', serif;
}

.case-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.case-checklist {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.case-checklist li::before {
    content: "☑";
    margin-right: 10px;
}

.before-after-container {
    position: relative;
    overflow: hidden;
}

.before img,
.after img {
    display: block;
    width: 100%;
}

.after {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
}

.after img {
    position: relative;
    left: 0;
}

.slider-range {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 2;
}

.compare-note {
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
    color: #555;
}

/* Swiperのナビ矢印色（使ってない場合は不要） */
.swiper-button-prev,
.swiper-button-next {
    color: #c4a977;
}

/* ===== カラーバリエーション ===== */
.case-slide.case-color-1 .case-num,
.case-slide.case-color-1 .case-checklist li::before {
    color: #c4a977;
    /* ゴールド系 */
}

.case-slide.case-color-2 .case-num,
.case-slide.case-color-2 .case-checklist li::before {
    color: #6bb7b7;
    /* グリーンブルー系 */
}

.case-slide.case-color-3 .case-num,
.case-slide.case-color-3 .case-checklist li::before {
    color: #e8a4b3;
    /* ピンク系 */
}

/* ===== ナビゲーションボタン ===== */
.case-controls {
    text-align: center;
    margin-top: 40px;
}

.case-controls button {
    background: #1A3651;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    margin: 0 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.case-controls button:hover {
    background: #6185a7;
}

/* 症例ブロック見出し */
.case-header {
    text-align: center;
    margin: 40px 0;
    font-family: 'Noto Serif JP', serif;
}

/* タイトル（h2） */
.case-title {
    font-size: 32px;
    font-weight: 500;
    color: #666;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.case-title span {
    font-size: 25px;
    font-weight: bold;
}

/* ラベル（背景付きp） */
.case-label {
    display: block;
    width: 100%;
    background-color: #1A3651;
    /* 上品なブラウン */
    color: #fff;
    padding: 12px 0;
    font-size: 20px;
    line-height: 1.6;
    border-radius: 0;
    text-align: center;
}

.case-letter {
    color: #327EB6;
    /* 好きな色を指定 */
}

.case-slider-wrapper {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
    font-family: 'Noto Sans JP', sans-serif;
}

.case-slide {
    display: none;
    gap: 30px;
    align-items: center;
}

.case-slide.active {
    display: flex;
}

.case-left,
.case-right {
    flex: 1;
}

.case-num {
    font-size: 48px;
    font-weight: bold;
}

.case-title {
    font-size: 22px;
    font-weight: bold;
    margin-left: 10px;
}

.case-text,
.compare-note {
    font-size: 14px;
    margin-top: 10px;
}

.case-checklist li::before {
    content: "☑ ";
    color: #c4a977;
}

.case-checklist {
    list-style: none;
    padding-left: 0;
}

.case-readmore {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid #000;
}

.before-after-container {
    position: relative;
}

.before img,
.after img {
    width: 100%;
    display: block;
}

.after {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 50%;
}

.slider-range {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
}

.case-controls {
    text-align: center;
    margin-top: 30px;
}

.gold {
    color: #c4a977;
}

.green {
    color: #6bb7b7;
}

.pink {
    color: #e8a4b3;
}


/* PICKUP診療 */
/* 見出しセクション */
.pickup-section {
    text-align: center;
    margin: 100px 0px 40px 0px;
    position: relative;
    /* 擬似要素のために位置を指定 */
    background: url("../img/背景｜長谷川デンタルクリニック.png") no-repeat center center;
}

/* 英語の部分 (PICKUP) */
.pickup-en {
    font-size: 50px;
    font-weight: normal;
    color: #327EB6;
    /* 緑色 */
    letter-spacing: 5px;
    text-transform: uppercase;
    font-family: 'Noto Serif JP', serif;
}

/* 最初の文字だけ色を変える */
.pickup-first-letter {
    color: #1A3651;
    /* 好きな色を指定 */
}

/* 日本語の部分 */
.pickup-ja {
    font-size: 27px;
    color: #666;
    margin-top: 10px;
    font-family: 'Noto Serif JP', serif;
}


.dental-box {
    background: #f9f9f9;
    padding: 40px 10px;
    margin-bottom: 40px;
    font-family: 'Noto Serif', serif;
}

.dental-inner {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    overflow: visible;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

.dental-images {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.dental-images .top-img img,
.dental-images .bottom-imgs img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 10px;
}

.dental-images .bottom-imgs {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dental-images .bottom-imgs img {
    width: 55%;
    max-width: 140px;
    height: auto;
}

.dental-text {
    width: 60%;
    padding: 20px 30px;
    box-sizing: border-box;
    position: relative;
}

.dental-title {
    font-size: 35px;
    margin: 30px 20px 10px 20px;
    font-weight: bold;
    color: #666;
    font-family: 'Noto Serif', serif;
    text-shadow: 1px 1px 3px rgba(80, 80, 80, 0.932);
}

.dental-catch {
    font-size: 30px;
    font-weight: 600;
    color: #0074bb;
    margin-bottom: 16px;
    font-weight: bold;
    font-family: 'Noto Serif', serif;
}

.dental-description {
    font-size: 16px;
    color: #555;
    text-align: left;
    margin-bottom: 20px;
}

.dental-ribbon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffc107;
    color: #fff;
    font-weight: bold;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
}

.dental-highlight-box {
    background: #e8f5e9;
    border-left: 6px solid #4caf50;
    padding: 15px;
    border-radius: 0px 8px 8px 0px;
}

.highlight-title {
    position: relative;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 10px;
    font-size: 20px;
    z-index: 1;
}

.dental-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.dental-list li {
    margin-bottom: 8px;
    padding-left: 1.2em;
    position: relative;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

.dental-list li::before {
    content: "●";
    color: #4caf50;
    position: absolute;
    left: 0;
}

.dental-badge-circle {
    position: absolute;
    top: -30px;
    right: -10px;
    background-color: #81c784;
    /* 緑系。色はお好みで！ */
    color: white;
    width: 130px;
    /* ← 丸を大きくしたい場合ここを変更 */
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.4;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.dental-badge-circle::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border: 2px solid white;
    border-radius: 50%;
    box-sizing: border-box;
}

/* ▼ 小児矯正 */
.section-ortho {
    background: linear-gradient(to right,
            transparent,
            #f9f5f9 30%,
            #f9f5f9 70%,
            transparent);
    border: 1px solid #e4dce6;
    /* ほんのりラベンダーがかった薄グレー */
}

/* ▼ インプラント */
.section-implant {
    background: linear-gradient(to right,
            transparent,
            #d6dfe69f 30%,
            #d6dfe69f 70%,
            transparent);
    border: 1px solid #c7d2da;
    /* 上品なグレーブルー */
}


/* ▼ badge-purple：ベース色 #DF4B7C（鮮やかな赤みピンク） */
.badge-purple {
    background: linear-gradient(to bottom, #e5bdd1, #d5a5bc);
    border: 1px solid #eac8d8;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ▼ badge-orange：ベース色 #1D6A94（深いブルー系） */
.badge-orange {
    background: linear-gradient(to bottom, #3a87b2, #1d6a94);
    border: 1px solid #5a9fc2;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* 中の二重丸線は共通のままでOK */

/* リストボックス背景色 */
.highlight-purple {
    background: #f8ecf4;
    border-left: 6px solid #BE929F;
}

.highlight-orange {
    background: #f5f8fa;
    border-left: 6px solid #1D6A94;
}



/* ▼ 小児矯正 */
.highlight-purple .highlight-title {
    position: relative;
    /* 擬似要素の absolute 位置基準に必須 */
    color: #d4859d;
}

.highlight-purple .highlight-title::after {
    content: "ORTHODONTICS";
    position: absolute;
    top: 50%;
    left: 50%;
    /* 横方向中央位置 */
    transform: translate(-50%, -50%);
    /* 縦横中央に調整 */
    font-size: 30px;
    color: rgba(175, 76, 158, 0.08);
    /* 紫がかった透明感 */
    font-weight: bold;
    letter-spacing: 2px;
    pointer-events: none;
    z-index: 0;
    font-family: 'Noto Serif JP', serif;
    white-space: nowrap;
    /* 折り返し防止（必要に応じて） */
}

.highlight-purple .dental-list li::before {
    color: #BE929F;
}

.section-ortho .dental-catch {
    color: #e296c5;
}

/* ▼ インプラント */
.highlight-orange .highlight-title {
    color: #1D6A94;
}

.highlight-orange .highlight-title::after {
    content: "IMPLANT";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    color: rgba(76, 160, 175, 0.08);
    font-weight: bold;
    letter-spacing: 2px;
    pointer-events: none;
    z-index: 0;
    font-family: 'Noto Serif JP', serif;
}

.highlight-orange .dental-list li::before {
    color: #1D6A94;
}

.section-implant .dental-catch {
    color: #4f7e99;
}

@media (max-width: 767px) {
    .dental-inner {
        display: block;
    }

    .dental-text {
        width: 100%;
        padding: 0 20px 20px;
        box-sizing: border-box;
    }

    .dental-images .top-img {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }
}

/* ボタンの基本デザイン */
button.animated-btn {
    position: relative;
    padding: 12px 15px;
    font-size: 18px;
    font-weight: normal;
    background-color: transparent;
    /* 背景色は透明に設定 */
    color: #1A3651;
    /* 枠線と同じ色をテキストに */
    border: 1px solid #1A3651;
    /* 枠線の色を #1A3651 に変更 */
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-top: 30px;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

/* ボタン内のテキスト */
button.animated-btn .btn-text {
    position: relative;
    z-index: 1;
    /* テキストがバーより前に配置 */
}

/* 右の棒 */
button.animated-btn .btn-line {
    position: absolute;
    bottom: 0;
    left: -100%;
    /* 最初は左側に完全に隠れている */
    width: 100%;
    /* 幅はボタン全体 */
    height: 2px;
    background-color: #1A3651;
    /* 線の色を #1A3651 に変更 */
    transition: left 0.4s ease;
    /* ホバー時に左から右にスライド */
}

/* ホバー時のスタイル */
button.animated-btn:hover {
    background-color: #A0B2C4;
    /* ホバー時に少し薄い色（#1A3651 の薄い色）に変更 */
    color: white;
    /* テキスト色を白に変更 */
    border-color: #1A3651;
    /* 枠線の色をそのまま #1A3651 に */
}

/* ホバー時に線が右にスライドするアニメーション */
button.animated-btn:hover .btn-line {
    left: 0;
    /* 線がボタン内に完全にスライドして表示 */
}

.page-top {
  display: none;
}

/* =========================================
   sticky header
========================================= */
.sticky-header {
  background: white;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

/* 表示時にスライドダウン */
.sticky-header.visible {
  transform: translateY(0);
}

/* --- 中のナビを中央寄せ＆左右揃え --- */
.sticky-header .nav {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- メニュー部分 --- */
.menu {
  display: flex;
  list-style: none;
  gap: 30px;
  padding: 0;
  margin: 0;
  margin-left: 30px;
  max-width: 1047px;
}

.menu li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
  position: relative;
  padding: 4px 6px;
  font-size: 14px;
  line-height: 1.2;
}

.menu li a .ja {
  font-size: 17px;
}

.menu li a .en {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.5px;
  margin-top: 2px;
  font-family: 'Lato', sans-serif;
}

/* 初期状態：幅0で中央からスケール */
.menu li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 1px;
  background-color: #327EB6;
  transition: transform 0.3s ease;
}

/* ホバー時：スケール1 */
.menu li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* --- 右側の予約ブロック --- */
.reservation-box {
  display: flex;
  align-items: stretch;
}

.tel-box {
  background-color: #327EB6;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 160px;
}

.tel-box .label {
  font-size: 15px;
  color: #fff;
  margin: 0;
  text-align: center;
}

.tel-box .phone {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Noto Serif', serif;
  text-decoration: none;
}

.phone .icon {
  color: #003366 !important;
  font-size: 20px;
}

.phone .number {
  color: #fff;
}

.web-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #F0F6F9;
  padding: 20px 15px;
  min-width: 160px;
  margin-right: 20px;
}

.web-btn .label {
  font-size: 15px;
  color: #327EB6;
  margin: 0;
  text-align: center;
  padding-bottom: 5px;
  border-bottom: 1px solid #327EB6;
  width: 100%;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

.web-btn .web {
  font-size: 20px;
  font-weight: bold;
  color: #327EB6;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-family: 'Noto Serif', serif;
  text-decoration: none;
}

/* ▼ ドロップダウンベース ▼ */
.menu li.dropdown {
  position: relative;
}

.menu li .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #F0F6F9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 1000;
  width: 480px;
}

/* ▼ ホバーで表示 ▼ */
.menu li.dropdown:hover .dropdown-menu {
  display: block;
}

/* ▼ ドロップダウンリスト ▼ */
.dropdown-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ▼ 個別メニュー項目 ▼ */
.dropdown-list li a {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  padding: 12px;
  color: #333;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: background 0.2s;
}

.dropdown-list li a:hover {
  background: #f0f0f0;
}

.dropdown-list li img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

/* =========================================
   ハンバーガーボタン（JSで追加される想定）
========================================= */
.sp-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1002;
  padding: 0;
  margin-right: 10px;
}

.sp-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: #1A3651;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-header.is-open .sp-menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.sticky-header.is-open .sp-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.sticky-header.is-open .sp-menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================
   mobile
========================================= */
@media (max-width: 767px) {
  .sticky-header {
    display: block !important;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  }

  .sticky-header .nav {
    padding: 12px 0;
    position: relative;
    justify-content: space-evenly;
  }

  .sp-menu-toggle {
    display: block;
  }

  /* 初期状態で閉じる */
  .menu,
  .reservation-box {
    display: none;
  }

  /* 開いた時に表示 */
  .sticky-header.is-open .menu,
  .sticky-header.is-open .reservation-box {
    display: block;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #dce7f0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    z-index: 1000;
  }

  .menu li {
    width: 100%;
    border-bottom: 1px solid #e5edf4;
  }

  .menu li a {
    align-items: flex-start;
    padding: 15px 18px;
    font-size: 14px;
  }

  .menu li a .ja {
    font-size: 15px;
  }

  .menu li a .en {
    font-size: 11px;
    margin-top: 3px;
    color: #327EB6;
  }

  .menu li a::after {
    display: none;
  }

  /* 診療案内 */
  .menu li.dropdown {
    position: relative;
  }

  .menu li .dropdown-menu {
    display: none;
    position: static;
    width: 100%;
    padding: 0;
    background: #F7FBFE;
    box-shadow: none;
  }

  .menu li.dropdown.open .dropdown-menu {
    display: block;
  }

  .menu li.dropdown > a {
    padding-right: 50px;
  }

  .menu li.dropdown > a::before {
    content: "＋";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #327EB6;
    line-height: 1;
  }

  .menu li.dropdown.open > a::before {
    content: "－";
  }

  .dropdown-list {
    display: block;
  }

  .dropdown-list li {
    border-bottom: 1px solid #e1ebf3;
  }

  .dropdown-list li:last-child {
    border-bottom: none;
  }

  .dropdown-list li a {
    box-shadow: none;
    background: #F7FBFE;
    padding: 13px 18px 13px 28px;
    font-size: 14px;
  }

  .dropdown-list li a:hover {
    background: #eef6fc;
  }

  .dropdown-list li img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
  }

  /* 予約ブロック */
  .reservation-box {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    box-sizing: border-box;
    z-index: 999;
    border-top: 1px solid #e5edf4;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.05);
  }

  /* メニューが開いているときは予約ボックスを下にずらす */
  .sticky-header.is-open .menu + .reservation-box,
  .sticky-header.is-open .reservation-box {
    margin-top: 0;
  }

  .tel-box,
  .web-btn {
    min-width: 0;
    width: 100%;
    margin: 0 0 12px;
    padding: 14px 16px;
    box-sizing: border-box;
  }

  .web-btn {
    margin-bottom: 0;
  }

  .tel-box .label,
  .web-btn .label {
    font-size: 12px;
  }

  .tel-box .phone,
  .web-btn .web {
    font-size: 18px;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  /* header本体 */
  .sticky-header {
    display: block !important;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  }

  /* 開いたときに中身全体を縦スクロールできるようにする */
  .sticky-header .nav {
    padding: 12px 0;
    position: relative;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .sticky-header.is-open .nav {
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sp-menu-toggle {
    display: block;
    margin-right: 10px;
    margin-left: auto;
    flex: 0 0 auto;
  }

  /* 開いていない時は非表示 */
  .menu,
  .reservation-box {
    display: none;
  }

  /* 開いた時に表示 */
  .sticky-header.is-open .menu,
  .sticky-header.is-open .reservation-box {
    display: block;
  }

  /* メニューをabsolute解除して通常フローに戻す */
  .menu {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #dce7f0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    z-index: auto;
    order: 2;
  }

  .menu li {
    width: 100%;
    border-bottom: 1px solid #e5edf4;
  }

  .menu li a {
    align-items: flex-start;
    padding: 15px 18px;
    font-size: 14px;
  }

  .menu li a .ja {
    font-size: 15px;
  }

  .menu li a .en {
    font-size: 11px;
    margin-top: 3px;
    color: #327EB6;
  }

  .menu li a::after {
    display: none;
  }

  /* PCのhover表示をモバイルでは無効化 */
  .menu li.dropdown:hover .dropdown-menu {
    display: none;
  }

  /* openが付いた時だけ表示 */
  .menu li.dropdown.open .dropdown-menu {
    display: block;
  }

  .menu li.dropdown > a {
    padding-right: 50px;
  }

  .menu li.dropdown > a::before {
    content: "＋";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #327EB6;
    line-height: 1;
  }

  .menu li.dropdown.open > a::before {
    content: "－";
  }

  .menu li .dropdown-menu {
    display: none;
    position: static;
    width: 100%;
    padding: 0;
    background: #F7FBFE;
    box-shadow: none;
  }

  .dropdown-list {
    display: block;
  }

  .dropdown-list li {
    border-bottom: 1px solid #e1ebf3;
  }

  .dropdown-list li:last-child {
    border-bottom: none;
  }

  .dropdown-list li a {
    box-shadow: none;
    background: #F7FBFE;
    padding: 13px 18px 13px 28px;
    font-size: 14px;
  }

  .dropdown-list li a:hover {
    background: #eef6fc;
  }

  .dropdown-list li img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
  }

  /* reservation-boxもabsolute解除 */
  .reservation-box {
    position: static;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    box-sizing: border-box;
    z-index: auto;
    border-top: 1px solid #e5edf4;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.05);
    order: 3;
  }

  .tel-box,
  .web-btn {
    min-width: 0;
    width: 100%;
    margin: 0 0 12px;
    padding: 14px 16px;
    box-sizing: border-box;
  }

  .web-btn {
    margin-bottom: 0;
  }

  .tel-box .label,
  .web-btn .label {
    font-size: 12px;
  }

  .tel-box .phone,
  .web-btn .web {
    font-size: 18px;
    justify-content: center;
  }
}

/* ロゴは初期状態では非表示 */
.sp-header-logo {
  display: none;
}

.sp-header-logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.sp-header-logo img {
  display: block;
  height: 42px;
  width: auto;
}

/* モバイルだけ表示 */
@media (max-width: 767px) {
  .sticky-header .nav {
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
  }

  .sp-header-logo {
    display: block;
    flex: 0 0 auto;
    margin-right: auto;
  }

  .sp-menu-toggle {
    margin-left: 12px;
    margin-right: 0;
    flex: 0 0 auto;
  }

  /* メニューと予約エリアは下へ */
  .menu {
    order: 2;
  }

  .reservation-box {
    order: 3;
  }
}