/* =============================================
   フッターV2：3カラムグリッドレイアウト
   画像仕様に準拠・明るい背景
   ============================================= */

.footerV2 {
    background: #e0e7f1;
    color: #1e293b;
    padding: 56px 0 0;
}

.footerV2__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 40px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

/* =============================================
   共通：見出し
   ============================================= */

.footerV2__title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(30, 41, 59, 0.85);
    margin-bottom: 16px;
    text-transform: none;
}

/* =============================================
   左カラム：ブランド情報
   ============================================= */

.footerV2__brand {
    display: flex;
    flex-direction: column;
}

.footerV2__brandHead {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.footerV2__logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(59, 130, 246, 0.2);
    color: rgba(37, 99, 235, 0.95);
    font-size: 20px;
    flex-shrink: 0;
}

.footerV2__brandText {
    flex: 1;
}

.footerV2__brandTitle {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.footerV2__brandSub {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(30, 41, 59, 0.7);
    letter-spacing: 0.01em;
}

/* =============================================
   中央カラム：リンク
   ============================================= */

.footerV2__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 11px;
}

.footerV2__list a {
    text-decoration: none;
    color: rgba(30, 41, 59, 0.7);
    font-size: 14px;
    transition: color 0.2s ease;
    display: inline-block;
}

.footerV2__list a:hover {
    color: rgba(37, 99, 235, 0.95);
}

/* =============================================
   右カラム：会社情報
   ============================================= */

.footerV2__company {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footerV2__companyLogo {
    margin: 4px 0 8px;
}

.footerV2__companyLogoBox {
    width: 180px;
    height: 72px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(30, 41, 59, 0.15);
    color: rgba(30, 41, 59, 0.4);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.05em;
    padding: 12px;
}

.footerV2__companyLogoImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* 新しいシンプルなロゴスタイル（枠・影・背景なし） */
.company-logo {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 16px 0 12px 0;
}

.company-logo img {
    display: block;
    max-width: 160px;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: none;
}

.footerV2__companyName {
    font-size: 15px;
    font-weight: 700;
    color: rgba(30, 41, 59, 0.9);
    margin-bottom: 6px;
}

.footerV2__meta {
    display: grid;
    gap: 14px;
}

.footerV2__metaRow {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footerV2__metaLabel {
    font-size: 12px;
    font-weight: 700;
    color: rgba(30, 41, 59, 0.6);
    width: 40px;
    flex-shrink: 0;
    text-align: left;
}

.footerV2__metaValue {
    font-size: 13px;
    color: rgba(30, 41, 59, 0.75);
    text-decoration: none;
    line-height: 1.6;
    flex: 1;
}

.footerV2__metaValue:hover {
    color: rgba(37, 99, 235, 0.95);
}

/* コーポレートサイトURL専用スタイル */
.footerV2__url {
    color: #1f6fe5;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footerV2__url:hover {
    color: #1558b0;
    text-decoration: underline;
}

a.footerV2__metaValue {
    transition: color 0.2s ease;
}

/* =============================================
   フッター下部：コピーライト
   ============================================= */

.footerV2__bottom {
    border-top: 1px solid rgba(30, 41, 59, 0.15);
    padding: 20px 0 24px;
    text-align: center;
    color: rgba(30, 41, 59, 0.6);
    background: rgba(255, 255, 255, 0.3);
}

.footerV2__bottom small {
    font-size: 13px;
    letter-spacing: 0.01em;
}

/* =============================================
   レスポンシブ：タブレット・モバイル
   ============================================= */

@media (max-width: 980px) {
    .footerV2__inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 32px;
    }

    .footerV2 {
        padding: 48px 0 0;
    }

    .footerV2__companyLogoBox {
        width: 200px;
        height: 80px;
    }
    
    .footerV2__companyLogoImage {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .company-logo img {
        max-width: 180px;
    }
}

@media (max-width: 600px) {
    .footerV2 {
        padding: 40px 0 0;
    }

    .footerV2__inner {
        padding: 0 20px 28px;
        gap: 28px;
    }

    .footerV2__logo {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .footerV2__brandTitle {
        font-size: 16px;
    }

    .footerV2__brandSub {
        font-size: 12px;
    }

    .footerV2__title {
        font-size: 13px;
    }

    .footerV2__list a {
        font-size: 13px;
    }

    .footerV2__companyLogoBox {
        width: 160px;
        height: 64px;
        font-size: 12px;
    }
    
    .footerV2__companyLogoImage {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .company-logo img {
        max-width: 120px;
    }

    .footerV2__companyName {
        font-size: 14px;
    }

    .footerV2__metaLabel {
        font-size: 11px;
        width: 36px;
    }

    .footerV2__metaValue {
        font-size: 12px;
    }

    .footerV2__bottom {
        padding: 18px 0 20px;
    }

    .footerV2__bottom small {
        font-size: 12px;
    }
}

/* =============================================
   旧フッタースタイルの非表示（互換性）
   ============================================= */

.footer {
    display: none;
}
