@charset "UTF-8";

/* content */
.top #content {
    margin-bottom: 0;
}

/* cover */
#top-cover {
    z-index: 9999;
    position: relative;
    display: block;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
#top-cover-content {
    position: fixed;
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, var(--color_main), var(--color_main_hover), #415a77, var(--color_main));
    background-size:400% 400%;
    animation:waveGradient 10s ease infinite; z-index:-1;
}
@keyframes waveGradient { 
    0%{background-position:0% 50%;} 
    50%{background-position:100% 50%;} 
    100%{background-position:0% 50%;} 
}
#top-cover-content img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
}

/* hero */
.l-header__bar {
    background: transparent;
}
.p-mainVisual__textLayer {
    padding: 3vw;
}
.p-mainVisual__slideTitle,
.p-mainVisual__slideText {
    text-shadow: 0px 0px 5px #111;
}
.p-mainVisual__slideTitle {
    text-align: left;
    font-size: 13vw;
    font-weight: bold;
    line-height: 1em;
}
.p-mainVisual__slideText {
    text-align: left;
    font-size: 2.5vw;
    margin-left: 0.5em;
}

/* topics */
.top #content {
    padding-top: 0;
}
.swell-block-fullWide.top-topics+.swell-block-fullWide {
    margin-top: 0;
}
.top-topics .p-blogCard {
    max-width: 90vw;
}
.top-topics .p-blogCard__inner {
    align-items: start;
}
@media not all and (min-width: 960px) {
    .p-blogCard__excerpt {
        display: inherit;
    }
}
@media (min-width: 600px) {
    .top-topics .p-blogCard__title {
        /* font-size: 1.8vw; */
        font-size: clamp(16px, 1.8vw, 30px);
    }
    .top-topics .p-blogCard__excerpt {
        /*font-size: 1.4vw; */
        font-size: clamp(13px, 1.4vw, 20px);
    }
    .top-topics .p-blogCard__thumb {
        width: 50%;
    }
}
@media (max-width: 599px) {
    .top-topics .p-blogCard__inner {
        display: inherit;
    }
    .top-topics .p-blogCard__thumb {
        width: 100%;
    }
    .top-topics .p-blogCard__body {
        padding: 10px 0;
    }
    .top-topics .p-blogCard__excerpt {
        margin-top: 10px;
        font-size: 2.5vw;
    }
}

/* lead */
#main_content .top-lead {
    font-size: 2vw;
}
#main_content .top-lead .swell-block-columns__inner {
    justify-content: center;
}
@media (min-width: 600px) {
    #main_content .top-lead .top-lead-box1 {
        width: 30%;
    }
    #main_content .top-lead .top-lead-box2 {
        width: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
#main_content .top-lead .top-lead-textline {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
#main_content .top-lead .top-lead-textline.visible {
    opacity: 1;
    transform: translateY(0);
}

/* service */
#main_content .top-service {
    color: #fff;
    background: linear-gradient(135deg, var(--color_main), var(--color_main_hover), #415a77, var(--color_main));
    background-size:400% 400%;
    animation:waveGradient 10s ease infinite;
}
#main_content .top-service .wp-block-media-text {
    padding: 5vw;
}
#main_content .top-service .wp-block-media-text__content {
    margin-right: -40vw;
}
#main_content .top-service .wp-block-media-text p .swl-fz.u-fz-xl {
    font-weight: bold;
    font-size: 9vw !important;
    line-height: 1;
    letter-spacing: -0.5vw;
    /* text-shadow: 8px 8px 8px rgb(0 0 0 / 0.3); */
}
#main_content .top-service .wp-block-media-text p.has-large-font-size {
    font-size: 4vw !important;
    margin-bottom: 0.7vw;
}
#main_content .top-service .wp-block-media-text p:not(.has-large-font-size) {
    font-size: 1.5vw !important;
}
#main_content .top-service .wp-block-media-text .swell-block-button__link {
    margin-top: 1.5vw !important;
    font-size: 1.5vw;
    padding: 0.8vw;
}
#main_content .top-service .wp-block-media-text__media img {
    border-radius: 1vw;
}
@media (max-width: 599px) {
    #main_content .top-service .wp-block-media-text p.has-large-font-size {
        font-size: 6vw !important;
    }
    #main_content .top-service .wp-block-media-text p:not(.has-large-font-size) {
        font-size: 3vw !important;
    }
    #main_content .top-service .wp-block-media-text .swell-block-button__link {
        font-size: 4vw;
        padding: 1vw 14vw;
    }
}

/* works */
#main_content .top-works {
    background-color: var(--color_main)!important;
    color: #fff;
}
#main_content .top-works p.has-text-align-right > span.swl-fz.u-fz-xl {
    font-weight: bold;
    font-size: 9vw !important;
    line-height: 1;
    letter-spacing: -0.5vw;
    margin-right: 5vw;
}
#main_content .top-works .-type-card .p-postList__item:hover .p-postList__body {
    opacity: 1;
}
#main_content .top-works .p-postList__link:hover .c-postThumb:before{
    opacity: 0;
}
#main_content .top-works .is-style-more_btn a {
    background-color: var(--color_main);
    color: #fff;
}
#main_content .top-works .is-style-more_btn a:hover {
    background-color: var(--color_main_hover);
    box-shadow: 0 0 0 1px #fff;
}
@media (min-width: 600px) {
    #main_content .top-works .p-postList.-type-card {
        justify-content: center;
    }
    #main_content .top-works .-type-card.-pc-col2 > .p-postList__item {
        width: 40vw;
        padding: 3vw;
        height: fit-content;
    }
    #main_content .top-works .-type-card.-pc-col2 > .p-postList__item:nth-child(2) {
        margin-top: 20vw;
    }
    #main_content .top-works .-type-card.-pc-col2 > .p-postList__item:nth-child(3) {
        margin-top: -10vw;
    }
    #main_content .top-works .-type-card.-pc-col2 > .p-postList__item:nth-child(4) {
        margin-top: 10vw;
    }
    #main_content .top-works .-type-card .p-postList__title {
        font-size: 1.5vw;
    }
    #main_content .top-works .-type-card .p-postList__thumb {
        border-radius: 1vw;
    }
    #main_content .top-works .is-style-more_btn a {
        font-size: 1.5vw;
        padding: 0.8vw;
    }
}

/* news */
#main_content .top-news p.has-text-align-center > span.swl-fz.u-fz-xl {
    font-weight: bold;
    font-size: 9vw !important;
    line-height: 1;
    letter-spacing: -0.5vw;
    margin-bottom: 5vw;
    display: block;
}
@media (min-width: 600px) {
    #main_content .top-news .p-postList__body > h2 {
        font-size: 1.2vw;
    }
    #main_content .top-news .-type-card .p-postList__thumb {
        border-radius: 1vw;
    }
    #main_content .top-news .is-style-more_btn a {
        font-size: 1.5vw;
        padding: 0.8vw;
    }
}

/* member */
#main_content .top-member {
    margin-bottom: 0;
    padding-bottom: 0 !important;
}

/* contact */
#main_content .top-contact {
    padding-top: 30vw !important;
    color: #fff;
    /* background-color: var(--color_main)!important; */
    background: linear-gradient(135deg, var(--color_main), var(--color_main_hover), #415a77, var(--color_main));
    background-size:400% 400%;
    animation:waveGradient 10s ease infinite;
}
#main_content .top-contact p.has-text-align-center > span.swl-fz.u-fz-xl {
    font-weight: bold;
    font-size: 9vw !important;
    line-height: 1;
    letter-spacing: -0.5vw;
}
#main_content .top-contact h1,
#main_content .top-contact .post_content h1 {
    font-size: 4vw;
    margin-top: 1vw !important;
    font-weight: 400;
    margin-bottom: 8vw;
}
#main_content .top-contact .mark_yellow {
    background: linear-gradient(transparent 64%, var(--color_main_hover) 0%);
}
#main_content .top-contact .swell-block-button a:hover,
#main_content .top-contact .swell-block-button a:focus {
    background-color: var(--color_main_hover);
}
#main_content .top-contact > div > p:not(.u-mb-ctrl.u-mb-0) {
    font-size: 4vw;
}
#main_content .top-contact > div > p:not(.u-mb-ctrl.u-mb-0):nth-child(5) {
    font-size: 5vw;
}
#main_content .top-contact .swell-block-button a {
    box-shadow: none;
    border: solid #fff;
}
@media (min-width: 600px) {
    #main_content .top-contact {
        padding-top: 15vw !important;
        padding-bottom: 12vw !important;
    }
    #main_content .top-contact h1,
    #main_content .top-contact .post_content h1 {
        margin-bottom: 3vw;
    }
    #main_content .top-contact > div > p:not(.u-mb-ctrl.u-mb-0) {
        font-size: 1.3vw;
    }
    #main_content .top-contact > div > p:not(.u-mb-ctrl.u-mb-0):nth-child(5) {
        font-size: 1.6vw;
    }
    #main_content .top-contact .swell-block-button a {
        font-size: 2vw;
        padding: 1.2vw;
    }
}

/* スクロールしたら表示させる */
.hidden-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.visible-section {
    opacity: 1;
    transform: translateY(0);
}

/* sp */
@media (max-width: 599px) {

    #main_content .top-lead .top-lead-box2 {
        padding-bottom: 80px;
    }
    #main_content .top-lead p {
        font-size: 3.8vw;
    }
    
    #main_content .top-report .p-postList.-type-card .p-postList__item {
        margin-bottom: 0;
    }
    #main_content .top-report .p-postList.-type-card .p-postList__item .p-postList__body {
        display: none;
    }

}
