/* ============================
    固定ページ
============================ */
.grecaptcha-badge {
    bottom: 14px !important;
    opacity: 0.6;
}
.main.page{
    width: 100%;
    padding: 150px 0;
    background: linear-gradient(
        to right,
        #FFFFFF 0%,
        #F1FCFB 40%,
        #E4FDFF 89%
    );
    position: relative;
    overflow: hidden;
}
.main.page::before{
    position: absolute;
    display: block;
    content: "";
    background-image: url(../img/ttl_background_image.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 476px;
    height: 274px;
    top: 100px;
    right: -20px;
}
/* 固定ページタイトル */
.sub_page_fv{
    width: 100%;
    /* height: 100vh; */
    height: 96vh;
}
.sub_page_ttl{
    font-size: 4rem;
    font-size: clamp(3rem, calc(1.2rem + 2.5vw), 4.2rem);
    line-height: 2;
    padding: 0 0 0 2em;
}
.sub_page_ttl span{
    font-size: 1.6rem;
    padding: 0 0 0 34px;
    display: block;
    color: var(--green);
    letter-spacing: 0.06em;
    font-weight: 600;
    position: relative;
}
.sub_page_ttl span::before{
    position: absolute;
    content: "";
    display: block;
    background-color: var(--green);
    width: 22px;
    height: 1px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.scrollbar_text {
    bottom: 25%;
    left: 46px;
    transform: translateX(-50%);
    position: relative;
    /* left: 16px; */
}
.mainvisual{
    width: 100%;
    justify-content: space-between;
    margin: 70px auto 0;
}
.image_container {
    max-width: 1311px;
    width: 100%;
    aspect-ratio: 1311 / 539; /* 1.625 と指定してもOK */
    overflow: hidden;
}
.image_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
h2{
    font-size: 4.2rem;
    font-size: clamp(2.4rem, calc(1.2rem + 2.5vw), 4.2rem);
    color: var(--dark_green);
    text-align: center;
    position: relative;
    padding: 0 0 24px;
}
h2::after{
    position: absolute;
    display: block;
    content: "";
    background-image: url(../img/wave.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    width: 48px;
    height: 14px;
}
h3{
    font-size: 2.6rem;
}
h3.green{
    padding: 0 0 0 1em;
    position: relative;
    color: var(--green);
    font-size: clamp(2rem, calc(1.2rem + 2.5vw), 2.6rem);
}
h3.green::before{
    position: absolute;
    display: block;
    content: "";
    background-image: url();
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
}
h4{
    font-size: 2.2rem;
}
.band_ttl{
    display: inline-block;
    width: 100%;
    text-align: center;
    color: var(--white);
    background-color: var(--dark_green);
    padding: 12px 0;
    border-radius: 8px;
}
table{
    width: 100%;
}
tr{
    width: 100%;
}
th,td{
    letter-spacing: 0.06em;
}
th{
    text-align: start;
}

/* コンテンツ */
.border_table tr{
    border-bottom: 2px solid var(--border_gray);
}
.border_table th{
    width: 20%;
    position: relative;
    padding: 1em 1em 1em .5em;
    font-weight: bold;
}
.border_table th::before{
    position: absolute;
    display: block;
    content: "";
    left: 0;
    bottom: -2px;
    width: 1em;
    height: 2px;
    z-index: 5;
    background-color: var(--dark_green);
}
.border_table td{
    width: 80%;
    padding: 1em;
    line-height: 1.8;
}

.border_none_table{
    max-width: 440px;
    width: 100%;
}
.border_none_table th{
    width: 20%;
    padding: 0.8em 0.8em 0.8em 0;
}
.border_none_table td{
    width: 80%;
    padding: 0.8em;
}

.include_bg_image{
    position: relative;
    z-index: 10;
}
.include_bg_image.bg_image_01::before{
    position: absolute;
    display: block;
    content: "";
    width: 150%;
    height: 500px;
    background-image: url(../img/background_image_01.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.include_bg_image.bg_image_02::before{
    position: absolute;
    display: block;
    content: "";
    width: 150%;
    height: 800px;
    background-image: url(../img/background_image_02.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: -1;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -60%);
}
.include_bg_image.bg_image_03::before{
    position: absolute;
    display: block;
    content: "";
    width: 150%;
    height: 800px;
    background-image: url(../img/background_image_03.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: -1;
    top: -45%;
    left: 50%;
    transform: translate(-50%, 0);
}



/* ============================
    会社案内
============================ */
.introduction{
    max-width: 990px;
    width: 100%;
    margin: 0 auto;
    justify-content: space-between;
}
.introduction img{
    max-width: 400px;
    width: 100%;
}
.message{
    max-width: 542px;
    width: 100%;
    padding: 0 0 0 1em;
}
.message p{
    font-size: 1.5rem;
    line-height: 1.8;
    letter-spacing: 0.06em;
}
.president_name{
    text-align: end;
}
.president_name span{
    font-size: 2.5rem;
    font-family: var(--mincho);
    padding: 0 0 0 .5em;
}
.philosophy{
    width: 100%;
    margin: 138px auto;
}
.philosophy p{
    font-size:  clamp(2rem, calc(1.2rem + 2.5vw), 2.4rem);
    padding: 2em 0 0;
    letter-spacing: 0.06em;
    line-height: 3;
}
.company .border_table{
    max-width: 800px;
    width: 100%;
    margin: 32px auto 138px;
}
.office_list{
    margin: 0 auto 80px;
    max-width: 1000px;
    width: 100%;
}
.border_left{
    line-height: 2;
    border-left: 4px solid var(--green);
    font-size: clamp(2rem, calc(1.2rem + 2.5vw), 3rem);
    padding: 0 0 0 24px;
}
.wrap_contents{
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}
.contents{
    width: 48%;
    align-items: flex-start;
    margin: 26px 0 0;
}
.office_ttl{
    width: 100%;
    justify-content: space-between;
    padding: 20px 0 0;
}
.map{
    border-radius: 30px;
    border: 1px solid var(--green);
    padding: 4px 14px 6px;
}
.map img{
    max-width: 14px;
    width: 100%;
    margin: 0 10px 0 0;
}
.map p{
    color: var(--green);
}
.address{
    padding: 0 0 20px;
}
.history .bg_white{
    background-color: var(--white);
    max-width: 1290px;
    width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    padding: 72px 0 72px 12px;
}
.mark_table{
    max-width: 1000px;
    width: 100%;
    margin: 40px auto 0;
}
.mark_table tr{
    border-left: 1px solid var(--border_gray);
    position: relative;
}
.mark_table tr::after{
    position: absolute;
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background-image: url(../img/table_th_mark.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    left: -12px;
    top: 20px;
}
.mark_table tr:nth-child(1) th::before {
    position: absolute;
    content: "";
    display: block;
    top: 0px;
    left: -2px;
    background-color: var(--white);
    width: 2px;
    height: 26px;
}
.mark_table th{
    width: 30%;
    color: var(--green);
    font-size: 3rem;
    font-family: var(--oswald);
    line-height: 2;
    padding: 0 0 0 1em;
}
.mark_table th span{
    color: var(--ash_green);
    font-size: 1.4rem;
    font-family: var(--main-font);
}
.mark_table td{
    padding: 1em 0 0;
}



/* ============================
    サービス内容
============================ */
.service .include_bg_image .bg_image_01{
    top: 20%;
}
.service .contents .green{
    color: var(--green);
    font-family: var(--roboto);
    font-weight: 500;
    padding: 26px 0 0;
}
.service p{
    letter-spacing: 0.06em;
    line-height: 1.8;
    font-size: 1.5rem;
}
.service .service_name{
    font-size: 2rem;
    font-weight: 500;
    line-height: 2;
    padding: 6px 0 8px;
}
.service_name span{
    font-size: 1.5rem;
}
.manufacturer_link{
    max-width: 1000px;
    width: 100%;
    margin: 80px auto 0;
}
.manufacturer_link a{
    width: 25%;
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service .include_bg_image.bg_image_01::before{
    position: absolute;
    display: block;
    content: "";
    width: 150%;
    height: 500px;
    background-image: url(../img/background_image_01.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: -1;
    top: 22%;
    left: 50%;
    transform: translate(-50%, -22%);
}


/* ============================
    採用情報
============================ */
.guidelines{
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}
.guidelines .flex_box{
    width: 100%;
    margin: 48px auto 0;
}
.schedule{
    max-width: 1284px;
    width: 100%;
    margin: 154px auto 0;
}
.schedule h3.green{
    position: relative;
    padding: 0 0 0 2em;
}
.schedule h3.green::before{
    position: absolute;
    display: block;
    content: "";
    background-image: url(../img/clock.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
}
.staff_intro{
    position: relative;
}
.staff_intro .gradient_box{
    position: absolute;
    max-width: 334px;
    width: 100%;
    background: var(--btn_green);
    padding: 40px 140px 40px 54px;
    bottom: -40px;
    left: 136px;
    z-index: 10;
    color: var(--white);
}
.staff_intro .gradient_box p{
    font-size: clamp(13px, 1rem + 1vw, 18px);
    letter-spacing: 0.06em;
}
.staff_intro .gradient_box .staff_name{
    font-size: clamp(20px, 1rem + 1vw, 28px);
    padding: 10px 0 0;
}
.staff_intro .gradient_box .staff_name span{
    font-size: 1.6rem;
    display: block;
    font-weight: 500;
}
.staff_image{
    /* max-width: 1284px; */
    width: 100%;
    margin: 48px auto 0;
    aspect-ratio: 1280 / 535;
    overflow: hidden;
}
.staff_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.describe_schedule{
    max-width: 1000px;
    width: 100%;
    margin: 80px auto 34px;
    justify-content: space-between;
}
.table_contents {
    width: 60%;
}
.describe_schedule img{
    max-width: 474px;
    width: 100%;
    border-radius: 8px;
}
.interview{
    max-width: 1000px;
    width: 100%;
    margin: 46px auto 0;
    /* align-items: flex-start; */
}
.interview_contents{
    align-items: flex-start;
}
.question span{
    color: var(--green);
    padding: 0 .4em 0 0;
    font-family: var(--roboto);
    font-size: 2.4rem;
}
.interview_contents p{
    letter-spacing: 0.06em;
    padding: 1em 0;
    line-height: 1.8;
    letter-spacing: 0.06em;
}


/* ============================
    お知らせ投稿
============================ */
.main.single{
    width: 100%;
    padding: 150px 0;
    background: linear-gradient(
        to right,
        #FFFFFF 0%,
        #F1FCFB 40%,
        #E4FDFF 89%
    );
}
.blog_flex{
    max-width: 1000px;
    width: 100%;
    padding: 0 2em;
    margin: 0 auto;
}
.blog_ttl{
    font-size: 3rem;
    padding: 0 0 10px;
    margin: 0 0 2em;
}
.blog_date p{
    padding: 10px 0 0;
}
.blog_date .category-link{
    color: var(--green);
}
.blog_text{
    margin: 1em 0;
}
.blog_text p {
    line-height: 1.8;
    letter-spacing: 0.05em;
    padding: 0.5em 0;
}
/* .category_name a{
    color: rgba(223, 24, 24, 1);
} */
.blog_pagelink_area{
    width: 100%;
    margin: 20px auto;
}
.blog_pagelink_area .nav-single ul {
    width: 100%;
    display: flex;
    align-items: center;
    text-align: left;
}
.blog_pagelink_area .nav-single li {
    padding: 0 .5em;
    color: var(--base_text);
}
.blog_pagelink_area .nav-single a{
    color: var(--base_text);
}
/* ============================
    お知らせ一覧
============================ */
.post-list{
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2em 2em;
}
.post-list ul{
    margin: 30px auto;
}
.post-list li{
    padding: 0.5em 0;
}


/* ============================
    お問い合わせ
============================ */
.contact_page .flex_box{
    max-width: 1000px;
    width: 100%;
    justify-content: space-evenly;
    margin: 30px auto;
}
.page_link_btn.for_contact {
    max-width: 485px;
    width: 100%;
    border-radius: 50px;
    padding: 24px;
    justify-content: space-between;
    margin: 30px auto;
}
.contact_txt {
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.06em;
    font-size: 1.8rem;
    margin: 40px auto 0;
}
.wp-block-contact-form-7-contact-form-selector{
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 34px;
}
.wpcf7-form p {
    display: block;
    margin: 18px 0;
}
input{
    padding: 10px 0;
}
input,
textarea{
    width: 100%;
}
.wpcf7-form.init p:last-of-type{
    text-align: center;
}
.wpcf7-submit{
    background: var(--btn_green);
    color: var(--white);
    border-radius: 40px;
    padding: 1em;
    border: none;
    margin: 10px auto;
    max-width: 120px;
    width: 100%;
}
.wpcf7-submit:hover{
    cursor: pointer;
    opacity: .7;
}
.wpcf7-spinner {
    display: none;
}
.contact_message{
    margin: 30px auto;
    padding: 0 34px;
}

/* ============================
    プライバシーポリシー
============================ */
.polisy_wrapper{
    max-width: 1000px;
    width: 100%;
    margin: 30px auto;
    padding: 0 2em;

    position: relative;
    z-index: 2;
}
.polisy_wrapper .contents{
    width: 100%;
}
.polisy_wrapper h3{
    padding: 0.6em 0 0;
    line-height: 2;
}
.polisy_wrapper p{
    padding: 0.5em 0;
    line-height: 1.8;
}
.polisy_wrapper .second_line{
    padding-left: 1em;
}
.polisy_wrapper .third_line{
    padding-left: 2em;
}


@media screen and (max-width: 1200px) {
    .scrollbar_text {
        left: 16px;
    }
}
@media screen and (max-width: 1024px) {
    .introduction,
    .philosophy,
    .overview,
    .office_list,
    .wrap_contents{
        padding: 0 34px;
    }
    .history{
        padding: 0 12px 0 24px;
    }

    .cta_block {
        padding: 0 34px;
    }
}

@media screen and (min-width: 769px) {
    .sub_page_fv {
        min-height: 734px;
    }
}

@media screen and (max-width: 768px) {
    .sub_page_fv {
        height: auto;
    }
    .scrollbar_text {
        display: none;
    }
    .sub_page_contents{
        margin: 30px 0 0;
    }

    .introduction{
        flex-direction: column;
    }
    .message{
        padding: 36px 0;
    }
    .philosophy {
        margin: 88px auto;
    }
    .office_ttl{
        padding: 20px 0 16px;
    }
    .contents {
        width: 100%;
    }
    .mark_table tr{
        display: flex;
        flex-direction: column;
    }
    .mark_table th,
    .mark_table td{
        width: 100%;
    }
    .mark_table td{
        padding: 0 0 0 2em;
    }
    .guidelines {
        padding: 0 34px;
    }

    .manufacturer_link{
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0 34px;
    }
    .manufacturer_link a{
        width: 45%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px;
    }

    .border_table tr {
        border-bottom: 2px solid var(--border_gray);
        display: flex;
        flex-direction: column;
    }
    .border_table th{
        border: none;
        padding: 1em 1em 0 0;
        width: 100%;
    }
    .border_table th::before{
        display: none;
    }
    .image_container {
        max-width: 1005px;
        width: 100%;
        aspect-ratio: 390 / 240; /* 1.625 と指定してもOK */
        padding: 0 0 50px;
    }
    .staff_intro .gradient_box {
        max-width: 192px;
        left: 34px;
        padding: 24px 50px 12px 30px;
    }
    .staff_image{
        aspect-ratio: 390 / 249;
    }
    .describe_schedule{
        flex-direction: column;
        padding: 0 34px;
    }
    .table_contents{
        width: 100%;
    }
    .interview {
        padding: 0 34px;
    }

    .blog_pagelink_area .nav-single ul {
        flex-direction: column;
    }
    .blog_pagelink_area .nav-single li{
        padding: .5em 0;
    }
    .wp-block-contact-form-7-contact-form-selector{
        max-width: 440px;
    }

    .contact_page .flex_box{
        flex-direction: column;
    }
    .page_link_btn.for_contact {
        flex-direction: unset !important;
        max-width: 300px;
        width: 300px;
    }
}
@media screen and (max-width: 500px) {
    .manufacturer_link a {
        width: 100%;
    }
}
@media screen and (max-width: 440px) {
    .main.page {
        padding: 106px 0;
    }
    .main.page::before {
        width: 238px;
        top: 74px;
        right: 0px;
    }
    .sub_page_ttl {
        padding: 0 0 0 34px;
    }
}
