@charset "UTF-8";
@media screen and (min-width: 2000px) {
  .main {
    background-size: contain;
  }
}
@media screen and (max-width: 920px) {
  .news .news-list {
    max-height: 220px;
}
}
@media screen and (max-width: 900px) {
  #gaiyo dd {
    width: 100%;
  }
}
@media screen and (max-width: 860px) {
  .news .news-list {
    max-height: 200px;
}
}
@media screen and (max-width: 790px) {
  .news .news-list {
      max-height: 170px;
  }
}
@media screen and (min-width: 769px) {
  .tabs-nav br.sp-only{
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .ipad-sp{
    display: none;
  }
  #story{
    background: url(../img/story_bg-ipad.jpg) top center / cover no-repeat;
  }
  .news .news-list {
    margin: 14px auto 0;
    width: 90%;
  }
  .news_day {
    width: 16%;
}
}
@media screen and (max-width: 767px) {
  a#story_paid, a#howto_paid, a#gaiyo_paid, a#attention_paid {
    display: block;
    padding-top: 0px;
    margin-top: 0px;
}
a#news, a#story_paid {
  display: inline;
  background: none;
}
body {
  line-height: 1.5;
  font-size: 16px;
}
img.title {
  width: 80%;
}
h2.title img {
  width: 60%;
  margin-bottom: 20px;
}
.main {
  margin-top: -2em;
}
.pc_only {
  display: none!important;
}
.sp_only {
  display: inline-block!important;
}
section {
  border-radius: 20px;
  margin-bottom: 40px;
}
  .inner {
    padding: 30px 0px;
}

  /*------nav------*/
  .pc_menu_wrap{
    display: none;
  }
      /*------mv------*/
  .mv {
    margin: 0 auto 30px;
}
    /*------news------*/
  #news {
    background: url(../img/overview_news-bg_sp.png) top left / 100% auto no-repeat;
    height: 350px;
    width: 100%;
    margin: 40px auto 20px;
    padding-top: 70px;
  }
  #news h2 img {
    max-width: 300px;
    width: 53%;
  }
  .news .flex {
    flex-wrap: wrap;
    width: 90%;
    margin: 20px auto 0;
  }
  .news .flex p{
    font-size: 15px;
    width:100%;
  }
  .news_txt {
    margin: 0.5em 0 0.5em 0px;
    line-height: 1.5;
}

   /*------overview------*/
   .overview {
    border-radius: 20px;
}
  .overview p.lead{
    text-align: left;
    font-size: 18px;
    padding-top: 0;
    margin-bottom: 10px;
  }
  .overview p.sanka {
    font-size: 18px;
    padding-top: 30px;
  }
    /*------point------*/
    .point .inner {
      background: url(../img/howto_bg.png) top 20px left no-repeat, url(../img/howto_bg.png) bottom 20px center no-repeat;
      background-size: 100%;
      padding-top: 50px;
      padding-bottom: 50px;
  }
    .point h3{
      margin-bottom: 10px;
    }
  .point ul li {
    width: 48%;
    margin-bottom: 15px;
}
.point p {
  text-align: left;
}
    /*------story------*/
    #story{
      background: url(../img/story_bg-sp.jpg) top center / cover no-repeat;
    }
    
  #story p {
    font-size: 16px;
  }
  #story h2 img{
    margin-bottom: 35px;
  }
  /*------howto------*/
  #howto .inner {
    background: url(../img/howto_bg.png) top 20px left no-repeat, url(../img/howto_bg.png) bottom 20px center no-repeat;
    background-size: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}
  #howto p {
     font-size: 18px;
}

#howto p.sanka br {
  display: none;
}
#howto ul.img-list li {
  width: 48%;
}
#howto .line-top {
  padding-top: 40px;
  margin-top: 40px;
}
#howto ul.img-list {
  gap: 4%;
}
  /*------gaiyo------*/
  #gaiyo .inner {
    background: url(../img/howto_bg.png) top 20px left no-repeat, url(../img/howto_bg.png) bottom 20px center no-repeat;
    background-size: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}
  #gaiyo h2.title img {
    margin-bottom: 0px;
}
  #gaiyo .need {
    border-bottom: 0px dotted #3c5068;
}
  .gaiyo .need dt {
    width: 100%;
}
  .gaiyo dl {
    display: block;
    border: none;
    gap: 10px!important;
    padding: 30px 0 0px!important;
  }
  .gaiyo dd{
    width: 100%;
    position: relative;
    font-size: 15px;
    margin-top: 0.5em;
    margin-left: 1em;
    margin-right: 1em;
  }

  #gaiyo .system {
    flex-wrap: wrap !important;
}
.gaiyo dl.system span {
  margin-right: 0px;
  text-align: center;
  display: block !important;
}
#gaiyo .system dd p {
  margin-bottom: 20px;
}
#gaiyo dl.contact a {
  display: flex;
  justify-content: center;
}
  /*------faq------*/
#faq dl img {
  width: 25px;
}
#faq dt{
  padding-bottom: 0.3em;
}
#faq dd{
  padding-top: 0.3em;
}
  /*------copy_sec------*/
.copy_sec ul li {
  font-size: 0.8em;
  line-height: 2;
}
.copy_sec ul li span{
  display: none;
}
.copy_sec ul li br{
  display: block;
}
.copy_sec img {
  max-width: 40%;
}
/*------ハンバーガーメニュー------*/

/*　ハンバーガーボタン　*/
.hamburger {
  display : block;
  position: fixed;
  right : 1%;
  top   : 4px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
  -webkit-transition: 0.5s all;
  -moz-transition   : 0.5s all;
  transition        : 0.5s all;
  background: rgb(217 81 82 / 70%);
  z-index : 101;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background : #fff;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}

/* ナビ開いてる時のボタン */
.hamburger.active{
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}
.hamburger.active span:nth-child(1) {
  top : 19px;
  left: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}
.hamburger.active span:nth-child(2) {
  top: 19px;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}
.hamburger.active span:nth-child(3) {
  opacity: 0;
}
#sp_menu{
  position: relative;
  z-index: 99999;
  overflow: hidden;
}
nav.sp_menu {
  position: fixed;
  z-index : 99;
  top  : 0;
  left : 0;
  background: #eeba00;
  text-align: center;
  transform: translateY(-100%);
  transition: all 0.6s;
  width: 100%;
  padding-bottom: 30px;
}

nav.sp_menu ul {
  margin: 0 auto;
  padding: 0;
  width: 100vw;
  transition: 0.5s ease;
}
nav.sp_menu ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  border-bottom: 1px solid #ffffff;
}
nav.sp_menu ul li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
nav.sp_menu ul li:hover{
  background :#cfb648;
  color: #000;
}

nav.sp_menu ul li a {
  display: block;
  color: #3c5068;
  padding: 1em 0;
  text-decoration :none;
}
nav.sp_menu ul .flex{
  align-items: flex-end;
  padding-top: 20px;
}
nav.sp_menu ul li img{
  width: 80%;
}

/* このクラスを、jQueryで付与・削除する */
nav.sp_menu.active {
  transform: translateY(0%);
}
}