@charset "utf-8";

*{
    font-size: 16px;
    color: #fff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    list-style: none;
    text-decoration: none;
}


/* PC用: 1024px以上 */
@media (min-width: 1024px) {
    body { width: 100%; }
}
/* スマホ用: 767px以下 */
@media (max-width: 767px) {
  body { width: 100%; }
}



/*----------------------------------------------------------*/
/*header*/
/*----------------------------------------------------------*/
header {
    background: #fff;
    height: 60px;
}
header #top {
    width: 100%;
    height: 60px;
    background: #FFF;
}
header #top div {
    display: flex;
    justify-content: space-between;
    width: 1024px;
    height: 100%;
    margin: 0 auto;
}
header #top img {
    margin: 10px 0;
}

header #top div .consultation {
    background: #16BB24;
    font-weight: bold;
    font-size: 18px;
    line-height: 35px;
    color: #fff;
    margin: 10px 0;
    padding: 3px 20px;
    border-radius: 24px;
    transition: background-color 0.8s;
}
header #top div .consultation:hover {
    background: #0B5800;
    transition: background-color 0.8s;
}
@media  (max-width: 1023px) {
    header {
        height: 60px;
        padding: 0 15px;
    }
    header #top div {
        width: 100%;
    }
}
@media (max-width: 767px) {
    header {
        position: sticky;
        top: 0;
        height: 50px;
    }
    header #top {
        height: 50px;
    }
    header #top div .consultation {
        height: 30px;
        font-size: 16px;
        line-height: 32px;
        margin: 10px 45px 0 0;
        padding: 0px 8px;
        border-radius: 16px;
    }    

}


/*----------------------------------------------------------*/
/*nav*/
/*----------------------------------------------------------*/
nav {
    position: sticky;
    top: 0;
    width: 100%;
    background: #333;
    z-index: 100;
}
nav .drawer_hidden {
    display: none;
}
nav .drawer_open {
    display: none;
}


nav #navi {
    display: flex;
    justify-content: space-between;
    width: 1024px;
    margin: 0 auto;
}
nav #navi li {
    width: calc(100% / 7);
    height: 40px;
    border-right: 1px solid #666;
}
nav #navi li:last-child {
    border-right: none;
}
nav #navi li a {
    display: inline-flex;
    line-height: 25px;
    width: 100%;
    height: 100%;
    background: #333;
    color: #fff;
    align-items: center;
    justify-content: center;
    transition: background-color 0.8s;
    font-size: 13px;
}
nav #navi li a:hover {
    background: #0B5800;
    transition: background-color 0.8s;
}
@media (max-width: 1023px) {
    nav #navi {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
        margin: 0 auto;
    }
    nav #navi li {
        width: calc(100% / 7);
        height: 40px;
        border-right: 1px solid #666;
    }
}

@media (max-width: 767px) {
    nav {
        position: fixed;
    }
    nav #drawer_input + .drawer_open {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        color: #ccc;
        background: rgba(255, 255, 255, 100%);
        width: 50px;
        height: 50px;
    }
    nav #drawer_input:checked + .drawer_open {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0);
    }
    nav #navi {
        width: 100%;
        height: 0;
        overflow: hidden;
        margin: 0 auto;
        z-index: 200;
    }

    /*ハンバーガーメニュー*/
    nav #drawer_input + .drawer_open div {
        width: 50px;
        height: 50px;
        margin: 0 0 0 auto;
        position: relative;
        align-items: center;
        display: flex;
        justify-content: center;
    }
    
    /* ハンバーガーメニューの三本線*/
    .drawer_open div span,
    .drawer_open div span:before,
    .drawer_open div span:after {
      content: '';
      display: block;
      height: 3px;
      width: 25px;
      border-radius: 3px;
      background: #333;
      transition: 0s;
      position: absolute;
    }
    .drawer_open span:before {/* 三本線の一番上の棒の位置調整 */
      bottom: 8px;
    }
    .drawer_open span:after {/* 三本線の一番下の棒の位置調整 */
      top: 8px;
    }

    #drawer_input:checked ~ .drawer_open div span {/* アイコンがクリックされたら真ん中の線を透明にする */
        background: rgba(255, 255, 255, 0);
        transition: 0s;
    }
    #drawer_input:checked ~ .drawer_open div span::before {/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
      bottom: 0;
      transform: rotate(45deg);
        transition: 0s;
    }
    #drawer_input:checked ~ .drawer_open div span::after {
        top: 0;
        transform: rotate(-45deg);
        transition: 0s;
    }
    
    #drawer_input:checked ~ .drawer_open div span {/* アイコンがクリックされたら真ん中の線を透明にする */
        background: rgba(255, 255, 255, 0);
        transition: 0s;
    }
    #drawer_input:checked ~ #navi {
        position: absolute;
        top: 50px;
        width: 100%;
        height: 200px;
        display: flex;
        justify-content: flex-start;
        transition: 0.8s;
        background: #333;
    }
    #drawer_input:checked ~ #navi li {
        width: 50%;
        height: 50px;
        border: none;
        border-bottom: 1px solid #666;
    }
    #drawer_input:checked ~ #navi li:nth-child(odd) {
        border-right: 1px solid #666;
    }
    #drawer_input:checked ~ #navi li:last-child {
        border-bottom: none;
    }
    #drawer_input:checked ~ #navi li a {
        font-size: 18px;
    }
    
}





/*----------------------------------------------------------*/
/*main*/
/*----------------------------------------------------------*/
main {}

section {
    width: 100%;
    min-height: 100vh;
    background: #0B5800;
    padding: 50px 0 50px 0;
}
#sec01, #sec02, #sec03, #sec04, #sec05, #sec06, #sec07 {
    padding: 40px 0 0 0 ;
    margin: -40px 0 0 0;
}





/*----------------------------*/
#contact {
    padding: 30px 15px;
}
#contact h2 {
    text-align: center;
    font-size: 30px;
    margin: 0;
}
.contact_explain p {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    margin: 14px auto;
}
#contact h3 {
    text-align: center;
    font-size: 28px;
    margin: 60px 0 20px 0;
}
#contact > p {
    text-align: center;
    max-width: 428px;
    margin: 0 auto 20px auto;
}
@media (max-width: 767px) {
}

#contact .form_info {
    max-width: 474px;
    text-align: justify;
    color: #DDFF91;
}

#contact .refusal {
    max-width: 474px;
    margin: 20px auto;
    padding: 8px 15px;;
    border: 2px solid #E50000;
    border-radius: 5px;
    background: #FFDBDB;
}
#contact .refusal p {
    color: #E50000;
    font-weight: bold;
    font-size: 15px;
    line-height: 1.4;
}




#contact form {
    display: block;
    background: #E7F4DB;
    min-width: 428px;
    max-width: 600px;
    margin: 10px auto;
    padding: 20px 2vw 30px 2vw;
    border-radius: 6px;
}
#contact form .form_label {
    position: relative;
    color: #333;
    font-weight: bold;
    margin: 0 0 0 5px;
}
#contact form .required::after {
    content: "必須";
    position: absolute;
    font-size: 12px;
    font-weight: normal;
    color: red;
    width: 2em;
    margin: 0 0 0 5px;
}
#contact form .form_input {
    width: 100%;
    height: 40px;
    margin: 0 0 20px 0;
    padding: 0 15px;
    font-size: 18px;
    color: #333;
    border-radius: 20px;
    border: 1px solid #666;
}
#contact form .form_select {
    width: 100%;
    height: 40px;
    margin: 0 0 20px 0;
    padding: 0 10px;
    font-size: 18px;
    color: #333;
    border-radius: 5px;
    border: 1px solid #666;
}
#contact form .form_select option {
    color: #333;
     font-size: 18px;
    line-height: 1.4;
}
#contact form .form_textarea {
    width: 100%;
    margin: 0 0 20px 0;
    padding: 5px 10px;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    border-radius: 5px;
    border: 1px solid #666;
}

#contact form .privacypolicy {
    width: 100%;
    margin: 0 0 20px 0;
    text-align: center;
}
#contact form .privacypolicy label {
    color: #333;
}
#contact form .privacypolicy a {
    color: #333;
    text-decoration: underline;
}

#contact form .form_submit-button {
    width: 100%;
    height: 40px;
    background: #16BB24;
    border-radius: 5px;
    border: none;
    font-size: 20px;
    font-weight: bold;
}
#contact form .form_submit-button:hover {
    background: #0B5800;
    transition: background-color 0.8s;
}

/*----------------------------------------------------------*/
/*footer*/
/*----------------------------------------------------------*/
footer {
    background: #333;
    padding: 5vh 0 3vh;
}

footer h2 {
    text-align: center;
    font-size: 30px;
}
footer table {
    width: 428px;
    margin: 3vh auto;
    border-spacing: 0;
    border-top: 1px solid #666;
    
}
footer table th, footer table td {
    text-align: justify;
    padding: 15px 15px;
    vertical-align: top;
    border-bottom: 1px solid #666;
}
footer table td {}

footer .copyright {
    color: #ccc;
    text-align: center;
    margin: 2vh 0 0 0;
    font-size: 12px;
}


