@charset "utf-8";

/*---------------------------------------------*/
/* modal【キャンペーン概要】 */
/*---------------------------------------------*/

/* モーダル内フォントサイズ */
#modal-wrap .modal-box p{
  font-size: 16px;
  line-height: 1.5;
  margin-top: 0; /* リセットCSSをかけてないページ対応のための記述 */
  margin-bottom: 0; /* リセットCSSをかけてないページ対応のための記述 */

}
#modal-wrap .modal-box .modal-table th {
  font-size: 16px;
}

#modal-wrap .modal-box .modal-note-list {
  font-size: 12px;
}

@media (max-width: 768px) {
  #modal-wrap .modal-box p{
    font-size: 14px;
  }
  #modal-wrap .modal-box .modal-table th {
    font-size: 14px;
  }
  #modal-wrap .modal-box .modal-note-list {
    font-size: 12px;
  }
}

/* ↑↑↑ end モーダル内フォントサイズ */

#modal-wrap .u-text-red {
  color: #d80c18;
}
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}
@media (min-width: 769px) {
  .sp-only {
    display: none !important;
  }
}


#modal-wrap button.modalOpen {
  font-family: "Noto sans JP", sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: var(--bg-color);
  margin: 0 auto;
}

#modal-wrap .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

#modal-wrap .modal-box {
  background-color: #fff;
  margin: 16vh auto;
  width: 1000px;
  height: 70vh;
  overflow-y: scroll;
  padding: 50px 0;
  box-sizing: border-box;
  animation-name: modalopen;
  animation-duration: 0.5s;
  position: relative;
}
#modal-wrap .modal-box .inner a {
  display: inline;
}

@keyframes modalopen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#modal-wrap .modalClose {
  position: fixed;
  top: calc(10vh + 20px);
  right: calc(50% - 450px);
  width: 70px;
  height: 70px;
  border-radius: 35px;
  color: #eb5605;
  background-color: white;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.1));
  border: 0;
  font-size: 50px;
  font-weight: 100;
  font-family: "Open sans", sans-serif;
  cursor: pointer;
  font-size: 0;/* 既存のボタンにテキストがある場合は隠す */
}

/* 疑似要素で「×」を線で描く */
#modal-wrap .modalClose::before,
#modal-wrap .modalClose::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;            
  height: 2px;            
  background-color: #eb5605;
  border-radius: 1px;
  transform-origin: center;
  pointer-events: none;
}
#modal-wrap .modalClose::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
#modal-wrap .modalClose::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
#modal-wrap .modalClose:hover {
  opacity: 0.7;
}


#modal-wrap .modal-box .inner {
  width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#modal-wrap .modal-box .inner h3 {
  font-size: 30px;
  line-height: 1.4;
  margin-bottom: 40px;
  text-align: center;
}

#modal-wrap .modal-box .inner h3 span {
  display: block;
  font-size: 20px;
  color: var(--red-color);
}

#modal-wrap .modal-box .inner table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

#modal-wrap .modal-box .inner table th {
  width: 200px;
  text-align: left;
  background-color: #eee;
  border: 1px solid #ccc;
  vertical-align: top;
  box-sizing: border-box;
  padding: 20px;
}
#modal-wrap .modal-box .inner table td {
  width: 700px;
  text-align: left;
  background-color: #fff;
  border: 1px solid #ccc;
  box-sizing: border-box;
  padding: 20px;
  display: table-cell;
  vertical-align: middle;
}
#modal-wrap .modal-note-list {
    margin-left: 30px;
	}
#modal-wrap .modal-note-list li {
    position: relative;
    padding-bottom: 10px;
}
#modal-wrap .modal-note-list li::before{
  content: "※";
  width: 28px;
  height: 28px;
  position: absolute;
  left: -30px;
}
#modal-wrap .campaign-tokuten img{
  max-width: 866px;
  margin: 0 auto;
  padding: 20px;
}
#modal-wrap p.modal-red-midashi {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    background: #c1111a;
    color: #fff;
    padding: 10px 0;
}
#modal-wrap p.modal-gray-midashi {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    background: #7e7e7e;
    color: #fff;
    padding: 10px 0;
}
.sc
.scroll-wrapper {
  position: relative;
  overflow-x: auto;
}
#modal-wrap .campaign-table01{
  max-width: 622px;
}
#modal-wrap .campaign-table02{
  max-width: 596px;
}
#modal-wrap .campaign-table03{
  max-width: 749px;
}
#modal-wrap .scroll-inner {
  min-width: 500px;
}
#modal-wrap img.scroll-inner {
  height: auto;
  width: 100%;
  max-width: 100%;
}
#modal-wrap .scroll-hint {
  display: none;
}
  #modal-wrap .scrolled .scroll-overlay,
  #modal-wrap .scrolled .scroll-hint {
    opacity: 0;
  }

  @keyframes hintMove {
  0% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(-10px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.6; }
}

#modal-wrap .scroll-hint {
  animation: hintMove 2s infinite ease-in-out;
}

#modal-wrap .scrolled .scroll-hint {
  opacity: 0;
  pointer-events: none;
  animation: none;
}

/*　for SP　*/
@media screen and (max-width: 768px) {
  #modal-wrap button.modalOpen {
    font-size: calc(14 * (100vw / 375));
    gap: calc(10 * (100vw / 375));
  }
  
  #modal-wrap .modal-note-list {
    margin-left: 22px;
	}
  #modal-wrap .modal-note-list li::before{
    left: -22px;
  }

  #modal-wrap .modal-box {
    margin: 15vh auto;
    width: calc(355 * (100vw / 375));
    height: 88vh;
    padding: calc(30 * (100vw / 375)) 0;
  }

  #modal-wrap .modalClose {
    /* top: calc(6vh - calc(20 * (100vw / 375))); */
    right: calc(50% - calc(150 * (100vw / 375)));
    top: calc(15vh - calc(20 * (100vw / 375)));
    /* width: calc(40 * (100vw / 375));
    height: calc(40 * (100vw / 375)); */
    width: 50px;
    height: 50px;
    border-radius: calc(20 * (100vw / 375));
  }
  #modal-wrap .modalClose::before,
  #modal-wrap .modalClose::after {
    width: 20px;            
  }

  #modal-wrap .modal-box .inner {
    width: calc(330 * (100vw / 375));
    margin: 0 auto;
  }

  #modal-wrap .modal-box .inner h3 {
    font-size: calc(16 * (100vw / 375));
    text-align: left;
    margin-bottom: calc(20 * (100vw / 375));
  }

  #modal-wrap .modal-box .inner h3 span {
    font-size: calc(13 * (100vw / 375));
  }

  #modal-wrap .modal-box .inner table {
    font-size: calc(14 * (100vw / 375));
    line-height: 1.6;
  }

  #modal-wrap .modal-box .inner table th {
    display: block;
    width: 100%;
    border-top: 3px solid #ccc;
    border-bottom: none;
    padding: calc(10 * (100vw / 375));
  }

  #modal-wrap .modal-box .inner table td {
    display: block;
    width: 100%;
    border-bottom: none;
    padding: calc(14 * (100vw / 375));
  }

  #modal-wrap .modal-box .inner table td:last-child {
    border-bottom: 1px solid #ccc;
  }
  #modal-wrap .campaign-tokuten img{
    padding: 3vw 0vw;
  }
 #modal-wrap p.modal-red-midashi {
    font-size: 18px;
    padding: 5px 0px;
  }
 #modal-wrap p.modal-gray-midashi {
    font-size: 18px;
    padding: 5px 0px;
  }
  #modal-wrap .scroll-wrapper {
    max-width: 80vw;
  }
	#modal-wrap .scroll-hint {
	  display: block;
	  position: absolute;
	  top: 38px;
	  left: 113px;
	  width: 70px;
	  transition: opacity 0.3s ease;
	}
}

/*　for 中間サイズ　*/
@media screen and (min-width: 769px) and (max-width: 1100px) {
  #modal-wrap .modal-box{
    width: 95%;
    max-width: 1000px;
    padding: 50px;
  }
  #modal-wrap .modal-box .inner {
    width: 100%;
  }
  #modal-wrap .modalClose {
    width: 55px;
    height: 55px;
    /* font-size: 35px; */
    right: calc(50% - 400px);
  }
}
@media screen and (min-width: 769px) and (max-width: 850px) {
  #modal-wrap .modalClose {
    right: calc(50% - 360px);
  }
}

/* モーダル内ポップタイトル */
#modal-wrap .modal-box .modal-heading--pop {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: #e60000;
  }
  #modal-wrap .modal-box .modal-heading--pop span::before { 
    transform: rotate(-24deg); 
    left: -8px;
  } 
  #modal-wrap .modal-box .modal-heading--pop span::after { 
    transform: rotate(24deg); 
    right: -8px;
  } 
  #modal-wrap .modal-box .modal-heading--pop span {
    display: inline-flex;
    justify-content: center;
    align-items: center; /* 縦中央揃え /
    gap: 0.6em; / 文字との間隔（古い環境は後述のmarginで代替） */
    line-height: 1.2;
  }

  #modal-wrap .modal-box .modal-heading--pop span::before,
  #modal-wrap .modal-box .modal-heading--pop span::after {
    content: "";
    display: block; /* フレックスアイテム化  */
    width: 2px;
    height: 1.8em; 
    background: #e60000;
    transform-origin: center;
    position: relative;
  }
@media screen and (min-width: 769px) {
  #modal-wrap .modal-box .modal-heading--pop {
      font-size: 18px;
    }
  #modal-wrap .modal-box .modal-heading--pop span::before { 
    left: -14px;
  } 
  #modal-wrap .modal-box .modal-heading--pop span::after { 
    right: -14px;
  }
}
@media screen and (max-width: 768px) {
  #modal-wrap .modal-box .modal-heading--pop {
    font-size: 14px;
    font-size: 14px;
  }
  #modal-wrap .modal-box .modal-heading--pop span{
    width: 90%;
  }

}


/* モーダル内CTAボタン */
#modal-wrap .modal-cta-btn {
  display: flex;
  justify-content: center;
  margin-top: -10px;
}
#modal-wrap .modal-cta-btn a {
  box-sizing: border-box;
  background-color: #e60000;
  display: block;
  padding: 10px 20px;
  max-width: 600px;
  color: #fff !important;
  text-decoration: none;
  font-size: 24px;
  border-radius: 20px;
  text-align: center;
  position: relative;  
  min-width: 400px;
  transition: all 0.3s;
}
#modal-wrap .modal-cta-btn a span{
  color: yellow;
  font-weight: bold;
}
#modal-wrap .modal-cta-btn a::after {/* くの字（＞）の矢印 */
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
}
@media (max-width: 768px) {
  #modal-wrap .modal-cta-btn a {
    color: #fff;
    font-size: 20px;
    /* padding-right: 40px;  */
    min-width: 300px;
  }
  #modal-wrap .modal-cta-btn a::after {
    right: 20px;
    width: 10px;
    height: 10px;
  }
}
@media (min-width: 769px) {
  #modal-wrap .modal-cta-btn a:hover{
    opacity: 0.8;
  }
}

/* その他微調整 */
#modal-wrap .mgt-1em {
  margin-top: 1em !important;
}
#modal-wrap .mgt-2em {
  margin-top: 2em !important;
}
#modal-wrap .mgt-0 {
  margin-top: 0 !important;
}
#modal-wrap .mgb-0 {
  margin-bottom: 0 !important;
}
#modal-wrap .border-dotted {
  border-top: 1px dotted #333;
}
