/* allergy/css/style.css */

.allergy-title-inner {
  background-image: url(../../img/base/title.jpg);
}

/* 簡易ユーティリティ（Bootstrap非依存） */
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.ms-4 { margin-left: 1.5rem; }
.small { font-size: 0.85em; }

/* 検査機器グリッド */
.exam-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 2em;
}

.exam-grid figure {
    margin: 0;
    text-align: center;
}

.exam-grid img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.exam-grid figcaption {
    font-size: 1.5rem;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .exam-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
.mb-0{
    margin-bottom: 0;
}

/* 相談用グリッド */
.medical-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 3em 0 5em;
}

.medical-case-item {
    background-color: #e2f4ff;
    padding: 2.5em 1em;
    border-radius: 100px; /* カプセル状の非常に丸い角 */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 10px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
}

@media (max-width: 767px) {
    .medical-case-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 2em 0 4em;
    }
    .medical-case-item {
        border-radius: 60px;
        min-height: 100px;
        padding: 1.5em 1em;
    }
}

/* 治療用グリッド */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 2em 0;
}

.treatment-box {
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 3em 2.5em;
    height: 100%;
}

.treatment-title {
    color: #036EB8;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    display: block;
}

@media (max-width: 767px) {
    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .treatment-box {
        padding: 2em 1.5em;
    }
    .treatment-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
}
.mb-5{
    margin-bottom: 1em;
}