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

/*  facility-main　yn：ゆんたく家
----------------------------------------------------*/
body {
	overflow-x: hidden;
}
.facility-main {
	width: 100vw;
}
.title-image{
	height:500px;
	min-width:960px;
	background:url(../../../img/facility/yn/title-image.png) center center no-repeat;
	overflow: hidden;
	background-size:cover;
}
.title-image .container{
	height:500px;
}


.title-bg{
	background-color:#f78b43;
}
.facility-title{
	padding:20px 0;
}
.yn-title{
	font-size:28px;
	line-height:1.8;
	padding-bottom:10px;
	text-align: center;
}

.yn-about-area{
	padding: 60px 0 50px;
	position: relative;
}
.yn-about-area .yn-title{
	background: url("../../../img/facility/yn/line_1.png") no-repeat center bottom;
}
.yn-about-area .yn-text1{
	margin: 20px auto 0;
	width: 740px;
	font-size:24px;
	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:16px;
}

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

.yn-illust1{
	position: absolute;
	width: 113px;
	height: 53px;
	top:50px;
	left: 25%;
}
.yn-illust2{
	position: absolute;
	width: 203px;
	height: 73px;
	top:20px;
	left: 60%;
}


.yn-flow-area{
	padding: 50px 0;
	position: relative;
}
.yn-flow-area .yn-title{
	margin-bottom: 10px;
}
.yn-illust3{
	position: absolute;
	width: 74px;
	height: 62px;
	top:40px;
	left: 28%;
}
.yn-flow-box{
	background: url("../../../img/facility/yn/box_line.png") no-repeat center top;
	width: 960px;
	height: 260px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
.yn-flow-box p{
	font-size: 20px;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: 600;
	line-height:30px;
	padding: 10px 20px;
}
.yn-flow-box .maru{
	display: inline-block;
 	height:30px;
 	width:30px;
 	border-radius:50%;
 	text-align:center;
	background-color: #f78b43;
	color: #fff;
	margin-right: 10px;
}
.yn-flow-box .yn-flow-num{
	display: inline-block;
	text-align: left;

}


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

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

.yn-day-area dl {
	font-size: 22px;
	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: 250px;
}
.yn-day-area dd {
	padding-left: 350px;
	background-color: #fde7cc;
	margin-bottom: 10px;
	border-radius: 4px;
}
.yn-illust4{
	position: absolute;
	width: 97px;
	height: 129px;
	top:20px;
	left: 100px;
}
.yn-illust5{
	position: absolute;
	width: 122px;
	height: 104px;
	bottom:20px;
	left: 80px;
}
.yn-illust6{
	position: absolute;
	width: 82px;
	height: 98px;
	top:20px;
	right: 120px;
}
.yn-illust7{
	position: absolute;
	width: 134px;
	height: 55px;
	bottom:70px;
	right: 70px;
}

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

/* 動画エリア -------------------------------------------------------------------- */
.yn-movie-area .container {
	width: 1234px;
}
.yn-movie-block {
	color: white;
	display: flex;
	font-family: "メイリオ";
	justify-content: space-between;
}
.yn-movie-block .text1 {
	font-size: 22px;
	font-weight: bold;
	left: 20px;
	position: relative;
	top: 106px;
	width: 440px;
}
.yn-movie-left .text1 {
	left: 140px;
}
.yn-movie-block .text2 {
	font-size: 17px;
	left: 145px;
	position: relative;
	top: -110px;
	width: 400px;
}
.yn-movie-right .text2 {
	left: 190px;
	top: -140px;
}
.yn-movie-right img:nth-of-type(1) {
	display: block;
	margin-left: auto;
	margin-top: 20px;
}
.yn-movie-block svg {
	cursor: pointer;
	position: relative;
	transition: all .4s ease;
}
.yn-movie-left svg {
	left: -309px;
	top: -170px;
}
.yn-movie-right svg {
	left: 291px;
	top: -194px;
}
.yn-movie-block img:hover {
	cursor: pointer;
}
.yn-movie-left svg:hover,
.yn-movie-right svg:hover,
.yn-movie-block img:hover+svg {
	transform: scale(130%);
}

/* infoエリア -------------------------------------------------------------------- */
.info-text-m{
	margin:0;
	padding:50px 0 0 0;
}
.info-left-box{
	vertical-align: top;
	width: 330px;
}
.info-right-box{
	vertical-align: bottom;
}
.message-area{
	padding:0px 0 30px;
}
.message-blog{
	font-size:16px;
	padding:20px 0 30px;
}

/* モーダルウィンドウ -------------------------------------------------------------------- */
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: 50%;
  transform: translate(-50%, -53%);
	width: 1200px;
  z-index: 20;
}
.close {
  color: #8CB807;
	cursor: pointer;
	font-family: "ヒラギノ角ゴ Pro W3";
  left: 1150px;
  position: relative;
	text-align: center;
  top: 60px;
	width: 50px;
}
.close .fa-times {
	font-size: 50px;
}
.close span {
	font-size: 15px;
  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;
}
@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%;
}
