@charset "utf-8";
.contact-item {
    text-align: center;
    margin-top: 10px;
    background-color: white;
    padding: 3px;
    border-radius: 8px;
}

.info-top {
    font-size: 14px;
    margin: 1px 0; /* 段の間隔を狭く */
    background-color: #C62A54; 
    color: white; /* テキストを白にして見やすく */
    padding: 2px 26px; /* 横の余白を狭く */
    display: inline-block;
}

.info-bottom {
    font-size: 14px;
    margin: 1px 0; /* 段の間隔を狭く */
}

.phone-info-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1px 0; /* 段の間隔を狭く */
}

.free-dial-icon-footer {
    width: 25px;
    height: auto;
    margin-right: 5px;
}

.phone-number-footer {
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 2px;
}

@media screen and (min-width: 737px) and (max-width: 1325px) {
    .contact-item{
        padding: 0px;
    }
    .info-top {
        font-size: 9px;
        margin: 0px;
        padding: 0px 24px;
    }
    .info-bottom {
        font-size: 10px;
        margin: 0px;
    }
    .phone-number-footer {
        font-size: 12px; /* タブレット用に電話番号のサイズを調整 */
        letter-spacing: 1.5px;
    }

    .free-dial-icon-footer {
        width: 15px; /* タブレット用にアイコンのサイズを調整 */
        height: auto;
    }
}