/* カスタム CSS をここに入力してください */
.column__item.ep-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column__item.ep-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.column__item.ep-box a {
  transition: color 0.2s ease;
}

.column__item.ep-box:hover a {
  opacity: 0.8;
}
.ggmap {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
 
.ggmap iframe,
.ggmap object,
.ggmap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.movie-wrap {
     position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
}
 
.movie-wrap iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}

/* ===================================
   アシスト 学年・目的別メニュー
=================================== */

.assist-course-menu {
  max-width: 1000px;
  margin: 28px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 各カード */
.assist-course-card {
  position: relative;
  display: flex;
  align-items: center;
  width: calc(50% - 7px);
  min-height: 105px;
  padding: 18px 54px 18px 22px;
  background: #ffffff;
  border: 2px solid #17366d;
  border-radius: 8px;
  color: #17366d !important;
  text-decoration: none !important;
  box-sizing: border-box;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* マウスを乗せた時 */
.assist-course-card:hover {
  background: #f6f8fc;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.10);
  color: #17366d !important;
  text-decoration: none !important;
}

/* テキスト全体 */
.assist-course-text {
  display: block;
}

/* メインタイトル */
.assist-course-title {
  display: block;
  margin-bottom: 5px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* 説明文 */
.assist-course-desc {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
}

/* 右側の矢印 */
.assist-course-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  line-height: 1;
  color: #d99a00;
}

/* ===================================
   高校生・大学受験
   横幅いっぱい
=================================== */

.assist-course-wide {
  width: 100%;
  background: #17366d;
  border-color: #17366d;
  color: #ffffff !important;
}

.assist-course-wide .assist-course-title {
  color: #ffffff;
}

.assist-course-wide .assist-course-desc {
  color: #ffffff;
  opacity: 0.9;
}

.assist-course-wide .assist-course-arrow {
  color: #ffd229;
}

.assist-course-wide:hover {
  background: #102a58;
  color: #ffffff !important;
}

.assist-course-wide:hover .assist-course-title,
.assist-course-wide:hover .assist-course-desc {
  color: #ffffff;
}

/* ===================================
   スマホ表示
=================================== */

@media screen and (max-width: 640px) {

  .assist-course-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 5px;
  }

  .assist-course-card,
  .assist-course-wide {
    width: 100%;
    min-height: 82px;
    padding: 14px 44px 14px 16px;
  }

  .assist-course-title {
    font-size: 20px;
    line-height: 1.3;
  }

  .assist-course-desc {
    font-size: 13px;
    line-height: 1.5;
  }

  .assist-course-arrow {
    right: 14px;
    font-size: 26px;
  }
}

/* 学年・目的から選ぶ 見出し */
.assist-course-heading {
  max-width: 1000px;
  margin: 34px auto 14px;
  padding-left: 14px;
  border-left: 6px solid #e0ad00;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
  color: #17366d;
  box-sizing: border-box;
}

@media screen and (max-width: 640px) {
  .assist-course-heading {
    margin: 24px 5px 12px;
    padding-left: 10px;
    border-left-width: 5px;
    font-size: 22px;
  }
}