@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #2F2F2F;
  font-family: "游明朝体", "Yu Mincho";
}

img {
  width: 100%;
}

@media (min-width: 768px) {
  .pc_size_invisible {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .sp_size_invisible {
    display: none !important;
  }
}
.brown_bar {
  width: 12px;
  height: 60px;
  background-color: #D1816C;
  margin: 0 auto;
}

.section_title {
  border-bottom: 1.2px solid #2F2F2F;
  display: block;
  width: fit-content;
  margin: 0 auto 60px;
  padding-bottom: 20px;
  font-size: 2.4rem;
  line-height: 1.6;
  font-weight: 600;
}

.description {
  text-align: center;
  font-size: 1.6rem;
  line-height: 2;
}

#sec1 {
  width: 100%;
  aspect-ratio: 6048/4024;
  background-image: url(../img/reform_top.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}
#sec1 .text_inner {
  width: 100%;
  height: 300px;
  position: absolute;
  bottom: 0;
  z-index: 2;
}
#sec1 .text_inner h3 {
  position: absolute;
  color: #D1816C;
  font-size: 8rem;
  font-family: "adventures-unlimited";
  font-weight: 100;
  left: 50px;
  top: -50px;
  transform: rotate(-24deg);
  z-index: 5;
}
#sec1 .text_inner .sec1_text_box_white {
  position: relative;
  background-color: white;
  opacity: 0.5;
  width: 100%;
  height: 100%;
}
#sec1 .sec1_text_box {
  width: 100%;
  position: absolute;
  bottom: 0;
  z-index: 3;
}
#sec1 .sec1_text_box h2, #sec1 .sec1_text_box p {
  text-align: center;
}

#index #mainvisual #sec1 .sec1_text_box h2 {
  font-size: 2.7rem;
  text-align: center;
  text-shadow: none;
  margin-bottom: 20px;
  font-weight: 600;
  font-family: "游明朝体", "Yu Mincho";
  letter-spacing: 2px ;
}
#index #mainvisual #sec1 .sec1_text_box p {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0;

}

#sec2 {
  margin: 60px 0;
}
#sec2 .sec2_box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
}
#sec2 .sec2_box .sec2_left {
  width: 25%;
  max-width: 500px;
}
#sec2 .sec2_box .sec2_right {
  margin-left: 60px;
  width: fit-content;
}
#sec2 .sec2_box .sec2_right ul {
  list-style: none;
}
#sec2 .sec2_box .sec2_right ul li {
  font-size: 1.3rem;
  margin-bottom: 10px;
  position: relative;
}
#sec2 .sec2_box .sec2_right ul li::before {
  content: "•"; /* 好きなマーカー（例：黒丸） */
  font-size: 0.6em;
  color: black;
  position: absolute;
  left: -1em;
  top: 0.5em;
}
#sec2 p {
  margin-top: 40px;
}
#sec2 p span {
  border-bottom: 4px solid #D1816C;
  font-weight: 600;
}

#sec3 {
  background-color: #F9FAFA;
  padding-top: 60px;
  padding-bottom: 60px;
}
#sec3 h2 {
  padding-bottom: 30px;
}
#sec3 .sec3_wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}
#sec3 .sec3_wrap .sec3_box:nth-child(1) .sec3_box_top {
  background-image: url(../img/reform_sec3_1.jpg);
}
#sec3 .sec3_wrap .sec3_box:nth-child(2) .sec3_box_top {
  background-image: url(../img/reform_sec3_2.jpg);
}
#sec3 .sec3_wrap .sec3_box:nth-child(3) .sec3_box_top {
  background-image: url(../img/reform_sec3_3.jpg);
}
#sec3 .sec3_wrap .sec3_box .sec3_box_top {
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 1024/682;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
#sec3 .sec3_wrap .sec3_box .sec3_box_top .sec3_mask {
  width: 100%;
  aspect-ratio: 1024/682;
  background-color: black;
  opacity: 0.5;
  position: absolute;
  z-index: 1;
}
#sec3 .sec3_wrap .sec3_box .sec3_box_top .top_text {
  position: absolute;
  color: white;
  z-index: 2;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 500;
}
#sec3 .sec3_wrap .sec3_box .brown_bar {
  height: 20px;
  margin: 20px auto;
}
#sec3 .sec3_wrap .sec3_box p {
  padding-right: 20px;
  line-height: 2.2;
  font-size: 1.2rem;
}

#sec4 {
  width: 100%;
  aspect-ratio: 6048/4024;
  background-image: url(../img/reform_sec4.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}
#sec4 .sec4_text_box_white {
  background-color: white;
  opacity: 0.6;
  width: 850px;
  height: 250px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
#sec4 .sec4_text_box {
  width: fit-content;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-align: center;
}

#sec5 {
  margin-top: 60px;
}
#sec5 h2 {
  text-align: center;
}
#sec5 p {
  margin-bottom: 80px;
}
#sec5 .plan_box:nth-of-type(2) .plan_left {
  background-image: url(../img/reform_sec5_1.jpg);
}
#sec5 .plan_box:nth-of-type(3) .plan_left {
  background-image: url(../img/reform_sec5_2.jpg);
}
#sec5 .plan_box:nth-of-type(4) .plan_left {
  background-image: url(../img/reform_sec5_3.jpg);
}
#sec5 .plan_box {
  width: 80%;
  margin: 60px auto 0;
  display: flex;
  gap: 40px;
}
#sec5 .plan_box .plan_left {
  width: 500px;
  height: 450px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 0;
}
#sec5 .plan_box .plan_left .mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}
#sec5 .plan_box .plan_left .plan_left_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
#sec5 .plan_box .plan_left .plan_left_box .plan_num, #sec5 .plan_box .plan_left .plan_left_box h3 {
  color: white;
  text-align: center;
}
#sec5 .plan_box .plan_left .plan_left_box .plan_num {
  background-color: #D1816C;
  font-size: 2.4rem;
  padding: 10px 15px;
  border-radius: 40px;
  font-family: "Noto Sans JP";
  font-weight: 900;
  margin-bottom: 20px;
}
#sec5 .plan_box .plan_left .plan_left_box h3 {
  font-size: 2.4rem;
  font-family: "Noto Sans JP";
  font-weight: 900;
  line-height: 1.4;
}
#sec5 .plan_box .plan_left .plan_left_box h3 span {
  color: white;
  font-size: 4.4rem;
  letter-spacing: 2px;
  font-family: "Noto Sans JP";
  font-weight: 900;
}
#sec5 .plan_box .plan_right {
  margin-left: 60px;
  width: 600px;
}
#sec5 .plan_box .plan_right h3 {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 40px;
}
#sec5 .plan_box .plan_right p {
  font-size: 1.2rem;
  line-height: 2.4;
  text-align: left;
}

#sec6 {
  background-color: #F9FAFA;
  padding-top: 100px;
  padding-bottom: 100px;
  /* ボタン共通：サイズ調整＆非表示対策 */
  /* オプション：ホバーで濃いグレーにしたい場合 */
}
#sec6 h2 {
  padding: 0 80px 30px;
  margin-bottom: 140px;
}
#sec6 .case_wrap {
  width: 70%;
  margin: 0 auto 80px;
}
#sec6 .case_wrap h3 {
  font-size: 2.4rem;
  margin-bottom: 30px;
  font-weight: 600;
  letter-spacing: 1px;
}
#sec6 .case_wrap h4 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 40px;
}
#sec6 .case_wrap .detail {
  border: 1px black solid;
  width: fit-content;
  padding: 5px 40px 10px 30px;
  font-size: 1.2rem;
  line-height: 2.2;
  margin-bottom: 60px;
}
#sec6 .main-swiper {
  width: 100%;
  height: fit-content;
  margin-bottom: 10px;
}
#sec6 .main-swiper .swiper-slide {
  height: auto;
}
#sec6 .main-swiper img {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
}
#sec6 .swiper-button-next,
#sec6 .swiper-button-prev {
  color: #888;
  width: 30px;
  height: 100px;
  background-size: 30px 100px;
}
#sec6 .swiper-button-next:hover,
#sec6 .swiper-button-prev:hover {
  color: #555;
}
#sec6 #swiper_container1, #sec6 #swiper_container2 {
  position: relative;
  width: 70%;
  margin: 0 auto;
}
#sec6 #swiper_container1 .swiper-button-next,
#sec6 #swiper_container1 .swiper-button-prev, #sec6 #swiper_container2 .swiper-button-next,
#sec6 #swiper_container2 .swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
#sec6 #swiper_container1 .swiper-button-next, #sec6 #swiper_container2 .swiper-button-next {
  right: -50px;
}
#sec6 #swiper_container1 .swiper-button-prev, #sec6 #swiper_container2 .swiper-button-prev {
  left: -50px;
}
#sec6 .thumb-swiper {
  width: 70%;
  height: 100px;
  margin: 10px auto 60px;
  box-sizing: border-box;
}
#sec6 .thumb-swiper .swiper-slide {
  width: 100px;
  height: 100px;
  opacity: 0.5;
  cursor: pointer;
}
#sec6 .thumb-swiper .swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid #007bff;
  border-radius: 4px;
}
#sec6 .thumb-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#sec6 p {
  width: 70%;
  display: block;
  margin: 0 auto 160px;
  line-height: 2.2;
  font-size: 1.2rem;
}

#sec7 {
  background-image: url(../img/reform_sec7.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  aspect-ratio: 3024/2012;
  position: relative;
  z-index: 0;
}
#sec7 .sec7_white, #sec7 .sec7_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#sec7 .sec7_white {
  z-index: 1;
  background-color: white;
  opacity: 0.6;
  width: 1000px;
  height: 400px;
}
#sec7 .sec7_text {
  z-index: 2;
}
#sec7 .sec7_text h3 {
  font-size: 3rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
}
#sec7 .sec7_text .renest_logo {
  width: 400px;
  margin: 30px auto;
}

#sec8 {
  width: 1000px;
  height: fit-content;
  margin: 100px auto;
  display: flex;
  align-items: center;
}
#sec8 .sec8_left {
  width: 350px;
}
#sec8 .sec8_right {
  width: 750px;
  display: flex;
  align-items: center;
  margin-left: 40px;
}
#sec8 .sec8_right p {
  display: block;
  line-height: 2.2;
  font-size: 1.2rem;
}

#sec9 {
  background-color: #F9FAFA;
  padding: 200px 0 100px;
}
#sec9 .qabox {
  padding-left: 100px;
}
#sec9 .qabox h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 40px;
  padding-left: 1em;
  position: relative;
}
#sec9 .qabox h3::before {
  content: "";
  display: inline-block; /* または block */
  width: 7px;
  height: 200%;
  background-color: #D1816C;
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-25%);
}
#sec9 .qabox p {
  padding-left: 80px;
  line-height: 2.2;
  margin-bottom: 60px;
  max-width: 1000px;
  font-size: 1.2rem;
}

#sec10 {
  padding-top: 200px;
  padding-bottom: 200px;
}
#sec10 .step_box {
  display: inline-flex; /* 高さをstep_right基準にする裏技 */
  align-items: center;
  margin-left: 160px;
}
#sec10 .step_box .step_left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 65px;
  width: 100px;
}
#sec10 .step_box .step_left img {
  max-height: 100%;
  width: auto;
}
#sec10 .step_box .step_right {
  margin-left: 20px;
}
#sec10 .step_box .step_right h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}
#sec10 .step_box .step_right h4 {
  font-weight: 600;
}
#sec10 .step_box .step_right p {
  font-size: 1.2rem;
  margin-bottom: 0;
}
#sec10 .step_arrow {
  margin: 40px 20px 40px 320px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 18px solid #D1816C;
}

#sec11 {
  background-color: #F9FAFA;
  padding-top: 100px;
  padding-bottom: 100px;
}
#sec11 .event_wrap {
  display: grid;
  grid-template-columns: repeat(3,330px);
  gap: 70px;
  width: fit-content;
  margin: 80px auto;
}
#sec11 .event_wrap .event_box {
  background-color: white;
  border: 1px black solid;
  height: 330px;
  cursor: pointer;
}
#sec11 .event_wrap .event_box h3 {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 10px;
  font-size: 2rem;
  line-height: 1.6;
  font-weight: 400;
}
#sec11 .event_wrap .event_box .event_icon {
  width: 100px;
  margin: 0 auto 40px;
}

#sec12 {
  background-image: url(../img/reform_sec12.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  aspect-ratio: 1920/1280;
  padding-top: 100px;
}

@media (max-width: 767px) {
  .section_title {
    border-bottom: 1.4px solid #2F2F2F;
    margin: 0 auto 30px;
    padding-bottom: 20px;
    font-size: 1.2rem;
  }
  .description {
    font-size: 0.9rem;
    line-height: 2;
  }
  .page-template-page-new_reform #mainvisual{
    margin-bottom: 20px;
  }
  #sec1 {
    height: 440px;
    aspect-ratio: 3/4;
    background-size: cover; /* はみ出てもOK。縦長にトリミング */
    background-position: center center;
  }
  #sec1 .text_inner {
    height: 150px;
    bottom: 20px;
  }
  #sec1 .text_inner h3 {
    font-size: 4rem;
    left: 0;
    top: -10px;
    transform: rotate(-24deg);
  }
  #sec1 .text_inner .sec1_text_box_white {
    height: 100%;
  }
  #sec1 .sec1_text_box {
    bottom: 20px;
  }
  #index #mainvisual #sec1 .sec1_text_box h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  #index #mainvisual #sec1 .sec1_text_box p {
    font-size: 0.7rem;
    font-weight: 500;
  }
  #sec2 {
    margin: 40px 0 100px;
  }
  #sec2 h2 {
    text-align: center;
    padding: 0 40px 20px;
  }
  #sec2 .sec2_box {
    display: block;
  }
  #sec2 .sec2_box .sec2_left {
    width: 220px;
    margin: 0 auto;
  }
  #sec2 .sec2_box .sec2_right {
    margin-left: 40px;
    padding-right: 30px;
  }
  #sec2 .sec2_box .sec2_right ul li {
    font-size: 0.8rem;
    margin-bottom: 5px;
    letter-spacing: 2px;
    line-height: 1.6;
  }
  #sec2 p {
    margin-top: 40px;
  }
  #sec2 p span {
    border-bottom: 4px solid #D1816C;
    font-weight: 600;
  }
  #sec3 {
    padding-bottom: 0;
  }
  #sec3 h2 {
    text-align: center;
  }
  #sec3 .sec3_wrap {
    display: block;
    gap: 40px;
    width: 80%;
    margin: 0 auto;
  }
  #sec3 .sec3_wrap .sec3_box {
    margin-bottom: 60px;
  }
  #sec3 .sec3_wrap .sec3_box .sec3_box_top .top_text {
    z-index: 2;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
  }
  #sec3 .sec3_wrap .sec3_box .brown_bar {
    width: 15px;
  }
  #sec3 .sec3_wrap .sec3_box p {
    padding-right: 0;
    font-size: 0.8rem;
    letter-spacing: 2px;
    line-height: 2;
  }
  #sec4 .sec4_text_box_white {
    width: 300px;
    height: 100px;
  }
  #sec4 .sec4_text_box {
    width: 300px;
    font-size: 1.2rem;
    letter-spacing: 0;
    line-height: 1.6;
  }
  #sec5 {
    margin-top: 60px;
  }
  #sec5 h2 {
    text-align: center;
    margin-bottom: 60px;
  }
  #sec5 p {
    margin-bottom: 60px;
  }
  #sec5 .plan_box {
    width: 80%;
    display: block;
  }
  #sec5 .plan_box .plan_left {
    width: 100%;
    height: 250px;
    margin-bottom: 40px;
  }
  #sec5 .plan_box .plan_left .plan_left_box .plan_num {
    font-size: 1.4rem;
    padding: 5px 10px;
    border-radius: 30px;
    font-family: "Noto Sans JP";
  }
  #sec5 .plan_box .plan_left .plan_left_box h3 {
    font-size: 1.4rem;
    line-height: 1.2;
    font-family: "Noto Sans JP";
  }
  #sec5 .plan_box .plan_left .plan_left_box h3 span {
    font-size: 2.6rem;
    font-family: "Noto Sans JP";
  }
  #sec5 .plan_box .plan_right {
    margin-left: 0;
    width: 100%;
  }
  #sec5 .plan_box .plan_right h3 {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }
  #sec5 .plan_box .plan_right p {
    font-size: 0.8rem;
    line-height: 2;
  }
  #sec6 {
    padding-top: 60px;
    padding-bottom: 100px;
  }
  #sec6 h2 {
    width: 80%;
    text-align: center;
    margin-bottom: 40px;
  }
  #sec6 .case_wrap {
    padding-right: 0;
    width: 80%;
    margin: 0 auto 60px;
  }
  #sec6 .case_wrap h3 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 10px;
  }
  #sec6 .case_wrap h3 .case_n {
    font-size: 1.2rem;
    font-weight: 600;
  }
  #sec6 .case_wrap h4 {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  #sec6 .case_wrap .detail {
    font-size: 0.7rem;
    width: 100%;
    padding: 10px 20px;
    line-height: 2;
    margin-bottom: 40px;
  }
  #sec6 #swiper_container1, #sec6 #swiper_container2 {
    margin-bottom: 40px;
    width: 100%;
  }
  #sec6 .swiper-pagination {
    bottom: -20px;
  }
  #sec6 p {
    font-size: 0.8rem;
    letter-spacing: 2px;
    line-height: 2;
    margin-bottom: 60px;
  }
  #sec7 {
    height: 60dvw;
  }
  #sec7 .sec7_white {
    width: 300px;
    height: 150px;
  }
  #sec7 .sec7_text {
    width: 300px;
  }
  #sec7 .sec7_text h3 {
    font-size: 1.4rem;
  }
  #sec7 .sec7_text .renest_logo {
    width: 170px;
    margin: 10px auto;
  }
  #sec8 {
    width: 80%;
    margin: 40px auto 60px;
    display: block;
  }
  #sec8 .sec8_left {
    width: 60%;
    margin: 0 auto;
  }
  #sec8 .sec8_right {
    width: 100%;
    margin-left: 0;
  }
  #sec8 .sec8_right p {
    font-size: 0.8rem;
    line-height: 2.4;
  }
  #sec9 {
    padding: 60px 10dvw 40px;
  }
  #sec9 h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
  }
  #sec9 .qabox {
    padding-left: 0;
  }
  #sec9 .qabox h3 {
    font-size: 1rem;
    padding-left: 1.4em;
    margin-bottom: 20px;
    line-height: 1.6;
  }

    #sec9 .qabox h3::before {
      height: 100%;
      transform: translateY(0);
  }
  #sec9 .qabox p {
    padding-left: 0;
    line-height: 2;
    font-size: 0.8rem;
    letter-spacing: 2px;
  }
  #sec10 {
    padding-top: 60px;
    width: 80%;
    margin: 0 auto;
    padding-bottom: 40px;
  }
  #sec10 h2 {
    width: 100%;
    text-align: center;
  }
  #sec10 .step_box {
    display: block;
    margin-left: 0;
    margin-bottom: 0;
  }
  #sec10 .step_box .sp_title {
    width: fit-content;
    margin: 0 auto;
  }
  #sec10 .step_box .sp_title h3, #sec10 .step_box .sp_title h4 {
    text-align: center;
  }
  #sec10 .step_box .sp_title h4 {
    background-color: #D1816C;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    width: fit-content;
    display: block;
    margin: 0 auto 20px;
    font-size: 1.1rem;
  }
  #sec10 .step_box .sp_title h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
  }


  #sec10 .step_box .step_left {
    margin: 0 auto 10px;
  }
  #sec10 .step_box .step_right {
    padding: 10px;
    margin-left: 10px;
  }

  #sec10 .step_box .step_right p {
  font-size: 0.9rem;
  margin-bottom: 0;
  }

  #sec10 .step_box .step_right h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  #sec10 .step_arrow {
    margin: 10px auto 20px;
  }

  #sec11 {
    padding: 60px 10dvw;
  }
  #sec11 h2 {
    text-align: center;
    width: 100%;
  }
  #sec11 .event_wrap {
    display: block;
    width: 100%;
    margin: 20px auto;
  }
  #sec11 .event_wrap .event_box {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
  }
  #sec11 .event_wrap .event_box h3 {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.1rem;
  }
  #sec11 .event_wrap .event_box .event_icon {
    width: 100px;
    margin: 0 auto 40px;
  }
  #sec12 {
    padding-top: 40px;
    position: relative;
    margin-bottom: 140px;
  }
  #sec12 h2 {
    width: 80%;
    text-align: center;
  }
  #sec12 p {
    position: absolute;
    width: 100%;
    left: 50%;
    bottom: -30px;
    transform: translate(-50%, 100%);
  }
}

/* フォーム */
.form-head{
    position: relative;
    background-color: #3A3A3A;
    padding-top: 58px;
    padding-bottom: 58px;
    max-width: 1140px;
    margin: 0 auto;
    margin-bottom: 0 !important;

}
.form-head img{
    position: absolute;
    top: 18px;
    left: 24px;
}
.form-head p{
    font-size: 48px;
    color: #fff;
    text-align: center;
}
#form .container{
    padding: 68px 38px;
    background-color: #F1F4F6;
    margin-bottom: 40px;
}
#form form .row{
    padding-bottom: 46px;
    border-bottom: 1px solid #3A3A3A;
    margin-top: 56px;
}
#form form label{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}
.input-wrap{
    display: flex;
    align-items: center;
    text-align: left;
}
.input-wrap select{
    font-size: 16px;
    line-height: 2em;
    padding: 8px;
}
.required::after{
    content: "必須";
    color: #fff;
    font-family: ryo-text-plusn, serif;
    padding:4px 8px;
    background-color: #A50F0F;
    border-radius:9px;
}
.select-date{
    text-align: center;
    font-family: ryo-text-plusn, serif;
    font-size: 22px;
}
#form form .button-wrap{
    margin-top: 127px;
    display: flex;
    justify-content: center;
}

.single-tour #form iframe{
    width: 100%;
    height: 1000px;
}

/* コンタクトフォーム７修正用 */
.wpcf7-form-control-wrap {
    width: 100%;
}
.visitors .wpcf7-form-control-wrap {
    width: auto;
}

@media screen and (max-width: 576px){
    .form-head {
        padding-top: 48px;
        padding-bottom: 48px;
        margin-bottom: 0px;
    }
    .form-head img {
        width: 48px;
    }
    .form-head p {
        font-size: 20px;
        margin-bottom: 0;
    }
    #form form label {
        font-size: 16px;
    }
    #form form .select-date p{
        font-size:20px;
    }
    #form form select {
        width: 100%;
        font-size: 14px;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .child-age{
        margin-top: 8px;
        font-size: 10px;
    }
}