/*
Theme Name: BlankSlate Child
Template: blankslate
*/

html {
    font-size: 62.5%;
    font-family: "Noto Sans JP", sans-serif;
}

.SiteWrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    overflow-x: hidden;
}

.sp {
    display: none;
}

.pc {
    display: block;
}

@media screen and (max-width:768px) {
    .sp {
        display: block;
    }

    .pc {
        display: none;
    }
}

.common_h2 span {
    font-size: clamp(5rem, 6.3vw, 9rem);
}

/* footer */
.footer {
    padding-block: 3rem;
    display: flex;
    justify-content: center;
    background-color: #454545;
    margin-top: 5rem;
}

.footer small {
    color: #ffffff;
    font-size: 1.3rem;
}

/* header */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding-block: 2rem;
    border-bottom: 3px solid #000000;
    box-shadow: 3px 3px 6px #bdbdbd;
    z-index: 100;
    background-color: #ffffff;
}

.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 120rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.logo {
    display: block;
    max-width: 18rem;
    width: 100%;
}

.header_menu_list {
    display: flex;
    align-items: center;
}

.header_menu_item:not(:last-child) {
    margin-right: 2rem;
}

.header_menu_item a {
    position: relative;
    font-size: 1.6rem;
    letter-spacing: 1px;
    opacity: 1;
    transition: all 0.3s;
    border-bottom: 0 solid #000000;
    padding-bottom: 0.3rem;
    color: #454545;
}

.header_menu_item a:hover {
    opacity: 1;
    color: #000000;
    border-bottom: 3px solid #000000;
}

@media screen and (max-width:768px) {
    .logo {
        max-width: 12rem;
    }
}

@media screen and (max-width:425px) {
    .logo {
        max-width: 10rem;
    }

    .header_menu_item:not(:last-child) {
        margin-right: 1.3rem;
    }

    .header_menu_item a {
        font-size: 1.4rem;
        letter-spacing: unset;
    }
}

main {
    margin-top: 8.5rem;
}

@media screen and (max-width:768px) {
    main {
        margin-top: 7.1rem;
    }
}

@media screen and (max-width:425px) {
    main {
        margin-top: 6.6rem;
    }
}

/* fv */
.fv {
    position: relative;
    height: calc(100vh - 8.5rem);
}

.fv_inner {
    position: relative;
    display: flex;
    height: 100%;
}

.fv_img,
.fv_text_inner {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fv_img {
    background-image: url(./images/fv.webp);
    background-size: cover;
    background-repeat: no-repeat;
}

.fv_text_inner {
    align-items: center;
    justify-content: center;
}

.fv_text {
    background-color: #3f869a;
    padding-inline: 2rem;
    padding-block: 5rem;
    color: #ffffff;
}

.fv_title span {
    display: block;
    line-height: 1.2;
    font-size: clamp(4rem, 6.2vw, 7rem);
}

.fv_sent {
    margin-top: 2rem;
}

.fv_sent p {
    font-size: clamp(1.4rem, 1.5vw, 2rem);
    line-height: 1.8;
}

@media screen and (max-width:768px) {

    .fv {
        height: calc(100vh - 7.1rem);
    }

    .fv_inner {
        flex-direction: column;
    }

    .fv_text_inner {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding-inline: 1.5rem;
    }

    .fv_text {
        background-color: #3f869a90;
        text-align: center;
    }
}

@media screen and (max-width:425px) {
    .fv {
        height: calc(100vh - 6.6rem);
    }
}

/* about */
.about {
    padding-block: 5rem;
    background-color: #ffffff;
}

.about_inner {
    max-width: 120rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.about_list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0 2rem;
}

.about_item {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 1.5rem;
}

.about_img {
    display: flex;
    justify-content: center;
}

.about_img img {
    max-width: 19.6rem;
    width: 100%;
}

.about_h3 {
    text-align: center;
    margin-top: 2rem;
}

.about_h3 span {
    font-size: 2.2rem;
}

.about_text {
    margin-top: 2rem;
}

.about_text p {
    font-size: 1.6rem;
    line-height: 1.8;
}

@media screen and (max-width:768px) {
    .about_list {
        flex-direction: column;
        gap: 3rem 0;
    }
}

/* service */
.service {
    padding-block: 5rem;
    background-color: #ffffff;
}

.service_inner {
    max-width: 120rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.service_list {
    margin-top: 5rem;
}

.service_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0 3rem;
    margin-top: 8rem;
}

.service_item:first-child {
    margin-top: 0;
}

.service_item:nth-child(even) {
    flex-direction: row-reverse;
}

.service_text {
    display: flex;
    flex-direction: column;
    flex: 1.5;
}

.service_img {
    display: flex;
    flex: 1;
    justify-content: center;
}

.service_img img {
    max-width: 27rem;
    width: 100%;
}

.service_h3 span {
    font-size: 3rem;
}

.service_num span {
    font-size: 5rem;
    color: #cff5ff;
    font-weight: bold;
}

.service_sent {
    margin-top: 2rem;
}

.service_sent p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-top: 1.5rem;
}

.service_sent p:first-child {
    margin-top: 0;
}

@media screen and (max-width:768px) {

    .service_item,
    .service_item:nth-child(even) {
        flex-direction: column-reverse;
    }

    .service_h3 span {
        font-size: 2.3rem;
    }
}

/* company */
.company {
    padding-block: 5rem;
    background-color: #ffffff;
}

.company_inner {
    max-width: 120rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.company_table {
    border-collapse: collapse;
    max-width: 70rem;
    width: 100%;
    margin-inline: auto;
    margin-top: 5rem;
}

.company_table tr {
    border-bottom: 1px #dddddd solid;
}

.company_table th,
.company_table td {
    padding-block: 2rem;
    font-size: 1.8rem;
    align-content: baseline;
}

.company_table td {
    padding-left: 2rem;
}

@media screen and (max-width:768px) {
    .company_table th {
        width: 8rem;
    }
}

/* contact */
.contact {
    padding-block: 5rem;
    background-color: #ffffff;
}

.contact_inner {
    max-width: 120rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.contact_caution {
    margin-top: 3rem;
}

.contact_caution p {
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: center;
}

.hidden-fields-container {
    display: none;
}

.wpcf7 {
    margin-top: 5rem;
    max-width: 70rem;
    width: 100%;
    margin-inline: auto;
}

.field__label {
    font-size: 1.8rem;
}

input,
select {
    font-size: 1.6rem;
    padding: 1rem 2rem;
    max-width: 100%;
}

textarea {
    width: 100%;
    font-size: 1.6rem;
    padding: 1rem 2rem;
    max-width: 100%;
}

.field:not(:first-child) {
    margin-top: 2rem;
}

.contact_submit {
    margin-top: 3rem;
}

.contact_submit p {
    text-align: center;
}

.submit_btn {
    background-color: #454545;
    color: #ffffff;
    padding: 1rem 3rem;
}

@media screen and (max-width:768px) {
    section:not(.fv) {
        padding-top: 6rem;
        padding-bottom: 0;
    }
}