@charset "UTF-8";
html {
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #3c3c3c;
}

a[href^="tel:"] {
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  a[href^="tel:"] {
    pointer-events: auto;
  }
}

a {
  transition: opacity 0.3s;
}
a:hover {
  opacity: 0.7;
}
@media screen and (max-width: 768px) {
  a:hover {
    opacity: 1;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul,
ol {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul,
ol {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

a {
  text-decoration: none;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
  width: 100%;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Blur images when they have no alt attribute */
img:not([alt]) {
  filter: blur(10px);
}

/* フォームリセット */
input[type=submit],
input[type=button] {
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  -moz-appearance: button;
       appearance: button;
  box-sizing: border-box;
  cursor: pointer;
}

input[type=submit]::-webkit-search-decoration,
input[type=button]::-webkit-search-decoration {
  display: none;
}

input[type=submit],
input[type=button],
label,
button,
select {
  cursor: pointer;
}

/* ============================================"
# フォント
=============================================== */
@font-face {
  font-family: "Avenir Next World";
  src: url("/fonts/avenir-next-world-regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
/* ============================================"
# サイトラッパー
=============================================== */
.site-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
}

.main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
}

/* ============================================"
# モバイル非表示
=============================================== */
@media screen and (max-width: 768px) {
  .md-none {
    display: none;
  }
}

.md-show {
  display: none;
}
@media screen and (max-width: 768px) {
  .md-show {
    display: block;
  }
}

/* ============================================"
# ヘッダー
=============================================== */
.header {
  width: 100%;
  height: 95px;
  background-color: #170F5F;
}
@media screen and (max-width: 768px) {
  .header {
    height: 70px;
  }
}

.header__inner {
  height: inherit;
  display: flex;
  align-items: center;
  padding-left: 35px;
  padding-right: 35px;
}
@media screen and (max-width: 768px) {
  .header__inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.header__name {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header__logo {
  display: inline-block;
  width: 122px;
}

.header__logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  aspect-ratio: 122/20;
}

.header__tagline {
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
}
@media screen and (max-width: 768px) {
  .header__tagline {
    font-size: 12px;
    font-weight: 300;
  }
}

/* ============================================"
# パンくずリスト
=============================================== */
.layout-breadcrumb {
  margin-top: 34px;
  margin-bottom: 25px;
}
@media screen and (max-width: 768px) {
  .layout-breadcrumb {
    margin-top: 20px;
    margin-bottom: 15px;
  }
}

.breadcrumb__list {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 30px;
}
@media screen and (max-width: 768px) {
  .breadcrumb__list {
    gap: 20px;
  }
}

.breadcrumb__item {
  position: relative;
  width: 20px;
  height: auto;
}

.breadcrumb__item img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.breadcrumb__item--home {
  width: 21px;
}

.breadcrumb__item--book {
  width: 27px;
}

.breadcrumb__item--user {
  width: 22px;
}

.breadcrumb__item--question {
  width: 22px;
}

.breadcrumb__item--award {
  width: 18.5px;
}

.breadcrumb__item:not(:last-of-type).breadcrumb__item::after {
  position: absolute;
  content: "";
  display: inline-block;
  background-image: url(/serv/images/icon-arrow.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 19px;
  height: 8px;
  bottom: 5.5px;
  right: -24px;
}
@media screen and (max-width: 768px) {
  .breadcrumb__item:not(:last-of-type).breadcrumb__item::after {
    right: -15px;
    width: 11px;
    height: 6px;
  }
}

/* ============================================"
# ページ
=============================================== */
.test-section__content,
.user-section__content {
  margin-top: 17px;
}

.test-section__content-question {
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .test-section__content-question {
    margin-top: 20px;
  }
}

.test-section__content-form {
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .test-section__content-form {
    margin-top: 20px;
  }
}

.user-section__content-text {
  margin-top: 23px;
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .user-section__content-text {
    font-size: 14px;
    margin-top: 15px;
    text-indent: -1.3em;
    padding-left: 1.3em;
  }
}

.user-section__content-text-required {
  color: #E5057F;
}

.user-section__content-form {
  margin-top: 60px;
}
@media screen and (max-width: 768px) {
  .user-section__content-form {
    margin-top: 40px;
  }
}

/* ============================================"
#説明セクション 
=============================================== */
.info-box {
  background-color: #DDE7FF;
  padding-top: 17px;
  padding-bottom: 17px;
}

.info-box__list {
  display: flex;
  flex-direction: column;
  padding-right: 15px;
}

.info-box__item {
  position: relative;
  padding-left: 46px;
}
@media screen and (max-width: 768px) {
  .info-box__item {
    padding-left: 36px;
  }
}

.info-box__item-text {
  font-size: 18px;
  line-height: 1.75;
}
@media screen and (max-width: 768px) {
  .info-box__item-text {
    font-size: 16px;
  }
}

.info-box__item:not(:first-child) {
  margin-top: 9px;
}

.info-box__item::before {
  content: "";
  display: inline-block;
  background-image: url(/serv/images/check-box.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 18px;
  top: 0.5em;
  position: absolute;
  left: 12px;
}
@media screen and (max-width: 768px) {
  .info-box__item::before {
    width: 18px;
    height: 16px;
    left: 10px;
  }
}

.info-box__item-required {
  color: #E5057F;
}

/* ============================================"
# 質問(大見出し）
=============================================== */
.question {
  display: flex;
  align-items: center;
}
.question__number {
  margin-top: 7px;
  font-size: 97px;
  color: #1010EB;
  line-height: 1;
  font-family: "Avenir Next World", sans-serif;
}
@media screen and (max-width: 768px) {
  .question__number {
    margin-top: 0;
    font-size: 70px;
  }
}

.question__content {
  padding-left: 10px;
}

.question__text {
  font-size: 20px;
  line-height: 1.75;
}
@media screen and (max-width: 768px) {
  .question__text {
    font-size: 16px;
    line-height: 1.75;
    padding-right: initial;
  }
}

.question__text span {
  font-weight: 600;
  position: relative;
}

.question__text span::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 100%;
  height: 1px;
  background-color: #3c3c3c;
}

/* ============================================"
# テストセクション内容
=============================================== */
.question-form__header {
  border-bottom: 2px solid #0000FF;
  margin-bottom: 10px;
}

.question-form__selection {
  font-size: 16px;
  display: block;
  text-align: right;
  padding-right: 20px;
}
@media screen and (max-width: 768px) {
  .question-form__selection {
    font-size: 14px;
    padding-right: 5px;
  }
}

.question-form__list {
  margin-top: 8px;
}

.question-form__item {
  padding-right: 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #0000FF;
  position: relative;
}

.question-form__label {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  padding: 15px 17px 15px 17px;
}
@media screen and (max-width: 768px) {
  .question-form__label {
    padding: 10px 0;
  }
}

.question-form__content {
  display: flex;
  align-items: center;
  flex: 1;
}

.question-form__number {
  font-size: 22px;
  font-weight: bold;
  padding-right: 17px;
}

.question-form__text {
  flex: 1;
  padding-right: 30px;
  font-size: 18px;
  line-height: 1.75;
}
@media screen and (max-width: 768px) {
  .question-form__text {
    padding-right: initial;
    font-size: 16px;
    line-height: 1.7142857143;
  }
}

.question-form__text span {
  text-decoration: underline;
}

.question-form__radio:checked {
  border: 2px solid #0000FF;
}

.question-form__radio {
  margin: 0 10px;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #1010EB;
  border-radius: 50%;
  cursor: pointer;
  outline: none;
  background-color: #fff;
  box-sizing: border-box;
}

.question-form__radio:checked {
  background-color: #1010EB;
  box-shadow: inset 0 0 0 2px #fff;
}

.question-form__button-box {
  text-align: center;
  margin-top: 40px;
}

body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
}

.modal {
  background-color: white;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  position: relative;
  transform: translateY(-80px);
}
@media screen and (max-width: 768px) {
  .modal {
    transform: translateY(0);
    max-height: 90vh;
    overflow-y: auto;
  }
}

.modal__header {
  background-color: #1010EB;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__title {
  font-size: 24px;
  font-weight: normal;
  margin: 0;
}

.close-button {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.modal__body {
  padding: 19px;
}

.modal__body-text {
  font-size: 22px;
}

.modal__body-text:not(:first-child) {
  margin-top: 10px;
}

.next-button-box {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.next-button {
  cursor: pointer;
  width: 100%;
}

.next-button:hover {
  background-color: #16a34a;
}

/* ============================================"
# 個人情報フォーム
=============================================== */
.personal-info-form__wrapper {
  max-width: 800px;
  margin: 0 auto;
  font-family: sans-serif;
}

.personal-info-form__field {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.personal-info-form__label {
  width: 185px;
  color: #3c3c3c;
  font-size: 22px;
}
@media screen and (max-width: 768px) {
  .personal-info-form__label {
    width: 150px;
    font-size: 16px;
  }
}

.input-wrap {
  flex: 1;
  width: 100%;
}

.personal-info-form__input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #1010EB;
  border-radius: 30px;
  font-size: 16px;
  outline: none;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .personal-info-form__input {
    font-size: 14px;
    padding: 10px 15px;
  }
}

.personal-info-form__input:focus {
  box-shadow: 0 0 0 1px #1010EB;
}

.personal-info-form__submit {
  text-align: center;
  margin-top: 60px;
}

@media (max-width: 600px) {
  .personal-info-form__field {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }
  .personal-info-form__label {
    width: 100%;
    margin-bottom: 5px;
  }
  .personal-info-form__input {
    width: 100%;
  }
}
/* ============================================"
# 確認画面（受講者情報）
=============================================== */
.confirmation-section__content-form {
  margin-top: 60px;
}
@media screen and (max-width: 768px) {
  .confirmation-section__content-form {
    margin-top: 40px;
  }
}

.confirmation-container {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.instructions {
  background-color: #e6f3ff;
  border-left: 4px solid #007bff;
  padding: 10px;
  margin-bottom: 20px;
}

.instructions li {
  margin: 5px 0;
}

/* テーブルのスタイルを固有のクラスに限定 */
table.confirmation-form-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.confirmation-form-table th,
.confirmation-form-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.confirmation-form-table th {
  background-color: #f2f2f2;
  font-weight: normal;
  width: 30%;
}

.button-container {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

.button-submit.button--edit {
  background-color: #fff;
  border: 2px solid #1010EB;
  color: #1010EB;
  width: initial;
  padding-left: 20px;
  padding-right: 20px;
}
@media screen and (max-width: 375px) {
  .button-submit.button--edit {
    font-size: 13px;
  }
}

.button-submit.button--edit:hover {
  background-color: #1010EB;
  border: 2px solid #1010EB;
  color: #fff;
  opacity: 1;
}
@media screen and (max-width: 768px) {
  .button-submit.button--edit:hover {
    border: 2px solid #1010EB;
    background-color: #fff;
    color: #1010EB;
  }
}

.button-submit.button--start {
  width: initial;
  padding-left: 20px;
  padding-right: 20px;
}
@media screen and (max-width: 375px) {
  .button-submit.button--start {
    font-size: 13px;
  }
}

/* ============================================"
# トレーニングセクション
=============================================== */
.training {
  height: 100%;
}

.training__inner {
  height: 100%;
}

.training__wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
  justify-content: space-between;
}

.training__content-heading {
  font-size: 22px;
  font-weight: bold;
  color: #1010EB;
  text-indent: -1.3em;
  padding-left: 1.3em;
}
@media screen and (max-width: 768px) {
  .training__content-heading {
    font-size: 18px;
    text-indent: -1.3em;
    padding-left: 1.3em;
  }
}

.training__content-heading::before {
  content: "◯";
  font-size: 20px;
  margin-right: 8px;
}
@media screen and (max-width: 768px) {
  .training__content-heading::before {
    font-size: 18px;
  }
}

.training__content-subheading {
  margin-top: 20px;
  margin-left: 10px;
  padding-bottom: 5px;
  font-size: 22px;
  line-height: 1.5;
  font-weight: normal;
  color: #3c3c3c;
  padding-left: 10px;
  border-left: 7px solid #8bc34a;
  position: relative;
}
@media screen and (max-width: 768px) {
  .training__content-subheading {
    margin-left: 0;
    font-size: 18px;
    line-height: 1.5;
    border-left: 5px solid #8bc34a;
  }
}

.training__content-subheading::after {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 101.3%;
  height: 1px;
  background-color: #3c3c3c;
}

.training__content-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.training__content-recommendation {
  margin-top: 35px;
  margin-left: 10px;
  font-size: 18px;
  border: 2px solid #EA13E0;
  border-radius: 50px;
  padding: 36px 38px 15px 71px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .training__content-recommendation {
    margin-left: 0;
    margin-top: 20px;
    padding: 50px 18px 15px 40px;
  }
}

.training__content-recommendation::before {
  content: "推奨";
  position: absolute;
  top: 20px;
  left: 45px;
  transform: translateY(-50%);
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  color: #EA13E0;
}
@media screen and (max-width: 768px) {
  .training__content-recommendation::before {
    top: 36px;
    left: 18px;
  }
}

.training__content-recommendation.training__content-recommendation--margin {
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .training__content-recommendation.training__content-recommendation--margin {
    margin-top: 20px;
  }
}

.training__content-recommendation-text {
  font-size: 16px;
  color: #3c3c3c;
  line-height: 1.75;
  position: relative;
}
.training__content-recommendation-text::before {
  content: "";
  position: absolute;
  top: 14px;
  left: -25px;
  transform: translateY(-50%);
  background-image: url(/serv/images/check-pink.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  width: 14px;
  height: 14px;
}
@media screen and (max-width: 768px) {
  .training__content-recommendation-text::before {
    top: 13px;
    left: -20px;
    width: 12px;
    height: 12px;
  }
}

.training__content-list-wrap {
  margin-top: 35px;
  margin-left: 20px;
}
@media screen and (max-width: 768px) {
  .training__content-list-wrap {
    margin-top: 20px;
    margin-left: 0;
  }
}

.training__content-list-wrap--normal {
  margin-left: initial;
}

.training__content-list-text {
  margin-top: 20px;
}

.training__content-list-text.training__content-list-text--margin {
  margin-left: 30px;
  margin-top: 35px;
}
@media screen and (max-width: 768px) {
  .training__content-list-text.training__content-list-text--margin {
    margin-top: 20px;
    margin-left: initial;
  }
}

.training__content-list-title:not(:first-child) {
  margin-top: 30px;
}

.training__content-list-number {
  margin-top: 20px;
  margin-left: 15px;
}

.training__content-list-number2 {
  margin-left: 23px;
  margin-top: 10px;
}

.training__content-list {
  margin-top: 30px;
  margin-left: 10px;
}
@media screen and (max-width: 768px) {
  .training__content-list {
    margin-left: 0;
    margin-top: 20px;
  }
}

.training__content-list-text-button {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.training__content-source {
  margin-top: 10px;
  font-size: 14px;
  color: #3c3c3c;
  text-align: right;
}
@media screen and (max-width: 768px) {
  .training__content-source {
    text-align: left;
    font-size: 12px;
    text-indent: -3.1em;
    padding-left: 5.05em;
  }
}

.training__content-navigation {
  margin-top: 90px;
  display: flex;
  justify-content: center;
  gap: 22px;
}
@media screen and (max-width: 768px) {
  .training__content-navigation {
    margin-top: 50px;
  }
}

.training__content-list-text.bg-gray {
  background-color: #f0f0f0;
  padding: 20px 20px 30px 20px;
  border-radius: 4px;
  margin-top: 30px;
}

/* ============================================"
# ログイン画面
=============================================== */
.layout-login {
  margin-top: 40px;
  margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
  .layout-login {
    margin-top: 20px;
  }
}

.login__title {
  font-size: 24px;
  color: #170F5F;
  text-align: center;
  line-height: 1.75;
}
@media screen and (max-width: 768px) {
  .login__title {
    font-size: 18px;
  }
}

.login__subtitle {
  font-size: 22px;
  line-height: 1.75;
  color: #1010EB;
  display: block;
  margin-top: 10px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .login__subtitle {
    font-size: 16px;
  }
}

.login__tag {
  text-align: center;
  margin-top: 10px;
}

.login__tag-text {
  font-size: 22px;
  line-height: 1.75;
  color: #fff;
  background-color: #FFAD00;
  display: inline-block;
  padding: 5px 10px;
}
@media screen and (max-width: 768px) {
  .login__tag-text {
    font-size: 16px;
  }
}

.login__content {
  margin-top: 50px;
  padding-bottom: 30px;
}
@media screen and (max-width: 768px) {
  .login__content {
    margin-top: 30px;
    padding-bottom: 20px;
  }
}

.login__text {
  font-size: 20px;
  color: #3c3c3c;
  line-height: 1.575;
}
@media screen and (max-width: 768px) {
  .login__text {
    font-size: 16px;
  }
}

.login__text:not(:first-child) {
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .login__text:not(:first-child) {
    margin-top: 20px;
  }
}

.login__box {
  margin-top: 80px;
}
@media screen and (max-width: 768px) {
  .login__box {
    margin-top: 30px;
  }
}

.login-box {
  border: 1px solid #1010EB;
  padding: 20px 70px 50px 70px;
  max-width: 600px;
  width: 100%;
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  .login-box {
    padding: 30px 30px 40px 30px;
  }
}

.login-box__title {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .login-box__title {
    font-size: 20px;
  }
}

.login-box__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  .login-box__form {
    margin-top: 20px;
  }
}

.login-box__form-item {
  position: relative;
  width: 100%;
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .login-box__form-item {
    margin-top: 10px;
  }
}

.login-box__label {
  position: absolute;
  top: 5%;
  left: 0;
  font-size: 22px;
  font-weight: 300;
  color: #3c3c3c;
  transition: all 0.3s ease;
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .login-box__label {
    font-size: 16px;
  }
}

.login-box__input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #ccc;
  background-color: transparent;
  outline: none;
  font-size: 20px;
}

.login-box__input:not(:-moz-placeholder-shown) {
  border-bottom-color: #1010EB;
}

.login-box__input:focus,
.login-box__input:not(:placeholder-shown) {
  border-bottom-color: #1010EB;
}

.login-box__input:not(:-moz-placeholder-shown) ~ .login-box__label {
  top: -20px;
  font-size: 16px;
  color: #1010EB;
}

.login-box__input:focus ~ .login-box__label,
.login-box__input:not(:placeholder-shown) ~ .login-box__label {
  top: -20px;
  font-size: 16px;
  color: #1010EB;
}
@media screen and (max-width: 768px) {
  .login-box__input:not(:-moz-placeholder-shown) ~ .login-box__label {
    font-size: 12px;
  }
  .login-box__input:focus ~ .login-box__label,
.login-box__input:not(:placeholder-shown) ~ .login-box__label {
    font-size: 12px;
  }
}

.login-box__input::-moz-placeholder {
  color: transparent;
}

.login-box__input::placeholder {
  color: transparent;
}

.login-box__button {
  margin-top: 50px;
}
@media screen and (max-width: 768px) {
  .login-box__button {
    margin-top: 30px;
  }
}

/* ============================================"
# ホームに戻る
=============================================== */
.back-to-home {
  margin-top: 100px;
}
@media screen and (max-width: 768px) {
  .back-to-home {
    margin-top: 50px;
  }
}

.back-to-home__link {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
@media screen and (max-width: 768px) {
  .back-to-home__link {
    gap: 5px;
  }
}

.back-to-home__link img {
  width: 24px;
  height: 24px;
  -o-object-fit: contain;
     object-fit: contain;
  aspect-ratio: 24/24;
}
@media screen and (max-width: 768px) {
  .back-to-home__link img {
    width: 18px;
    height: 18px;
  }
}

.back-to-home__text {
  font-size: 18px;
  color: #3c3c3c;
  display: inline-block;
}
@media screen and (max-width: 768px) {
  .back-to-home__text {
    font-size: 14px;
  }
}

/* ============================================"
# フッター
=============================================== */
.layout-footer {
  margin-top: 10px;
}

.footer {
  background-color: #170F5F;
  padding: 20px 0;
}
@media screen and (max-width: 768px) {
  .footer {
    padding: 15px 0;
  }
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 35px;
  padding-right: 35px;
}
@media screen and (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 15px;
    padding-right: 15px;
  }
}

.footer__logo {
  width: 154px;
}
@media screen and (max-width: 768px) {
  .footer__logo {
    width: 100px;
  }
}

.footer__logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  aspect-ratio: 154/31;
}

.footer__copyright-text {
  color: #fff;
  font-size: 12px;
  font-family: "Meiryo UI", "Hiragino Sans", "Yu Gothic UI", "MS PGothic", sans-serif;
}
@media screen and (max-width: 768px) {
  .footer__copyright-text {
    font-size: 10px;
    font-weight: 300;
  }
}

/* ============================================"
# menu メニュー画面
=============================================== */
.menu__content-requirements {
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .menu__content-requirements {
    margin-top: 10px;
  }
}

.menu__content-table {
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .menu__content-table {
    margin-top: 10px;
  }
}

.menu__requirements-text {
  margin-top: 30px;
}

.menu-table__courses {
  border-collapse: collapse;
}

.menu-table__header {
  background-color: #f0f0f0;
  font-weight: normal;
}

.menu-table__header th {
  padding: 10px;
  text-align: center;
  border: 1px solid #ccc;
  white-space: nowrap;
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .menu-table__header th {
    font-size: 14px;
  }
}

.menu-table__course {
  border: 1px solid #ccc;
}

.menu-table__course td {
  padding: 10px;
  vertical-align: middle;
  border: 1px solid #ccc;
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .menu-table__course td {
    font-size: 14px;
  }
}

.menu-table__course-name {
  text-align: left;
}

.menu-table__course-pages {
  text-align: center;
  width: 60px;
}

.menu-table__course-action {
  width: 100px;
  text-align: center;
}

.menu-table__button .button {
  font-size: 16px;
  width: 130px;
}

.menu-table__button--green {
  background-color: #90ee90;
}

.menu-table__test-note {
  font-size: 16px;
  text-align: center;
}

.menu-table__instruction {
  font-size: 14px;
  text-align: left;
}

@media (max-width: 768px) {
  .menu__content-table {
    margin-inline: auto;
    max-width: 600px;
    width: 100%;
  }
  .menu-table__courses {
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
  }
  .menu-table__header th {
    display: none;
  }
  .menu-table__course {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0;
    border: 1px solid #ccc;
    margin-bottom: -1px;
  }
  .menu-table__course:not(:first-child) {
    margin-top: 30px;
  }
  .menu-table__course td {
    display: inline-block;
    width: 100%;
    padding: 0px;
    border-width: 0 0 0 0;
    box-sizing: border-box;
  }
  .menu-table__course td:last-child {
    border-bottom: none;
  }
  .menu-table__course-name p {
    padding-top: 10px;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 10px;
    font-size: 16px;
    border-right: 1px solid #ccc;
  }
  .menu-table__course-name::before {
    content: "コース名";
    font-weight: bold;
    background-color: #f0f0f0;
    padding: 5px;
    display: block;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-size: 16px;
  }
  .menu-table__course-pages::before {
    content: "ページ数";
    font-weight: bold;
    background-color: #f0f0f0;
    padding: 5px;
    display: block;
    border-bottom: 1px solid #ccc;
    text-align: left;
    font-size: 16px;
  }
  .menu-table__course-pages {
    width: 150px;
  }
  .menu-table__course-pages span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    font-size: 16px;
    height: calc(100% - 34.84px);
  }
  .menu-table__course-action {
    grid-column: span 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-top: 1px solid #ccc;
  }
  .menu-table__course-action::before {
    content: "トレーニング";
    font-weight: bold;
    background-color: #f0f0f0;
    padding: 5px;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    white-space: nowrap;
    display: block;
    width: 100%;
  }
  .menu-table__button {
    display: flex;
    justify-content: center;
    padding: 15px;
  }
  .menu-table__button .button {
    width: 200px;
  }
  .menu-table__test-note,
.menu-table__course-action[rowspan="3"] {
    display: none;
  }
}
/* ============================================"
# 修了画面
=============================================== */
.award {
  height: 100%;
}

.award__inner {
  height: 100%;
}

.award__wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
  justify-content: flex-start;
}

.award__content-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact {
  text-align: left;
  margin-top: 40px;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}

/* ============================================"
# 共通パーツ
=============================================== */
.inner {
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
  padding-right: 25px;
  padding-left: 25px;
}
@media screen and (max-width: 768px) {
  .inner {
    padding-right: 10px;
    padding-left: 10px;
  }
}

.layout-button {
  margin-top: 20px;
}

.button-submit,
.button {
  background-color: #1010EB;
  color: #fff;
  border: 2px solid #1010EB;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  width: 200px;
  height: 46.5px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
@media screen and (max-width: 768px) {
  .button-submit,
.button {
    font-size: 16px;
    height: 40px;
  }
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button.button--green {
  background-color: #7ECA2A;
  border: 2px solid #7ECA2A;
  color: #fff;
}

.button.button--green:hover {
  background-color: #fff;
  border: 2px solid #7ECA2A;
  color: #7ECA2A;
  opacity: 1;
}
@media screen and (max-width: 768px) {
  .button.button--green:hover {
    background-color: #7ECA2A;
    border: 2px solid #7ECA2A;
    color: #fff;
    opacity: 1;
  }
}

.button.button-next {
  background-color: #1010EB;
  border: 2px solid #1010EB;
  color: #fff;
}

.button.button-prev {
  background-color: #fff;
  border: 2px solid #1010EB;
  color: #1010EB;
}

.button.button-prev:hover {
  background-color: #1010EB;
  border: 2px solid #1010EB;
  color: #fff;
  opacity: 1;
}
@media screen and (max-width: 768px) {
  .button.button-prev:hover {
    border: 2px solid #1010EB;
    background-color: #fff;
    color: #1010EB;
  }
}

.button-submit:hover,
.button:hover {
  background-color: #fff;
  color: #1010EB;
  border: 2px solid #1010EB;
  opacity: 1;
}
@media screen and (max-width: 768px) {
  .button-submit:hover,
.button:hover {
    border: 2px solid #1010EB;
    background-color: #1010EB;
    color: #fff;
  }
}

.section-title {
  font-size: clamp(18px, 1.8461538462vw, 24px);
  color: #fff;
  line-height: 1;
  padding-left: 46px;
  padding-top: 8px;
  padding-bottom: 8px;
}
@media screen and (max-width: 768px) {
  .section-title {
    padding-left: 42px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 5px;
  }
}

.section-title--blue {
  background-color: #1010EB;
  position: relative;
}

.section-title--yellow {
  background-color: #FFAD00;
  position: relative;
}

.section-title--green {
  background-color: #7ECA2A;
  position: relative;
}

.section-title--home {
  background-color: #1010EB;
  position: relative;
  color: #fff;
}

.section-title--award {
  background-color: #1010EB;
  position: relative;
  color: #fff;
}

.section-title--award::before {
  content: "";
  display: inline-block;
  background-image: url(/serv/images/icon-award-white.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
}
@media screen and (max-width: 768px) {
  .section-title--award::before {
    left: 10px;
  }
}

.section-title--home::before {
  content: "";
  display: inline-block;
  background-image: url(/serv/images/home-white.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
}
@media screen and (max-width: 768px) {
  .section-title--home::before {
    left: 10px;
  }
}

.section-title--blue::before {
  content: "";
  display: inline-block;
  background-image: url(/serv/images/icon-question.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
}
@media screen and (max-width: 768px) {
  .section-title--blue::before {
    left: 10px;
  }
}

.section-title--yellow::before {
  background-image: url(/serv/images/icon-user-white.svg);
  content: "";
  display: inline-block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
}
@media screen and (max-width: 768px) {
  .section-title--yellow::before {
    left: 10px;
  }
}

.section-title--green::before {
  content: "";
  display: inline-block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  background-image: url(/serv/images/icon-book-white.svg);
}
@media screen and (max-width: 768px) {
  .section-title--green::before {
    left: 10px;
  }
}

.section-content {
  margin-top: 40px;
  margin-inline: auto;
  padding-left: 25px;
  padding-right: 25px;
}
@media screen and (max-width: 768px) {
  .section-content {
    margin-top: 20px;
    padding-left: initial;
    padding-right: initial;
  }
}

.layout-text {
  margin-top: 20px;
}

.text {
  font-size: 18px;
  line-height: 1.75;
}
@media screen and (max-width: 768px) {
  .text {
    font-size: 16px;
    line-height: 1.75;
  }
}

.text--indent {
  text-indent: -3em;
  padding-left: 2.3em;
}

.text--bold {
  font-weight: 600;
}

.text--blue {
  color: #1010EB;
}

.text--center {
  text-align: center;
}
@media screen and (max-width: 768px) {
  .text--center {
    text-align: left;
  }
}

.text--center-center {
  text-align: center;
}
@media screen and (max-width: 768px) {
  .text--center-center {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .text--md-center {
    text-align: center;
  }
}

.text--small {
  font-size: 16px;
}

.text--large {
  font-size: 24px;
  font-weight: 700;
}
@media screen and (max-width: 375px) {
  .text--large {
    font-size: 21px;
  }
}

.text--margin {
  margin-left: 10px;
}

.text--no-indent {
  text-indent: initial;
}

.training__content-list {
  margin-top: 30px;
  margin-left: 10px;
}
@media screen and (max-width: 768px) {
  .training__content-list {
    margin-left: 0;
    margin-top: 20px;
  }
}

.list {
  list-style-type: disc;
  padding-left: 20px;
}

.list__item:not(:first-child) {
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  .list__item:not(:first-child) {
    margin-top: 15px;
  }
}

.list__item.list__item--normal {
  margin-top: 0;
}

.list__item-text {
  font-size: 18px;
  color: #3c3c3c;
  line-height: 1.75;
}
@media screen and (max-width: 768px) {
  .list__item-text {
    font-size: 16px;
  }
}

.list-number__item {
  text-indent: -15px;
  padding-left: 20px;
}

.list-number__item--first {
  text-indent: -13px;
  padding-left: 20px;
}

.list-number__item--en {
  text-indent: -14px;
  padding-left: 20px;
}

.list-child {
  list-style-type: none;
  padding-left: 1em;
  text-indent: initial;
}

.list-child__item {
  position: relative;
}

.list-child__item::before {
  content: "-";
  position: absolute;
  left: -1em;
  top: 0;
  display: inline-block;
}

.list-child__item-text {
  display: inline-block;
}

.list-number__item:not(:first-child) {
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  .list-number__item:not(:first-child) {
    margin-top: 15px;
  }
}

.list-number__item-number {
  display: inline-block;
  margin-right: 10px;
}

.list-number__item-heading {
  font-size: 18px;
  color: #3c3c3c;
  line-height: 1.75;
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  .list-number__item-heading {
    font-size: 16px;
  }
}

.list-number__item-text,
.list-number__item-number {
  font-size: 18px;
  color: #3c3c3c;
  line-height: 1.75;
  font-weight: normal;
}
@media screen and (max-width: 768px) {
  .list-number__item-text,
.list-number__item-number {
    font-size: 16px;
  }
}

.top-margin {
  margin-top: 20px;
}

.top-margin-30 {
  margin-top: 30px;
}

.top-margin-70 {
  margin-top: 70px;
}
@media screen and (max-width: 768px) {
  .top-margin-70 {
    margin-top: 50px;
  }
}

.top-margin-100 {
  margin-top: 100px;
}
@media screen and (max-width: 768px) {
  .top-margin-100 {
    margin-top: 50px;
  }
}

.top-no-margin {
  margin-top: 0;
}

.list-number__item:not(:first-child).top-no-margin {
  margin-top: 0;
}

/* ============================================"
# tra07-table-table
=============================================== */
.tra07-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}

.tra07-table__caption {
  text-align: left;
  margin-bottom: 20px;
}

.tra07-table th {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.75;
  color: #3c3c3c;
  text-align: center;
  border: 1px solid #ccc;
  padding: 10px;
}
@media screen and (max-width: 768px) {
  .tra07-table th {
    font-size: 16px;
    line-height: normal;
  }
}

.tra07-table th.tra07-table--left {
  text-align: left;
}

.tra07-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
  font-size: 18px;
  line-height: 1.75;
}
@media screen and (max-width: 768px) {
  .tra07-table td {
    font-size: 16px;
    line-height: normal;
  }
}

.tra07-table thead {
  background-color: #f0f0f0;
}

.tra07-table ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.tra07-table li {
  margin-bottom: 5px;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
  height: 100px;
  line-height: 1;
}

/* ============================================"
# ダウンロードボタン
=============================================== */
.download-box {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.download-box__link {
  position: relative;
  width: 400px;
  justify-content: initial;
  padding-left: 60px;
}

.download-box__link::before {
  content: "";
  display: inline-block;
  background-image: url(/serv/images/icon-excel.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-48%);
}

.download-box__link::after {
  content: "";
  display: inline-block;
  background-image: url(/serv/images/arrow-white.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-48%);
}

.download-box__link:hover::after {
  content: "";
  display: inline-block;
  background-image: url(/serv/images/arrow-blue.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-48%);
}

/* ============================================"
# 404ページ
=============================================== */
.main--404 {
  justify-content: space-between;
}

.page404 {
  margin-top: 170px;
  height: 100%;
}

.page404__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page404-container {
  text-align: center;
}

.page404-container__title {
  margin-top: 50px;
  color: #170F5F;
  font-size: 24px;
}

.page404-container__text {
  margin-top: 10px;
}

.page404-container__button {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

/* ============================================"
# 旧サイトからの引き継ぎ
=============================================== */
.red {
  color: red;
}

.mb0 {
  margin-bottom: 0;
}