@charset "utf-8";

/* --------------------
common
-------------------- */

.content.bg .item-list li .lead {
 text-align: left;
 font-size: 16px;
}

.content.bg .item-list li .title span {
 font-size: 20px;
 color: #333;
}

/* --------------------
#flow
-------------------- */
#flow .section {
 position: relative;
}

#flow .section .inner {
 position: relative;
 width: 100%;
}

#flow .section .inner .summary {
 width: calc(100% - 140px);
 top: -80px;
 left: 90px;
 position: relative;
 padding: 20px 20px 20px 0;
 min-height: 40px;
 text-align: left;
 display: block;
}

/* .step-area  */
#flow .section .inner .step-area {
 position: relative;
 left: 0;
 top: 0;
 display: block;
 width: 80px;
 height: 80px;
 border-radius: 40px;
 background-color: #d65727;
 z-index: 80;
}

#flow .section .inner::after {
  content: "";
  width: 10px;
  height: 100%;
  background-color: #EFBCA8;
  position: absolute;
  top: 0;
  left: 33px;
}

#flow .section .inner .step-area .step-label {
 position: absolute;
 left: 20px;
 top: 18px;
 font-size: 14px;
 color: #fff;
}

#flow .section .inner .step-area .step-no {
 font-size: 24px;
 color: #fff;
 position: absolute;
 bottom: 8px;
 left: 32px;
}

/* .headline  */
#flow .section .headline {
 border: none;
 position: relative;
 top: 5px;
 margin-bottom: 20px;
 padding-top: 0;
 padding-bottom: 0;
 line-height: 1;
 text-align: left;
}

#flow .section .headline span {
 font-size: 24px;
 font-weight: bold;
 line-height: 1;
}

#flow .section .headline span::before {
 content: none;
}

#flow .section .headline span .fa {
 margin-left: 10px;
}

#flow .section .headline .click-area {
 background: none;
 color: #333;
 line-height: 1.75rem;
 padding-left: 0;
}

#flow .section .lead.left {
 text-align: left;
 position: relative;
 left: 0;
}

@media only screen and (max-width: 767px) {
 #flow .section .inner .step-area {
  top: -20px;
  left: -10px;
  width: 50px;
  height: 50px;
 }
 #flow .section .inner::after {
  left: 10px;
 }
 #flow .section .inner .step-area .step-label {
  font-size: 10px;
  left: 12px;
  top: 7px;
 }
 #flow .section .inner .step-area .step-no {
  font-size: 20px;
  bottom: 4px;
  left: 19px;
 }
 #flow .section .headline .click-area {
  font-size: 20px;
 }
 #flow .section .headline span {
  font-size: 20px;
 }
 #flow .section .inner .summary {
  left: 50px;
  width: calc(100% - 42px);
 }
 #flow .section .headline {
  line-height: 2rem;
 }
 #flow .section .lead.left {
  left: 0;
 }
}

/* --------------------
#step1
-------------------- */
#step1 .headline {
 margin-bottom: 0;
}

/* --------------------
#step2
-------------------- */
#step2.section .summary {
  padding-top: 5px;
}

#step2 .summary .headline {
 text-align: left;
 position: relative;
 display: block;
 margin-bottom: 40px;
}

#step2 .summary .headline.pattern1 {
  margin-bottom: 20px;
}

#step2 .summary .headline.pattern1 .text,
#step2 .summary .headline.pattern2 .text {
  font-size: 20px;
}

#step2 .summary .headline.pattern2 {
  margin-bottom: 0;
}

#step2 .summary .headline .label {
 background-color: #333;
 display: inline-block;
 color: #fff;
 padding: 5px 10px;
 font-weight: normal;
 margin-right: 10px;
 border-radius: 5px;
 position: relative;
 bottom: 2px;
 font-size: 12px;
}

@media only screen and (max-width:  767px) {
 #step2 .summary .headline {
  left: 10px;
  margin-bottom: 20px;
 }

 #step2 .summary .headline .label {
  display: block;
  margin-bottom: 10px;
  max-width: 40%;
 }

 #step2 .summary .headline.pattern1 .text,
 #step2 .summary .headline.pattern2 .text {
  font-size: 16px;
 }

 #flow .section .headline .click-area {
  font-size: 16px;
 }

 #step2.section .summary {
  padding-top: 15px;
 }

 #step2.section .summary::after {
  content: none;
 }
 #step2.section::after {
  left: calc(50% - 58px);
 }
}

/* --------------------
#step3
-------------------- */
#step3.section::after {
 left: 25%;
 bottom: -95px;
}

#step3.section .summary {
 bottom: 8px;
}

#step3 .label {
 background-color: #333;
 display: inline-block;
 color: #fff;
 padding: 5px 10px;
 font-weight: normal;
 font-size: 12px;
 margin-right: 10px;
 border-radius: 5px;
 position: relative;
 bottom: 2px;
 margin-bottom: 10px;
 line-height: 1;
}

#step3.section .summary .headline {
 margin-bottom: 20px;
}

#step3.section .summary .pattern-list {
 display: flex;
 justify-content: space-between;
 align-items: start;
 gap: 20px;
 margin-top: 30px;
}

#step3.section .summary .pattern-list .pattern-item {
 min-height: 220px;
 width: calc(50% - 40px);
 padding: 20px;
 border-radius: 5px;
 background-color: #fff;
 box-shadow: rgba(0, 0, 0, 10%) 2px 2px 0;
}

#step3.section .summary .pattern-list .pattern-item .inner::after {
  content: none;
}

#step3.section .summary .pattern-list .pattern-item .subheadline span {
 color: #333;
 font-size: 20px;
 line-height: 2rem;
}

#step3.section .summary .pattern-list .pattern-item .ul-list {
 margin: 20px 0;
}

#step3.section .summary .pattern-list .pattern-item .ul-list.margin-bottom-none {
 margin-bottom: 0;
}

#step3.section .summary .pattern-list .pattern-item .ul-list.margin-bottom-none li {
 margin-bottom: 0;
}

#step3.section .summary .pattern-list .pattern-item .ul-list li {
 position: relative;
 font-size: 16px;
 color: #333;
 margin-bottom: 1rem;
 line-height: 1.5rem;
}

#step3.section .summary .pattern-list .pattern-item .ul-list li:last-child {
 margin-bottom: 0;
}

#step3.section .summary .pattern-list .pattern-item .ul-list li .note {
 font-size: 14px;
 color: #333;
 margin-left: 10px;
}

#step3.section .summary .pattern-list .pattern-item .ul-list li::before {
 content: "・";
}
@media only screen and (max-width: 960px) {
 #step3.section .summary .pattern-list .pattern-item {
  min-height: 280px;
 }
 #step3 .label {
  font-size: 12px;
  margin-bottom: 10px;
  width: 40%;
  text-align: center;
 }
}

@media only screen and (max-width: 767px) {
 #step3.section .summary .pattern-list {
  display: block;
 }
 #step3.section .summary .pattern-list .pattern-item {
  display: block;
  width: auto;
  margin-bottom: 40px;
  min-height: auto;
 }
 #step3.section .summary .pattern-list .pattern-item:last-child {
  margin-bottom: 0;
 }
 #step3.section .summary::after {
  content: none;
 }
 #step3.section::after {
  left: calc(50% - 58px);
 }
}

/* --------------------
#step4
-------------------- */
#step4 .summary .btn {
  margin: 20px 0 0 0;
}

/* --------------------
#step7
-------------------- */
@media only screen and (max-height: 767px) {
  #step7.section .inner .summary {
    top: -100px;
  }
}

/* --------------------
#step8
-------------------- */
@media only screen and (max-height: 767px) {
  #step8.section .inner .summary {
    top: -100px;
  }
}

/* --------------------
#step9
-------------------- */
#step9.section {
 margin-bottom: 20px;
 max-height: 80px;
}

#step9.section .inner::after {
  content: none;
}

#step9.section .headline {
  padding-bottom: 0;
  margin-bottom: 0;
  top: 10px;
}

@media only screen and (max-width:  767px) {
  #step9.section .inner .summary {
    top: -90px;
  }

  #step9.section .headline {
   margin-bottom: 0;
  }
}

/* --------------------
.btn
-------------------- */

#flow .btn {
  padding-bottom: 20px;
}

#flow .btn .fa {
  right: -60%;
  font-size: 16px;
}

@media only screen and (max-width: 960px) {
  #flow .btn {
    width: 60%;
  }
}

@media only screen and (max-width: 767px) {
  #flow .btn {
    width: 100%;
  }
  #flow .btn .fa {
    right: -50%;
  }
  #flow .lead.center {
    text-align: left;
  }
}