@charset "utf-8";

/*=== ご利用方法 ===*/
.method {
  background-color: #edf5fa;
}
.method-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.method-item {
  position: relative;
  width: calc((100% - (35px * 2)) / 3);
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 5px rgba(0,0,0,0.1);
}
.method-item:not(:last-child)::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: -22px;
  width: 18px;
  height: 18px;
  border-top: 4px solid #206ac5;
  border-right: 4px solid #206ac5;
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}
.method-head {
  height: 56px;
  padding: 19px 10px 15px;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.1;
  background-color: #0b61ac;
  border-radius: 10px 10px 0 0;
}
.method-cont {
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  height: calc(100% - 56px);
  padding: 10px 10px 20px;
}
.method-detail {
  width: 100%;
  line-height: 1.5;
}
.method-lead {
  margin-top: 22px;
  color: #0b61ac;
  font-weight: bold;
  font-size: 20px;
}
.method-txt {
  margin-top: 8px;
  font-size: 18px;
}
.method-transition {
  width: 100%;
  margin-top: 15px;
  text-align: right;
}
.method a.detail-btn::after {
  top: calc(50% - 2px);
  right: 20px;
  transform: translateY(-50%) rotate(135deg);
}


/*=== ご利用手順 ===*/
.main-subsec.step {
  margin-top: 0;
  background-color: #fff;
}
.step .main-subhead {
  background-color: #0b61ac;
}
.step .main-subttl {
  max-width: 1200px;
  margin: 0 auto;
  padding: 19px 20px 15px;
  color: #fff;
}
.step-list {
  counter-reset: count 0;
}
.step-item {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
  padding: 30px 0 40px;
  border-bottom: 2px dotted #dce4ec;
}
.step-item::before {
  content: counter(count) ".";
  counter-increment: count 1;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  color: #0b61ac;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}
.step-thumb {
  order: 1;
  flex: 1;
  width: 100%;
  min-width: 300px;
  max-width: 410px;
  text-align: center;
}
.step-thumb span {
  display: block;
}
.step-thumb span:not(:first-child) {
  margin-top: 15px;
}
.step-cont {
  order: 0;
  width: 100%;
  max-width: 720px;
  margin-right: 30px;
  line-height: 1.5;
}
.step-txt {
  font-size: 18px;
}
.step-txt:not(:first-child) {
  margin-top: 15px;
}
.step-note {
  margin-top: 15px;
  padding-left: 1em;
  text-indent: -1em;
}
.step-anno {
  margin-top: 10px;
  padding-left: 1em;
  color: #ac2330;
  text-indent: -1em;
}
.step-transition {
  max-width: 420px;
  margin-top: 20px;
}
.step a.apply-btn {
  height: 70px;
  padding-left: 40px;
  border-radius: 10px;
}
.step a.apply-btn::after {
  right: 35px;
}


@media screen and (max-width: 768px) {
  /*=== ご利用方法 ===*/
  .method-list {
    display: block;
  }
  .method-item {
    width: 100%;
    margin-top: 50px;
    border-radius: 5px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
  }
  .method-item:first-child {
    margin-top: 0;
  }
  .method-item:not(:last-child)::after {
    top: auto;
    bottom: -32px;
    right: auto;
    left: 50%;
    width: 24px;
    height: 24px;
    border-width: 5px;
    border-radius: 2.5px;
    transform: translateX(-50%) rotate(135deg);
  }
  .method-head {
    height: 43px;
    padding: 13px 10px 9px;
    font-size: 18px;
    border-radius: 5px 5px 0 0;
  }
  .method-cont {
    height: calc(100% - 43px);
    padding: 15px 10px 20px;
  }
  .method-thumb {
    width: 50%;
    min-width: 170px;
    margin: 0 auto;
  }
  .method-lead {
    margin-top: 12px;
    font-size: 18px;
  }
  .method-txt {
    margin-top: 5px;
    font-size: 16px;
  }
  .method a.detail-btn::after {
    right: 12px;
  }
  /*=== ご利用手順 ===*/
  .step .main-subttl {
    padding: 12px 10px 10px;
  }
  .step-item {
    display: block;
    margin-bottom: 30px;
    padding: 0 0 30px;
  }
  .step-item::before {
    top: 3px;
    font-size: 18px;
  }
  .step-thumb {
    width: 50%;
    min-width: 205px;
    margin: 0 auto;
  }
  .step-cont {
    max-width: 100%;
    margin: 15px 0 0;
  }
  .step-cont.pattern-only {
    margin: 0;
    padding-left: 25px;
  }
  .step-txt {
    font-size: 16px;
  }
  .step-transition {
    display: block;
    margin: 25px auto 0;
  }
  .step-transition.pattern-apply {
    max-width: 325px;
  }
  .step-transition.pattern-download {
    max-width: 202px;
  }
  .step a.apply-btn {
    justify-content: center;
    height: 52px;
    padding: 3px 35px 0 0;
    font-size: 16px;
    border-radius: 5px;
  }
  .step a.apply-btn::after {
    right: 20px;
  }
}
