/* カラート�Eクン�E��E通！E*/
:root {
    --tel-color: #1e88e5;           /* 通常の電話色 */
    --tel-hero-color: #1e88e5;      /* ヒ�Eロー冁E�E電話色�E�上書き！E*/
}

/* (reverted) Font Awesome 互換エイリアスは削除 */

/* ===============================
     ヒ�Eロー冁E��話案�EブロチE���E�Eero-contact-info�E�E
=============================== */
.hero-contact-lead {
        font-size: 1.08em;
    color: #1a2a2a !important;
        font-weight: 600;
        letter-spacing: 0.02em;
        margin-bottom: 20px;
        text-s    /* ヒーロー背景画像のスマホ対応 */
    .hero-section .item.bg-fixed {
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        min-height: 100vh;
    }
    
    /* スマホでの電話番号色を確実に表示 */
    .hero-contact-info .tel-number {
        color: var(--tel-hero-color) !important;
        text-shadow: 0 1px 3px rgba(255,255,255,0.8) !important;
    } 1px 4px rgba(255,255,255,0.18);
        text-align: center;
}
/* --- 構文エラー修正: 不要な閉じカチE��削除 --- */

.hero-contact-info-box {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        gap: 1.2em;
        margin: 0 auto 0 auto;
        width: fit-content;
        min-width: 270px;
}
/* --- 構文エラー修正: 不要な閉じカチE��削除 --- */

.tel-number {
        font-size: 1.25em;
    color: var(--tel-color);
        font-weight: 700;
        letter-spacing: 0.04em;
        margin-right: 0.7em;
        display: flex;
        align-items: center;
        gap: 0.4em;
}
.tel-number i {
    color: inherit; /* 親の色を継承 */
        font-size: 1.1em;
        margin-right: 0.2em;
        margin-bottom: -8px;;
}
.reception-time {
        font-size: 0.98em;
    color: var(--tel-color) !important;
        font-weight: 400;
}
.reception-day {
    color: var(--tel-color) !important;
        font-weight: 600;
}

@media (max-width: 600px) {
    .hero-contact-info-box {
        flex-direction: column;
        align-items: center; /* 1列時に中央寁E�� */
        text-align: center;  /* spanチE��ストも中央寁E�� */
        gap: 0.3em;
        padding: 0.7em 0.7em 0.7em 0.7em;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .tel-number {
        font-size: 1.08em;
        margin-right: 0;
        margin-bottom: 0.2em;
    }
}
/* ===============================
     サイド追随�Eタン�E�縦型�E縦書ぁE横型�E替用バックアチE�E付き�E�E
=============================== */
.side-floating-buttons {
    position: fixed;
    right: 0;
    top: 35%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* スクロール中の半透�E効极E*/
.side-floating-buttons.scrolling {
    opacity: 0.4;
}
/* --- 縦型�E縦書きバージョン�E�有効�E�E--- */
.floating-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    height: 120px !important;
    width: 48px !important;
    margin-bottom: 2px !important;
    border-radius: 12px 0 0 12px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s !important;
    border: none !important;
    padding: 0 !important;
    background: inherit !important;
}
.floating-btn:hover {
    background: #34ce57;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
/* --- 横型バージョン�E�下記コメントアウトを有効化で刁E��可�E�E--- */
/*
.floating-btn {
    display: block;
    background: #28a745;
    color: #fff;
    text-align: center;
    padding: 12px 24px;
    margin-bottom: 2px;
    border-radius: 12px 0 0 12px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: none;
}
.floating-btn:hover {
    background: #34ce57;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
*/
/* 色競合対筁E !importantで強制持E��E*/
.faq-btn {
    background: #ffa500 !important;
}
.faq-btn:hover {
    background: #ffb733 !important;
}
.contact-btn {
    background: #dc143c !important;
}
.contact-btn:hover {
    background: #e3425a !important;
}
@media (max-width: 600px) {
    .side-floating-buttons {
        right: 0;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }
    .floating-btn {
        height: 80px;
        width: 36px;
        font-size: 12px;
        border-radius: 8px 0 0 8px;
    }
}
html {
  scroll-behavior: smooth;
}

/* (reverted) サイドメニューのクローズボタン黒丸の上書き�E削除 */

/* #navbar-menu�E�折りたたみ冁E���Eクローズボタン「×」�E、親ボタンの色を継承して丸枠と同色に */
nav.navbar.validnavs .navbar-collapse.collapse button i {
    color: inherit !important;
}

/* (reverted) #navbar-menu クローズボタンの強制スタイル・表示調整は削除 */

/* 1. ファーストビュー�E�ヒーローセクション�E�E*/
.hero-section .item {
    background-color: #f0f8ff; /* 淡ぁE��スチE��カラー�E�アリスブルー�E�E*/
}

.hero-section .item.shadow.theme::after {
    background: rgba(240, 248, 255, 0.8); /* 背景色に合わせた半透�Eのオーバ�Eレイ */
    mix-blend-mode: normal;
}

.hero-section .content .site-title,
.hero-section .content h1,
.hero-section .content p {
    color: #333; /* チE��ストカラーを濁E��グレーに */
    text-shadow: 1px 1px 3px rgba(255,255,255,0.5); /* 可読性向上�Eための薁E��影 */
}

.hero-section .content .site-title {
    font-size: 24px;
    font-weight: 600;
    color: #555;
    margin-bottom: 15px;
}

.hero-section .content h1 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.3;
    color: #28a745; /* プライマリカラー */
}

/* ヒ�Eロー見�Eしサイズの競合対筁E
   style.css の `.banner-area.banner-style-two .content h1 { font-size: 90px; }` ぁE
   セレクタの詳細度で勝つため、同等以上�E詳細度で上書ぁE*/
.banner-area.banner-style-two.hero-section .content h1 {
    font-size: 50px;
    line-height: 1.3;
}

.hero-section .content p {
    font-size: 18px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-section .hero-contact-info {
    margin-top: 40px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    display: inline-block;
    border: 1px solid #28a745;
    text-align: center;
}

.hero-section .hero-cta {
    margin-top: 40px;
    margin-bottom: 20px;
}

.hero-section .hero-cta .btn {
    padding: 15px 40px;
    font-size: 18px;
}

.hero-section .cta-notice {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
}

.hero-contact-info .info-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 10px;
}

/* 共通�E斁E��色・太ぁE*/
.hero-contact-info p {
    color: #333;
    font-weight: 500;
}
/* 先頭のリード文は余白を残す */
.hero-contact-info p.hero-contact-lead {
    margin-bottom: 20px;
}
/* それ以外�E段落は余白なぁE*/
.hero-contact-info p:not(.hero-contact-lead) {
    margin-bottom: 0;
}

.hero-contact-info .tel-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--tel-hero-color) !important;
    line-height: 1; /* チE��スト行高を圧縮して中央揁E��を安宁E*/
}

/* ヒ�Eロー冁E�E受話器アイコンを紁E/3小さぁE*/
.hero-contact-info .tel-number i {
    font-size: 0.73em; /* 既存�E1.1emに対して紁E33% */
    line-height: 1;            /* アイコンボックスの高さを詰める */
    display: inline-flex;      /* アイコン自体も中央揁E��に寁E��E*/
    align-items: center;       
    margin-right: 0;           /* gapと二重にならなぁE��ぁE�� */
    position: relative;        /* 視覚的中忁E��微調整 */
    top: 0.03em;               /* ごくわずかに下げめE*/
}

.hero-contact-info .contact-notice {
    font-size: 16px;
    font-weight: bold;
}

/* 2. ピロリ菌とは */
.pylori-about-text {
    text-align: left;
}

.pylori-about-text h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
}

.pylori-about-text p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 3. ピロリ菌と胁E��ん�E関俁E*/
.pylori-cancer-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
}

.doctor-comment-box {
    background-color: #ffffff;
    border: 1px solid #e7e7e7;
    border-left: 5px solid #28a745;
    padding: 40px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.doctor-comment-box .icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 20px;
    display: inline-block;
}

.doctor-comment-box blockquote p {
    font-size: 16px;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.doctor-comment-box blockquote cite {
    font-style: normal;
    font-weight: 600;
    display: block;
    text-align: right;
    color: #333;
}

/* 4. 検査方法と治療�E流れ */
.pylori-test-items .item {
    padding: 30px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    text-align: center;
    height: 100%;
}

.pylori-test-items .item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    /* 中央寁E���E�アイコン枠自体を中央へ�E�E*/
    margin-left: auto;
    margin-right: auto;
    color: #28a745;
    background: none;
    padding: 0;
}
.pylori-test-items .item .icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.pylori-test-items .item .icon i {
    font-size: 48px;
    line-height: 1;
}

.pylori-test-items .item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.treatment-flow-timeline {
    margin-top: 60px;
    margin-bottom: 60px;
}

.treatment-flow-timeline h3 {
    margin-bottom: 40px;
    font-weight: 600;
}

.timeline-items {
    position: relative;
    padding: 20px 0;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #28a745;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 10px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #28a745;
    top: 25px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.side-effects-note {
    background-color: #fff3cd;
    border-left: 5px solid #ffeeba;
    padding: 30px;
    border-radius: 5px;
    margin-top: 30px;
}

.side-effects-note h4 {
    color: #856404;
    font-weight: 600;
    margin-bottom: 15px;
}

.side-effects-note h4 i {
    margin-right: 10px;
}

.side-effects-note p {
    color: #856404;
    margin-bottom: 0;
}

/* タイムラインのスマ�E対忁E*/
/* スマホ・タブレット用ハンバーガーメニュー表示 */
@media (max-width: 991px) {
    /* コンテナレイアウトの調整 */
    .navbar .container.d-flex {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* ナビゲーションヘッダーの調整 */
    .navbar-header {
        display: flex !important;
        align-items: center !important;
        flex: 1 !important;
    }
    
    /* ハンバーガーメニューを確実に表示 */
    .navbar-toggle {
        display: block !important;
        float: none !important;
        margin: 0 !important;
        padding: 9px 10px !important;
        background-color: transparent !important;
        border: 1px solid rgba(255,255,255,0.3) !important;
        border-radius: 4px !important;
        order: 2 !important;
        flex-shrink: 0 !important;
    }
    
    /* ロゴの調整 */
    .navbar-brand {
        order: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    

}

@media (max-width: 768px) {
    /* ヒ�Eロー背景画像�Eスマ�E対忁E*/
    .hero-section .item.bg-fixed {
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        min-height: 100vh;
    }
    
    /* スマホでのヒーローコンテンツを上方向に配置 */
    .hero-section .box-cell {
        vertical-align: top !important;
        padding-top: 100px !important;
        padding-bottom: 120px !important;
    }
    
    .hero-section .content {
        margin-top: -50px !important;
    }
    
    /* スマホでのヒーロー連絡先ブロックの左右パディングを削減 */
    .hero-contact-info {
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-bottom: 40px !important;
        margin-top: 30px !important;
    }
    
    .hero-contact-info-box {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .treatment-flow-timeline {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .treatment-flow-timeline h3 {
        margin-bottom: 25px;
        font-size: 1.4em;
    }
    
    .timeline-items::before {
        left: 30px;
        transform: none;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding: 15px 0 15px 70px;
    }
    
    .timeline-item::after {
        left: 20px !important;
        right: auto !important;
        top: 20px;
        width: 18px;
        height: 18px;
        border-width: 3px;
    }
    
    .timeline-content {
        padding: 20px 20px;
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .timeline-content h4 {
        font-size: 1.1em;
        margin-bottom: 8px;
        color: #28a745;
        font-weight: 700;
    }
    
    .timeline-content p {
        font-size: 0.95em;
        line-height: 1.6;
        margin-bottom: 0;
    }
}

/* 5. 費用・保険適用と検査をおすすめする方 */
.costs-insurance-area {
    background-color: #fff;
}

.costs-insurance-area .costs-info-text h3 {
    margin-bottom: 20px;
}

.costs-info-text h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.costs-info-text ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 15px;
}

.costs-info-text ul li {
    margin-bottom: 10px;
}

.recommend-box {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.recommend-box h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
}

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

.recommend-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.recommend-list li::before {
    content: '\f058'; /* Font Awesome check-circle */
    font-family: var(--fontawesome-free);
    font-weight: 900;
    font-size: 1em;
    position: absolute;
    left: 0;
    top: 4px;
    color: #28a745;
    font-display: block;
}

.cta-area-box {
    background: #f7f9fb;
    border: 2px dashed #28a745;
    padding: 40px;
    margin-top: 50px;
    border-radius: 8px;
}

.cta-area-box h3 {
    margin-bottom: 15px;
}

.cta-area-box p {
    margin-bottom: 25px;
}

/* 6. 医師プロフィールとメチE��ージ */
.doctor-profile-area {
    background-color: #f9f9f9;
}

.doctor-profile-thumb img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 100%;
}

.doctor-profile-area .doctor-profile-thumb {
    margin-bottom: 20px;
}

.doctor-profile-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.doctor-profile-info .doctor-title {
    font-size: 18px;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 30px;
}

.doctor-details h4 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
    border-left: 3px solid #28a745;
    padding-left: 10px;
}

.doctor-details ul {
    list-style: none;
    padding-left: 0;
}

.doctor-details ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.doctor-details ul li::before {
    content: '\f058'; /* Font Awesome check-circle */
    font-family: var(--fontawesome-free);
    font-weight: 900;
    font-size: 1em;
    position: absolute;
    left: 0;
    color: #0cb8b6; /* 医療系カラー */
    font-display: block;
}

.doctor-message {
    margin-top: 40px;
}

.doctor-message h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.doctor-profile-area .doctor-message blockquote {
    margin-top: 10px;
    font-style: normal;
}

.doctor-profile-area .doctor-cta {
    margin-top: 25px;
}

/* 7. 最新設備と診療体制 */
.equipment-system-area {
    background-color: #fff;
}

.equipment-thumb img {
    max-width: 100%;
}

.equipment-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.equipment-info > p {
    margin-bottom: 30px;
}

.equipment-info ul {
    list-style: none;
    padding-left: 0;
}

.equipment-info ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.equipment-info ul li .icon {
    font-size: 36px;
    color: #28a745;
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
}

.equipment-info ul li .info h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.equipment-info ul li .info p {
    margin-bottom: 0;
}

/* 8. よくある質問！EAQ�E�E*/
.faq-area .accordion-item {
    border: 1px solid #e7e7e7;
    margin-bottom: 15px;
    border-radius: 5px;
}

.faq-area .accordion-item:last-child {
    margin-bottom: 0;
}

.faq-area .accordion-header {
    border-bottom: 0;
}

.faq-area .accordion-button {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    background-color: #fff;
    box-shadow: none;
    padding: 20px;
}

.faq-area .accordion-button:not(.collapsed) {
    color: #28a745;
    background-color: #f3fff0;
}

.faq-area .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-area .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300a2ff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-area .accordion-body {
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #e7e7e7;
}

/* 9. お問ぁE��わせ・アクセス惁E���E�フチE��ー�E�E*/
footer .f-item.contact-widget .address ul li {
    margin-bottom: 15px;
}

footer .f-item.contact-widget .footer-cta {
    margin-bottom: 25px;
}

/* 10. Pylori Risks
================================*/
.pylori-risks-area .pylori-risks-content .risk-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: all 0.3s ease-in-out;
}
.pylori-risks-area .pylori-risks-content .risk-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.pylori-risks-area .pylori-risks-content .risk-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-right: 20px;
    color: #0d6efd;
    background: none;
    padding: 0;
}
.pylori-risks-area .pylori-risks-content .risk-item .icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.pylori-risks-area .pylori-risks-content .risk-item .info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}
.pylori-risks-area .pylori-risks-content .risk-item .info p {
    margin-bottom: 0;
}
.pylori-risks-area .pylori-risks-content .risk-item .info p a {
    font-size: 12px;
    color: #555;
}
.pylori-risks-area .pylori-risks-content .source-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}
.pylori-risks-area .pylori-risks-content .source-text a {
    font-size: 12px;
    color: #555;
}

/* レスポンシブ対忁E*/
@media (max-width: 767px) {
    .hero-section .content .site-title {
        font-size: 20px;
    }
    .hero-section .content h1 {
        font-size: 32px;
    }
    /* 上記�E詳細度強化ルールに対するモバイル時�E再上書ぁE*/
    .banner-area.banner-style-two.hero-section .content h1 {
        font-size: 32px;
    }
    .hero-section .content p {
        font-size: 16px;
    }
    .hero-contact-info .info-box {
        flex-direction: column;
        gap: 10px;
    }
    .hero-contact-info .tel-number {
        font-size: 24px;
        color: var(--tel-hero-color) !important;
}
}
@media (max-width: 991.98px) {
  .pylori-test-items .single-item {
    margin-bottom: 24px !important;
  }
  .pylori-test-items .item {
    margin-bottom: 24px !important;
  }
}
@media (max-width: 575.98px) {
  .pylori-test-items .single-item {
    margin-bottom: 32px !important;
  }
  .pylori-test-items .item {
    margin-bottom: 32px !important;
  }
}
.pylori-test-items .single-item:nth-child(n+5) {
    margin-top: 0;
}
/* チE��クトップ表示時�E縦方向スペ�Eス�E�行間�E�を確俁E*/
@media (min-width: 992px) {
    .pylori-test-items .single-item {
        margin-bottom: 32px; /* 行間の余白 */
    }
}
@media (min-width: 992px) {
  .pylori-test-items .row {
    display: flex;
    flex-wrap: wrap;
  }
  .pylori-test-items .single-item {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    box-sizing: border-box;
  }
}
@media (max-width: 991.98px) {
  .pylori-test-items .single-item {
    max-width: 100%;
    flex: 0 0 100%;
  }
}
.pylori-test-items .single-item:nth-child(4) {
    margin-top: 0;
}

/* �X�}�z�ł̃q�[���[�d�b�ԍ��F�C�� */
@media (max-width: 768px) {
    .hero-section .hero-contact-info .tel-number {
        color: #1e88e5 !important;
        text-shadow: 1px 1px 2px rgba(255,255,255,0.9) !important;
    }
}
