@charset "utf-8";

/*
***************************************************************
modal 基本スタイル
***************************************************************
*/
#event-contents .modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1010;
  justify-content: center;
  align-items: center;
  opacity: 1 !important;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

#event-contents .modal-container {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: calc(100% - 16px);
  height: 100%;
  max-width: 1020px;
  z-index: 1010;
  padding: 60px 30px 30px 30px;
}

#event-contents .modal-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
}

/* 閉じるボタン */
#event-contents .modal-close {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  background-color: #fff;
  z-index: 1020;
}

@media (min-width: 769px) and (hover: hover) {
  #event-contents .modal-close:hover {
    background-color: #d8d8d8;
  }
}

#event-contents .modal-close::before {
  content: "";
  display: block;
  position: absolute;
  background-color: #00345a;
  width: 2px;
  height: 36px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  rotate: 45deg;
  border-radius: 22.5px;
}

#event-contents .modal-close::after {
  content: "";
  display: block;
  position: absolute;
  background-color: #00345a;
  width: 2px;
  height: 36px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  rotate: -45deg;
  border-radius: 22.5px;
}

#event-contents .modal-button {
  display: inline-block;
  width: 320px;
  background-color: #006d26;
  color: #fff;
  border: none;
  font-size: var(--size24);
  margin-top: 20px;
  padding: 10px 20px;
  cursor: pointer;
}

#event-contents .modal-button:hover {
  opacity: 0.8;
}

#event-contents .modal-button .arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size16);
  height: var(--size16);
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: center center;
  transition: transform 0.3s ease;
  margin-left: var(--size16);
}

#event-contents .modal-button-wrapper {
  max-width: 1130px;
  margin: 0 auto 90px;
}

#event-contents .modal-button-band {
  position: relative;
  background-color: #7396b4;
  color: #fff;
  font-size: var(--size24);
  text-align: center;
  cursor: pointer;
  border: none;
  list-style: none;
  margin: 0 auto;
  padding: 5px 15px;
  transition: all 0.3s ease;
}

#event-contents .modal-button-band.modal-button:hover {
  background-color: #557c99;
  text-decoration: none;
}

#event-contents .modal-button-band.modal-button::after {
  content: '';
  position: absolute;
  right: 39px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  width: 2px;
  height: 28px;
  background-color: white;
  transition: all 0.3s ease;
}

#event-contents .modal-button-band.modal-button::before {
  content: '';
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

/* ---------------------------------------------  */
/* --------------------- SP --------------------  */
/* ---------------------------------------------  */
@media screen and (max-width: 768px) {
  #event-contents .modal-close::after {
    width: 2px;
    height: 26px;
  }

  #event-contents .modal-close::before {
    width: 2px;
    height: 26px;
  }

  #event-contents .modal-container {
    padding: 50px var(--size24) var(--size24) var(--size24);
  }

  #event-contents .modal-close {
    top: -25px;
    right: -25px;
    width: 50px;
    height: 50px;
  }

  #event-contents .modal-wrapper {
    width: 100%;
    max-width: 96%;
  }

  #event-contents .modal-content-inner {
    padding: var(--size16);
  }
}

@media screen and (max-width:480px) {
  #event-contents .modal-container {
    padding: 44px 22px 22px 22px;
  }

  #event-contents .modal-close {
    top: -22px;
    right: -18px;
    width: 44px;
    height: 44px;
  }

  #event-contents .modal-content-inner {
    padding: 12px var(--size16);
  }
}

@media screen and (max-width:320px) {
  #event-contents .modal-container {
    padding: 40px 20px 20px 20px;
  }

  #event-contents .modal-close {
    top: -20px;
    right: -18px;
    width: 38px;
    height: 38px;
  }

  #event-contents .modal-content-inner {
    padding: 10px var(--size16);
  }
}

/*
***************************************************************
modal-content
***************************************************************
*/
#event-contents .modal-content {
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #fff;
  width: 100%;
  max-height: 80vh;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

#event-contents .modal-content::-webkit-scrollbar {
  display: none;
}

#event-contents .lineup-modal-content-inner {
  max-width: 960px;
}

/*
***************************************************************
lp-modal-box
***************************************************************
*/
.lp-modal-box .ttl-col2 .price .num {
  font-weight: bold;
}

.lp-modal-box,
.lp-modal-box .ttl-col2 .price .num {
  font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif !important;
}

/*
***************************************************************
見積シミュレーション
***************************************************************
*/
#event-contents .modal-content .btn-wrap {
  text-align: center;
  margin: var(--size16) auto var(--size24);
  padding: 0 var(--size16);
}

#event-contents .modal-content .btn-wrap .btn-ttl {
  font-size: var(--size16);
}

/* ---------------------------------------------  */
/* --------------------- SP --------------------  */
/* ---------------------------------------------  */
@media screen and (max-width: 768px) {
  #event-contents .modal-content .btn-wrap .btn-ttl {
    font-size: clamp(14px, 4vw, 16px);
  }
}



