/* ===========================
  学科紹介
============================== */

.lower-hero {
  position: relative;
  min-height: 420px;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.lower-hero__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.lower-hero__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.lower-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lower-hero::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 6px solid var(--dept-color);
  z-index: 3;
  pointer-events: none;
}

.lower-hero__inner {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 56px;
  gap: 20px;
}

.lower-hero__dept {
  align-self: flex-end;
  text-align: right;
  color: #fff;
  text-shadow: 2px 3px 2px rgba(0, 0, 0, 0.4);
}

.lower-hero__dept .jp {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.lower-hero__dept .en {
  display: block;
  font-size: 0.95rem;
  letter-spacing: .15em;
  margin-top: 4px;
}

.lower-hero__catch {
  max-width: 640px;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  text-shadow: 2px 3px 2px rgba(0, 0, 0, 0.4);
  margin-top: 20px;
}

.lower-hero__lead {
  margin-top: auto;
  margin-bottom: -10px;
  margin-left: -38px;
  max-width: 420px;
  padding: 16px 20px;
  background: var(--dept-color, #008482);
  color: #fff;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 600;
  width: fit-content;
}

/* ==========================
  MOVIE
========================== */

.section-movie {
  padding: 80px 0;
  background: #333;
  color: #fff;
}

.movie-wrap {
  max-width: 960px;
  margin: 0 auto;
}

/* .movie-frame {
  position: relative;
  padding-top: 56.25%;
}

.movie-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
} */
.movie-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.movie-frame iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

/* ==========================
  FEATURES
========================== */

.section-feature {
  background: var(--dept-color);
  padding: 120px 0;
  color: #fff;
}

.section-feature .section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-feature .section-title {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
}

.section-feature .section-title::after {
  content: attr(data-en);
  display: block;
  font-size: 0.9rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: 8px;
}

.feature-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.feature-item {
  height: 100%;
}

.feature-box {
  display: block;
  position: relative;
  border: 4px solid #fff;
  padding: 32px;
  height: 100%;
  text-decoration: none;
  color: #fff;
  background-color: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.feature-item .feature-box:hover {
  transform: translateY(-8px);
  background-color: #fff;
  border: 4px solid var(--dept-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  color: var(--dept-color);
  border-radius: 10px;
}

.feature-box.has-link:active {
  transform: translateY(-2px);
  transition: transform 0.1s;
}

.feature-box-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 0;
}

.feature-box-text {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 24px;
}

.feature-box-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 500;
}

.feature-box span.feature-box-link {
  position: absolute;
  right: 0;
  font-weight: 700;
  padding-right: 1rem;
}

@media (max-width: 768px) {
  .section-feature {
    padding: 60px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-feature .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .lower-hero {
    min-height: 300px;
  }

  .lower-hero::before {
    inset: 12px;
    border-width: 4px;
  }

  .lower-hero__inner {
    min-height: 300px;
    padding: 32px 20px 20px;
    gap: 15px;
  }

  .lower-hero__catch {
    font-size: 1.6rem;
    margin-top: 10px;
  }

  .lower-hero__lead {
    margin-left: 0;
    margin-bottom: -16px;
    width: 100%;
    font-size: 0.9rem;
    padding: 12px 16px;
  }
}

.gakka-section-box {
  display: flex;
  gap: 100px;
  flex-wrap: wrap;
}

.gakka-section-table {
  display: flex;
}

.gakka-section-table .label {
  white-space: nowrap;
  font-weight: 700;
}

.gakka-section-table .list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 10px;
}