@charset "UTF-8";
/* CSS Document */
@import url("facility-style.css");

/*  facility-main　yn：ゆんたく家（モバイル）
----------------------------------------------------*/
.facility-main {
	width: 100vw;
}
.title-image{
	height:140px;
	min-width:320px;
	background:url(../../../img/facility/yn/title-image.png) center center no-repeat;
	background-size:cover;
}
.title-image .container{
	height:140px;
	position: relative;
}
.title-image .container p{
	position: absolute;
	bottom: 2px;
	left:0;
	font-size: 12px;
	color: #fff;
}
.title-bg{
	background-color:#f78b43;
}
.facility-title{
	padding:20px 0;
}

.yn-title{
	font-size:20px;
	line-height:1.8;
	padding-bottom:10px;
	text-align: center;
}

.yn-about-area{
	padding: 60px 0 0px;
	position: relative;
}
.yn-about-area .yn-title{
	background: url("../../../img/facility/yn/line_sp.png") no-repeat center bottom;
}
.yn-about-area .yn-text1{
	margin: 20px auto 0;
	font-size:16px;
	line-height:1.6;
}
.yn-about-area .yn-text1 span{
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size:13px;
}

.yn-about-area .yn-text2 {
	margin: 20px auto 0;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	
}
.yn-about-area .yn-text2 span{
	display: block;
	padding-left:1em;
	text-indent:-1em;
	line-height:1.8;
}

.yn-illust1{
	position: absolute;
	width: 67px;
	height: 31px;
	top:60px;
	left: 10px;
}
.yn-illust1 img{
	width: 67px;
}
.yn-illust2{
	position: absolute;
	width: 121px;
	height: 43px;
	top:10px;
	right: 10px;
}
.yn-illust2 img{
	width: 121px;
}


.yn-flow-area{
	padding: 50px 0 0;
	position: relative;
}
.yn-flow-area .yn-title{
	background: url("../../../img/facility/yn/line_sp.png") no-repeat center bottom;
}
.yn-illust3{
	position: absolute;
	width: 44px;
	height: 37px;
	top:50px;
	left: 10px;
}
.yn-illust3 img{
	width: 44px;
}
.yn-flow-box{
	padding: 20px 0;

}
.yn-flow-box p{
	font-size: 16px;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: 600;
	line-height:22px;
	padding: 10px 0px;
}
.yn-flow-box .maru{
	display: inline-block;
 	height:22px;
 	width:22px;
 	border-radius:50%;
 	text-align:center;
	background-color: #f78b43;
	color: #fff;
	margin-right: 6px;
}
.yn-flow-box .yn-flow-num{
	display: inline-block;
	text-align: left;

}


.yn-day-area {
	padding: 50px 0 0px;
	position: relative;
}
.yn-day-area .yn-title{
	background: url("../../../img/facility/yn/line_sp.png") no-repeat center bottom;
}

.yn-day-area .yn-day-box{
	position: relative;
	margin: 30px auto 0;
}

.yn-day-area dl {
	font-size: 18px;
	font-weight: 600;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height: 2;
}
.yn-day-area dt {
	float:left;
	clear:left;
	color: #f78b43;
	margin-bottom: 10px;
	padding-left: 20px;
}
.yn-day-area dd {
	padding-left: 90px;
	background-color: #fde7cc;
	margin-bottom: 10px;
	border-radius: 4px;
}
.yn-illust{
	margin: 0 auto;
	text-align: center;
}
.yn-illust4{
	display: inline-block;
	width: 58px;
	height: 78px;
}
.yn-illust4 img{width: 58px;}
.yn-illust5{
	display: inline-block;
	width: 73px;
	height: 78px;
}
.yn-illust5 img{width: 73px;}
.yn-illust6{
	display: inline-block;
	width: 48px;
	height: 78px;
}
.yn-illust6 img{width: 48px;}
.yn-illust7{
	display: inline-block;
	width: 80px;
	height: 78px;
	vertical-align: top;
}
.yn-illust7 img{width: 80px;}

.yn-info-area{
	padding: 30px 0;
	background-color: #fde7cc;
}
.yn-info-block{
	
}
.yn-info-block .yn-info-left,
.yn-info-block .yn-info-right{
	vertical-align: top;
}
.yn-info-block .yn-info-left{
	text-align: center;
	padding: 0 20px;
}
.yn-info-block .yn-info-left img{
	width: 100%;
}
.yn-info-block .yn-info-right{
	padding: 20px 0;
}
.yn-info-block .text1{
	font-size: 16px;
	line-height: 1.8;
}
.yn-info-block .text2{
	padding-top: 10px;
	font-size: 16px;
	line-height: 1.8;
	font-weight: 600;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.yn-info-block .text2 span{
	font-size: 14px;
}

/* 動画エリア -------------------------------------------------------------------- */
.yn-movie-area .container {
	overflow-x: hidden;
	width: 360px;
}
.yn-movie-block {
	color: white;
	font-family: "メイリオ";
}
.yn-movie-left,
.yn-movie-right {
	height: 380px;
}
.yn-movie-block .text1 {
	font-size: 14px;
	font-weight: bold;
	left: 10px;
	position: relative;
	top: 56px;
	width: 300px;
}
.yn-movie-left .text1 {
	left: 80px;
	top: 68px;
}
.yn-movie-block .text2 {
	font-size: 11px;
	left: 84px;
	position: relative;
	top: -100px;
	width: 300px;
}
.yn-movie-right .text2 {
	left: 110px;
	top: -105px;
}
.yn-movie-left img:nth-of-type(1) {
	display: block;
	margin: 0 auto;
	width: 360px;
}
.yn-movie-right img:nth-of-type(1) {
	display: block;
	margin: 0 auto;
	width: 360px;
}
.yn-movie-block svg {
	cursor: pointer;
	left: 175px;
	position: relative;
	top: -122px;
	width: 14px;
}
.yn-movie-block img:hover {
	cursor: pointer;
}

/* infoエリア -------------------------------------------------------------------- */
.info-area{
	background-color:#808080;
	padding:0px 0;
	color:#fff;
}
.info-area .info-box{
	padding:20px 0;
	width: 300px;
	min-width:300px;
	margin: 0 auto;
}
.info-left-box{
	float:none;
	padding-bottom:20px;
}
.info-right-box{
	float:none;
}
.info-text-m{
	margin:0;
	padding:10px 0 0 0;
}
.info-text-s{ font-size:12px; margin:0 0 0;}

.message-area{
	padding:30px 0;
}
.message-area p{
	font-size:16px;
	padding-bottom:15px;
}

/* モーダルウィンドウ -------------------------------------------------------------------- */
body.fixed {
  position: fixed;  /* モーダル表示時に背景固定 */
  left: 0;
}
.modal {
  display: none;
  height: 100vh;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
}
.modal_bg {
  background: #E7F0CC;
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 20;
}
.modal_content {
  left: 50%;
  position: absolute;
  top: 40%;
  transform: translate(-50%, -53%);
	width: 400px;
  z-index: 20;
}
.close {
  color: #8CB807;
	cursor: pointer;
	font-family: "ヒラギノ角ゴ Pro W3";
  left: 340px;
  position: relative;
	text-align: center;
  top: 60px;
	width: 40px;
}
.close .fa-times {
	font-size: 40px;
}
.close span {
	font-size: 13px;
  font-weight: 700;
}
.close:hover {
	opacity: .7;
}

.movie_ttl {
	animation: ttlIn .6s cubic-bezier(.19, 1, .22, 1) backwards;
	display: block;
	margin: 0 auto;
	position: relative;
	top: -20px;
	width: 230px;
}
@keyframes ttlIn {
	0% {
		opacity: 0;
		transform: translateY(300%);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
.movie_ttl.out {
	animation: ttlOut .6s cubic-bezier(.19, 1, .22, 1);
}
@keyframes ttlOut {
	0% {
		opacity: 1;
		transform: translateY(0);
	}
	100% {
		opacity: 0;
		transform: translateY(300%);
	}
}

.movie_area {
	animation: videoIn .6s cubic-bezier(.19, 1, .22, 1) backwards;
	padding-top: 56.25%; /* アスペクト比 16:9の縦幅 */
	position: relative;
	width: 100%;
}
@keyframes videoIn {
	0% {
		transform: scale(1,0);
	}
	100% {
		transform: scale(1,1);
	}
}
.movie_area.out {
	animation: videoOut .6s cubic-bezier(.19, 1, .22, 1);
}
@keyframes videoOut {
	0% {
		transform: scale(1,1);
	}
	100% {
		transform: scale(1,0);
	}
}
.movie_area iframe {
	height: 100%;
  left: 0;
  position: absolute;
	top: 0;
  width: 100%;
}