@charset "UTF-8";

/* ========================================
   ABC Dental 共通フッター CSS
   ======================================== */

/* ----------------------------------------
   リンクの下線削除
   ---------------------------------------- */
/* !important はテーマスタイル上書きのため必要 */
.abc-footer-cta a,
.abc-footer a {
    text-decoration: none !important;
}


/* ----------------------------------------
   全幅表示（コンテナ突破）
   iOS Safari 100vw問題対策版
   ---------------------------------------- */
.abc-footer-cta,
.abc-footer {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    overflow-x: hidden;
}


/* ----------------------------------------
   CTA セクション（初診相談のご予約）
   ---------------------------------------- */
.abc-footer-cta {
    background: linear-gradient(135deg, #002b55 0%, #001a33 100%);
    padding: 80px 20px;
    text-align: center;
}

.abc-footer-cta__inner {
    max-width: 800px;
    margin: 0 auto;
}

.abc-footer-cta h2 {
    font-family: "adobe-garamond-pro", serif;
    font-size: clamp(24px, 4vw, 32px);
    color: #e6dcc5;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.abc-footer-cta h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: #e6dcc5;
    margin: 16px auto 0;
}

.abc-footer-cta p {
    color: #cce5ff;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 32px;
}

.abc-footer-cta__btn {
    display: inline-block;
    background: linear-gradient(135deg, #c5a059 0%, #bfa879 100%);
    color: #ffffff;
    padding: 18px 48px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.abc-footer-cta__btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.abc-footer-cta__btn:hover {
    background: linear-gradient(135deg, #d4af67 0%, #c4ac7a 100%);
    transform: translateY(-2px);
}

.abc-footer-cta__btn:hover::before {
    left: 100%;
}

.abc-footer-cta__badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 32px;
    font-size: 13px;
    color: #99c2e6;
}

.abc-footer-cta__badges>div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.abc-footer-cta__badges span:first-child {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #c5a059;
    border-radius: 50%;
}

/* ----------------------------------------
   フッター本体
   ---------------------------------------- */
.abc-footer {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 60px 20px 40px;
}

.abc-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* 上部：医院情報 */
.abc-footer__top {
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.abc-footer__info {
    text-align: center;
}

.abc-footer__logo {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.abc-footer__tagline {
    font-size: 14px;
    color: #c5a059;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 0.15em;
}

.abc-footer__address {
    font-size: 15px;
    color: #999;
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 16px;
}

.abc-footer__access {
    font-size: 14px;
    color: #c5a059;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.abc-footer__access::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #c5a059;
    border-radius: 50%;
}

/* Google Map & 電話 */
.abc-footer__contact {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 28px;
}

.abc-footer__contact a {
    font-size: 14px;
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: 0.05em;
}

.abc-footer__contact a:hover {
    color: #c5a059;
}

/* 注記 */
.abc-footer__note {
    font-size: 12px;
    color: #666;
    margin-bottom: 24px;
    letter-spacing: 0.08em;
    line-height: 1.6;
}

.abc-footer__note a {
    color: #c5a059;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    transition: border-color 0.3s;
}

.abc-footer__note a:hover {
    border-bottom-color: #c5a059;
}

/* SNS */
.abc-footer__sns {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.abc-footer__sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #333;
    border-radius: 50%;
    transition: background 0.3s;
}

.abc-footer__sns a:hover {
    background: #c5a059;
}

.abc-footer__sns svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* ----------------------------------------
   関連リンク（ポリシー系4つ）
   ---------------------------------------- */
.abc-footer__links {
    padding: 40px 0;
    border-bottom: 1px solid #333;
}

.abc-footer__links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.abc-footer__link-item {
    text-align: center;
}

.abc-footer__link-item a {
    display: block;
    padding: 20px 16px;
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.05em;
    border: 1px solid #333;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.abc-footer__link-item a:hover {
    color: #fff;
    border-color: #c5a059;
    background: rgba(197, 160, 89, 0.1);
}

.abc-footer__link-item a span {
    display: block;
    font-size: 11px;
    color: #666;
    margin-top: 6px;
    line-height: 1.5;
}

/* ----------------------------------------
   下部：コピーライト
   ---------------------------------------- */
.abc-footer__bottom {
    padding-top: 32px;
    text-align: center;
}

.abc-footer__copy {
    font-size: 12px;
    color: #555;
    letter-spacing: 0.05em;
}

/* ----------------------------------------
   レスポンシブ
   ---------------------------------------- */
@media (max-width: 768px) {
    .abc-footer-cta {
        padding: 60px 20px;
    }

    .abc-footer-cta h2 {
        font-size: 22px;
    }

    .abc-footer-cta p br {
        display: none;
    }

    .abc-footer__links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .abc-footer__contact {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .abc-footer__links-grid {
        grid-template-columns: 1fr;
    }

    .abc-footer-cta__badges {
        flex-direction: column;
        gap: 12px;
    }
}