/* ============================================================
 *  KT CLINIC — Phase 2C-α Footer CSS
 *  共通フッターを A案+C案配色で実装
 *
 *  Phase 2C-α / 2026-05-25
 *  - 既存 components.css の footer ルールはほぼ未実装だったので、ほぼゼロから設計
 *  - 配色C案を適用、ダークなフッターでサイトを締める
 *  - 3軸ナビ＋クリニック案内＋連絡先＋コピーライトの4ブロック構造
 * ============================================================ */

.footer {
    background: #1A1F2E;
    color: rgba(255, 255, 255, 0.85);
    padding: 80px 0 0;
    font-family: 'Noto Sans JP', sans-serif;
}
.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 64px;
}

/* ============================================================
 *  Main: 4カラムグリッド（ロゴ＋クリニック情報 / 婦人科 / 皮膚科 / 形成・美容 / クリニック案内）
 * ============================================================ */
.footer-main {
    display: grid;
    grid-template-columns: 1.3fr repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

/* 4カラムから5カラム（info含む）に変更したので、infoが1セル分。
   実際は最初の info が1.3、その後のnav-colが4つで計5列のグリッド */

/* ロゴ＋クリニック情報 */
.footer-info {
    /* 1列目 */
}
.footer-logo {
    margin-bottom: 20px;
}
.footer-logo img {
    width: 140px;
    height: auto;
    filter: brightness(0) invert(1);  /* ロゴSVGを白に */
}
.footer-tag {
    font-size: 13px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 24px;
    letter-spacing: 0.05em;
}
.footer-clinic-info {
    font-size: 11px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
}
.footer-address {
    margin: 0 0 12px;
}
.footer-meta {
    margin: 4px 0;
}
.footer-meta strong {
    display: inline-block;
    min-width: 70px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ============================================================
 *  Footer Nav（4列：婦人科 / 皮膚科 / 形成・美容 / クリニック案内）
 * ============================================================ */
.footer-nav {
    /* footer-main の中で grid-column 2/-1 を使って残り全てを占める */
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.footer-nav-col {
    /* 1列ずつ */
}
.footer-nav-title {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #C9A96E;  /* デフォルトはゴールド */
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 0.5px solid rgba(201, 169, 110, 0.3);
}
.footer-nav-col--gyn  .footer-nav-title {
    color: #E08AA0;
    border-bottom-color: rgba(224, 138, 160, 0.4);
}
.footer-nav-col--derm .footer-nav-title {
    color: #7DC9A8;
    border-bottom-color: rgba(125, 201, 168, 0.4);
}
.footer-nav-col--cos  .footer-nav-title {
    color: #C9A96E;
    border-bottom-color: rgba(201, 169, 110, 0.4);
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav-list li {
    margin: 0;
}
.footer-nav-list a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 0;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s, padding-left 0.2s;
    line-height: 1.6;
}
.footer-nav-list a:hover {
    color: #fff;
    padding-left: 6px;
}

/* ============================================================
 *  Footer Contact（電話＋WEB予約＋SNS）
 * ============================================================ */
.footer-contact {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}
.footer-tel a {
    display: block;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}
.footer-tel a:hover { opacity: 0.85; }
.footer-tel-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.15em;
    margin-bottom: 4px;
}
.footer-tel-number {
    display: block;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #fff;
}

.footer-reserve {
    margin-left: auto;
}
.footer-reserve-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #C9A96E;
    color: #1A1F2E;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    border-radius: 2px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.footer-reserve-btn:hover {
    opacity: 0.88;
}

.footer-sns a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.2s;
}
.footer-sns a:hover {
    border-color: #C9A96E;
    color: #C9A96E;
}

/* ============================================================
 *  Footer Bottom（コピーライト）
 * ============================================================ */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}
.copyright {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    margin: 0;
}
.footer-bottom-location {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.15em;
    margin: 0;
}

/* ============================================================
 *  Responsive — Tablet
 * ============================================================ */
@media (max-width: 1024px) {
    .footer-inner { padding: 0 40px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-info { grid-column: 1 / -1; }
    .footer-nav { grid-column: 1 / -1; }
}

/* ============================================================
 *  Responsive — Mobile
 * ============================================================ */
@media (max-width: 768px) {
    .footer { padding: 56px 0 0; }
    .footer-inner { padding: 0 24px; }

    .footer-main { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
    .footer-info { grid-column: auto; }
    .footer-nav { grid-column: auto; grid-template-columns: 1fr 1fr; gap: 24px; }

    .footer-tel-number { font-size: 18px; }

    .footer-contact {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 24px 0;
        text-align: center;
    }
    .footer-reserve { margin-left: 0; }
    .footer-reserve-btn { display: block; width: 100%; }
    .footer-sns { text-align: center; }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 20px 0;
    }
}
