@charset "utf-8";

/*-------------------------------------------------------------
    front page - main visual / catch
-------------------------------------------------------------*/
.home_page {
    position: relative;
}

/*-------------------------------------------------------------
    front page - common section title
-------------------------------------------------------------*/
.home_sec_en {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.home_sec_ttl {
    margin-top: 0;
    font-size: 4.0rem;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

/* MV〜キャッチまで（スクロール帯の範囲） */
.home_top {
    position: relative;
}

/* main visual */
.home_mv {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    color: #fff;
}

.home_mv_bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.home_mv_bg img {
    width: 100%;
    /* height: 100%!important; */
    object-fit: cover;
    object-position: center;
}

.home_mv_in {
    position: relative;
    z-index: 2;
    display: flex;
    max-width: 1240px;
    height: 100%;
    margin: 0 auto;
    padding: 300px 20px 80px;
    box-sizing: border-box;
}

.home_mv_catch {
    font-family: 'Noto Serif JP', serif;
    font-size: 5.6rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.08em;
}

/* スクロール帯：home_top（MV〜catch）の間だけ sticky */
.home_mv_scroll_col {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: 90px;
    pointer-events: none;
}

.home_mv_scroll {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 100vh;
    padding: 0 0 60px;
    background: #1A96EA;
    box-sizing: border-box;
    gap: 16px;
}

.home_mv_scroll_txt {
    writing-mode: vertical-rl;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1;
    color: #fff;
}

.home_mv_scroll::after {
    content: "";
    display: block;
    width: 1px;
    height: 80px;
    background: #fff;
}

/* catchphrase */
.home_catch {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 78, 162, 0.9) 0%, rgba(26, 150, 234, 0.9) 100%);
    color: #fff;
}

/* 後続コンテンツもMVの上に被さるようにする */
body.home #footer_wrap {
    position: relative;
    z-index: 2;
}

.home_catch_in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 185px 20px 190px 20px;
    box-sizing: border-box;
}

.home_catch_txt {
    width: 48%;
    flex-shrink: 0;
}

.home_catch_ttl {
    font-size: 4.0rem;
    font-weight: 300;
    line-height: 1.625;
    letter-spacing: 0.05em;
}

.home_catch_desc {
    margin-top: 55px;
}

.home_catch_desc p {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 2.0;
    letter-spacing: 0.05em;
}

.home_catch_desc p + p {
    margin-top: 1.0em;
}

.home_catch_circles {
    width: 100%;
    max-width: 500px;
    flex-shrink: 0;
}

.home_catch_circles img {
    width: 100%;
    height: auto;
}

/*-------------------------------------------------------------
    front page - news
-------------------------------------------------------------*/
.home_news {
    position: relative;
    z-index: 2;
    background: #fff;
}

.home_news_head {
    max-width: 1240px;
    margin: 0 auto;
    padding: 100px 20px 0;
    text-align: center;
    box-sizing: border-box;
}

.home_news_head .home_sec_ttl {
    margin-bottom: 40px;
}

.home_news_body {
    position: relative;
    padding: 0 20px 290px;
    box-sizing: border-box;
}

/* リストカードからずらして下側に背景画像を配置 */
.home_news_bg {
    position: absolute;
    top: 23%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: url(../img/home_news_bg.png) center / cover no-repeat;
    pointer-events: none;
}

.home_news_list_wrap {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.home_news_list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home_news_item {
    border-bottom: 1px solid #e5e5e5;
}

.home_news_item:last-child {
    border-bottom: none;
}

.home_news_link {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 45px 57px;
    color: #133A78 !important;
    text-decoration: none !important;
    transition: background-color .3s ease;
}

.home_news_link:hover {
    background-color: #f5f5f5;
}

.home_news_date {
    font-family: 'Bebas Neue', sans-serif;
    flex-shrink: 0;
    margin-right: 17px;
    font-size: 2.0rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.home_news_cat {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    margin-right: 12px;
    padding: 5px 16px;
    border-radius: 21px;
    background: #2C84BD;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.05em;
    box-sizing: border-box;
}

.home_news_item_ttl {
    flex: 1;
    min-width: 0;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.05em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home_news_item--empty {
    padding: 40px 0;
    text-align: center;
    color: #133A78;
    font-size: 1.5rem;
}

.home_news_btn_wrap {
    position: relative;
    z-index: 1;
    margin-top: 50px;
    text-align: center;
}

.home_news_btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    min-height: 70px;
    padding: 22px 36px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff !important;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.home_news_btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 28px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    transition: border-color .3s ease;
}

.home_news_btn:hover {
    background: #fff;
    border-color: #fff;
    color: #1A96EA !important;
}

.home_news_btn:hover::after {
    border-top-color: #1A96EA;
    border-right-color: #1A96EA;
}

/*-------------------------------------------------------------
    front page - about
-------------------------------------------------------------*/
.home_about {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 120px;
    background: linear-gradient(90deg, #fff calc(100% * 1280 / 1920), #F8F8F8 calc(100% * 1280 / 1920));
    box-sizing: border-box;
    /* 画像高さ740 - 上ずらし190 + ナビ下はみ出し48 + 下余白120 */
    min-height: calc(740px - 190px + 48px + 120px);
}

.home_about_in {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 90px 20px 0;
    box-sizing: border-box;
}

.home_about_txt {
    max-width: 420px;
}

.home_about_txt .home_sec_ttl {
    margin-bottom: 30px;
}

.home_about_desc {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.05em;
}

/* 画面幅に対して 1100/1920 の比率・常に右寄せ */
.home_about_visual {
    position: absolute;
    top: -190px;
    right: 0;
    z-index: 1;
    width: calc(100vw * 1100 / 1920);
}

.home_about_img {
    width: 100%;
    overflow: hidden;
}

.home_about_img img {
    width: 100%;
    height: 740px;
    object-fit: cover;
    object-position: center;
}

/* 画像左下に重ねる */
.home_about_nav {
    position: absolute;
    left: -228px;
    bottom: -48px;
    z-index: 2;
    width: 100%;
    max-width: 528px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(19, 58, 120, 0.12);
}

.home_about_nav_list {
    margin: 0;
    padding: 20px 55px;
    list-style: none;
}

.home_about_nav_item {
    border-bottom: 1px solid #e5e5e5;
}

.home_about_nav_item:last-child {
    border-bottom: none;
}

.home_about_nav_link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 21px 28px 21px 20px;
    color: #133A78 !important;
    text-decoration: none !important;
    transition: background-color .3s ease;
}

.home_about_nav_link:hover {
    background-color: #f5f5f5;
}

.home_about_nav_num {
    flex-shrink: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.0rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05em;
}

.home_about_nav_label {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.home_about_nav_link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #133A78;
    border-right: 2px solid #133A78;
    transform: translateY(-50%) rotate(45deg);
}

/*-------------------------------------------------------------
    responsive
-------------------------------------------------------------*/
@media screen and (max-width: 1230px) {
    .home_mv_bg img {
        height: 100% !important;
        object-fit: cover;
        object-position: center;
    }
}

@media screen and (max-width: 1400px) {
    /* テキスト用に左約520pxを確保し、画像との重なりを防止 */
    .home_about_visual {
        width: min(calc(100vw * 1100 / 1920), calc(100vw - 520px));
    }
}

@media screen and (max-width: 1020px) {
    .home_mv_catch,
    .home_catch_ttl {
        font-size: 3.2rem;
    }

    .home_mv_scroll_col {
        width: 40px;
    }

    .home_mv_scroll {
        padding-bottom: 40px;
    }

    .home_catch_in {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
        padding: 80px 20px;
    }

    .home_catch_txt {
        width: 100%;
    }

    .home_catch_circles {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .home_news_head {
        padding: 80px 20px 0;
    }

    .home_news_head .home_sec_ttl {
        margin-bottom: 50px;
    }

    .home_sec_ttl {
        font-size: 3.2rem;
    }

    .home_news_list {
        padding: 0;
    }

    .home_news_link {
        padding: 22px 30px;
    }

    .home_about {
        padding-bottom: 80px;
        min-height: 0;
    }

    .home_about_in {
        padding: 60px 20px 0;
    }

    .home_about_txt {
        max-width: none;
    }

    /* 縦並びにしてテキストと画像の重なりを解消 */
    .home_about_visual {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-top: 40px;
    }

    .home_about_img img {
        height: 480px;
    }

    .home_about_nav {
        left: 20px;
        right: auto;
        bottom: 20px;
        width: calc(100% - 40px);
        max-width: 528px;
    }
}

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

    .home_mv_in {
        padding: 250px 20px 100px;
    }

    .home_mv_catch,
    .home_catch_ttl {
        font-size: 2.4rem;
        letter-spacing: 0.04em;
    }

    .home_mv_scroll_col {
        width: 32px;
    }

    .home_mv_scroll {
        padding-bottom: 30px;
        gap: 12px;
        background: none;
    }

    .home_mv_scroll_txt {
        font-size: 1.2rem;
    }

    .home_mv_scroll::after {
        height: 50px;
    }

    .home_catch_in {
        padding: 60px 20px;
        gap: 40px;
    }

    .home_catch_desc {
        margin-top: 28px;
    }

    .home_catch_desc p {
        font-size: 1.4rem;
        line-height: 1.9;
    }

    .home_catch_circles {
        width: 300px;
    }

    .home_news_head {
        padding: 60px 20px 0;
    }

    .home_news_head .home_sec_ttl {
        margin-bottom: 40px;
    }

    .home_sec_en {
        font-size: 2.0rem;
    }

    .home_sec_ttl {
        font-size: 2.8rem;
    }

    .home_news_body {
        padding: 0 15px 70px;
    }

    .home_news_bg {
        top: 38%;
    }

    .home_news_list {
        padding: 0;
    }

    .home_news_link {
        flex-wrap: wrap;
        padding: 18px 18px;
        gap: 10px 0;
    }

    .home_news_date {
        width: auto;
        margin-right: 12px;
        font-size: 1.3rem;
    }

    .home_news_cat {
        width: 110px;
        margin-right: 0;
        padding: 4px 10px;
        font-size: 1.2rem;
    }

    .home_news_item_ttl {
        flex: 1 1 100%;
        font-size: 1.4rem;
        white-space: normal;
    }

    .home_news_btn_wrap {
        margin-top: 36px;
    }

    .home_news_btn {
        min-width: 240px;
        min-height: 52px;
        font-size: 1.4rem;
    }

    .home_about {
        padding-bottom: 60px;
        min-height: 0;
    }

    .home_about_in {
        padding: 40px 20px 0;
    }

    .home_about_txt .home_sec_ttl {
        margin-bottom: 24px;
    }

    .home_about_desc {
        font-size: 1.4rem;
        line-height: 1.9;
    }

    .home_about_visual {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-top: 30px;
    }

    .home_about_img img {
        height: 280px;
    }

    .home_about_nav {
        left: 15px;
        right: 15px;
        bottom: 15px;
        width: auto;
        margin-top: 0;
    }

    .home_about_nav_list {
        padding: 4px 18px;
    }

    .home_about_nav_link {
        gap: 12px;
        padding: 16px 24px 16px 0;
    }

    .home_about_nav_num {
        font-size: 1.8rem;
    }

    .home_about_nav_label {
        font-size: 1.3rem;
    }
}

/*-------------------------------------------------------------
    front page - product
-------------------------------------------------------------*/
.home_product {
    position: relative;
    z-index: 2;
    padding: 15px 0 155px;
    background: linear-gradient(90deg, #fff calc(100% * 1280 / 1920), #F8F8F8 calc(100% * 1280 / 1920));
}

.home_product_head {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    box-sizing: border-box;
}

.home_product_head .home_sec_ttl {
    margin-bottom: 50px;
}

.home_product_desc {
    margin: 0 auto;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.05em;
}

.home_product_slider {
    margin-top: 70px;
    overflow: hidden;
    width: 100%;
}

.home_product_track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    gap: 0;
    animation: home_product_marquee 40s linear infinite;
    will-change: transform;
}

.home_product_item {
    flex: 0 0 auto;
    height: 284px;
    line-height: 0;
    font-size: 0;
}

.home_product_item img {
    display: block;
    width: auto;
    height: 100%;
    max-width: none;
    vertical-align: top;
}

@keyframes home_product_marquee {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home_product_track {
        animation: none;
    }
}

.home_product_btn_wrap {
    margin-top: 80px;
    text-align: center;
}

.home_product_btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    min-height: 70px;
    padding: 22px 36px;
    background: #fff;
    border: 1px solid #133A78;
    color: #133A78 !important;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.home_product_btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 28px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #133A78;
    border-right: 2px solid #133A78;
    transform: translateY(-50%) rotate(45deg);
    transition: border-color .3s ease;
}

.home_product_btn:hover {
    background: #133A78;
    border-color: #133A78;
    color: #fff !important;
}

.home_product_btn:hover::after {
    border-top-color: #fff;
    border-right-color: #fff;
}

@media screen and (max-width: 767px) {
    .home_product {
        padding: 15px 0 80px;
    }

    .home_product_head .home_sec_ttl {
        margin-bottom: 24px;
    }

    .home_product_desc {
        font-size: 1.4rem;
    }

    .home_product_slider {
        margin-top: 30px;
    }

    .home_product_track {
        animation-duration: 28s;
    }

    .home_product_item{
        height: 180px;
    }

    .home_product_item img{
        height: 100%!important;
    }

    .home_product_btn_wrap {
        margin-top: 36px;
        padding:0 20px;
    }

    .home_product_btn {
        min-width: 240px;
        min-height: 52px;
        font-size: 1.4rem;
    }
}

/*-------------------------------------------------------------
    front page - results
-------------------------------------------------------------*/
.home_results {
    position: relative;
    z-index: 2;
    color: #fff;
    overflow: hidden;
    margin-bottom: 40px;
}

.home_results_bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #133A78 url("../img/home_results.jpg") center / cover no-repeat;
}

.home_results_in {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1240px;
    min-height: 520px;
    margin: 0 auto;
    padding: 250px 20px 400px;
    text-align: center;
    box-sizing: border-box;
}

.home_results_ttl {
    margin: 0;
    font-size: 4.0rem;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

.home_results_en {
    margin: 30px 0 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 8.0rem;
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: 0.1em;
}

.home_results_desc {
    margin: 70px 0 0;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.05em;
}

@media screen and (max-width: 767px) {
    .home_results {
        margin-bottom: 20px;
    }

    .home_results_in {
        min-height: 500px;
        padding: 70px 20px;
    }

    .home_results_ttl {
        font-size: 1.8rem;
    }

    .home_results_en {
        margin-top: 20px;
        font-size: 3.2rem;
    }

    .home_results_desc {
        margin-top: 40px;
        font-size: 1.4rem;
    }
}
