/* 幅1080px以下の表示
-------------------------------------*/
@media screen and (max-width: 1080px){
}
/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
/*ヘッダー
-------------------------------------*/
	.header {
    	margin-bottom: 10px;
	}
	.c-header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		background-color: #f0f0f0;
		z-index: 1000; /* 他の要素よりも前面に表示 */
		flex-direction: column;
	}
	.h-logo {
		width: 40%;
		padding-left: 1%;
		margin-bottom: 0;
	}
	.h-nav {
		width: 100%;
		margin: 0 auto;
		background: rgba(113,177,203,0.4);
		margin-bottom: 0.5rem;
	}
	.header #open,#close  {
		position: absolute;
		top: 20%;
		right: 5%;
	}
	nav ul {
		flex-direction: column;
		justify-content: center;
		margin: 0 auto;
	}
	nav li {
		margin: 0.5rem auto;
		padding-top: 0;
	}
	.first-row {
		padding-left: 0;
	}
/* スマホ時はMENUボタンを表示 */
	#open {
		display: block;
		background: url("../image/button.svg");
		background-repeat: no-repeat;
		background-size: contain;
		width: 40px;
		height: 40px;
		border: none;
		position: absolute;
		top: 20%;
		right: 5%;
	}
	#close  {
		display: block;
		background: url("../image/button02.svg");
		background-repeat: no-repeat;
		background-size: contain;
		width: 40px;
		height: 40px;
		border: none;
		position: absolute;
		top: 20%;
		right: 5%;
	}
/* スマホ時はメニューを非表示 */
	#navi {
		display: none;
	}
	.h-tel {
		font-size: 1.6rem;
		padding-left: 5%;
		background-size: 10%;
	}
	.sns_logo ul {
		flex-direction: row;
		justify-content: space-around;
		margin: 0 auto;
		padding: 0;
	}
	.sns_logo img {
		width: 30px;
	}  
/*メイン画像
-------------------------------------*/
	.mainimg {
		margin-top: 20%;
		letter-spacing: 0.1rem;
	}
	.mainimg video {
		width: 100%;
	}
	.mainimg img {
		width: 98%;
	}
	.t-text01 {
		top: 2%;
		right: 3%;
		font-size: 1rem;
		margin-bottom: 0;
	}
	.t-text02 {
		left: 3%;
		font-size: 0.9rem;
		margin-bottom: 0;
	}
/*スライダー
-------------------------------------*/
.slider {
	margin-top: 20%;
	width: 100vw;
	height: 68vh;
}
.s-text01 {
	top: 3%;
	right: 2%;
	font-size: 1.4rem;
	line-height: 1.4;
}
.s-text02 {
	bottom: 2%;
	left: 2%;
	font-size: 1.2rem;
	line-height: 1.2;
}
.slid_text {
	letter-spacing: 0.2rem;
	font-weight: bold;
	}
/*メインコンテンツ
-------------------------------------*/
	main {
		margin: 4rem 0 0 0;
	}
	section {
		padding: 1rem 0 0 0;
	}
	.section01 {
	background-size: 50%; 
	}
	.deco {
		padding: 8px 30px;
		font-size: 2rem;
	}
	.s-comment {
		font-size: 1rem;
	}
	.c-boxs {
		display: flex;
		flex-direction: row;
		overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
		overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		padding:0 0 1em;
		scroll-behavior: smooth;
	}
	.c-box {
		flex: 0 0 80%;
		margin: 0px 5px;
	}
	.c-box_t {
		font-size: 1.2rem;
	}
	.c-title {
		font-size; 1.4rem;
	}
	h2 .deco {
		background-size: 15%; 
	}
	.link_btn a {
		width: 40%;
		font-size: 1.2rem;
		background-size: 6%; 
	}
	/*お知らせ
-------------------------------------*/
	.news-lists {
		width: 80%;
	}
	/*フッター
-------------------------------------*/
	.gallery {
		padding: 5px;
		width: 96%;
		gap: 5px;
	}
	/*aboutページ
-------------------------------------*/	
	.a-box {
		margin: 0.5rem auto 1.5rem;
    	display: flex;
    	flex-direction: column; /* 縦方向に並べる */
	}
	h4 .deco {
		background-size: 10%;
		font-size: 1.4rem;
	}
	.a-taxt {
		width: 100%;
		line-height: 1.6;
		margin-bottom: 0.5rem;
		padding: 0.5rem 0 0;
	}
	.a-img {
		width: 100%;
		height: 300px;
	}
	.ap01 {
		width: 75%;
		top: 0;
		left: 0;
		z-index: 100;
	}
	.ap02 {
		width: 55%;
		right: 0;
		bottom: 0;
		z-index: 101;
	}
	.a-box2 {
		display: flex;
		flex-direction: row;
		overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
		overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		padding:0 0 1rem;
		scroll-behavior: smooth;
	}
	.oshi {
		flex: 0 0 96%;
		margin: 0px 3px;
	}
	.add {
		width: 100%;
	}
	.map {
		width: 100%;
	}
	.map iframe {
		height: 350px;
	}
	/*ご利用の流れ
-------------------------------------*/
	.guide-comment p {
		font-size: 1.2rem;
	}
	.guide-boxs {
		width: 90%;
	}
	.guide-box {
		width: 100%;
		padding: 10px 5px;
		flex-direction: column;
		justify-content: space-around;
	}
	.g-text {
		width: 94%;
		margin: 0 auto;
	}
	.g-title {
		font-size: 1.6rem;
	}
	.g-text p {
		padding-left: 3%;
	}
	.g-tel {
		font-size: 1.2rem;
		padding-left: 6%;
		background: url("../image/tel.svg") no-repeat left;
		background-size: 6%;
	}
	.g-img {
		width: 70%;
		margin: 20px auto 0;
	}
	.attention .link_btn a{
		width: 70%;
	}
	/*メニュー
-------------------------------------*/
	.menu-toc a {
		font-size: 0.7rem;
	}
	.menu-boxs {
		display: flex;
		flex-direction: row;
		overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
		overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		padding:0 0 1em;
		scroll-behavior: smooth;
	}
	.m-box {
		flex: 0 0 90%;
		margin: 0px 5px;
	}
	.m-box h3 {
		font-size: 1.4rem;
	}
	.m-box__contents {
		display: inline-block;
	}
	.m-img {
		width: 90%;
	}
	.m-text,
	.m-price,
	.m-price__table {
		width: 100%;
		margin: 1rem auto;
	}
	.mb2 {
		width: 92%;
		margin:  1rem auto;
	}
	.m-box__option {
		width: 100%;
		display: inline-block;
		text-align: center;
	}
	.l-align {
		margin: 0;
		padding-left: 3%;
	}
	/*お問い合わせページ
-------------------------------------*/
	.con-title {
		font-size: 1.6rem;
	}
	h2 .deco2 {
		padding: 2% 8%;
		background-size: 8%; 
	}
	table.CF7_table{
		width:100%;
	}
	table.CF7_table tr, table.CF7_table td, table.CF7_table th{
		display: block;
		width: 100%;
		line-height:2.5em;
	}
	table.CF7_table th{
		background: url("../image/ blue_bkg.png") center;
	}
	.wpcf7-form input{
		 width: 100%;
	}
	.wpcf7-form textarea{
		width: 100%;
	}
	.wpcf7 input.wpcf7-submit {
		width: 70%;
	}
	/* ドロップダウンメニュー */
.cf7__select:before {
		top: 40%;
		right: 16%;
	}

.cf7__select select {
	width: 350px;
	line-height: 1.6;
}
	/*revueページ
-------------------------------------*/
	.revue-boxs {
		width: 90%;
		display: inline-block;
	}
	.r-img {
		width: 60%;
		height: auto;
	}
	/*投稿ページ
-------------------------------------*/
	.b-main {
		width: 98%;
		text-align: center;
		flex-direction: column;
		justify-content: center;
	}
	.b-article {
		width: 100%;
		background-size: 50%;
	}
  	.post-link {
    	width: 100%;
	}
	/*archives
-------------------------------------*/
	.archive-main {
		width: 100%;
		background-size: 50%;
	}
	.archive-title {
		font-size: 1.8rem;
	}
	.a-main {
		width: 90%;
		grid-template-columns: repeat(2, 1fr);
	}
	.card__title {
		font-size: 1rem;
	}
	/*サイドバー
-------------------------------------*/
	.sidebar {
		width: 100%;
	}
	.author-name {
		font-size: 1.8rem;
		text-align: center;
		}
	/*その他
-------------------------------------*/
	.font_s{
		font-size: 1.5rem;
		}
}