@charset "UTF-8";

/*-----------------------------------
　フッター
-----------------------------------*/

/* フッター全体のレイアウト */
.footer-custom {
    background-color: #f8f9fa;
    padding: 60px 0 20px;
    border-top: 1px solid #eee;
    clear: both;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
}

/* 左側：ブランド */
.brand-col {
    text-align: center;
}

.f-logo {
    max-width: 80px;
    height: auto;
    margin-bottom: 5px;
}

.f-site-name {
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: #666;
}

/* ボタン本体に基準点を設定し、左側に余白を作る */
.f-contact-btn {
    position: relative;
    padding-left: 35px !important;
    display: inline-block;
    background-color: #263a43;
    color: #fff !important;
    padding: 10px 25px 10px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: 0.3s;
}

/* 疑似要素で「>」を作成 */
.f-contact-btn::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 3px solid #FFB36B;
    border-right: 3px solid #FFB36B;
    transform: translateY(-50%) rotate(45deg);
}

.f-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* タイトルとリンク */
.f-heading {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    position: relative;
}

.f-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: #333;
}

.f-links {
    list-style: none !important;
    padding: 0 !important;
}

.f-links li {
    margin-bottom: 10px;
}

.f-links a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.8rem;
    color: #999;
}

.footer-contents {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =======================================
   📱 スマホ対応（横並びレイアウトに変更）
======================================= */
@media (max-width: 768px) {
    /* 親である .footer-custom を繋げて、自然に優先度を上げて上書き */
    .footer-custom .footer-container {
        flex-direction: row; 
        flex-wrap: wrap;     
        justify-content: space-between;
        gap: 0;
    }
    
    /* 1列目：ロゴとボタン（上段で100%幅） */
    .footer-custom .footer-container .brand-col {
        width: 100%;
		flex: none;
        margin-bottom: 30px; 
    }

    /* 2列目＆3列目：メニューとインフォメーション（下段で48%幅） */
    .footer-custom .footer-container .footer-col:not(.brand-col) {
        width: 48%; 
		flex: none;
        text-align: left; 
    }
}