@charset "utf-8";

.pc-only {
    display: none;
}

.sp-only {
    display: block;
}

.footer {
    padding: 40px 2.6% 18px;
    background-color: #39332F;
    font-family: "Noto Serif JP", serif;
    color: #fff;
}

.footer__address-text {
    margin-top: 14px;
    font-style: normal;
    font-size: var(--font-sm);
}

.footer__address a {
    display: inline-block;
    margin-top: 6px;
    color: #fff;
}

.footer__title {
    font-size: var(--font-xl);
}

.footer__maps {
    margin-top: 24px;
}

.footer__map {
    width: 100%;
    height: 28vh;
}

.footer__access-info {
    margin-top: 10px;
    font-size: var(--font-sm);
}

.footer__copyright {
    margin-top: 40px;
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--font-xs);
    text-align: center;
}

/* ========================
   CTAセクション
======================== */
.cta {
    padding: 44px 10%;
    background-color: var(--primary-green);
    text-align: center;
    color: #fff;
}

.cta__container {
    max-width: 1200px;
    margin: 0 auto;
}

.cta__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.cta__title {
    font-size: var(--font-2xl);
    font-weight: 700;
}

.cta__subtitle {
    font-size: var(--font-md);
    font-weight: 700;
}

.cta__buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
}

.cta__buttons .btn {
    width: 100%;
    max-width: 340px;

}

.cta__buttons .btn:last-of-type {
    margin-top: var(--space-lg);
}

.btn-email {
    font-size: calc(var(--font-lg) - 2px);
}

.btn-phone {
    font-size: var(--font-xl);
}

@media screen and (min-width: 768px) {
    .sp-only {
        display: none;
    }

    .pc-only {
        display: block;
    }

    .footer__content {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 48px;
    }

    .footer__maps {
        margin-top: 0;
        max-width: 380px;
        width: 100%;
    }

    .cta__content {
        gap: var(--space-xs);
    }

    .cta__buttons {
        gap: var(--space-xl);
        flex-direction: row;
        justify-content: center;
        margin-top: var(--space-md);
        margin-bottom: 0;
    }

    .cta__buttons .btn {
        max-width: 280px;
    }

    .cta__buttons .btn:last-of-type {
        margin-top: 0;
    }

    .btn-email {
        font-size: 17px;
    }

    .btn-phone {
        font-size: var(--font-xl);
    }

    /* .cta {
        padding: 80px 2.6%;
    }

    .cta__title {
        font-size: var(--font-xxl);
    }

    .cta__buttons {
        flex-direction: row;
        gap: var(--space-lg);
    } */
}

/* PC: 1440px以上 */
@media screen and (min-width: 1440px) {
    .btn-email {
        font-size: 18px;
    }

    .btn-phone {
        font-size: 21px;
    }
}

/* フッターメニュー：シンプル縦並びスタイル（タイトル付き） */
.footer__menu {
    margin-bottom: 32px;
    border-bottom: 1px solid #555;
    padding-bottom: 16px;
}

.footer__navigation {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: left;
}

.footer__menu-section {
    margin-bottom: 0;
}

.footer__menu-title {
    font-size: var(--font-sm);
    font-weight: 700;
    margin-bottom: 8px;
    border-bottom: none;
    padding-bottom: 0;
}

.footer__menu-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__menu-list a {
    color: #fff;
    text-decoration: none;
    font-size: var(--font-xs);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer__menu-list a:hover {
    color: var(--primary-green);
}

.footer__legal {
    border-top: none;
    padding-top: 0;
    margin-top: 20px;
    text-align: left;
}

.footer__legal-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__legal-list a {
    color: #fff;
    text-decoration: none;
    font-size: var(--font-xs);
    transition: color 0.3s ease;
}

.footer__legal-list a:hover {
    color: var(--primary-green);
}

@media screen and (min-width: 768px) {
    .footer__container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
    }

    .footer__menu {
        margin-bottom: 40px;
    }

    .footer__navigation {
        display: grid;
        grid-template-columns: 2fr 2fr 1.5fr;
        gap: 40px;
        text-align: left;
    }

    .footer__menu-title {
        font-size: var(--font-md);
        margin-bottom: 16px;
        font-weight: 700;
    }

    .footer__menu-list {
        gap: 6px;
    }

    .footer__menu-list a {
        font-size: var(--font-sm);
        line-height: 1.6;
    }

    .footer__legal {
        grid-column: 1 / -1;
        margin-top: 32px;
        border-top: 1px solid #555;
        padding-top: 16px;
        text-align: center;
    }

    .footer__legal-list {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }

    .footer__legal-list a {
        font-size: var(--font-sm);
        font-weight: 500;
    }
}

@media screen and (min-width: 1440px) {

    .footer__container {
        padding-right: 0;
        padding-left: 0;
    }

    .footer__menu {
        margin-bottom: 40px;
    }

    .footer__navigation {
        gap: 48px;
    }

    .footer__legal {
        margin-top: 40px;
    }
}

/* ========================
   ページトップボタン
======================== */
#page-top {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#page-top.show {
    opacity: 1;
    visibility: visible;
}

.page-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-top-btn:hover {
    background-color: #2a7c3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-top-btn i {
    font-size: 18px;
    line-height: 1;
}

/* タブレット: 768px〜1439px */
@media screen and (min-width: 768px) {

    .page-top-btn {
        width: 60px;
        height: 60px;
    }

    .page-top-btn i {
        font-size: 20px;
    }
}

/* PC: 1440px以上 */
@media screen and (min-width: 1440px) {

    .page-top-btn {
        width: 70px;
        height: 70px;
    }

    .page-top-btn i {
        font-size: 22px;
    }
}