/**
 * Common Footer Styles
 * 共通フッター用スタイル
 *
 * @package Cocoon Child
 */

/* ========================================
   CONTACT SECTION
   ======================================== */
.common-contact {
    position: relative;
    overflow: hidden;
    margin-top: 300px;
}

.common-contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/contact-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.common-contact-box {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 60px;
}

.common-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.common-contact-content {
    flex: 1;
    max-width: 400px;
}

.common-contact-title {
    font-size: 32px;
    font-weight: 500;
    color: var(--base-3);
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.common-contact-title span {
    font-size: 16px;
    font-weight: 400;
    color: var(--accent-1);
    letter-spacing: 0.1em;
}

.common-contact-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--base-3) 0%, transparent 100%);
    margin-top: 20px;
}

.common-contact-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
    color: var(--base-3);
    margin-top: 20px;
}

.common-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 35px;
    background: var(--accent-1);
    color: var(--base-2);
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 25px;
}

.common-contact-btn:hover {
    background: #8a7236;
}

.common-contact-btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--base-2);
}

.common-contact-image {
    width: 100%;
    max-width: 380px;
    border-radius: 8px;
    overflow: hidden;
}

.common-contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   CTA BANNERS
   ======================================== */
.common-cta-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.common-cta-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    padding: 25px 40px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.common-cta-banner-recruit {
    background: var(--accent-1);
    color: var(--base-2);
}

.common-cta-banner-recruit:hover {
    background: #8a7236;
}

.common-cta-banner-franchise {
    background: var(--base-3);
    color: var(--base-2);
}

.common-cta-banner-franchise:hover {
    background: #35291f;
}

.common-cta-label {
    font-size: 13px;
    opacity: 0.9;
}

.common-cta-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-top: 5px;
}

/* ========================================
   FOOTER
   ======================================== */
.common-footer {
    /* bg-base-3 is #42372F */
}

/* お問い合わせセクションがない場合のフッター上部余白 */
.common-contact + .common-footer {
    margin-top: 0;
}

.common-footer:first-child,
main + .common-footer {
    margin-top: 300px;
}

/* メインレイアウト */
.common-footer-main {
    display: flex;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 左側: ロゴ & SNS */
.common-footer-left {
    flex-shrink: 0;
}

.common-footer-logo img {
    display: block;
    width: 200px;
    height: 171px;
}

.common-footer-sns {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.common-footer-sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--base-2);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.common-footer-sns-link:hover {
    opacity: 1;
}

/* 右側: ナビ & 店舗 */
.common-footer-right {
    flex: 1;
}

/* ナビゲーション */
.common-footer-nav {
    margin-bottom: 40px;
}

.common-footer-nav-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.common-footer-nav-list a {
    font-size: 14px;
    color: var(--base-2);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.common-footer-nav-list a:hover {
    opacity: 1;
}

/* 店舗リスト */
.common-footer-shops {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px 40px;
}

.common-footer-area {
    min-width: 0;
}

.common-footer-area-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--base-2);
    margin: 0 0 10px;
}

.common-footer-area-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.common-footer-area-list li {
    margin-top: 5px;
}

.common-footer-area-list a {
    font-size: 13px;
    color: var(--base-2);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.common-footer-area-list a:hover {
    opacity: 1;
}

/* Copyright */
.common-footer-copyright {
    margin-top: 50px;
    text-align: center;
}

.common-footer-copyright p {
    font-size: 12px;
    color: var(--base-2);
    opacity: 0.7;
    margin: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .common-contact {
        margin-top: 150px;
    }

    .common-footer:first-child,
    main + .common-footer {
        margin-top: 150px;
    }

    .common-contact-box {
        padding: 40px 25px;
    }

    .common-contact-inner {
        flex-direction: column;
        gap: 30px;
    }

    .common-contact-content {
        max-width: 100%;
        text-align: center;
    }

    .common-contact-title {
        justify-content: center;
        font-size: 26px;
    }

    .common-contact-line {
        background: linear-gradient(90deg, transparent 0%, var(--base-3) 50%, transparent 100%);
    }

    .common-contact-image {
        max-width: 100%;
    }

    .common-contact-btn {
        width: 100%;
        justify-content: center;
    }

    .common-cta-grid {
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
    }

    .common-cta-banner {
        max-width: 100%;
    }

    .common-cta-title {
        font-size: 16px;
    }

    /* フッターメインレイアウト */
    .common-footer-main {
        flex-direction: column;
        gap: 40px;
    }

    .common-footer-left {
        text-align: center;
    }

    .common-footer-logo img {
        margin: 0 auto;
    }

    .common-footer-sns {
        justify-content: center;
    }

    .common-footer-nav-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 20px;
        text-align: center;
    }

    .common-footer-shops {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 20px;
    }

    .common-footer-area {
        text-align: center;
    }
}
