@charset "UTF-8";

/* ==========================================
   1. フッター基本設定
   ========================================== */
.site-footer {
    background-color: #303967;
    color: #ffffff;
    padding: 60px 0 0;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   2. フッターナビ装飾
   ========================================== */
.footer-nav {
    margin-bottom: 40px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-nav li {
    display: flex;
    align-items: center;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

/* ホバー時の色（サブカラーの黄色） */
.footer-nav a:hover {
    color: #ffe200;
}

/* --- PC表示の設定 (768px以上) --- */
@media screen and (min-width: 768px) {
    /* PCでは矢印を非表示 */
    .footer-nav a::before {
        display: none;
    }

    /* 項目間の区切り線（縦棒） */
    .footer-nav li:not(:last-child)::after {
        content: "";
        display: block;
        width: 1px;
        height: 14px;
        background-color: rgba(255, 255, 255, 0.3);
        margin: 0 20px;
    }
}

/* --- スマホ表示の設定 (767px以下) --- */
@media screen and (max-width: 767px) {
    .footer-nav ul {
        flex-direction: column;
        align-items: flex-start; /* 左寄せ */
        max-width: 200px;        /* 中央付近で左揃えにするための幅 */
        margin: 0 auto;
    }

    .footer-nav li {
        width: 100%;
        margin-bottom: 15px;
    }

    /* 矢印を文字の左側に固定（文字数でズレない設定） */
    .footer-nav a::before {
        content: "〉";
        font-size: 0.8rem;
        width: 20px;       /* 矢印の幅を固定して縦を揃える */
        flex-shrink: 0;    /* 矢印が潰れないように固定 */
        display: inline-block;
        color: #ffe200;
    }

    .footer-nav a {
        font-size: 1rem;
        text-align: left;
    }
}

/* ==========================================
   3. コピーライト
   ========================================== */
.copyright {
    background-color: #000;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.copyright p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   4. トップへ戻るボタン (右下)
   ========================================== */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background-color: #303967;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.back-to-top.is-show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #000;
}

/* ==========================================
   5. 体験申込トグル (左下)
   ========================================== */
.trial-toggle-wrap {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1001;
}

/* メインボタン：ぬるっと動く設定を完全復旧 */
.trial-main-btn {
    width: 65px;
    height: 65px;
    background-color: #ffe200; /* デフォルト：黄色 */
    color: #303967;            /* デフォルト：紺色 */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease; /* アニメーションの要 */
}

.trial-main-btn i { font-size: 1.4rem; }
.trial-main-btn span { font-size: 10px; font-weight: bold; margin-top: 2px; }

/* 開いたときの色の変化 */
.trial-toggle-wrap.is-open .trial-main-btn {
    background-color: #000;
    color: #ffe200;
}

/* サブメニュー（展開されるボタン） */
.trial-sub-menu {
    position: absolute;
    bottom: 80px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.trial-toggle-wrap.is-open .trial-sub-menu {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.trial-btn {
    white-space: nowrap;
    width: 180px;
    padding: 14px;
    border-radius: 30px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: block;
}

.trial-track { background-color: #303967; color: #fff; border: 1px solid #ffe200; }
.trial-gym { background-color: #ffe200; color: #303967; }