/*
 Theme Name:   toki_tcd069-child
 Template:     toki_tcd069
 Version:      1.0.0
*/
/** カラーパレットの変更 **/

/* black */
.has-black-background-color{
	background-color: #333;
}
.has-black-color{
	color: #333;
}
/* white */
.has-white-background-color{
	background-color: #fff;
}
.has-white-color{
	color: #fff;
}
/* gray */
.has-gray-background-color{
	background-color: #ABB8C3;
}
.has-gray-color{
	color: #ABB8C3;
}
/* pink */
.has-pink-background-color{
	background-color: #F78DA7;
}
.has-pink-color{
	color: #F78DA7;
}
/* red */
.has-red-background-color{
	background-color: #CF2E2E;
}
.has-red-color{
	color: #CF2E2E;
}
/* range */
.has-range-background-color{
	background-color: #FF6900;
}
.has-range-color{
	color: #FF6900;
}
/* amber */
.has-amber-background-color{
	background-color: #FCB900;
}
.has-amber-color{
	color: #FCB900;
}
/* green */
.has-green-background-color{
	background-color: #00D084;
}
.has-green-color{
	color: #00D084;
}
/* cyanblue */
.has-cyanblue-background-color{
	background-color: #0693E3;
}
.has-cyanblue-color{
	color: #0693E3;
}
/* ligthgray */
.has-lightgray-background-color{
	background-color: #f5f5f5;
}
.has-lightgray-color{
	color: #f5f5f5;
}
/* gold */
.has-gold-background-color{
	background-color: #84734b;
}
.has-gold-color{
	color: #84734b;
}
/* deepblue */
.has-deepblue-background-color{
	background-color: #00507D;
}
.has-deepblue-color{
	color: #00507D;
}
/* emerald */
.has-emerald-background-color{
	background-color: #0B83A1;
}
.has-emerald-color {
	color: #0B83A1;
}

/* 崩れてたので調整↓ */
#container div.indexBannerArea{
	max-width:100%;
	padding: 60px 30px 60px;
    box-sizing: border-box;
}
.ft-pg-bn{
	text-align:center;
}

table td,
table th{
	word-break: break-all;
	word-wrap: break-all;
}
.post_content .wp-block-image .aligncenter{
	display: table;
}

/* 言語タブ */
.pc body #header #header_lang.type1 li a{
	color:#333 !important;
}
/* カルーセル */
#footer_carousel { width:100%; height:150px; overflow:hidden; }
#footer_carousel .item { width:25%; }
#footer_carousel .item a {
  display:block; width:100%; height:150px; padding:10px; /*color:#fff;*/ position:relative;
  -webkit-box-sizing:border-box; box-sizing:border-box;
}
#footer_carousel .image { width:130px; height:130px; position:relative; overflow:hidden; z-index:2; background:rgba(255,255,255,0.5); }
#footer_carousel .image img { width:100%; height:auto; -webkit-backface-visibility:hidden; backface-visibility:hidden; }
#footer_carousel .title {
 font-weight:normal; position:absolute; /*font-size:24px;*/ line-height:1.6;
 left:170px; right:30px; top:50%; -webkit-transform: translateY(-50%); transform: translateY(-50%);
 -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out;
}

/* ブログ一覧　タグ */
#blog_list .item{
	height: 460px;
}
#blog_list .link{
	height: auto;
}
#blog_list .title_area{
	height:170px;
}
#blog_list .tag-list{
	height: 20px;
	margin-bottom:8px;
	overflow: hidden;
}
#blog_list .tag-list a{
	display:inline-block;
	margin:0 5px 5px 0;
	padding:5px 6px 3px;
    color: #999;
	border: 1px solid #999;
    border-radius: 3px;
	font-size: 10px;
}
#blog_list .tag-list a:first-child{
	display:none;
}
#blog_list .tag-list a:last-child{
	margin-right:0;
}
#blog_list .title a,
#blog_list .tag-list a{
	transition: 0.5s;
}
#blog_list .title a:hover,
#blog_list .tag-list a:hover{
	opacity:0.5;
}
body #blog_list .category a{
	color:#fff;
}
body #blog_list .image img{
	height: inherit;
	object-fit: cover;
}

/* ヘッダー検索・カレンダーボタン */
.search_btn,
.calendar_btn{
	position: absolute;
    z-index: 50;
    top: 0px;
    display: inline-block;
    font-size: 15px;
    height: 80px;
    text-decoration: none;
    text-align: center;
}
.search_btn{
	right: 160px;
	width: 60px;
}
.calendar_btn{
	display: flex;
    align-items: center;
    justify-content: space-around;
	right: 130px;
	width: 100px;
}
.calendar_btn span{
	display: inline-block;
    margin-top: 5px;
}

.search_btn:before,
.calendar_btn:before{
	
	display: block;
    position: absolute;
    top: 32px;
    left: 0;;
    right: 0;
    margin: auto;
    font-size: 18px;
	font-weight:900;
    width: 18px;
    height: 18px;
    line-height: 18px;
}
.search_btn:before{
	content: url(svg/search-icon.svg);
    width: 18px;
    height: 18px;
	
}

/* フッターパソナグループバナー */
.pasona-g-banner{
	display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% / 3 - 2px);
	max-width: 100%;
	padding: 60px 50px;
    box-sizing: border-box;
	border-left: solid 1px rgba(255,255,255,0.6);
}
.pasona-g-banner a{
	margin-bottom:10px;
}

/* アバターバナー */
.avatar_bn_close{
	position: absolute;
	top: -20px;
    right: 0;
	display: inline-block;
	width: 35px;
    height: 35px;
	border-radius: 30px;
	background: rgba(255,255,255,0.9);
    color: #000;
    font-weight: bold;
    font-size: 40px;
    text-align: center;
	line-height: 0.95;
    vertical-align: middle;
	cursor: pointer;
}
.avetar-top-fix{
	position: fixed;
    bottom: 60px;
    right: 6px;
    z-index: 100;
}
.avetar-top-fix img{
	max-width: 400px;
	height: auto;
}
/* デフォルトのアバターバナーの非表示 */
#avacomWidget .avacomWidget__container--close {
 display: none;
}

/* 動画サイト用設定============================== */

/* ヘッダー */
#header_logo .mobile_logo_image{
	max-width: 120px;
	height: auto;
	object-fit: cover;
}
.pc #header_inner #global_menu {
    display: none !important;
}
.pc #mobile_menu #global_menu > ul > li{
	display: block;
}
.pc #mobile_menu #global_menu > ul > li > a{
	height: auto;
	text-align: left;
}
.pc #header_lang{
	right: 45px;
}
.h_rsv_btn{
	display: flex;
	align-items: center;
	position: absolute;
    top: 0;
    right: 120px;
	height: 100%;
	z-index: 50;
	visibility: hidden; /* 非表示 */
}
.h_rsv_btn span{
	display: inline-block;
	padding: 15px 15px 12px;
    background: #84734b;
	border-radius: 3px;
    color: #fff;
	text-decoration: none;
    text-align: center;
    transition: all 0.2s;  
}
.h_rsv_btn span:hover{
	opacity: 0.7;
}
.pc .h_rsv_btn{
    right: 185px;
}

/* メニューボタン */
.pc #menu_button{
	display: block !important;
}
#menu_button {
  position:absolute; z-index:50; top:0px; right:15px;
  display:inline-block; font-size:11px; width:50px; height:70px; line-height:70px; text-decoration:none; text-align:center;
}
#menu_button span { text-indent:100%; white-space:nowrap; overflow:hidden; display:block; }
#menu_button:before {
  font-family:'design_plus'; display:block; position:absolute; top:28px; left:0; right:0; margin:auto;
  font-size:18px; width:18px; height:18px; line-height:18px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
#menu_button:before { content:'\f0c9'; }
#menu_button:hover, a.menu_button.active { }
#menu_button:hover:before, #menu_button.active:before { }
@media screen and (max-width:750px) {
  #menu_button { width:40px; height:60px; line-height:60px; right:10px; }
  #menu_button:before { top:23px; }
}


/* グローバルメニュー */
 #header #global_menu { display:none; } 
#mobile_menu #global_menu { width:100%; margin:0; }
#mobile_menu #global_menu ul { margin:0; }
#mobile_menu #global_menu ul ul { }
#global_menu li ul { display:none; }
#mobile_menu #global_menu a {
  position:relative; display:block;  margin:0; padding:18px 20px; line-height:1.6; overflow:hidden; text-decoration:none;
  color:#fff; font-size:13px; border-bottom:1px solid rgba(255,255,255,0.2);
  -webkit-box-sizing:border-box; box-sizing:border-box;
}
#mobile_menu #global_menu a:hover { color:#fff; }
#mobile_menu #global_menu ul ul a { padding-left:32px; }
#mobile_menu #global_menu ul ul ul a { padding-left:47px; }
#mobile_menu #global_menu ul ul ul ul a { padding-left:60px; }


/* グローバルメニュー（子メニュー） */
#mobile_menu #global_menu li { position:relative; }
#mobile_menu #global_menu .child_menu_button { display:block; position:absolute; text-align:center; width:55px; height:55px; right:0px; top:1px; z-index:9; cursor:pointer;  }
#mobile_menu #global_menu .child_menu_button .icon:before {
  font-family:'design_plus'; content:'\e90e'; color:#fff; text-align:center;
  display:block; font-size:12px; width:12px; height:12px; line-height:12px;
  position:absolute; right:22px; top:25px;
}
#mobile_menu #global_menu .child_menu_button.active .icon:before, #mobile_menu #global_menu .child_menu_button:hover .icon:before { color:#fff; border-color:#fff; }
#mobile_menu #global_menu li.open > .child_menu_button .icon:before { content:'\e911'; }
#mobile_menu #global_menu li.open > ul {  }
#mobile_menu #global_menu .child_menu_button:hover { background:rgba(0,0,0,0.2); }


.open_menu #mobile_menu{
    background: #00507d;
}
.pc #mobile_menu　#global_menu{
	display: block;
}
.pc #mobile_menu #global_menu > ul > li > a, 
.pc .home #mobile_menu #global_menu > ul > li.current-menu-item > a {
    color: #fff !important;
}
/* スライドメニュー */
#mobile_menu {
  position:fixed; top:0px; right:-400px; width:400px; height:100%; background:#333; overflow:auto; z-index:9999;
  -webkit-transition:right 300ms cubic-bezier(0.190, 1.000, 0.220, 1.000); transition:right 300ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  -webkit-overflow-scrolling: touch;
}
.open_menu #mobile_menu { right:0; box-shadow:-5px 0 20px 0 rgba(0,0,0,0.4); }
@media screen and (max-width:500px) {
  #mobile_menu { right:-80%; width:80%; }
}


.open_menu #container:before {
  content:''; display:block; width:100%; height:100%; position:fixed; top:0px; left:0px; background:rgba(0,0,0,0.6); z-index:9999;
}
/* safariとedgeのみ背景をぼかす */
_::-webkit-full-page-media, _:future, :root .open_menu #container:before { background:rgba(0,0,0,0.6); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
@supports (-ms-ime-align: auto) {
  .open_menu #container:before { background:rgba(0,0,0,0.6); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
}
/* ぼかしはここまで */


/* 背景色変更 */
#video_content{
	background: #00507d;
	padding-bottom: 5em;
}
.overlay{
	opacity: 1 !important;
}
/* トップページ */
body #header_slider_wrap,
body #header_slider,
body #header_slider .item,
body #page_header,
body #page_header_inner{
	height: 300px;
}
#video_content,
#video_content a,
#video_content p{
	color: #fff;
}
#video_content .catch{
	font-size: 30px;
}
#video-list{
	display: grid;
  	grid-template-columns: repeat(4, 1fr); /* 4列にする */
  	gap: 1.5em; /* カードの間隔 */
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
	padding-bottom: 55px;
	box-sizing: border-box;
}
.video-item > a::after {
    content: url(https://videos.awajishima-resort.com/wp-content/themes/toki_tcd069-child/svg/open_in_new.svg);
    position: absolute;
    right: 10px;
    bottom: 10px;
}
.video-item > a {
    position: relative;
    font-size: 0;
}
.video-item img{
	width: 100%;
	height: auto;
	max-height: 475px;
	margin-bottom: 5px;
	object-fit: cover;
	border-radius: 5px;
}

.video-item .title{
	margin-bottom: 1em;
	line-height: 1.6;
	text-align: left;
}
.mobile .video-item .title{
	font-size:0.9em;
}

#video_content .page_navi a{
	color: #000;
}
#video_content .page_navi a{
	background: #fff;
}
#video_content .page_navi a:hover{
	color: #fff;
}
.index_cb_button.video_button a{
	background: #84734b;
	color: #fff;
	transition: all 0.2s;
	
}
.index_cb_button.video_button a:hover{
	color: #fff;
	opacity: 0.7;
}

/* 動画投稿詳細ページ */
/* main.video-single{
	background: #00507d;
}
main.video-single .post_content,
main.video-single .post_content a,
.video-item a{
	color:#fff;
} */
main.video-single #main_col {
    width: 100%;
    background: none;
}
main.video-single article{
	padding-bottom: 5em;
}
.video-embed{
	margin-bottom: 1.5em;
}
#video-text,
#video-area  {
    padding: 30px 30px;
	box-sizing: border-box;
}
#video-area{
	width: 40%;
}
#video-text{
	width: 60%;
}
main.video-single .post_content{
	display: flex;
    flex-direction: row-reverse;
	padding: 40px 0;
}
ul.tag-list{
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 1em;
	font-size: 0.9em;
}
ul.tag-list li{
	padding-right: 10px;
}
ul.tag-list li::before{
	content: "#";
}
.video-single ul.tag-list{
	margin: 0 0 1.5em;
}
.related-videos{
	border-top: solid 1px rgba(255, 255, 255, 0.6);
}
.video-single #archive_catch.related-videos h3{
	margin-bottom: 2em;
	color: #000;
}
.video-single #video-list{
	padding: 0;
}


/* フッター */
	#footer_rss_list{
		width: calc(100% / 3);
	}


/* 施設ページ以外でのショップ詳細テーブル */

.shop_data_tb th,
.post_tb td:first-child{
	width: 180px;
	box-sizing: border-box;
	background: #f2f2f2;
    font-weight: normal;
}
.shop_data_tb th,
.shop_data_tb td{
	border: 1px solid #ccc;
    padding: 10px 15px;
    line-height: 2.2;
}
/* table */
.page_tb table { margin:50px 0 24px 0; width:100% !important; }
.page_tb td, .page_tb th { border:1px solid #ccc; padding:10px 15px; line-height:2.2; background:#fff;color:#000; }
.page_tb th,.post_tb td:first-child { background:#f2f2f2; font-weight:normal; }
.post_content td, .post_content th{
	color:#000;
}
/* ===== ショートコード用 ===== */
.shop_data_tb{
	color: #000;
}
main.video-single .post_content .shop_data_tb a{
	color: #00507d;
}

/* 予約するボタン */
body .sc-btn,
body .sc-btn2{
	margin: 50px auto 30px;
	font-weight:bold;
}
body .sc-btn a,
body a.sc-btn{
	display: block;
	max-width:350px;
	padding: calc(0.667em + 2px) calc(1.333em + 2px);
	background: #84734b;
	color: #fff !important;
	border-radius: 30px;
	line-height: 2.4;
	text-align: center;
	font-weight:normal;
	transition: all 0.2s;
}
body .sc-btn2 a,
body a.sc-btn2{
	display: block;
	max-width:350px;
	margin:20px auto 0;
	padding: 14px 25px 12px;
	background: rgb(242,117,7);
	background:linear-gradient(0deg, rgba(242,117,7,1) 0%, rgba(252,158,76,1) 100%);
	color: #fff !important;
	border-radius: 10px;
	font-size: 18px;
	line-height: 1.5;
	text-align: center;
	text-shadow: 0px 1px 1px rgba(0,0,0,0.34);
	transition: all 0.2s;
	box-shadow: inset 0px -1px 3px #8f4708; 
}
body .sc-btn2 strong::after{
	content:url("https://awajishima-resort.com/wp-content/uploads/2023/01/arrow-orange.webp");
	display:inline-block;
	margin-right: -15px;
	padding-left:15px;
	vertical-align: middle;
    line-height: 1;
}
body .sc-btn a{
	margin-top:20px;
	margin-right: auto;
    margin-left: auto;
}
body .sc-btn a:hover,
body a.sc-btn:hover{
	opacity:0.7;
}

.shop-ota-btn a{
	display: inline-block;
}
p.sc-title{
	font-size:24px;
    margin: 0 0 0.8em 0;
    padding: 10px 0 0 0;
	line-height: 1.4;
	font-weight:600;
}
/* CGM用のボタン */
.cgm-btn{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
    margin-bottom: 50px;
    padding: 3% 2%;
    border: 1px solid #ccc;
    border-radius: 10px;
}
.cgm-btn a{
	width:35%;
	box-sizing: border-box;
	padding:0 2%;
	margin-top: 10px;
}
.cgm-btn.btn3{
	justify-content: left;
}
.cgm-btn.btn3 a{
	width:33%;
}
body p.cgm-txt{
	text-align: center;
    margin-bottom: -21px;
}
body p.cgm-txt strong{
	display: inline-block;
    margin: 0 auto;
    background: #fff;
    padding: 0 20px;
	font-weight:400;
}
/* 予約ボタンポップアップ============================== */
.rsv-btn{
	display:none;
}
.rsv-form label{
	color: #000;
}

@media screen and (max-width:1230px) {
	#header #header_lang_button{
		right: 50px;
	}
	.mobile #menu_button{
		right: 10px;
	}
	/* ヘッダー検索ボタン */
	.search_btn{
		height: 70px;
/* 		right:160px; */
		right:100px;
	}
	.calendar_btn{
		height: 70px;
		right:60px;
	}
	.search_btn:before,
	.calendar_btn:before{
		top: 28px;
	}

	
}
@media screen and (max-width:1024px) {
	.video-embed iframe{
		max-height: 600px;
	}


}
@media screen and (max-width:950px) {
	/* フッター */
	#footer_rss_list{
		width:auto;
	}

}
@media screen and (max-width:768px) {
	/* フッターパソナグループバナー */
	.pasona-g-banner{
		width: 100%;
		padding: 30px 20px 28px;
		border-left: 0;
	}

}
@media screen and (max-width:750px) {
	/* ヘッダー検索・カレンダーボタン */
	.search_btn{
		width: 40px;
		height: 60px;
	}
	.calendar_btn{
		width: 100px;
		height: 60px;
		right:50px;
	}
	.calendar_btn span{
		font-size: 14px;
	}
	.search_btn:before,
	.calendar_btn:before{
		top: 22px;
	}


	/* 動画投稿詳細 */
	main.video-single .post_content{
		display: block;
		padding: 0;
	}
	#video-text,
	#video-area  {
		width: 100%;
    	padding: 20px 20px 0px;
	}
	#video_content .catch{
		font-size: 20px;
	}
	main.video-single h2{
		font-size: 18px;
		line-height: 1.5;
	}
		/* 動画サイト用 */
	.mobile .h_rsv_btn{
		right: 110px;
	}
}

@media screen and (max-width:500px) {
	/* トップスライダー */
	body #header_slider_wrap,
	body #header_slider,
	body #header_slider .item,
	body #page_header,
	body #page_header_inner{
		height: 180px;
	}
	body #header_slider{
		background: #fff;
	}
	#video-list{
  		grid-template-columns: repeat(2, 1fr); /* 4列にする */
	}
	
	/* フッターカルーセル */
	#footer_carousel { width:100%; height:110px; overflow:hidden; }
	#footer_carousel .item { width:calc(100% / 3); }
	#footer_carousel .item a { height:110px; padding:10px; }
	#footer_carousel .image { width:90px; height:90px; }
	#footer_carousel .title { font-size:16px; left:120px; right:20px; }
	
	/* ブログ一覧　タグ */
	body #blog_list .title_area{
		height:140px;
	}
	body #blog_list .title_area .date {
    	bottom: 13px;
	}
	body #blog_list .title_area .title:before{
		content:none;
	}
	
	/* アバターバナー */
	.avetar-top-fix img{
		max-width: 84%;
    	margin: 0 8%;
	}
	.avetar-top-fix{
		right:0;
		bottom: 50px;
	}
	.avatar_bn_close{
		top: -30px;
		right: 8%;
	}
	
	/* ショートコードのtable */
	.shop_data_tb th, .post_tb td:first-child {
        width: 100px;
    }
	

}
/* iphone SE 対策 */
@media screen and (max-width:350px) {
	#header_logo .mobile_logo_image{
		max-width: 115px;
		height: auto;
	}
}