@charset "UTF-8";

/**=====================前回=====================**/
html, body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  line-height: 1.4;
  font-weight: 400;
  background: radial-gradient(circle at top right,
      #FFFBFC 0%,
      #FDFCF9 15%,
      #FAF8F5 100%);
}

@media screen and (max-width: 779px) {
  html, body {
    font-size: 1.3vw;
  }
}

@media screen and (min-width: 780px) {
  html, body {
    font-size: 10px;
  }
}

* {
  color: #333333;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  margin: 0;
}

pre {
  margin: 0;
}

ul, ol {
  padding-left: 0;
  margin: 0;
}

li {
  list-style: none;
}

a {
  display: block;
  color: #333333;
  text-decoration: none;
}

figure {
  margin: 0;
}

img {
  width: 100%;
  display: block;
}

p, dl, dd {
  margin: 0;
}

button {
  border: none;
  box-shadow: none;
}

button:hover {
  cursor: pointer;
}

input:active, input:focus, input:hover,
textarea:active, textarea:focus, textarea:hover,
select:active, select:focus, select:hover,
button:active, button:focus, button:hover {
  outline: none;
}

::-ms-expand {
  display: none;
}

i {
  font-style: normal;
}

.pc {
  display: block;
}

@media only screen and (max-width: 780px) {
  .pc {
    display: none;
  }
}

.sp {
  display: none;
}

@media only screen and (max-width: 780px) {
  .sp {
    display: block;
  }
}

.blank {
  width: 100%;
  display: block;
}

@media only screen and (max-width: 780px) {
  .blank {
    display: none;
  }
}

.spblank {
  display: none;
}

@media only screen and (max-width: 780px) {
  .spblank {
    width: 100%;
    display: block;
  }
}

/**=====================前回=====================**/
.navy_figure {
  position: relative;
  z-index: 2;
}

.navy_back {
  background-color: #324063;
  position: relative;
  padding: 23.2rem 0 0;
  margin: 0 auto 5.2rem;
}

.navy_back::after {
  content: "";
  height: 0;
  display: inline-block;
  border-top: solid 5.2rem #324063;
  border-right: solid 39rem transparent;
  border-left: solid 39rem transparent;
  border-bottom: 0;
  position: absolute;
  left: 0;
  bottom: calc(-5.2rem + 1px);
  /* 1px上に調整 */

}

@media screen and (max-width: 780px) {
  .navy_back::after {
    border-right: solid 50vw transparent;
    border-left: solid 50vw transparent;
  }
}

.number_wrap {
  padding: 22.2rem 0 4rem;
}

.number_list {
  padding: 0 0 7.8rem;
}

.number_list li {
  width: 72.6rem;
  padding: 1.4rem 0;
  margin: 0 auto;
  border-bottom: solid 2px rgba(255, 255, 255, 0.4);
}

.check_wrap {
  width: 73.2rem;
  margin: 0 auto;
  position: relative;
}

.check_wrap p {
  width: 68rem;
  color: #e5395b;
  font-size: 3.6rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.7;
  border: solid 7px #e5395b;
  border-radius: 2rem;
  padding: 4rem 0;
  margin: 0 0 0 auto;
}

.check_wrap::before {
  content: "";
  width: 18rem;
  height: 18rem;
  display: block;
  background-image: url(../images/trouble/red_check.png);
  background-size: contain;
  background-position: center;
  transform: translateY(-40%) translateX(-20%);
  position: absolute;
  top: 0;
  left: 0;
}

.check_list {
  display: flex;
  flex-wrap: wrap;
  gap: 2.8rem 2rem;
  justify-content: center;
}

.check_list li {
  width: 36.2rem;
}

.slick-dots {
  display: flex;
  gap: 1.8rem;
  justify-content: center;
}

.slick-dots li button {
  width: 2rem;
  height: 2rem;
  font-size: 0;
  background-color: #4f2222;
  border-radius: 100%;
}

.slick-dots li.slick-active button {
  background-color: #FFF;
}

.trouble {
  padding: 9.2rem 0 6rem;
  background-color: #ffffff;
}

.trouble_title {
  width: 66.4rem;
  margin: 0 auto;
  margin-bottom: 3.5em;

}

.trouble_title+figure {
  width: 70.2rem;
  margin: 0 auto -18.6rem;
}

.trouble_wrap .trouble_list {
  padding: 0 0 2.2rem;
}

.trouble_fukidashi {
  width: calc(100% - 8.6rem);
  height: 27.6rem;
  background-image: url(../images/trouble/fukugyo_trouble_images02.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top center;
  margin: 0 auto 3.8rem;
  position: relative;
}

.trouble_fukidashi p {
  font-size: 3.4rem;
  font-weight: 500;
  position: absolute;
  transform: translateX(70%) translateY(-60%);
  top: 50%;
}

.trouble_fukidashi p span {
  position: relative;
}

.trouble_fukidashi p span b {
  color: #c40505;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.trouble_fukidashi p span b:nth-of-type(1) {
  font-size: 5rem;
  padding: 0 0 0 0.5rem;
}

.trouble_fukidashi p span b:nth-of-type(2) {
  font-size: 3.4rem;
}

.trouble_fukidashi p span::before {
  content: "";
  width: 100%;
  height: 1.8rem;
  display: block;
  background-color: #cccccc;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.trouble_text {
  padding: 0 4.3rem 4rem;
  margin: 0 auto;
}

.trouble_text p {
  color: #FFFFFF;
  font-size: 3rem;
}

.trouble_text p:nth-of-type(1), .trouble_text p:nth-of-type(2) {
  text-align: center;
  margin: 0 0 2rem;
}

.trouble_text p span {
  color: #FFFFFF;
}

.trouble_text p span:nth-of-type(1) {
  text-align: center;
}

.trouble_text p b {
  color: #fcee21;
  font-size: 4.4rem;
  font-weight: 500;
  border-bottom: dotted 4px #fcee21;
}

.trouble_resolve {
  padding: 13.2rem 0 8rem;
}

.trouble_resolve h2 {
  font-size: 4rem;
  text-align: center;
  font-weight: 600;
  margin: 0 0 5.4rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.05em;
}

.trouble_resolve h2+img {
  width: 73.2rem;
  margin: 0 auto 8rem;
}

.trouble_resolve h3 {
  width: 64.1rem;
  margin: 0 auto 4rem;
}

.trouble_resolve p {
  width: 73.2rem;
  font-size: 3rem;
  line-height: 1.7;
  border-top: solid 1.6px #c9c9c9;
  padding: 4rem 0 0;
  margin: 0 auto;
}

.trouble_resolve p b {
  color: #e5395b;
}

.repayment {
  padding: 8.2rem 0 0;
  background-color: #ffffff;

}

.repayment h3 {
  width: 72.3rem;
  margin: 0 auto 3.2rem;
}

.repayment h3+figure {
  width: 70.2rem;
  margin: 0 auto -18.6rem;
}

.repayment_comment {
  width: 67.6rem;
  font-size: 3.2rem;
  font-weight: 500;
  background-color: #FFFFFF;
  border-radius: 10rem;
  text-align: center;
  padding: 2rem 0;
  margin: 0 auto 2.5rem;
}

.repayment_comment b {
  color: #e5395b;
}

.repayment_comment+p {
  color: #FFFFFF;
  font-size: 3rem;
  line-height: 1.6;
  text-align: center;
}

.repayment_fukidashi {
  width: calc(100% - 11.2rem);
  background-color: #FFFFFF;
  border-radius: 10rem;
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 3.6rem 0;
  margin: 0 auto 5.2rem;
}

.repayment_fukidashi span {
  color: #e5395b;
}

.repayment_text {
  color: #FFFFFF;
  font-size: 3rem;
  line-height: 1.6;
  text-align: center;
  padding: 0 0 4.4rem;
}

.repayment_change {
  background-image: url(../images/repayment/repayment_back.png);
  background-size: 100% auto;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 6rem 0 26.6rem;
}

.repayment_change img {
  width: 59.9rem;
  margin: 0 auto 4rem;
}

.repayment_change p {
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04rem;
  padding: 0 5rem;
  /* yellow border */
}

.repayment_change p span {
  position: relative;
}

.repayment_change p span b {
  color: #e5395b;
  font-size: 3.4rem;
  position: relative;
  z-index: 2;
}

.repayment_change p span::before {
  content: "";
  width: 100%;
  height: 1.8rem;
  display: block;
  background-color: #fff6bf;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.clue {
  padding: 8.4rem 0 8rem;
  background-color: #F9F9F9;
}

.clue h2 {
  width: 59.9rem;
  margin: 0 auto 6rem;
}

.clue .check_list {
  margin: 0 auto 12rem;
}

.debtsolution {
  background-image: url(../images/debtsolution/debtsolution_bg.png);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% auto;
}

.debtsolution h2 {
  margin: 0 0 12rem;
}

.debtsolution h2+p {
  width: 72.8rem;
  font-size: 3rem;
  margin: 0 auto 12rem;
  letter-spacing: 0.07em;
  line-height: 1.6;
}

.debtsolution h2+p b {
  color: #e5395b;
  font-weight: 400;
  letter-spacing: 0.07em;
}

.debtsolution dl {
  width: calc(100% - 2.6rem);
  background-color: #FFFFFF;
  border-radius: 0 4.8rem 4.8rem 0;
  padding: 21.6rem 4.4rem 8rem 2.4rem;
  box-shadow: 4px 4px 8px 0px rgba(139, 131, 121, 0.2);
  margin: 0 2.6rem 14rem 0;
  position: relative;

}

.debtsolution dl::before {
  content: "";
  width: 100%;
  height: 37.9rem;
  display: block;
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  position: absolute;
  top: -10.6rem;
  right: -2.3rem;
}

.debtsolution dl:nth-of-type(1) {
  margin: 0 2.6rem 14rem 0;
}

.debtsolution dl:nth-of-type(1)::before {
  background-image: url(../images/debtsolution/debtsolution_solution01.png);
}

.debtsolution dl:nth-of-type(2) {
  margin: 0 2.6rem 11.6rem 0;
}

.debtsolution dl:nth-of-type(2)::before {
  background-image: url(../images/debtsolution/debtsolution_solution02.png);
}

.debtsolution dl dt {
  font-size: 4.6rem;
  font-weight: 500;
  margin: 0 0 4rem;
}

.debtsolution dl dd {
  font-size: 3rem;
  line-height: 1.7;
}

.debtsolution dl dd b {
  color: #e5395b;
  font-weight: 400;
}

.debtsolution_change img {
  width: 71.1rem;
  margin: 0 auto;
}

.debtsolution_change p {
  background-image: url(../images/debtsolution/debtsolution_bg.png);
  background-size: 100% auto;
  background-position: bottom center;
  background-repeat: no-repeat;
  font-size: 3.4rem;
  line-height: 1.7;
  font-weight: 500;
  padding: 0 5rem 20.4rem;
  margin: 0 auto;
  letter-spacing: 0.1em;
  /* yellow border */

}

.debtsolution_change p span {
  position: relative;
}

.debtsolution_change p span b {
  color: #e5395b;
  font-size: 4rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.debtsolution_change p span::before {
  content: "";
  width: 100%;
  height: 1.8rem;
  display: block;
  background-color: #fff6bf;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.solutioncase {
  background-image: url(../images/solutioncase/solutioncase_bg.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom center;
}

.solutioncase h3 {
  margin: 0 0 5.4rem;
}

.solutioncase_list {
  padding: 0 0 15.8rem;
}

.solutioncase_list li {
  width: 73rem;
  padding: 0 0 4.8rem;
  margin: 0 auto 8.8rem;
  position: relative;
}

.solutioncase_list li:nth-last-of-type(1) {
  margin: 0 auto;
}

.solutioncase_list li::before {
  content: "";
  width: 100%;
  height: calc(100% - 6rem);
  background-color: #FFFFFF;
  border-radius: 1rem;
  position: absolute;
  bottom: 0;
  left: 0;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.08);

}

.solutioncase_list div {
  display: flex;
  margin: -6rem 0 0;
  position: relative;
  z-index: 2;
}

.solutioncase_list div figure {
  width: 25.5rem;
}

.solutioncase_list div p {
  width: 43.4rem;
  color: #e5395b;
  font-size: 3rem;
  line-height: 1.7;
  padding: 10rem 0 0;
}

.solutioncase_list div+p {
  width: 69rem;
  font-size: 3rem;
  border-top: solid 1.6px #c9c9c9;
  padding: 3.4rem 0 0;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  /* yellow border */
  letter-spacing: 0.06em;
  line-height: 1.5;

}

.solutioncase_list div+p span {
  position: relative;
}

.solutioncase_list div+p span b {
  color: #e5395b;
  font-weight: 400;
  position: relative;
  z-index: 2;
}

.solutioncase_list div+p span::before {
  content: "";
  width: 100%;
  height: 1.8rem;
  display: block;
  background-color: #fff6bf;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.pr {
  background-image: url(../images/pr/pr_point_bg.png);
  background-size: 100% auto;
  background-position: bottom center;
  background-repeat: no-repeat;
  padding: 0 0 68rem;
}

.pr h4 {
  margin: 0 0 2rem;
}

.pr_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.pr_list li {
  width: 36.9rem;
}





.lawyer {
  background-image: linear-gradient(40deg, #7A2423 0%, #C64445 100%);
  padding: 0 0 9.6rem;
}

.lawyer_list {
  margin: 0 0 13.2rem;
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes infinity-scroll-right {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

.media_wrap {
  background-color: #FFFFFF;
  padding: 0.5rem 0 4.2rem;
  position: relative;
  margin-top: 5em;
}

.media_wrap::before {
  content: "";
  width: 100%;
  height: 1rem;
  background-image: radial-gradient(#D7D7D7 2px, transparent 2px);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 1rem 1rem;
  position: absolute;
  top: -0.5rem;
  left: 0;
}

.media_wrap::after {
  content: "";
  width: 100%;
  height: 1rem;
  background-image: radial-gradient(#D7D7D7 2px, transparent 2px);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 1rem 1rem;
  position: absolute;
  bottom: -0.5rem;
  left: 0;
}

.media_list_wrap {
  display: flex;
  overflow: hidden;
  margin-top: 5em;
}

.media_list_wrap:nth-of-type(1) .media_list {
  animation: infinity-scroll-left 40s infinite linear 0.5s both;
}

.media_list_wrap:nth-of-type(2) .media_list {
  animation: infinity-scroll-right 40s infinite linear 0.5s both;
}

.media_list {
  display: flex;
  padding: 0;
}

.media_list li {
  width: 39rem;
}

.media_text {
  width: 53.6rem;
  padding: 3.2rem 0 0;
  margin: 0 auto;
}

.review {
  background-image: url(../images/review/review_bg.png);
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 0 9.6rem;
}

.flow {
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center bottom;
  padding: 0 0 15.4rem;
  background-color: #F7E4BC;
}

.flow h3 {
  margin: 0 auto 7rem;

}

.flow_list {
  position: relative;
}

.flow_list::after {
  content: "";
  width: 0.4rem;
  height: 129.7rem;
  display: block;
  background-image: url(../images/flow/flow_border.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  z-index: 1;
  top: 10rem;
  left: 5.4rem;
}

.flow_list_item {
  position: relative;
  z-index: 2;
}

.flow_list_item::before {
  content: "";
  width: 8.1rem;
  height: 10rem;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: -1.6rem;
  left: -0.6rem;
}

.flow_list_item:not(:nth-of-type(4)) {
  width: 73.3rem;
  height: 32.1rem;
  background-size: 100% auto;
  border-radius: 1rem;
  box-shadow: 4px 4px 4px 0px rgba(215, 215, 215, 0.4);
  margin: 0 auto 4.6rem;
  border: 2px solid #E55646;
}

.flow_list_item:nth-of-type(4) {
  width: 75.5rem;
  height: 25.9rem;
  margin: 0 0.9rem 4.6rem auto;
}

.flow_list_item dl {
  width: 46rem;
  padding: 4.6rem 0 0;
  margin: 0 3.6rem 0 auto;
}

.flow_list_item dl dt {
  color: #e5395b;
  font-size: 3rem;
  margin: 0 0 1rem;
  font-weight: 600;
}

.flow_list_item dl dd {
  font-size: 3rem;
  line-height: 1.7;
}

.flow_list_item:nth-of-type(1) {
  background-image: url(../images/flow/flow_img01.png);
}

.flow_list_item:nth-of-type(1)::before {
  background-image: url(../images/flow/flow_tag01.png);
}

.flow_list_item:nth-of-type(2) {
  background-image: url(../images/flow/flow_img02.png);
}

.flow_list_item:nth-of-type(2)::before {
  background-image: url(../images/flow/flow_tag02.png);
}

.flow_list_item:nth-of-type(3) {
  background-image: url(../images/flow/flow_img03.png);
}

.flow_list_item:nth-of-type(3)::before {
  background-image: url(../images/flow/flow_tag03.png);
}

.flow_list_item:nth-of-type(4)::before {
  background-image: url(../images/flow/flow_tag_hand.png);
  left: 0.6rem;
}

.flow_list_item:nth-of-type(5) {
  background-image: url(../images/flow/flow_img04.png);
  margin: 0 auto;
}

.flow_list_item:nth-of-type(5)::before {
  background-image: url(../images/flow/flow_tag04.png);
}

.red_wrap {
  background-image: linear-gradient(40deg, #7A2423 0%, #C64445 100%);
}

.insight {
  padding: 8.8rem 0 11.8rem;
}

.insight h3 {
  width: 70.5rem;
  margin: 0 auto;
}

.qa {
  background-image: url(../images/qa/q&a_bottom.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom center;
  padding: 0 0 26.2rem;
  background-color: #fff;
}

.qa h3 {
  margin: 0 auto 7.2rem;
}

.qa h3+p {
  width: 72rem;
  font-size: 3.2rem;
  margin: 0 auto 8rem;
  line-height: 1.6;

}

.qa_list {
  border-top: solid 1px #c9c9c9;
}

.qa_list:hover {
  cursor: pointer;
}

.qa_list .question {
  border-bottom: solid 1px #c9c9c9;
  font-size: 3.2rem;
  position: relative;
}

.qa_list .question::before {
  content: "";
  width: 7.3rem;
  height: 7.3rem;
  display: block;
  background-image: url(../images/qa/Q.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  left: 2.75rem;
}

.qa_list .question::after {
  content: "";
  width: 3.2rem;
  height: 0.4rem;
  display: block;
  background-color: #D7D7D7;
  transform: translateY(-50%);
  position: absolute;
  top: 50%;
  right: 2.4rem;
}

.qa_list .question span {
  display: flex;
  align-items: center;
  min-height: 12.3rem;
  padding: 4.5rem 9.2rem 4.5rem 13.8rem;
  position: relative;
  letter-spacing: 0.08em;
  line-height: 1.３;


}

.qa_list .question span::after {
  content: "";
  width: 0.4rem;
  height: 3.2rem;
  display: block;
  background-color: #D7D7D7;
  transform: translateY(-50%) translateX(-50%);
  position: absolute;
  top: 50%;
  right: 3.6rem;
}

.qa_list .answer {
  height: 0;
  min-height: 0;
  background-color: #F7F6F6;
  font-size: 0px;
  padding: 0;
  position: relative;
}

.qa_list .answer:nth-last-of-type(1) {
  border-bottom: solid 1px #c9c9c9;
}

.qa_list .answer::before {
  content: "";
  width: 7.3rem;
  height: 7.3rem;
  display: none;
  background-image: url(../images/qa/A.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 4rem;
  left: 2.75rem;
}

.qa_list .qa_item.open>.question span::after {
  display: none;
}

.qa_list .qa_item.open>.answer {
  min-height: 12.3rem;
  height: auto;
  font-size: 3.2rem;
  padding: 4.5rem 5.2rem 4.5rem 13.8rem;
  letter-spacing: 0.2em;
  line-height: 1.３;
}

.qa_list .qa_item.open>.answer::before {
  display: block;
}

.thanks_wrap {
  background: ##f4f4f4 !important;
  box-shadow: none !important;
}

.thanks_wrap p {
  font-size: 2.8rem;
  line-height: 1.4;
  padding: 10.4rem 3.6rem 12.6rem;
}

.thanks_wrap a {
  width: 34rem;
  margin: 0 auto;
}

.cta {
  position: relative;
}

.cta div {
  width: 78rem;
  margin: 0 auto;
}

.cta_list {
  width: 70.8rem;
  position: absolute;
  transform: translateX(-50%);
  top: 52%;
  left: 50%;
}

.cta_red {
  padding: 8.8rem 0 0;
}

.cta_red .cta_list {
  top: 45%;
}

@keyframes kirari {
  0% {
    -webkit-transform: scale(0) rotate(25deg);
    opacity: 0;
  }

  75% {
    -webkit-transform: scale(0) rotate(25deg);
    opacity: 0.5;
  }

  76% {
    -webkit-transform: scale(4) rotate(25deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(50) rotate(25deg);
    opacity: 0;
  }
}

/* ==================================================

FV下のCTA01_<div class="cta cta_fv" id="fv_line">

================================================== --> */



.cta_fv {
  position: relative;
}

.cta_fv .fv_line_btn {
  width: 67.6rem;
  transform: translateX(-50%);
  position: absolute;
  top: 71%;
  left: 52%;
}

.cta_fv .fv_line_btn .fv_cta_bubble {
  width: 13.8rem;
  height: 14.1rem;
  position: absolute;
  top: -1.4rem;
  left: -1.8rem;
  z-index: 2;
}

.cta_fv .fv_line_btn .fv_cta_wrap {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.cta_fv .fv_line_btn .fv_cta_wrap>img {
  margin-bottom: 0;
}

.cta_fv .fv_line_btn .fv_cta_wrap::before {
  content: "";
  height: 100%;
  width: 3rem;
  position: absolute;
  top: -18rem;
  left: 0;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  -webkit-transform: rotate(45deg);
  -webkit-animation: kirari 2.5s ease-in-out infinite;
}

@keyframes kachikachi {
  0% {
    transform: translateY(0);
  }

  75% {
    transform: translateY(0);
  }

  81% {
    transform: translateY(1rem);
  }

  87% {
    transform: translateY(0);
  }

  93% {
    transform: translateY(1rem);
  }

  99% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(0);
  }
}

.cta_fv .fv_cta_bottom {
  position: relative;
}

.cta_fv .fv_cta_bottom::before {
  content: "";
  width: 66.5rem;
  height: 16rem;
  display: block;
  background-image: url(../images/fv/cta_main_bottom.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  position: absolute;
  bottom: -1rem;
  right: 1rem;
}

@media (max-width: 768px) {

  .cta_fv .fv_cta_bottom::before {
    content: "";
    width: 65rem;
    height: 14rem;
    display: block;
    background-image: url(../images/fv/cta_main_bottom.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    position: absolute;
    bottom: -1rem;
    border-radius: 2rem;

    /* ▼ 変更: 右寄せをやめて、中央配置＋微調整に変更  */
    right: auto;
    left: 50%;
    transform: translateX(-52%);
  }

  .cta_fv .fv_line_btn .fv_cta_wrap>img {
    position: relative;
    left: -0.9rem;
    margin-bottom: 0;
    width: 66rem;
  }

  .cta_fv .fv_cta_wrap::before {
    top: -14rem;
    left: 0;
    height: 100%;
    width: 3rem;
    opacity: 0.5;
    transform: rotate(45deg);
    animation: kirari 2.5s ease-in-out infinite;
    z-index: 3;
  }
}


.cta_fv .fv_cta_bottom_animation {
  -webkit-animation: kachikachi 2.5s ease-in-out infinite;
}

/* ==================================================

FV下のCTA01_<div class="cta cta_fv" id="fv_line">

================================================== --> */

/* ==================================================
   3CTAパターン (LINE + メール + 電話)
   .cta_type_3
================================================== */

/* --- 1. LINEボタンの位置調整 --- */
/* 親に cta_type_3 がある時だけ、LINEボタンの位置(top)を変える */
.cta_type_3 .fv_line_btn {
  top: 50%;
}

/* --- 2. メール・電話ボタン (リスト) の設定 --- */
.cta_type_3 .cta_list {
  position: absolute;
  top: 64%;
  left: 50%;
  transform: translateX(-50%);
  width: 72.6rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 2;
}

.cta_type_3 .cta_list li {
  width: 100%;
}

.cta_type_3 .cta_list li a {
  display: block;
  transition: opacity 0.3s;
}

.cta_type_3 .cta_list li a:hover {
  opacity: 0.8;
}

.cta_type_3 .cta_list img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- スマホ用 (SP) 調整 --- */
@media (max-width: 768px) {
  .cta_type_3 .fv_line_btn {
    top: 50%;
    /* 背景画像に合わせて微調整 */
  }

  .cta_type_3 .cta_list {}
}

/* ==================================================
   3CTAパターン (LINE + メール + 電話)
   .cta_type_3
================================================== */

/* ==================================================
   解決事例セクション
   .section-solution
================================================== */

.section-solution {
  background-color: #E4F5F9;
  width: 100%;
  padding-bottom: 60px;
  font-family: "Noto Sans JP", sans-serif;
}

/* コンテナ：SP基準の幅でPCも中央表示 */
.solution-container {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* --- タイトル画像 --- */
.solution-title {
  width: 100%;
  text-align: center;
}

.solution-title img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- 導入テキスト --- */
.solution-intro {
  color: #333333;
  font-size: 2.8rem;
  line-height: 1.8;
  text-align: left;
  margin: 30px 1em;
  font-weight: 500;
}

@media (max-width: 768px) {

  /* --- 導入テキスト --- */
  .solution-intro {
    color: #333333;
    font-size: 3.6rem;
    line-height: 1.8;
    text-align: left;
    margin: 30px 10px;
    font-weight: 500;
  }
}


/* 強調部分 */
.solution-intro .highlight {
  color: #F25D22;
  font-weight: bold;
}

/* --- 画像エリア --- */
.solution-images {
  width: 100%;
}

.case-img {
  margin-bottom: 20px;
  /* 画像同士の間隔 */
}


.case-img img {
  width: 100%;
  height: auto;
  display: block;

}

/* 最後の画像だけ下の余白を消す */
.case-img:last-child {
  margin-bottom: 0;
}

/* ==================================================
   解決事例セクション
   .section-solution
================================================== */
/* ==================================================
  解決のロジックセクション
<section class="logic-section">
================================================== */


/* --- セクション全体設定 --- */
.logic-section {
  width: 100%;
  background: linear-gradient(180deg, #FBF3EB 0%, #FFFFFF 100%);
  padding-bottom: 60px;
  font-family: "Noto Sans JP", sans-serif;
  box-sizing: border-box;
}

@media (max-width: 768px) {

  /* --- セクション全体設定 --- */
  .logic-section {
    width: 100%;
    background: linear-gradient(180deg, #FBF3EB 0%, #FFFFFF 100%);
    padding-bottom: 10px;
    font-family: "Noto Sans JP", sans-serif;
    box-sizing: border-box;
  }
}

/* コンテナ */
.logic-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* --- タイトル画像 --- */
.logic-title {
  width: 100%;
  line-height: 0;
}

.logic-title img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- テキスト共通設定（導入・締めくくり） --- */
.logic-text {
  color: #333333;
  font-size: 3.6rem;
  line-height: 1.8;
  text-align: center;
  font-weight: 500;
  margin: 20px 20px;
  letter-spacing: 0.05em;
}

/* 強調部分（オレンジ・太字） */
.logic-text .highlight {
  color: #F25D22;
  font-weight: bold;
}

/* --- 画像エリア --- */
.logic-images {
  width: 100%;
  margin: 0;
  padding: 0;
}

.logic-img-item {
  width: 100%;
  line-height: 0;
  /* 画像の上下に隙間ができないようにする */
  margin: 0;
}

.logic-img-item img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}



/* ==================================================
  解決のロジックセクション
<section class="logic-section">
================================================== */
/* ==================================================
  解決事例セクション
<section class="logic-section">
================================================== */

/* --- セクション全体設定 --- */
.voice-section {
  width: 100%;
  background-color: #F7E4BC;
  padding-bottom: 80px;
  position: relative;
  font-family: "Noto Sans JP", sans-serif;
  overflow: hidden;
}

@media (min-width: 769px) {
  .voice-section {
    padding-bottom: 160px;
  }
}

/* コンテナ */
.voice-container {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 100;
}

/* --- タイトル画像 --- */
.voice-title {
  width: 100%;
  line-height: 0;
  margin-bottom: 30px;
}

.voice-title img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- 事例画像リスト --- */
.voice-list {
  width: 100%;
  margin: 0 auto;
}

.voice-item {
  width: 100%;
  line-height: 0;
}

.voice-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 最後の事例だけ下の余白を調整 */
.voice-item:last-child {
  margin-bottom: 0;
}

/* --- 下部背景装飾（ハンマー） --- */
.voice-bg-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  line-height: 0;
  pointer-events: none;
}

.voice-bg-bottom img {
  width: 100%;
  display: block;
  margin: 0 auto;
}

/* ==================================================
  解決事例セクション
<section class="logic-section">
================================================== */
/* ==================================================
  大地総合が選ばれる５つの理由
================================================== */

.reason {
  background-color: #fff;
}

.reason_wrap {
  background-image: url(../images/reason/reason_bottom.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom left;
  padding: 0 0 10.4rem;
  margin-top: 7rem;
}

.reason_wrap dl {
  margin: 0 auto;
  margin-top: 2rem;
  position: relative;

}

.reason_wrap dl:not(:nth-last-of-type(1)) {
  border-bottom: none;
}

.reason_wrap dl:not(:nth-last-of-type(1))::after {
  content: "";
  position: absolute;
  left: 3rem;
  /* ← 線だけの左右余白 */
  right: 3rem;
  bottom: 0;
  height: 1.6px;
  background-color: #c9c9c9;
}

.reason_wrap dl dd {
  padding: 2rem 2rem 4.8rem;
}

.reason_wrap dl dd p {
  width: 73rem;
  font-size: 3.5rem;
  line-height: 1.7;
  margin: 0 auto;
}


/* ==================================================
  大地総合が選ばれる５つの理由
================================================== */
/* ==================================================
 -事務所概要&代表挨拶セクション
================================================== */

/* --- セクション全体 --- */
.profile-section {
  width: 100%;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF5EE 100%);
  padding: 40px 0 40px;
  font-family: "Noto Sans JP", sans-serif;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.profile-container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

/* --- 見出し共通 --- */
.profile-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: 6.2rem;
  color: #E05275;
  text-align: center;
  margin: 40px 0 20px;
  line-height: 1.2;
  padding: 0 20px;
}

.profile-title:first-child {
  margin-top: 0;
}

/* --- 事務所概要 --- */
.office-info {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.office-row {
  padding: 15px 0;
  position: relative;
}

@media (min-width: 769px) {
  .office-row {
    padding: 2cqw 0;
    position: relative;
  }
}

.office-row::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background-color: #ddd;
}

.office-row.no-border::after {
  display: none;
}

.office-name {
  font-size: 3.5rem;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
}

.office-info dl {
  margin: 0;
}

.office-info dt {
  font-size: 3.5rem;
  color: #333;
  margin-bottom: 5px;
}

.office-info dd {
  font-size: 3.1rem;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

/* --- 代表挨拶エリア --- */
.profile-image-box {
  width: 100%;
  margin: 0 auto;
  position: relative;
  margin-bottom: 40px;
}

.lawyer-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ネームプレート */
.name-plate {
  background: linear-gradient(90deg, #AE3A3A 0%, #C64445 100%);
  width: 86%;
  margin: -100px 0 0 auto;
  padding: 20px;
  box-sizing: border-box;
  color: #ffffff !important;
  text-align: left;

  position: relative;
  z-index: 2;
}

.name-plate p,
.name-plate h3 {
  color: #ffffff;
}

.name-plate h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 4.2rem;
  margin: 0 0 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.name-plate .position {
  font-size: 2.5rem;
  margin: 0 0 5px;
  opacity: 1;
}

.name-plate .association {
  font-size: 2.3rem;
  margin: 0;
  opacity: 0.9;
}

/* 挨拶文 */
.profile-message {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
  /* ★追加: ここも文字が端にくっつくのを防ぐ */
  padding: 0 10px;
}

.profile-message p {
  font-size: 3.3rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 25px;
  font-weight: 500;
}

@media (min-width: 769px) {
  .profile-message p {
    font-size: 2.8rem;

  }

  /* 挨拶文 */
  .profile-message {
    padding: 0 20px;
  }

}

.profile-message p:last-child {
  margin-bottom: 0;
}

/* --- 下部背景装飾 --- */
.profile-bg-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  line-height: 0;
  pointer-events: none;
}

.profile-bg-bottom img {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 auto;
  opacity: 0.8;
}

/* SP調整 */
@media (max-width: 768px) {
  /* 必要に応じて微調整 */
}


/* ==================================================
 -事務所概要&代表挨拶セクション
================================================== */






























.cta_2 .cta_list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  top: 34%;
}

header {
  width: 780px;
  margin: 0 auto;
  overflow: hidden;
}

@media only screen and (max-width: 780px) {
  header {
    width: 100%;
  }
}

@media only screen and (min-width: 1600px) {
  header {
    transform: translateX(-98px);
  }
}

.footer {
  width: 100%;
  position: sticky;
  bottom: 0;
  left: 0;
  z-index: 100;
}

@media screen and (min-width: 1440px) {
  .footer {
    position: fixed;
    width: auto;
    top: auto;
    left: auto;
  }
}

@media screen and (min-width: 1440px) and (max-width: 1599px) {
  .footer {
    bottom: 11rem;
    right: calc(50vw - 720px);
  }

}

@media screen and (min-width: 1600px) {
  .footer {
    bottom: 4rem;
    right: calc(50vw - 785px);
  }
}

.footer_cta {
  background-color: #fff9d4;
  padding: 1rem 3.6rem 2.2rem;
}

.footer_cta_1 {
  display: none;
}

@media screen and (max-width: 899px) {
  .footer_cta_1 {
    display: block;
  }
}

.footer_cta_2 {
  display: none;
}

@media screen and (min-width: 900px) and (max-width: 1439px) {
  .footer_cta_2 {
    display: block;
  }
}

.footer_cta_2 .footer_cta_list {
  gap: 2rem;
  justify-content: center;
  margin: 0 auto;
}

.footer_cta_3 {
  display: none;
  background-color: transparent;
}

@media screen and (min-width: 1440px) and (max-width: 1599px) {
  .footer_cta_3 {
    display: block;
  }

  .footer_cta_3 .footer_cta_list {
    width: 28rem;
    flex-direction: column;
    gap: 1.5rem;

  }
}

.footer_cta_4 {
  width: 55.7rem;
  display: none;
  background: none;
  position: relative;
  left: 10%;
}

@media screen and (min-width: 1600px) {
  .footer_cta_4 {
    display: block;
  }

  .footer_cta_4 .footer_cta_list {
    width: 43rem;
    flex-direction: column;
    margin: 0 auto;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    gap: 0.8rem;
  }

  .footer_cta_4 .footer_cta_list li {
    width: auto;
  }
}

.footer_cta_list {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  margin: 0 0 0.8rem;
}

.footer_cta_list li {
  width: 25.5rem;
}

.footer_cta_text {
  background-color: #FFFFFF;
  border-radius: 5rem;
  text-align: center;
  font-size: 2.3rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  padding: 1rem 0;
}

.footer_cta_text b {
  color: #e5395b;
}

body {
  margin: 0;
  letter-spacing: 0.07em;
  scroll-behavior: smooth;
}

main {
  width: 78rem;
  margin: 0 auto;
  overflow: hidden;
}

@media only screen and (max-width: 780px) {
  main {
    width: 100%;
  }
}

@media only screen and (min-width: 1600px) {
  main {
    transform: translateX(-98px);
  }
}

@media only screen and (min-width: 750px) {
  main {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  }
}




/* ==================================================
 メールフォーム調整版
================================================== */

#contact {
  background-color: #fff;
  font-family: "Noto Sans JP", sans-serif;
}

/* テキスト幅の調整（SP対応のためmax-widthに変更） */
#contact .contact_text {
  width: 100%;
  max-width: 72.4rem;
  font-size: 2rem;
  margin: 0 auto 1rem;
  padding: 0 2rem;
  line-height: 1.8;
  box-sizing: border-box;
}

/* フォーム全体の枠組み */
#contact form {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  padding: 4rem 2rem;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 各項目のリストデザイン */
#contact form dl {
  width: 100%;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 2rem;
  margin-bottom: 1rem;
}

#contact form dl:last-of-type {
  border-bottom: none;
}

/* 項目名（dt） */
#contact form dl dt {
  padding: 1rem 0;
}

#contact form dl dt .inner {
  display: flex;
  justify-content: flex-start;
  /* 左寄せに変更 */
  align-items: center;
  width: 100%;
  line-height: 1.5;
  gap: 1.5rem;
  /* 名前と必須マークの間隔 */
}

#contact form dl dt .inner .name {
  font-size: 3rem;
  font-weight: bold;
  color: #333;
}

/* 必須・任意ラベルのデザイン統一 */
#contact form dl dt .inner .require,
#contact form dl dt .inner .any {
  padding: 0.8rem 1.5rem;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1;
  display: inline-block;
}

#contact form dl dt .inner .require {
  background-color: #ff3f00;
}

#contact form dl dt .inner .any {
  background-color: rgb(0, 127, 255);
}

/* 入力エリア（dd） */
#contact form dl dd {
  padding: 0.8rem 0 0;
  font-size: 3rem;
  width: 100%;
}

/* テキスト入力欄のデザイン */
#contact form dl dd input[type=text],
#contact form dl dd input[type=email],
#contact form dl dd input[type=tel],
#contact form dl dd input[type=number],
#contact form dl dd select {
  width: 100%;
  height: 5rem;
  padding: 3rem 1.5rem;
  font-size: 3rem;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 4px;
  background-color: #f9f9f9;
  transition: border-color 0.3s, background-color 0.3s;
}

/* フォーカス時のスタイル */
#contact form dl dd input:focus,
#contact form dl dd textarea:focus {
  border-color: #0085cf;
  background-color: #fff;
  outline: none;
}

/* プレースホルダー */
#contact form dl dd input::placeholder,
#contact form dl dd textarea::placeholder {
  color: #bbb;
  font-weight: normal;
}

/* テキストエリア */
#contact form dl dd textarea {
  width: 100%;
  min-height: 20rem;
  border: 1px solid #ccc;
  padding: 1.5rem;
  font-size: 2.5rem;
  border-radius: 4px;
  background-color: #f9f9f9;
  box-sizing: border-box;
  line-height: 1.6;
}

/* --------------------------------------------------
   チェックリスト・ラジオボタンのデザイン（パネル風）
-------------------------------------------------- */
#contact form dl .checkList {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

#contact form dl .checkList li {
  width: calc(50% - 0.5rem);
  /* 2列表示 */
}

/* SPでの1列表示切り替え */
@media only screen and (max-width: 600px) {
  #contact form dl .checkList li {
    width: 100%;
  }
}

#contact form dl .checkList label {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1.2rem;
  /* background-color: #f4f8fb;
  border: 1px solid #e1e8ed; */
  border-radius: 4px;
  cursor: pointer;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 2.9rem;
  transition: all 0.2s;
}

#contact form dl .checkList label:hover {
  background-color: #e6f0f7;
  border-color: #0085cf;
}

/* チェックボックス本体の調整 */
#contact form dl .checkList label input[type="checkbox"] {
  margin-right: 1rem;
  transform: scale(1.2);
  cursor: pointer;
}

/* --------------------------------------------------
   プライバシーポリシーエリア
-------------------------------------------------- */
#contact form .iframe_wrap {
  text-align: center;
  padding: 3rem 0;
}

#contact form .iframe {
  width: 100%;
  height: 15rem;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  font-size: 2rem;
  padding: 1.5rem;
  overflow-y: scroll;
  margin-bottom: 2rem;
  box-sizing: border-box;
  text-align: left;
  line-height: 1.6;
}

#contact form .check_important {
  font-size: 2.5rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

#contact form .check_important input {
  margin-right: 0.8rem;
  transform: scale(1.3);
}

/* --------------------------------------------------
   送信ボタン
-------------------------------------------------- */
#contact form button {
  width: 100%;
  max-width: 300px;
  display: block;
  background: linear-gradient(45deg, #004f99, #0085cf);
  box-shadow: 0 4px 10px rgba(0, 72, 138, 0.3);
  border-radius: 50px;
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: 1.8rem;
  margin: 2rem auto 0;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#contact form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 72, 138, 0.4);
  opacity: 0.9;
}

/* エラーメッセージ（Parsley.js用） */
#contact .parsley-required,
#contact .parsley-type,
#contact .parsley-length {
  color: #D84743;
  font-size: 1.4rem;
  margin-top: 0.5rem;
  font-weight: bold;
  list-style: none;
}

#contact .parsley-errors-list {
  padding: 0;
  margin: 0;
}

/* --------------------------------------------------
   SP（スマホ）調整
-------------------------------------------------- */
@media screen and (max-width: 768px) {
  #contact .contact_text {
    font-size: 3rem;
    padding: 0 0.5rem;
  }

  #contact form {
    padding: 2rem 1.5rem 4rem;
  }

  #contact form dl dt {
    padding-bottom: 0.5rem;
  }

  #contact form dl dt .inner {
    justify-content: space-between;
  }

  /* ボタン調整 */
  #contact form button {
    width: 86%;
    max-width: 100%;
    margin: 2rem auto 0;
    font-size: 3rem;
    padding: 2.2rem 1rem;
    letter-spacing: 0.15em;
  }
}




/* ==================================================
   PC表示用の調整（769px以上）
================================================== */
@media screen and (min-width: 769px) {

  /* --- 問い合わせフォーム --- */
  /* フォーム全体の幅を少し締める */
  #contact form {
    max-width: 700px;
    padding: 2rem 2rem;
  }

  #contact form dl dt .inner .name {
    font-size: 1.6rem;
  }

  /* 必須・任意ラベル */
  #contact form dl dt .inner .require,
  #contact form dl dt .inner .any {
    font-size: 1.3rem;
    padding: 0.4rem 1rem;
  }

  #contact form dl dt .inner {
    display: flex;
    justify-content: space-between;
  }


  /* 入力欄の文字サイズと高さ */
  #contact form dl dd input[type=text],
  #contact form dl dd input[type=email],
  #contact form dl dd input[type=tel],
  #contact form dl dd input[type=number],
  #contact form dl dd select {
    font-size: 1.6rem;
    height: 4rem;
    padding: 0 1rem;
  }

  #contact form dl dd textarea {
    font-size: 1.6rem;
    padding: 1rem;
  }

  #contact form dl dd {
    padding: 0rem 0px 0px;
  }

  #contact form dl dt {
    padding: 0.5rem 0;
  }

  /* チェックリスト・ラジオボタンの文字サイズ */
  #contact form dl .checkList label {
    font-size: 1.6rem;
    padding: 0.2rem;
  }

  /* 必須同意の文字サイズ */
  #contact form .check_important {
    font-size: 1.6rem;
  }

  /* 送信ボタン */
  #contact form button {
    max-width: 360px;
    font-size: 2rem;
    padding: 1.5rem;
  }


  /* --- 3つの約束（Three Promises）セクション --- */

  /* カードのタイトル */
  .promise-title {
    font-size: 2.2rem;
  }

  /* カードの本文 */
  .promise-text {
    font-size: 1.6rem;
  }

  .promise-container {}

  #contact form .iframe {
    font-size: 1.6rem;

  }

}

/* =========================================
   Thanksページ修正用CSS（下まで白くする版）
   ========================================= */

main.thanks-html {
  box-shadow: none !important;

  background-color: #ffffff !important;

  min-height: 100vh;
}

.thanks_wrap {
  width: 100%;
  background-color: #ffffff;
  padding-bottom: 5rem;
}

/* 3. テキストの設定 */
.thanks_wrap p {
  font-size: 2.8rem;
  line-height: 1.6;
  color: #333;
  text-align: center;
  padding: 10.4rem 3.6rem 12.6rem;
  margin: 0 auto;
}

/* 4. 戻るボタンの枠 */
.thanks_wrap a {
  display: block;
  width: 34rem;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .thanks_wrap p {
    font-size: 3rem;
    padding: 10rem 2rem 8rem;
  }

  .thanks_wrap a {
    width: 60%;
  }
}