@charset "utf-8";

/* =========================
header
========================= */
/* scrool */
#Contact {
    scroll-margin-top: 135px;
}

.MV__img {
    width: 100%;
    height: 558px;
    object-fit: cover;
}

/* MV 位置調整 */
.MV__img--01 {
    object-position: 0 25%;
}

.MV__img--02 {
    object-position: 0 20%;
}

.MV__img--03 {
    object-position: 0 25%;
}

.MV__img--04 {
    object-position: 0 55%;
}

.MV__img--05 {
    object-position: 0 20%;
}

.MV__img--06 {
    object-position: 0 0%;
}

.MV__img--07 {
    object-position: 0 25%;
}

.MV__img--08 {
    object-position: 0 15%;
}

/* MV 位置調整　END */

@media screen and (min-width: 769px) {
    #Contact {
        scroll-margin-top: 135px;
    }

    .header {
        padding: 60px 9.02% 10px 4.86%;
    }
}

/* =========================
News
========================= */
.section--news {
    margin-top: 110px;
    margin-bottom: 100px;
    position: relative;
}

.section__topic__topNews {
    padding: 50px 0 0 7.63%;
}

.News__list {
    margin: 50px 20px 0px 20px;
}

.News__item {
    border-bottom: 0.5px solid var(--btnColor-bk);
    position: relative;
}

.News__item:first-of-type {
    border-top: 0.5px solid var(--btnColor-bk);
}

.News__item a {
    display: block;
    position: relative;
    overflow: hidden;
    padding: 34px 15px 34px 30px;
    color: var(--textColor-bk);
    transition: color 0.5s;
}

.News__item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--linkMarker);
    z-index: 0;
    transition: transform 0.5s ease;
    transform: translateX(0);
}

.News__item a:hover::before {
    transform: translateX(100%);
}

.News__item a time,
.News__item a p {
    position: relative;
    z-index: 1;
}

.News__item a:hover {
    color: var(--textColor-wh);
}

.News__item a::after {
    display: flex;
    content: '';
    width: 10px;
    height: 19px;
    background-image: url(../images/btn/News_arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 15px;
    margin: auto 0;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.News__item a:hover::after {
    opacity: 0;
}

.News__item a .arrow-hover {
    content: '';
    position: absolute;
    width: 10px;
    height: 19px;
    top: 0;
    bottom: 0;
    right: 15px;
    margin: auto 0;
    background-image: url(../images/btn/News_arrow_hover.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 3;

    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.News__item a:hover .arrow-hover {
    opacity: 1;
    transform: translateX(0);
}

.News__item p {
    padding-top: 20px;
}

.News__All__frame {
    display: flex;
    justify-content: flex-end;
    margin: 30px 20px 0px 0px;
}

.News__All {
    display: inline-block;
    font-size: 1.3rem;
    position: relative;
    padding-right: 25px;
}

.News__All::after {
    content: '';
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 10px;
    height: 19px;
    background-image: url(../images/btn/News_arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.News__All::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 1px;
    background-color: var(--textColor-bk);
    transition: width 0.4s ease;
}

.News__All:hover::before {
    width: 100%;
}

/* PC 769px */
@media screen and (min-width: 769px) {
    .section--news {
        margin-top: 136px;
    }

    .section__topic__topNews {
        padding: 100px 0 0 5.55%;
    }

    .News__frame {
        display: flex;
        gap: 169px;
    }

    .News__list {
        width: 915px;
        padding-top: 150px;
        margin: 0;
    }

    .News__item a {
        display: flex;
        gap: 50px;
        padding: 29px 15px 29px 30px;
    }

    .News__item p {
        padding-top: 0px;
    }

    .News__All__frame {
        margin: 50px 100px 0px 0px;
    }
}

/* PC 769px */

/* =========================
Contact
========================= */
.section--contact {
    height: 535px;
    position: relative;
    background-image: url(../images/top_contact/contact_SP.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.backFrame {
    width: 333px;
    margin: 0 auto;
    padding: 50px 0;
    background-color: var(--backgroundColor-bk);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 15px;
    color: var(--textColor-wh);
    font-weight: 300;
}

.section__topic__contact {
    text-align: center;
    padding: 0;
}

.Contact__btn {
    width: 293px;
    margin: 50px auto 0;
}

.Contact__link {
    display: flex;
    width: 293px;
    height: 60px;
    border-radius: 50px;
    border: 1px solid var(--textColor-wh);
    background-color: var(--btnColor-pink);
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.Contact__link:hover {
    background-color: #d47699;
}

.Contact__textArea {
    margin-top: 40px;
    text-align: center;
}

.Contact__text--02 {
    margin-top: 10px;
    font-size: 1.4rem;
}

.Contact__text--02 a {
    position: relative;
}

.Contact__text--02 a::after {
    background-color: var(--textColor-wh);
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0px;
    transform-origin: left top;
    z-index: -1;
}

.Contact__text--02 a.animate::after {
    animation: linkLine 0.8s forwards;
}

@keyframes linkLine {
    0% {
        transform-origin: right top;
        transform: scaleX(1);
        /* 全表示 */
    }

    40% {
        transform-origin: right top;
        transform: scaleX(0);
        /* 右方向へ消える */
    }

    41% {
        transform-origin: left top;
        transform: scaleX(0);
        /* ここで起点を左に切替 */
    }

    100% {
        transform-origin: left top;
        transform: scaleX(1);
        /* 左→右へ再表示 */
    }
}

/* PC 769px */
@media screen and (min-width: 769px) {
    .section--contact {
        height: 599px;
        background-image: url(../images/top_contact/contact_PC.png);
        background-position: center;
        background-size: cover;
    }

    .backFrame {
        width: 838px;
    }

    .Contact__btn {
        width: 494px;
        margin: 100px auto 0;
    }

    .Contact__link {
        width: 494px;
        height: 74px;
        font-size: 2.4rem;
    }

    .Contact__textArea {
        margin-top: 50px;
        font-size: 1.6rem;
    }

    .brSP {
        display: none;
    }

    .Contact__text--02 {
        margin: 5px 147px 0 0;
        font-size: 1.6rem;
        text-align: right;
    }
}

/* PC 769px */