@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/noto-sans-jp-regular.ttf") format("truetype");
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/noto-sans-jp-bold.ttf") format("truetype");
}

:root {
  --navy: #111838;
  --ink: #241913;
  --green: #47b39d;
  --green-dark: #3ea28e;
  --slate: #3b4552;
  --pale: #f7f7f7;
  --line: #e5e5e5;
  --content-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(var(--content-width), calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  height: 92px;
  background: var(--navy);
}

.site-header .wrap {
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  height: 100%;
}

.brand img {
  width: 342.45px;
  height: auto;
  margin-top: -20px;
}

.home main {
  --hero-height: max(531px, 38.95vw);
  position: relative;
}

.hero {
  min-height: var(--hero-height);
  background: #fff url("assets/hero-desktop.jpg") center center / cover no-repeat;
}

.hero-contact {
  position: absolute;
  top: calc(var(--hero-height) - 100px);
  right: 0;
  left: 0;
}

.hero-actions {
  display: flex;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.button:hover {
  background: var(--green-dark);
  color: #fff;
  text-decoration: none;
}

.hero-actions .button {
  width: min(450px, 80%);
}

.tagline {
  padding: 32px;
  background: #010a17;
  color: #e5e5e5;
}

.tagline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 32px;
}

.tagline p {
  flex: 0 1 calc(60% - 20px);
  margin: 10px;
  font-size: 18px;
}

.tagline .button {
  flex: 0 0 400px;
  min-height: 46px;
  font-size: 14px;
}

.section-heading {
  position: relative;
  padding: 16px 12px 24px;
  background: var(--slate);
  color: #fff;
  text-align: center;
}

.section-heading::after {
  position: absolute;
  right: 0;
  bottom: -18px;
  left: 0;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 18px solid var(--slate);
  border-right: 56px solid transparent;
  border-left: 56px solid transparent;
  content: "";
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.6;
}

.section-heading p {
  margin: 0;
  font-size: 13px;
}

.feature {
  position: relative;
  display: flow-root;
  background: #fff;
}

.feature-right {
  background: #fafafa;
}

.feature-content {
  width: min(540px, calc((100% - 72px) * 0.54));
  padding-bottom: 32px;
}

.feature-left .feature-content {
  margin-left: max(36px, calc((100% - 1000px) / 2));
}

.feature-right .feature-content {
  margin-left: auto;
  margin-right: max(36px, calc((100% - 1000px) / 2));
}

.feature img {
  position: absolute;
  top: 0;
  width: 40%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.feature-left img {
  right: 0;
}

.feature-right img {
  left: 0;
}

.feature-number {
  display: block;
  width: max-content;
  margin: 0 0 32px;
  padding: 20px 12px 8px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.feature h2 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.4;
}

.feature h3 {
  margin: 32px 0 28px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6;
}

.feature p,
.feature ul {
  margin: 0 0 48px;
  font-size: 16px;
  line-height: 1.6;
}

.feature ul {
  padding-left: 0;
  list-style: none;
}

.feature li::before {
  content: "● ";
}

.courses {
  padding-bottom: 60px;
  background: #fff;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
  width: min(1000px, calc(100% - 72px));
  gap: 22px;
  padding-top: 40px;
}

.course-card {
  padding: 32px 0 24px;
  background: #fff;
  text-align: center;
}

.course-card > a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.course-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.course-card a:hover img {
  opacity: 0.88;
}

.course-card h3 {
  margin: 0 0 20px;
  font-size: 20px;
}

.course-copy p {
  margin: 32px 0;
  font-size: 16px;
}

.course-copy > span {
  display: inline-block;
  max-width: 100%;
  padding: 8px 60px;
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
}

.instructors {
  padding-bottom: 100px;
  background: #fff;
}

.instructors > .wrap {
  width: 90%;
}

.instructor-category {
  margin: 50px 0;
  color: var(--green);
  font-size: 36px;
  font-weight: 400;
  text-align: center;
}

.instructor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 100px;
}

.instructor-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.instructor-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #f0f0f0;
}

.instructor-card img {
  width: 272px;
  height: 391px;
  flex: 0 0 272px;
  object-fit: cover;
}

.instructor-card h4 {
  margin: 0 0 5px;
  color: var(--green);
  font-size: 32px;
  font-weight: 400;
}

.instructor-card h4 span {
  font-size: inherit;
  font-weight: 400;
}

.instructor-card p {
  margin: 0 0 32px;
  font-size: 16px;
}

.instructor-card .profile-label {
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 400;
}

.instructor-card > div {
  flex: 0 1 600px;
  min-width: 0;
  margin: auto;
}

.instructor-card h4,
.instructor-card .profile-label {
  text-align: center;
}

.subsidy {
  padding: 75px 0;
  background: #f3f3f3;
}

.subsidy-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 42px;
}

@media (min-width: 768px) {
  .subsidy-inner {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
  }

  .subsidy .subsidy-inner h2 {
    font-size: clamp(24px, 2vw, 26px);
  }
}

.subsidy h2 {
  margin: 0 0 16px;
  color: var(--slate);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  text-wrap: balance;
}

.subsidy p {
  margin: 0;
  font-size: 17px;
  text-wrap: balance;
}

.subsidy img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.contact-section {
  padding: 0 0 60px;
  background: var(--green);
  scroll-margin-top: 24px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  padding-top: 60px;
}

.site-footer {
  padding: 45px 0 22px;
  border-top: 8px solid var(--slate);
  background: #031731;
  color: #fff;
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas:
    "logo links company"
    "copyright copyright copyright";
  align-items: center;
  gap: 25px;
}

.footer-logo {
  grid-area: logo;
}

.footer-logo img {
  width: 302px;
}

.footer-company {
  grid-area: company;
  justify-self: end;
  max-width: 100%;
}

.footer-company p {
  margin: 7px 0 0;
}

.footer-links {
  grid-area: links;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.footer-links a {
  color: #fff;
}

.copyright {
  grid-area: copyright;
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 22px;
  z-index: 5;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 50%;
  background: rgba(40, 40, 40, 0.78);
  color: #fff;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.back-to-top:hover {
  background: var(--navy);
  text-decoration: none;
}

body:not(.home) main {
  --article-padding: 64px;
  --article-width: 804px;
  padding: 0 0 60px;
  background: #fafafa url("assets/page-background.png");
}

.breadcrumbs {
  width: min(1000px, calc(100% - 72px));
  margin: 0 auto;
  padding: 10px 0;
  font-size: 13px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 6px;
  content: "/";
}

.breadcrumbs a {
  color: var(--green);
}

.page-banner,
.article {
  width: min(var(--article-width), calc(100% - 72px));
  margin: 0 auto;
  border: 1px solid var(--line);
  background: #fff;
}

.page-banner {
  padding: 56px var(--article-padding) 46px;
}

.page-banner .wrap {
  width: 100%;
}

.page-banner h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
}

.page-content {
  padding: 0;
}

.article {
  padding: 30px var(--article-padding) 10px;
  border-top: 0;
  overflow-wrap: anywhere;
}

.article h2 {
  margin: 80px calc(-1 * var(--article-padding)) 32px calc(-1 * var(--article-padding) - 10px);
  padding: 16px 16px 16px calc(var(--article-padding) - 8px);
  border: 0;
  border-left: 10px solid #131d2a;
  background: var(--slate);
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.6;
}

.article h2:first-child {
  margin-top: 0;
}

.about-image + h2 {
  margin-top: 0;
}

.article p,
.article li {
  font-size: 16px;
}

.article p,
.article ol,
.article ul {
  margin-top: 0;
  margin-bottom: 32px;
}

.article ol,
.article ul {
  padding-left: 1.6em;
}

.article li {
  margin-bottom: 7px;
}

.article a:not(.button) {
  color: var(--green-dark);
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.article th,
.article td {
  padding: 8px 10px;
  border: 1px solid #e5e5e5;
  text-align: left;
  vertical-align: top;
}

.article th {
  width: 30%;
  font-weight: 400;
}

.article tr:nth-child(odd) {
  background: #f0f0f0;
}

.course-detail-image {
  width: calc(100% + var(--article-padding) * 2);
  max-width: none;
  margin: -30px calc(-1 * var(--article-padding)) 30px;
}

.about-image {
  width: calc(100% + var(--article-padding) * 2);
  max-width: none;
  margin: -30px calc(-1 * var(--article-padding)) 30px;
}

.access-map {
  display: block;
  width: 100%;
  border: 0;
}

.course-lead {
  margin: 0 0 30px;
  font-size: 16px;
}

.course-summary {
  margin-bottom: 42px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0 0 32px;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  margin: 0 0 32px;
}

.horizontal-scroll {
  width: 100%;
}

.horizontal-scroll-note {
  display: none;
}

.curriculum-card,
.case-card {
  background: #fff;
}

.curriculum-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: start;
  gap: 15px;
  padding: 20px 25px;
  border: 3px solid var(--line);
}

.curriculum-card:not(:last-child)::after {
  position: absolute;
  bottom: -36px;
  left: 50%;
  width: 20px;
  height: 20px;
  border-right: 3px solid #aaa;
  border-bottom: 3px solid #aaa;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.curriculum-card img {
  width: 100%;
  height: auto;
  grid-column: 2;
  grid-row: 1;
}

.curriculum-card > div {
  grid-column: 1;
  grid-row: 1;
}

.curriculum-card h3,
.case-card h3,
.training-flow h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 19px;
}

.curriculum-card p {
  margin: 0 0 32px 30px;
  font-size: 16px;
}

.curriculum-card h3,
.training-flow h3 {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}

.training-flow p {
  margin: 0;
  font-size: 15px;
}

.course-disclaimer {
  margin: 15px 0 38px;
  color: #555;
  font-size: 14px !important;
}

.case-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-card h3 {
  margin: 12px 0 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}

.training-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 50px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.training-flow li {
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 20px 25px;
  border: 3px solid var(--line);
  background: #fff;
}

.training-flow li:not(:last-child)::after {
  position: absolute;
  top: auto;
  right: 50%;
  bottom: -36px;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-top: 3px solid #aaa;
  border-right: 3px solid #aaa;
  content: "";
  transform: translateX(50%) rotate(135deg);
}

.training-flow li {
  position: relative;
}

.training-flow h3 {
  font-size: 19px;
  line-height: 1.5;
}

.training-flow p {
  margin: 0 0 32px 30px;
  font-size: 16px;
}

.training-flow li::before {
  content: none;
}

.course-detail .button {
  margin-top: 18px;
}

.counseling-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40%;
  align-items: center;
  gap: 28px;
  margin: 50px calc(-1 * var(--article-padding)) -10px;
  padding: 30px 45px;
  background: #131d2a;
  color: #fff;
}

.counseling-copy {
  display: contents;
}

.counseling-copy h2 {
  grid-column: 1 / -1;
  margin: -30px -45px 0;
  padding: 30px 45px;
  border: 0;
  border-bottom: 1px solid #eee;
  background: transparent;
  color: #fff;
  font-size: 36px;
  text-align: center;
}

.counseling-copy p {
  margin: 0;
}

.counseling-cta > img {
  width: 100%;
  height: auto;
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: start;
}

.counseling-cta .button {
  min-height: 0;
  margin-top: 0;
  padding: 14px 20px;
  background: #f86222;
  font-size: 16px;
}

.counseling-cta .button:hover {
  background: #fa8553;
}

@media (max-width: 767px) {
  .horizontal-scroll {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .horizontal-scroll-note {
    display: block;
    margin: -8px 0 8px;
    color: #5b6565;
    font-size: 13px !important;
  }

  .case-grid {
    width: max-content;
    grid-template-columns: repeat(3, 220px);
    margin-top: 0;
  }

}

@media (max-width: 1200px) {
  body:not(.home) main {
    --article-padding: 36px;
    --article-width: calc((100% - 72px) * 0.833333 - 30px);
  }
}

@media (max-width: 991px) {
  .wrap {
    width: calc(100% - 48px);
  }

  body:not(.home) main {
    --article-padding: 40px;
    --article-width: calc(100% - 78px);
  }

  .tagline-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 26px;
  }

  .tagline .button {
    width: 100%;
    flex-basis: auto;
  }

  .tagline p {
    flex: none;
  }

  .feature-left .feature-content,
  .feature-right .feature-content {
    width: calc(100% - 48px);
    margin: 0 auto;
    padding: 0 0 32px;
  }

  .feature-number {
    margin-right: auto;
    margin-left: auto;
  }

  .feature h2,
  .feature h3 {
    text-align: center;
  }

  .feature img {
    position: static;
    width: 100%;
    height: 300px;
    margin: 32px 0 24px;
  }

  .feature h3 {
    margin-top: 0;
  }

  .section-heading::after {
    display: none;
  }

  .instructor-card {
    align-items: flex-start;
    text-align: left;
  }

  .instructor-card img {
    width: 180px;
    height: 259px;
    flex-basis: 180px;
  }

  .contact-inner {
    gap: 38px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: calc(100% - 24px);
  }

  .site-header {
    height: 78px;
  }

  .brand img {
    width: 163.33px;
    margin-top: 0;
  }

  .brand {
    align-items: center;
  }

  .hero {
    min-height: 290px;
    background-image: url("assets/hero-mobile.jpg");
    background-position: center;
  }

  .hero-contact {
    position: static;
    padding: 20px 0;
  }

  .hero-actions {
    padding: 0;
  }

  .hero-actions .button {
    width: 80%;
    min-height: 46px;
  }

  .button {
    font-size: 14px;
  }

  .tagline {
    padding: 32px;
  }

  .tagline p {
    margin: 10px 0;
    font-size: 18px;
  }

  .tagline .button {
    width: 90%;
    min-height: 46px;
    align-self: center;
  }

  .section-heading {
    padding: 16px 12px 24px;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: 28px;
  }

  .section-heading p {
    font-size: 13px;
  }

  .feature {
    display: flow-root;
  }

  .feature-left .feature-content,
  .feature-right .feature-content {
    width: calc(100% - 24px);
    padding: 0 0 32px;
  }

  .feature-number {
    margin-bottom: 32px;
  }

  .feature h2 {
    font-size: 36px;
  }

  .feature h3 {
    font-size: 24px;
  }

  .feature p,
  .feature ul {
    font-size: 16px;
  }

  .courses {
    padding-bottom: 54px;
  }

  .course-grid {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
  }

  .instructors {
    padding-bottom: 55px;
  }

  .instructor-category {
    margin: 25px 0;
    font-size: 30px;
  }

  .instructor-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .instructor-card {
    gap: 18px;
    padding: 0;
  }

  .instructor-card img {
    width: 140px;
    height: 202px;
    flex-basis: 140px;
  }

  .instructor-card h4 span {
    display: block;
    font-size: 14px;
  }

  .instructor-card h4 {
    font-size: 20px;
  }

  .instructor-card p {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .instructor-card > div {
    padding: 16px 12px 0 0;
  }

  .subsidy {
    padding: 48px 0;
  }

  .subsidy-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .subsidy h2 {
    font-size: 25px;
  }

  .subsidy p {
    font-size: 15px;
  }

  .contact-section {
    padding: 0 0 40px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "links"
      "company"
      "copyright";
    text-align: center;
  }

  .footer-company {
    justify-self: center;
  }

  .footer-logo img {
    width: 302px;
    margin: auto;
  }

  .footer-links {
    align-items: center;
  }

  .copyright {
    grid-column: 1;
    font-size: 12px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
    font-size: 32px;
  }

  body:not(.home) main {
    --article-padding: 20px;
    --article-width: calc(100% - 54px);
    padding-bottom: 40px;
  }

  .breadcrumbs {
    width: calc(100% - 24px);
  }

  .page-banner {
    padding: 20px;
  }

  .page-banner h1 {
    font-size: 21px;
  }

  .article {
    padding-top: 20px;
  }

  .course-detail-image,
  .about-image {
    margin-top: -20px;
  }

  .article h2 {
    padding-left: 20px;
    font-size: 28px;
  }

  .counseling-cta {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }

  .counseling-copy h2 {
    margin: -20px -20px 0;
    padding: 12px 20px;
    font-size: 20px;
  }

  .counseling-cta > img {
    max-width: 300px;
    grid-column: 1;
    grid-row: auto;
    margin: 0 auto;
  }

  .curriculum-grid {
    gap: 50px;
  }

  .curriculum-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .curriculum-card img {
    grid-column: 1;
    grid-row: 1;
    width: 150px;
    height: auto;
    justify-self: center;
  }

  .curriculum-card > div {
    grid-row: 2;
  }

  .curriculum-card p,
  .training-flow p {
    margin: 0;
  }

  .curriculum-card h3,
  .case-card h3,
  .training-flow h3 {
    font-size: 17px;
  }

  .article table {
    overflow-wrap: anywhere;
  }
}
