@charset "utf-8";
/* CSS Document */

#access #page_header {
  background-image: url("../img/access/page_header.jpg");
}

#access #page_header h2.page_title span {
  background-image: url("../img/home/icon_nav05.png");
  background-size: 60px;
  padding-top: 90px;
}

.location div.gmap{
	margin:30px auto;
	text-align: center
}

section.links ul li {
  width: 33.3%;
}

#access section.content section {
  padding: 170px 0 80px;
}

#access section.content div.btn{
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}

section.traffic .inner > ul > li{
	display:flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width:100%;
	padding-bottom: 50px;
	margin-bottom: 50px;
	border-bottom: dashed 1px #006a6c;
	align-items: center;
}

section.traffic ul > li{
	width:100%;
	text-align: center;
}

section.traffic ul li img{
	width:110px;
	height: auto;
}

section.traffic ul li h4 span{
	margin:20px 0;
	color:#006a6c;
	font-size:1.3rem;
	background-image: url("../img/access/icon_plain.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: auto 60px;
	display:inline-block;
	padding:20px 0 20px 75px;
	box-sizing: border-box;
}

section.traffic ul li h4.train span{
	background-image: url("../img/access/icon_train.png");
}

section.traffic ul > li ul.access_time{
	display:flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
	width:100%;
}

section.traffic ul > li ul.access_time li{
	width:20%;
}

section.traffic ul > li ul.access_time li span{
	background-color: #fff;
  box-shadow: 0px 0px 9px 4px rgba(17, 17, 26, 0.18);
	display:block;
	padding:10px;
	box-sizing: border-box;
	width:100%;
	color: #006a6c;
}

section.traffic ul > li ul.access_time li.time small{
  display: block;
  margin-top: -20px;
	background-image: url("../img/access/car.gif");
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 45px;
	margin-right: 20px;
}

section.traffic ul > li ul.access_time li.time.train small{
	background-image: url("../img/access/train.gif");
}

.border{
	position: relative;
	font-size: 18px;
}

.border:before{
	content: '';
	position: absolute;
	left: 0;
	bottom: 40px;
	border-bottom: solid 2px #006a6c;
	animation: border_anim 3s linear forwards;
	z-index: -1;
}

@keyframes border_anim {
	0%{
		width: 0%;
	}
	100%{
		width: 100%;
	}
}

#access section.content section.traffic ul li div.btn{
	width:400px;
	margin-top:30px;
}

section.surrounding .surrounding_box{
	background-color:#f2f2f2;
	padding: 50px 185px 50px;
	box-sizing: border-box;
	position:relative;
	margin-top:80px;
}

section.surrounding .surrounding_box p.icon{
	position:absolute;
	left: 0;
	top:-50px;
	width:100%;
	text-align: center;
}

section.surrounding .surrounding_box p.icon span{
	display:inline-block;
	width:100px;
	height: 100px;
	border-radius: 50%;
	box-shadow: 0px 0px 9px 4px rgba(17, 17, 26, 0.18);
	background-color:#fff;
	background-image: url("../img/access/icon_cv.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 65px;
}

section.surrounding .surrounding_box.cv p.icon span{
	background-size:75px;
}

section.surrounding .surrounding_box.restraunt p.icon span{
	background-image: url("../img/access/icon_restaurant.png");
}

section.surrounding .surrounding_box.cafe p.icon span{
	background-image: url("../img/access/icon_cafe.png");
}

section.surrounding .surrounding_box.post p.icon span{
	background-image: url("../img/access/icon_postoffice.png");
}

section.surrounding .surrounding_box.gs p.icon span{
	background-image: url("../img/access/icon_gs.png");
}

section.surrounding .surrounding_box.other p.icon span{
	background-image: url("../img/access/icon_other.png");
}

section.surrounding .surrounding_box h4{
	margin:20px 0;
	color:#006a6c;
	font-size:1.3rem;
	text-align: center;
}

section.surrounding .surrounding_box ul li{
	margin-top:5px;
}

section.location p.center.address a{
	color: #006a6c;
	display:inline-block;
}

section.location p.center.address a:hover{
	text-decoration:underline;
}

/*molehole*/
.access_time{
    /*線の起点とするためrelativeを設定*/
    position: relative;
	padding:0 0 20px 0;
}

/*絶対配置で線を設定*/
.line {
  position: absolute;
  left: 15px;
  top: 0;
  width: 2px;
  height: 0;
  background-color:#006a6c;
}

@media only screen and (max-width: 1023px){
section.links ul li {
  width: 47%;
}
	
#access section.content section.location{
  padding-top: 0;
}
	
section.location .gmap iframe{
	width:100%;
}
	
section.surrounding .surrounding_box {
  padding: 50px 13% 50px;
}	
		
	
}


@media only screen and (max-width: 768px) {
#access #page_header h2.page_title span {
    font-size: 1.2rem;
    background-size: 40px;
    padding-top: 63px;
    letter-spacing: 0;
	margin-top: 13px;
  }
	
#access section.content section {
  padding: 50px 0;
}

section.links ul li {
    width: 100%;
  }
	
#access section.content section.location p.address{
	text-align:center;
}

section.location .gmap iframe{
	height:300px !important;
}
	
#access section.content div.btn {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
	
section.traffic ul {
  flex-wrap: wrap;
}
	
section.traffic ul li {
  width: 100%;
  margin-top:50px;
}
	
section.traffic ul li img {
  width: 83px;
}
	
section.traffic ul li h4 {
  margin: 20px 0;
  color: #006a6c;
  font-size: 1.1rem;
}
	
section.traffic ul li p {
  text-align:center;
}
	
#access section.content section.traffic ul li div.btn {
  width: 100%;
}
	
section.surrounding .surrounding_box {
    padding: 40px 20px 20px;
  }
	
section.surrounding .surrounding_box p.icon {
  top: -40px;
}
	
section.surrounding .surrounding_box p.icon span {
  width: 80px;
  height: 80px;
}
	
section.surrounding .surrounding_box h4 {
  font-size: 1.1rem;
}
	
section.surrounding .surrounding_box ul li {
  font-size: 0.8rem;
  text-indent: -1em;
  padding-left: 1em;
	margin-top:10px;
}
	
section.location .inner iframe{
  border: 0;
  margin: 20px 0;
  width: 100%;
  height: 350px;
}
	
section.traffic .inner > ul > li {
  padding-bottom: 30px;
  margin-bottom: 30px;
}
	
section.traffic .inner > ul > li:first-child{
  margin-top:0;
}
	
section.traffic ul li h4 span {
  margin: 0;
  font-size: 1.2rem;
  background-size: auto 45px;
  padding: 10px 0 10px 56px;
}
	
section.traffic ul > li ul.access_time li {
  width: 100%;
  margin-top: 50px;
}
	
section.traffic ul > li ul.access_time li:first-child{
  margin-top: 0px;
}
	
section.traffic ul > li ul.access_time li.time small {
  margin-top: 0;
  margin-right: 0;
  text-align: right;
  padding-right: 54px;
}
	
.line {
  left: 50%;
	transform        : translateX(-50%);
       -webkit-transform: translateX(-50%);
       -ms-transform    : translateX(-50%);
	height: 293px;
    position: absolute;
    top: 97px;
	z-index: -1;
}

/*.border:before{
		transform        : translateX(-50%);
       -webkit-transform: translateX(-50%);
       -ms-transform    : translateX(-50%);
	}*/
	
@keyframes border_anim {
	0%{
		height: 0%;
	}
	100%{
		height: 100%;
	}
	
	
	
	
	
	
	
}












