/*!
license > mv
------------------------------
*/
.mv-license .page-title__bg {
  width: 430px;
  height: 152px;
  transform: translate(-20%, -42%);
}

/* lg */
@media (max-width: 1279px) {
  .mv-license .page-title__bg {
    width: 33.62vw;
    height: 11.88vw;
    transform: translate(-40px, -54%);
  }
}

/* md */
@media (max-width: 959px) {}

/* sm */
@media (max-width: 767px) {
  .mv-license .page-title__bg {
    width: 300px;
    height: 106px;
  }
}

/* xs */
@media (max-width: 567px) {
  .mv-license .page-title__bg {
    width: 260px;
    height: 92px;
  }
}

/* xxs */
@media (max-width: 427px) {}

/*!
license > content area
------------------------------
*/
.page-content-area.license {
  margin-bottom: 0;
}

.license-type {
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(1rem, 0.343rem + 2.7vw, 2.5rem);
}
.license-type__item {
  width: 360px;
}
.license-type__content {
  padding: 0 16px 40px;
  border: 1px solid #DDE1E6;
  background-color: #EFF1F3;
}
.license-type__name h3 {
  padding: 8px 0;
  border-bottom: 4px solid #595959;
  color: #333;
  font-weight: 500;
  font-size: clamp(1rem, 0.781rem + 0.9vw, 1.5rem); /* min 16px / max 24px */
  text-align: center;
  letter-spacing: 0.06em;
}
.license-type__name p {
  height: 180px;
  padding: 16px 0;
  font-size: clamp(0.875rem, 0.82rem + 0.22vw, 1rem); /* min 14px / max 16px */
}
.license-type__data {
  padding: 8px 0;
  border-top: 1px dotted #595959;
  font-size: clamp(0.875rem, 0.82rem + 0.22vw, 1rem); /* min 14px / max 16px */
  text-align: center;
}

.license-area-map {
  max-width: 1120px;
  width: 100%;
  padding: 0 clamp(1rem, 0.343rem + 2.7vw, 2.5rem);
}
.license-area-map__item + .license-area-map__item {
  margin-top: 80px;
}
.license-area-map__item h3 {
  margin-bottom: 16px;
  font-size: clamp(1rem, 0.89rem + 0.45vw, 1.25rem); /* min 16px / max 20px */
  letter-spacing: 0.08em;
}
.license-area-map__item img {
  max-width: 100%;
}

.license-course {
  padding: 0 clamp(1rem, 0.343rem + 2.7vw, 2.5rem);
}
.license-course h3 {
  margin-bottom: 16px;
  font-size: clamp(1.25rem, 1.14rem + 0.45vw, 1.5rem); /* min 20px / max 24px */
}
.license-course__inner {
  display: flex;
  justify-content: center;
  gap: 80px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
.license-course__item {
  position: relative;
  width: 460px;
  height: 395px;
  border-radius: 5.206px;
  border: 1px solid #CFCFCF;
  padding: 48px clamp(1.5rem, 1.281rem + 0.9vw, 2rem); /* min 48px / max 56px | /* min 24px / max 32px */
  background-color: #EFF1F3;
  box-shadow: 0px 1.301px 5.206px 0px rgba(25, 33, 61, 0.08);
}
.license-course__item br {
  display: none;
}
.license-course__item.recommend::before {
  content: "推奨";
  position: absolute;
  top: 0;
  right: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 140px;
  background-image: url(../img/license/icon-star.svg);
  background-size: cover;
  background-repeat: no-repeat;
  color: #EFF1F3;
  font-size: 24px;
  letter-spacing: 0.2em;
  transform: translateY(-50%);
}
.license-course__item span {
  color: #919293;
  text-align: center;
  font-weight: 500;
  font-family: "Helvetica Neue";
  font-size: clamp(3.5rem, 3.062rem + 1.8vw, 4.5rem); /* min 56px / max 72px */
  letter-spacing: 7.2px;
  line-height: 1;
}
.license-course__item h4 {
  margin: 16px 0;
  color: #333;
  font-weight: bold;
  font-size: clamp(1.25rem, 0.812rem + 1.8vw, 2.25rem); /* min 20px / max 36px */
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.license-course__item p {
  color: #333;
  font-size: clamp(1rem, 0.863rem + 0.56vw, 1.313rem); /* min 16px / max 21px */
}
.license-course__item p + p {
  margin-top: clamp(0.75rem, 0.64rem + 0.45vw, 1rem); /* min 12px / max 16px */
}

/* 新しいコース */
.license-course-new {
  display: flex;
  column-gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.license-course-new-left,
.license-course-new-right {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 500px;
}

.license-course-new-left h4,
.license-course-new-right h4 {
  margin-top: 16px;
  margin-bottom: 8px;
  color: #333;
  font-size: clamp(1.5rem, 1.281rem + 0.9vw, 2rem); /* 24px - 32px */
  font-weight: 500;
  text-align: center;
}

.license-course-new-item {
  display: block;
  width: 100%;
  height: 280px;
  background-color: #0F3174;
  color: #fff;
  padding: clamp(1rem, 1rem + 0vw, 1rem);
  border-radius: 4px;
  text-decoration: none;
  transition: ease .2s;
}

.license-course-new-item.first {
  height: 200px;
  margin-bottom: 24px;
}

.license-course-new-item:hover {
  opacity: 0.8;
}

.license-course-new-right .license-course-new-item {
  background-color: #4C8721;
}

.license-course-new-item h5 {
  margin-bottom: clamp(1rem, 1rem + 0vw, 1rem);
  font-size: clamp(1.25rem, 1.031rem + 0.9vw, 1.75rem); /* 20px - 28px */
  font-weight: bold;
  text-align: center;
}

.license-course-new-item p {
  margin-bottom: 4px;
  font-size: clamp(0.8125rem, 0.75rem + 0.22vw, 0.875rem); /* 13px - 14px */
  line-height: 1.6;
  text-align: center;
}

.license-course-new-item h5 + p {
  margin-bottom: 12px;
  font-size: clamp(0.9375rem, 0.875rem + 0.22vw, 1.125rem); /* 15px - 18px */
}

.license-course-new-item p:last-child {
  margin-bottom: 0;
}

.license-price-table {
  max-width: 1000px;
  margin: 40px auto;
  overflow-x: auto;
  overflow-y: hidden!important;
  padding: 0 20px;
  position: relative;
}

.license-price-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.license-price-table th,
.license-price-table td {
  padding: 12px;
  border: 1px solid #DDE1E6;
  text-align: center;
  vertical-align: middle;
  background: #fff;
}

/* .license-price-table tr:nth-child(even) td {
  background: #fff;
} */

.license-price-table th {
  background: #333;
  color: #fff;
  font-weight: bold;
}

.license-price-table .grade {
  background: #EFF1F3;
  font-weight: bold;
  font-size: 1.2em;
  width: 80px;
}

.license-price-table .course-category {
  background: #F8F9FA;
  font-weight: bold;
  width: 140px;
}

.license-price-table .course-name {
  text-align: left;
  padding-left: 16px;
  background: #fff;
}

.table-section td {
  border-top: 2px solid #333;
}

/* ScrollHint styles */
.scroll-hint-icon-wrap {
  margin-top: 8px;
}

.scroll-hint-text {
  color: #333;
  font-size: 14px;
}

@media (max-width: 767px) {
  .license-course-new-item,
  .license-course-new-item.first {
    height: auto
  }
  .license-course-new-item.first {
    margin-bottom: 16px;
  }

  .license-price-table {
    padding: 0 10px;
    font-size: 13px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }

  .license-price-table::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(0,0,0,0.05));
    pointer-events: none;
  }

  .license-price-table th,
  .license-price-table td {
    padding: 8px;
    white-space: nowrap;
  }

  .license-price-table .grade {
    width: auto;
    font-size: 1.1em;
  }

  .license-price-table .course-category {
    width: auto;
  }
}

@media (max-width: 567px) {
  .license-price-table {
    margin-top: 24px;
  }
  .license-course .license-course-new__title {
    margin-bottom: 0;
  }
  .license-course-new-left,
  .license-course-new-right {
    width: 100%;
  }
  .license-course-new-left h4,
  .license-course-new-right h4 {
    max-width: 100%;
  }

  .license-course-new-item p {
    text-align: left;
  }

  .license-course-new-item h5 + p {
    text-align: center;
  }

  .license-price-table {
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }
  
}

.license-time {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 0;
}
.license-time + .license-time {
  border-top: 1px dotted #000;
}
.license-time__item {
  display: flex;
  margin: 0 auto;
  padding: 24px 32px;
  border-left: 8px solid #333;
  border-radius: 4px 0px 0px 4px;
  background-color: #EFF1F3;
  font-size: 20px;
}
.license-time__item + .license-time__item {
  margin-top: 24px;
}
.license-time__item span {
  display: inline-block;
  padding: 0 14px;
  line-height: 1.42;
}
.license-time__name {
  width: 200px;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  letter-spacing: 0.1em;
}
.license-time__date {
  width: 450px;
}
.license-time__date span:first-child,
.license-time__price span:first-child {
  border-right: 1px dotted #666666;
}
.license-time__price {
  flex-shrink: 1;
}

.license-links {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px 0;
  background-color: #EFF1F3;
  text-align: center;
}
.license-links__inner h3 {
  margin-bottom: 24px;
  color: #333;
  font-size: 24px;
}
.license-links__inner ul + h3 {
  margin-top: 64px;
}
.license-links__inner span {
  display: block;
  font-size: 14px;
}
.license-links__list {
  display: flex;
  justify-content: space-between;
  max-width: 1112px;
  width: 100%;
  margin: 24px auto 0;
}
.license-links__item {
  width: 360px;
}
.license-links__item a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 112px;
  border-radius: 4px;
  color: #fff;
  transition: ease .2s;
}
.license-links__item a span {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 220px;
  z-index: 3;
}
.license-links__item a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: right top;
}
.license-links__item a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

.license-links__item span::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url(../img/common/icon-arrow-02.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.license-links__list.blue .license-links__item a {
  background-color: #0F3174;
}
.license-links__list.blue .license-links__item a::before {
  background-color:#001746;
}
.license-links__list.green .license-links__item a {
  background-color: #4C8721;
}
.license-links__list.green .license-links__item a::before {
  background-color: #306808;
}
.license-links__item a span {
  font-size: 20px;
  letter-spacing: 0.06em;
}

.schedule {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 64px 16px;
  background-color: #B1C6DA;
}
.schedule__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 40px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px;
  background-color: #fff;
}

.schedule__text {
  flex-shrink: 1;
}

.schedule__tel {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-shrink: 0;
  column-gap: 8px;
  width: 320px;
  font-family: "Helvetica Neue";
  font-size: 38px;
  letter-spacing: 0.06em;
}
.schedule__tel a {
  flex-shrink: 0;
}
.schedule__tel::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background-image: url(../img/common/icon-call.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.schedule__button {
  position: relative;
  flex-shrink: 0;
  width: 320px;
}
.schedule__button a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border: 1px solid #333;
  font-size: 24px;
}
.schedule__button a:hover {
  border-color: #fff;
}
.schedule__button a span {
  z-index: 3;
}
.schedule__button a:hover span {
  color: #000;
}

.seminar {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px;
  background-image: url(../img/license/seminar_bg_image.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
}
.seminar__inner p + p {
  margin-top: 24px;
}
.seminar__button {
  position: relative;
}
.seminar__button a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 340px;
  margin: 40px auto;
  padding: 16px;
  border: 1px solid #333;
  font-size: 20px;
}
.seminar__button a span {
  z-index: 3;
}
.seminar__button a:hover span {
  color: #fff;
}

/* lg */
@media (max-width: 1279px) {
  .license-time__name {
    width: 160px;
  }
}

@media (max-width: 1180px) {
  .license-type__item {
    width: calc((100% - 48px) / 3);
  }
  .license-type__name p {
    height: 220px;
  }

  

  .license-links__list {
    padding: 0 clamp(1rem, 0.343rem + 2.7vw, 2.5rem);
  }
  .license-links__item {
    width: calc((100% - 32px) / 3);
  }
  .license-links__item a {
    width: 100%;
  }

  .schedule__inner {
    column-gap: 24px;
  }
  .schedule__button {
    width: 300px;
  }
}

/* md */
@media (max-width: 959px) {
  .license-type__item {
    width: calc((100% - 32px) / 3);
  }
  .license-type__name p {
    height: 240px;
  }
  .license-course__inner {
    gap: 24px;
  }

  .license-time__item {
    flex-wrap: wrap;
  }
  .license-time__name {
    width: 100%;
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 1px dotted #666666;
  }

  .schedule__inner {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 24px;
    text-align: center;
  }
  .schedule__text {
    width: 100%;
  }
}

/* sm */
@media (max-width: 767px) {
  .license-type {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4vw;
  }
  .license-type__item {
    width: calc((100% - 4vw) / 2);
  }
  .license-course__item.recommend::before {
    width: 100px;
    height: 100px;
    font-size: 20px;
  }

  .license-links__list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
  }
  .license-links__item {
    width: calc((100% - 24px) / 2);
  }
  .license-links__item a {
    height: 90px;
  }
  .license-links__item a span {
    
    font-size: 18px;
  }
  .license-links__item span::after {
    width: 20px;
    height: 20px;
  }

  .schedule__inner {
    row-gap: 8px;
    padding: 48px 24px;
  }

  .seminar {
    padding: 80px 40px;
  }
}

/* xs */
@media (max-width: 567px) {
  .license-type {
    flex-direction: column;
    row-gap: 40px;
  }
  .license-type__item {
    width: 100%;
  }
  .license-type__name h3 {
    font-size: 20px;
  }
  .license-type__name p {
    height: auto;
  }
  .license-type__data {
    font-size: 16px;
  }
  .license-course__inner {
    flex-direction: column;
    gap: 18vw;
  }
  .license-course__item {
    width: 100%;
    height: auto;
    padding-top: 24px;
  }
  .license-course__item h4 {
    font-size: 26px;
  }
  .license-course__item.recommend::before {
    width: 24vw;
    height: 24vw;
  }

  .license-time__item span {
    padding: 0;
    text-align: center;
  }

  .license-links__list {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .license-links__item {
    width: 80%;
  }
  .license-links__item a span {
    padding: 0 8px;
  }
  .license-time__date,
  .license-time__price {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
  }
  .license-time__price {
    margin-top: 16px;
  }
  .license-time__date span:first-child,
  .license-time__price span:first-child {
    border-right: none;
    font-size: 0.84em;
    margin-bottom: 6px;
  }
  .license-time__date span:nth-child(2),
  .license-time__price span:nth-child(2) {
    font-size: 1em;
  }

  .schedule__tel {
    justify-content: center;
    column-gap: 16px;
    font-size: 36px;
  }

  .schedule__button a {
    padding: 16px;
    font-size: 20px;
  }
}

/* xxs */
@media (max-width: 427px) {
  .seminar__button,
  .seminar__button a {
    width: 100%;
  }

}

