@charset "UTF-8";

/*
Theme Name: yupi
*/

body,
html {
    margin: 0;
}

body {
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    src: url("..assets/font/NotoSansJP-Regular.woff") format("woff");
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.en {
    font-family: "Montserrat", sans-serif;
    src: url("..assets/font/Montserrat-Medium.woff") format("woff");
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

a {
    text-decoration: none;
}

.sp {
    display: none;
}

.flex {
    display: flex;
}

/* ヘッダー */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7vw;
}

header h1 {
    font-size: 2.5em;
}

header h1 a {
    color: #2F3252;
}

header nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
}

header nav ul li {
    margin-right: 2rem;
}

header nav ul li:last-child {
    margin-right: 0;
}

header nav ul li a {
    color: #2F3252;
    font-size: 1em;
    transition: 0.3s;
}

header nav ul li a:hover {
    opacity: 0.5;
}

/* セクション */

section:not(#mv) {
    padding: 100px 20px;
}

section.black {
    background: #2F3252;
}

section .wrapper {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    box-sizing: border-box;
}

section .title {
    font-size: 2em;
    color: #2F3252;
}

section.black .title,
section.black p {
    color: #fff;
}

/* フッター */

footer {
    background: #2F3252;
}

footer p {
    text-align: center;
    color: #fff;
    padding: 1rem 0;
    margin: 0;
    font-size: 0.7em;
}

/* newsセクション */

.no_news {
    color: #2F3252;
}

/* aboutセクション */

#about .wrapper p {
    line-height: 2;
    letter-spacing: 0.1px;
}

#about .btn-wrap {
    display: flex;
    justify-content: end;
    margin-top: 1rem;
}

#about .btn-wrap a {
    color: #fff;
    border: 1px solid #fff;
    font-size: 1em;
    padding: 0.8rem 2rem;
    border-radius: 5px;
}

/* worksセクション */

#works .wrapper p {
    color: #2F3252;
}

/* serviceセクション */

#service .wrapper p {
    line-height: 2;
    letter-spacing: 0.1px;
}

#service .wrapper .content {
    display: flex;
    margin-top: 2rem;
}

#service .wrapper .content .box {
    width: calc(33.33% - 13px);
    margin-right: 20px;
    background: #fff;
    border-radius: 10px;
}

#service .wrapper .content .box:nth-child(3) {
    margin-right: 0;
}

#service .wrapper .content .box p {
    color: #2F3252;
}

#service .wrapper .content .box .subtitle {
    text-align: center;
    border-bottom: 1px solid #2F3252;
    width: fit-content;
    margin: 1rem auto;
    font-weight: bold;
}

#service .wrapper .content .box p:not(.subtitle) {
    padding: 0 20px;
    font-size: 0.8em;
}

/* contactセクション */

.grecaptcha-badge {
    visibility: hidden;
}

.contact-form-wrap .recaptcha {
    font-size: 0.7em;
    color: #fff;
}

.contact-form-wrap .recaptcha a {
    color: #fff;
    border-bottom: 1px solid #fff;
}

.contact-form-wrap {
    background: #2F3252;
    border-radius: 10px;
}

.contact-form-wrap .content {
    padding: 1rem 5rem 2rem 5rem;
}

.contact-form-wrap p {
    margin: 0;
}

.contact-form-wrap .item_wrap {
    margin: 1.5rem 0;
}

.contact-form-wrap .item_title {
    margin-bottom: 10px;
}

.contact-form-wrap .item_title p {
    color: #fff;
}

.contact-form-wrap input:not(.wpcf7-submit) {
    width: 35%;
    height: 3rem;
    border: none;
    padding: 0 0.5rem;
    border-radius: 5px;
}

.contact-form-wrap textarea {
    width: 98%;
    height: 10rem;
    border: none;
    padding: 0 0.5rem;
    border-radius: 5px;
}

.contact-form-wrap .submit-btn {
    margin: 2rem 0 1rem 0;
}

.contact-form-wrap .submit-btn input {
    color: #fff;
    background: none;
    border: 1px solid #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
}

.wpcf7 form .wpcf7-response-output {
    border: none !important;
    color: #dc3232;
    text-align: center;
    margin: 1em 0 !important;
    padding: 0 !important;
}

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

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    section:not(#mv) {
        padding: 60px 20px;
    }

    header h1 {
        margin: 1rem 0;
    }

    .checkbox {
        display: none;
    }

    .header__menuTrigger {
        height: 2rem;
    }

    .menu-trigger {
        position: relative;
        width: 2rem;
        height: 2rem;
        cursor: pointer;
        z-index: 200;
        display: block;
    }

    .menu-trigger span {
        content: '';
        display: block;
        height: 2px;
        width: 23px;
        background: #2F3252;
        transition: 0.3s;
        position: absolute;
        top: 0;
    }

    .menu-trigger span:nth-child(1) {
        top: 20%;
    }

    .menu-trigger span:nth-child(2) {
        top: 50%;
    }

    .menu-trigger span:nth-child(3) {
        top: 80%;
    }

    #drawer-check:checked~.menu-trigger span:nth-child(2) {
        opacity: 0;
    }

    #drawer-check:checked~.menu-trigger span:nth-child(1) {
        transform: rotate(45deg);
        background: #fff;
        top: 50%;
    }

    #drawer-check:checked~.menu-trigger span:nth-child(3) {
        transform: rotate(-45deg);
        background: #fff;
        top: 50%;
    }

    .header-gnav_wrap {
        width: 100%;
        height: 100vh;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 99;
        background: #2F3252;
        padding-top: 6rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s, visibility 0.5s;
    }

    #drawer-check:checked~.header-gnav_wrap {
        opacity: 1;
        visibility: visible;
    }

    .header-gnav_wrap .header-gnav__item {
        color: #fff;
        width: fit-content;
        display: block;
        margin: 0 auto 3rem;
    }

    /* aboutセクション */

    #about .wrapper p {
        line-height: 2.3;
        font-size: 0.9em;
    }

    /* serviceセクション */

    #service .wrapper p {
        line-height: 2.3;
        font-size: 0.9em;
    }

    #service .wrapper .content {
        display: block;
        margin-top: 2rem;
    }

    #service .wrapper .content .box {
        width: 80%;
        margin: 0 auto 2rem !important;
        padding: 0.5rem 1rem;
        background: #fff;
        border-radius: 10px;
    }

    /* contactセクション */

    .contact-form-wrap .content {
        padding: 1rem 1.5rem 2rem 1.5rem;
    }

    .contact-form-wrap .item_wrap {
        margin: 1.5rem 0;
    }

    .contact-form-wrap .item_title {
        margin-bottom: 10px;
    }

    .contact-form-wrap input:not(.wpcf7-submit) {
        width: 94%;
        height: 3rem;
        border: none;
        padding: 0 0.5rem;
        border-radius: 5px;
    }

    .contact-form-wrap textarea {
        width: 94%;
        height: 10rem;
        border: none;
        padding: 0 0.5rem;
        border-radius: 5px;
    }

    .contact-form-wrap .submit-btn {
        margin: 2rem 0 1rem 0;
    }

    .contact-form-wrap .submit-btn input {
        color: #fff;
        background: none;
        border: 1px solid #fff;
        padding: 0.5rem 1.2rem;
        border-radius: 5px;
    }

    .wpcf7 form .wpcf7-response-output {
        border: none !important;
        color: #dc3232;
        text-align: center;
        margin: 1em 0 !important;
        padding: 0 !important;
    }

}