.floating-contact-section {
    display: block;
}

.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}


.floating-contact__button {
    text-decoration: none;
    padding: 25px 35px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.floating-contact__button--tel {
    background-color: white;
    color: #2B517C;
    border: 4px solid #2B517C;
}

.floating-contact__button--tel:hover {
    transform: scale(0.95); /* 少し小さくする */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 影を減らして押し込まれた感じを出す */
    color: #2B517C;
}

.floating-contact__button--line {
    background-color: #00B900;
    color: white;
}

.floating-contact__button--line:hover {
    transform: scale(0.95); /* 少し小さくする */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 影を減らして押し込まれた感じを出す */
   color: white;
}

.floating-contact__text {
    font-size: 17px;
}

.floating-contact__hours {
    font-size: 15px;
    opacity: 0.8;
    margin-left: 4px;
}

/* Font Awesome アイコンのスタイル */
.fab{
    font-size: 40px;
}

.fas{
    font-size: 25px;
}


/* スマホ用の横並びバー */
.floating-contact-bar-section {
    display: none; /* 初期状態では非表示 */
}

.floating-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background-color: #ffffff;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #ddd;
    z-index: 1000;
}

.floating-contact-bar__button {
    text-decoration: none;
    color: inherit;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    gap: 5px;
    -webkit-tap-highlight-color: transparent; /* タップハイライトを無効化 */
    -webkit-user-select: none; /* 選択を無効化 */
    user-select: none; /* 他のブラウザ用 */
}

.floating-contact-bar__button--line:hover {
    color: #00A300; 
}

.floating-contact-bar__button--line:active {
    color: #00B900; 
}

.floating-contact-bar__button--tel:hover {
    color: #4A6995; 
}

.floating-contact-bar__button--tel:active {
    color: #2B517C; 
}

/* アイコン */
.floating-contact-bar__button i {
    font-size: 20px;
}

/* ボタンごとのスタイル */
.floating-contact-bar__button--tel {
    color: #2B517C;
}

.floating-contact-bar__button--line {
    color: #00B900;
}


@media screen and (max-width: 768px) {
    .floating-contact-section {
        display: none; /* 縦並びのボタンを非表示 */
    }

    .floating-contact-bar-section {
        display: block; /* 横並びバーを表示 */
    }

}