.pc--only {
    display: flex;
}

.sp--only {
    display: none !important;
}

/* 背景 */
.wrapper__bg1 {
    background-image: url('../img/front-page/newsBG1.webp');
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
}

.wrapper__bg2 {
    background-image: url('../img/front-page/newsBG2.webp');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: auto;
    padding-bottom: 11.5rem;
}

/* main */

.section a {
    display: inline-block;
    width: fit-content;
}


.section__subtitle {
    position: relative;
    font: 1.5rem/2.1rem "Zen Maru Gothic";
    font-weight: 500;
    color: #000000;
    text-align: left;
    margin-bottom: 0rem;
    margin-left: 2rem;
}

.section__subtitle::before {
    position: absolute;
    top: 0rem;
    left: -2rem;
    content: "\25CF";
    width: 1.5rem;
    height: 1.5rem;
    color: #41956A;
}

.section__title {
    font: 3.3rem/4.8rem "Zen Maru Gothic";
    font-weight: 500;
    color: #000000;
    text-align: left;
    margin-bottom: 3rem;
}

.more__btn {
    font: 1.8rem/2.6 "Zen Maru Gothic";
    font-weight: 500;
    color: #000000;
    display: flex;
    align-items: center;
    margin-top: 4rem;
    margin-left: 2.5rem;
}

.more__btn--left {
    justify-content: left;
    margin-left: 5rem;
}

.right__arrow {
    background-color: #41956A;
    border-radius: 50%;
    padding: 1.2rem 1.6rem;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.more__btn:hover .right__arrow {
    transform: translateX(0.5rem);
}

.more__btn img {
    width: 1.8rem;
    height: 2.6rem;

}

/* mainvisual */

.section--mainvisual {
    margin-top: 1.5rem;
    margin-left: 8rem;
}

.mainvisual {
    position: relative;
}

.scrollbutton {
    position: absolute;
    width: 33.1rem;
    height: 21.2rem;
    top: 66rem;
    left: -7rem;
    z-index: 2;
    background-image: url('../img/front-page/scrollbutton.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.scrollbutton p {
    font: 2rem/2.9rem "Zen Maru Gothic";
    font-weight: 500;
    color: #FFFFFF;
    text-align: center;
    margin: 9.5rem 0rem 0rem 5rem;
    position: relative;
    padding-left: 9rem;
}

.scrollbutton p::before {
    content: '';
    position: absolute;
    top: -2.2rem;
    left: 6.65rem;
    width: 0.1rem;
    height: 7.5rem;
    background-color: #fff;
    animation: float-line 2s ease-in-out infinite alternate;
}

.scrollbutton p::after {
    content: '';
    position: absolute;
    top: 4.5rem;
    left: 6.38rem;
    width: 0.7rem;
    height: 0.7rem;
    border: solid #fff;
    border-width: 0 0.1rem 0.1rem 0;
    transform: rotate(45deg);
    animation: float-arrow 2s ease-in-out infinite alternate;
}

@keyframes float-line {
    0% {
        top: -2.2rem;
    }

    50% {
        top: calc(-2.2rem - 10px);
    }

    100% {
        top: -2.2rem;
    }
}

@keyframes float-arrow {
    0% {
        top: 4.5rem;
    }

    50% {
        top: calc(4.5rem - 10px);
    }

    100% {
        top: 4.5rem;
    }
}


.mainvisual__textbox {
    font: 3rem/3.5rem "Noto Sans JP";
    font-weight: bold;
    color: #504F4F;
    writing-mode: vertical-rl;
    letter-spacing: 0.8rem;
}

.mainvisual__textright {
    position: absolute;
    top: 4.8rem;
    right: 2.8rem;
    padding: 1rem 1.6rem;
    background-color: #F7D949;
    border-radius: 0.8rem;
}

.mainvisual__textleft {
    position: absolute;
    top: 4.8rem;
    right: 10.1rem;
    padding: 1rem 1.6rem;
    background-color: #F7D949;
    border-radius: 0.8rem;
}

.mainvisual__menu {
    position: absolute;
    top: 39.3rem;
    left: 3.1rem;
    z-index: 3;
}

.mainvisual__menutext {
    font: 1.6rem/2.4rem "Zen Maru Gothic";
    font-weight: 500;
    letter-spacing: 0rem;
    color: #191919;
    background-color: #F7D949;
    text-align: center;
    padding: 0.5rem 12.7rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
}

.mainvisual__buttonbox {
    display: flex;
    border-radius: 1rem;
    gap: 1.5rem;
}

.mainvisual__button {
    width: 16rem;
    height: 11rem;
    background-color: #FFFFFF;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.3rem;
}

.mainvisual__buttonimg {
    width: 5.1rem;
    height: 4.7rem;
}

.mainvisual__buttonimg--big {
    width: 6.2rem;
    height: 4.2rem;
}

.mainvisual__buttontext {
    font: 1.6rem/2.2rem "Zen Maru Gothic";
    font-weight: 500;
    color: #000000;
    text-align: center;
}

/* NEWS */

.section--news {
    padding: 7.5rem 3rem;
}

.news__inner {
    gap: 2rem;
    margin-top: 3rem;
    width: 122rem;
    height: 55rem;
    border-radius: 1rem;
    box-shadow: 0rem 0.3rem 0.6rem #00000029;
    background-color: #FFFFFF;
    padding: 3rem;
    justify-content: space-between;
}

.news__gallery {
    display: flex;
    margin-top: 3rem;
    height: auto;
    gap: 2rem;
}

.news-thumbs-swiper {
    width: 66rem;
    height: 37rem;
    border-radius: 1rem;
    overflow: hidden;
}

.news-thumbs-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    transition: all 0.3s ease-in-out;
}

.news-thumbs-swiper .swiper-slide-active img {
    transform: scale(1.02);
    opacity: 1;
}

.news-main-swiper {
    width: calc(100% - 66rem - 2rem);
    height: 37rem;
    font: 1.6rem/2.4rem "Zen Maru Gothic";
    font-weight: 500;
    color: #000000;
    overflow: hidden;
}

.news-main-swiper .swiper-wrapper {
    flex-direction: column;
}

.news-main-swiper .swiper-slide {
    transition: all 0.3s ease-in-out;
    height: auto !important;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #D8D8D8;
    cursor: pointer;
}

.news-main-swiper .swiper-slide:first-child {
    border-top: 1px solid #D8D8D8;
}

.news-main-swiper .swiper-slide a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.news__date {
    font: 1.4rem/1 "Zen Maru Gothic";
    margin-right: 2rem;
    white-space: nowrap;
}

.news__title {
    font: 1.6rem/1.5 "Zen Maru Gothic";
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news__more {
    text-align: center;
    margin-top: 4rem;
}

.news__more .btn {
    display: inline-block;
    padding: 1.5rem 6rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: opacity 0.3s;
}

.news__more .btn:hover {
    opacity: 0.8;
}


.news-thumbs-swiper {
    width: 66rem;
    height: 37rem;
    border-radius: 1rem;
    overflow: hidden;
}

.news-thumbs-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    transition: all 0.3s ease-in-out;
}

.news-thumbs-swiper .swiper-slide-active img {
    transform: scale(1.02);
    opacity: 1;
}

.news-main-swiper {
    width: calc(100% - 66rem - 2rem);
    height: 37rem;
    font: 1.6rem/2.4rem "Zen Maru Gothic";
    font-weight: 500;
    color: #000000;
    overflow: hidden;
}

.news-main-swiper .swiper-wrapper {
    flex-direction: column;
}

.news-main-swiper .swiper-slide {
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
    height: auto;
    padding: 2.3rem 1rem;
    border-bottom: 0.1rem solid #D8D8D8;
    cursor: pointer;
}


.news-main-swiper .swiper-slide:first-child {
    border-bottom: 0.1rem solid #D8D8D8;
}

.news-main-swiper .swiper-slide a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.news-main-swiper .swiper-slide:hover,
.news-main-swiper .swiper-slide.is-active {
    background-color: #F2EEDE;
    transform: translateX(-0.5rem);
}

.news__date {
    font: 1.6rem/2.4rem "Zen Maru Gothic";
    font-weight: 500;
    margin-right: 2rem;
    white-space: nowrap;
}

.news__title {
    font: 1.6rem/2.4rem "Zen Maru Gothic";
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news__more {
    text-align: center;
    margin-top: 4rem;
}

.news__more .btn {
    display: inline-block;
    padding: 1.5rem 6rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: opacity 0.3s;
}

.news__more .btn:hover {
    opacity: 0.8;
}

/* about */

.section--about {
    padding: 7.5rem 3rem;
    padding-bottom: 30.5rem;
}

.about__inner {
    position: relative;
}

.about__textbox {
    margin-left: 3rem;
    width: 60rem;
}

.about__head {
    font: 3.3rem/4.8rem "Zen Maru Gothic";
    font-weight: 500;
    color: #41956A;
    margin-bottom: 2.5rem;
}

.about__head span {
    letter-spacing: -1.2rem;
    margin-left: -0.4rem;
}

.about__text {
    font: 1.6rem/2.4rem "Zen Maru Gothic";
    font-weight: 500;
    margin-left: 2rem;
    margin-bottom: -1rem;
}

.about__inner .about__picture:nth-child(3) img {
    position: absolute;
    top: -3.3rem;
    right: 29rem;
    width: 27.5rem;
    height: auto;
}

.about__inner .about__picture:nth-child(4) img {
    position: absolute;
    top: 18.8rem;
    right: 0rem;
    width: 27.5rem;
    height: auto;
}

.about__inner .about__picture:nth-child(5) img {
    position: absolute;
    top: 33.3rem;
    right: 29.6rem;
    width: 35.5rem;
    height: 20.6rem;
}


/* service */

.section--service {
    padding: 7.5rem 3rem;
    padding-bottom: 14.6rem;
}

.service__inner {
    display: flex;
    justify-content: space-between;
    margin: 0rem 8rem;
}

.service__pic {
    width: 50rem;
    height: auto;
    overflow: hidden;
    border-radius: 1rem;
}

.service__pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service__item:hover .service__pic img {
    transform: scale(1.05);
}

.more__btn--service {
    margin-top: 2.2rem;
    justify-content: space-between;
    padding-bottom: 0.8rem;
    position: relative;
}

.more__btn--service::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 0.2rem;
    background-color: #41956A;
    transition: width 0.3s ease;
}

.more__btn--service::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.2rem;
    border-bottom: 0.2rem dashed #D8D8D8;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.service__item:hover .more__btn--service::before {
    width: 100%;
}

.service__item:hover .more__btn--service::after {
    opacity: 0;
}

/* information */

.section--information {
    padding: 7.5rem 3rem 7rem 3rem
}

.section--information .section__title {
    margin-bottom: 2rem;
}

.section--information .more__btn {
    margin-top: 3rem;
}

.section--information .section__subtitle {
    margin-bottom: 0.4rem;
}

.information__inner {
    display: flex;
    justify-content: space-between;
    gap: 7.5rem;
    margin-right: 5.5rem;
}

.information__picbg {
    position: relative;
    width: 46rem;
    height: 46rem;
    margin-left: 5rem;
}


.information-thumbs-swiper {
    width: 24rem;
    height: 24rem;
    z-index: 2;
    border-radius: 1rem;
    overflow: hidden;
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.information-thumbs-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.information-thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

.information-thumbs-swiper .swiper-slide-active img {
    transform: scale(1.02);
    opacity: 1;
}

.information-main-swiper {
    width: 57rem;
    height: auto;
    font: 1.6rem/2.4rem "Zen Maru Gothic";
    font-weight: 500;
    color: #000000;
    overflow: hidden;
}

.information-main-swiper .swiper-wrapper {
    flex-direction: column;
    display: flex;
    align-items: center;
}

.information-main-swiper .swiper-slide {
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
    padding: 0;
    border-bottom: 0.1rem solid #41956A;
    cursor: pointer;
}

.information-main-swiper .swiper-slide:first-child a {
    padding-left: 1rem;
}

.information-main-swiper .swiper-slide a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    font: 2rem/2.9rem "Zen Maru Gothic";
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    margin-bottom: 1.2rem;
    padding-left: 1rem;
    padding-right:1rem;
}

.information-main-swiper .swiper-slide:last-child a {
    margin-bottom: 0;
}

.information-main-swiper .swiper-slide a:hover {
    background-color: #F2EEDE;
    transform: translateX(-0.5rem);
}

.information-main-swiper .right__arrow {
    padding: 0.7rem 1rem;
}

/* recruit */

.section--recruit {
    padding: 7.5rem 3rem 3rem 3rem;
}

.section--recruit .section__subtitle {
    margin-bottom: 0.2rem;
}

.section--recruit .section__title {
    margin-bottom: 5rem;
}

.recruit__inner {
    position: relative;
    display: flex;
    gap: 5rem;
    justify-content: space-between;
}

.recruit__textbox {
    margin-left: 3rem;
    width: 59rem;
}

.recruit__picture {
    margin-right: 5.5rem;
    margin-top: -10rem;
    width: 46rem;
    height: 56.5rem;
    object-fit: cover;
}

.recruit__picture img {
    border-radius: 1rem;
}

.recruit__head {
    font: 3.3rem/4.8rem "Zen Maru Gothic";
    font-weight: 500;
    color: #41956A;
    margin-bottom: 4rem;
    margin-left: 2rem;
}

.recruit__text {
    font: 1.6rem/2.4rem "Zen Maru Gothic";
    font-weight: 500;
    margin-bottom: 0.8rem;
    margin-left: 2rem;
}

.recruit__textbox .more__btn--left {
    margin-left: 2rem;
}

/* contact */

.section--contact {
    padding: 5.1rem 5rem 4rem 5rem;
    margin: 11.5rem 8rem 0rem 8rem;
    background-color: #F4A583;
    border-radius: 1rem;
    display: flex;
}

.section--contact .section__title {
    margin-bottom: 0rem;
}

.section--contact .section__subtitle::before {
    color: #fffFFF;
}

.section--contact .right__arrow {
    background-color: #FFFFFF;
}

.section--contact .more__btn--left {
    margin-left: 0rem;
}

.section--contact .more__btn {
    margin-top: 1rem;
}

.contact__inner {
    display: flex;
    align-items: center;
}

.contact__text {
    font: 1.6rem/4rem "Noto Sans JP";
    font-weight: 500;
    margin-left: 4.5rem;
    margin-top: -0.8rem;
    letter-spacing: 0.023rem;
}

/* 以下SP */

@media screen and (max-width: 699.98px) {
    .pc--only {
        display: none !important;
    }

    .sp--only {
        display: flex !important;
    }

    /* 背景 */
    .wrapper__bg1 {
        background-image: url('../img/front-page-sp/newsBG1sp.webp');
        background-size: cover;
        background-repeat: no-repeat;
        width: 100%;
        height: auto;
    }

    .wrapper__bg2 {
        background-image: url('../img/front-page-sp/BG2sp.webp');
        background-size: cover;
        background-repeat: no-repeat;
        width: 100%;
        height: auto;
        padding-bottom: 6.7rem;
    }

    /* main */
    .section__title {
        font: 2rem/2.9rem "Zen Maru Gothic";
        font-weight: 500;
        margin-bottom: 1.5rem;
    }


    /* !mainvisual */

    .mainvisual__img.sp--only {
        width: 36.5rem;
        height: auto;
    }

    .section--mainvisual {
        margin-top: 0rem;
        margin-left: 1rem;
    }

    .mainvisual__textbox {
        font: normal normal bold 1.7rem/2.1rem "Noto Sans JP";
        letter-spacing: 0.42rem;
    }

    .mainvisual__textright,
    .mainvisual__textleft {
        padding: 0.2rem 0.9rem 0.9rem 0.9rem;
    }

    .mainvisual__textright {
        top: 5.6rem;
        right: 1rem;
    }

    .mainvisual__textleft {
        top: 5.6rem;
        right: 5.2rem;
    }

    .mainvisual__menu {
        position: unset;
    }

    .mainvisual__menutext {
        margin-top: 0.9rem;
        margin-right: 1rem;
        padding: 0.3rem 3rem;
        margin-bottom: 0.5rem;
    }

    .mainvisual__buttonbox {
        gap: 1.3rem;
    }

    .mainvisual__button {
        width: 11rem;
        height: 14.2rem;
        background-color: #FFFAE5;
        border-radius: 1rem;
        padding-top: 3rem;
    }

    .mainvisual__buttontext {
        margin-top: 0rem;
    }

    /* !news */
    .section--news {
        padding: 3rem 1rem;
    }

    .news__inner {
        width: 100%;
        height: auto;
        margin-top: 1.5rem;
        padding: 1rem;
    }

    .news__gallery {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
        font-weight: 500;
    }

    .news-thumbs-swiper {
        width: 100%;
        height: 20rem;
    }

    .news-main-swiper {
        width: 100%;
        height: auto;
    }

    .news-main-swiper .swiper-slide {
        padding: 1.5rem 0.5rem;
    }

    .news__date {
        font-size: 1.6rem;
        margin-right: 1rem;
    }

    .news__title {
        font-size: 1.6rem;
    }

    .more__btn {
        margin-top: 2rem;
        margin-left: 8rem;
        justify-content: center;
    }

    /* .about */

    .section--about {
        padding: 2.7rem 1rem 4rem 1rem;
        margin-bottom: 30.5rem;
    }

    .section--about .more__btn {
        margin-left: 0rem;
    }

    .about__textbox {
        width: auto;
        margin-left: 0rem;
    }

    .about__text {
        margin-bottom: -0.9rem;
        margin-left: 0rem;
    }

    .about__head {
        font: 2.2rem/3.2rem "Zen Maru Gothic";
        font-weight: 500;
        margin-bottom: 1.2rem;
        margin-left: -1.4rem;
    }

    .about__head span {
        letter-spacing: -0.9rem;
        margin-left: -0.7rem;
    }

    .about__inner .about__picture.about__picture:nth-child(3) img {
        width: 15rem;
        top: 39.7rem;
        right: 16.5rem;
        height: auto;
    }

    .about__inner .about__picture.about__picture:nth-child(4) img {
        top: 52.2rem;
        right: 0rem;
        width: 15rem;
        border-radius: 1rem;
    }

    .about__inner .about__picture.about__picture.about__picture:nth-child(5) img {
        width: 19rem;
        height: auto;
        border-radius: 1rem;
        top: 60.3rem;
        right: 16.5rem;
    }

    .more__btn--left {
        justify-content: left;
    }

    /* service */

    .section--service {
        padding: 2.7rem 1rem 0rem 1rem;
    }


    .service__inner {
        margin: 0rem 0rem;
        flex-direction: column;
        gap: 2rem;
    }

    .service__pic {
        width: 35.5rem;
    }

    .more__btn--service {
        justify-content: space-between;
        margin-left: 0rem;
    }

    .more__btn--service::after {
        border-bottom: 0.2rem solid #504F4F;
    }

    /* information */
    .section--information {
        margin-top: 6.5rem;
        margin-bottom: 6.3rem;
        padding: 2.5rem 1rem 4.5rem 1rem;
        background-color: #BCD8C5;
    }

    .section--information .more__btn--left {
        margin-left: 0rem;
        margin-top: 2rem;
    }

    .section--information .section__title {
        margin-bottom: 1rem;
        margin-top: -1rem;
    }

    .section--information .more__btn--left {
        margin-bottom: 4.3rem;
    }

    .information__inner {
        margin-right: 0rem;
    }

    .information-main-swiper {
        width: 100%;
    }

    .information-main-swiper .swiper-slide:first-child a {
        padding: 0.5rem 0rem 0.4rem 0rem;
    }

    .information-main-swiper .swiper-slide a {
        padding: 0.5rem 0rem 0.4rem 0rem;
    }

    .information-main-swiper .swiper-slide {
        border-bottom: 0.1rem solid #40956B;
    }

    /* recruit */
    .section--recruit {
        padding: 0rem 1rem 0rem 1rem;
    }

    .section--recruit .section__subtitle {
        margin-bottom: 0rem;
    }

    .section--recruit .section__title {
        margin-bottom: 1rem;
    }
    .recruit__textbox .more__btn--left{
        margin-left:0rem;
    }

    .recruit__inner {
        flex-direction: column;
        gap: 3.7rem;
    }

    .recruit__head {
        font: 2.2rem/3.2rem "Zen Maru Gothic";
        font-weight: 500;
        margin-bottom: 1rem;
        margin-left: 0rem;
    }

    .recruit__textbox {
        margin-left: 0rem;
        width: 100%;
    }

    .recruit__text {
        margin-bottom: 0rem;
        margin-left: 0rem;
    }

    .recruit__picture {
        width: 35.5rem;
        height: 30rem;
        margin-top:0rem;
    }

    /* !contact */
    .section--contact {
        margin: 3.6rem 1rem 0.8rem 1rem;
        padding: 2.5rem 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact__text {
        font: 1.6rem/3rem "Noto Sans JP";
        font-weight: 500;
        letter-spacing: 0.032rem;
        margin-left: 0rem;
    }

    .section--contact .more__btn {
        margin-top: 0rem;
    }
}