.step-box {
  margin-top: 85px;
  display: flex;
  border: 1px solid #ccc;
  border-radius: 2px;
  overflow: hidden;
  font-family: sans-serif;
  font-size: 12px;
  text-align: center;
}

.step {
  flex: 1;
  background-color: #eee;
  padding: 8px 0;
  position: relative;
}

/* 矢印（三角形） */
.slug-contact .step:first-child:after,
.entry .step:first-child:after
{
    border-left: 20px solid white;
}
.slug-contact .step:nth-child(2):after,
.entry .step:nth-child(2):after {
    border-left: 20px solid #eee;
}
/* 矢印（三角形） */
.slug-contact-c .step:first-child:after,
.entry-c .step:first-child:after {
    border-left: 20px solid #eee;
}
.slug-contact-c .step:nth-child(2):after ,
.entry-c .step:nth-child(2):after {
    border-left: 20px solid white;
}
.slug-contact-c-thanks .step:first-child:after ,
.entry-thanks .step:first-child:after {
    border-left: 20px solid #eee;
}
.slug-contact-c-thanks .step:nth-child(2):after,
.entry-thanks .step:nth-child(2):after {
    border-left: 20px solid #eee;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 21px solid #eee;
    z-index: 2;
}

/* 矢印の右に線を追加 */
.step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -22px;
    width: 0;
    height: 0;
    border-top: 19px solid transparent;
    border-bottom: 19px solid transparent;
    border-left: 22px solid #ccc;
    z-index: 2;
}

.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;
}


.step.current {
  background-color: #fff;
}

.step.current .circle {
  background-color: #767676;
}
.contact-box{
  width: 950px;
  margin: 138px auto 200px;
}
.contact-box-t{
font-size: 1.4rem;
line-height: 2em;
margin: 85px auto;
}


.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: 900px;

  display: grid;
  grid-template-columns: 200px 700px;
  row-gap: 40px; /* 縦方向の隙間 */
    column-gap: 0px; /* 横方向の隙間 */
}
.slug-contact .cont-box > *:nth-child(8) {
   margin-top: -30px; /* 3番目の要素だけ間隔を広げる */
}
.cont-box > *:nth-child(14) {
   margin-top: -30px; /* 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番目の要素だけ間隔を広げる */
}
.slug-contact .cont-box > *:nth-child(5),
.lp .cont-box > *:nth-child(5) {
   margin-top: 17px; /* 3番目の要素だけ間隔を広げる */
}
.slug-contact .cont-box > *:nth-child(9),
.lp .cont-box > *:nth-child(9) {
   margin-top: 17px; /* 3番目の要素だけ間隔を広げる */
}
.slug-contact .cont-box > *:nth-child(11),
.lp .cont-box > *:nth-child(11) {
   margin-top: 17px; /* 3番目の要素だけ間隔を広げる */
}


.cont-box .left-column:nth-last-of-type(2) {
    align-items: flex-start;
 }
.left-column {
  color: #1a1a1a;
  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;
}
.slug-contact .wpcf7-not-valid-tip {
      font-size: 1rem;
    position: absolute;
}
.slug-contact .wpcf7-response-output {
    color:#1a1a1a;
    letter-spacing: 0.2em;
    font-size: 1.1rem;
    border: 2px solid #eee;
}
.cont-button {
    font-size: 1.6rem;
  display: flex;
  flex-wrap: wrap; /* 必要な場所で改行 */
  column-gap: 3em;
}


.atten{
  font-size: 1rem;
  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;
width: fit-content;
}


.sent-box {
  position: relative;
  margin:  30px auto;
width: fit-content;
}

.sent-box input {
  transition: color 0.4s ease, background-color 0.4s ease, border 0.4s ease;
    margin: 30px auto 0;
  width: 280px;
  height: 60px;
  background-color: #767676;
  border-radius: 30px;
  border: none;
  align-items: center;
  box-sizing: border-box;
  color: white;
  cursor: pointer;
  font-size: 14px;
}

.sent-box input:hover {
  background-color: white!important;
  color: #1a1a1a!important;
  border: 0.5px solid #767676!important; /* 追加したいボーダーの色 */
}

.wpcf7-previous{
      background-color: gray!important;
}
.sent-box .wpcf7-spinner{
right: -100px;
top:20px;
position: absolute;
}
.text-field{
  background-color: #fff; /* 右カラムの背景色 */
    border: 1px solid #ccc;
    width: 100%;
    height: 300px; /* 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: #35a2e9;
  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;
    padding: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: block;
    width: 100%; /* 幅を100%に設定して、親要素に合わせる */
    box-sizing: border-box; /* パディングを含めたサイズ計算 */
}

.textarea2{
    flex-direction: column;
}
.c-check .column-yoko{
  font-size: 1.6rem;
display:inline-flex;
}
.c-check .radio {
    margin-top: 0px;
}
.slug-contact-c .sec-title {
    margin: 0px auto 50px;
}
  .slug-contact-c .cont-area {
        padding: 72px 20px 110px;
    }
    .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: #00a0cd;
    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 150px;
  }
  
.step-box {
margin: 60px 20px 0;
  }
.contact-box-t {
    font-size: 1.3rem;
    margin: 25px 20px;
  }
    .c-check .left-column {
        border-top: 1px solid #cccccc;
    }

  .cont-box {
width: auto;
      margin: 30px 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 .wpcf7-form-control-wrap {
  flex: 1 1 0; /* 均等に幅を割り当て */
}
.sent-box input {
    margin: 20px auto;
  }
    .haifun2 {
        line-height: 0.5em;
    }
    .c-check .right-column {
        padding: 5px 0 15px;
                line-height: 1.5em;
    }
.cont-box >div:nth-child(4) .column-yoko{
  width: 80%;
}
.input-field2 {
  width: 100%; /* 親の幅に合わせて100%に */
  box-sizing: border-box; /* paddingやborder含めて幅調整 */
}
.left-column {
          padding: 10px 10px 10px 0px;
      font-size: 1.5rem;
  }
  .slug-contact .cont-box > *:nth-child(3),
    .slug-contact .cont-box > *:nth-child(15),
        .slug-contact .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: 1.5em;
}
    .cont-button {
    letter-spacing: 1px;
    }
.doui-box {
    line-height: 1em;
    font-size: 1.3rem;
  }
.doui-box .wpcf7-list-item {
    display: inline-block;
    margin: 0em;
}
.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;
    }
    .sent-box {
    margin: 0px auto;
}
}
