@charset "utf-8";

/* common */
.main .ttl_box {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}
.main .ttl_box.ttl_center {
    justify-content: center;
}
.main .ttl_box h2 {
    font-size: 4rem;
    letter-spacing: 0.033em;
}
.main .ttl_box h2 span {
    font-size: 3rem;
}

.basic_item_list ul {
    display: flex;
    margin: 0 -12px;
}
.basic_item_list li {
    position: relative;
    width: 100%;
    margin: 0 12px;
    border-radius: 20px;
    overflow: hidden;
}
.basic_item_list .img_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.basic_item_list .img_box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}
.basic_item_list .txt_box {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    transition: .6s;
}
.basic_item_list .name {
    position: relative;
    top: 0;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--white-basic-color);
    letter-spacing: 0.033em;
    transition: .5s;
}
.basic_item_list .more {
    display: inline-block;
    margin: 20px auto 0;
    padding: 0 10px;
    font-size: 1.4rem;
    color: var(--white-basic-color);
    line-height: 30px;
    border-radius: 15px;
    background-color: var(--blue-color100);
    opacity: 0;
    transition: .5s;
}

/* m_visual */
.m_visual {
    position: relative;
    width:calc(100% - 100px);
    margin: 0 auto;
}
.m_visual .swiper-slide {
    width: 100%;
    height: 754px;
    border-radius: 30px;
    overflow: hidden;   
}
.m_visual .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.m_visual .visual_inner {
    position: absolute;
    top: 184px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 1280px;
    z-index: 10;
}
.m_visual .txt_box span {
    font-size: 2rem;
    font-weight: 300;
    color: var(--white-basic-color);
}
.m_visual .txt_box p {
    margin: 20px 0 32px;
    font-size: 5rem;
    line-height: 1.5;
    color: var(--white-basic-color);
}
.m_visual .scroll_guide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
}
.m_visual .scroll_guide span {
    margin-top: 13px;
    font-size: 1.4rem;
    color: var(--white-basic-color);
    text-transform: uppercase;
}
.m_visual .scroll_guide .ico {
    position: relative;
    width:23px;
    height:34px;
    font-size: 0;
    border-radius: 12px;
    border: 2px solid var(--white-basic-color);
}
.m_visual .scroll_guide .ico:before {
    content:'';
    display: block;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 5px;
    background-color: var(--white-basic-color);
}

/* m_sponcer */
.m_sponcer {
    padding: 30px 50px;
}
.m_sponcer .swiper-slide {
    width: auto;
}
.m_sponcer .swiper-slide img {
    display: block;
    margin: 0 auto;
}

/* m_inbound */
.m_inbound {
    margin: 54px 0 140px;
}
.m_inbound .basic_item_list li {
    height: 418px;
}
.m_inbound .basic_item_list li:nth-child(2n+0) {
    top: 54px;
}
.m_inbound .basic_item_list .more {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

/* m_outbound */
.m_outbound {
    padding: 90px 0 140px;
    background-color: var(--blue-color600);
}
.m_outbound .basic_item_list ul {
    flex-wrap: wrap;
}
.m_outbound .basic_item_list li {
    width: calc(50% - 24px);
    height: 270px;
    margin: 12px;
}
.m_outbound .basic_item_list .txt_box {
    top: 74%;
    bottom: initial;
}

/* m_domestic */
.m_domestic {
    margin: 90px 0 140px;
}
.m_domestic .basic_item_list li {
    height: 270px;
}
.m_domestic .basic_item_list .more {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

/* m_board */
.m_board {
    padding: 100px 0;
    background:url('../images/main/board_bg.jpg') no-repeat center / cover;
}
.m_board .inner {
    display: flex;
    align-items: center;
}
.m_board .txt_box {
    width: 37%;
    padding-right: 10px;
}
.m_board .txt_box p {
    font-size: 3.6rem;
    color: var(--white-basic-color);
    line-height: 1.5;
    word-break: keep-all;
}
.m_board .txt_box strong img {
    display: block;
    margin-top: 10px;
    width: 200px;
}
.m_board .board_wrap {
    display: flex;
    width: 63%;
}
.m_board .board_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    height:200px;
    padding: 30px;
    padding-right: 90px;
    border-radius: 20px;
}
.m_board .customer_box {
    width: 51.73%;
    margin-right: 2.75%;
    background-color: var(--green-color300);
}
.m_board .inquiry_box {
    width: 45.52%;
    background-color: var(--blue-color500);
}
.m_board .board_box .name {
    font-size: 2.4rem;
    font-weight: 700;
}
.m_board .board_box .number {
    margin: 15px 0 10px;
    font-size: 2.8rem;
    font-weight: 700;
}
.m_board .board_box .detail {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5;
    word-break: keep-all;
}
.m_board .board_box .ico {
    position: absolute;
}
.m_board .customer_box .ico {
    top: 66px;
    right: 34px;
}
.m_board .inquiry_box .ico {
    top: 83px;
    right: 40px;
}
.m_board .board_box .more {
    display: block;
    width: 104px;
    margin-top: 30px;
    font-size: 1.4rem;
    color: var(--white-basic-color);
    line-height: 30px;
    border-radius: 15px;
    background-color: var(--blue-color100);
    text-align: center;
    transition: .5s;
}

/* hover contents */
@media screen and (min-width:851px) {

    .basic_item_list li:hover .img_box img {
        transform: scale(1.1);
    }
    .basic_item_list li:hover .more {
        opacity: 1;
    }

    .m_inbound .basic_item_list li:hover .name {
        top: -43px;
    }
    .m_inbound .basic_item_list li:hover .more {
        bottom: 0;
    }

    .m_outbound .basic_item_list li:hover .txt_box {
        top: 50%;
        transform: translateY(-50%);
    }

    .m_domestic .basic_item_list li:hover .name {
        top: -43px;
    }
    .m_domestic .basic_item_list li:hover .more {
        bottom: 0;
    }

}

/* responsive */
@media screen and (max-width:1280px) {

    /* m_visual */
    .m_visual {
        width: calc(100% - 50px);
    }

}

@media screen and (max-width:850px) {

    /* common */
    .main .ttl_box {
        margin-bottom: 30px;
    }
    .main .ttl_box .ico {
        width: 50px;
    }
    .main .ttl_box h2 {
        font-size: 3.2rem;
    }
    .main .ttl_box h2 span {
        font-size: 2.4rem;
    }

    .basic_item_list ul {
        flex-wrap: wrap;
        margin: -5px;
    }
    .basic_item_list li {
        width: calc(50% - 10px);
        margin: 5px;
        border-radius: 10px;
    }
    .basic_item_list .txt_box {
        bottom: 20px;
    }
    .basic_item_list .name {
        font-size: 2.2rem;
    }

    /* m_visual */
    .m_visual {
        width: calc(100% - 30px);
        height: calc(100vh - 100px);
    }
    .m_visual .swiper {
        height: 100%;
    }
    .m_visual .swiper-slide {
        height: 100%;
        border-radius: 15px;
    }
    .m_visual .txt_box span {
        font-size: 1.8rem;
    }
    .m_visual .txt_box p {
        margin: 15px 0 25px;
        font-size: 3.4rem;
    }

    /* m_sponcer */
    .m_sponcer {
        padding: 20px 15px;
    }
    .m_sponcer .swiper-wrapper {
        align-items: center;
    }
    .m_sponcer .swiper-slide img {
        width: 100%;
        max-width: 200px;
        max-height: 40px;
        object-fit: contain;
    }

    /* m_inbound */
    .m_inbound {
        margin: 50px 0 70px;
    }
    .m_inbound .basic_item_list li {
        height: 300px;
    }
    .m_inbound .basic_item_list li:nth-child(2n+0) {
        top: 0;
    }

    /* m_outbound */
    .m_outbound {
        padding: 45px 0 70px;
    }
    .m_outbound .basic_item_list li {
        width: calc(50% - 10px);
        height: 300px;
        margin: 5px;
    }
    .m_outbound .basic_item_list .txt_box {
        top: 50%;
        transform: translateY(-50%);
    }
    .m_outbound .basic_item_list .more {
        display: none;
    }

    /* m_domestic */
    .m_domestic {
        margin: 45px 0 70px;
    }
    .m_domestic .basic_item_list ul {
        flex-direction: column;
    }
    .m_domestic .basic_item_list li {
        width: 100%;
        margin: 10px 0;
    }

    /* m_board */
    .m_board {
        padding: 45px 0 70px;
    }
    .m_board .inner {
        flex-direction: column;
    }
    .m_board .txt_box {
        width: 100%;
        padding-right: 0;
        padding-bottom: 30px;
    }
    .m_board .txt_box p {
        font-size: 2.9rem;
        text-align: center;
    }
    .m_board .txt_box strong img {
        width:140px;
        margin: 10px auto 0;
    }
    .m_board .board_wrap {
        width: 100%;
        flex-direction: column;
    }
    .m_board .board_box {
        height: auto;
        padding: 20px;
        padding-right: 70px;
    }
    .m_board .board_box .name {
        font-size: 2.1rem;
    }
    .m_board .board_box .number {
        font-size: 2.3rem;
    }
    .m_board .board_box .more {
        margin-top: 20px;
    }
    .m_board .customer_box {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .m_board .customer_box .ico {
        top: 20px;
        right: 20px;
    }
    .m_board .inquiry_box {
        width: 100%;
    }
    .m_board .inquiry_box .ico {
        top: 20px;
        right: 20px;
    }

}