@charset "utf-8";
/* CSS Document */

.sp_non{
	display:block;
}

.pc_non{
	display:none;
}

img{
	width:100%;
	max-width:100%;
}

.inner{
	width:900px;
	margin:0 auto;
	position:relative;
}

.pc_flex{
	display:flex;
	justify-content:space-between;
	>div,img{
		width:48%;
	}
	iframe{
		width:100%;
		height:100%;
	}
}



.insta_caption{
	position:relative;
	border:dotted 1px;
	height:auto;
	overflow:hidden;
}

.insta_caption p{
	position:absolute;
	width:100%;
	height:100%;
	overflow:hidden;
	overflow-y:auto;
	padding:10px;
}




#header address{
	position:absolute;
	top:50%;
	right:0;
	transform:translateY(-50%);
}


h2 {
	text-align:justify;
}


h2 small {
	display:inline;
}

br.mobile_style{
	display:none;
}

.pc_nav,.pagetop{
	display:block;
}

.pagetop{
	background:#fff;
	position:fixed;
	bottom:40px;
	right:30px;
}



.pagetop{
	text-align:right;
}

.naiyou > div{
	width:90%;
}

.naiyou img{
	width:10%;
}

.ichiran .shortcut{
	position:absolute;
	top:0.5em;
	right:0.5em;
	margin:0;
}

.ichiran .shortcut a{
	font-size:80%;
}


#pc_flow{
	display:block;
}

#modoru{
	visibility:hidden;
	opacity:0;
	transition:1s;
}

footer{
	padding-bottom:0;
}



#mobile_flow{
	display:none;
}

#mainvisual div{
	border:3px #0046a2;
	border-style:solid none;
}

#index #mainvisual{
	display:flex;
	align-items: center;
	justify-content: space-between;
	position:relative;
}



#index #mainvisual>div{
	border:none;
	width:48%;
}

#index #mainvisual div div{
	border:3px #0046a2;
	border-style:solid none;
	padding:1em 0.5em;
}

#index #mainvisual img{
	display:inline-block;
	width:50%;
}

#mobile_nav{
	display:none;
}

#course{
	display:none;
}

.btn{
	text-align:left;
}


.shisetu{
	display:flex;
	justify-content: space-between;	
}

.shisetu img{
	width:33%;
}
#kaku_course #content .inner{
	padding-top:20px;
}

#kaku_course #mainvisual{
	margin:30px;
}

#kaku_course #mainvisual div{
	padding:0 20px 20px;
}

#kaku_course #mainvisual h1{
	font-size:2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
	line-height:1.6;
}

#kaku_course .catch{
	font-size:28px;
	margin-bottom:20px;
}

#kaku_course .dougetsu iframe{
	width:48% !important;
}

#kaku_course th,#kaku_course td{
	display:table-cell;
	width:auto;
}

#kaku_course th{
	width:5em;
}


#kaku_course footer{
	padding-bottom:0;
}

/*CSSのネスト*/
.yotei{
	margin:0 auto;
	display:table;
	th,td{
		border:1px solid #0046a2;
		padding:10px;
		display:table-cell;
	}
	th{
		color:#fff;
		background:#0046a2;
	}
		thead{
		display:table-header-group;
	}
	tbody{
		display:table-row-group;
	
	}
	tr{
		display:table-row;
		td:first-child{
			background:none;
			color:inherit;
		}
		td:first-child::after{
			content:"";
		}
		td:nth-child(3)::before{
			content:"";
		}
		td:nth-child(4)::before{
			content:"";
		}
		td:nth-of-type(3){
			text-align:right;
		}


	}

}




#shienkikan .balloon small{
	display:inline;
}

#kigyousama{
	.pc_flex article{
	width:32%;
	font-size:80%;
	}
}



/* 共通：縦並び、中央寄せ */
.flyer-wrap {
  display: flex;
  flex-direction: column; /* デフォルトは縦 */
  align-items: center;
  gap: 1em; /* チラシ間の余白 */
  margin: 2em 0;
}

/* PC画面時（980px以上） */
@media screen and (min-width: 980px) {
  .flyer-wrap {
    flex-direction: row;        /* 横並び */
    justify-content: center;    /* 全体を中央に */
    align-items: flex-start;    /* 上揃え（中央にしたいなら center） */
  }
  .flyer-wrap img {
    max-width: 75%; /* 2枚並んでもはみ出さないよう調整 */
    height: auto;
  }
  .flyer-wrap a:only-child img {
    max-width: 40%; /* 1枚だけのときは大きめ＆中央 */
  }
}
