/* ================================================
 * index.html
 * ============================================= */
/* ================================================
 * Noto Sans JPをインポート
 * ============================================= */
 @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&display=swap');

/*
whole
================================================ */
* {
    margin: 0px;                                /* マージンを指定 */
    padding: 0px;                               /* 余白を指定 */
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
}

/*
contact form
================================================ */
.contact {
    padding: 4rem 0 0 0;                        /* 余白を指定 */ 
}

.text {
    font-size: 24px;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
}

.br {
    display: none;
}

.title {
    margin: 0 auto;
    margin-top: 2rem;
    max-width: 960px;
    width: 90%; /* 幅を指定 */
    height: 70px; /* 高さを指定 */
    background-color: #E97132; /* 背景色をオレンジに設定 */
    border: 2px solid #E97132; /* 枠線を追加（オプション） */
    display: flex; /* レイアウトの調整（オプション） */
    justify-content: center; /* 中央揃え（オプション） */
    align-items: center; /* 垂直方向の中央揃え（オプション） */
    color: white; /* テキストの色を白に設定 */
}

h2 {
    font-size: 20px;
}

.telephone {
    display: flex; /* 横並びに配置 */
    align-items: center; /* 高さを揃える */
    justify-content: center; /* 中央揃え（オプション） */
    max-width: 960px;
    margin: 0 auto;
    margin-top: 2rem;
}

.logo {
    width: 60px; /* ロゴの幅を指定 */
    height: 60px; /* ロゴの高さを指定 */
}

.telephone_num {
    margin-left: 10px; /* ロゴと文字の間に余白を追加 */
    font-size: 36px;
    font-weight: bold;
}

.telephone_num a {
    color: inherit; /* 親要素の色を継承 */
    text-decoration: none; /* アンダーラインを非表示 */
}

.time_content {
    display: flex;
    justify-content: center; /* 中央揃え（オプション） */
}

.mar_left {
    margin-left: 15px;
}

.time {
    margin: 0 auto;
    width: auto; /* 幅を指定 */
    height: auto; /* 高さを指定 */
    padding: 10px;
    background-color: #F2F2F2; /* 背景色をオレンジに設定 */
    border: 2px solid #F2F2F2; /* 枠線を追加（オプション） */
    display: flex; /* レイアウトの調整（オプション） */
    justify-content: center; /* 中央揃え（オプション） */
    align-items: center; /* 垂直方向の中央揃え（オプション） */
    font-size: 11px;
}

.contact_form {
    font-size: 16px;
    margin: 0 auto;
    max-width: 652px;
    padding: 1.5rem;
}

.label {
    margin-top: 2rem;
    font-weight: 700;
}

.flex_box {
    display: flex;          
    justify-content: center;
    margin-top: 1rem;
}

.nomal_box {
    display: flex;          
    justify-content: center;
    margin-top: 1rem;
}

.left_box {
    margin-top: 1rem;
}

.input_container {
    margin-right: 0.5rem;
}

.input_container2 {
    margin-left: 0.5rem;
}

.half_box {
    width: 318px;
    height: 34px;
}

.full_box {
    width: 652px;
    height: 34px;
}

input[type='text'], input[type='tel'], input[type='email'],select {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 4px 11px;
    background: #ffffff;
    border-width: 1px;
    border-style: solid;
    border-color: #d9d9d9;
    border-radius: 2px;
}

.agree {
    margin-top: 2rem;
    display: flex; 
    justify-content: center; 
    align-items: center;
}

input[type="checkbox"] {
    margin-right: 10px;
    display: flex; /* フレックスボックスを使用 */
    align-items: center; /* 垂直方向に中央揃え */
    width: 30px; /* 幅を設定 */
    height: 30px; /* 高さを設定 */
}

select { 
    color: #ddd; 
}
  
option { 
    color: #333;
}

input::placeholder {
    color: #ddd;
  }

input[type="text"]:focus {
    outline: solid 1px #3f51b5;
}

input[type="tel"]:focus {
    outline: solid 1px #3f51b5;
}

select:focus {
    outline: solid 1px #3f51b5;
}

.submit {
    position: relative; /* 相対位置を設定 */
    display: inline-block; /* 横並びの要素を作成 */
    display: flex;          
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    
}

button {
    padding: .5rem 0;                           /* 余白を指定 */
    padding: 10px 20px; /* ボタンの余白 */
    width: 390px;                                /* 幅を指定 */
    border-radius: 32px;                      /* 下のマージンを指定 */
    background-color: #FBE3D6; /* ボタンの背景色を指定 */
    border: none; /* 枠線を削除 */
    cursor: pointer; /* カーソルをポインタに変更 */
    z-index: 2; /* 高いスタック順 */
}

.overlay {
    margin-bottom: 1.5rem;                      /* 下のマージンを指定 */
    position: absolute; /* ボタンの下に重ねるため絶対位置を設定 */
    top: 15%; /* ボタンの下に配置 */
    right: 19%;
    width: 390px; /* ボタンと同じ幅 */
    height: 100%; /* ボタンと同じ高さ */
    border-radius: 32px; /* ボタンと同じ形を作成 */
    background-color: #E97132; /* 図形の色 */
    z-index: 1; /* スタック順を低く設定 */
  }

.button_container {
    margin-top: 2rem;
    margin-bottom: 1rem; 
    display: flex; /* フレックスボックスを適用 */
    justify-content: center; /* 水平方向に中央揃え */
}

.sp {
    display: none;
}

.sp_600 {
    display: none;
}

.check_required {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    height: 18.4px;
    color: red;
    border: solid 1px red;
    border-radius: 4px;
    padding: 0 4px;
    margin-left: 10px;
}

.any {
    font-size: 10px;                            /* 文字の大きさを指定 */
    color: grey;                              /* 色を指定 */
}

.error  {
    width : 100%;
    padding: 0;
    display: inline-block;
    font-size: 90%;
    color: red;
    box-sizing: border-box;
}

.agree_content > .error {
    text-align: center;
}

input#image.pc {
        width: 537px;
        height: 59px;
}

.form_footer_containar {
    width: 100%;
    margin-bottom: 1rem;
}

.copy_right {
    font-family: "Helvetica", "Helvetica Neue", sans-serif;
}

/* ================================================
 * thank.php
 * ============================================= */
.thank_containar {
    margin: 0 auto;
    max-width: 800px;
}

.thank_content {
    margin: 0 auto;
    margin-top: 10rem;
    padding: 30px;
    background-color: #F2F2F2; 
    width: auto;
    font-size: 1.2rem;
    text-align: left;
}

.thank_company {
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 8rem;
    padding: 0 30px;
    width: auto;
    max-width: 750px;
    font-size: 1.2rem;    
}

.footer_containar {
    position: fixed;
    bottom: 0;
    width: 100%;
    font-family: "Helvetica", "Helvetica Neue", sans-serif;
}

.thank_border {
    border: 1px solid #cccccc;
    margin-bottom: 0.5rem;
}

.copy_right {
    width: 500px;
    margin: 0 auto;
    margin-bottom: 1rem;
    text-align: center;
}

.footer_group {
    text-align: center;
    width: 500px;
    margin: 0 auto;
    display: flex;                              /* レイアウトを指定 */
    align-items: center;                        /* 垂直方向を指定 */
    list-style: none;                           /* 装飾を指定しない */
    justify-content: center;   
}

.footer_group a {
    margin: 0 10px;
    color: black;                           /* リンクの色を指定 */
}
/*
960px以下に適用されるCSS
================================================ */
@media screen and (max-width: 960px) {

    /*
    contact form
    ============================================ */

    .br {
        display: inline; /* インライン要素として表示 */
    }
    
    .logo {
        width: 50px; /* ロゴの幅を指定 */
        height: 50px; /* ロゴの高さを指定 */
    }
    
    .telephone_num {
        font-size: 28px;
    }

    .label {
        font-size: 15px;
    }

    .input_container {
        width: 100%;
    }

    .input_container2 {
        width: 100%;
    }

    .input_container3 {
        width: 100%;
    }

    .left_box {
        width: 50%;
    }

    .half_box {
        width: 100%;
    }
    
    .full_box {
        width: 100%;
    
    }

    .submit{
        width: 400px;
        margin: 0 auto;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    button {
        width: 300px;
    }
    
    .overlay {
        width: 300px;
        right: 11%;
    }

    /*
    thank
    ================================================ */
    .thank_containar {
        width: 90%;
    }

}

/*
600px以下に適用されるCSS
================================================ */
@media screen and (max-width: 600px) {
    input#image.pc {
        width: 400px;
        height: 44px;
    }

    .thank_content {
        width: 90%;
    }

    .thank_company {
        width: 90%;
    }

    .sp_600 {
        display: flex;
    }

    .thank_content {
        width: auto;
        font-size: 4.2666666667vw;
        padding: 20px 30px;
    }

    .thank_company {
        width: 90%;
        font-size: 4.2666666667vw;
        padding: 0;
        padding-left: 30px;
    }

    .copy_right {
        width: 90%;
    }
}

/*
440px以下に適用されるCSS
================================================ */
@media screen and (max-width: 440px) {

    .pc {
        display: none;
    }

    .sp {
        display: flex;
    }

    .title h2 {
        font-size: 15px;
    }

    .text {
        font-size: 20px;
    }

    .time {
        width: auto;
        height: auto;
        padding: 10px;
    }

    .half_box {
        height: 50px;
    }
    
    .full_box {
        height: 50px;
    }

    .agree {
       font-size: 12px;
    }
    
    input[type="checkbox"] {
        width: 25px; /* 幅を設定 */
        height: 25px; /* 高さを設定 */
    }

    .submit{
        width: 300px;
        margin: 0 auto;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    button {
        width: 150px;
    }
    
    .overlay {
        width: 150px;
        right: 23%;
    }

    .check_required {
        font-size: 10px;
    }

    input#image.sp {
        width: 269px;
        height: 78px;
    }

    .form_footer_containar {
        font-size: 10px;
    }

    /*
    thnak
    ================================================ */
    .footer_containar {
        font-size: 10px;
        font-family: "Helvetica", "Helvetica Neue", sans-serif;
    }

    .footer_group {
        width: 90%;
    }
    

    .footer_group a {
        margin: 0 5px;
    }


}

