@charset "UTF-8";
.sec-sub-mv {
  background: url(../../img/seminar/bg_mv.png) no-repeat;
  background-size: cover;
  background-position: bottom;
}
@media (max-width: 768px) {
  .sec-sub-mv {
    background: url(../../img/seminar/bg_mv_sp.png) no-repeat;
    background-size: cover;
    background-position: bottom;
  }
}

/* ------------------------
    page：セミナー/説明会
------------------------ */
:is(body[class~="seminar"]) {
  --sectionColor: #cf001c;
}
:is(body[class~="seminar"]) .sec02List_ttl {
  font-weight: 500;
  font-size: large;
  text-align: center;
  color: #fff;
  background: var(--sectionColor);
  margin-bottom: 0.5em;
  margin-top: 3em;
  padding: 6px;
}
:is(body[class~="seminar"]) .sec02List {
  margin-top: 20px;
  margin-bottom: 40px;
}

.seminarCoupon {
  width: 80%;
  max-width: 550px;
  margin: 0 auto 75px;
}

.seminarCategoryList {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.seminarCategory {
  display: block;
  width: 20%;
  margin-right: 2%;
}

.seminarCategory > button {
  width: 100%;
  padding: 5px 0;
  text-align: center;
  font-weight: 500;
  line-height: 1.5;
  border: 2px solid currentColor;
  border-radius: 5px;
  transition: 0.2s ease;
}
.seminarCategory > button:is(:hover, :focus) {
  color: #fff;
}
.seminarCategory-all > button {
  color: #666;
}
.seminarCategory-all > button:where(:hover, :focus) {
  background: #666;
}
.seminarCategory-school > button {
  color: #cf001c;
}
.seminarCategory-school > button:where(:hover, :focus) {
  background: #cf001c;
}
.seminarCategory-online > button {
  color: #e57887;
}
.seminarCategory-online > button:where(:hover, :focus) {
  background: #e57887;
}

.seminarContWrap-school {
  --sectionColor: #e57887;
}
.seminarContWrap-online {
  --sectionColor: #ef8200;
}
.seminarContWrap + .seminarContWrap {
  margin-top: 20px;
}
.seminarContWrap.hidden {
  display: none;
}

.seminarCont {
  padding: 20px 20px 20px;
  border: 3px solid #cf001c;
  min-height: 480px;
}

.seminarCont.detail {
  min-height: 0;
}

.seminarCont .seminarCatch {
  text-align: center;
  color: #cf001c;
  font-size: large;
}

.seminarCont .is-frame {
  font-size: 1.2941176471em;
  color: #333;
  text-align: center;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.03em;
  border-top: none;
  border-bottom: 1px solid currentColor;
  padding: 0.2em 0 1em 0;
}
.seminarCont .btn-shadow,
.seminarCont .formCont .smf-button-control__control,
.formCont .seminarCont .smf-button-control__control {
  /*   color: #fff;
  background: #e57887;
  border-color: #e57887;
  filter: drop-shadow(6px 6px rgba(99, 99, 99, 0.3));
  padding: 0.5em 1em; */
  width: 260px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  padding: 12px;
  background: #fff;
  border: 2px solid #cf001c;
  font-size: 1.8rem;
  position: relative;
  line-height: 1.4;
  color: #cf001c;
  border-radius: 33px;
  display: flex;
  align-items: center;
  cursor: pointer;
  filter: drop-shadow(4px 4px rgba(99, 99, 99, 0.3));
}

.seminarCont .btn.btn-shadow::after {
  content: "";
  position: absolute;
  display: block;
  background: url(../../img/common/icon_arrow_en_r.svg) no-repeat;
  background-size: 100%;
  width: 24px;
  height: 24px;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 20px;
}

.seminarCont .btn-shadow::before,
.seminarCont .formCont .smf-button-control__control::before,
.formCont .seminarCont .smf-button-control__control::before {
  -webkit-mask-image: url(../img/common/icon/arrow-circle.svg);
  mask-image: url(../img/common/icon/arrow-circle.svg);
}

.seminarCont .btn-shadow:where(:hover, :focus),
.seminarCont .formCont .smf-button-control__control:where(:hover, :focus),
.formCont .seminarCont .smf-button-control__control:where(:hover, :focus) {
  color: #e57887;
  background: #fff;
  filter: drop-shadow(4px 4px rgba(99, 99, 99, 0.3));
}

.seminarCont_inner {
  padding: 20px 0 0;
  /* 		display: flex;
	flex-wrap: wrap;	*/
}

.seminarCont_place {
  color: #fff;
  background: #cf001c;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 25%;
  text-align: center;
  padding: 0 0.5em;
  font-size: medium;
  position: relative;
  top: 20px;
  height: 34px;
  line-height: 1.8;
}

.seminarCont_info {
  /* 
  display: flex;
  align-items: flex-start;
  gap: 5px 30px;
	*/
  margin-bottom: 1em;
  width: 100%;
}

.seminarCont_date {
  background: #f1f1f1;
  padding: 1em 2em;
}

.seminarCont_date p {
  display: inline;
}

.seminarCont_day {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin: 10px 0;
}

.seminarCont_time > :first-child {
  margin-right: 0.5em;
  margin-left: 0.5em;
}
.seminarCont_time .emphasis {
  font-weight: 500;
  color: #dd0000;
  background-color: none;
  display: inline-block;
  font-size: 1rem;
  border-radius: 4px;
  padding: 0;
}

.seminarCont_subinfo {
  display: flex;
  justify-content: space-between;
}

.seminarCont_subinfo dt,
dd {
  font-size: medium;
  /*font-weight: bold;*/
}

.seminarCont_detail {
  line-height: 1.8;
  font-size: medium;
  margin-top: 10px;
}

.seminarCont_flexContainer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.seminarCont_imgWrapper {
  min-width: 250px;
  min-height: 150px;
  max-width: 250px;
  max-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.seminar_apply_btn {
  display: none;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease-in-out, transform 0.4s ease-in-out;
}

/* .seminar_apply_btn .btn {
  padding: 0.2em 1em;
  min-width: 200px;
  width: 200px;
}
 */

.seminarCont_time span {
  font-size: 1.2rem;
}

.seminarCont_dataList {
  margin-right: 4em;
  display: flex;
  gap: 2em;
  text-wrap: nowrap;
}

.seminarCont_dataListRow {
  font-size: 0.8823529412em;
  line-height: 1.8;
  display: flex;
  gap: 1em;
  margin-top: 0em;
}
.seminarCont_dataListRow dt,
dd {
  background: none;
  font-size: medium;
}

.seminarCont_dataListRow > a {
  text-decoration: underline;
  color: #5656a2;
}

.seminarBranch {
  color: #cf001c;
  font-weight: 500;
}

.seminarCont_dataListRow > a:hover {
  opacity: 0.7;
}

@media (max-width: 767px) {
  :is(body[class~="seminar"]) .sec02List {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  :is(body[class~="seminar"]) .sec02ListItem_img {
    width: 30%;
    height: 100px;
  }

  :is(body[class~="seminar"]) .sec02ListItem_ttlandtxt {
    width: 70%;
  }

  :is(body[class~="seminar"]) .sec02ListItem_ttl {
    text-align: left;
  }

  :is(body[class~="seminar"]) .sec02ListItem_txt {
    padding-left: 10px;
  }

  :is(body[class~="seminar"]) .sec02ListItem {
    display: flex;
    flex-direction: row;
  }
  :is(body[class~="seminar"]) .sec02ListItem div {
    display: flex;
    flex-direction: column;
  }

  .seminarCoupon {
    width: 90%;
    margin: 0 auto 40px;
  }
  .seminarCont {
    padding: 20px 15px 30px;
    border-width: 3px;
  }
  .seminarCont_inner {
    padding: 10px 0 0;
  }
  .seminarCont_info {
  }
  .seminarCont_date {
    padding: 1em;
  }
  .seminarCont_day {
    font-size: 1.4rem;
  }
  .seminarCont_detail {
    margin-top: 10px;
  }

  .seminarCatch {
    margin-top: 10px;
  }

  .seminarCategoryList {
    justify-content: space-between;
  }

  .seminarCont_imgWrapper {
    max-width: 100%;
    max-height: 100%;
  }

  .seminarCategory {
    width: 32%;
    margin-right: 0;
  }

  .seminarCont_place {
    line-height: 2;
  }

  .seminarCont_dataList {
    flex-direction: column;
    gap: 0;
  }

  .seminarCont_flexContainer {
    flex-direction: column-reverse;
    gap: 30px;
  }

  /*スタイルを展開したいところに記述する*/
}
/* ------------------------
    page：セミナー/説明会
------------------------ */
:is(body[class~="seminar-form"]) {
  --sectionColor: #cf001c;
}
:is(body[class~="seminar-form"]) .seminarContWrap {
  margin-bottom: 60px;
}
:is(body[class~="seminar-form"]) .seminarCont {
  padding: 27px 30px 10px;
}
:is(body[class~="seminar-form"]) .seminarCont_inner {
  padding: 25px 5.4347826087% 0;
}

@media (max-width: 767px) {
  :is(body[class~="seminar-form"]) .seminarContWrap {
    margin-bottom: 40px;
  }
  :is(body[class~="seminar-form"]) .seminarCont {
    padding: 20px 15px 10px;
  }
  :is(body[class~="seminar-form"]) .seminarCont_inner {
    padding: 15px 3% 0;
  }
  /*スタイルを展開したいところに記述する*/
}

/* ------------------------
   セミナー詳細に「続きを見る」機能を付ける
------------------------ */
.seminarCont_detail p {
  max-height: 150px; /* 初期状態の最大高さ（PC） */
  overflow: hidden; /* 内容が隠れる */
  position: relative; /* 擬似要素の配置のためにrelativeを指定 */
  transition: max-height 1s ease-out, filter 1s ease, opacity 1s ease; /* max-height, opacityを同じ時間でアニメーション */
}

/* スマホ用の高さ設定 */
@media (max-width: 768px) {
  .seminarCont_detail p {
    max-height: 65px; /* スマホでは少し低めに設定 */
  }
}

/* 文章の境界部分にぼかしを追加 */
.seminarCont_detail p::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35px; /* ぼかしの高さ */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  ); /* ぼかしのグラデーション */
  pointer-events: none; /* 擬似要素がクリックされないようにする */
  opacity: 1; /* 初期状態ではぼかしが表示 */
  transition: opacity 1s ease; /* ぼかしのアニメーションも1秒に変更 */
}

/* ぼかしを非表示にするためのクラス */
.seminarCont_detail.p-expanded p::after {
  opacity: 0; /* 完全に非表示に */
}

/* ボタンをセンターに配置 */
.seminarCont_detail .button-container {
  text-align: center;
  margin-top: 20px;
}

/* 「続きを読む」と「閉じる」のスタイル */
.seminar_detail_readmore_open,
.seminar_detail_readmore_close {
  color: #cf001c; /* 文字色を指定 */
  font-weight: 500; /* ボールド属性を追加 */
  cursor: pointer; /* クリックできることを示す */
  text-decoration: none; /* リンクの下線を削除 */
  font-size: 16px; /* 文字サイズを少し大きく */
}

.seminar_apply_btn {
  display: flex;
  opacity: 0;
  transform: translateY(10px);
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, height 0.4s ease;
}

.seminarCont_detail.p-expanded .seminar_apply_btn {
  opacity: 1;
  transform: translateY(0);
  height: 60px;
}

.seminar-closed {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  padding: 12px;
  background: #cf001c;
  border: 2px solid #cf001c;
  font-size: 1.8rem;
  position: relative;
  line-height: 1.4;
  color: #fff;
  border-radius: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
}
