@media all and (min-width: 768px) {
  #contents h1 {
    padding-top: 50px;
  }
}

#contents h1 + p {
  line-height: 2;
}

@media all and (max-width: 767px) {
  #contents h1 + p {
    padding-left: 35px;
    padding-right: 35px;
    text-align: left !important;
    font-size: 16px !important;
  }
  #contents h1 + p br {
    display: none;
  }
}

#contents h1 img {
  max-width: 100%;
  height: auto;
}

#contents .imgHeader img {
  max-width: 100%;
  height: auto;
}

@media all and (max-width: 767px) {
  #contents .sectionBlock {
    padding-left: 20px;
    padding-right: 20px;
  }
}

#contents .sectionBlock h2 {
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 0.065em;
  margin-bottom: 20px;
  text-align: center;
}

@media all and (max-width: 767px) {
  #contents .sectionBlock h2 {
    font-size: 30px;
  }
}

#contents .header01-block {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

#contents .header01-block .badge {
  margin-right: 24px;
}

@media all and (max-width: 767px) {
  #contents .header01-block .badge {
    display: none;
  }
}

#contents .header01-block .text {
  text-align: center;
}

#contents .header01-block .text .main {
  font-size: 30px;
  line-height: 1.333;
  font-weight: bold;
  color: #ED9300;
  margin-bottom: 5px;
}

@media all and (max-width: 767px) {
  #contents .header01-block .text .main {
    font-size: 24px;
  }
}

#contents .header01-block .text .sub {
  font-size: 20px;
}

@media all and (max-width: 767px) {
  #contents .header01-block .text .sub {
    font-size: 16px;
  }
}

#contents .header01-block .chara {
  margin-left: 15px;
}

@media all and (max-width: 767px) {
  #contents .header01-block .chara {
    margin-left: 6px;
  }
}

@media all and (max-width: 767px) {
  #contents .header01-block .chara img {
    width: 78px;
    height: auto;
  }
}

#contents .header01-box {
  background: #ED0059;
  color: #fff;
  text-align: center;
  padding: 12px;
  box-sizing: border-box;
  max-width: 780px;
  margin: 0 auto;
}

#contents .header01-box p {
  color: inherit;
}

#contents .header01-box .main {
  font-size: 20px;
  margin-bottom: 2px;
}

@media all and (max-width: 767px) {
  #contents .header01-box .main {
    font-size: 16px;
  }
}

#contents .header01-box .main .border {
  display: inline-block;
  position: relative;
  font-weight: bold;
}

#contents .header01-box .main .border::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  bottom: 1px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  pointer-events: none;
}

#contents .header01-box .sub {
  font-size: 14px;
}

@media all and (max-width: 767px) {
  #contents .header01-box .sub {
    font-size: 12px;
    margin-top: 10px;
  }
}

#contents .flow-box {
  border: 4px solid #000;
  background: #FEEFDA;
  padding: 15px;
  position: relative;
  max-width: 780px;
  box-sizing: border-box;
  margin: 0 auto;
}

#contents .flow-box + .flow-box {
  margin-top: 50px;
}

#contents .flow-box + .flow-box::before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 25px 25px 0 25px;
  border-color: #000 transparent transparent transparent;
  top: -42px;
  left: calc(50% - 25px);
}

#contents .flow-box > .text {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.416;
}

@media all and (max-width: 767px) {
  #contents .flow-box > .text {
    font-size: 20px;
  }
}

#contents .flow-box > .text.small {
  font-size: 16px;
}

#contents .flow-box > .text a {
  color: #ED0059;
  text-decoration: underline;
}

#contents .flow-box > .text a:hover {
  text-decoration: none;
}

@media all and (min-width: 768px) {
  #contents .flow-box .code {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto 15px;
    width: 377px;
    height: 185px;
    background: url(../images/code_bg.png);
    color: #45484B;
  }
  #contents .flow-box .code p {
    color: inherit;
  }
  #contents .flow-box .code .number {
    font-size: 28px;
    position: relative;
    padding: 10px 0;
    border-top: 1px solid #45484B;
    border-bottom: 1px solid #45484B;
    -webkit-user-select: all;
            user-select: all;
  }
  #contents .flow-box .code .number::before {
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    height: 1px;
    left: 0;
    right: 0;
    background: #45484B;
  }
  #contents .flow-box .code .number::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 2px;
    height: 1px;
    left: 0;
    right: 0;
    background: #45484B;
  }
}

@media all and (max-width: 767px) {
  #contents .flow-box .code {
    border: 2px solid #000;
    background: #fff;
    padding: 12px;
    margin-bottom: 12px;
  }
  #contents .flow-box .code p {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    -webkit-user-select: all;
            user-select: all;
  }
}

#contents .flow-box .caution {
  display: flex;
  justify-content: center;
}

#contents .flow-box .caution .label {
  background: #ED0059;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  padding: 6px;
  margin-right: 12px;
}

@media all and (max-width: 767px) {
  #contents .flow-box .caution .label {
    font-size: 16px;
    flex-shrink: 0;
  }
}

#contents .flow-box .caution .text {
  font-size: 16px;
  color: #ED0059;
  font-weight: bold;
  line-height: 1.625;
}

#contents .flow-box .caution .text .border {
  background: linear-gradient(transparent 90%, #ED0059 0%);
}

#contents .last-text {
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  line-height: 1.25;
  margin-top: 50px;
  margin-bottom: 20px;
}

@media all and (max-width: 767px) {
  #contents .last-text {
    font-size: 18px;
  }
}

#contents .ng-box {
  display: flex;
  flex-wrap: wrap;
  margin-top: -30px;
  justify-content: center;
}

@media all and (max-width: 767px) {
  #contents .ng-box {
    margin-top: -10px;
  }
}

#contents .ng-box .image {
  outline: 1px solid #ED0059;
}

#contents .ng-box .image img {
  vertical-align: top;
}

@media all and (max-width: 767px) {
  #contents .ng-box .image img {
    width: 100%;
    height: auto;
  }
}

#contents .ng-box .box {
  margin-right: 20px;
  margin-top: 30px;
}

@media all and (max-width: 767px) {
  #contents .ng-box .box {
    margin-right: 15px;
    margin-top: 10px;
    width: calc(50% - (15px/2));
  }
  #contents .ng-box .box:nth-child(2n) {
    margin-right: 0;
  }
}

#contents .ng-box .box:nth-child(4n) {
  margin-right: 0;
}

#contents .ng-box .caption {
  font-size: 12px;
  text-align: center;
  color: #ED0059;
  margin-top: 5px;
  font-weight: bold;
}

#contents .copy-button {
  background: #000;
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border-radius: 6px;
  width: 100%;
  padding: 12px;
}
