@charset "utf-8";

#ism.node h3 {
  background-image: url(../images/home/ism_title_en.svg);
}

.access-wrapper .site-title a {
  background-image: url(../images/site-title-f_en.svg);
  padding-top: 38%;
}

.message-wrapper:before {
  background-image: url(../images/home/dream_en.svg);
}

.menu-link li span.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #004b83;
  text-decoration: none;
  transition: 0.2s;
}

.menu-link li .title {
  font-size: min(3.6vw, 1.6rem);
  text-align: center;
  line-height: 1.5;
  margin-bottom: calc(0.3rem + 0.25em);
}
.menu-link li .title {
  font-family: "Zen Old Mincho", serif;
  font-size: min(3.6vw, 1.8rem);
  font-weight: 900;
}

.menu-link li .img {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  margin: 0.25em 0 0;
  padding-top: 67%;
  line-height: 0;
  overflow: hidden;
}

.menu-link li .img img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  transition: 0.3s;
}

.price-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.topPrice-heading {
  margin-bottom: 0.5em;
  color: #004b83;
  font-family: "Zen Old Mincho", serif;
  font-size: min(6vw, 4rem);
  font-weight: 700;
  text-align: left;
  line-height: 1.2;
}
.topPrice-heading .sub {
  display: inline-block;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: min(4vw, 1.6rem);
  font-weight: 500;
}
.node .topPrice {
  background: #fff;
  padding: 40px min(6%, 80px);
  margin: 40px auto 0;
}
.topPrice .table-price {
  width: 100%;
  text-align: left;
  border-left: none;
}
.topPrice .table-price td {
  border-right: none;
}
.over-span {
  display: block;
  font-size: 1.3rem;
  line-height: 1.4;
}

#free.node .title_h3 h3 {
  font-size: min(6.5vw, 4.5rem);
}

@media (min-width: 950px) {
  .access-wrapper .site-title a {
    width: 350px;
    padding-top: 133px;
  }

  .menu-link li:nth-child(-n + 3) .img {
    padding-top: 60% !important;
  }

  .node .topPrice {
    padding: 80px min(6%, 80px);
    margin: 80px auto;
  }

  .over-span {
    font-size: 1.6rem;
  }

  #access.node {
    padding-top: 0;
  }
}

@media (max-width: 949px) {
  #price.node {
    padding-bottom: 0;
  }
}
