/**
 * Contact Section
 * ExUnit の vk-blocks/contact-section の代替スタイル
 */

/* =============================================================================
   コンタクトセクション
   ============================================================================= */

.my-contact-section {
    background-color: #f5f5f5;
    padding: 30px 20px;
    text-align: center;
    border-radius: 4px;
}

.my-contact-section__inner {
    max-width: 600px;
    margin: 0 auto;
}

.my-contact-section__text {
    font-size: 16px;
    color: #333;
    margin: 0 0 15px;
    font-weight: 500;
}

.my-contact-section__tel {
    margin: 15px 0;
}

.my-contact-section__tel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #337ab7;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.2s;
}

.my-contact-section__tel-link:hover,
.my-contact-section__tel-link:focus {
    color: #23527c;
    text-decoration: none;
}

.my-contact-section__tel-link i {
    font-size: 32px;
}

.my-contact-section__tel-number {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.05em;
}

.my-contact-section__time {
    font-size: 13px;
    color: #666;
    margin: 10px 0 0;
}

/* =============================================================================
   レスポンシブ
   ============================================================================= */

@media (max-width: 767px) {
    .my-contact-section {
        padding: 20px 15px;
    }

    .my-contact-section__text {
        font-size: 14px;
    }

    .my-contact-section__tel-link {
        font-size: 24px;
    }

    .my-contact-section__tel-link i {
        font-size: 28px;
    }

    .my-contact-section__time {
        font-size: 12px;
    }
}

/* =============================================================================
   ウィジェット内で使用する場合
   ============================================================================= */

.widget .my-contact-section {
    margin: 0;
}

.footer-widget-area .my-contact-section {
    background-color: transparent;
    padding: 20px 0;
}

.footer-widget-area .my-contact-section__text {
    color: inherit;
}

.footer-widget-area .my-contact-section__tel-link {
    color: inherit;
}

.footer-widget-area .my-contact-section__time {
    color: inherit;
    opacity: 0.8;
}

/* =============================================================================
   カラーバリエーション
   ============================================================================= */

/* プライマリーカラーを使用 */
/*
.my-contact-section__tel-link {
    color: var(--vk-color-primary, #337ab7);
}

.my-contact-section__tel-link:hover,
.my-contact-section__tel-link:focus {
    color: var(--vk-color-primary-dark, #23527c);
}
*/

/* ダークバージョン */
/*
.my-contact-section.is-style-dark {
    background-color: #333;
    color: #fff;
}

.my-contact-section.is-style-dark .my-contact-section__text {
    color: #fff;
}

.my-contact-section.is-style-dark .my-contact-section__tel-link {
    color: #fff;
}

.my-contact-section.is-style-dark .my-contact-section__time {
    color: rgba(255, 255, 255, 0.7);
}
*/

/* =============================================================================
   アクセシビリティ
   ============================================================================= */

.my-contact-section__tel-link:focus {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.my-contact-section__tel-link:focus:not(:focus-visible) {
    outline: none;
}

.my-contact-section__tel-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
