@charset "UTF-8";

/*#container {
	background-image: url(../img/top_logo2.png); 
	background-repeat: no-repeat;
	background-position: center;
	padding-bottom: 0;
}*/

#footer{
}


#topNews {
/*	position: absolute;
	top: 90px;
	right: 10px;
	width: 40%;
	background: rgba(0,0,0,0.55);*/
}

#topNews h3 {
	color: #000;
	font-size: 14px;
	line-height: 1.5;
	opacity: 0.9;
	text-align: left;
}

#topNews li {
	padding: 20px 30px;
	color: #000;
	font-size: 14px;
	line-height: 1.5;
	border-bottom: dotted 1px #000;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}

#topNews li .date{
	display: inline-block;
	padding-right: 10px;
}

#topNews li a:hover,
.newsBt:hover {
	opacity: 0.8;
}

#topNews li a{
	color: #246dac;
}

.section_title{
  margin: 0 auto 30px auto;  
}

#container .spot_container {
    width: 310px;
    height: auto;
    min-height: 350px;
/*    position: relative;
    float: left;*/
    margin-right: 10px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 9px -4px #000;
    -moz-box-shadow: 2px 2px 9px -4px #000;
    -webkit-box-shadow: 2px 2px 9px -4px #000;
}

#container .spot_container .spot_image {
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    height: 215px;
    overflow: hidden;
}

#container .spot_container .spot_image iframe{
    width: 310px;
    height: 215px;
}

#container .spot_container .spot_title {
    width: 94%;
    height: auto;
    /*height: 30px;*/
    font-size: 14px;
    line-height: 15px;
    font-weight: bold;
    padding: 10px 0;
    margin: 0 auto;
}

#container .spot_container .spot_sub {
    width: 94%;
    height: 30px;
    font-size: 12px;
    line-height: 16px;
    margin: 0 auto;
}

#news {
    width: 970px;
    margin: 40px auto 0;
}
#movie {
    width: 970px;
    margin: 40px auto 0;
}
#event {
    width: 970px;
    margin: 40px auto 0;
}
#spot {
    width: 970px;
    margin: 40px auto 0;
}
#guide {
    width: 970px;
    margin: 40px auto 0;
}
#canpagin {
    width: 970px;
    margin: 40px auto 0;
}

#canpagin_only {
    width: 970px;
    margin: 40px auto 0;
}

#canpagin .bn_s{
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
}

#canpagin .bn_m{
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
    margin: 10px 0;
}

#line {
    width: 970px;
    margin: 0 auto;
    margin-bottom: 60px;
}
#about_railway {
    width: 970px;
    margin: 40px auto 0;
}

#about_railway .choshi_box {
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    -webkit-justify-content: start;
    -moz-justify-content: start;
    -ms-justify-content: start;
    -o-justify-content: start;
    justify-content: start;
}

#about_railway .only_title {
    height: 60px;
    display: table;
}

#about_railway .choshi_container {
    width: 210px;
    height: 60px;
    margin-bottom: 20px;
    margin-right: 30px;
    background-color: #fff;
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;
    -webkit-box-shadow: 0px 1px 1px rgb(0 0 0 / 20%);
    -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 1px rgb(0 0 0 / 20%);
}

#about_railway .only_title .choshi_title a {
    background-position: 10px 23px;
    display: table-cell;
    vertical-align: middle;
    height: 60px;
    width: 100%;
}

#about_railway .choshi_container .choshi_title a {
    width: 190px;
    height: 55px;
    /* padding-top: 223px; */
    padding-left: 30px;
    font-size: 14px;
    font-weight: bold;
    background-image: url(../img/title_icon.png);
    background-position: 10px 20px;
    background-repeat: no-repeat;
}

#gallery {
    margin: 40px auto 0;
}

/*モーダルウィンドウ*/
.modal-wrapper {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 60px 10px;
  text-align: center
}

.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  width: 70%;
  max-width: 1000px;
  padding: 30px 30px 15px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, .6);
  vertical-align: middle
}

.modal-wrapper .modal-window .modal-content {
  max-height: 80vh;
  overflow-y: auto;
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}

.modal-wrapper .modal-close {
  z-index: 20;
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  color: #95979c!important;
  font-size: 20px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
  text-indent: 0
}

.modal-wrapper .modal-close:hover {
  color: #2b2e38!important
}
/*モーダルウィンドウ*/



@media handheld, only screen and (max-width: 650px) {
/*スマホ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
*/
#container {
	background-position: top 90px center;
	background-size: 90%;
}

#topNews {
	position: absolute;
	top: auto;
	bottom: 80px;
	left: 10px;
	right: 10px;
	width: auto;
}

#topNews li,
#topNews li a {
	font-size: 16px;
}

}


@media screen and (max-width: 768px) {
/*スマホ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
*/

  .modal-wrapper .modal-window{
    width: 90%;
  }

  #container .spot_container{
    margin: 10px auto;
  }

  #about_railway .choshi_box{
    margin: auto;
    width: 320px;
  }

  .list_button img{
    width: auto;
  }

  .section_title{
    width: auto;
  }

  #news{
    width: 100%;
  }

  #news #topNews {
    position: inherit;

  }

  #topNews .list_button img{
    width: 90%;
  }

  #canpagin {
      width: 100%;
      margin: 40px auto 0;
  }

  #canpagin_only {
      width: 100%;
      margin: 40px auto 0;
  }

  #canpagin_only .bn_m a{
      width:  100%;
  }

  #canpagin .bn_m a{
      width:  100%;
  }

  #canpagin .bn_m{
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  #canpagin .bn_s a{
      width: 50%;
  }

  #canpagin .bn_s{
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  #movie {
      width: 100%;
      margin: 40px auto 0;
  }

  #event {
      width: 100%;
      margin: 40px auto 0;
  }

  #guide {
      width: 100%;
      margin: 40px auto 0;
  }

  #guide .section_title{
    width: 100%;
  }

  #spot {
      width: 100%;
      margin: 40px auto 0;
  }

  #spot .section_title {
    width:  90%;
  }

  #about_railway {
      width: 100%;
      margin: 40px auto 0;
  }

  #about_railway .section_title{
    width: 100%;
  }

  #about_railway .choshi_container {
      width: 150px;
      margin-right: 0;
  }

  #gallery {
      width: 100%;
      margin: 40px auto 0;
  }
  
  #line{
      width: 100%;
  }

  .banner{
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;  
  }

  #about_railway .choshi_box {
      -webkit-justify-content: space-between;
      -moz-justify-content: space-between;
      -ms-justify-content: space-between;
      -o-justify-content: space-between;
      justify-content: space-between;
  }


}

@media screen and (max-width: 667px) {

#container .spot_container {
    height: auto;
}

#container .spot_container .spot_image  {
    height: auto;
}

#container .spot_container .spot_title  {
    height: auto;
}

#container .spot_container .spot_sub  {
    height: auto;
}

}