.step-box {
  display: flex;

  border-radius: 2px;
  overflow: hidden;
  font-family: sans-serif;
  font-size: 12px;
  text-align: center;
  gap:50px;
}
.contact-box-t{
margin: 0 auto;
        max-width: 950px;
    
}
  
.cont-box .ask-area{
  margin-top: 1em;
align-items: flex-start;
}
.cont-box .ask-area2{
  margin-top: 1.5em;
}
.cont-box .ask-area2-2{
  margin-top: 0em;
}
.step {
  flex: 1;
    border: 1px solid #ccc;
  background-color: #eee;
  padding: 8px 0;
  position: relative;
}
/* 横棒を描画 */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;              /* 真ん中に */
  right: -63px;              /* 要素の右端から */
  width: 100%;           /* 次のステップまで伸ばす */
  height: 1px;           /* 線の太さ */
  background: #ccc;      /* 線の色 */
  transform: translateY(-50%);
  z-index: -1;           /* 背景に回す（circleより奥に） */
}
.radio-c{
margin-top: 1em;
}
.radio-c span span{
  font-size: 1.6rem;
  margin-right: 1em;
}
/* 矢印（三角形） */
.contact-m .step:first-child:after,
.entry .step:first-child:after
{
    border-left: 20px solid white;
}
.contact-m .step:nth-child(2):after,
.entry .step:nth-child(2):after {
    border-left: 20px solid #eee;
}
/* 矢印（三角形） */
.contact-c-c .step:first-child:after,
.entry-c .step:first-child:after {
    border-left: 20px solid #eee;
}
.contact-c-c .step:nth-child(2):after ,
.entry-c .step:nth-child(2):after {
    border-left: 20px solid white;
}
.contact-c-thanks .step:first-child:after ,
.entry-thanks .step:first-child:after {
    border-left: 20px solid #eee;
}
.contact-c-thanks .step:nth-child(2):after,
.entry-thanks .step:nth-child(2):after {
    border-left: 20px solid #eee;
}



.circle {
    box-sizing: border-box;
  text-align: center;
  display: inline-flex;        /* inline-block の代わりに inline-flex */
  justify-content: center;     /* 横方向中央揃え */
  align-items: center;         /* 縦方向中央揃え */
    width: 16px;
    height: 16px;
    padding-left: 3px;
    line-height: 1em;
  border-radius: 50%;
  background-color: #ccc;
  color: white;
  font-size: 11px;
  margin-right: 8px;
}
.underline-link {
  border-bottom: 1px solid black;
  text-decoration: none;
  transition: font-weight 0.2s ease, opacity 0.2s ease;
}

.underline-link:hover {
  font-weight: bold;   /* 文字を太字に */
  opacity: 0.8;        /* 元の opacity 変化も維持 */
}

.step.current {
  background-color: #fff;
}

.step.current .circle {
  background-color: var(--brand-blue);
}
.contact-box{
        width: calc(100% - 40px);
  max-width: 950px;
  margin: 70px auto 100px;
}
.contact-box-t{
font-size: 1.5rem;
line-height: 2em;
margin: 85px auto;
}

.cont-area{
    margin-bottom: 70px;
  padding:0;
          overflow: hidden;
        box-sizing: border-box;
}
.top-sec03-t{
  font-size: 1.8rem;
  text-align: center;
 line-height: 2em;
}
.column-yoko{
      display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 0;
}
.cont-box {
  width: fit-content;
  margin: 50px auto 100px;
  display: grid;
  grid-template-columns: 210px 755px;
  row-gap: 40px; /* 縦方向の隙間 */
    column-gap: 0px; /* 横方向の隙間 */
}
.contact-m .cont-box > *:nth-child(8) {
   margin-top: -30px; /* 3番目の要素だけ間隔を広げる */
}
.cont-box > *:nth-child(14) {
   margin-top: -15px; /* 3番目の要素だけ間隔を広げる */
}
.cont-box > *:nth-child(17) {
  align-items: unset; /* 上下中央 */
}
.entry .cont-box > *:nth-child(9) {
  align-items: unset; /* 上下中央 */
}
.entry .cont-box > *:nth-child(3) {
   margin-top: 17px; /* 3番目の要素だけ間隔を広げる */
}
.entry .cont-box > *:nth-child(5) {
   margin-top: 17px; /* 3番目の要素だけ間隔を広げる */
}
.contact-m .cont-box > *:nth-child(5),
.lp .cont-box > *:nth-child(5) {
   margin-top: 17px; /* 3番目の要素だけ間隔を広げる */
}
.contact-m .cont-box > *:nth-child(9),
.lp .cont-box > *:nth-child(9) {
   margin-top: 17px; /* 3番目の要素だけ間隔を広げる */
}
.contact-m .cont-box > *:nth-child(11),
.lp .cont-box > *:nth-child(11) {
   margin-top: 17px; /* 3番目の要素だけ間隔を広げる */
}
.contact-c .right-column,
.contact-rec-c .right-column {
    letter-spacing: 0.2em;
    font-size: 1.6rem;
    padding: 10px;
    display: flex;
    align-items: center;
}
.contact-c .left-last,.contact-rec-c .left-last {
    align-items: flex-start;
}
.left-column {
  color: #17305B;
  letter-spacing: 0.2em;
  font-size: 1.6rem;

  padding: 10px;
    display: flex;
  align-items: center; /* 上下中央 */

}
.radio{
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
}
.radio .wpcf7-list-item {
    margin: 0;
}
.column-yoko .wpcf7-not-valid-tip {
  
    position: absolute;
}

.cont-button {
    font-size: 1.6rem;
  display: flex;
  flex-wrap: wrap; /* 必要な場所で改行 */
  column-gap: 3em;
}


.atten{
  margin-bottom: 0.5em;
}

.haifun{
    line-height: 20px;
    margin: 5px 0rem 9px;
    font-size: 16px; /* input内の文字サイズ */
}
.haifun2{
    line-height: 20px;
    margin: 8px 0.3rem 9px;
    font-size: 16px; /* input内の文字サイズ */
}
.input-field,.input-field3 input {
    background-color: #fff; /* 右カラムの背景色 */
      border: 1px solid #ccc;
  width: 100%;
  height: 40px; /* inputの高さ */
  padding: 10px; /* inputの左右のパディング */
  font-size: 16px; /* input内の文字サイズ */
overflow: hidden;
box-sizing: border-box;
}
.input-field2 {
    background-color: #fff; /* 右カラムの背景色 */
      border: 1px solid #ccc;
  width: 155px;
  height: 40px; /* inputの高さ */
  padding: 10px; /* inputの左右のパディング */
  font-size: 16px; /* input内の文字サイズ */
overflow: hidden;
box-sizing: border-box;
}
.doui-box{
  line-height: 1em;
  font-size: 1.8rem;
margin: 0 auto 70px;
width: fit-content;
}
input[type="radio"], input[type="checkbox"] {

    border-radius: 0;
    width: 14px;
    height: 14px;
    border: 1px solid #ccc;
    background-color: #fff;
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin: 0 0 0 2px;
    line-height: 1;
}

.sent-box {
  position: relative;
  margin:  30px auto;
width: fit-content;
}

.sent-box input {
  width: 260px;  /* ボタンの横幅 */
  height: 60px;  /* ボタンの縦幅 */
  font-size: 18px;  /* 文字サイズ */
  background-color: var(--brand-blue); /* ボタンの背景色（青） */
  color: #fff;  /* 文字色（白） */
  border: none;  /* 枠線なし */
  cursor: pointer; /* マウスホバー時のカーソル */
  transition: background-color 0.3s; /* ホバー時のエフェクト */
}

.sent-box input:hover {
  background-color: #ccc!important;
}
.wpcf7-previous{
      background-color: gray!important;
}
.sent-box .wpcf7-spinner {
  left:50%;
  transform: translateX(-50%);
    top: 70px;
    margin: 0;
    position: absolute;
}
.text-field{
  background-color: #fff; /* 右カラムの背景色 */
    border: 1px solid #ccc;
    width: 100%;
    height: 193px; /* inputの高さ */
    padding: 10px; /* inputの左右のパディング */
    font-size: 16px; /* input内の文字サイズ */
  overflow: hidden;
  box-sizing: border-box;
}
 .hissu{
  margin-left: 1em;
  letter-spacing: 0px;
  padding: 0 0.5rem;
  color: white;
  font-size: 1rem;
  background-color: #E94C52;
  letter-spacing: 0.2em;
}
.wpcf7{
  width: 965px;
  margin: 0 auto;
}
.wpcf7-response-output{
    color: #17305B;
    letter-spacing: 0.2em;
    font-size: 1.6rem;
    text-align: center;
    width: fit-content;
    margin: 3em auto!important;
}
.c-check .right-column {
    font-size: 1.6rem;
    display: inline-flex;
    padding: 10px;
}
.textarea2{
    flex-direction: column;
}
.c-check .column-yoko{
  font-size: 1.6rem;
display:inline-flex;
}
.c-check .radio {
    margin-top: 0px;
}
.contact-c .sec-title {
    margin: 0px auto 50px;
}
.cont-area {
    margin-top: 10px;
}
    .c-check .textarea2 {
          margin-top: 0px;}
      .c-check .textarea2-1{
        align-items: flex-start;
      }
.contact-re {
    display: flex;
  align-items: center;       /* 垂直方向中央揃え */
  justify-content: center;   /* 水平方向中央揃え */
  margin: 0 auto;
  text-align: center;
    width: 260px;
    height: 60px;
    font-size: 18px;
    background-color: var(--brand-blue);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}
.contact-re:hover {
    background-color: #ccc !important;
}


@media screen and (max-width: 750px) {

    
.contact-box {
    width: auto;
            margin: 49px auto 50px;
  }
  .cont-area {
    margin-bottom: 50px;
}
.step-box {
    margin: 0 20px;
  }
.contact-box-t {
    font-size: 1.3rem;
    margin: 25px 20px 10px;
  }
    .c-check .left-column {
        border-top: 1px solid #cccccc;
    }

  .cont-box {
width: auto;
      margin: 50px 20px 30px;
  display: flex;
  flex-direction: column; /* ← 縦並び */
        gap: 0px;
}
.input-field2 {
    width: 109px;
  }
  .cont-button {
  font-size: 1.3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  grid-template-rows: repeat(2, auto);   /* 2行（自動）*/
  gap: 1em 1em; /* row-gap, column-gap */
}
.wpcf7 {
    width: auto;
  }
  .column-yoko {
  display: inline-flex;
  align-items: center;
  gap: 3px; /* 入力欄同士の隙間 */
  margin: 0;
  width: 100%; /* 親幅に合わせるなら指定 */
}
  .column-yoko.yubin {
      width: 80%; /* 親幅に合わせるなら指定 */
  }
.column-yoko .wpcf7-form-control-wrap {
  flex: 1 1 0; /* 均等に幅を割り当て */
}
    .haifun2 {
        line-height: 0.5em;
    }
    .c-check .right-column {
        padding: 0px 0 10px;
        height: 1.5em;
    }

.input-field2 {
  width: 100%; /* 親の幅に合わせて100%に */
  box-sizing: border-box; /* paddingやborder含めて幅調整 */
}
.left-column {
  margin-top: 1.5em;
          padding: 10px 10px 10px 0px;
      font-size: 1.3rem;
  }
  .right-c{
    margin-top: 1em;
  }
  .contact-m .cont-box > *:nth-child(3),
    .contact-m .cont-box > *:nth-child(15),
        .contact-m .cont-box > *:nth-child(17){
    margin-top: 17px;
}

.cont-box >div:nth-child(8) .atten,
.cont-box >div:nth-child(14) .atten  {
    margin-bottom: 0.5em;
    margin-top: 0em;
}
    .cont-button {
    letter-spacing: 1px;
    }
.doui-box {
    line-height: 1em;
    font-size: 1.3rem;
  }
.doui-box .wpcf7-list-item {
    display: inline-block;
    margin: 0em;
}
/* checkbox を大きくする */
.doui-box input[type="checkbox"].doui {
    width: 15px;      /* 幅 */
    height: 15px;     /* 高さ */

    margin-right: 8px; /* ラベルとの隙間調整 */
    vertical-align: middle; /* ラベルと中央揃え */
}

.circle {
    margin-right: -4px;
}
.step-box >div:nth-child(3),
.step-box >div:nth-child(2) {
    padding: 8px 0 8px 20px;
  }
  .entry .c-check .right-column {
    font-size: 1.5rem;
    display: inline-flex;
    padding: 0px 10px 20px 0px;
}
  .entry .cont-box >div:nth-child(8) .atten{
        margin-top: 0em;
    }
    .entry .cont-box >div:nth-child(9){
          margin-top: 17px;
    }
    .c-check {
        border-bottom: 1px solid #cccccc;
    }
    .step-box >div:nth-child(3), .step-box >div:nth-child(2) {
        padding: 8px 0;
    }
    .step-box {
      gap:20px;
      
    }
    .wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
  vertical-align: middle; /* テキストと揃える */
  margin-top: 1px;       /* 必要なら微調整 */
}
.wpcf7-list-item-label {
  vertical-align: middle; /* ラベルテキストも揃える */
}
    .radio-c span span {
      margin: 0 1em 0 0;
    font-size: 1.3rem;
}
      .cont-box {
        margin: 19px 20px 70px;}
.atten {
font-size: 1.3rem;
}
      .radio-c {
    margin-top: 0em;
}
.cont-box .ask-area2-2{
  margin-top: 1.5em;
}
.contact-c .right-column,
.contact-rec-c .right-column {
    letter-spacing: 0.2em;
    font-size: 1.4rem;
    padding: 0px 0 10px;
  }
  .sent-box input {
width: 215px;
    height: 47px;
    font-size: 15px;
}
  .contact-re {
            margin-top: 50px;
    width: 215px;
        height: 47px;
        font-size: 15px;
  }
