/* 既存のCSSの一部を修正および追加 */
.image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    max-width: 300px; /* 画像の最大幅を設定 */
    max-height: 300px; /* 画像の最大高さを設定 */
}

@media screen and (max-width: 768px) {
    .col-md-8, .col-md-4 {
        width: 50%;
        text-align: center;
    }
    
    .image img {
        margin-top: 20px;
        max-width: 50%; /* スマホやタブレットでは親要素の幅に合わせて縮小 */
        max-height: none;
    }
}

.body {
    overflow-x: hidden;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
}

.container {
    background-color: #fff;
}

.row.titleblock {
    background-color: #bcd6ef;
}

p {
    line-height: 1.75;
}

b, strong {
    font-size: 1.3em;
}

.fdb-block {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
    padding: 30px 0;
    background-color: #bcd6ef;
}

.fdb-block .text-h1, .fdb-block h1 {
    font-size: 2.6em;
    margin-bottom: .5em;
    margin-top: .3em;
    font-weight: 600;
    color: #000000;
}

.fdb-block h2 {
    font-size: 2rem;
    margin-bottom: .5em;
    margin-top: .3em;
    font-weight: 400;
    text-align: left;
    line-height: 1.5em;
}

.fdb-block .text-h3.taleft {
    width: 100%;
    line-height: 2.0em;
    text-align: left;
}

.fdb-block .text-h3.taleft strong {
    width: 100%;
    line-height: 1.2em;
    text-align: left;
    font-size: 1.0em;
}

.fdb-block .text-h3 img {
    width: 100%;
    height: auto;
}

.fdb-block .text-h3-cont {
    width: 97%;
    line-height: 2.0em;
    padding: 10px;
}

img.mt-5 {
    margin-top: 1rem!important;
}

.bg-dark {
    /* background-color: #868e96; */
    background-color: #e2f2f9b3!important;
    color: #000;
}

.bg-dark02 {
    /* background-color: #868e96; */
    background-color: #fff!important;
}

.fdb-block h1.sec-title {
    font-size: 1.8rem;
    margin-bottom: .5em;
    margin-top: .3em;
    font-weight: 600;
    color: #fff;
    padding: 20px;
    text-align: center;
    background-color: #5b9ad8;
}

.fdb-block .fdb-box-01 {
    background: #ffe2df;
    color: #444;
    padding: 20px 40px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    overflow: hidden;
    background-color: #gd;
}

.fdb-block .fdb-box-02 {
    background: #d8f7ad;
    color: #444;
    padding: 20px 40px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    overflow: hidden;
    background-color: #gd;
}

.fdb-block .fdb-box-03 {
    background: #d8f7ad;
    color: #444;
    padding: 20px 40px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    overflow: hidden;
    background-color: #gd;
}

.fdb-block .fdb-box-03.fff {
    background: #fff;
    color: #444;
    padding: 20px 40px;
    overflow: hidden;
    box-shadow: none;
    margin-top: 2px;
}

img { width: 100%; }

.fdb-block .fdb-box-03.fff img {
    width: 100%;
}

.asterisk { font-size: 70%; }

.fdb-block .text-h2 {
    font-size: 1.6em;
    text-align: left;
    font-weight: 600;
}

strong.bg-color {
    background-color: #fffabc;
    color: #000000;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 2px 10px;
}

.attention {
    color: #01a9dd;
    font-weight: bold;
    font-size: 1em;
    margin: 0 auto;
    border: solid 2px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.fdb-block .text-h2.attention {
    font-size: 1.4rem;
    margin-bottom: .5em;
    margin-top: 1.3em;
    font-weight: 400;
    text-align: left;
    line-height: 2em;
    color: #ff0000;
}

p.text-h3.read {
    background: #fff;
    padding: 10px;
    font-weight: 600;
    font-size: 1.1em;
}

p.text-h3.daytime {
    background: #fff;
    padding: 10px;
    font-weight: 600;
    font-size: 1.2em;
}

@media screen and (max-width: 480px) {
    .fdb-block {
        padding-top: 0;
        padding-bottom: 0;
    }

    .fdb-block h1 {
        font-size: 1.2em;
    }

    .fdb-block .text-h2 {
        font-size: 1.0em;
    }

    .fdb-block .text-h2.attention {
        font-size: 1rem;
        margin-bottom: .5em;
        margin-top: 0;
        font-weight: 400;
        text-align: left;
        line-height: 2em;
        color: #ff0000;
    }

    b, strong {
        font-size: 1.2em;
    }

    .fdb-block h2 {
        font-size: 1.0em;
        margin-bottom: .5em;
        margin-top: .3em;
        font-weight: 400;
        text-align: left;
    }

    .fdb-block h1.sec-title {
        font-size: 1.2rem;
        margin-bottom: .5em;
        margin-top: .3em;
        font-weight: 600;
        color: #fff;
        padding: 5px;
        background-color: #5b9ad8;
    }

    .fdb-block .fdb-box-01, .fdb-block .fdb-box-02 {
        padding: 20px 40px;
    }

    .fdb-block .text-h3-cont {
        width: 91%;
        line-height: 1.8em;
        font-size: 0.9em;
        padding-top: 20px;
    }

    .fdb-block .text-h3 { width: 100%; font-size: 1.0em; text-align: left; }

    p.text-h3.read {
        line-height: 2.1em;
    }

    .fdb-block .fdb-box-03.fff {
        background: #fff;
        color: #444;
        padding: 20px 40px 0 40px;
        overflow: hidden;
        box-shadow: none;
        margin-top: 2px;
    }

    strong.bg-color {
        background-color: #fffabc;
        color: #000000;
        font-weight: bold;
        font-size: 1.1rem;
        padding: 2px 10px;
    }

    p.text-h3.daytime {
        background: #fff;
        padding: 10px;
        font-weight: 600;
        font-size: 1em;
    }
}

ul { padding-inline-start: 30px; }

.text-h3.teltxt {
    color: #01a9dd;
    font-size: 1.5em;
    font-weight: 600;
}

.text-h3.tel {
    color: #ff615c;
    font-size: 1.6em;
    font-weight: 600;
}

.text-h3.tel a {
    color: #ff615c;
    font-size: 1.6em;
}

@media screen and (max-width: 480px) {
    .text-h3.tel {
        color: #ff615c;
        font-size: 1.4em;
        font-weight: 600;
    }

    .text-h3.tel a {
        color: #ff615c;
        font-size: 1.4em;
    }

    .text-h3.teltxt {
        color: #01a9dd;
        font-size: 1em;
    }
}

@media screen and (min-width: 480px) {
    .text-h3.tel br {
        display: none;
    }

    ul { padding-inline-start: 20px; }
}

.text-h3 img.cicon {
    width: 24px;
    height: auto;
    padding-bottom: 3px;
}

p.text-h3.read.attention {
    line-height: 1.5em;
    color: #000;
    font-weight: 100;
    border: solid 0;
    margin: 5px;
    font-size: 1rem;
    letter-spacing: -0.1rem;
}
