@charset "utf-8";
/*共通設定*/
.header {
    opacity: 0;
}
.global-header .inst-header {
	margin-left:2em!important;
}

#booked-widget-ngv3l4bhkof {
	z-index:1000;
}

.en_home header.global-header{
  position: absolute;
  right: 0;
  left: 0;
  z-index: 100;
}

/* --------------------------------------------------
	.con_menu
-------------------------------------------------- */
.con_menu .box_btn {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10000;
}
.con_menu .box_btn > ul {
  display: flex;
}
.con_menu .box_btn > ul > li {
  height: 80px;
}
.con_menu .box_btn > ul > li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: 0.3s;
}
.con_menu .box_btn > ul > li a:hover {
  opacity: 0.7;
}
.con_menu .box_btn > ul > li:nth-of-type(1) {
  width: 80px;
}
.con_menu .box_btn > ul > li:nth-of-type(1) a {
  flex-direction: column;
  font-size: 14px;
  background-color: #fff;
}
.con_menu .box_btn > ul > li:nth-of-type(1) a:before {
  content: '';
  display: flex;
  width: 30px;
  height: 30px;
  background-image: url("../img/index/icon_lang.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.con_menu .box_btn > ul > li:nth-of-type(2) {
  width: 80px;
}
.con_menu .box_btn > ul > li:nth-of-type(2) a {
  flex-direction: column;
  background-color: #fff;
}
.con_menu .box_btn > ul > li:nth-of-type(2) a > div {
  width: 35px;
  height: 2px;
  background-color: #000;
}
.con_menu .box_btn > ul > li:nth-of-type(2) a > div:nth-of-type(n+2) {
  margin-top: 8px;
}
.con_menu .box_menu {
  display: none;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  transition: 0.3s;
  position: fixed;
  z-index: 9999;
  opacity: 0;
}
@media (max-width: 640px) {
	.con_menu .box_menu {
		height: 100%;
		overflow: auto;
		  -webkit-overflow-scrolling: touch;
		  position: fixed;
	}	
}
.con_menu .box_menu .hoge {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.con_menu .box_menu .hoge .box_hotel {
  max-width: 1360px;
  margin: 40px auto 0;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_menu .box_menu .hoge .box_hotel {
    padding: 0 20px;
  }
}
@media (max-width: 640px) {
  .con_menu .box_menu .hoge .box_hotel {
    padding: 0 20px;
	margin-top:200px;
  }
}
@media (min-width: 1025px) {
  .con_menu .box_menu .hoge .box_hotel > ul {
    display: flex;
    justify-content: flex-end;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_menu .box_menu .hoge .box_hotel > ul {
    display: flex;
    justify-content: flex-end;
  }
}
.con_menu .box_menu .hoge .box_hotel > ul > li {
  display: flex;
}
@media (max-width: 640px) {
	.con_menu .box_menu .hoge .box_hotel > ul > li {
	flex-direction: column;
	}
}
.con_menu .box_menu .hoge .box_hotel > ul > li .box_img {
  margin-right: 100px;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_menu .box_menu .hoge .box_hotel > ul > li .box_img {
    margin-right: 50px;
  }
}
.con_menu .box_menu .hoge .box_hotel > ul > li .box_img a {
  transition: 0.3s;
}
.con_menu .box_menu .hoge .box_hotel > ul > li .box_img a:hover {
  opacity: 0.5;
}
.con_menu .box_menu .hoge .box_hotel > ul > li .box_txt {
  flex: 1;
}
@media (max-width: 640px) {
	.con_menu .box_menu .hoge .box_hotel > ul > li .box_txt ul{
	  display: flex;
    	flex-wrap: wrap;
	}
}
.con_menu .box_menu .hoge .box_hotel > ul > li .box_txt > ul > li {
  font-size: 16px;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_menu .box_menu .hoge .box_hotel > ul > li .box_txt > ul > li {
    font-size: 14px;
  }
}
@media (max-width: 640px) {
  .con_menu .box_menu .hoge .box_hotel > ul > li .box_txt > ul > li {
    font-size: 14px;
	 width:50%;
  }
}
.con_menu .box_menu .hoge .box_hotel > ul > li .box_txt > ul > li a {
  transition: 0.3s;
}
.con_menu .box_menu .hoge .box_hotel > ul > li .box_txt > ul > li a:hover {
  opacity: 0.5;
}
.con_menu .box_menu .hoge .box_hotel > ul > li .box_txt > ul > li:nth-of-type(n+2) {
  margin-top: 10px;
}
.con_menu .box_menu .hoge .box_hotel > ul > li:nth-of-type(1) .box_img {
  width: 140px;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_menu .box_menu .hoge .box_hotel > ul > li:nth-of-type(1) .box_img {
    width: 100px;
  }
}
@media (max-width: 640px) {
  .con_menu .box_menu .hoge .box_hotel > ul > li:nth-of-type(1) .box_img img {
    width: 50%;
  }
}
@media (min-width: 1025px) {
  .con_menu .box_menu .hoge .box_hotel > ul > li:nth-of-type(2) {
    margin-left: 100px;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_menu .box_menu .hoge .box_hotel > ul > li:nth-of-type(2) {
    margin-left: 50px;
  }
}
@media (max-width: 640px) {
  .con_menu .box_menu .hoge .box_hotel > ul > li:nth-of-type(2) {
    margin-top: 2em;
  }
}
.con_menu .box_menu .hoge .box_hotel > ul > li:nth-of-type(2) .box_img {
  width: 200px;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_menu .box_menu .hoge .box_hotel > ul > li:nth-of-type(2) .box_img {
    width: 140px;
  }
}
@media (max-width: 640px) {
  .con_menu .box_menu .hoge .box_hotel > ul > li:nth-of-type(2) .box_img {
    width: 140px;
  }
}

.con_menu .box_menu .hoge .box_hotel > ul > li .box_txt .link-reserve {
  margin-top: 1em;
}
.con_menu .box_menu .hoge .box_hotel > ul > li .box_txt .link-reserve a{
	font-size: 16px;
	transition: 0.3s;
	background:#000;
	color:#fff;
	padding:.5em 1em;
	width: 100%;
    display: block;
    text-align: center;
}
.con_menu .box_menu .hoge .box_hotel > ul > li .box_txt .link-reserve a:hover {
  opacity: 0.5;
}

.con_menu .box_menu .hoge .box_hotel > ul > li .box_txt .link-reserve.new a{
	font-size: 12px;
	transition: 0.3s;
	background:#fff;
	border:1px solid #000;
	color:#000;
	padding:.5em 1em;
	width: 100%;
    display: block;
    text-align: center;
}

.con_menu .box_menu .hoge .box_sns {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 900px;
  margin: 20px auto;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_menu .box_menu .hoge .box_sns {
    max-width: 400px;
  }
}
@media (max-width: 640px) {
  .con_menu .box_menu .hoge .box_sns {
    max-width: 240px;
  }
}
.con_menu .box_menu .hoge .box_sns .txt_sns {
  font-size: 16px;
  margin-right: 20px;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_menu .box_menu .hoge .box_sns .txt_sns {
    font-size: 14px;
  }
}
@media (max-width: 640px) {
  .con_menu .box_menu .hoge .box_sns .txt_sns {
    font-size: 14px;
  }
}
.con_menu .box_menu .hoge .box_sns .box_icon > ul {
  display: flex;
  align-items: center;
}
.con_menu .box_menu .hoge .box_sns .box_icon > ul > li {
  width: 30px;
}
.con_menu .box_menu .hoge .box_sns .box_icon > ul > li a {
  transition: 0.3s;
}
.con_menu .box_menu .hoge .box_sns .box_icon > ul > li a:hover {
  opacity: 0.5;
}
.con_menu .box_menu .hoge .box_sns .box_icon > ul > li:nth-of-type(1) {
  margin-right: 20px;
}

.box_menu {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.box_menu.active {
    display: block;
    opacity: 1;
}
/*終わり*/  

/*<div class="fv">*/
.fv {
    width: 100%;
    height: 100vh;
    position: relative;
}

    /*画像スライドショー*/
.fv-fade li {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: fade 15s infinite;
    width: 100%;
    height: 100%;
}
  
.fv-fade li:nth-child(1) {
    animation-delay: 0s;
}
  
.fv-fade li:nth-child(2) {
    animation-delay: 5s;
}

.fv-fade li:nth-child(3) {
    animation-delay: 10s;
}
  
.fv-fade li img {
    width: 100%;
    height: 100%;
    object-fit:cover;
}

@keyframes fade {
    0%{ opacity: 0;}
    20%{ opacity: 1;}
    33%{ opacity: 1;}
    63%{ opacity: 0;}
    100%{ opacity: 0;}
}

.fv-h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
	width:55%;
}
.fv-h1 img {
	width:100%;
}
/*終わり*/  

/*<section class="story">*/
.story-flex {
    position: relative;
    width: 100%;
    height: 100%;
}

.story-img {
    width: 55%;
	border-radius: 5px;
}

.story-txt {
    position: absolute;
    top: 10%;
    left: 45%;
    width: 55%;
    background-color: #fff;
    padding: 24px;
}

.story-h2 {
    font-size: 30px;
    margin-bottom: 16px;
	font-family: YuMincho, "Zen Old Mincho", "Hiragino Mincho ProN", serif;
	font-weight:normal;
}

.story-txt .txt-01 {
    line-height: 2.1875;
    font-size: 16px;
}
/*終わり*/ 

/*<section class="service">*/
.service {
    margin-bottom: 40px;
}

.service-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.villa,
.guest {
    position: relative;
    text-align: center;
    width: calc(100% / 2 - 8px);
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    text-shadow: 0 0 5px rgba(0,0,0,0.1);
    overflow: hidden;
}
.villa{
	border-radius:0 5px 5px 0;
}
.guest{
	border-radius:5px 0 0 5px;
}
.villa::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    background-image: url(../img/index/villa.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;  
    z-index: -1;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.guest::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    background-image: url(../img/index/guest.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;  
    z-index: -1;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.villa:hover:after,
.guest:hover:after {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.service-h2 {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.4;
}

.service-h2 span {
    font-size: 32px;
	font-weight: 200;
}

.service-txt {
    margin-top: 40px;
    font-size: 14px;
    font-weight: 300;
}

a .nextbtn{
	width:200px;
	margin:20px auto 0 auto;
	border-radius:50px;
	border:1px solid #fff;
	padding:5px 0;
	transition: .3s;
	vertical-align: middle;
}

a .nextbtn img{
	vertical-align: middle;
	width:14px;
	height:auto;
	margin-left:10px;
	margin-top: -2px;
}



.con_access .box_route_pc > ul > li > .taxi_opt{
   
  margin: 30px auto;
 
}
.con_access .box_route_pc > ul > li > .taxi_opt .taxi_desc{
      font-size: 16px;
    line-height: 2.5em;
    margin-top: 20px;
}
.con_access .box_route_pc > ul > li > .taxi_opt .taxi_table{
    width: 90%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 30px auto;
}
.con_access .box_route_pc > ul > li > .taxi_opt .taxi_table th,
.con_access .box_route_pc > ul > li > .taxi_opt .taxi_table td
{
  border-bottom: 1px solid #ddd;
  padding: 10px 12px;
  text-align: center;
}
.con_access .box_route_pc > ul > li > .taxi_opt .taxi_table th{
    background: #efefef;
  font-weight: 600;
}
.con_access .box_route_pc > ul > li > .taxi_opt .taxi_btn{
  display: block;       
  margin: 20px auto;  
  width: fit-content;  
}
.con_access .box_route_pc > ul > li > .taxi_opt .taxi_btn a{
 width: 280px;
  position: relative;
      display: block;
 padding: 15px 10px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: 0.3s;
  border:1px solid #333;
}
.con_access .box_route_pc > ul > li > .taxi_opt .taxi_btn a::before{
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 30px; 
  height: 1px;
  background-color: #333;
  transition: 0.3s;
}
.con_access .box_route_pc > ul > li > .taxi_opt .taxi_btn a::after{
    content: '';
  position: absolute;
  right: 19px;
 top: calc(50% - 4px);
  transform: translateY(-50%) rotate(45deg);
  display: block;
  width: 10px;
  height: 1px;
  background-color: #333;
  transition: 0.3s;
}
.con_access .box_route_pc > ul > li > .taxi_opt .taxi_btn a:hover::before,
.con_access .box_route_pc > ul > li > .taxi_opt .taxi_btn a:hover::after{
  right: 15px;
}
  
  .con_access .box_route_sp {
    padding: 10px;
  }
.con_access .box_route_sp > ul > li > .taxi_opt .taxi_desc{
      font-size: 14px;
    line-height: 2.5em;
    margin-top: 20px;
}
.con_access .box_route_sp > ul > li > .taxi_opt .taxi_table{
   width: 600px;
    border-collapse: collapse;
    font-size: 14px;
    margin: 20px auto;
    /* display: block;
    overflow-x: auto;
    white-space: nowrap; */
}
  .con_access .box_route_sp .taxi_table th,
  .con_access .box_route_sp .taxi_table td {
    padding: 15px 11px;
    font-size: 14px;
       
  }
.con_access .box_route_sp > ul > li > .taxi_opt .taxi_table th{
    background: #efefef;
  font-weight: 600;
}
  .con_access .box_route_sp .taxi_btn {
    display: block;
    margin: 15px auto;
    width: 100%;
    text-align: center;
    position: relative;
  }
  .con_access .box_route_sp .taxi_btn a {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 10px;
    font-size: 14px;
    border: 1px solid #333;
display: block;
  }
  .con_access .box_route_sp .taxi_btn a::before {
     content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 30px; 
  height: 1px;
  background-color: #333;
  
  }
  .con_access .box_route_sp .taxi_btn a::after {
    content: '';
  position: absolute;
  right: 19px;
 top: calc(50% - 4px);
  transform: translateY(-50%) rotate(45deg);
  display: block;
  width: 10px;
  height: 1px;
  background-color: #333;
  
  }
  .con_access .box_route_sp .box_chart ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 5px 0;
  }
  .con_access .box_route_sp .box_chart li {
    font-size: 12px;
    padding: 3px 6px;
    margin: 2px 0;
  }

















/*終わり*/  

/*タブレット*/
@media (max-width: 1024px) {  
	
.fv-h1 {
	width:70%;
}
	
/*共通設定*/
/*終わり*/  

/*<div class="fv">*/
    .fv {
        height: 80vh;
    }
/*終わり*/  

/*<section class="story">*/
    .story-img {
        width: 100%;
    }

    .story-txt {
        position: initial;
        width: 100%;
        padding: 0;
        margin-top: 24px;
    }
/*終わり*/  

/*<section class="service">*/
    .service-flex {
        display: block;
    }

    .villa,
    .guest {
        width: 100%;
        height: 500px;
    }
/*終わり*/  
.villa{
	border-radius:0;
}
.guest{
	border-radius:0;
}
}
  
  
/*スマホ*/
@media (max-width: 599px) {
/*共通設定*/
/*終わり*/ 

/*<div class="fv">*/
    .fv {
        height: 100vh;
    }
/*終わり*/  

/*<section class="service">*/
    .service {
        margin-bottom: 0px;
    }

    /*.villa,
    .guest {
        padding: 0 2vw;
        font-size: 12px;
        width: 100%;
        height: 500px;
    }*/
	.villa,
    .guest {
	padding: 10vw 2vw;
    font-size: 12px;
    width: 100%;
    height: auto;
	}
	a .nextbtn img{
	vertical-align: middle;
	width:12px;
	height:auto;
	margin-left:8px;
	margin-top: -2px;
}
/*終わり*/  
.story-h2 {
    font-size: 25px;
}
}

.ent{
	padding: 0 10%;
}

.parents {
    padding: 80px 5vw 23vh;
}
@media (max-width: 1024px) {  
.parents {
    padding: 50px 4%;
}
}
@media (max-width: 599px) {
.parents {
    padding: 50px 4%;
}
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pcindex { display: block !important; }
.spindex { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 600px) {
    .pcindex { display: none !important; }
    .spindex { display: block !important; }
}
@media only screen and (max-width: 600px) {
.fv-h1 {
    width: 70%;
}
}

.logoV{
	width: 210px;
    margin: 0 auto;
}

/* --------------------------------------------------
	.con_footer
-------------------------------------------------- */
.con_footer {
  margin-top: 200px;
}
.con_footer .img_footer img {
  height: auto;
}
.con_footer .box_hotel {
  max-width: 1360px;
  margin: 40px auto 0;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_footer .box_hotel {
    padding: 0 20px;
  }
}
@media (max-width: 640px) {
  .con_footer .box_hotel {
    padding: 0 20px;
  }
}
@media (min-width: 1025px) {
  .con_footer .box_hotel > ul {
    display: flex;
    justify-content: flex-end;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_footer .box_hotel > ul {
    display: flex;
    justify-content: flex-end;
  }
}
.con_footer .box_hotel > ul > li {
  display: flex;
}


/* footer メニュー更新 */
@media (max-width: 640px){
  .con_footer .box_hotel > ul > li {
    flex-direction: column;
    row-gap: 30px;
}
}





.con_footer .box_hotel > ul > li .box_img {
  margin-right: 100px;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_footer .box_hotel > ul > li .box_img {
    margin-right: 50px;
  }
}
.con_footer .box_hotel > ul > li .box_img a {
  transition: 0.3s;
}
.con_footer .box_hotel > ul > li .box_img a:hover {
  opacity: 0.5;
}
.con_footer .box_hotel > ul > li .box_txt {
  flex: 1;
}
.con_footer .box_hotel > ul > li .box_txt > ul > li {
  font-size: 16px;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_footer .box_hotel > ul > li .box_txt > ul > li {
    font-size: 14px;
  }
}
@media (max-width: 640px) {
  .con_footer .box_hotel > ul > li .box_txt > ul > li {
    font-size: 14px;
  }
}
.con_footer .box_hotel > ul > li .box_txt > ul > li a {
  transition: 0.3s;
}
.con_footer .box_hotel > ul > li .box_txt > ul > li a:hover {
  opacity: 0.5;
}
.con_footer .box_hotel > ul > li .box_txt > ul > li:nth-of-type(n+2) {
  margin-top: 10px;
}
.con_footer .box_hotel > ul > li:nth-of-type(1) .box_img {
  width: 140px;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_footer .box_hotel > ul > li:nth-of-type(1) .box_img {
    width: 100px;
  }
}
@media (max-width: 640px) {
  .con_footer .box_hotel > ul > li:nth-of-type(1) .box_img img {
    width: 70%;
  }
}
@media (min-width: 1025px) {
  .con_footer .box_hotel > ul > li:nth-of-type(2) {
    margin-left: 100px;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_footer .box_hotel > ul > li:nth-of-type(2) {
    margin-left: 50px;
  }
}
@media (max-width: 640px) {
  .con_footer .box_hotel > ul > li:nth-of-type(2) {
    margin-top: 60px;
  }
}
.con_footer .box_hotel > ul > li:nth-of-type(2) .box_img {
  width: 200px;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_footer .box_hotel > ul > li:nth-of-type(2) .box_img {
    width: 140px;
  }
}
@media (max-width: 640px) {
  .con_footer .box_hotel > ul > li:nth-of-type(2) .box_img {
    width: 140px;
  }
}
.con_footer .box_sns {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 900px;
  margin: 20px auto;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_footer .box_sns {
    max-width: 400px;
  }
}
@media (max-width: 640px) {
  .con_footer .box_sns {
    max-width: 240px;
  }
}
.con_footer .box_sns .txt_sns {
  font-size: 16px;
  margin-right: 20px;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .con_footer .box_sns .txt_sns {
    font-size: 14px;
  }
}
@media (max-width: 640px) {
  .con_footer .box_sns .txt_sns {
    font-size: 14px;
  }
}
.con_footer .box_sns .box_icon > ul {
  display: flex;
  align-items: center;
}
.con_footer .box_sns .box_icon > ul > li {
  width: 30px;
}
.con_footer .box_sns .box_icon > ul > li a {
  transition: 0.3s;
}
.con_footer .box_sns .box_icon > ul > li a:hover {
  opacity: 0.5;
}
.con_footer .box_sns .box_icon > ul > li:nth-of-type(1) {
  margin-right: 20px;
}

/* --------------------------------------------------
	footer
-------------------------------------------------- */




/* --------------------------------------------------
	.con_youtube
-------------------------------------------------- */

.con_youtube{
  padding: 4rem 0;
}


@media (max-width: 640px) {
    .con_youtube {
    padding: 0 0 4rem 0;
    }
  }


.con_youtube > ul.yt-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(12px, 2vw, 20px);
      list-style: none;
      padding: 0;
      
      margin-top: 40px;
      
}
  @media (max-width: 640px) {
    .con_youtube > ul.yt-grid {
      margin-top: 20px;
    }
  }
 /* ====== Item (16:9, cover) ====== */
.con_youtube > ul.yt-grid .yt-item {
      position: relative;
      aspect-ratio: 16 / 9;   
      overflow: hidden;
      cursor: pointer;

    }

 .con_youtube > ul.yt-grid .yt-item img {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;     
      display: block;
    }
      
  .con_youtube > ul.yt-grid  .yt-item::after {
      content: "";
      position: absolute; inset: 0;
      margin: auto;
      width: 56px; height: 56px;
      background: rgb(255 255 255 / 70%);
      clip-path: polygon(30% 20%, 30% 80%, 80% 50%);
      pointer-events: none;
      transition: all 0.3s;
    }


  .con_youtube > ul.yt-grid  .yt-item:hover::after {
      transform: scale(1.1);     
    }

    /* ====== Modal ====== */

.con_youtube .modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: grid; 
  place-items: center; 
  padding: 20px;
  box-sizing: border-box;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.con_youtube .modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.con_youtube .modal iframe {
  width: min(960px, 90vw);
  height: calc(min(960px, 90vw) * 9 / 16); 
  border: 0;
  background: #000;
  display: block; 
  margin: 0;      
  z-index: 1;
}

.con_youtube .close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  z-index: 2; 
  border: 0;
  background-color: transparent;
}

.ratio-fallback { position: relative; }
.ratio-fallback::before { content: ""; display: block; padding-top: 56.25%; }
.ratio-fallback > img { position: absolute; inset: 0; }
