@charset "UTF-8";

/* 技術アカデミー専用テンプレート */
body.page-template-page-academy {
  background: #fff;
}

.page-template-page-academy main article {
  background: #fff;
  overflow: visible;
}

.academy-page {
  background: #fff;
  overflow: visible;
  padding-bottom: 80px;
  color: #333;
  line-height: 1.9;
}

.academy-page .container {
  max-width: 980px;
}

/* MV */
.academy-mv {
  width: 100%;
  line-height: 0;
}

.academy-mv picture {
  display: block;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .academy-mv picture {
    max-width: 1200px;
  }
}

.academy-mv img {
  display: block;
  width: 100%;
  height: auto;
}

/* Intro */
.academy-intro {
  padding: 60px 0 20px;
  background: #fff;
}

.academy-intro__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
}

.academy-intro__content {
  flex: 1;
  min-width: 0;
}

@media (min-width: 768px) {
  .academy-intro__content {
    margin-top: -90px;
  }
}

.academy-intro__title {
  margin: 0 0 32px;
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
}

.academy-intro__title-em {
  display: inline;
  padding: 2px 4px;
  margin: 0 4px;
  background: #315fac;
  color: #fff100;
  line-height: 1.6;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.academy-intro__text {
  font-size: 1.6rem;
  line-height: 2.2;
}

.academy-intro__text p {
  margin: 0 0 1.8em;
}

.academy-intro__text p:last-child {
  margin-bottom: 0;
}

.academy-highlight {
  background: #fff100;
  padding: 0 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.academy-intro__illust {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  padding-right: 20px;
  text-align: center;
}

/*.academy-intro__illust::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 72px;
  height: 260px;
  transform: translateY(-50%);
  background-image: radial-gradient(#b8cfe8 2.5px, transparent 2.5px);
  background-size: 14px 14px;
  z-index: 0;
}*/

.academy-intro__illust img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

/* Features */
.academy-features {
  background: #004a99;
  color: #fff;
  padding: 56px 0 64px;
}

.academy-features__title {
  margin: 0 0 40px;
  text-align: center;
  line-height: 0;
}

.academy-features__title img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.academy-features__list {
  margin: 0;
  padding: 0;
}

.academy-features__item {
  display: flex;
  align-items: center;
  gap: 24px 32px;
  margin: 0 0 24px;
  padding: 0;
}

.academy-features__item:last-child {
  margin-bottom: 0;
}

.academy-features__label {
  flex-shrink: 0;
  width: 440px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #00a0e9;
  color: #ffeb00;
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 1.45;
  white-space: nowrap;
}

.academy-features__check {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 2px;
}

.academy-features__check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 7px;
  height: 13px;
  border-right: 3px solid #111;
  border-bottom: 3px solid #111;
  transform: rotate(45deg);
}

.academy-features__desc {
  flex: 1;
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
  line-height: 2;
}

/* Section heading */
.academy-heading {
  margin: 0 0 36px;
  text-align: center;
  font-size: 2.4rem;
  font-weight: bold;
}

/* Recommend */
.academy-recommend {
  padding: 70px 0 60px;
}

.academy-recommend .academy-heading {
  margin: 0 0 48px;
}

.academy-recommend__box {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 56px;
  background: #f3f3f3;
  border-radius: 12px;
}

.academy-recommend__box ul {
  margin: 0;
  padding: 0;
}

.academy-recommend__box li {
  position: relative;
  margin: 0 0 16px;
  padding-left: 1.6em;
  font-size: 1.7rem;
  line-height: 1.8;
  list-style: none;
}

.academy-recommend__box li:last-child {
  margin-bottom: 0;
}

.academy-recommend__box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #315fac;
}

/* Course table */
.academy-course {
  padding: 20px 0 60px;
}

.academy-course__table {
  width: 100%;
  border-collapse: collapse;
}

.academy-course__table th,
.academy-course__table td {
  padding: 18px 20px;
  border-bottom: 1px solid #ccc;
  vertical-align: top;
  text-align: left;
  font-size: 1.6rem;
  line-height: 1.8;
}

.academy-course__table th {
  width: 28%;
  color: #315fac;
  font-weight: normal;
  white-space: nowrap;
}

.academy-course__table td {
  color: #444;
}

.academy-course__value > :first-child {
  margin-top: 0;
}

.academy-course__value > :last-child {
  margin-bottom: 0;
}

.academy-course__value p {
  margin: 0 0 0.6em;
}

.academy-course__value ul,
.academy-course__value ol {
  margin: 0 0 0.6em;
  padding-left: 1.4em;
}

.academy-course__value li {
  list-style: inherit;
}

/* Gallery */
.academy-gallery {
  padding: 0 0 70px;
}

@media (min-width: 768px) {
  .academy-page .academy-gallery .container {
    max-width: 1200px;
  }
}

.academy-gallery__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.academy-gallery__list li {
  width: calc(25% - 12px);
  list-style: none;
}

.academy-gallery__list img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

/* Contact */
/*.academy-contact {
  padding: 0 0 70px;
}*/

.academy-contact__apply {
  margin: 0 0 56px;
  text-align: center;
}

.academy-contact__lead {
  margin: 0 0 12px;
  font-size: 1.6rem;
}

.academy-contact__deadline {
  margin: 0 0 28px;
  font-size: 1.6rem;
}

.academy-contact__deadline strong {
  color: #c00;
  font-size: 1.8rem;
  font-weight: bold;
}

.academy-contact__btn-wrap {
  margin: 0 0 16px;
}

.academy-contact__btn {
  display: inline-block;
  min-width: 480px;
  max-width: 100%;
  padding: 18px 48px;
  border-radius: 100vh;
  background: #315fac;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.4;
  text-decoration: none;
  transition: 0.2s ease;
}

.academy-contact__btn:hover {
  background: #244a8a;
  color: #fff;
  text-decoration: none;
}

.academy-contact__caution {
  margin: 0;
  color: #666;
  font-size: 1.4rem;
  line-height: 1.7;
}

.academy-contact__inquiry {
  text-align: center;
}

.academy-contact__inquiry-lead {
  margin: 0 0 28px;
  font-size: 1.6rem;
  line-height: 1.9;
}

.academy-page .academy-contact__tel,
.academy-page .academy-contact__mail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.4;
}

.academy-page .academy-contact__tel img,
.academy-page .academy-contact__mail img,
.academy-page .academy-contact__icon {
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: auto;
  margin: 0;
  filter: brightness(0) saturate(100%) invert(37%) sepia(52%) saturate(838%) hue-rotate(186deg) brightness(91%) contrast(89%);
}

.academy-page .academy-contact__mail {
  margin-bottom: 0;
}

.academy-page .academy-contact__tel a,
.academy-page .academy-contact__mail a {
  font-size: inherit;
  font-weight: inherit;
  color: #333;
  text-decoration: none;
}

.academy-page .academy-contact__tel a:hover,
.academy-page .academy-contact__mail a:hover {
  color: #315fac;
}

/* Bottom banner */
.academy-banner {
  position: relative;
  padding: 90px 0 0;
  margin: 20px 0 0;
  overflow: visible;
}

.academy-banner__body {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 160px;
  background: #315fac;
  padding: 0 210px 0 176px;
  overflow: visible;
}

.academy-banner__visual {
  display: contents;
}

.academy-banner__label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  width: 160px;
  margin: 0;
  line-height: 0;
  pointer-events: none;
}

.academy-banner__label img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 160px;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: left top;
}

.academy-banner__text {
  position: relative;
  z-index: 1;
  flex: 1;
  margin: 0;
  padding: 28px 0;
  color: #fff;
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
}

.academy-page .academy-banner__text p {
  margin: 0;
  padding: 0;
  line-height: inherit;
}

.academy-banner__illust {
  position: absolute;
  right: 12px;
  bottom: 0;
  z-index: 2;
  width: 220px;
  margin: 0;
  line-height: 0;
  pointer-events: none;
}

.academy-banner__illust img {
  display: block;
  width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 767px) {
  .academy-intro__title {
    font-size: 2.2rem;
    margin-bottom: 24px;
  }

  .academy-intro__text {
    font-size: 1.5rem;
  }

  .academy-heading {
    font-size: 2rem;
  }

  .academy-intro__body {
    flex-direction: column;
  }

  .academy-intro__illust {
    order: -1;
    width: 348px;
    max-width: 100%;
    margin: 0 auto 24px;
    padding-right: 0;
  }

  /*.academy-intro__illust::before {
    right: -10px;
    height: 280px;
  }*/

  .academy-features__item {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .academy-features__label {
    width: 100%;
    font-size: 1.5rem;
    white-space: normal;
  }

  .academy-features__desc {
    font-size: 1.5rem;
    line-height: 1.9;
  }

  .academy-recommend__box li {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .academy-recommend .academy-heading {
    margin-bottom: 32px;
  }

  .academy-recommend__box {
    padding: 32px 24px;
  }

  .academy-course__table th,
  .academy-course__table td {
    display: block;
    width: 100%;
    padding: 12px 0;
  }

  .academy-course__table th {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .academy-gallery__list li {
    width: calc(50% - 8px);
  }

  .academy-contact__btn {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 16px 24px;
    font-size: 1.7rem;
  }

  .academy-page .academy-contact__tel,
  .academy-page .academy-contact__mail {
    font-size: 2rem;
  }

  .academy-page .academy-contact__tel a,
  .academy-page .academy-contact__mail a {
    font-size: inherit;
  }

  .academy-page {
    padding-bottom: 60px;
  }

  .academy-banner {
    padding-top: 0;
    margin: 40px 0 0;
  }

  .academy-banner .container {
    max-width: none;
    width: 100%;
    padding: 0;
  }

  .academy-banner__body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    background: #315fac;
  }

  .academy-banner__visual {
    display: flex;
    align-items: stretch;
    width: 100%;
  }

  .academy-banner__label {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    display: block;
    flex: 0 1 168px;
    width: 168px;
    max-width: 168px;
    min-width: 0;
    height: auto;
    margin: 0;
  }

  .academy-banner__label picture {
    display: block;
    max-width: 168px;
    height: 100%;
  }

  .academy-banner__label img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 168px;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: left center;
  }

  .academy-page .academy-banner__text p {
    padding: 0;
  }

  .academy-banner__text {
    padding: 24px 20px 28px;
    font-size: 1.45rem;
    line-height: 1.55;
    text-align: left;
  }

  .academy-page .academy-banner__text p + p {
    margin-top: 0.35em;
  }

  .academy-page .academy-banner__text p:nth-child(3),
  .academy-page .academy-banner__text p:nth-child(4) {
    margin-top: 1.1em;
  }

  .academy-banner__illust {
    position: relative;
    right: auto;
    bottom: auto;
    flex: 1 1 42%;
    width: auto;
    min-width: 0;
    margin: 0;
    background: #315fac;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    line-height: 0;
  }

  .academy-banner__illust img {
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 160px;
    object-fit: contain;
    object-position: bottom center;
  }
}
