@charset "UTF-8";
/* =========================================================
   gx-footer.css
   採用サイト共通フッター（コーポレート準拠のダークデザイン）。
   PHPテンプレートは footer.php に同等スタイルを同梱。
   静的HTML(course-*, culture, future, message 等)はこのファイルを読み込む。
   ========================================================= */

.gx-footer {
    position: relative;
    background: #0d0d0d !important;
    color: #e6e6e6 !important;
    padding: 72px 6% 28px;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
}
/* 念のため：footer要素直下のgx-footerにも背景を確実に当てる */
footer > .gx-footer { background: #0d0d0d !important; }
.gx-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: space-between;
    align-items: flex-start;
}
.gx-footer__brand {
    max-width: 340px;
}
.gx-footer__brand img {
    width: 150px;
    height: auto;
    filter: brightness(0) invert(1);
}
.gx-footer__tagline {
    margin: 18px 0 0;
    font-size: 0.82rem;
    line-height: 1.9;
    color: #9a9a9a;
}
.gx-footer__cols {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
}
.gx-footer__col h4 {
    margin: 0 0 18px;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: #4f8ff7;
}
.gx-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gx-footer__col li {
    margin-bottom: 14px;
}
.gx-footer__col a {
    color: #e6e6e6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, opacity 0.2s ease;
}
.gx-footer__col a:hover {
    color: #ffffff;
    opacity: 0.85;
}
.gx-footer__bottom {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.gx-footer__copy {
    font-size: 0.72rem;
    color: #8a8a8a;
    letter-spacing: 0.02em;
}
.gx-footer__contact {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: none;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    padding-bottom: 5px;
    transition: opacity 0.2s ease;
}
.gx-footer__contact::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #4f8ff7;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
/* スクロールで画面に入ったら左→右に線が引かれる */
.gx-footer__contact.is-inview::after {
    transform: scaleX(1);
}
.gx-footer__contact:hover {
    opacity: 0.85;
}
.gx-footer__contact:hover::after {
    background: #6fa6ff;
}
.gx-footer__totop {
    position: absolute;
    right: 6%;
    bottom: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}
.gx-footer__totop:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.gx-footer__totop svg {
    width: 20px;
    height: 20px;
}
@media (max-width: 900px) {
    .gx-footer__inner {
        flex-direction: column;
        gap: 40px;
    }
    .gx-footer__cols {
        gap: 40px;
    }
}
@media (max-width: 560px) {
    .gx-footer {
        padding: 40px 7% 80px;
    }
    .gx-footer__cols {
        gap: 28px;
    }
    .gx-footer__col {
        min-width: 42%;
    }
    .gx-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .gx-footer__totop {
        bottom: 24px;
        right: 7%;
    }
}

/* 「トップへ戻る」ボタンは非表示 */
.gx-footer__totop {
    display: none;
}
