:root {
  --application-main-color: #000;
  --application-accent-color: #E30012;
  --application-accent-text: #CA2823;
}
.sp-only {
  display: none;
}
.custom-inline-block {
  display: inline-block;
}
@media screen and (max-width: 767px) {
  .sp-only {
    display: block;
  }
  .pc-only {
    display: none;
  }
}

/* ---------------- */
/* ---------------- */
/* APPLICATION 38TH */ 
/* ---------------- */
/* ---------------- */
.application-38th__inner {
  padding-block: 150px;
  overflow: hidden;
}
.application-38th__heading {
  max-width: 1206px;
  width: 100%;
  margin: 0 auto 100px;
  padding-inline: 20px;
}
.application-38th__announce {
  display: block;
  width: max-content;
  max-width: 100%;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1.7;
  background-color: #E70C12;
  text-align: center;
  padding: 8px 10px 8px 20px;
  margin: 0 auto 32px;
  word-break: keep-all;
}
@media screen and (max-width: 767px) {
  .application-38th__announce {
    font-size: 20px;
  }
}
.application-38th__heading-title {
  font-size: 50px;
  font-weight: 700;
  color: var(--application-main-color);
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin-bottom: 80px;
  text-align: center;
}
.application-38th__heading-title-inner {
  display: inline-block;
  font-size: 50px;
  font-weight: 700;
  color: var(--application-main-color);
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.application-38th__heading-sub {
  font-size: 35px;
  font-weight: 700;
  color: var(--application-main-color);
  letter-spacing: 0.05em;
  line-height: 1.46;
  margin-bottom: 40px;
  text-align: center;
}
.application-38th__heading-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.application-38th__heading-item {
  font-size: 25px;
  font-weight: 700;
  color: var(--application-main-color);
  letter-spacing: 0.05em;
  line-height: 2;
}
.application-38th__heading-item--accent {
  color: #E30011;
  padding-top: 20px;
}
.application-38th__heading-item-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .application-38th__inner {
    padding-block: 80px;
  }
  .application-38th__heading {
    margin-bottom: 80px;
    padding-inline: 16px;
  }
  .application-38th__heading-title {
    font-size: 32px;
    margin-bottom: 64px;
  }
  .application-38th__heading-title-inner {
    font-size: 32px;
  }
  .application-38th__heading-sub {
    font-size: 24px;
    margin-bottom: 32px;
  }
  .application-38th__heading-item {
    font-size: 18px;
  }
  .application-38th__heading-item-sp {
    display: inline-block;
  }
  .application-38th__heading-item-pc {
    display: none;
  }
}
@media screen and (max-width: 539px) {
  .application-38th__heading-item {
    font-size: 4vw;
  }
}


/* ------------------------ */
/* ------------------------ */
/* APPLICATION REQUIREMENTS */ 
/* ------------------------ */
/* ------------------------ */
.application-requirements__inner {
  max-width: 1306px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 20px;
}
.application-requirements__box {
  border: 1px solid var(--application-accent-color);
  padding: 80px 50px;
  margin-bottom: 100px;
}
.application-requirements__heading {
  text-align: center;
  margin-bottom: 80px;
}
.application-requirements__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--application-main-color);
  letter-spacing: 0.05em;
  line-height: 1.47;
  margin-bottom: 50px;
}
.application-requirements__button {
  max-width: 350px;
  width: 100%;
  margin: 0 auto 50px;
}
.application-requirements__button-link {
  display: block;
  width: 100%;
  font-size: 25px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.4;
  background-color: #4D8CDB;
  padding-block: 20px;
  text-align: center;
  transition: opacity 0.3s ease;
}
@media (hover: hover) {
  .application-requirements__button-link:hover {
    opacity: 0.8;
  }
}
.application-requirements__overview {
  max-width: 927px;
  width: 100%;
  margin-inline: auto;
}
.application-requirements__text {
  font-size: 20px;
  font-weight: 500;
  color: var(--application-main-color);
  letter-spacing: 0.05em;
  line-height: 1.75;
  text-align: left;
}
.application-requirements__text:not(:last-of-type) {
  padding-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .application-requirements__inner {
    padding-inline: 16px;
  }
  .application-requirements__box {
    padding: 48px 12px;
    margin-bottom: 80px;
  }
  .application-requirements__heading {
    margin-bottom: 40px;
  }
  .application-requirements__title {
    font-size: 28px;
  }
  .application-requirements__button-link {
    font-size: 18px;
  }
  .application-requirements__text {
    font-size: 18px;
  }
}
@media screen and (max-width: 539px) {
  .application-requirements__title {
    font-size: 5.5vw;
  }
}

/* -------------------- */
/* -------------------- */
/* TEST SCHEDULE STYLES */ 
/* -------------------- */
/* -------------------- */
.test-schedule__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--application-main-color);
  letter-spacing: 0.1em;
  line-height: 1.47;
  text-align: center;
  margin-block: 100px 68px;
}
.test-schedule__table-wrapper {
  overflow-x: scroll;
  margin-bottom: 50px;
}
.test-schedule__table {
  border-collapse: collapse;
  padding-bottom: 10px;
}
.test-schedule__table td {
  border: 1px solid #707070;
  width: fit-content;
}
td.test-schedule__year {
  min-width: 100px;
  font-size: 18px;
  font-weight: 500;
  color: var(--application-main-color);
  letter-spacing: 0;
  line-height: 1.4;
  padding-inline: 20px;
}
td.test-schedule__date {
  min-width: 155px;
  font-size: 18px;
  font-weight: 500;
  color: var(--application-main-color);
  letter-spacing: 0;
  line-height: 1.4;
  padding-inline: 30px;
}
td.test-schedule__content {
  text-align: left;
  padding: 40px 28px 40px 40px;
}
.test-schedule__item {
  font-size: 25px;
  font-weight: 700;
  color: var(--application-accent-text);
  letter-spacing: 0.05em;
  line-height: 1.4;
  padding-bottom: 20px;
}
.test-schedule__item--last {
  padding-bottom: 0;
}
.test-schedule__text {
  font-size: 20px;
  font-weight: 500;
  color: var(--application-main-color);
  letter-spacing: 0.05em;
  line-height: 1.75;
}
.test-schedule__text--link {
  padding-bottom: 15px;
  a {
    text-decoration: underline;
  }
}
.test-schedule__text:not(:last-of-type) {
  padding-bottom: 15px;
}
.test-schedule__text--bold {
  font-weight: 700;
}
.test-schedule__text--with-image {
  display: inline-block;
}
.test-schedule__text--attention {
  position: relative;
  padding-left: 30px;
}
.test-schedule__text--attention::before {
  content: '※';
  display: block;
  width: 20px;
  position: absolute;
  top: 0;
  left: 0;
}
.test-schedule__purchase {
  max-width: 166px;
  width: 100%;
  padding-inline: 8px;
  margin-bottom: -6px;
}
@media (hover: hover) {
  .test-schedule__purchase img:hover {
    opacity: 1;
  }
}
.test-schedule__purchase img {
  display: block;
  width: 100%;
  object-fit: contain;
}
.test-schedule__note {
  padding: 12px 10px 15px 10px;
}
.test-schedule__note-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  max-width: 757px;
  width: 100%;
  border: 1px solid #E58730;
  border-radius: 20px;
  padding: 50px;
}
.test-schedule__note-left {
  min-width: 180px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.test-schedule__note-image {
  width: 31px;
}
.test-schedule__note-image img {
  display: block;
  width: 100%;
  object-fit: contain;
}
.test-schedule__note-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--application-main-color);
  letter-spacing: 0.05em;
  line-height: 1.9;
}
.test-schedule__note-list {
  width: max-content;
}
.test-schedule__note-item {
  font-size: 18px;
  font-weight: 500;
  color: var(--application-main-color);
  letter-spacing: 0.05em;
  line-height: 1.9;
}
.test-schedule__note-item:not(:last-of-type) {
  margin-bottom: 11px;
  padding-bottom: 10px;
  border-bottom: 1px solid #707070;
}

@media screen and (max-width: 767px) {
  .test-schedule__table-wrapper {
    overflow-x: auto;
  }
  .test-schedule__table {
    display: block;
    width: 100%;
  }
  .test-schedule__table tbody {
    display: block;
    width: 100%;
  }
  .test-schedule__table-row {
    display: block;
    width: 100%;
  }
  .test-schedule__title {
    font-size: 22px;
    margin-block: 60px 32px;
  }
  .test-schedule__table td {
    max-width: 100%;
    width: 100%;
    display: block;
  }
  td.test-schedule__year {
    min-width: auto;
    padding-inline: 10px;
    background-color: #CA2823;
    color: #fff;
    font-weight: 700;
  }
  td.test-schedule__date {
    min-width: auto;
    font-size: 16px;
    padding-inline: 10px;
  }
  td.test-schedule__content {
    padding: 20px 12px 20px 12px;
  }
  .test-schedule__item {
    font-size: 20px;
    padding-bottom: 16px;
  }
  .test-schedule__item--last {
    padding-bottom: 0;
  }
  .test-schedule__text {
    font-size: 16px;
  }
  .test-schedule__text:not(:last-of-type) {
    padding-bottom: 10px;
  }
  .test-schedule__note {
    padding: 12px 0 15px;
  }
  .test-schedule__note-inner {
    flex-direction: column;
    max-width: 100%;
    padding: 20px 16px;
  }
  .test-schedule__note-left {
    min-width: 162px;
  }
  .test-schedule__note-right {
    width: 100%;
  }
  .test-schedule__note-list {
    width: 100%;
  }
}

/* --------------------------- */
/* --------------------------- */
/* TEST SCHEDULE CONTACT STYLE */ 
/* --------------------------- */
/* --------------------------- */
.test-schedule__contact-title {
  font-size: 25px;
  font-weight: 700;
  color: var(--application-main-color);
  letter-spacing: 0.05em;
  line-height: 1.4;
  padding-bottom: 20px;
}
.test-schedule__contact-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--application-main-color);
  letter-spacing: 0.05em;
  line-height: 2;
}
.test-schedule__contact-link {
  position: relative;
  font-size: 20px;
  font-weight: 700;
  color: var(--application-main-color);
  letter-spacing: 0.05em;
  line-height: 2;
  transition: opacity 0.3s ease;
}
.test-schedule__contact-link::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  background-color: var(--application-main-color);
}

@media (hover: hover) {
  .test-schedule__contact-link:hover {
    opacity: 0.6;
  }
}

@media screen and (max-width: 767px) {
  .test-schedule__contact-title {
    font-size: 22px;
    padding-bottom: 12px;
  }
  .test-schedule__contact-text {
    font-size: 16px;
  }
  .test-schedule__contact-link {
    font-size: 16px;
  }
}

/* -------------------------- */
/* -------------------------- */
/* TEST SCHEDULE BUTTON STYLE */ 
/* -------------------------- */
/* -------------------------- */
.application-requirements-bottom {
  text-align: center;
}
.application-requirements-bottom__button {
  display: block;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}
.application-requirements-bottom__button--submit {
  padding-bottom: 67px;
}
.application-requirements-bottom__button:last-of-type {
  margin-bottom: 0;
}
.application-requirements-bottom__link {
  display: block;
  width: 100%;
  padding-block: 12px;
  /*
  background-color: #288A2C;
  box-shadow: 7px 7px 0 #103611;
  */
  background-color: var(--application-accent-color);
  box-shadow: 7px 7px 0 #67020A;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.application-requirements-bottom__link--submit {
  background-color: #DA7842;
}
/*
.application-requirements-bottom__button:last-of-type .application-requirements-bottom__link {
}
*/
@media (hover: hover) {
  .application-requirements-bottom__link:hover {
    transform: translate(7px, 7px);
    box-shadow: 0 0 0 #67020A;
    /*
    box-shadow: 0 0 0 #103611;
    */
  }
  /*
  .application-requirements-bottom__button:last-of-type .application-requirements-bottom__link:hover {
  }
  */
  .application-requirements-bottom__link:hover img {
    opacity: 1;
  }
}
.application-requirements-bottom__link-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}
.application-requirements-bottom__link-top--submit {
  flex-direction: column-reverse;
  gap: 12px;
}
.application-requirements-bottom__image-file {
  width: 35px;
}
.application-requirements-bottom__image-mail {
  width: 37px;
}
.application-requirements-bottom__image-ticket {
  width: 259px;
}
.application-requirements-bottom__image img {
  display: block;
  width: 100%;
  object-fit: contain;
}
.application-requirements-bottom__link-main {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1.45;
}
.application-requirements-bottom__link-main--submit {
  font-size: 28px;
}
.application-requirements-bottom__link-text {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0;
  line-height: 1.45;
}

@media screen and (max-width: 767px) {
  .application-requirements-bottom__link-top {
    gap: 16px;
  }
  .application-requirements-bottom__button {
    margin-bottom: 40px;
  }
  .application-requirements-bottom__image-file {
    width: 28px;
  }
  .application-requirements-bottom__image-mail {
    width: 30px;
  }
  .application-requirements-bottom__link-main {
    font-size: 24px;
  }
  .application-requirements-bottom__link-text {
    font-size: 14px;
  }
}


/* 以下を追加してください!_6/25メモ */
/* 追加CSS */
.bosyu-mv source,
.bosyu-mv img {
  width: 100%;
}

.test-schedule__content2 {
  border: none !important;
}

.application-38th__heading-item +.application-38th__heading-item {
  margin-top: 16px;
}


.application-requirements-bottom__link2 {
  display: block;
  width: 100%;
  padding-block: 30px;
  background-color: #E58730;
  border-radius: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.application-requirements-bottom__link-text2 {
  color: white;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.45;
  text-align: center;
}

.application-requirements-bottom__link2 img {
  width: 100%;
  max-width: 250px;
  margin-top: 10px;
  background-color: transparent;
}

.application-requirements-bottom__link {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.application-requirements-bottom__link:not(:first-of-type) {
  margin-top: 100px;
}

@media screen and (max-width: 767px) {
  .application-requirements-bottom__link2 {
    padding-block: 20px;
    border-radius: 30px;
  }
  .application-requirements-bottom__link-text2 {
    font-size: 24px;
  }
  .application-requirements-bottom__link2 img {
    max-width: 200px;
  }
  .application-requirements-bottom__link:not(:first-of-type) {
    margin-top: 60px;
  }
}

.application-requirements-bottom__link2:hover,
.application-requirements-bottom__link2:focus,
.application-requirements-bottom__link2:active {
  opacity: 0.9;
}