/* セミナー詳細（共通パーツなし単独ページ）
   event.css をベースに、エリア表示・フローティングアクション・
   ページタイトル帯／パンくず関連の指定を除いた構成 */

/* ------------------------------------
 * 単独ページ用のレイアウト調整
 * （site-header / page-header / フッターを出力しないため上下の余白を自前で確保する）
 * ---------------------------------- */
.seminar-standalone .site-body {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

/* グレー背景のフォーム枠で終わるページは、その枠の余白で足りるので下余白を付けない */
.seminar-standalone .site-body:has(.seminar-contact) {
  margin-bottom: 0;
}

/* 確認・完了ページはフォーム枠のグレーをページ全面に敷く
   （枠より下が白く残るのを防ぐ） */
html:has(.seminar-contact--standalone),
body.seminar-standalone:has(.seminar-contact--standalone) {
  background-color: #f2f2f2;
}

html:has(body.seminar-standalone) {
  scroll-padding-top: 20px;
}

/* ------------------------------------
 * パスワード保護（ページ全体をこの画面に差し替える）
 * ---------------------------------- */
.seminar-password {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: min(60vh, 480px);
  padding: clamp(40px, 8vw, 80px) 0;
}

.seminar-password__inner {
  width: min(100%, 480px);
}

.seminar-password__title {
  margin: 0 0 24px;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: var(--vk-color-text-body);
}

.seminar-password .post-password-form {
  margin: 0;
}

.seminar-password .post-password-form p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
}

.seminar-password .post-password-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.seminar-password .post-password-form input[type="password"] {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  font-size: 16px;
  line-height: 1.5;
  background: #fff;
}

.seminar-password .post-password-form input[type="submit"] {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 14px 28px;
  border: none;
  background: var(--vk-color-text-body);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.seminar-password .post-password-form input[type="submit"]:hover {
  opacity: 0.8;
}

/* ------------------------------------
 * 終了表示
 * ---------------------------------- */
.seminar-end {
  display: block;
  background-color: var(--vk-color-text-body);
  color: #fff;
  padding: 8px 30px;
  font-size: 20px;
  letter-spacing: 0.1em;
  margin: 0 auto 4em;
  text-align: center;
  width: 100%;
  max-width: 640px;
}

@media screen and (max-width: 767.98px) {
  .seminar-end {
    font-size: 18px;
  }
}

/* ------------------------------------
 * 概要（サムネイル + 開催情報）
 * ---------------------------------- */
.seminar-detail {
  display: flex;
  justify-content: space-between;
  gap: 90px;
  margin-bottom: 80px;
  padding-top: 80px;
}

.seminar-detail__visual {
  width: 53.5%;
  flex-shrink: 0;
}

.seminar-detail__visual img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.seminar-detail__info {
  width: 100%;
  padding-top: 0;
}

.seminar-detail__header {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-bottom: 10px;
  gap: 12px;
}

.seminar-detail__badge {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  color: #fff;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.1em;
  margin-bottom: 0;
  flex-shrink: 0;
  margin-right: 10px;
}

.seminar-detail__title {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 80px;
}

.seminar-detail__table-wrap {
  width: 100%;
  border-top: 1px solid #707070;
}

.seminar-detail__dl {
  width: 100%;
  margin: 0;
}

.seminar-detail__row {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #707070;
  align-items: center;
}

.seminar-detail__dt {
  padding: 40px 0;
  font-weight: normal;
  width: 60px;
  letter-spacing: 0.2em;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.seminar-detail__dd {
  width: calc(100% - 60px);
  padding: 25px 0 25px 30px;
  color: #000;
  line-height: 1.8;
  font-size: 16px;
  margin: 0;
}

@media screen and (max-width: 991.98px) {
  .seminar-detail {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
    padding-top: 40px;
  }

  .seminar-detail__visual {
    width: 100%;
    margin-top: 30px;
  }

  .seminar-detail__info {
    padding-top: 0;
  }

  .seminar-detail__header {
    margin-bottom: 25px;
  }

  .seminar-detail__title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .seminar-detail__dt {
    width: 70px;
    padding: 15px 0;
    font-size: 14px;
  }

  .seminar-detail__dd {
    width: calc(100% - 70px);
    padding: 15px 0 15px 20px;
    font-size: 14px;
  }
}

/* ------------------------------------
 * 申し込みCTA / 電話ボックス
 * ---------------------------------- */
.seminar-reservation {
  border: 6px solid #ccc;
  padding: 25px 20px 20px;
  text-align: center;
  margin-bottom: 40px;
}

@media (max-width: 991.98px) {
  .seminar-reservation {
    margin-top: 40px;
    margin-bottom: 15px;
  }
}

.seminar-reservation__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  background-color: #e77733;
  color: #fff;
  text-decoration: none;
  width: 88%;
  margin: 0 auto 15px;
  padding: 22px 15px;
  border-radius: 50vh;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.1em;
  transition: opacity 0.3s;
}

.seminar-reservation__btn:hover {
  opacity: 0.8;
  color: #fff;
}

.seminar-reservation__btn img {
  width: 23px;
  height: auto;
}

.seminar-reservation__lead {
  font-size: 15px;
  margin-bottom: 5px;
  color: var(--vk-color-text-body);
}

.seminar-reservation__tel {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 5px;
  color: var(--vk-color-text-body);
  letter-spacing: 5px;
}

.seminar-reservation__tel img {
  width: 80%;
}

.seminar-reservation__time {
  font-size: 15px;
  color: var(--vk-color-text-body);
  margin-bottom: 0;
}

.seminar-reservation__tel a {
  color: inherit;
  text-decoration: none;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.05em;
  font-size: 30px;
}

.seminar-reservation__tel a img {
  width: 23px;
  margin-top: -3px;
}

@media screen and (max-width: 1200px) {
  .seminar-reservation__tel a {
    font-size: 22px;
  }
}

@media screen and (max-width: 991.98px) {
  .seminar-reservation__tel a {
    font-size: 24px;
  }
}

@media screen and (max-width: 767.98px) {
  .seminar-reservation {
    padding: 30px 15px;
    border-width: 5px;
  }

  .seminar-reservation__btn {
    font-size: 18px;
    padding: 20px;
    gap: 10px;
    max-width: 100%;
    margin-bottom: 25px;
    background: #000;
  }

  .seminar-reservation__btn img {
    width: 24px;
  }

  .seminar-reservation__lead {
    font-size: 14px;
  }

  .seminar-reservation__tel {
    font-size: 30px;
  }

  .seminar-reservation__time {
    font-size: 12px;
  }

  .seminar-reservation__tel a {
    cursor: pointer;
    font-size: 27px;
  }

  .seminar-reservation__tel a img {
    width: 18px;
  }
}

/* ------------------------------------
 * 2カラムレイアウトの追従サイド
 * ---------------------------------- */
.ratio-layout {
  position: relative;
}

.ratio-layout__sub.is-fixed {
  position: fixed;
  z-index: 10;
}

.ratio-layout__sub.is-absolute {
  position: absolute;
  z-index: 10;
}

.seminar-info__sub-gallery-img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ------------------------------------
 * 申し込みフォーム
 * ---------------------------------- */
.seminar-contact {
  background-color: #f2f2f2;
  padding: 120px 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 120px;
}

.seminar-contact--standalone {
  margin-top: 0;
}

.seminar-contact__box {
  background-color: #fff;
  padding: 60px 40px;
}

.seminar-contact__header {
  background-color: var(--vk-color-text-body);
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.seminar-contact__form {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 767.98px) {
  .seminar-contact {
    padding: 80px 0 20px;
    margin-top: 80px;
  }

  .seminar-contact--standalone {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 0;
  }

  .seminar-contact__box {
    padding: 40px 20px;
  }

  .seminar-contact__header {
    font-size: 16px;
    padding: 12px;
    margin-bottom: 30px;
  }
}

/* ------------------------------------
 * Swiper ナビゲーション
 * ---------------------------------- */
.swiper-button-prev,
.swiper-button-next {
  width: 36px;
  height: 36px;
  background: #000 no-repeat 14px center;
  background-size: 11px;
  border-radius: 50vh;
  z-index: 10;
  margin-top: -18px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
  display: none;
}

.swiper-button-prev {
  left: 10px;
  background-position-x: 10px;
  background-image: url("../../img/arrow-1.svg");
}

.swiper-button-next {
  right: 10px;
  background-image: url("../../img/arrow-2.svg");
}

.swiper-button-next:focus,
.swiper-button-next:hover,
.swiper-button-next:active {
  background: #000 no-repeat 14px center;
  background-image: url("../../img/arrow-2.svg");
  background-size: 11px;
  outline: none;
}

.swiper-button-prev:focus,
.swiper-button-prev:hover,
.swiper-button-prev:active {
  background: #000 no-repeat 14px center;
  background-position-x: 10px;
  background-image: url("../../img/arrow-1.svg");
  background-size: 11px;
  outline: none;
}

@media screen and (max-width: 767.98px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 30px;
    height: 30px;
    margin-top: -15px;
  }
}

/* ------------------------------------
 * 見どころポイント
 * ---------------------------------- */
.seminar-gallery {
  margin-bottom: 60px;
}

.seminar-gallery__main {
  margin-bottom: 15px;
  width: 100%;
  overflow: hidden;
}

.seminar-gallery__item {
  width: 100%;
}

.seminar-gallery__item a {
  display: block;
  width: 100%;
}

.seminar-gallery__img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  position: static;
}

.seminar-gallery__nav {
  margin: 0 0 15px;
}

.seminar-gallery__nav-item {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.seminar-gallery__nav-item.swiper-slide-thumb-active,
.seminar-gallery__nav-item:hover {
  opacity: 1;
}

.seminar-gallery__nav-img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.seminar-gallery__caption {
  font-size: 16px;
  margin-top: 15px;
  min-height: 1.5em;
  /* 表示切り替えは JS で管理 */
}

.seminar-gallery__caption-item {
  display: none;
}

.seminar-gallery__caption-item.is-active {
  display: inline;
}

@media screen and (max-width: 767.98px) {
  .seminar-gallery {
    margin-top: 60px;
  }
}

/* ------------------------------------
 * キャッチコピー / アクセス
 * ---------------------------------- */
.seminar-catchcopy {
  font-family:
    "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3",
    "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝",
    "MS PMincho", serif;
  font-size: 30px;
  font-weight: 500;
}

.seminar-access {
  margin-bottom: 60px;
  margin-top: 80px;
  border-top: 0.5px solid var(--vk-color-text-body);
  padding-top: 60px;
}

.seminar-access__title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.4;
  text-align: center;
}

.seminar-access__map {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-bottom: 0;
  background-color: #f5f5f5;
}

.seminar-access__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
}

@media screen and (max-width: 767.98px) {
  .seminar-catchcopy {
    font-size: 22px;
  }

  .seminar-access {
    margin-top: 0;
    border-top: none;
  }

  .seminar-access__title {
    font-size: 16px;
  }

  /* .seminar-detail {
    margin-top: 60px;
  } */

  .seminar-detail__header {
    display: none;
  }

  .seminar-detail__title {
    margin-bottom: 0;
  }

  .seminar-reservation {
    padding: 0;
    margin: 0;
    border: none;
  }

  .seminar-reservation.bottom {
    padding: 30px 15px;
    border: 6px solid #ccc;
  }

  .seminar-reservation .seminar-reservation__btn {
    background-color: #e77733;
  }
}
