@charset "UTF-8";

/* ===================================================
   基本設定（リセットCSS含む）
   =================================================== */

html {
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
    box-sizing: border-box;
}

body {
    line-height: 1.5;
    word-break: break-all;
    background-color: #e6e6e6;
    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 0.1em;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ===================================================
   全体レイアウト
   =================================================== */

.wrapper {
    max-width: 100%;
}

.main {
    max-width: 750px;
    margin: 0 auto;
    background-color: #EDEFF0;
}

/* ===================================================
   コンテンツセクション
   =================================================== */

.fv {
    position: relative;
}

/* CTAボタン（画像内のボタン）の共通設定 */
.cta-common {
    width: 90%;
    max-width: 700px;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}
.cta-0 {
    bottom: 2%;
}
.cta-1 {
    bottom: 4%;
}
.cta-2 {
    bottom: 7%;
}
.cta-4 {
    bottom: 3%;
}

/* ===================================================
   【追加】カルーセル関連スタイル
   =================================================== */

/* 講師紹介・受講生の声 共通セクション設定 */
.instructor-section,
.testimonial-section {
    padding: 30px 0 60px 0;
    background: white;
    overflow: hidden;
}

.instructor-section .fv,
.testimonial-section .fv {
    text-align: center;
}

.instructor-section .img_fv,
.testimonial-section .img_fv {
    display: inline-block;
    max-width: 100%;
}

/* カルーセルコンテナ 共通設定 */
.carousel-container,
.testimonial-carousel-container {
    position: relative;
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
}

.carousel-container::-webkit-scrollbar,
.testimonial-carousel-container::-webkit-scrollbar {
    display: none;
}

/* カルーセル軌道 共通設定 */
.carousel-track,
.testimonial-carousel-track {
    display: flex;
    gap: 20px;
    cursor: grab;
    user-select: none;
    width: max-content;
}

.carousel-track:active,
.testimonial-carousel-track:active {
    cursor: grabbing;
}

.carousel-track:hover,
.testimonial-carousel-track:hover {
    animation-play-state: paused;
}

/* 講師紹介カルーセル */
.carousel-track {
    animation: infiniteScroll 15s linear infinite;
}

@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.instructor-card {
    flex: 0 0 200px;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.instructor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.instructor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 受講生の声カルーセル */
.testimonial-carousel-track {
    animation: infiniteScrollTestimonial 18s linear infinite;
}

@keyframes infiniteScrollTestimonial {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    flex: 0 0 240px;
    height: 320px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ===================================================
   フッター
   =================================================== */

.footer {
    background: #444557;
    color: #ffffff;
}

.footer .inner {
    max-width: 958px;
    width: 100%;
    margin: 0 auto;
    padding: 55px 20px 50px;
    text-align: left;
}

.footer .logo_item {
    display: flex;
    align-items: center;
    column-gap: 30px;
}

.footer .logo_item .l01 {
    max-width: 163px;
}

.footer p {
    margin-top: 25px;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.footer ul {
    display: flex;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer ul li {
    font-size: 1.6rem;
    font-weight: 200;
    line-height: 1.1;
}

.footer ul li a {
    display: block;
    color: #ffffff;
}

.footer ul li + li {
    margin-left: 38px;
    position: relative;
}

.footer ul li + li::after {
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    left: -19px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
}

/* ===================================================
   フローティングボタン
   =================================================== */

.floating-button-image {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    width: 90%;
    max-width: 700px;
    cursor: pointer;
    text-align: center;
}

.floating-button-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.floating-button-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.floating-button-image:active img {
    transform: scale(0.98);
}


/* ===================================================
   レスポンシブ設定 (768px以下のスクリーン)
   =================================================== */

@media screen and (max-width: 768px) {
    body {
        letter-spacing: normal;
    }

    /* --- フッター --- */
    .footer .inner {
        padding: 20px 25px;
    }
    .footer .logo_item {
        column-gap: 15px;
    }
    .footer .logo_item .l01 {
        max-width: 81.5px;
    }
    .footer p {
        margin-top: 12px;
        font-size: 1.2rem;
        letter-spacing: 0.04em;
    }
    .footer ul {
        margin-top: 6px;
    }
    .footer ul li {
        font-size: 1.0rem;
        letter-spacing: 0.04em;
    }
    .footer ul li + li {
        margin-left: 19px;
    }
    .footer ul li + li::after {
        left: -9.5px;
    }

    /* --- フローティングボタン --- */
    .floating-button-image {
        bottom: 15px;
    }
}