@charset "UTF-8";

/* =========================================================
   component.css
   共通コンポーネント
========================================================= */


/* =========================================================
   Buttons
========================================================= */

/* ---------------------------------
   View More Button
--------------------------------- */

.view-more-wrapper {
    width: 85%;
    margin: 40px auto 0;
    display: flex;
    justify-content: flex-end;
}

.view-more-btn {
    background-color: #DFFF4F;
    color: #333333;

    padding: 10px 35px;
    border-radius: 50px;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    white-space: nowrap;
    width: auto;

    transition:
        transform 0.2s,
        background-color 0.2s;
}

@media (min-width: 900px) {

    .view-more-btn:hover {
        background-color: #d4f045;
        transform: translateX(5px);
    }

}


/* ---------------------------------
   Page Top Button
--------------------------------- */

.page-top-btn {
    position: fixed;

    right: -70px;
    bottom: 50px;

    width: 60px;
    height: 85px;

    background-color: #004a8d;
    color: #ffffff;

    border-radius: 12px 0 0 12px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 100;

    opacity: 0;
    visibility: hidden;

    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);

    box-shadow: -2px 4px 15px rgba(0, 0, 0, 0.15);
}

.page-top-btn.is-active {
    right: 0;
    opacity: 1;
    visibility: visible;
}

.page-top-btn .arrow {
    display: block;

    width: 12px;
    height: 12px;

    border-top: 3px solid #ffffff;
    border-right: 3px solid #ffffff;

    transform: rotate(-45deg);

    margin-bottom: 8px;

    transition: transform 0.3s ease;
}

.page-top-btn .text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;

    font-family: 'Montserrat', sans-serif;
}

.page-top-btn:hover {
    background-color: #DFFF4F;
    color: #333333;

    transform: translateY(-5px);
}

.page-top-btn:hover .arrow {
    border-color: #333333;
}


/* ---------------------------------
   Portal Button
--------------------------------- */

.btn-portal {
    font-size: 1.2rem;

    margin-top: auto;

    padding: 5px 10px;

    border-radius: 4px;

    background-color: #DFFF4F;

    transition:
        background-color 0.2s,
        color 0.2s;
}

.btn-portal:hover {
    background-color: #DCE6AC;
}

@media (min-width: 900px) {

    .btn-portal {
        display: inline-block;

        padding: 5px 15px;

        flex-wrap: nowrap;
    }

}

/* ---------------------------------
   PDF dounload Button
--------------------------------- */
.pdf-link-area {
    margin: 20px 0;
}

.pdf-button {
    display: inline-flex;
    align-items: center;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    padding: 12px 25px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pdf-button:hover {
    background-color: #e0e0e0;
    border-color: #999;
}

.pdf-button::before {
    content: "PDF";
    background-color: #ff4d4d;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
    margin-right: 10px;
}

.file-info {
    font-size: 0.8rem;
    color: #666;
    margin-left: 10px;
}


/* =========================================================
   Label Component
========================================================= */

/* ---------------------------------
   News Label
--------------------------------- */

.news-label {
    display: inline-block;

    background-color: #999999;
    color: #ffffff;

    padding: 2px 8px;
    margin: 0 10px;

    border-radius: 3px;

    vertical-align: middle;
}


/* ---------------------------------
   NEW Label
--------------------------------- */

.label-new {
    color: #7DBBE6;

    font-weight: bold;
    font-style: italic;

    margin: 0 8px;
}


/* ---------------------------------
   Course NEW Label
--------------------------------- */

.course-label-new {
    position: absolute;

    top: 5%;

    display: inline-block;

    background-color: #FF6B6B;
    color: #ffffff;

    font-weight: bold;

    padding: 2px 8px;

    border-radius: 3px;

    z-index: 10;
}


/* ---------------------------------
   Advanced NEW Label
--------------------------------- */

.advanced-label-new {
    position: absolute;

    top: 10%;
    left: 50%;

    transform: translateX(-50%);

    display: inline-block;

    background-color: #FF6B6B;
    color: #ffffff;

    font-weight: bold;

    padding: 2px 8px;

    border-radius: 3px;

    z-index: 10;

    white-space: nowrap;
}


/* ==============================
   Text Link
============================== */

.text-link-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 12px;
    border-bottom: 1px solid #DDDDDD;
    text-decoration: none;
    color: #1A314C;
    transition: background-color 0.3s ease;
}

.text-link-row:hover {
    background-color: #F7FAFF;
}

.text-link-title {
    line-height: 1.7;
}

.text-link-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #427BBF;
    font-size: 1.4rem;
    white-space: nowrap;
}

.text-link-info::after {
    content: "→";
    transition: transform 0.3s ease;
}

.text-link-row:hover .text-link-info::after {
    transform: translateX(4px);
}

.text-inline-link {
    color: #1A314C;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.text-inline-link::after {
    content: " →";
}

.text-inline-link:hover {
    color: #427BBF;
}

/* =========================
   外部サイトリンクボタン
========================= */

.external-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 48px;
    padding: 0 24px;
    margin-top: 20px;

    background: #e7f7f4;
    color: #007f73;

    border: 1px solid #b7e5de;
    border-radius: 5px;

    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
        background-color 0.25s,
        border-color 0.25s,
        color 0.25s,
        transform 0.25s;
}

/* hover */
.external-link-btn:hover {
    background: #d7f1ec;
    border-color: #8fd3c8;
    color: #00695f;

    transform: translateY(-1px);
}

/* focus */
.external-link-btn:focus-visible {
    outline: 3px solid rgba(0, 127, 115, 0.2);
    outline-offset: 3px;
}

/* 外部リンクアイコン */
.external-link-btn::after {
    content: "→";

    display: inline-block;

    font-size: 1.4rem;
    line-height: 1;

    transform: rotate(-45deg);
}

/* 注釈 */
.external-link-note {
    margin-top: 8px;

    color: #666;
    font-size: 1.3rem;
    line-height: 1.6;
}

/* =========================================================
   Card Component
========================================================= */
/* ---------------------------------
   slider
--------------------------------- */

.swiper {
    width: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.swiper-pagination {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 6px;
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #171717;
}

/* ---------------------------------
   Pickup Card
--------------------------------- */

.pickup-item {
    display: flex;
    align-items: center;
    gap: 30px;

    border: 1px solid #999999;
    border-radius: 18px;

    padding: 30px;

    width: 100%;

    box-sizing: border-box;
}

a.pickup-item {
    display: flex;
    color: inherit;
    text-decoration: none;
}

.pickup-image {
    flex: 0 0 40%;

    aspect-ratio: 4 / 3;

    overflow: hidden;
    border-radius: 10px;
}

.pickup-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.pickup-content {
    flex: 1;
}

@media (min-width: 900px) {

    .pickup-item {
        flex-direction: row;
        min-height: 300px;
    }

    .pickup-image {
        flex: 0 0 40%;
        min-width: 350px;
        line-height: 0;
    }

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

}


/* ---------------------------------
   Image Overlay Card
--------------------------------- */

.select-link {
    display: block;

    position: relative;

    overflow: hidden;

    background-color: #000000;

    border-radius: 10px;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.select-link::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.40);

    z-index: 1;

    transition: background 0.3s ease;
}

.select-link:active {
    transform: scale(0.95);
    filter: brightness(90%);
}

.select-img img {
    object-fit: cover;

    height: auto;

    display: block;

    transition: transform 0.3s ease;
}

@media (min-width: 900px) {

    .select-link:hover::before {
        background: rgba(0, 0, 0, 0.20);
    }

    .select-link:hover img {
        transform: scale(1.05);
    }

}


/* ==============================
   Price
============================== */

.price {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.4;
}

.price-note {
    display: block;
    margin-top: 6px;
    font-size: 1.3rem;
    color: #666;
}

.price-detail p {
    margin: 0 0 10px;
}

.price-detail small {
    display: block;
    margin-top: 5px;
    color: #666;
    line-height: 1.6;
}