@charset "UTF-8"

/*
	Theme Name: フォレスト247
*/


/*base*/

*,*:before,*:after,li{
	box-sizing: border-box!important;
}

html,body {
	font-family: "Noto Sans JP", sans-serif;
	margin:0;
	padding:0;
	position: relative;
}

ul:not(.note){margin:0; padding:0; list-style-type: none;}
p{font-size:16px; line-height:1.6; color:var(--blk); margin:1em 0;}
p,li{font-size:16px;}
img {max-width: 100%;}
a,a:link,a:visited{text-decoration: none;}
a:hover {opacity:0.6;}


h2,h3,h4,h5,h2 span,h3 span,h4 span,h5 span{font-weight:bold;}

.pconly{display:none;}
.sponly{display:block;}

@media only screen and (min-width: 700px){
	.pconly{display:block;}
	.sponly{display:none;}
}

span.br{display:inline-block;}

.br-sp {display: block;}
.br-pc {display: none;}

@media screen and (min-width: 700px){
.br-sp {display: none;}
.br-pc {display: block;}
}

.center{text-align:center;}
.left{text-align:left;}
.right{text-align:right;}

@media (max-width: 700px){
.center-sp{text-align:center;}
}

.flex,.flex-sp{
	display:flex;
	justify-content: center;
	align-content: center;
}
@media (max-width: 700px){
	.flex:not(.reverse){flex-direction: column;}
	.flex.reverse{flex-direction: column-reverse;}
	}

.note{
	color: var(--blk);
	margin:0; 
	padding:1rem 0;
	text-align: left;
	font-size:1rem;
	list-style-type: none;
}
.note li{
	position: relative;
	text-indent: -1em;
	padding-left: 1em;
	line-height: 2;
}
.note>li:before{
	content:"※";
	left:0;
}


:root{
	--grn:#339E82;
	--lbrwn:#B7A89F;
	--dbrwn:#736357;
	--red:#F2515D;
	--blk:#10140E;
	--size40:clamp(2rem, 1.786vw + 1.643rem, 2.5rem);
	--size42:clamp(1.375rem, 3.333vw + 0.583rem, 2.625rem);
	--size36:clamp(1.25rem, 1.818vw + 0.886rem, 2.25rem);
	--size32:clamp(1.375rem, 1.136vw + 1.148rem, 2rem);
	--size24:clamp(1.125rem, 0.682vw + 0.989rem, 1.5rem);
	--size22:clamp(1.125rem, 0.455vw + 1.034rem, 1.375rem);
}


/*PC電話リンク*/
@media (min-width: 751px) {
a[href*="tel:"] {
pointer-events: none;
cursor: default;
text-decoration: none;
}
}


/*レイアウト*/

body:not(.home){
	display:flex;
	flex-flow:column;
	min-height:100vh;
}

main{overflow: hidden;}

main:not(.home main){
	flex:1;
	margin-top: 80px;
}


section .inner{
	max-width:980px;
	padding:80px 20px;
	margin:0 auto;
}

@media (max-width: 700px){
	section .inner{padding:60px 20px;}
}

section .inner:not(.home section .inner){
	padding:40px 20px;
}

@media (max-width: 700px){
	section .inner:not(.home section .inner){padding: 30px 20px;}
}

/*ヘッダー*/

.header{
	box-sizing: border-box;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 10px;
	z-index: 99;
	display:flex;
	justify-content: space-between;
	align-items: center;
	transition: 0.5s;
}

.header:not(.home .header){
	background:rgba(0 ,169 ,157, 0.8);
}

header.scroll-nav{
	background:rgba(0 ,169 ,157, 0.8);
	/*background:rgba(183, 168, 159, 0.7);*/
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}


.h-logo{transition: 0.5s;}

.h-logo img{
	max-width: 260px;
	vertical-align:bottom;
}

header.scroll-nav .h-logo img{max-width: 200px;}




.menu-btn {
	position: relative;
	display: flex;
	height: 50px;
	width: 50px;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	z-index: 90;
	transition: 0.5s;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 28px;
    border-radius: 3px;
    background-color: #fff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 10px;
}
.menu-btn span:after {
    top: 10px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

.menu-btn:hover,.menu-btn:active,.menu-btn:focus{background-color:rgba(0,0,0,0.3);}

#menu-btn-check:checked ~ .menu-btn{background-color:rgba(0,0,0,0.3);}

.menu-btn p{
    font-size: 12px;
    color: #fff;
	padding-top:36px;
}

.menu-inner {
	width: 80%;
	height: 100%;
	position: fixed;
	top: 0;
	right: -100%;
	z-index: 80;
	background-color: var(--grn);
	transition: all 0.5s;
}

.menu-inner .btn{margin: 70px 20px 20px;}

.menu-inner .btn a{
    width: 100%;
    max-width: 230px;
    box-sizing: border-box;
}


.menu-inner ul {
    padding: 0 10px 70px;
}
.menu-inner ul li {
	background: url(img/parts_line.png) repeat-x 100% 100%;
    /*border-bottom: solid 1px #ffffff;*/
    list-style: none;
}
.menu-inner ul li a {
	display: block;
	width: 100%;
	font-size: 18px;
	box-sizing: border-box;
	color:#ffffff;
	text-decoration: none;
	padding: 15px 10px;
	margin: 6px 0;
	position: relative;
}
.menu-inner ul li a::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 10px;
    top: 21px;
}

.menu-inner ul li a:hover{
	background-color: rgba(0,0,0,0.3);
}

#menu-btn-check:checked ~ .menu-inner {
    right: 0;
}

.menu-inner ul li span{
	font-size:0.8rem;
	padding-left:10px;
}


/*tt*/

.tt-wide{
	margin-bottom:3rem;
}

.tt-wide img{width:100%;}

.tt-wide img.pconly{
	width:80%;
	display: inline-block;
}

@media (max-width: 700px){
    .tt-wide img.pconly{display: none;}
}

.tt-maru{
	font-family: "Zen Maru Gothic", sans-serif;
}


/*btn*/

.btn a{
	/*width: 200px;*/
	text-align: center;
	display: inline-block;
	margin: 0 auto;
	border: 2px solid #fff;
	border-radius: 50px;
	position: relative;
	color: #fff;
	padding: 10px 50px 10px 46px;
	margin-top: 10px;
	font-size: 16px;
	font-weight: 500;
}

.btn.grn a{background: var(--grn);}

.btn.red a{background: var(--red);}

.btn a::after{
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 20px;
	width: 8px;
	height: 8px;
	margin: auto;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
}

.btn img{
    width: 20px;
    vertical-align: middle;
    margin-left: 6px;
    margin-bottom: 2px;
}

.btn span{
	display: block;
	font-size: 12px;
}

.two-btn.flex{
	justify-content: center;
	gap: 20px;
}


/*bgimg*/

.bgimg1,.bgimg2{
	position:absolute;
	opacity: 0.3;
}

.bgimg1{
	width:30%;
	max-width:340px;
}

@media (max-width: 768px){
	.bgimg1{
	width: 50%;
        max-width: 300px;
	}
}

.bgimg2{
	width: 40%;
	max-width: 240px;
}

#greeting .bgimg1{
	top: -30px;
	z-index: -1;
}

#movie .bgimg2{
	top: -100px;
	right: -20px;
	z-index: -2;
}

/*movie追加でこっちに戻す
#facilities .bgimg2{
	top: -30px;
	left: -20px;
	z-index: -1;
}*/

#facilities .bgimg2{
	top: -140px;
	right: -30px;
	z-index: -1;
}


#event .bgimg1{
	bottom: -100px;
	right: -20px;
	z-index: -1;
}

#insta .bgimg2{
	left: -30px;
}

#about .bgimg1{
	z-index: -1;
	top: -30px;
	left: -40px;
}

#about .bgimg2{
	bottom: -20px;
	right: -20px;
}

#access .bgimg1{
	right: -20px;
	top: -40px;
}



/*mv*/

#mv{position: relative;}

.mainlogo{
	width: 100%;
	max-width: clamp(8.75rem, 26.316vw + 3.487rem, 15rem);
	position: absolute;
	margin: auto;
	top: 20%;
	left: 0;
	right: 0;
	z-index: 10;
	pointer-events: none; 
}

.swiper-slide{
	position:relative;
	width:100%;
	height:70vh;
	min-height:500px;
}

.swiper-slide img{
	height: 70vh;
	min-height:500px;
	/*height: 70vh!important;*/
	width: 100vw;
	object-fit: cover;
	display: block;
}

@media (min-width: 768px){
	.swiper-slide img{height: 100%;}
}

.swiper-slide .tt-maru{
	position:absolute;
	left:10%;
	bottom:14%;
	font-size: var(--size32);
	line-height: 1.4;
	color:#fff;
}


/*ごあいさつ*/

#greeting{
	padding-top:3rem;
	position:relative;
}

#greeting .right{
	margin-top: 2rem;
}




/*movie*/

#movie{
	padding-top: 4rem;
	position:relative;
}

#movie .inner{
	position: relative;
	max-width: 800px;
	text-align: center;
}

#movie .fade{
	position: relative;
}

#movie iframe{
	aspect-ratio: 3 / 2;
	max-width: 800px;
	position: relative;
	z-index: -1;
}

#movie .tt-wide{
    position: absolute;
    top: -60px;
}

#movie .tt-wide img{
	max-width: 160px;
	filter: drop-shadow(2px 2px 0px #fff);
}



/*設備案内*/

#facilities .inner{position:relative;}

.fac-list{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

@media (max-width: 700px){
	.fac-list{grid-template-columns: repeat(2, 1fr);}
}

.fac-list>li>ul{
	align-items: center;
	gap: 10px;
	justify-content:flex-start;
}

.fac-list>li>ul>li>.icon{
    background: var(--lbrwn);
    width: 40px;
    height: 40px;
    border-radius: 80px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fac-list>li>ul>li:nth-child(even){
	font-size: 14px;
	color:var(--blk);
}

.fac-list>li>ul>li img{width: 30px;}



/*体験イベント*/

#event{
	background: url(./img/bg_event.png) no-repeat center / contain;
	position: relative;
	z-index: -2;

}

@media (max-width: 700px){
	#event{
	background: url(./img/bg_event_sp.png) no-repeat center / cover;
	}
}

#event .inner{position:relative;}

#event .flex{gap: 1rem;}

#event .flex li{position:relative;}

#event .flex li div{text-align: center;}

#event .flex li h3{
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
	top: 10px;
	color: var(--grn);
	font-size: var(--size22);
}

#event .tt-event{
    font-weight: bold;
    color: var(--dbrwn);
    font-size: var(--size24);
    margin: 3rem 0 1rem;
}


/*インスタ*/

#insta .inner{position:relative;}

#sbi_load{margin-top:2rem;}

/*インスタ_テスト表示用*/

.thum{
	text-align: center;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

@media (max-width: 700px){
	.thum{grid-template-columns: repeat(2, 1fr);}
}

.insta-link{
	display: flex;
	margin: 3rem 0 0;
	text-align: center;
	gap: 20px;
	align-items: center;
	justify-content: center;
}


.insta-link a.gray,.insta-link a.grn{
	color:#fff;
	font-size: 14px;
	padding:8px 1.4rem;
}

.insta-link a.gray{
	background:#666;
	
}

.insta-link a.grn{
	background:var(--grn);
}

.insta-link img{
    width: 20px;
    vertical-align: middle;
    margin-right: 6px;
}

/*お知らせ*/

.info-list a{
	position:relative;
	display:block;
	width:100%;
	height:100%;
}

.info-list a:after{
	content: "";
	position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    width: 8px;
    height: 8px;
    margin: auto;
    border-top: 2px solid var(--dbrwn);
    border-right: 2px solid var(--dbrwn);
    transform: rotate(45deg);
}

.info-list a:hover{
	background:rgba(233,224,220,0.5);
}

.info-list li{
	display:flex;
	align-items: center;
	border-bottom: 2px dotted var(--dbrwn);
	padding: 1rem 0;
}

.info-list time{
	color:#999;
	margin-right:10px;
}

.info-list h3{
	color:#000;
	font-size: 18px;
	font-weight: 400;
	margin: 0;
}


@media (max-width: 700px){
	.info-list li{
	flex-direction: column;
	align-items: flex-start;
	}
	.info-list h3{margin: 10px 0 0 0;}
}

#news .btn{margin-top: 3rem;}




/*旧お知らせ、スポット共通*/

.grid3-1{
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 50px;
}

@media (min-width: 500px){
	.grid3-1{
	grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 700px){
	.grid3-1{
	grid-template-columns: repeat(3, 1fr);
	}
}

.grid3-1 li{
    display: flex;
    flex-direction: column;
}

.ctm-post-img{
	position:relative;
	max-width: 300px;
	margin: 0 auto;
}

.ctm-post-img .distance {
	position: absolute;
	right: -10px;
	bottom: -10px;
	padding: 10px;
	border: solid 3px #fff;
	border-radius: 80px;
	width: 80px;
	height: 80px;
	color: #fff;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.2;
	background-color: var(--grn);
	display: flex;
	justify-content: center;
	align-items: center;
}

.ctm-post-img .distance span{
	font-size: 24px;
	padding: 0 3px;
}

.ctm-post-img img{
	width:100%;
	border-radius: 20px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.ctm-post-txt{
display: flex;
    flex-direction: column;
}

.ctm-post-txt h3{
	font-size: var(--size24);
	height:auto;
}

@media (min-width: 500px){
	.ctm-post-txt h3{height: 70px;}
}

.ctm-post-txt p{
	flex-grow: 1;
	margin:0 0 01rem 0;
}

.ctm-post-txt .cat{
	display: flex;
	flex-wrap: wrap;
}

.ctm-post-txt .cat li{
	font-size: 13px;
	color: #666;
	background: #eee;
	border-radius: 4px;
	padding: 3px 8px 4px;
	margin-right:4px;
}

.grid3-1 time,.ctm-post-img time,.single time{
	color: #999;
	margin: 0 0.5rem 0.5rem;
}

.ctm-post-txt a:not(.cat a,.btn a){
	display: inline-block;
	position: relative;
	font-size: 14px;
	margin-left: 8px;
	padding: 2px 30px 3px 20px;
	color: #fff;
	background: var(--red);
	border-radius: 30px;
}

.ctm-post-txt a:not(.cat a,.btn a)::after{
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 12px;
	width: 6px;
	height: 6px;
	margin: auto;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
}



/*お知らせ*/

#news .grid3-1{
	margin-bottom: 3rem;
}


/*スポット*/


/*アクセス*/

#access .inner{position:relative;}

iframe{display: block;}



/*フッター*/

.d-footer{
	padding: 2rem;
	background: var(--lbrwn);
	justify-content: space-between;
	align-items: flex-end;
}

.f-logo img{width: 120px;}

.sns img{
	width: 24px;
	margin-right: 10px;
	margin-bottom:10px;
}

a.f-logo,a.sns{display: inline-block;}

.copy{
	background: var(--grn);
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 2rem;
}

.copy ul li a,.copy p{
	font-size:14px;
	color:#fff;
	margin: 0.5rem;
}

.copy li{gap: 1rem;}

@media (max-width: 700px){
	.d-footer{
	align-items: center;
	}

	.d-footer>div:first-child{margin-bottom:1rem;}

	.btn.right{text-align:center;}

	.copy ul{margin:0.5rem 0;}

	.copy p{text-align: center;}
}





/*下層共通*/


/*ぱんくず*/

.bread{padding-bottom: 3rem;}

.bread ul{list-style: none;}

.bread li{
	display: inline;
	font-size:13px;
	color:#666;
}

.bread li a{
    color: inherit;
    text-decoration: none;
  }
.bread li + li:before{
    content: ">";
    margin:.5em;
}

.bread li:last-child{color:var(--blk);}




/*アーカイブページ　カスタム投稿共通*/

.archive .contents-header h2{
	padding-bottom: 3rem;
	font-size: 1.6rem;
}

.archive ul{list-style-type: none;}

.archive .grid3-1 li{
	display: flex;
	flex-direction: column;
}

.archive .ctm-post-txt{
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.archive .ctm-post-txt p{
	flex-grow: 1;
}

.archive .btn{margin-top: 1rem;}

.entry h3{color:var(--blk);}

.ctm-post-txt .cat li a{color: #666;}



/*アーカイブページ　お知らせ*/

.post-type-archive-infopage .entry li{
	width:100%;
	border-top:solid #ccc 1px;
	padding: 1rem 0;
}




/*タクソノミー一覧ページ*/

.tax-spotpage-cat time{display:none;}


/*アーカイブ　ページネーション*/

.pagination{
    padding: 2rem 0;
    text-align: center;
}

.page-numbers{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-numbers li a,.page-numbers span.current{
	padding: 10px;
	border-radius: 30px;
	width: 20px;
	height: 20px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

.page-numbers span.current{
	background: #ddd;
}

.page-numbers li a{
	background: var(--grn);
	color: #fff;
}




/*投稿ページ*/

.post-detail .flex,.news-detail .flex,.spot-detail .flex{
	gap: 30px;
	margin: 3rem 0;
}

.single .ctm-post-img img{margin-top: 0.5rem;}

.news-detail .flex:not(.two-btn){
	justify-content: flex-start;
	margin-top: 0;
}

.news-detail .flex h1{
	margin: 0 0 1rem 0;
	font-size: var(--size32);
}



/*固定ページ*/
.header-wrap{
	position: relative;
}
.page_thumbnail{
	display: block;
	height: 400px;
	width:100%;
	margin:0 auto;
	background-size:cover;
	background-position:left;
}

.header-wrap h2{
	position: absolute;
	top: 50%;
	left: 3em;
}






/*私たちについて*/

#about{position:relative;}

#about .inner{
	max-width: 800px;
}

#about p{
	line-height: 2;
}


table.tbl-1 {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
	color:var(--blk);
	margin: 3rem 0;
}

.tbl-1 tr {
	table-layout: fixed;
	display: flex;
	position: relative;
	border-bottom: 2px dotted var(--dbrwn);
}

.tbl-1 th {
	color: var(--dbrwn);
	text-align:left;
	font-weight: normal;
	width:20%;
}

.tbl-1 th,.tbl-1 td{
	padding: 16px 0 18px;
	line-height: 1;
}

.tbl-1 th,.tbl-1 td{margin: 0 0 -1px;}

@media only screen and (max-width: 700px) {
	.tbl-1 tr{flex-direction:column;}
	.tbl-1 th,.tbl-1 td {display: block;}
	.tbl-1 th {width:100%;}
	.tbl-1 td{padding-top: 0;}
}



/*404エラー*/

#error h2{
	font-size: var(--size36);
	color: var(--dbrwn);
	border-bottom: 2px dotted var(--dbrwn);
}


/*Contactform用調整*/

.wpcf7 p,.wpcf7 label,.wpcf7,.wpcf7 select, .wpcf7 .wpcf7-list-item-label{font-size:16px!important;}

.wpcf7{
	padding: 2rem 0;
	background: unset!important;
	border: none!important;
}

.wpcf7 form{
	margin:0!important;
}

.wpcf7 input:not(.wpcf7-list-item input,.wpcf7-submit){
	width: 100%;
	height: 36px;
	margin-top: 6px;
	border: solid 1px #ccc;
}

.wpcf7 textarea{
    width: 100%;
    border: solid 1px #ccc;
    margin-top: 6px;
}

.wpcf7 form p:last-of-type{
	text-align:center;
	margin:2rem 0;
}

.wpcf7-submit{
    width: 200px;
    padding: 10px;
    background: var(--red);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: 2px #fff solid;
    border-radius: 40px;
}


/*アニメーション*/

/*animation*/

@keyframes fadein{
	0% {opacity: 0;}
	100% {opacity: 1;}
}

@keyframes zoom {
	0% {transform: scale(1);}
	50% {transform: scale(1.1);}
	100% {transform: scale(1);}
}

@keyframes pulse {
	0% {transform: scale(1);}

	50% {transform: scale(1.05);}

	100% {transform: scale(1);}
}


@keyframes scaleup {
	0% {
		opacity: 0;
		transform: scale(0.2);
	}

	50%{transform: scale(1.3);}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes shake {
	0%,100%{transform: rotate(0deg);}
	10% {transform: rotate(1deg);}
	20%,40%,60% {transform: rotate(-2deg);}
	30%,50%,70% {transform: rotate(2deg);}
	80% {transform: rotate(-1deg);}
	90% {transform: rotate(1deg);}
}

@keyframes slideout-bottom {
	0% {
		opacity: 1;
		transform: translateY(0);
	}

	100% {
		opacity: 0;
		transform: translateY(50px);
	}
}

@keyframes slideleft {
	0% {
		opacity: 0;
		transform: translateX(-100px);
	}
	100% {
		opacity: 1;
		transform: translateX(0px);
	}
}

/*親要素にoverflow: hidden;を入れる*/

.slide-right.fade{
	opacity: 0;
	transition: all 0.6s ease;
	transform: translate(100px, 0);
}

.slide-left.fade{
	opacity: 0;
	transition: all 0.6s ease;
	transform: translate(-100px, 0);
}

.fadein-center.fade{
	opacity: 0;
	transition: all 1.0s ease;
}

.slide-up.fade{
	opacity: 0;
	transition: all 0.6s ease;
	transform: translate(0, 100px);
}

.slide-right.fade.active,.slide-left.fade.active,.fadein-center.fade.active,.slide-up.fade.active{
	opacity: 1;
	transform: none;
}





