/* 基本レイアウト */
      body {
        font-family: sans-serif;
        background: #f5efe6;
        font-size: 16px;
        
      }

      header{
        height: 70px;
        background: #fff;
        text-align: center;
        padding-top: 10px;
      }

      img.h_logo{
        height: 50px;
        width: auto;
      }


      .wrapper{
        padding: 15px;
      }

     section.title {
    text-align: center;
    padding: 10px 0px;
}

    section.title h2{
        font-size: 16px;
        margin-bottom: 0.7em;
        line-height: 2em;
    }

      .title img{
        width: 75%;
        height: auto;
    }

      .form-container {
        background: #fff;
        padding: 1.5rem;
        border-radius: 12px;
        /*box-shadow: 0 4px 10px rgba(0,0,0,0.1);*/
        max-width: 600px;
        width: 100%;
      }
      .form-step {
        display: none;
        margin-bottom: 20px;
      }
      .form-step.visible {
        display: block;
      }
      input[type="text"],
      input[type="email"],
      input[type="tel"],
      select {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        margin-bottom: 5px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
        font-size:16px;
        background: #fff;
      }

      input[type=checkbox] {
        transform: scale(1.5);
        margin-right: 5px;
      }

      select{
        appearance: auto;
        margin-top: 0px;
      }

    /* step3の設定*/

      .step3 input{
        width: 70%;
        margin: auto 5px;
      }

      .step3 input.check_b{
        width: auto;
      }

      .step3 label{
        display: block;
        margin: 10px auto;
        font-size: 14px;
      }

      .step3 label p{
        
        font-weight: bold;
        margin-bottom: 0.3em;
      }

      .step3 label sup{
        font-size: 10px;
      }


      
      /* 吹き出し風スタイル（左向き） */
      .bubble {
        position: relative;
        background: #fce18a;
        border: 0px solid #ccc;
        border-radius: .4em;
        padding: .8em;
        padding-left: 1em;
        margin-bottom: 1rem;
        max-width: 100%;
        background-color:#fce18a;
        font-weight: 400;
      }
      .bubble::before {
        content: '';
        position: absolute;
        display: block;
        width: 0;
        height: 0;
        border-radius: 50%;
        -ms-transform: rotate(315deg);
        transform: rotate(315deg);
        left: -8px;
        top: 2px;
        border-left: 10px solid #fce18a;
        border-top: 15px solid #fce18a;
        border-right: 10px solid transparent;
        border-bottom: 15px solid transparent;
      }
      .bubble::after {
        content: '';
        position: absolute;
        display: block;
        width: 0;
        height: 0;
        border-radius: 50%;
        -ms-transform: rotate(315deg);
        transform: rotate(315deg);
        left: -14px;
        top: -14px;
        border-left: 15px solid #fff;
        border-top: 15px solid #fff;
        border-right: 15px solid transparent;
        border-bottom: 15px solid transparent;
      }
      
      /* 回答部分の四角囲み */
      .answer-box {
        border: 0px solid #ccc;
        border-radius: 5px;
        padding: 1rem;
        background: #f0f0f0;
        margin-bottom: 1rem;
        margin-left: 20px;
      }
      
      /* ラジオボタンを四角囲みボタン化 */
      .radio-group {
        margin-top: 0px;
      }
      .radio-group label {
        display: block;
        margin-right: 0.5rem;
        margin-bottom: 1rem;
      }

      .radio-group label:last-child{
        margin-bottom: auto;
      }

      .radio-group input[type="radio"] {
        display: none;
      }
      .radio-group span {
        display: inline-block;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 0.5rem 1rem;
        cursor: pointer;
        transition: background 0.3s, border-color 0.3s, color 0.3s;
        user-select: none;
        background: #fff;
      }
      .radio-group input[type="radio"]:checked + span {
        background: #009fe6;
        border-color: #009fe6;
        color: #fff;
      }
      
      /* 送信ボタン */
      button {
        display: none;
        padding: 10px 20px;
        border: none;
        background: #009fe6;
        color: white;
        border-radius: 5px;
        cursor: pointer;
        margin-top: 20px;
        width: 10em;
        font-size: 18px;
      }
        .step-last{
        text-align: center;
      }

      .comnt{
        font-size: 13px;
        color: #555;
      }
      .form_sample{
        font-size: 13px;
        color: #555;
      }

      .grecaptcha-badge {
    visibility: hidden;
        }

        .notice{
            font-size: 12px;
            color: #777;
        }

       .recaptcha-notice, .recaptcha-notice a{
            margin-top: 1em;
            font-size: 12px;
            color: #777;
        }


       .title img.thank{
        width: auto;
        height: 160px;
         margin-bottom: 1em;
    }

    .thk_message{
    
      max-width: 400px;
        width: 100%;
        margin: 0px auto 50px auto;
    
    }

      .thk_message h3{
        font-size: 16px;
       
      }

      .thk_message h3 span{
        font-size: 26px;
      }

      .thk_message p{
        font-size: 14px;
        line-height: 1.75em;
      }

      .thk_message p.thk_txt{
        text-align: left;
        margin: 1.5em 20px;
      }

      .kiyaku-box{
        max-width: 100%;
        height: 250px;
        border: 1px solid #ccc;
        overflow: auto;
        padding: 10px;
        background: #f9f9f9;
        margin-bottom: 1em;
        font-size: 14px;
        line-height: 1.8;
      }

      .kiyaku-box p{
        line-height: 1.8;
        font-size: 14px;
      }

      .kiyaku-box p.h1, .kiyaku-box p.h2{
        color: #333;
      font-size: 1.2em;
      margin-top: 2em;
      font-weight: bold;
      }

      .kiyaku-box p.h1{
         margin-top: 1em;
      }

      .kiyaku-box ul{
        margin-left: 1em;
      }




     @media (min-width: 600px) {

        body{
        background-position: 0 60px;
        background-image:url(../assets/img/backgroundimg.png);
        background-repeat:repeat;
        }

      header{
        height: 85px;
        background: #fff;
        text-align: center;
        padding-top: 10px;
      }

      img.h_logo{
        height: 60px;
        width: auto;
      }


      .wrapper{
        padding: 15px;
        
        background-image:url(../assets/img/backgroundimg2.png);
        background-repeat:repeat-x;
        background-position: top center;

        
      }

     section.title {
    text-align: center;
    padding: 10px 0px;
}

    section.title h2{
        font-size: 16px;
        margin-bottom: 0.7em;
    }

      .title img{
        width: 350px;
        height: auto;
    }

    .form-container{
        
    }

     section.section_form{
        max-width: 600px;
        width: 100%;
        margin: auto;
     }

      .radio-group label {
        display: inline-block;
        margin-right: 0.5rem;
        margin-bottom: 0rem;
        
      }
    

      .kiyaku-box{
        max-width: 600px;
        height: 350px;
        border: 1px solid #ccc;
        overflow: auto;
        padding: 10px;
        background: #f9f9f9;
        margin-bottom: 1em;
        
      }

  
     }