/* レスポンシブ用設定 */
@media (min-width: 768px) {
  .container {
    max-width: 800px;
  }
  input[type="radio"] + label {
    margin-right: 30px;
  }

}

@media (max-width: 768px) {

  header h1{font-size: 1.1rem;}

  main{
    padding-top: 0.3rem;
  }
  h2{
    font-size: 2rem;
    line-height: 1.3;
  }
  h2 span{
    font-size: 4rem;
  }
  .round{
    font-size: 1.6rem;
    padding: 0.3rem;
    margin: 0 auto 1.5rem;
    max-width: 100%;
  }

  h3{
    margin-top: 1.5rem;
  }
  h3 .big{
    font-size: 1.8rem;
  }
  .fire{
    line-height: 1.1;
  }
  p{
    font-size: 1rem
  }

  p .big{
    font-size: 1.3rem
  }
  .text{
    font-size: 0.9rem;
  }
  form {
    margin-top: 1.5rem;
    margin-bottom: 20px;
  }

  .contact-info div {
    flex-direction: column;
    margin-bottom: 1rem;
  }

  .contact-info label {
    width: 100%;
    max-width: 150px;
    margin-bottom: 0;
    text-align: center;
  }

  .contact-info input[type="text"],
  .contact-info input[type="tel"],
  .contact-info input[type="email"] {
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1.1rem;
    width: 100%;
    max-width: 100%;
  }
  .contact-info, fieldset {
    padding: 1rem
  }
  .contact-info p{
    font-size: 0.9rem;
  }


  form fieldset legend {
    font-size: 1.3rem; /* フォントサイズを大きく調整 */
    padding: 0.5rem 1rem 0.5rem; /* パディングを追加して余白を確保 */
    letter-spacing: 0.8px;
    line-height: 1.5;
    width: calc(100% - 0.5rem); /* 余白を考慮した幅 */
  }
  form fieldset legend span{
    /**display: block;**/
    font-size: 1.5rem;
  }

  input[type="radio"] + label {
    padding: 0.8rem 50px;
    font-size: 1.3rem;
  }
#submitBtn{
  font-size: 1.5rem;
}

  .thanks fieldset {
    background-color: rgba(255, 255, 255, 0.8); /* 白ベースの半透明 */
    padding: 1.5rem 1rem; /* 内側の余白 */
  }

  .thanks p{
    font-size: 1.2rem;
  }
  .thanks .small{
    font-size: 0.9rem;
  }
  .thanks h3{
    font-size: 2rem;
  }
  .thanks .big{
    font-size: 4.2rem;
    color: #10b65e;
  }
  .thanks .pend{
    font-size: 1rem;
    margin-bottom: ;
  }

  .spbr{
    display: block;
  }

}
