@charset "utf-8";


/* ---------------------------
イントロ 
-------------------------------*/
section.intro{
  padding:3% 0 0;
  background: repeating-linear-gradient(-45deg, rgba(0, 85, 87, 1), rgba(0, 85, 87, 1) 40px, rgba(15, 95, 97, 1) 0, rgba(15, 95, 97, 1) 65px);
}
.intro h1{
  padding:0 4%;
}
.intro figure{
  margin-top:14%;
}

/* ---------------------------
ジョイポリスとは 
-------------------------------*/
section.about{
  padding:11% 0 40%;
  background: url(../img/top/about_bg2.png),url(../img/top/about_bg3.png),url(../img/top/about_bg1.png);
  background-repeat: no-repeat,no-repeat;
  background-size: 100%,57%,cover;
  background-position: 50% -10%,bottom left,center;
  position: relative;
}
.about .sec-inner{
  position: relative;
  z-index: 3;
}
.about .heading{
  color:#fff;
}
.about p{
  text-align: center;
  line-height: 2;
  font-weight: bold;
}
.about p:not(:last-of-type){
  margin-bottom:30px;
}
.about p .marker{
  display: inline-block;
  color: #fff;
  font-weight: bold;
  background: #000;
  padding: 0px 5px;
  margin-bottom:10px;
}
.about p small{
  font-size: 1rem;
}
.about .about-menu{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top:5%;
}
.about .about-menu li{
  width:48%;
  border: 10px solid #000;
  position: relative;
}
.about .about-menu li::after{
  content:"" ;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 32px 32px 0 0;
  border-color: #000000 transparent transparent transparent;
  position: absolute;
  top:0;
  left:0;
}
.about .about-menu li:not(:last-of-type),
.about .about-menu li:not(:nth-last-of-type(2)){
  margin-bottom:4%;
}
.about .about-menu li a{
  display: block;
  position: relative;
}
.about .about-menu li a .inner{
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  text-align: center;
  width:100%;
}
.about .about-menu li a .inner img{
  margin:0 auto 15px;
}
.about .about-menu li.item-activity a .inner img{
  width:29%;
}
.about .about-menu li.item-ticket a .inner img{
  width:25.8%;
}
.about .about-menu li.item-access a .inner img{
  width:22.5%;
}
.about .about-menu li.item-faq a .inner img{
  width:23%;
}
.about .about-menu li a .inner h3{
  color: #fff;
  font-size: 1.2rem;
}
.about .about-menu li a .inner h3 span{
  display: block;
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom:10px;
}
.about .about-menu li a .arrow{
  width:13%;
  position: absolute;
  bottom:10px;
  right:10px;
}
.about .bg-photo1{
  position: absolute;
  top:-80px;
  left:0;
  z-index: 1;
  width:280px;
}
.about .bg-photo2{
  position: absolute;
  bottom:0;
  right:0;
  z-index: 1;
  width:100%;
}
@media screen and (max-width: 768px) {
  section.about{
    background-position: 50% 0,bottom left,center;
  }
  .about .about-menu li{
    border-width:5px ;
  }
  .about .about-menu li::after{
    border-width: 22px 22px 0 0;
  }
  .about .bg-photo1{
    top:-30px;
    width:36%;
  }
}
@media screen and (max-width: 600px) {
  .about .about-menu li a .inner h3{
    font-size: 1rem;
  }
  .about .about-menu li a .inner h3 span{
    font-size: 1.8rem;
  }
}


table {
  border-collapse: separate;
  border-spacing: 20px;
}



/* ---------------------------
ニュース
-------------------------------*/
section.news{
  background: url(../img/top/news_bg1.jpg) no-repeat;
  background-size: 100%;
  background-position: top;
  background-color: #005557;
  padding:22% 0 44%;
  position: relative;
}
.news .sec-inner{
  position: relative;
  z-index: 3;
}
.news .heading{
  color: #fff;
}
.news .news-list dl{
  background: #006467;
  border-top:1px solid #fff;
  line-height: 1.7;
  padding: 20px 3%;
}
.news .news-list dl:last-of-type{
  border-bottom:1px solid #fff;
}
.news .news-list dl dt{
  color: #fff;
  opacity: 0.2;
}
.news .news-list dl dd a{
  color: #fff;
}
.news .news-list dl dd a:hover{
  text-decoration: underline;
  opacity: 0.5;
}
.news  .bg-photo{
  position: absolute;
  bottom:-1px;
  z-index: 1;
}
/* ---------------------------
アクセス
-------------------------------*/
section.access{
  background: #fff;
  padding: 13% 0 20%;
}
.access .table{
  width:100%;
}
.access .table tr th,
.access .table tr td{
  display: block;
  width:100%;
  padding:4%;
  line-height: 1.7;
}
.access .table tr td span.caution{
  position: relative;
  padding-left:1.5em;
  display: block;
  font-size: 1.2rem;
}
.access .table tr td span.caution::before{
  content: "※";
  position: absolute;
  top:0;
  bottom:0;
  margin:auto;
  left:0;
}
.access .table.normal tr th{
  color: #fff;
  font-size: 2.4rem;
  font-weight: bold;
  background: #006467;
  text-align: center;
}

.access .table.detail{
  margin-top:6%;
}
.access .table.detail tr th{
  color: #006467;
  font-size: 2.4rem;
  font-weight: bold;
  background:#d9e7e8;
  display: flex;
  justify-content: center;
  align-items: center;
}
.access .table.detail tr th img{
  display: inline-block;
  margin-right:10px;
}
.access .table.detail tr.train th img{
  width:27px;
}
.access .table.detail tr.car th img{
  width: 37px;
}
.access .table.detail tr.free-bus th img{
  width:37px;
}
.access .table.detail tr td .bus{
  margin-top:25px;
}
.access .table.detail tr td .bus dt{
  font-weight: bold;
  position: relative;
  padding-left:1.5em;
  margin-bottom:15px;
}
.access .table.detail tr td .bus dt::before{
  content: "";
  width: 12px;
  height: 12px;
  background-color: #008b92;
  border-radius: 100%;
  position: absolute;
  top:0;
  bottom:0;
  left:0;
  margin:auto;
}
.access .map{
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%;
  margin-top: 6%;
}
.access .map iframe{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
@media screen and (max-width:600px) {
  .access .table.normal tr th,
  .access .table.detail tr th{
    font-size: 1.6rem;
  }
  .access .table.detail tr.train th img{
    width:20px;
  }
  .access .table.detail tr.car th img{
    width: 30px;
  }
  .access .table.detail tr.free-bus th img{
    width:30px;
  }
}

/* ---------------------------
動画
-------------------------------*/
.video {
position: relative;
padding-top: 56.25%;
}
.video iframe {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
}


.video2 {
width: 100%;
aspect-ratio: 16/9;
}

.video2 iframe {
width: 100%;
height: 100%;
}