.activities .col-wrap{
clear: both;
zoom:1;}
.activities .col-wrap:after{content:""; display:block;clear:both;}

.activities .col2,.activities .col3,.activities .col4{
margin-top: 0;
}

#map_canvas{
width: 100%;
}
.release_date{
padding: 1em;
color: #000;
background-color: rgba(0,0,0,.1);
border-radius: 3px;
}

html,body{
margin: 0;
padding: 0;
background-color: #fff;
overflow-x: hidden;
}

.box-img{
margin-bottom: 1em;
position: relative;
}
.box-img:before{
content: "";
display: block;
border-top: 4px solid rgba(0,0,0,.2);
border-left: 4px solid  rgba(0,0,0,.2);
position: absolute;
top: -8px;
left: -8px;
width: 20px;
height: 20px;
}
.box-img:after{
content: "";
display: block;
border-bottom: 4px solid rgba(0,0,0,.2);
border-right: 4px solid rgba(0,0,0,.2);
position: absolute;
bottom: -8px;
right: -8px;
width: 20px;
height: 20px;
}


.box-txt i{
margin-right: .5em;
color: rgba(0,0,0,.5);
}


/*************************
パララックス ヘッダー
*************************/
.hero-wrapper {
  position: relative; /* Important: wrapper position must set to relative as child absolute positioned */
  overflow: hidden; /* Important: To hide overflow content when scrolling */
  height: 70vh; /* Set desire height of your hero */
}
.hero {
  /* Background image init */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Below attribute is neccessary */
  position: absolute;
  top: 0;
  left: 0;
  height: 100%; /* Height is 100% based on parent height */
  width: 100%; /* To ensure it fill width */
}
section {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}



/*************************
パララックス　全体
*************************/
.activities-okayama div.parallax,.activities-ehime div.parallax,.activities-kagawa div.parallax,.activities div.parallax {
height:650px;
background-position: 50% 50%;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
position: relative;
overflow: hidden;
}
.content{
padding:2em 0 10em;
}
.box{
max-width: 960px;
margin: 0 auto;
padding: 0;
}
.box h2{
line-height: 600px;
font-size: 48px;
color: #fff;
text-align: center;
font-weight: bold;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
position: relative;
}
.box h2 span{
display: block;
font-size: 1.5rem;
position: absolute;
top: 3em;
left: 0;
right: 0;
}
@media screen and (max-width: 414px) {
.activities-okayama-en .kbhq{
font-size: 1rem;}
}


.activities-okayama .parallax_img_1{background-image:url(images/okayama/bg_matsuyama_castle.jpg);}
.activities-okayama .parallax_img_2{background-image:url(images/okayama/bg_kokubunji.jpg);}
.activities-okayama .parallax_img_3{background-image:url(images/okayama/bg_bikan.jpg);}
.activities-okayama .parallax_img_4{background-image:url(images/okayama/bg_washuzan.jpg);}
.activities-okayama .color0{color: #fff;background-color: #2196f3;}
.activities-okayama .color1{color: #fff;background-color: #212121;}
.activities-okayama .color2{color: #fff;background-color: #4caf50;}
.activities-okayama .color3{color: #fff;background-color: #e91e63;}
.activities-okayama .color4{color: #fff;background-color: #3f51b5;}

.activities-ehime .parallax_img_1{background:url(images/ehime/bg_matsuyama-castle.jpg);	}
.activities-ehime .parallax_img_2{background:url(images/ehime/bg_dogoonsen-hotspring.jpg);}
.activities-ehime .parallax_img_3{background:url(images/ehime/bg_kirosan-park.jpg);}
.activities-ehime .parallax_img_4{background:url(images/ehime/bg_kosanji-temple.jpg);}
.activities-ehime .color0{color: #fff;background-color: #2196f3;}
.activities-ehime .color1{color: #fff;background-color: #212121;}
.activities-ehime .color2{color: #fff;background-color: #4caf50;}
.activities-ehime .color3{color: #fff;background-color: #e91e63;}
.activities-ehime .color4{color: #fff;background-color: #3f51b5;}

.activities-kagawa .parallax_img_1{background:url(images/kagawa/bg_ritsurin-garden.jpg);}
.activities-kagawa .parallax_img_2{background:url(images/kagawa/bg_udon.jpg);}
.activities-kagawa .parallax_img_3{background:url(images/kagawa/bg_kotohira-gu-shrine.jpg);}
.activities-kagawa .parallax_img_4{background:url(images/kagawa/bg_nakano-udonschool.jpg);}
.activities-kagawa .color0{color: #fff;background-color: #2196f3;}
.activities-kagawa .color1{color: #fff;background-color: #212121;}
.activities-kagawa .color2{color: #fff;background-color: #4caf50;}
.activities-kagawa .color3{color: #fff;background-color: #e91e63;}
.activities-kagawa .color4{color: #fff;background-color: #3f51b5;}

.content a{
color: #fff;
}
.content #map_canvas {
color: #000;
}
.content #map_canvas a{
color: #000;
}


/*************************
メディアクエリ
*************************/
@media screen and (max-width: 960px){
.box{width:auto;}
}


/*岡山のおすすめ観光スポット*/

.activities .no-bg{
background-color: transparent;
box-shadow: none;
}
.activities .activities-info{
margin: 0;
padding: 1em;
list-style: none;
background-color: rgba(255,255,255,.1);
border-radius: 3px;
}

.activities .activities-info li{
position: relative;
padding-left: 1.5em;
letter-spacing: .1em;
}
.activities .activities-info li:before {
color: rgba(0,0,0,.5);
position: absolute;
left: 0;
font-family: FontAwesome;
}
.activities .activities-info li:nth-of-type(1):before {
content: " \f041";
}
.activities .activities-info li:nth-of-type(2):before {
content: " \f124";
}
.activities .activities-info li:nth-of-type(3):before {
content: " \f05a";
}
.activities .activities-info li:nth-of-type(4):before {
content: " \f017";
}
.activities #matsuyama_castle .activities-info li:before {
color: rgba(0,0,0,1);
text-shadow: 0px 1px 1px rgba(255,255,255,0.1);
}



#CrossFade {
background: #fff;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end;
height: 100vh;
overflow: hidden;
position: relative;
height: 100%;
}
#CrossFade img {
  position: absolute;
  width: 100%;
  min-height: auto;
  height: auto;
  background: #000;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  opacity: 0;
  -webkit-transform: scale(1.4) rotate(12deg);
          transform: scale(1.4) rotate(12deg);
  -webkit-animation: CrossFade 18s infinite;
          animation: CrossFade 18s infinite;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
}
#CrossFade img:nth-child(3) {
  -webkit-animation-delay: 0;
          animation-delay: 0;
}
#CrossFade img:nth-child(2) {
  -webkit-animation-delay: 6s;
          animation-delay: 6s;
}
#CrossFade img:nth-child(1) {
  -webkit-animation-delay: 12s;
          animation-delay: 12s;
}

@-webkit-keyframes CrossFade {
  25% {
    opacity: 1;
    -webkit-transform: scale(1) rotate(0);
            transform: scale(1) rotate(0);
  }
  40% {
    opacity: 0;
  }
}
@keyframes CrossFade {
  25% {
    opacity: 1;
    -webkit-transform: scale(1) rotate(0);
            transform: scale(1) rotate(0);
  }
  40% {
    opacity: 0;
  }
}

.intro{
position: relative;
margin: 0;
padding: 0;
height: 70vh;
overflow: hidden;
}
.intro h1{
margin: 0;
padding: 0;
}
.intro h1 img{
position: absolute;
left: 10%;
top: 10%;
}

img.staff{
margin: 0 auto 2em;
display: block;
border-radius: 50%;
padding: 5px;
background-color: #fff;
max-width: 120px;
}

#pre-footer{
position: relative;
}


.voxy-img{
margin: 0 auto;
padding-top: 2em;
}
.link-reserve-section h3{
margin: 0 auto 1em;
font-size: 3.6rem;
color: #dc0000;
}
.center{
display: block;
margin: 0 auto;
}
.center-text{
text-align: center;
}
.link-shop{
margin: 0 0 2em;
padding: 0;
}
.link-shop{zoom:1;}
.link-shop:after{content:""; display:block;clear:both;}
.link-shop li{
float: left;
list-style: none;
padding: 0;
width: calc(50% - 1em);
text-align: center;
}
.link-shop li:nth-child(odd){
margin: 0 1em 2em 0;
}
.link-shop li:nth-child(even){
margin: 0 0 2em 1em;
}

.link-shop li a{
display: block;
margin: 0 auto;
padding: .5em 0;
font-size: 2.4rem;
text-align: center;
text-decoration: none;
color: #fff;
background-color: #dc0000;
border-radius: 6px;
box-shadow: 0 10px 0 #b00000;
transition: .1s all linear;
position: relative;
top: 0;
}
.link-shop li a:hover{
background-color: #d10000;
box-shadow: none;
top: 10px;
}

a.reserve-big-button{
display: block;
margin: 0 auto;
padding: .5em 0;
font-size: 2.4rem;
text-align: center;
text-decoration: none;
color: #fff;
background-color: #dc0000;
border-radius: 5px;
box-shadow: 0 10px 0 #b00000;
transition: .1s all linear;
position: relative;
top: 0;
}
a:hover.reserve-big-button{
background-color: #d10000;
box-shadow: none;
top: 10px;
}

/*Hero Slider Media Query*/
@media screen and (max-width: 414px) {
#CrossFade,.intro,.hero,.hero-wrapper{
height: 40vh;
}
#CrossFade img{
width: 150%;
}
}
@media screen and (max-width: 724px) {
.parallax,
.parallax_img_1,.parallax_img_2,.parallax_img_3,.parallax_img_4,.box {
background-attachment: scroll !important;
background-size: auto 100% !important;
}
}

.intro h1 img{
width: 30%;
height: auto;
}
@media screen and (max-width: 414px) {
.intro h1 img{
width: 50%;
height: auto;
}
.link-reserve-section h3{
font-size: 2rem;
}
.link-shop li{
float: none;
width: 100%;
}
.link-shop li:nth-child(2n){
margin: 0 0 1em;
}
.link-shop li:nth-child(2n+1){
margin: 0 0 1em;
}
.link-shop li a{
font-size: 1.6rem;
}
}

/* パララックス部分タイトルのあふれ防止（改行）用補正スタイル */
.activities .parallax .box {
  height: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.activities .parallax .box h2 {
  line-height: 1.1;
}
.activities .parallax .box h2 span {
  position: static;
  margin-top: 1em;
}
