main {
  padding-top: 0;
}

.sub_top {
  position: relative;
}

.sub_top_title {
  background-image: url(../img/sub/sub_top_title_back.png);
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: 100% auto;
  left: 0;
  padding: 60px 0 120px;
  position: absolute;
  text-align: right;
  top: 60px;
  width: 100%;
}

.sub_top_title_text {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 8rem;
  font-weight: bold;
  line-height: 1;
}

@media screen and (max-width: 767px) {
  .sub_top.trainer .sub_top_mv {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
  }

  .sub_top.trainer .sub_top_mv img {
    display: none;
  }

  .sub_top_title {
    background-position: center;
    background-size: cover;
    height: 100%;
    left: 0;
    padding: 90px 0 30px;
    position: absolute;
    text-align: right;
    top: 0;
    width: 100%;
  }

  .sub_top_title_text {
    font-size: 3rem;
    line-height: 1.3;
  }
}

/* content */
.content *:first-child {
  margin-top: 0;
}

.content *:last-child {
  margin-bottom: 0;
}

.content h2 {
  margin: 80px 0 40px;
}

.content h3, .content h4, .content h5, .content h6 {
  margin: 40px 0;
}

.content ul {
  margin: 40px 0;
}

.content ol {
  margin: 40px 0;
}

.content table {
  margin: 40px 0;
}

.content p {
  margin: 40px 0;
}

.content a {
  text-decoration: underline;
}

.content p.content_small {
  margin-bottom: 45px;
}

.content .question_box_inner p {
  margin-bottom: 0;
}

.content h2 {
  color: #333;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.4;
}

.content h3 {
  border-left: 4px #333 solid;
  color: #333;
  font-size: 2rem;
  font-weight: bold;
  padding-left: 20px;
}

.content h4 {
  background-color: #fff;
  color: #333;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 7px 20px;
}

.content h5 {
  color: #333;
  font-size: 1.8rem;
  font-weight: bold;
}

.content h6 {
  color: #333;
  font-size: 1.5rem;
  font-weight: bold;
}

.content p {
  color: #333;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2;
}

.content .wp-element-caption {
  color: #333;
  font-size: 1.5rem;
}

.content table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  width: 100%;
}

.content table tr {
  border-bottom: 1px solid #ccc;
}

.content table tr:last-child {
  border-bottom: none;
}

.content table tr th {
  background-color: #333;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  font-weight: 400;
  line-height: 2;
  padding: 12px 15px 12px 15px;
  text-align: left;
  vertical-align: middle;
  width: 178px;
}

.content table tr td {
  border-left: 1px solid #ccc;
  color: #333;
  font-size: 1.4rem;
  font-weight: 400;
  padding: 12px 14px 12px 30px;
  text-align: left;
  width: calc(100% - 178px);
}

.content ul li {
  color: #333;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2;
  padding-left: 20px;
  position: relative;
}

.content ul li::before {
  background-color: #333;
  border-radius: 50%;
  content: '';
  height: 10px;
  left: 0;
  position: absolute;
  top: 5px;
  width: 10px;
}

.content ol > li {
  color: #333;
  counter-increment: ol-counter;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2;
  padding-left: 23px;
  position: relative;
}

.content ol > li::before {
  content: counter(ol-counter);
  font-size: 1.5rem;
  font-weight: bold;
  left: 0;
  line-height: 2;
  position: absolute;
  text-align: center;
  top: 0;
  width: 20px;
}

.content figure {
  margin-bottom: 40px;
  margin-top: 40px;
}

.content figure.wp-block-table {
  margin-bottom: 40px;
  margin-top: 40px;
}

.content figure + figure {
  margin-top: 40px;
}

.content figure + p {
  margin: 20px 0;
}

.content div.wp-block-image {
  margin-bottom: 40px;
  margin-top: 40px;
}

.content div.wp-block-image figure {
  margin-bottom: 0;
  margin-top: 0;
}

.wp-block-buttons {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

:root .wp-block-button__link {
  background-color: #333;
  color: #fff;
}

.content a.wp-block-button__link {
  background: #333;
  border-radius: 0;
  color: #fff;
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.8;
  margin: auto;
  min-width: 420px;
  padding: 20px 40px 20px 30px;
  position: relative;
  text-align: center;
  text-decoration: none;
  word-wrap: anywhere;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  text-align: left;
}

.alignright {
  text-align: right;
}

@media screen and (max-width: 767px) {
  .content h2 {
    margin: 60px 0 20px;
  }

  .content h3, .content h4, .content h5, .content h6 {
    margin: 20px 0;
  }

  .content ul {
    margin: 20px 0;
  }

  .content ol {
    margin: 20px 0;
  }

  .content table {
    margin: 20px 0;
  }

  .content p {
    margin: 20px 0;
  }

  .content .wp-element-caption {
    font-size: 1.4rem;
  }

  .content a {
    text-decoration: underline;
  }

  .content p.content_small {
    margin-bottom: 25px;
  }

  .content .question_box_inner p {
    margin-bottom: 0;
  }

  .content h2 {
    background-color: #edf5fa;
    color: #333;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 30px;
    padding: 7px 20px;
  }

  .content h3 {
    font-size: 1.8rem;
    padding-left: 15px;
  }

  .content h4 {
    font-size: 1.8rem;
  }

  .content h5 {
    font-size: 1.5rem;
  }

  .content h6 {
    font-size: 1.5rem;
  }

  .content p {
    color: #333;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2;
  }

  .content table tr th {
    padding: 10px 12px;
    width: 100px;
  }

  .content table tr td {
    padding: 10px 12px;
    width: calc(100% - 100px);
  }

  .content ul li {
    font-size: 1.4rem;
    padding-left: 17px;
  }

  .content ul li::before {
    top: 3px;
  }

  .content ol > li {
    font-size: 1.4rem;
    padding-left: 18px;
  }

  .content ol > li::before {
    font-size: 1.4rem;
    width: 18px;
  }

  .content figure {
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .content figure.wp-block-table {
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .content figure + figure {
    margin-top: 20px;
  }

  .content figure + p {
    margin: 20px 0;
  }

  .content div.wp-block-image {
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .content div.wp-block-image figure {
    margin-bottom: 0;
    margin-top: 0;
  }

  .wp-block-buttons {
    display: flex;
    justify-content: center;
    margin: 40px 0;
  }

  :root .wp-block-button__link {
    background-color: #333;
    color: #fff;
  }

  .content a.wp-block-button__link {
    font-size: 1.5rem;
    min-width: initial;
    padding: 10px 20px;
  }
}
