@charset "utf-8";
/*
Theme Name: 結乃社株式会社
Theme URI: 
Description:　結乃社株式会社テーマ
Version: 1
Author:結乃社株式会社テーマ
Author URI: https://yuinoyashiro.jp
*/

/*-------------------------------------------
base
-------------------------------------------*/
@charset "utf-8";
@import url("css/root.css");

/* CSS Document */

/* ==========================================================================
   テキスト装飾
   ========================================================================== */
.grecaptcha-badge {
    bottom: 150px!important;
    right: -170px!important;
    transform: scale(0.85);
    opacity: 0.6;
}
.wpcf7 form.sent .wpcf7-response-output {
    display: none;
}

/*-----*RESET CSS*-----*/
*:where(:not(iframe, canvas, img, svg, video):not(svg *)){all: unset;display: revert;}
*,*::before,*::after{box-sizing: border-box;}
ol,ul{list-style: none;}
img{vertical-align: bottom;}

a {cursor: pointer;}

@media screen and (max-width: 979px) {
    img{max-width:100%;  vertical-align: bottom;}
}
/*-----*RESET CSS*-----*/

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px; /* 固定ヘッダの高さ */
}

#business, #feature, #philosophy, #company{ scroll-margin-top: 100px; }

body {
    font-size:18px;
    background-color: #ffffff;
    color:#333333;
    min-width:1100px;
    line-height:1.8;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.1em;
}

body::before{
    content: "";
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    box-sizing: border-box;
    box-shadow: 0 0 0 15px #be2f20 inset;
}

a {
    color: #333333;
    text-decoration: none;
    text-decoration-skip-ink: none;
    transition: color 0.3s ease;
}
a:hover{
    color: #be2f20;
    text-decoration: none;
}

a:focus {
    outline: none; /* デフォルトのフォーカス枠を無効化 */
    text-decoration: none; /* 必要に応じて下線を無効化 */
}

p {font-size: 18px;text-align: justify;}

@media screen and (max-width: 979px) {
    body {
        font-size: 18px;
        line-height: 1.8;
        min-width:100%;
    }
    body::before{box-shadow: 0 0 0 8px #be2f20 inset;}
}
img {
    max-width: 100%;
    vertical-align: bottom;
}
img {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

/* スクロールで表示されたらこのクラスが追加される */
img.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.fade-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.pc {display: block;}
.sp {display: none;}


@media screen and (max-width: 979px) {
    .pc {display: none;}
    .sp {display: block;}

    .wrapper {
        padding:0;
        margin: 0 auto 0;
        width: 100%;
        text-align: center;

    }

    .child_01{order: 1;}
    .child_02{order: 2;}
    .child_03{order: 3;}
    .child_04{order: 4;}
    .child_05{order: 5;}
    .child_06{order: 6;}
    .child_07{order: 5;}
    .child_08{order: 8;}
    .child_09{order: 9;}
}

/* ==========================================================================
   テキスト装飾
   ========================================================================== */
.txt_b{font-weight: bold;}
.txt_big{font-size: 120%;}
.txt_big_02{font-size: 140%;}
.txt_red{color:var(--base-color_red);}
.txt_bl{color:#00479d;}
.txt_small{font-size: 80%;}
.txt_small_02{font-size: 60%;}

/* ==========================================================================
   リンク　共通
   ========================================================================== */

/* ==========================================================================
   共通レイアウト
   ========================================================================== */
.box{
    width: 1000px;
    margin: 0 auto 0;
    padding:0 0;
    text-align: center;
}

.row{
    width:1000px;
    display: flex;
    margin: 150px auto 0;
    padding:0 0;
    justify-content: space-around;
    flex-wrap: wrap;
}

.row_box{
    width: 100%;
    display: flex;
    margin: 0 auto 0;
    padding:0 0;
    justify-content: space-around;
    flex-wrap: wrap;
}

.col{width: 50%;}

.col_03{width: 30%;margin: 0 5% 5px 0;display: flex;justify-content: center;flex-wrap: wrap;}
.col_03:nth-child(3n){margin: 0 0 5px 0;}
.col_04{width: 288px;margin: 0 16px 0 0;}
.col_04:nth-child(4n){margin: 0 0 0 0;}

.col_60{width: 55%;margin:0 5% 0 0;}
.col_60 p{font-size: 16px;}
.col_40{width: 40%;margin:0 auto;}

.col_70{width: 65%;margin:0 5% 0 0;}
.col_30{width: 30%;margin:0 auto;}

@media screen and (max-width: 979px) {
    .box{
        width: 90%;
        margin: 0 auto 0;
        padding:50px 0;
    }

    .txt_box{
        width: 100%;
        margin: 0 auto 0;
        padding:20px 0 0 0;
    }


    .row{
        width:100%;
        display: flex;
        margin: 80px auto 0;
        padding:0 0;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .col{width: 100%;}

    .col_03{width:80%;margin:0 auto 20px;}
    .col_03:nth-child(3n){width:80%;margin:0 auto 20px;}
    .col_03:nth-child(2n){width:80%;margin:0 auto 20px;}

    .col_04{width: 100%;margin: 0 16px 0 0;}
    .col_04:nth-child(4n){margin: 0 0 0 0;}

    .col_60{width: 100%;margin:0 0 0 0;}
    .col_60 p{font-size: 14px;}
    .col_40{width: 100%;margin:0 auto;}

    .col_70{width: 100%;margin:0 0 0 0;}
    .col_30{width: 100%;margin:0 auto;}
}

/* ==========================================================================
   共通タイトル
   ========================================================================== */
.section-title {
    display: flex;
    align-items: center;
    gap: 20px; /* アイコンと文字の間隔 */
}

.section-title .icon {
    width: 50px;   /* アイコンサイズ */
    height: auto;
}

.section-title h2 {
    font-size: 50px;
    font-weight:400;
}

.section-title h2 span {
    font-size:20px;
    font-weight: normal;
    color: #be2f20;
    margin-left: 12px;
}


@media screen and (max-width: 979px) {
    .section-title {
        display:block;
        align-items: center;
        gap: 20px;
        text-align: center;
        margin: 0 auto 40px;
    }

    .section-title .icon {
        width: 50px;   /* アイコンサイズ */
        height: auto;
    }

    .section-title h2 {
        font-size: 30px;
        font-weight:400;
    }

    .section-title h2 span {
        margin-left:0;
        width: 100%;
        display: block;
        line-height: 0.8;
        font-size: 12px;
    }
}

.headline {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    margin: 20px auto 40px;
    text-align: center;
    height: 100px;
}

.headline::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 50%;
    height: 3px;
    background-color: #be2f20;
}

@media screen and (max-width: 979px) {
    .headline {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 20px;
        font-size:30px;
        font-weight: 500;
        line-height: 1.2;
        margin: 20px auto 20px;
        text-align: center;
        height:auto;
    }

    .headline::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: 50%;
        height: 3px;
        background-color: #be2f20;
    }

}


h2 {
    font-size: 50px;
    font-weight:400;
}


.section-title02 h2 {
    font-size: 50px;
    font-weight:400;
}
.section-title02 span {
    font-size:20px;
    font-weight: normal;
    color: #be2f20;
    margin:0;
    line-height: 1;
}



@media screen and (max-width: 979px) {
    h2 {
        font-size:30px;
        font-weight:400;
    }


    .section-title02 h2 {
        font-size:30px;
        font-weight:400;
        line-height:1;
        padding: 20px 0 0 0;
    }
    .section-title02 span {
        font-size:12px;
        font-weight: normal;
        color: #be2f20;
        margin:0;
        line-height:0.6;
    }
}

/***************************************
---------------- HEADER ----------------
***************************************/
header {
    position: fixed;
    top: 0;
    left: 0;
    width:100%;
    z-index:9998;
    display: flex;
    align-items:center;
    justify-content:center;
    background-color: rgba(255, 255, 255, 0.5);
}

#top{
    width:100%;
    padding:70px 55px 55px 55px;
    display: flex;
    align-items:center;
    justify-content:space-between;
    height: 60px;
}

header .header_logo{
    width:30%;
    margin:0;
    text-align:left;
    padding:0;
}

.nav-menu {
    width:100%;
    display: flex;
    justify-content: flex-end;
}

.nav-menu ul{
    width: 100%;
    display: flex;
    justify-content:flex-end;
}

.nav-menu li{padding: 0 22px 0 0;}
.nav-menu li:last-child{padding: 0 0 0 10px;}

.nav-menu li a{
    font-size: 20px;
    font-weight: 600;
}

.nav-menu #contact_btm a{
    background-color:#be2f20;
    color:#ffffff;
    font-size: 16px;
    padding: 10px 20px;
    transition: color 0.3s ease;
}
.nav-menu #contact_btm a:hover{color:#f5f9e0;}
.menu-btn {display: none;}


@media screen and (max-width: 979px) {
    header{
        justify-content: flex-start;
        margin: 0;
        height: 50px;
    }

    #top{
        width:100%;
        padding:0;
        display: flex;
        align-items:center;
        justify-content:space-between;
        height:auto;
    }

    header .header_logo {
        width: 100%;
        margin:0;
        text-align: left;
        padding:8px 20px 0 20px;
        height:68px;
        display: flex;
        align-items:center;
    }

    header .header_logo img{width:58%;}

    header .pc{width:70%;}

    .menu-btn {
        position: fixed;
        top: 8px;
        right:8px;
        display: flex;
        height:60px;
        width:60px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        color:#333333;
        background-color: #be2f20;
    }

    .menu-btn span.bar {
        content: "";
        display: block;
        height: 3px;
        width: 35px;
        background-color: #ffffff;
        position: absolute;
        transition: 0.4s;
    }
    .menu-btn span.txt {
        position: absolute;
        top: 0;
    }
    .menu-btn span.bar:nth-child(1) {top: 14px;}
    .menu-btn span.bar:nth-child(2) {top: 28px;}
    .menu-btn span.bar:nth-child(3) {top: 42px;}

    #menu-btn-check:checked ~ .menu-btn span.bar:nth-child(2) {opacity: 0;}
    #menu-btn-check:checked ~ .menu-btn span.bar:nth-child(3){
        top:28px;
        background-color: #ffffff;
        transform: rotate(45deg);
        transition: 0.4s;
    }
    #menu-btn-check:checked ~ .menu-btn span.bar:nth-child(1){
        top:28px;
        background-color: #ffffff;
        transform: rotate(-45deg);
        transition: 0.4s;
    }

    #menu-btn-check:checked ~ .menu-btn span.menu:before {
        content: "CLOSE";
        color:#ffffff;
        font-size: 11px;
        font-weight: bold;
        position: absolute;
        bottom:-15px;
        left:3px;
        transition: 0.4s;
    }
    .menu-btn p {
        padding: 55px 0 0 0;
        font-weight: bold;
        font-size:12px;
        color: #333333;
    }
    #menu-btn-check:checked ~ .menu-btn span.bar::after {
        top: 0;
        background-color: #333333;
        transform: rotate(-45deg);
    }



    .navigation {
        width: 80vw;
        height: 100%;
        position: fixed;
        top: 0;
        right: -80vw;
        z-index: 80;
        background-color: rgba(190, 47, 32, 0.6);
        transition: right 0.8s ease;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .navigation ul#page_link {
        margin: 0 auto;
        padding: 25px;
        height: auto;
        -webkit-transform: translateX(-10px);
        transform: translateX(-10px);
        transition: 1s;
        width: 500px;
        text-align: left;
    }
    .navigation ul#page_link > li {
        width: 100%;
        margin: 0;
        list-style: none;
        border-bottom: 1px solid #ffffff;
        padding: 10px 0;
    }
    .navigation ul#page_link li:not(:last-of-type)::after {content: none;}
    .navigation ul#page_link > li a,
    .navigation ul#page_link > li span {
        display: block;
        width: 100%;
        height: auto;
        font-size:16px;
        box-sizing: border-box;
        color:var(--base-color_w);
        text-decoration: none;
        position: relative;
        text-align:left;
    }
    .navigation ul#page_link > li:before,
    .navigation ul#page_link > li:last-of-type:after {
        content: none;
    }
    .navigation ul#page_link > li a:hover,
    .navigation ul#page_link > li span:hover {
        color: antiquewhite;
    }

    .navigation .li_border {
        border-bottom: 1px solid #ffffff;
        padding: 10px 0 10px 0;
    }

    .navigation .li_sub01{
        padding:10px 0 5px 0;
    }

    .navigation .li_sub{
        padding:5px 0 5px 20px;
    }

    .navigation .li_sub_last{
        padding:5px 0 15px 20px;
    }

    #menu-btn-check:checked ~ .navigation {
        right: 0;/*メニューを画面内へ*/
    }
    .navigation li.has-child ul{
        position: static;
        background: none;
        width: calc(100% - 2px);
        visibility: hidden;
        opacity: 1;
        transition: none;
        display: none;
    }
    .navigation li.has-child {
        flex-wrap: wrap;
    }
    .phone_num {
        width: 100%;
        margin: auto;
        padding: 25px;
    }
    .phone_num a {
        color: var(--base-color_w);
        justify-content: center;
        margin:10px auto 10px;
    }
    .phone_num a::before {
        content: url(img/tel_wh.svg);
    }
    .phone_num p {
        color: var(--base-color_w);
        text-align: center;
        font-size: 1.8rem;
    }
    .chirashi_btn {
        width: 70%;
        padding: 15px;
        margin: auto;
    }
    .menu-inq{
        position: fixed;
        top: 0;
        right:60px;
        display: flex;
        height: 60px;
        background-color: #00234e;
        justify-content: center;
        align-items: center;
        z-index: 90;
        color: #ffffff;
    }
    .menu-inq a{
        height: 60px;
        color: #ffffff;
        padding:0 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #00234e;
        transition: color 0.6s ease, background-color 0.6s ease;
    }
    .menu-inq a:hover{color: #be2f20;}
}
/* #################################  TOP*/
#mv{
    margin: 140px 55px 0 55px;
    height: 80vh;
    background: url("img/top.jpg") no-repeat center center / cover;
    border-radius: 20px;
    display: flex;
    align-items: center;
}
#mv .box{
    width:80%;
    text-align: left;
    display: flex;
    align-content: center;
}
#mv .box img{max-width: 100%;height: auto;}
#mv h1{}

@media screen and (max-width: 979px) {
    #mv{
        width: 100%;
        height:70vh;
        margin:0;
        display: flex;
        align-items: center;
        background: url("img/top_sp.jpg") no-repeat top left / cover;
    }
    #mv .box{
        width:60%;
        text-align: left;
        padding: 50px 0 0 0;
    }
}
/* #################################  business*/

#business {
    width: 100%;
    margin: 100px auto;
}

#business .business_bg{
    margin: 0 auto;
    position: relative;
}

#business .business_bg::before {
    content: "";
    position: absolute;
    top: 130px; left: 0; right: 0; bottom: -80px;
    background: url("img/bg_01.jpg") repeat;
    z-index: -1;
    padding: 0 0 50px 0;
}

#business .bg_img {
    background: url("img/business.jpg") no-repeat center right / 38%;
}

#business .business-text {
    margin: 0 auto;
    width: 1000px;
    padding: 180px 0 0 0;
}

#business .business-text p {
    margin: 0;
    width: 600px;
}

#business .col_03 p {
    text-align: center;
    font-size: 16px;
}

@media screen and (max-width: 979px) {
    #business {
        width: 100%;
        margin: 40px auto;
    }

    #business .business_bg{
        margin: 0 auto;
        position: relative;

    }

    #business .business_bg::before {
        content: "";
        position: absolute;
        top:-40px; left: 0; right: 0; bottom: -40px;
        background: url("img/bg_01.jpg") repeat;
        z-index: -1;
        padding: 40px 0 0 0;
        width: 100%;
    }

    #business .bg_img {
        width: 100%;
        background: url("") no-repeat center right / 90%;
        border-radius: 20px;
        margin: 0 auto;
    }

    #business .business-text {
        margin: 0 auto;
        width:86%;
        padding: 0 0 0 0;
    }

    #business .business-text img {
        border-radius: 20px;
        margin: 0 auto 0;
    }

    #business .business-text p {
        margin: 0;
        width:100%;
        font-size: 14px;
        padding: 20px 0 0 0;
    }

    #business .col_03 p {
        text-align: center;
        font-size: 16px;
    }


}



/* #################################  feature*/
#feature {
    width: 100%;
    margin: 100px auto;
}

#feature .feature_bg{
    margin: 0 auto;
    position: relative;
}

#feature .feature_bg::before {
    content: "";
    position: absolute;
    top: 130px; left: 0; right: 0; bottom: -80px;
    background: url("img/bg_01.jpg") repeat;
    z-index: -1;
    padding: 0 0 50px 0;
}

#feature .feature_img {
    background: url("img/feature.jpg") no-repeat center left / 38%;
}

#feature .feature-text {
    margin: 0 auto;
    width: 1000px;
    padding: 180px 0 0 400px;
}

#feature .feature-text p {
    margin: 0;
    width: 600px;
}

#feature .col_03 p {
    text-align: center;
    font-size: 16px;
}


@media screen and (max-width: 979px) {
    #feature {
        width: 100%;
        margin:40px auto;
    }

    #feature .feature_bg{
        margin: 0 auto;
        position: relative;
    }

    #feature .feature_bg::before {
        content: "";
        position: absolute;
        top: 30px; left: 0; right: 0; bottom: -30px;
        background: url("img/bg_01.jpg") repeat;
        z-index: -1;
        padding: 0 0 50px 0;
    }

    #feature .feature_img {
        background: url("") no-repeat center left / 38%;
    }

    #feature .feature-text {
        margin: 0 auto;
        width: 86%;
        padding: 0 0 0 0;
    }

    #feature .feature-text p {
        margin: 0;
        width:100%;
        font-size: 14px;
        padding: 20px 0 0 0;
    }

    #feature .col_03 p {
        text-align: center;
        font-size: 14px;
    }


    #feature  .feature-text img {
        border-radius: 20px;
        margin: 0 auto 0;
    }
}

/* #################################  philosophy*/
#philosophy{
    margin: 100px auto;
    text-align: center;
}

#philosophy p{
    margin:80px auto;
    text-align: center;
}

#philosophy .img_bg {
    margin: 0 55px 0 55px;
    height: 50vh;
    background: url(img/philosophy_img.jpg) no-repeat center center / cover;
    border-radius: 20px;

}

@media screen and (max-width: 979px) {
    #philosophy{
        margin: 40px auto;
        text-align: center;
    }

    #philosophy p{
        margin:40px auto;
        text-align:left;
        width: 86%;
    }

    #philosophy .img_bg {
        margin:0 auto;
        width: 86%;
        height: 20vh;
        background: url(img/philosophy_img.jpg) no-repeat center center / cover;
        border-radius: 20px;

    }
}

/* #################################  #company*/
#company{
    margin: 100px auto 0;
    text-align: center;
}

#company .row{
    width: 1000px;
    margin: 80px auto;
}

#company dl{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding:0 0;
    margin:50px auto 70px;
    border-top: 1px solid #00234e;
    border-right: 1px solid #00234e;
}

#company dt{
    width:30%;
    background-color:#be2f20;
    border-bottom: 1px solid #ffffff;
    border-left: 1px solid #00234e;
    color: #ffffff;
    text-align: center;
    font-weight: 500;
    margin: 0 auto;
    padding:20px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;

}

#company dt:last-of-type {
    border-bottom: 1px solid #00234e;
}

#company dd{
    width:70%;
    text-align: left;
    padding: 20px 40px 20px 40px;
    background-color: #ffffff;
    border-bottom: 1px solid #00234e;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0;
}

@media screen and (max-width: 979px) {
    #company{
        margin: 20px auto;
    }

    #company .box{
        width: 100%;
        padding: 0;
    }

    #company .row{
        width: 90%;
        margin: 40px auto;
    }

    #company dl{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding:0;
        margin:20px auto 40px;
        width: 90%;
    }

    #company dt{
        width:30%;
        text-align:center;
        border-bottom: 1px solid #ffffff;
        color: #ffffff;
        text-align: center;
        font-weight: 500;
        margin: 0 auto;
        padding:10px;
        font-size:14px;
        display: flex;
        align-items: center;
    }

    #company dd{
        width:70%;
        text-align: left;
        padding:10px;
        background-color: #ffffff;
        border-bottom: 1px solid #00234e;
        display: flex;
        align-items: center;
        font-size:14px;
    }
}


/***************************************
-------------- CONTACT --------------
***************************************/

#contact {
    padding:100px 0;
    text-align: center;
}
#contact .box {
    width: 90%;
    margin: 0 auto 0;
    padding: 0 0;
}

span.must {
    display: block;
    width: 48px;
    font-size: 16px;
    text-align: center;
    background:#d70000;
    color:#ffffff;
    border-radius: 4px;
    margin: 10px;
}

section form {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding:70px 0 0 0;
    box-sizing: border-box;
    font-size: 16
}
.mailform {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #dddddd;
    padding:30px 0;
}

.mailform label {
    padding-left: 0.5em;
    margin-right: 1.5em;
}

form dt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 40%;
    padding:0 20px 0 0;
    font-size:20px;

}
form dd {
    width: 60%;

}
form dd.check,
form dd.upload,
form dd.select {
    width: 100%;
}
form dd.check label,
form dd.upload input {
    font-size: 1.8rem;
}

form dd.select select {
    background: var(--base-color03);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 8px;
    border:2px solid #dddddd;
    font-size:20px;
    box-sizing: border-box;
    background-color: #ffffff;
    vertical-align: bottom;
}
#mailformpro select {
    padding: 8px;
    border: 1px solid #333;
    font-size: 1.6rem;
    box-sizing: border-box;
}
button[type="submit"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width:60%;
    padding: 15px;
    border: none;
    background: #be2f20;
    color:#ffffff;
    text-align: center;
    margin: 5rem auto;
    font-size: 1.8rem;
    border-radius: 12px;
}
button[type="submit"]:hover {
    opacity: 0.8;
    cursor: pointer;
}

#mailformpro input[type="checkbox"] {
    all: revert;
}


.selectbox-3 {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.selectbox-3::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox-3 select {
    appearance: none;
    min-width: 230px;
    height: 2.8em;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
}

.radio-1 {
    display: flex;
    flex-wrap: wrap;
    gap: .3em 2em;
    border: none;
    font-size:18px;
}

.radio-1 label {
    display: flex;
    align-items: center;
    gap: 0 .5em;
    position: relative;
    cursor: pointer;
    font-size:18px;
}

.radio-1 label::before,
.radio-1 label:has(:checked)::after {
    border-radius: 50%;
    content: '';
}

.radio-1 label::before {
    width: 18px;
    height: 18px;
    background-color: #e6edf3;
}

.radio-1 label:has(:checked)::after {
    position: absolute;
    top: 50%;
    left: 9px;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #333333;
    animation: anim-radio-1 .3s linear;
}

@keyframes anim-radio-1 {
    0% {
        box-shadow: 0 0 0 1px transparent;
    }
    50% {
        box-shadow: 0 0 0 10px #333333;
    }
    100% {
        box-shadow: 0 0 0 10px transparent;
    }
}

.radio-1 input {
    display: none;
}

#form h3{
    font-size: 30px;
    font-weight: 400;
    color: var(--base-color01);
}
/* =======================
  PC
======================== */
@media screen and (min-width: 1200px) {}

/* =======================
  SP
======================== */
@media screen and (max-width: 979px) {


    #contact {
        padding:40px 0;
    }
    #contact  .box {
        padding:0 0 0 0;
        width: 86%;
    }

    .mailform {
        flex-wrap: wrap;
        padding: 20px 0;
    }
    form dt {
        margin-bottom: 0;
        padding: 0 0 0 0;
        font-size: 16px;
    }
    form dt,form dd {
        width: 100%;
    }

    section form {
        padding: 0 0 0 0;
        box-sizing: border-box;
        font-size: 14px;
    }

}

@media screen and (max-width: 979px) {
    button[type="submit"] {
        display: flex;
        justify-content: center;
        align-items: center;
        width:100%;
        padding: 15px;
        border: none;
        background: #be2f20;
        color:#ffffff;
        text-align: center;
        margin: 20px auto;
        font-size:24px;
        border-radius: 12px;
    }
    button[type="submit"]:hover {
        opacity: 0.8;
        cursor: pointer;
    }

    #mailformpro input[type="checkbox"] {
        all: revert;
    }
}


/* #################################  access*/
footer{
    background-color:#444444;
    color: #ffffff;
    padding: 100px 0 100px 0;
    text-align: center;
}

footer p{
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight:400;
    font-style: normal;
    font-size: 14px;
    padding: 20px 0 0 0;
}

@media screen and (max-width: 979px) {
    footer{
        padding: 80px 0 60px 0;
    }

    footer img{
        width:50%;
    }

    footer p{
        font-size: 12px;

    }

}

/* ==========================================================================
   下部追撃
   ========================================================================== */
#page_top a {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 55px;
    color: #ffffff;
    text-align: center;
    background:#be2f20;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 20%);
}

#page_top a span {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.0;
}

@media screen and (max-width: 979px) {
    #page_top a {
        bottom:0;
        width: 68px;
        height: 68px;
    }
}

/* ==========================================================================
   オーダー
   ========================================================================== */



/* Google Mapを囲う要素 */
.map {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 35%; /* 比率を4:3に固定 */
}

/* Google Mapのiframe */
.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media screen and (max-width: 979px) {


    /* Google Mapを囲う要素 */
    .map {
        position: relative;
        width: 100%;
        height: 0;
        padding-top: 50%; /* 比率を4:3に固定 */
    }

    /* Google Mapのiframe */
    .map iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}




/* #################################  トップに戻る*/
/* #################################  アコーディオン全体*/



.youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.youtube iframe {
    width: 100%;
    height: 100%;
}



@media screen and (max-width: 979px) {
    body {min-width: 100%;}
    .max_w {max-width: 100%;}
    .max_w94 {max-width: 94%;}
    .max_w90 {max-width: 90%;}
    .max_w50 {max-width: 40%;}
    .max_w80 {max-width: 80%;}

}

/* #################################  ページング*/


.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    width: 1100px;
    margin: 50px auto 50px;
}

.pagination a {
    margin: 0 5px;
    padding: 10px 10px;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.pagination a:hover {
    background-color: #ffffff;
}

.pagination .current {
    background-color: var(--base-color_red);
    color: #fff;
    margin: 0 5px;
    padding: 10px 10px;
    border-radius: 8px;
}
@media screen and (max-width: 979px) {
    .pagination {
        width: 90%;
        margin: 20px auto 20px;
    }
    .pagination a {
        margin: 0 5px;
        padding: 10px 20px;
        text-decoration: none;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 14px;
    }

    .pagination a:hover {
        background-color: #ffffff;
    }

    .pagination .current {
        background-color: var(--base-color_red);
        color: #fff;
        margin: 0 5px;
        padding: 10px 20px;
        border-radius: 8px;
    }
}

/* #################################  二階層目　共通*/



/* ==========================================================================
   テキスト装飾
   ========================================================================== */


#pan{
    margin: 40px auto;
    width:1200px;
    font-size: 14px;
}

#pan i{
    padding: 0 10px;
}

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

    #pan{
        margin: 10px auto;
        width:90%;
        font-size: 12px;
    }

    #pan i{
        padding: 0 10px;
    }

}


/* ==========================================================================
   レイアウト
   ========================================================================== */

#toku dl{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 50px auto;
}

#toku dt{
    width: 40%;
    background-color:#53966b;
    color: #ffffff;
    font-weight: 500px;
    text-align: left;
    padding: 20px 20px;
    border-bottom: 1px solid #ffffff;
}

#toku dd{
    width: 60%;
    background-color:#ffffff;
    text-align: left;
    padding: 10px 20px;
    border-bottom: 1px solid #333333;
}

@media screen and (max-width: 979px) {
    #toku dl{
        margin:0 auto 20px;
    }

    #toku .box{
        padding: 0 0;
    }

    #toku dt{
        width: 100%;
        background-color:#53966b;
        color: #ffffff;
        font-weight: 500px;
        text-align: left;
        padding: 10px;
        border-bottom: 1px solid #ffffff;
    }

    #toku dd{
        width: 100%;
        background-color:#ffffff;
        text-align: left;
        padding: 10px 10px;
        border-bottom: 0 solid #333333;
    }

}

#privacy h3{
    text-align: left;
    font-size: 20px;
    font-weight: 500;
    background-color: #fffff;
    border-bottom: 2px solid #7ab851;
    border-left:10px solid #7ab851;
    padding: 0 0 5px 20px;
    margin: 40px auto;
}
@media screen and (max-width: 979px) {
    #privacy h3{
        text-align: left;
        font-size:18px;
        font-weight: 500;
        background-color: #fffff;
        border-bottom: 2px solid #7ab851;
        border-left:10px solid #7ab851;
        padding: 0 0 5px 20px;
        margin: 20px auto;
    }

}