@charset "UTF-8";

/* module */
.mb-30 {
    margin-bottom: 30px !important;
}
.radius_none {
    border-radius: 0px !important;
}

/* list */
.anchor_navigation_list {
    grid-template-columns: repeat(6, 1fr) !important;
    margin-bottom: 55px;
}

/* history slider */
.history_slider {
    width: 100%;
    margin: 0 auto 264px;
}
.history_slide {
    width: 100%;
}
.history_content {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 520px;
    box-sizing: border-box;
}
.history_text {
    width: 45%;
    padding-right: 30px;
    box-sizing: border-box;
    flex-shrink: 0;
}
.history_date {
    display: flex;
    align-items: baseline;
    gap: 25px;
    margin-bottom: 30px;
}
.history_year {
    font-size: 96px;
    font-weight: 600;
    font-style: italic;
    color: var(--color-theme);
    line-height: 1;
}
.history_month {
    font-size: 36px;
    font-weight: 700;
    font-style: italic;
    color: var(--color-theme);
    line-height: 1;
}
.history_image {
    width: 45%;
    flex-shrink: 0;
}
.history_image img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 40px;
}
.history_arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 100%;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.history_arrow img {
    display: block;
    width: 32px;
    height: auto;
    transition: transform 0.5s ease;
}
.history_arrow:hover img {
    transform: translateX(10px);
}
.history_content.full_width .history_text {
    width: 90%;
}

/*For Tablet*/
@media only screen and (min-width: 768px) and (max-width: 1920px) {
    /* module */
    .mb-30 {
        margin-bottom: calc(30 * var(--tablet-unit)) !important;
    }

    /* list */
    .anchor_navigation_list {
        margin-bottom: calc(55 * var(--tablet-unit));
    }

    /* history slider */
    .history_slider {
        margin: 0 auto calc(200 * var(--tablet-unit));
    }
    .history_content {
        min-height: calc(520 * var(--tablet-unit));
    }
    .history_text {
        padding-right: calc(30 * var(--tablet-unit));
    }
    .history_date {
        gap: calc(25 * var(--tablet-unit));
        margin-bottom: calc(30 * var(--tablet-unit));
    }
    .history_year {
        font-size: calc(96 * var(--tablet-unit));
    }
    .history_month {
        font-size: calc(36 * var(--tablet-unit));
    }
    .history_image img {
        border-radius: calc(40 * var(--tablet-unit));
    }
    .history_arrow {
        width: calc(80 * var(--tablet-unit));
    }
    .history_arrow img {
        width: calc(32 * var(--tablet-unit));
    }
    .history_arrow:hover img {
        transform: translateX(calc(10 * var(--tablet-unit)));
    }
}

/*For SP*/
@media only screen and (max-width: 767px) {
    /* module */
    .mb-30 {
        margin-bottom: calc(30 * var(--sp-unit)) !important;
    }
    /* list */
    .anchor_navigation_list {
        margin-bottom: 0;
    }

    /* history slider */
    .history_slider {
        width: 100%;
        margin: 0 auto calc(80 * var(--sp-unit));
    }
    .history_slider .visually_hidden {
        margin: 0 calc(10 * var(--sp-unit));
    }
    .history_slide {
        margin: 0 calc(10 * var(--sp-unit));
    }
    .history_content {
        flex-direction: column-reverse;
        min-height: unset;
    }
    .history_text {
        width: 90%;
        padding-right: calc(30 * var(--sp-unit));
    }
    .history_date {
        gap: calc(20 * var(--sp-unit));
        margin-bottom: calc(20 * var(--sp-unit));
    }
    .history_year {
        font-weight: 700;
        font-size: calc(48 * var(--sp-unit));
    }
    .history_month {
        font-size: calc(24 * var(--sp-unit));
    }
    .history_image {
        width: 100%;
        margin-bottom: calc(20 * var(--sp-unit));
    }
    .history_image img {
        border-radius: calc(40 * var(--sp-unit));
    }
    .history_arrow {
        right: calc(-10 * var(--sp-unit));
        top: 80%;
        width: 80px;
    }
    .history_arrow img {
        width: calc(20 * var(--sp-unit));
    }
    .history_arrow:hover img {
        transform: translateX(calc(10 * var(--sp-unit)));
    }
    .history_content.full_width .history_arrow {
        top: 50%;
    }
}