@charset "utf-8";

main {
    background: #f9faf3;
}

.p-fv {
    background: linear-gradient(180deg, #fff 0%, #fff 50%, #f9faf3 50%, #f9faf3 100%);
    padding-top: 1rem;
}

.p-fv_inner {
    width: 95%;
    margin-left: 0;
    margin-right: auto;
    position: relative;
    padding-bottom: 50px;
}

.p-fv-conts {
    position: relative;
    width: 100%;
    height: 6rem;
    overflow: hidden;
    border-radius: 0 .4rem .4rem 0;
}

.p-fv-conts-news-label {
    letter-spacing: .06em;
}

.p-fv-conts-ttl {
    position: absolute;
    bottom: 100px;
    left: 0;
    z-index: 2;
    padding: 0 .5rem;
    display: grid;
    gap: .2rem;
    color: #fff;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

.p-fv-conts-slider {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.p-fv-conts-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-fv-conts-news {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 50%;
    height: 100px;
    background: #fff;
    border-radius: 0 .25rem .25rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .1rem;
    padding: 0 .5rem;
}

.p-fv-conts-news-slider {
    width: 100%;
    height: 20px;
    overflow: hidden;
}

.p-fv-conts-news-slider .swiper-slide {
    height: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.p-fv-conts-news-slider a {
    display: flex;
    gap: .1rem;
    white-space: nowrap;
    overflow: hidden;
}

.p-fv-conts-news-slider a .title {
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
}

.p-intro {
    padding: 1.5rem 0;
    background: #f9faf3;
}

.p-intro .c-inner {
    display: grid;
    place-items: center;
    gap: .6rem;
}

.p-intro-conts {
    display: grid;
    gap: .3rem;
    width: fit-content;
    place-items: center;
}

.p-intro-conts-ttl::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: #000;
    margin: .15rem auto;
}

.p-solution {
    background: #f9faf3;
    border-radius: 0 0 .7rem .7rem;
}

.p-solution .c-inner {
    display: grid;
    gap: .6rem;
}

.p-solution-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .3rem;
}

.p-solution-list a {
    display: grid;
    gap: .1rem;
}

.p-solution-list .c-circle-btn::before {
    top: auto;
}

.p-solution-list .c-circle-btn::after {
    top: auto;
    bottom: 20px;
}

.p-seminar_pic {
    padding: 1.5rem 0;
}

.p-seminar_pic figure {
    overflow: hidden;
    height: 60vh;
}

.p-seminar_pic figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-seminar {
    display: grid;
    gap: .6rem;
    background: #f9faf3;
    /*background-image: linear-gradient(90deg, #d5d5d5 1px, transparent 1px);
    background-size: 3.8rem 100%;
    background-position: center top;*/
    padding-bottom: 1.5rem;
}

.p-seminar-conts {
    display: grid;
    gap: .6rem;
    background: #fff;
    border-radius: .3rem;
    padding: .5rem;
}

.p-seminar .c-secttl {
    display: grid;
}

.p-seminar-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
}

.p-seminar-list a {
    display: grid;
    padding-right: 50px;
}

.p-seminar-list a .date {
    color: #80c269;
}

.p-seminar-link {
    text-decoration: underline;
    text-align: right;
}

.p-seminar-btn {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem;
}

.p-seminar-btn a {
    display: grid;
    gap: .1rem;
    color: #fff;
    border-radius: .3rem;
    padding: .3rem .5rem;
}

.p-seminar-btn a:first-child {
    background: #217adb;
}

.p-seminar-btn a:last-child {
    background: #98b658;
}

.p-seminar-btn .c-circle-btn::before {
    right: 20px;
    --icon-img: url(../img/common/bg_ico02.png);

}

.p-seminar-btn .c-circle-btn:hover::before {
    right: 10px;
    transition: all .2s;
}

.p-seminar-btn .c-circle-btn::after {
    --arrow-right: 40px;
}

.p-seminar-btn .c-circle-btn:hover::after {
    --arrow-right: 30px;
    transition: all .2s;
}

.p-about {
    position: relative;
    background: #fff;
    padding: .5rem 0 1rem;
}

.p-about::before {
    content: '';
    width: 30%;
    height: calc(100% - .5rem);
    background: #f4f7e3;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 0 1.5rem 1.5rem;
}

.p-about::after {
    content: '';
    width: 75%;
    height: 50%;
    background: url(../img/top/about_bg.jpg) no-repeat center center / cover;
    position: absolute;
    bottom: 1.6rem;
    right: 0;
    border-radius: .6rem 0 0 .6rem;
}

.p-about .c-inner {
    display: grid;
    position: relative;
    z-index: 1;
}

.p-about .c-secttl {
    display: grid;
}

.p-about-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .4rem;
    padding: 2rem 0;
}


.p-about-list a {
    display: flex;
    gap: .4rem;
    border-radius: .2rem;
    overflow: hidden;
    position: relative;
    padding-right: 30px;
    background: #fff;
}

.p-about-list a figure {
    flex: 0 0 40%;
}

.p-about-list a figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-about-list a .p-about-lists__txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .05rem;
}

.p-about-list a .c-icoARW {
    right: 15px;
}

.p-about-list a:hover .c-icoARW {
    right: 10px;
}

.p-contact {
    padding: .5rem 0;
    background: url(../img/top/contact_bg.jpg) no-repeat right center / cover;
}

.p-contact-blc {
    width: 40%;
    aspect-ratio: 1;
    background: linear-gradient(to bottom, #e6de50, #cde7ab, #8acbcd);
    border-radius: .2rem;
    padding: .2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.p-contact-blc::after {
    content: '';
    display: block;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-radius: .15rem;
    background: #fff;
    position: absolute;
    top: 4px;
    left: 4px;
}

.p-contact-blc__txt {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .3rem;
    text-align: center;
}

.p-contact-blc__btn {
    display: grid;
    gap: .2rem;
}

.p-contact-blc__btn .c-btnL {
    --btn-border-width: 1px;
}

.p-contact-blc__btn .c-btnL::after {
    --btn-grad-hover: #000;
}

.p-contact-blc__btn .c-btnL:hover {
    --btn-border-width: 4px;
}

.p-contact-blc__btn .c-btnL:hover::after {
    --btn-grad-hover: linear-gradient(45deg, #e6de50, #cde7ab, #8acbcd);
}

@media only screen and (max-width: 1024px) {
    .p-fv {
        padding-top: 1.2rem;
    }

    .p-fv-conts {
        height: 7rem;
    }

    .p-fv_inner {
        padding-bottom: 70px;
    }

    .p-fv-conts-ttl {
        bottom: 70px;
        padding: 0 .2rem;
        gap: .3rem;
    }

    .p-fv-conts-news {
        width: 85%;
        height: 120px;
        padding: .3rem .2rem;
        gap: 0;
    }

    .p-fv-conts-news-slider a {
        white-space: normal;
    }

    .p-fv-conts-news-slider {
        height: auto;
    }

    .p-intro {
        padding: 1rem 0;
    }

    .p-solution .c-secttl {
        display: grid;

    }

    .p-solution-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .p-seminar_bg {
        height: 50vh;
    }

    .p-seminar-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .p-seminar-btn {
        grid-template-columns: repeat(1, 1fr);
    }

    .p-seminar-btn a {
        padding-right: 1.5rem;
    }

    .p-seminar_pic figure {
        height: 30vh;
    }

    .p-about {
        padding: 1rem 0;
    }

    .p-about::before {
        width: 70%;
    }

    .p-about-list {
        grid-template-columns: repeat(1, 1fr);
        padding: 1rem 0;
    }

    .p-seminar-btn a {
        min-height: 4rem;
        place-content: center;
    }

    .p-contact {
        padding: 1rem 0;
    }

    .p-contact-blc {
        width: 100%;
        padding: .5rem;
        aspect-ratio: auto;
    }
}