/* =================================================================
   Slider
   ================================================================= */

#top #slideBox {
   margin-bottom: 13%;
}

/* slick */
#top .slick-slider {
   width: 100%;
   max-width: 1024px;
   margin-bottom: 50px;
}

.slick-dots{text-align: center;}
.slick-dots li{display: inline-block;margin: 0 2px;}


/* 効果をかけるためのスタイル設定 */
#slick-main .slick-slide{
    /* slickによってelement.styleで付けられるopacityを無効化 */
    opacity: 1 !important;
}
#slick-main .slideobject{
    /* フェード要素の初期設定 */
    opacity: 0;
    transition: 0s;
}
#slick-main .slick-active .slideobject{
    /* slick-active(効果開始)の際のフェード設定 */
    /* [重要]slick側の設定と同じdurationを取る */
    opacity: 1;
    transition: ease 5.0s;
}
#slick-main .slick-continue .slideobject{
    /* エフェクトの継続用に付与したslick-continueのフェード設定 */
    /* [重要]slick側の設定と同じdurationを取る */
    opacity: 0;
    transition: ease 5.0s;
}

/* 画像 */
#slick-main figure.image.pic1{
    background-image: url(../images/top/img6.jpg);
}
#slick-main figure.image.pic2{
    background-image: url(../images/top/img2b.jpg);
}
#slick-main figure.image.pic3{
    background-image: url(../images/top/img7.jpg);
}
#slick-main figure.image.pic4{
    background-image: url(../images/top/img9.jpg);
}

#slick-main figure.image.pic5{
    background-image: url(../images/top/img11.jpg);
}

#slick-main figure.image.pic6{
    background-image: url(../images/top/img5.jpg);
}

#slick-main figure.image.pic7{
    background-image: url(../images/top/10272.jpg);
Z}


#slick-main figure.image{
    /* 画像 ズーム要素の初期設定 */
    transform: scale(1.0, 1.0);
    transition: 0s;
}
#slick-main .slick-active figure.image{
    /* 画像　slick-active(効果開始) */
    /* ズームをかける要素には必ずフェードに対して大きめのtransition-durationを取る */
    transform: scale(1.2, 1.2);
    transition: ease 20.0s; 
}
#slick-main .slick-continue figure.image{
    /* 画像　slick-continue */
    /* ズームをかける要素には必ずフェードに対して大きめのtransition-durationを取る */
    transform: scale(1.4, 1.4);
    transition: ease 10.0s;
}
#slick-main p.text{
    /* テキスト 初期設定 */
    opacity: 0;
    transition: 0s;
}
#slick-main .slick-active p.text{
    /* テキスト　slick-active(効果開始) この辺は自由にduration */
    opacity: 1;
    transition: ease 1.0s; 
    transition-delay: 1.0s;
}
#slick-main .slick-continue p.text{
    /* テキスト　slick-continue この辺は自由にduration */
    opacity: 0;
    transition: ease 1.0s; 
}

/* スライド周りの基本スタイル */
.slideobject{
    padding-top: 50%;
    position: relative;
    z-index: 10;
    overflow: hidden;
    vertical-align: bottom;
}
/*.slideobject figure.image{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}*/
.slideobject figure.image{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
/*.slideobject p.text{
    font-size: 20px;
    line-height: 1.5em;
    width: 10.0em;
    height: 3.0em;
    margin: auto;
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
}*/

/* ボタンの仕様 */
.slick-dots
{
    position: absolute;
    bottom: -25px;

    display: block;

    width: 100%;
    padding: 0;
    margin: 0;

    list-style: none;

    text-align: center;
}
.slick-dots li
{
    position: relative;

    display: inline-block;

    width: 50px;
    height: 5px;
    margin: 0 3px;
    padding: 0;

    cursor: pointer;
}
.slick-dots li button
{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 50px;
    height: 5px;
    padding: 5px;

    cursor: pointer;

    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus
{
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before
{
    opacity: 1;
}
.slick-dots li button:before
{
    font-family: 'slick';
    font-size: 5px;
    line-height: 5px;

    position: absolute;
    top: 0;
    left: 0;

    width: 50px;
    height: 5px;

    content: '';
    text-align: center;

    color: #ffd70b;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    background:#ffd70b;
}
.slick-dots li.slick-active button:before
{
    color: #1f96ff;
    background: #1f96ff;
}



@media screen and (min-width: 769px) {

#top #slideBox {
   background:#e8f0fa;
   margin-bottom: 5%;
}

#top .slick-slider {
   margin: 100px auto 0;
}

.slick-dots {
    text-align: right;
    bottom: -20px;
}

.slick-dots li, .slick-dots li button, .slick-dots li button:before {
    width: 80px;
}

}





/* =================================================================
   news
   ================================================================= */

.news {
    background:/*#e8f0fa*/#f7fac8;
    margin: 0 auto 8%;
    padding: 2% 5% 4%;
}

.newstit {
	color: #0b99ff;
	border-bottom: 2px solid #fff;
	margin-bottom: 10px;
	padding: 0 0 0 25px;
	font-size: 1.5rem;
	/* font-weight: bold;*/
	position: relative;
	line-height: 2.5;
}

.newstit:before {
    content: " ";
    background: url(../images/top/news_icon.png) no-repeat 0 50%;
    background-size: 100% auto;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.news dl {
    display: flex;
    padding: 0 0 5%;
}

.news dl:last-child {
    padding: 0;
}

.news dl dt {
    color: #ff9900;
    width: 30%;
    font-size: 1.5rem;
}

.news dl dd {
    color: #38342d;
    width: 70%;
    font-size: 1.5rem;
}



@media screen and (min-width: 769px) {

.news {
    margin: 5% auto 5%;
    padding: .5% 2% 1%;
}

.newstit {
    margin-bottom: 10px;
}

.news dl {
    padding: 0 0 1%;
}

.news dl dt {
    width: 10%;
}

.news dl dd {
    width: 90%;
}

}





/* =================================================================
   linkBox
   ================================================================= */


/* ------リンクbox修正------200720-望月 */


.linkBox {
    margin: 0 auto 10%;
}

.linkBox h2 {
    font-size: 2rem;
    border-bottom: 1px solid #d9ff00;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.linkBox ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 8%;
}

.linkBox ul li {
    width: 49%;
    margin-bottom: 2%;
    border-radius: 3%;
    border: 2px solid #1f96ff;
}

.linkBox ul li:nth-child(even) {
    margin-right: 0;
}

.linkBox ul li.link1 {
    background: url(../images/top/link1.jpg) top center no-repeat;
    background-size: 100% auto;
}

.linkBox ul li.link2 {
    background: url(../images/top/link2.jpg) top center no-repeat;
    background-size: 100% auto;
}

.linkBox ul li.link3 {
    background: url(../images/top/link3.jpg) top center no-repeat;
    background-size: 100% auto;
}

.linkBox ul li.link4 {
    background: url(../images/top/link4.jpg) top center no-repeat;
    background-size: 100% auto;
}

.linkBox ul li a {
    width: 100%;
    height: 100%;
    padding-top: 58%;
}

.linkInner h3.linkTit {
    font-size: 2.2rem;
    text-align: center;
    color: #09f;
    font-weight: bold;
    line-height: 1.2;
    transition: .1s ease-in-out;
}

.linkInner li p {
    font-size: 1.3rem;
    text-align: center;
    padding: 5px 5px 0px;
}



/* ------リンクボックスPC用------200720-望月 */
@media screen and (min-width: 769px) {

.linkBox {
    margin: 0 auto 5%;
}

.linkBox ul {
    margin-top: 6%;
}


/* ------リンクboxを2つに（49）修正------200720-望月 */
.linkBox ul li {
    width: 49%;
    margin: 0;
    transition: .1s ease-in-out;
}



.linkBox ul li:hover {
    border: 2px solid #ffd70b;
    transform: scale(1.05);
}

.linkBox ul li:hover h3.linkTit {
    color: #ffd70b;
}

}





/* =================================================================
   bnrBox
   ================================================================= */

.bnrBox {
    padding: 0 0 2.5%;
    background:#e8f0fa;
}

.bnrBox ul li {
    padding: 2.5% 2.5% 0;
}



@media screen and (min-width: 769px) {

.bnrBox {
    padding: 45px 0;
}

.bnrBox ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 95%;
    margin: 0 auto;
    max-width: 1024px;
}

.bnrBox ul li {
    width: 24%;
    padding: 0;
}

.bnrBox ul li a:hover {
    box-shadow: 0 5px 5px #c3d9f5;
    transform:translate(0,-5px);
}

}





/* =================================================================
   common
   ================================================================= */

p { margin-bottom: 3rem;}

p.mb0 { margin-bottom: 0; }

h1 {
	font-size: 2rem;
    background: #fce2c1;
    padding: 6.5%;
    text-align: center;
    margin-bottom: 10%;
}

h2 {
	font-size: 2rem;
    line-height: 1.2;
	padding: 0 0 10px 12px;
	border-bottom: 1px solid #ffd70b;
	margin-bottom: 10px;
	position: relative;
}

h2:before {
	content: "";
    display: block;
    width: 5px;
    height: 70%;
    position: absolute;
    left: 1px;
    top: 0;
    background: #009fe8;
}

h3.sub {
    font-size: 1.8rem;
    line-height: 1.8;
    padding: 0 0 10px 12px;
    position: relative;
}

h3.sub:before {
    content: "";
    display: block;
    width: 5px;
    height: auto;
    position: absolute;
    left: 1px;
    top: .5rem;
    bottom: 1.5rem;
    background: #f7b52c;
}



@media screen and (min-width: 769px) {

/* navi該当ページ色付け */

#access #top-head #global-nav ul li.access,
#highway #top-head #global-nav ul li.highway {
    background:#e8f0fa;
    border-bottom: 5px solid #ffd70b;
}

#access #top-head #global-nav ul li.access:hover:after,
#highway #top-head #global-nav ul li.highway:hover:after {
    z-index: -1;
}



p { font-size: 1.8rem;}

h1 {
    font-size: 2.7rem;
    padding: 2%;
    text-align: center;
    margin-bottom: 5%;
}

h2 {
    font-size: 2.4rem;
    margin-bottom: 25px;
}

}







/* =================================================================
   アクセス・ターミナル案内
   ================================================================= */

.accessBox {
    margin-bottom: 10%;
}

.accessBox p {
    margin-bottom: 1rem;
}

.staBox1 {
    margin-bottom: 5%;
    position: relative;
}

.staBox1 .map1_inner {
    position: absolute;
    width: 69%;
    top: 2.5%;
    left: 2%;
    opacity:0;
}

.staBox1.in .map1_inner {
    opacity:1;
    animation: pulse .5s both;
    -ms-animation: pulse .5s both;
    -webkit-animation: pulse .5s both;
    animation-delay: 1.5s;
}
@keyframes pulse {
0% {
    opacity:0;
    transform: scale3d(1, 1, 1);
    }
50%{
    opacity:1;
    transform: scale3d(1.1, 1.1, 1.1);
    }
100% {
    opacity:1;
    transform: scale3d(1, 1, 1);
    }
}

.staBox2 p {
    margin-bottom: 10%;
}

.accessBox .map iframe {
    width: 100%;
}

.accessBox ul.time {
    display: flex;
    flex-wrap: wrap;
    margin: 5% 0 10%;
}

.accessBox ul.time li {
    width: 49%;
    margin: 0 2% 2% 0;
    opacity: 0;
}

.accessBox ul.time li:nth-child(even) {
    margin-right: 0;
}

.accessBox ul.time li.slideup {
    animation:slideup 1s ease forwards;
    -webkit-animation:slideup 1s ease forwards;
}

.accessBox ul.time li:nth-child(2).slideup {
    animation-delay: .2s;
}

.accessBox ul.time li:nth-child(3).slideup {
    animation-delay: .4s;
}

.accessBox ul.time li:nth-child(4).slideup {
    animation-delay: .6s;
}
@keyframes slideup {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.routemap {
    opacity: 0;
}

.pon3 {
    opacity:1;
    animation: pon3 .5s both;
    -ms-animation: pon3 .5s both;
    -webkit-animation: pon3 .5s both;
    animation-delay: 1.2s;
}
@keyframes pon3 {
0% {
    opacity:0;
    transform: scale3d(1, 1, 1);
    }
50%{
    opacity:1;
    transform: scale3d(1.1, 1.1, 1.1);
    }
100% {
    opacity:1;
    transform: scale3d(1, 1, 1);
    }
}

.accessBox ul.note {
    margin: 8% 0;
}

.accessBox ul.note li {
    font-size: 1rem;
    line-height: 2;
}

.accessBox ul.note li:before {
    content: '※';
}

.accessBox ul.season li {
    width: 49%;
    margin: 0 2% 2% 0;
    float: left;
}

.accessBox ul.season li:nth-child(even) {
    margin-right: 0;
}

#facility {
    padding-top: 80px;
    margin-top: -74px;
}



@media screen and (min-width: 769px) {

.accessBox {
    margin-bottom: 15%;
}

.accessBox p {
    margin-bottom: 5%;
}

.staBox1 {
    float: left;
    width: 50%;
    margin-right: 5%;
}

.staBox2 {
    float: right;
    width: 45%;
}

.staBox2 p {
    margin-bottom: 10%;
}

.accessBox .map2 {
    width: 57%;
    margin: 0 auto;
}

.accessBox .map3 {
    width: 78%;
    margin: 0 auto;
}

.accessBox ul.time {
    margin: 0 0 5%;
    justify-content: space-between;
}

.accessBox ul.time li {
    width: 24%;
    margin: 0;
}

.imgBox1 {
    float: left;
    width: 72%;
}

.imgBox2 {
    float: right;
    width: 24%;
}

.accessBox ul.season li {
    width: 100%;
    margin: 0 0 2% 0;
    float: none;
}

.accessBox ul.note li {
    font-size: 1.6rem;
    line-height: 1.8;
}

#facility {
    padding-top: 200px;
    margin-top: -185px;
}

}
