@charset "utf-8";
/*
Theme Name:Yamato Media Creative
Theme URL:
Description: Yamato
Author:	Yamato
Version:1.0
Requires PHP: 7.4
*/

/* 1. リセットCSSの最適化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: YuGothic, "Yu Gothic Medium", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit; /* 親要素の色を引き継ぐ */
}

/* 2. 基本のタイポグラフィ（全称セレクタを回避） */
p {
    font-size: 16px;
    color: #333;
}

h2, h3, h4 {
    color: #333;
}

h2 {
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* セクション内は文字色を白に統一 */
section, 
section p, 
section a, 
section h2, 
section h3, 
section h4 {
    color: #fff;
}

/* 3. ユーティリティ */
.pc_none { display: none; }
@media (max-width: 767px) {
    .pc_none { display: inline; }
}

.palt { font-feature-settings: "palt"; }


/*----------------------------------------------------------*/
/* 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 a {}
header #top img {
    margin: 10px 0;
    height: 40px;
}

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; /* hover時は不要なのでここに集約 */
}
header #top div .consultation:hover {
    background: #0B5800;
}

@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: 0 8px;
        border-radius: 16px;
    }    
}


/*----------------------------------------------------------*/
/* nav */
/*----------------------------------------------------------*/
nav {
    position: sticky;
    top: 0;
    width: 100%;
    background: #333;
    z-index: 100;
}
nav .drawer_hidden,
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: flex; /* inline-flexから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;
}

@media (max-width: 1023px) {
    nav #navi {
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
    }
    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: #fff;
        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.5); /* 背後を少し暗くして見やすく変更 */
    }
    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: transform 0.3s, top 0.3s, bottom 0.3s, background-color 0.3s; /* アニメーションを滑らかに */
        position: absolute;
    }
    .drawer_open div span:before { bottom: 8px; }
    .drawer_open div span:after { top: 8px; }

    /* メニュー展開時のアイコンアニメーション */
    #drawer_input:checked ~ .drawer_open div span {
        background: transparent;
    }
    #drawer_input:checked ~ .drawer_open div span::before {
        bottom: 0;
        transform: rotate(45deg);
    }
    #drawer_input:checked ~ .drawer_open div span::after {
        top: 0;
        transform: rotate(-45deg);
    }
    
    #drawer_input:checked ~ #navi {
        position: absolute;
        top: 50px;
        width: 100%;
        height: 200px;
        display: flex;
        justify-content: flex-start;
        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 / section */
/*----------------------------------------------------------*/
section {
    width: 100%;
    min-height: 100vh;
    background: #0B5800;
    padding: 50px 16px;
    border-top: 16px solid #333;
}
#sec01, #sec02, #sec03, #sec04, #sec05, #sec06, #sec07 {
    padding: 0;
    margin: 0;
}

section > div {
    width: 1024px;
    height: 100%;
    margin: 0 auto;
}
@media (max-width: 1023px) {
    section > div {
        width: 100%;
    }
}


/*----------------------------*/
/* headline */
/*----------------------------*/
#headline h2 {
    font-size: calc(1024px / 20);
    line-height: 1.4;
    text-align: center;
    margin: 70px 0 40px 0;
}
#headline h3 {
    font-size: calc(1024px / 32);
    line-height: 1.4;
    text-align: center;
    margin: 0 0 10px 0;
}
#headline p {
    font-size: 20px;
    line-height: 1.8;
    text-align: justify;
    margin: 10px 0 0 0;
}
#headline a {
    display: block;
    padding: 16px 20px 12px 20px;
    margin: 50px auto;
    width: 420px;
    font-size: 24px;
    font-weight: bold;
    background: #16BB24;
    line-height: 1;
    text-align: center;
    border-radius: 6px;
    transition: background-color 0.8s;
    box-shadow: 6px 6px 10px 0px rgba(30, 30, 30, 0.4);
}
#headline a:hover {
    background: #6CED76;
}

#headline .our_company {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}
#headline .our_company p {
    display: inline;
    font-size: 18px;
    padding: 0;
}
#headline .our_company p:first-child {
    font-size: 22px;
}

@media (max-width: 1023px) {
    #headline h2 { font-size: calc(100vw / 18); margin: 40px 0 40px 0; }
    #headline h3 { font-size: calc(100vw / 28); }
    #headline p { font-size: 20px; padding: 0 20px; }
    
    #headline .our_company {gap: 15px;}
    #headline .our_company p {font-size: 18px;}
    #headline .our_company p:first-child {font-size: 20px;}
}
@media (max-width: 767px) {
    #headline h2 { font-size: calc(100vw / 12); margin: 20px 0 40px 0; }
    
    #headline .our_company {display: block; gap: 0; text-align: center}
    #headline .our_company p {display: block; text-align: center; font-size: 18px; margin: 0}
    #headline .our_company p:first-child {display: block; text-align: center; font-size: 20px; margin: 0}
}


/*----------------------------*/
#support {background: #80CC32}

#support h2 {
    font-size: calc(1024px / 26);
    line-height: 1.4;
    text-align: center;
    margin: 20px 0 20px 0;
}
#support h3 {
    font-size: calc(1024px / 36);
    line-height: 1.4;
    text-align: center;
    margin: 40px 0 20px 0;
}
#support p, #support_2 p {
    font-size: 24px;
    line-height: 1.8;
    text-align: center;
    margin: 0 0 0 0;
}

@media  (max-width: 1023px) {
    #support h2 {font-size: calc(100vw / 28);}
    #support h3 {font-size: calc(100vw / 40);}
    #support p {font-size: 18px;}
}
@media  (max-width: 767px) {
    #support h2 {font-size: calc(100vw / 16);}
    #support h3 {font-size: calc(100vw / 28);}
    #support p {font-size: 15px;}
}

/*----------------------*/
#support #worry {
    display: flex;
    gap: 30px;
    margin: 30px 5px;
}
#support #worry div {
    flex: 1;
    width: calc((100% / 3) - 70px);
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}
#support #worry div h4 {
    width: 100%;
    color: #0B5800;
    font-size: 20px;
    line-height: 1.4;
    text-align: justify;
    margin: 0 0 10px 0;
}
#support #worry div p {
    width: 100%;
    color: #333;
    text-align: justify;
    font-size: 16px;
}
#support #worry div h4 + p {
    flex-grow: 1;
}

#support #worry div p:last-child {
    border-top: 4px dotted #FF0000;
    margin: 10px 0 0 0;
    padding: 10px 0 0 0;
}

@media  (max-width: 1023px) {
    #support #worry {
        display: block;
        width: 100%;
        padding: 0 50px 0 50px;
    }
    #support #worry div {
        width: 100%;
        margin: 0 0 30px 0;
    }
}

/*----------------------*/
#support_2 {
    min-height: 50vh;
    background:#D2EDB6 ;
}
#support_2 h2 {
    color: #0B5800;
    font-size: calc(1024px / 28);
    line-height: 1.4;
    text-align: center;
    margin: 0px 10px 20px 10px;
}
#support_2 #worry_2 {
    display: flex;
    gap: 30px;
    margin: 30px 5px;
}
#support_2 #worry_2 div {
    flex: 1;
    width: calc((100% / 3) - 70px);
    padding: 20px;
    background: #fff;
    border-radius: 15px;
}
#support_2 #worry_2 div h4 {
    width: 100%;
    color:#FF6E00;
    font-size: 20px;
    line-height: 1.4;
    text-align: justify;
    margin: 0 0 15px 0;
}
#support_2 #worry_2 div ul {
    width: 100%;
    padding: 0 0 0 1em;
}
#support_2 #worry_2 div ul li {
    width: 100%;
    color: #333;
    text-align: justify;
    font-size: 16px;
    line-height: 1.4;
    list-style: disc;
    margin: 5px 0 0 0;
}
@media  (max-width: 1023px) {
    #support_2 #worry_2 {
        display: block;
        width: 100%;
        padding: 0 50px 0 50px;
    }
    #support_2 #worry_2 div {
        width: 100%;
        margin: 0 0 30px 0;
    }
}


/*----------------------*/
#support_3 {
    min-height: 50vh;
    background:#EAF6DD;
    margin-bottom: 0
}
#support_3 h2 {
    color: #0B5800;
    font-size: calc(1024px / 28);
    line-height: 1.4;
    text-align: center;
    margin: 0px 10px 20px 10px;
}
#support_3  h3 {
    color: #0B5800;
    font-size: calc(1024px / 40);
    line-height: 1.4;
    text-align: center;
}
#support_3 .table_border {
    width: 100%;
    border-radius: 15px;
    border: 1px solid #ccc;
    overflow: hidden;
    margin: 30px 0 0 0;
    background: #fff;
}
#support_3  table {
    width: 100%;
    border-radius: 10px;
    border-collapse: collapse;
}
#support_3  table th, #support_3  table td {
    color: #333;
    text-align: center;
    padding: 12px 0 10px 0;
    line-height: 1;
    font-size: 16px;
}
#support_3  table tr {border-bottom: 1px solid #ccc;}
#support_3  table td {border-left: 1px solid #ccc; border-right: 1px solid #ccc;}
#support_3  table tbody tr:last-child {border-bottom: none}
#support_3  table tbody td:last-child {border-right: none;}
#support_3  table tbody td:first-child {border-left: none; background: #D2EDB6; font-weight: bold}

#support_3  table th {border-right: 1px solid #fff; background: #80CC32}
#support_3  table th:last-child {border-right: none;}


@media  (max-width: 1023px) {
    #support_3 h2 {font-size: calc(100vw / 28);}
    #support_3 h3 {font-size: calc(100vw / 40); margin: 0px 50px 10px 50px ; text-align: left; }
    #support_3 .table_border {margin: 10px; width: calc(100% - 20px)}
}
@media  (max-width: 767px) {
    #support_3 h2 {font-size: calc(100vw / 20);}
    #support_3 h3 {font-size: calc(100vw / 36);}
}


/*----------------------*/
#support_4  {
    min-height: 50vh;
    background:#EAF6DD;
    padding-top: 0;
}

#support_4  .support_type {
    margin: 0 0 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 2px solid #80CC32;
}

#support_4  .support_type  h4 {
    color: #0B5800;
    font-size: calc(1024px / 40);
    line-height: 1.4;
    text-align: justify;
    margin: 0 0 10px 0;
}
#support_4  .support_type  p {
    color: #333;
    font-size: 16px;
    line-height: 1.4;
    text-align: justify;
}
#support_4  .support_type  ul {
    margin: 10px 0;
    list-style: disc;
    padding: 0 0 0 1em;
}
#support_4  .support_type  ul li {
    color: #333;
    font-size: 16px;
    line-height: 1.4;
    text-align: justify;
    list-style: disc;
}

#support_4  .support_type .caution {
    margin: 20px 0 0 0;
    padding: 12px 10px;
    border-radius: 8px;
    border: 1px solid #FFB7B7;
    background: #FFF1F1;
}
#support_4  .support_type .caution p {
    color: #FF0000;
}
#support_4  .support_type .caution ul{
    margin: 5px 0 0 0 ;
    padding: 0 0 0 2em;
}
#support_4  .support_type .caution ul li{
    color: #FF0000;
}
#support_4 a {
    display: block;
    padding: 16px 20px 12px 20px;
    margin: 50px auto;
    width: 420px;
    font-size: 24px;
    font-weight: bold;
    background: #16BB24;
    line-height: 1;
    text-align: center;
    border-radius: 6px;
    transition: background-color 0.8s;
    box-shadow: 6px 6px 10px 0px rgba(30, 30, 30, 0.4);
}
#support_4 a:hover {
    background: #6CED76;
    transition: background-color 0.8s;
}

@media  (max-width: 1023px) {
    #support_4  .support_type {margin: 0 10px 20px; width: calc(100% - 20px)}
}
@media  (max-width: 767px) {
    #support_4 a {width: 380px; padding: 16px 10px 12px 10px;}
}


/*----------------------------*/
#selected {background: #1DC9A6}
#selected > div {}

#selected h2 {
    font-size: calc(1024px / 26);
    line-height: 1.4;
    text-align: center;
    margin: 20px 0 40px 0;
}

#selected .reason {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
#selected .reason > div {
    max-width: calc(50% - 15px);
    min-width: 490px;
    background: #ECFCF8;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#selected .reason h3 {
    font-size: calc(1024px / 48);
    line-height: 1.4;
    text-align: justify;
    margin: 0px 0 10px 0;
    color: #149178;
}
#selected .reason p {
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    margin: 0 0 0 0;
    color: #149178;
}
#selected .reason > div p:nth-last-child(1) {
    margin: 20px 0 0 1em;
    font-size: 16px;
    text-indent: -1em;
}
#selected .reason > div p:nth-last-child(2) {
    flex-grow: 1;
}


@media  (max-width: 1023px) {
    #selected h2 {font-size: calc(100vw / 28);}
    #selected h3 {font-size: calc(100vw / 40);}
    #selected p {font-size: 18px;}
    #selected > div  {margin: 10px; width: calc(100% - 20px)}
    #selected .reason {display: block;}
    #selected .reason > div {
        min-width: 90%;
        margin: 0 auto 20px;
    }
}
@media  (max-width: 767px) {
    #selected h2 {font-size: calc(100vw / 16);}
    #selected h3 {font-size: calc(100vw / 26);}
    #selected p {font-size: 15px;}
}


/*----------------------------*/
#estimate {background: #ECFCF8}
#estimate > div {}

#estimate h2 {
    font-size: calc(1024px / 26);
    line-height: 1.4;
    text-align: center;
    margin: 20px 0 40px 0;
    color: #FF6E00;
}
#estimate h3 {
    font-size: calc(1024px / 40);
    line-height: 1.4;
    text-align: center;
    margin: 0px 0 10px 0;
    color: #0B5800;
}
#estimate p {
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    max-width: 800px;
    margin: 0 auto 0 auto;
    color: #0B5800;
}
#estimate ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px auto 60px auto;
}
#estimate ul li {
    max-width: calc(33% - 60px);
    min-width: calc(33% - 60px);
    border: 2px solid #FF6E00;
    background: #fff;
    border-radius: 15px;
    text-align: center;
    padding: 30px 0;
    color: #FF6E00;
    font-weight: bold;
    font-size: 20px;
}

#estimate a {
    display: block;
    padding: 16px 20px 12px 20px;
    margin: 20px auto 50px auto;
    width: 440px;
    font-size: 24px;
    font-weight: bold;
    background: #16BB24;
    line-height: 1;
    text-align: center;
    border-radius: 6px;
    transition: background-color 0.8s;
    box-shadow: 6px 6px 10px 0px rgba(30, 30, 30, 0.4);
}
#estimate a:hover {
    background: #6CED76;
    transition: background-color 0.8s;
}

@media  (max-width: 1023px) {
    #estimate  > div {margin: 0 10px 20px; width: calc(100% - 30px)}
}
@media  (max-width: 767px) {
    #estimate h3 {font-size: calc(1024px / 50);}
    #estimate ul {flex-direction: column; gap:15px;}
    #estimate ul li {min-width: 100%; padding: 10px; border-radius: 5px;}
    #estimate a {width: 380px; padding: 16px 10px 12px 10px; font-size: 20px}
}

/*----------------------------*/
#faq {background: #80CC32; min-height: 50vh}

#faq h2 {
    font-size: calc(1024px / 26);
    line-height: 1.4;
    text-align: center;
    margin: 20px 0 20px 0;
}

#faq form > div {
    background: #fff;
    border: 1px solid #0B5800;
    border-radius: 15px;
    margin: 0 0 10px 0;
    box-sizing: border-box;
    overflow: hidden;
}
#faq form input {display: none}

#faq label {
    display: block;
    font-size: 22px;
    line-height: 1.6;
    text-align: justify;
    margin: 0 0 0 0;
    color: #0B5800;
    font-weight: bold;
    padding: 11px 50px 9px 30px;
    background: #EAF6DD;
    position: relative;
}
#faq label::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 20px;
    height: calc(tan(60deg) * 16px / 2);
    width: 16px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    transform:rotate(60deg);
    background: #0B5800;
}

#faq p {
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    margin: 0 0 10px 0;
    padding: 0 30px;
    color: #333;
}
#faq p:last-child {
    font-size: 16px;
    margin: 20px 0 20px 2em;
    text-indent: -1em;
}
#faq p:first-child {margin: 0px 0 0 0}
#faq input ~ div {max-height: 0; transition: 0.4s;}
#faq input:checked ~ div {max-height: 100vh; transition: 0.8s}



@media  (max-width: 1023px) {
    #faq  > div {margin: 0 10px 20px; width: calc(100% - 30px)}
}
@media  (max-width: 767px) {
}


/*----------------------------*/
#step {background: #D2EDB6;}

#step h2 {
    color: #0B5800;
    font-size: calc(1024px / 26);
    line-height: 1.4;
    text-align: center;
    margin: 20px 0 20px 0;
}

#step .step_box {
    background: #FFF;
    max-width: 767px;
    margin: 20px auto 100px auto;
    position: relative;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between
}
#step .step_box:nth-of-type(-n+2)::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 36px;
    bottom: -74px;
    left: calc(50% - 25px);
    border-right: 4px solid #0B5800;
}
#step .step_box:nth-of-type(-n+2)::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    bottom: -70px;
    left: calc(50% - 10px);
    border-bottom: 4px solid #0B5800;
    border-right: 4px solid #0B5800;
    transform: rotate(45deg);
}
#step .step_box > p {
    background: #FF6E00;
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 36px;
    font-size: 28px;
}
#step .step_box > div {
    width: calc(100% - 48px);
}
#step .step_box > div h3 {
    color: #FF6E00;
    font-size: 24px;
    margin: 5px 0 10px 0;
}
#step .step_box > div p {
    color: #0B5800;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
}

@media  (max-width: 1023px) {
    #step  > div {margin: 0 10px 20px; width: calc(100% - 20px)}
}
@media  (max-width: 767px) {
}

/*----------------------------*/
#contact {
    padding: 60px 15px 60px 15px!important;
}
#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;
    line-height: 30px;
}
#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;
    color: #fff;
}
#contact form .form_submit-button:hover {
    background: #6CED76;
    transition: background-color 0.8s;
}

/*----------------------------*/
#confirmation {background: #D2EDB6;  padding: 30px 15px;}
#estimate > div {}

#confirmation h3 {
    font-size: calc(1024px / 40);
    line-height: 1.4;
    text-align: center;
    margin: 0px 0 10px 0;
    color: #0B5800;
}
#confirmation > p {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 0 auto;
    color: #0B5800;
}
#confirmation #confirmation_list {
    display: block;
    background: #E7F4DB;
    background: #fff;
    min-width: 428px;
    max-width: 600px;
    margin: 10px auto;
    padding: 20px 2vw 30px 2vw;
    border-radius: 6px;
}

#confirmation #confirmation_list div {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 20px);
    margin: 10px 0 10px 0;
    padding: 0 0 5px 0;
    border-bottom: 1px dotted #0B5800;
}

#confirmation #confirmation_list p {
    color: #333;
    font-size: 18px;
    line-height: 1.8;
    /*background: #DDEEF7;*/
}
#confirmation #confirmation_list p:first-child {
    min-width: 9.5em;
    font-weight: bold;
    margin: 0 -1em 0 0;
}
#confirmation #confirmation_list p:last-child {
    min-width: calc(100% - 9.5em);
    height: 1em;
    margin: 0 0 0 1em;
}
#confirmation #confirmation_list .form_submit-button {
    width: 100%;
    height: 40px;
    margin: 20px 0 0 0;
    background: #16BB24;
    border-radius: 5px;
    border: none;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}
#confirmation #confirmation_list .form_submit-button:hover {
    background: #6CED76;
    transition: background-color 0.8s;
}

#confirmation #confirmation_list .correct {
    background: #FF6E00;
}
#confirmation #confirmation_list .correct:hover {
    background: #FFD955;
}



#confirmation  input {
    display: none;
}


/*----------------------------------------------------------*/
/*Privacy Policy*/
/*----------------------------------------------------------*/
#privacy_policy {
    padding: 60px 15px;
}
#privacy_policy h2 {
    font-size: 32px;
    margin: 0 0 20px 0;
    text-align: center;
}
#privacy_policy h3 {
    font-size: 26px;
    margin: 26px 0 4px 0;
    line-height: 1.8;
}
#privacy_policy p {
    font-size: 18px;
    margin: 6px 0 0 1em;
    line-height: 1.8;
}
#privacy_policy p.indent_1 {
    margin: 6px 0 0 2em;
}
#privacy_policy p.bp_lv1 {
    margin: 6px 0 0 2em;
    text-indent: -1em;
}

@media  (max-width: 1023px) {}
@media  (max-width: 767px) {
    #privacy_policy h3 {
        font-size: 22px;
        margin: 22px 0 4px 0;
        line-height: 1.8;
    }
    #privacy_policy p {
        margin: 10px 0 0 1em;
        line-height: 1.6;
    }
}

/*----------------------------------------------------------*/
/*footer*/
/*----------------------------------------------------------*/
footer {
    background: #333;
    padding: 3vh 0 3vh;
}

footer h2 {
    text-align: center;
    font-size: 30px;
}
footer table {
    width: 428px;
    margin: 3vh auto;
    border-collapse: collapse;
    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;
    color: #fff;
}

footer .copyright {
    color: #ccc;
    text-align: center;
    margin: 2vh 0 0 0;
    font-size: 12px;
}


