/* =========================================================
 * Static seminar modal CSS + stronger scroll lock
 * ========================================================= */

/* 詳しく見るボタン */
a.show-detail-link,
button.show-detail-link {
  display: block;
  padding-block: 0.7142857143em;
  width: calc(5em + 2.8571428571em);
  color: #1b2c55;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  position: relative;
}
@media screen and (max-width: 767px) {
  a.show-detail-link,
  button.show-detail-link {
    font-size: 14px;
  }
}
a.show-detail-link::after,
a.show-detail-link::before,
button.show-detail-link::after,
button.show-detail-link::before {
  content: "";
  display: block;
  width: 1.0714285714em;
  height: 2px;
  background: #1b2c55;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
}
a.show-detail-link::before,
button.show-detail-link::before {
  transform: translate(0, -50%) rotate(90deg);
}
button.show-detail-link {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

/* Lityカスタム */
.lity {
  background: rgba(0, 0, 0, 0.6);
}
.lity-inline .lity-container {
 aspect-ratio: 800 / 480;
    width: calc(100% - 80px);
    max-width: 1360px;
    max-height: calc(100vh - 90px);
}
@media screen and (max-width: 767px) {
  .lity-inline .lity-container {
    aspect-ratio: 335/600;
    width: calc(100% - 40px);
    max-height: 80%;
  }
}
.lity-inline .lity-content {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
@media screen and (max-width: 767px) {
  .lity-inline .lity-content {
    border-radius: 5px;
  }
}
.lity-close,
.lity-close:hover {
  display: block;
  width: 1.875em;
  height: 1.875em;
  font-size: 2em;
  text-indent: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(10%, -90%);
}

/* ボタン本体のサイズは変更しない */
.lity-close:hover,
.lity-close:focus,
.lity-close:active {
  font-size: 2em;
  line-height: 1.875em;
}

.lity-close::before,
.lity-close::after {
  content: "";
  display: block;
  width: 0.9375em;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transition: transform 0.2s;
  transform: translate(-50%, -50%) rotate(45deg);
}

.lity-close::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* 中心位置を保ったまま、×印だけを拡大 */
.lity-close:hover::after,
.lity-close:focus::after,
.lity-close:active::after {
  transform:
    translate(-50%, -50%)
    rotate(45deg)
    scale(1.4);
}

.lity-close:hover::before,
.lity-close:focus::before,
.lity-close:active::before {
  transform:
    translate(-50%, -50%)
    rotate(-45deg)
    scale(1.4);
}


/* モーダル表示中の背面スクロール固定補助 */
html.seminar-modal-scroll-locked,
body.seminar-modal-scroll-locked {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

.lity,
.lity-wrap {
  overscroll-behavior: none;
}

/*
 * iOSではLityの×ボタン／背景タップをclickとして確実に成立させるため、
 * .lity / .lity-wrap に touch-action:none は指定しません。
 */

.lity-inline .lity-content {
  overscroll-behavior: none;
}

.seminar-detail .modal-content {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* =========================================================
 * v3: Lity内で seminar-detail を必ず .lity-content 内に収める
 * 元の2025側では .modal が height:100% / position:absolute だったため、
 * モーダル本体が .lity-content の高さを超えず、.modal-content だけがスクロール領域になります。
 * ========================================================= */
.lity-inline .lity-container {
  overflow: visible;
}

.lity-inline .lity-content {
  overflow: hidden !important;
}

.lity-inline .lity-content > .seminar-detail.modal {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  max-height: none !important;
  overflow: hidden;
  position: absolute;
  inset: 0;
}

.lity-inline .lity-content > .seminar-detail.modal .modal-head,
.lity-inline .lity-content > .seminar-detail.modal .modal-bottom {
  flex: 0 0 auto;
}

.lity-inline .lity-content > .seminar-detail.modal .modal-content {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none !important;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* セミナー詳細モーダル */
.seminar-detail {
  display: flex;
  align-items: flex-start;
  flex-flow: column nowrap;
  justify-content: flex-start;
  box-sizing: border-box;
  padding: 3em;
  color: #1b2c55;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.seminar-detail.lity-hide {
  display: none;
}
@media screen and (max-width: 767px) {
  .seminar-detail {
    padding: 1.4285714286em;
    font-size: 14px;
  }
}
.seminar-detail .modal-head {
  width: 100%;
}
.seminar-detail .modal-content {
  flex: 1;
  display: flex;
  align-items: stretch;
  flex-flow: row wrap;
  justify-content: flex-start;
  margin-top: 1.875em;
  padding-inline: 0.625em;
  width: 100%;
  overflow-y: auto;
}
@media screen and (max-width: 767px) {
  .seminar-detail .modal-content {
    margin-top: 1.4285714286em;
    display: flex;
    align-items: flex-start;
    flex-flow: column nowrap;
    justify-content: flex-start;
  }
}
.seminar-detail .modal-content::-webkit-scrollbar {
  background: #e5e5e5;
  width: 0.25em;
  border-radius: 999px;
}
.seminar-detail .modal-content::-webkit-scrollbar-thumb {
  background: #1b2c55;
  border-radius: 999px;
}
.seminar-detail .modal-bottom {
  padding-top: 1.875em;
  width: 100%;
}
.seminar-detail .datetime {
display: flex;
    align-items: center;
    flex-flow: row nowrap;
    justify-content: flex-start;
    gap: 0.75em;
    margin: 0;
    width: 100%;
    /* border-bottom: solid 2px #1b2c55; */
    font-size: 23px;
    line-height: 1;
}
@media screen and (max-width: 767px) {
  .seminar-detail .datetime {
    font-size: 15px;
  }
}
.seminar-detail .datetime .day {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2em 0.4em;
  min-height: 1.5em;
  background: #1b2c55;
  color: #fff;
  font-weight: 600;
}
.seminar-detail .seminar-info {

  /*border-right: solid 1px #e5e5e5;*/
  /*width: 56.94%;*/
}
@media screen and (max-width: 767px) {
  .seminar-detail .seminar-info {
    padding-right: 2%;
    border: 0;
    width: 100%;
  }
}
.seminar-detail .seminar-info .seminar-title {
  margin: 0;
  font-size: 38px;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .seminar-detail .seminar-info .seminar-title {
    font-size: 17px;
  }
}
.seminar-detail .seminar-info .sub-title {
  margin-top: 0.3333333333em;
  font-size: 18px;
  font-weight: 700;
}
.seminar-detail .seminar-info .description {
  margin-top: 2em;
  line-height: 1.8;
}
.seminar-detail .speaker-list {
  /*padding-left: 2.25em;
  width: 43.06%;*/
}
@media screen and (max-width: 767px) {
  .seminar-detail .speaker-list {
    margin-top: 1.5em;
    padding-left: 0;
    width: 100%;
  }
}
.seminar-detail .speaker-box + .speaker-box {
  margin-top: 1.25em;
}
.seminar-detail .speaker__jobtitle {
  margin: 0;
  font-size: 0.875em;
  line-height: 1.6;
}
.seminar-detail .speaker-name {
  margin: 0.25em 0 0;
  font-size: 1.125em;
  font-weight: 700;
}
.seminar-detail .notice {
  margin: 0;
  font-size: 0.875em;
  line-height: 1.7;
}

/*modal内レイアウト*/
.seminar-detail {}

.seminar-detail .modal-head{}
.seminar-detail .datetime .date{font-weight: 700 !important;}
.seminar-detail .datetime .time{font-size: 17px; font-weight: 500 !important;}
.seminar-detail .tag{
font-weight: bold;
    color: #fff;
    background: #0E0D6A;
    padding: .5em;
    border-radius: 4px;
    display: inline-block;
    position: absolute;
    top: 1em;
    right: 1em;
    line-height: 1.2;
    text-align: center;
}
.seminar-detail .wrapSpeaker{display: block; width: 100%;    margin-top: 2.8em;}
.seminar-detail .ulSpeaker{
  display: flex;
  justify-content: start;
  align-items: start;
  flex-wrap: wrap;
  width: 100%;
}
.seminar-detail .ulSpeaker > li{width: 48%; margin-bottom: 20px;}
.seminar-detail .ulSpeaker > li:nth-child(odd){margin-right: 2%;}
.seminar-detail .wrapFlex{
  display: flex;
  justify-content: space-between;
  align-items:start;
}
.seminar-detail .boxImg{ width: 25%; line-height: 0;}
.seminar-detail .boxImg img{width: 100%; height: auto; border-radius: 4px;}
.seminar-detail .boxTxt{ width: calc(100% - 30%); text-align: left;}

.seminar-detail .dlSpeaker{
  display: flex;
  flex-direction: column-reverse;
}
.seminar-detail .dlSpeaker > dt{margin-top: .5em;    font-weight: bold;}
.seminar-detail .dlSpeaker > dd{font-size: 14px;}
.seminar-detail .btnCV{
width: 460px;
    height: 100px;
    line-height: 100px;
    margin: 0 auto;
    font-size: 21px;
    position: relative;
}
.seminar-detail .btnCV .iconOuter{
      display: block;
    position: absolute;
    top: 50%;
    width: 1.6em;
    aspect-ratio: 1;
    height: auto;
    right: 1.6em;
    transform: translateY(-50%);
    pointer-events: none;
}




@media screen and (min-width: 768px) and (max-width: 1000px){
}

@media screen and (min-width: 0px) and (max-width: 767.98px){
/*modal内レイアウト*/
.lity-inline .lity-content > .seminar-detail.modal .modal-content{padding: 0;}

.seminar-detail {}
.seminar-detail .modal-head{}
.seminar-detail .datetime { font-size: 3.8vw; }
.seminar-detail .datetime .date{font-weight: 700 !important;}
.seminar-detail .datetime .time{font-size: 3.0vw; font-weight: 500 !important;}
    .seminar-detail .tag {
        font-weight: bold;
        color: #fff;
        background: #0E0D6A;
        padding: .5em;
        border-radius: .8vw;
        display: inline-block;
        position: relative;
        top: unset;
        right: unset;
        line-height: 1.2;
        text-align: center;
        margin: 1.8em 0 0;
    }
.seminar-detail .seminar-info .seminar-title {        font-size: 5vw;    }
.seminar-detail .seminar-info .sub-title {
    margin-top: 0.3333333333em;
    font-size: 3vw;
    font-weight: 400;
}
.seminar-detail .seminar-info .description {    margin-top: 2em;    line-height: 1.8;    font-size: 3.2vw;
}
.seminar-detail .wrapSpeaker{display: block; width: 100%;    margin-top: 2.8em;}
.seminar-detail .ulSpeaker{
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  align-items:top;
  width: 100%;
}
.seminar-detail .ulSpeaker > li{width:100%; margin-bottom: 5%;}
.seminar-detail .ulSpeaker > li:nth-child(odd){margin-right:0;}
.seminar-detail .ulSpeaker > li:not(:last-child){margin-bottom: 1.8em;}
.seminar-detail .wrapFlex{
  display: flex;
  justify-content: space-between;
  align-items:start;
}
.seminar-detail .boxImg{ width:30%; line-height: 0;}
.seminar-detail .boxImg img{width: 100%; height: auto; border-radius: .8vw;}
.seminar-detail .boxTxt{ width: calc(100% - 35%); text-align: left; padding-top: .5em}

.seminar-detail.type01 .boxImg,.seminar-detail.type02 .boxImg{ width:50%; line-height: 0;}
.seminar-detail.type01 .boxTxt,.seminar-detail.type02 .boxTxt{ width: calc(100% - 55%); text-align: left; padding-top: .5em}



.seminar-detail .dlSpeaker{
  display: flex;
  flex-direction: column-reverse;
}
.seminar-detail .dlSpeaker > dt{font-size: 3.2vw;margin-top: .5em;    font-weight: bold;}
.seminar-detail .dlSpeaker > dd{font-size: 3.2vw; margin-right: 3%;}

.seminar-detail .btnCV{
    width: 80%;
    height: auto;
    padding: 3% 0;
    line-height: 1.25;
    margin: 0 auto;
    font-size: 3.4vw;
    position: relative;
}




}