@charset "UTF-8";
.inner {
  width: min(1240px, 100%);
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.inner-1000 {
  width: min(1040px, 100%);
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

/* ヘッダー─────────*/
#header {
  padding-top: 23px;
  background-image: url("../images/hero-back.jpg");
  background-repeat: no-repeat;
}

@media (max-width: 1239px) {
  #header {
    background-size: 156%;
  }
}
@media (max-width: 642px) {
  #header {
    background-size: 161%;
  }
}
/*コンテンツー─────────*/
.contents-head {
  font-size: clamp(1.7rem, 3vw, 3.8rem);
  font-weight: 900;
  text-align: center;
  margin-top: max(40px, 8%);
  line-height: 1.8;
}
.contents-head span {
  color: #03C755;
}

/*STEP1*/
#step1 {
  background-color: #F5F5F5;
  margin-top: max(40px, 8%);
}
#step1 .inner-1000 {
  padding-top: max(40px, 8%);
  padding-bottom: max(40px, 8%);
}

.step1-ttl {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.7rem, 3.8vw, 4.4rem);
  font-weight: 900;
  color: #FF991A;
}
.step1-ttl::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 48px;
  background-color: #FF991A;
  transform: rotate(329deg);
  margin-right: 20px;
  vertical-align: -11px;
}
@media (max-width: 840px) {
  .step1-ttl::before {
    height: 40px;
  }
}
@media (max-width: 600px) {
  .step1-ttl::before {
    height: 30px;
    width: 3px;
  }
}
.step1-ttl::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 48px;
  background-color: #FF991A;
  transform: rotate(35deg);
  margin-left: 20px;
  vertical-align: -11px;
}
@media (max-width: 840px) {
  .step1-ttl::after {
    height: 40px;
  }
}
@media (max-width: 600px) {
  .step1-ttl::after {
    height: 30px;
    width: 3px;
  }
}

.step1-img {
  width: 50%;
}
.step1-img img {
  width: 88.33%;
}

.step1-explanation {
  width: 50%;
}
.step1-explanation dt {
  font-size: clamp(1.7rem, 2.4vw, 2.6rem);
  font-weight: 700;
}
.step1-explanation dt:last-of-type {
  margin-top: max(40px, 8%);
}
.step1-explanation dt::before {
  content: "●";
  color: #FF991A;
  margin-right: 5px;
}
.step1-explanation dd {
  margin-top: max(20px, 4%);
}
.step1-explanation dd img {
  margin-top: 20px;
}
.step1-explanation dd:first-of-type img {
  width: min(350px, 80%);
}
@media (max-width: 600px) {
  .step1-explanation dd:first-of-type img {
    margin-left: auto;
    margin-right: auto;
  }
}
.step1-explanation dd:last-of-type img {
  width: max(225px, 20%);
}
@media (max-width: 600px) {
  .step1-explanation dd:last-of-type img {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .step1-img, .step1-explanation {
    width: 100%;
    text-align: center;
  }

  .step1-img {
    margin-bottom: 40px;
  }
}
/*STEP2 STEP3*/
.step2-3 {
  background-color: #F5F5F5;
}

#step2, #step3 {
  width: 50%;
  background-color: #F5F5F5;
  padding-top: max(40px, 13%);
  padding-bottom: max(40px, 8%);
  position: relative;
}
#step2::before, #step3::before {
  content: "";
  display: inline-block;
  width: max(66px, 31.89%);
  aspect-ratio: 1;
  position: absolute;
  top: -7%;
}
@media (max-width: 600px) {
  #step2::before, #step3::before {
    top: -5.5%;
    width: 66px;
  }
}
#step2 figure, #step3 figure {
  margin-top: max(20px, 4%);
}

#step2 {
  border-right: solid 20px #fff;
  padding-right: 30px;
}
#step2::before {
  background: url("../images/step2.png") no-repeat;
  background-size: contain;
  left: 0;
}
@media (max-width: 600px) {
  #step2::before {
    left: 15px;
  }
}

#step3 {
  border-left: solid 20px #fff;
  padding-left: 30px;
}
#step3::before {
  background: url("../images/step3.png") no-repeat;
  background-size: contain;
  right: 0;
}
@media (max-width: 600px) {
  #step3::before {
    left: 15px;
  }
}

.step2-ttl, .step3-ttl {
  font-size: clamp(1.7rem, 2.4vw, 2.6rem);
  font-weight: 700;
}
.step2-ttl::before, .step3-ttl::before {
  content: "●";
  color: #FF991A;
  margin-right: 5px;
}

@media (max-width: 600px) {
  .step2-3 {
    background-color: #fff;
  }

  #step2, #step3 {
    width: 100%;
    background-color: #F5F5F5;
    padding-top: max(40px, 8%);
    padding-bottom: max(40px, 8%);
  }
  #step2 figure, #step3 figure {
    margin-top: max(20px, 4%);
  }

  #step2 {
    border-right: none;
    padding-right: 20px;
    padding-left: 20px;
  }

  #step3 {
    margin-top: 40px;
    border-left: none;
    padding-left: 20px;
    padding-right: 20px;
  }
}
/*privacy*/
#privacy {
  margin-top: max(30px, 6%);
}

#footer {
  margin-top: max(40px, 8%);
  padding-top: max(30px, 6%);
  padding-bottom: max(30px, 6%);
  background-color: #FF991A;
  text-align: center;
}
#footer .name {
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  font-weight: 700;
  color: #fff;
}
#footer .btn a {
  width: 220px;
  padding: 10px;
  background-color: #fff;
  color: #111;
  display: block;
  border-radius: 15px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.6rem, 1.8vw, 2rem);
  font-weight: 700;
}

/*-------------------------------*/
.flex, .flex-center, .flex-between, .flex-end {
  display: flex;
  flex-wrap: wrap;
}
.flex-center {
  justify-content: center;
}
.flex-between {
  justify-content: space-between;
}
.flex-end {
  justify-content: flex-end;
}
