/* Client-specific Styles */
html {
  scroll-behavior: smooth;
}

.hover_action{
  opacity: 1;
  transition: 0.2s;
  }
  
  .hover_action:hover{
      opacity: 0.5;
  transition: 0.2s;
  }
  

/* Force Outlook to provide a "view in browser" button. */
/* ルートの文字サイズを10pxに設定 */

body {
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif, "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "lucida grande", Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
}

.main_content {
  max-width: 750px;
  margin: auto;
  width: 100%;
  background: #fff;
}

.header_in{
  padding: 6% 0 2%;
  background-color: #ffda00;
  position: relative;
}

.header_in::before,
.header_in::after{
  content: '';
  background: url(./img/head_bg.png) no-repeat;
  background-size: cover;
  position: absolute;
  z-index: 50;
  width: 100%;
  display: block;
  height: 3%;
}
.header_in::before{
  top: 0;
}
.header_in::after{
bottom: 0;
}

/* Force Hotmail to display emails at full width */
a:link,
a:visited {
  text-decoration: none;
  color: #000;
}
.content_in{
  padding: 2%;
  background: #fff;
}
.img_outer{
  width: 30%;
}

.content_in + .content_in{
  margin-top: 6%;
}
.wd40{
  width: 65%;
}

.pd4{
  padding-top: 8% ;
  padding-bottom: 2% ;
}

.all_wrap{
  background: url(./img/bg.png) no-repeat;
  background-size: cover;
  padding: 4%;
  width: 100%;
}
.txt_box{
  background: #fff171;
  padding:2%;
  margin-top: 3%;
}

.end_limit{
  background: #000;
  display: block;
  color: #fff;
}

.section_titleimg{
  margin-top: 8%;
}

.section_titleimg:nth-of-type(1){
  margin-bottom: -0.5%;
}
.section_titleimg:nth-of-type(2){
  margin-bottom: -4%;
  }.section_titleimg:nth-of-type(3){
    margin-bottom: -5%;
    }

.countdown_ew{
  padding: 4%;
}
.count_ew{
  font-weight: bold;
}

.upgrade_inner,
.count_ew,
.footer
{
  text-align: center;
}
.footer{
  padding: 4%;

  & .copyright{
    margin-top: 6%;
  }
}

/* モーダルのスタイル */
.modal {
  display: none; /* 初期状態は非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 背景を半透明に */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* 表示状態のモーダル */
.modal.is-active {
  display: flex; /* フレックスボックスで中央揃え */
}

/* モーダルの内部コンテナ */
.modal-container {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* モーダルを閉じるボタン */
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  cursor: pointer;
  color: #333;
}

.content_title{
display: flex;
align-items: center;
color: #fff;
background: #f9503a;
width: 100%;
justify-content: center;

}
.flex{
  display: flex;
}

.title_img:before{
  content: '';
  background: url(./img/yubi.png)no-repeat;
  background-size: contain;
display: block;
width: 60px;
height: 60px;
}
.c_flex{
  display: flex;
  align-items: center;
  justify-content:space-around;
  padding: 4% 0;
}
.bg_red,
.bg_bk{
padding: 2%;
border-radius: 10px;
  width: 80%;
  color: #fff;
  text-align: center;
  margin: auto;
}
.bg_red{
  background: #f9503a;
}
.bg_bk{
  background: #000;

}
.grid_wrap{
display: flex;
flex-wrap: wrap;
  & button{width: 50%;
  
  &:nth-of-type(3){
    width: 100%;
  }
  }
}
.mt6{
  margin-top: 6%;
}

.img_mt{
width: 85%;
margin: auto;
margin-top: 3%;
}

.upgrade_txt{
  margin: auto;
  width: 96%;
  margin-top: 2%;
  text-align: left;
}
.non_style{
  display: inline;
color:royalblue;
  &:visited{
    color: royalblue;
  }
}

@media (min-width: 751px) {
  .sp {
    display: none !important;
  }
  .count_ew{
  font-size: 1.5vw;
  }
  .figure_ew{
    width: 40%;
  }
  .content_title{
    font-size: 1.5vw;
  }
  .bg_bk,
  .bg_red,
  .upgrade_txt,
  .wd40{
    font-size: 18px;
  }

}


/*スマホ*/
@media (max-width: 750px) {
  .pc {
    display: none !important;
  }
  .count_ew{
  font-size: 4vw;
  }

    .figure_ew{
      width: 50%;
    }
    .content_title{
      font-size: 4vw;
    }
    .bg_bk,
    .bg_red,
    .upgrade_txt,
    .wd40{
      font-size: 14px;
    }
}