@charset "utf-8";

/* =========================
   FV
========================= */
.top-fv {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    .top-fv {
        height: 500px;
    }
}

/* スライド */
.top-fv__slider {
    position: absolute;
    inset: 0;
}

.top-fv__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.top-fv__slide.is-active {
    opacity: 1;
}

.top-fv__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* オーバーレイ */
.top-fv__overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}
.top-fv__overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
}
/* コンテンツ */
.top-fv__content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    color: #fff;
    padding: 0 10px;
    margin:0 auto;
}

.top-fv__lead {
    font-size: 16px;
    margin-bottom: 12px;
}

.top-fv__title {
    font-size: 36px;
    line-height: 1.4;
    margin-bottom: 16px;
    font-weight: bold;
}

.top-fv__text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* CTA */
.top-fv__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.top-fv__cta-btn {
    display: inline-block;
    padding: 14px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    width: 300px;
    max-width: 300px;
    box-sizing: border-box;
}

/* 電話 */
.top-fv__cta-btn--tel {
    background: #fff;
    color: #333;
}

/* LINE */
.top-fv__cta-btn--line {
    background: #06c755;
    color: #fff;
}

/* SP調整 */
@media screen and (max-width: 767px) {
    .top-fv__lead {
        margin-top: 44px;
    }

    .top-fv__content {
        max-width: 100%;
    }

.top-fv__title {
    font-size: 23px;
}

    .top-fv__text {
        font-size: 13px;
    }

    .top-fv__cta {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .top-fv__cta-btn {
        width: 100%;
    }
}

/* =========================
   top-news
========================= */
.top-news__body {
    max-width: 820px;
    margin: 0 auto;
}


.top-news__item {
    border-bottom: 1px dotted #d9d9d9;
}
.top-news__item:last-child {
    border-bottom: none;
}

.top-news__link {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 10px 0;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.top-news__link:hover {
    opacity: 0.7;
}

.top-news__date {
    flex: 0 0 110px;
    color: #4d94ff;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.top-news__text {
    flex: 1 1 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #000;
}

.top-news__item--empty {
    padding: 24px 0;
}

.top-news__empty {
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

.top-news__more {
    margin-top: 32px;
    text-align: center;
}

/* =========================
   instagram
========================= */
.insta {
    background: #f8fbff;
}

.insta .snapwidget-widget {
    min-height: 420px;
}

/* =========================
   twitter
========================= */
.twitter {
    background: #fff;
}

/* =========================
   top text
========================= */
.top-text {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.toppoints {
    display: grid;
    gap: 32px;
}

.toppoints__item {
    padding: 32px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.toppoints__item h3 {
    margin: 0 0 16px;
    color: #4d94ff;
    font-size: 24px;
    line-height: 1.5;
    font-weight: bold;
}

.toppoints__item p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 2;
    color: #222;
}

.toppoints__item p:first-of-type {
    margin-top: 0;
}

/* =========================
   responsive
========================= */
@media screen and (max-width: 767px) {
    .top-news__link {
        display: block;
        padding: 16px 0;
    }

    .top-news__date {
        display: block;
        margin-bottom: 6px;
        font-size: 13px;
    }

    .top-news__text {
        display: block;
        font-size: 15px;
        line-height: 1.7;
    }

    .top-news__more {
        margin-top: 24px;
    }

    .insta .snapwidget-widget {
        min-height: 320px;
    }

    .toppoints {
        gap: 20px;
    }

    .toppoints__item {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .toppoints__item h3 {
        margin-bottom: 12px;
        font-size: 20px;
    }

    .toppoints__item p {
        margin-top: 12px;
        font-size: 15px;
        line-height: 1.9;
    }
}

.top-course-cta {
  text-align: center;
  margin: 60px 0;
}

.top-course-cta__btn {
    justify-content: center;
    text-align: center;
    width: 30%;
    min-width: 300px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0px 28px;
    background: #363c49;
    color: #fff;
    /* border-radius: 999px; */
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.top-course-cta__text {
    font-size: 13px;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* 矢印（上だけ出っ張るやつ） */
.top-course-cta__arrow {
  position: relative;
  width: 18px;
  height: 2px;
    background: rgba(255,255,255,0.9);
  transition: width 0.3s ease;
}

.top-course-cta__arrow::after {
  content: "";
  position: absolute;
  top: -4px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 2px solid rgba(255,255,255,0.9);
  border-right: 2px solid rgba(255,255,255,0.9);
  transform: rotate(45deg);
}

/* hover */
.top-course-cta__btn:hover {
    transform: translateY(-2px);
    background: #4a5160;
}

/* 矢印がスーッと伸びる */
.top-course-cta__btn:hover .top-course-cta__arrow {
  width: 28px;
}