html {
	scrollbar-gutter: stable;
}

html:has(open-popup:modal) {
	overflow: hidden;
}

/*************************
*mainSlider
*************************/

.bg-slider {
	width: 100%;
	background-position: top;
	background-size: contain;
	display: flex;
	padding-top: 66.6%;
}


/*************************
*misc
*************************/


.logoBox {
	width: 100%;
	margin: -24% auto 100px;
	z-index: 100;
	text-align: center;
	position: relative;
	padding: 0 15px;
}

.leadBox {
	width: 80%;
	/* margin: 0 auto 15%; */
	margin: 0 auto 10%;
}

.leadBox p {
	font-size: 24px;
	line-height: 1.6;
	font-weight: 500;
	text-align: center;
	letter-spacing: 2px;
}

span.t05 {
	color: white;
	width: 90%;
}

.leadBox p span {
	font-size: 40px;
	line-height: 1;
}

.leadBox p span.t01 {
	font-size: 20px;
}

.leadBox p.t04 {
	font-size: 22px;
	letter-spacing: 2px;
	line-height: 1.47;
	/* opacity: 0.9; */
}

.leadBox p span.inn {
	font-size: 20px;
}

.leadBox p span a {
	color: white;
	text-decoration: none;
}


@media screen and (max-width:956px) {

	.logoBox {
		width: 100%;
		margin-top: -18%;
		margin-bottom: 50px;
		padding: 0 10px;
	}

	.leadBox {
		width: 90%;
		/* margin-bottom: 80px; */
		margin-bottom: 2rempx;
	}

	.leadBox p {
		font-size: 2.5rem;
		letter-spacing: 0;
		line-height: 0.85;
	}

	.leadBox p {
		font-size: 2.3rem;
		line-height: 1.4;
		font-weight: 600;
	}

	.leadBox p span {
		font-size: 3.6rem;
		line-height: 1.0;
	}

	.leadBox p span.t01 {
		font-size: 1.6rem;
	}

	.leadBox p.t04 {
		font-size: 1.8rem;
		letter-spacing: 2px;
		line-height: 1.47;
		/* opacity: 0.8; */
	}

	.leadBox p span.inn {
		font-size: 1.5rem;
	}

	.leadBox a {
		color: white;
	}

}

@media screen and (max-width:500px) {

	.leadBox p {
		font-size: 2.2rem;
	}

	.leadBox p.t04 {
		font-size: 1.8rem;
		letter-spacing: 1px;
	}

}

@media screen and (max-width:375px) {

	.leadBox p {
		font-size: 2.0rem;
		line-height: 1.6;
		font-weight: 600;
	}

	.leadBox p span {
		font-size: 3.2rem;
		line-height: 1.0;
	}


	.leadBox p.t04 {
		font-size: 1.6rem;
		letter-spacing: 1px;
	}

	.leadBox p span.inn {
		font-size: 1.4rem;
	}
}


.setWrap {
	display: flex;
	flex-direction: column;
	margin: 0 20% 200px;
}

.bannerBox {
	width: 60%;
	margin-bottom: 50px;
}

.txtBox {
	width: 100%;
	font-size: 18px;
	line-height: 1.8;
}

.txtBox p {
	width: 100%;
	margin: 0 auto;
	padding: 0 2rem;
}

.txtBoxB {
	font-size: 17px;
}

.bg {
	background: url(../images/newsback.jpg) center no-repeat;
	background-size: cover;
}

.bg_b {
	background: url(../images/blueback.jpg) center no-repeat;
	background-size: cover;
}


.nWrap {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 5px;
	width: 50%;
	margin: 0 auto;
}

.nWrap2 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.nWrap-item {
	font-size: 24px;
	padding: 20px 0;
	text-align: center;
	font-weight: 600;
}



.sWrap {

}


.sWrap span {
	font-size: 16px;
}

.sWrap ul {
	display: flex;
	flex-direction: column;
	text-align: center;
	gap: 50px;
}

.sWrap li {
	font-size: 24px;
	font-weight: 600;
}

.sWrap .dummy {
	width: auto;
	height: 0;
}

.sWrap .fsize {
	font-size: 18px;
	font-weight: 600;
}

.sWrap .fsize span {
	font-size: 15px;
}


.charaBox {
	display: flex;
	flex-direction: row;
	margin-top: 20px;
}

.cp {
	width: 250px;
	height: 300px;
	border: 1px solid white;
	border-radius: 5%;
}


.c1 {
	background-image: url(../images/01_toma.jpg);
	background-size: cover;
	background-position: top;
}

.c2 {
	background-image: url(../images/02_haruhi.jpg);
	background-size: cover;
	background-position: top;
}

.c3 {
	background-image: url(../images/03_kotaro.jpg);
	background-size: cover;
	background-position: top;
}

.c4 {
	background-image: url(../images/04_sora.jpg);
	background-size: cover;
	background-position: top;
}

.c5 {
	background-image: url(../images/05_kaede.jpg);
	background-size: cover;
	background-position: top;
}

.c6 {
	background-image: url(../images/06_tsukasa.jpg);
	background-size: cover;
	background-position: top;
}


.charaWrap {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding-left: 2em;
	letter-spacing: 1px;
}

.charaT01 {
	font-size: 24px;
	line-height: 1.27;
}

.charaT02 {
	margin-top: 0.5em;
	font-size: 16px;
	word-break: break-word;
}

.ts {
	font-size: 18px;
}

.ts2 {
	font-size: 18px;
}


.hr {
	border: 0.5px solid white;
	opacity: 0.7;
	position: relative;
	top: 10px;
	margin-bottom: 10px;
}

.caution {
    font-size: 15px;
    text-indent: -1em;
    padding-left: 1em;
    /* margin-top: 10px; */
	display: block;
}

.caution_b {
    font-size: 15px;
    margin-top: 0px;
}

.caution_c {
	font-size: 15px;
}


@media screen and (max-width:956px) {

	.txtBox ul {
		width: 53%;
	}

	.setWrap {
		margin: 0 auto 120px;
		width: 90%;
	}

	.txtBox {
		width: 100%;
		font-size: 1.6rem;
		line-height: 1.8;
		letter-spacing: 1px;
	}

	.txtBoxB {
		font-size: 1.5rem;
	}

	.bannerBox {
		width: 55%;
		margin: 0 0 30px 0;
	}

	.txtBox li {
		font-size: 16px;
	}

	.charaWrap {
		/* width: 60.3%; */
		padding-left: 2rem;
	}

	.cp {
		width: 35%;
		height: 300px;
	}

	.charaT01 {
		font-size: 2.3rem;
		line-height: 1.2;
	}

	.ts {
		font-size: 1.8rem;
	}

	.ts2 {
		font-size: 1.8rem;
	}

	.charaT02 {
		font-size: 1.5rem;
		line-height: 1.4;
	}

	.nWrap {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0;
		width: 65%;
		margin: 0 auto 25px;
	}

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

	.nWrap-item {
		font-size: 2.2rem;
		padding: 0;
		text-align: center;
	}


	.sWrap ul {
		width: 100%;
		display: flex;
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}

	.sWrap li {
		font-size: 2.2rem;
		font-weight: 600;
	}

	.sWrap span {
		font-size: 1.7rem;
	}

	.sWrap .dummy {
		width: auto;
		height: 0;
	}

	.sWrap .fsize {
		font-size: 1.6rem;
		font-weight: 600;
	}

	.sWrap .fsize span {
		display: block;
		font-size: 1.3rem;
		line-height: 1.4;
	}

	.caution {
        font-size: 1.3rem;
    }

    .caution_b {
        display: block;
        font-size: 1.3rem;
        margin: 0 0 5px 1em;
    }

	.caution_c {
		font-size: 1.3rem;
	}

}

@media screen and (max-width:500px) {

	.txtBox ul {
		width: 53%;
	}

	.setWrap {
		margin: 0 auto 80px;
		width: 90%;
	}


	.txtBox {
		font-size: 1.6rem;
		line-height: 1.8;
		letter-spacing: 1px;
		overflow-wrap: anywhere;
		word-wrap: break-word;
		word-break: break-all;
	}

	.txtBoxB {
		font-size: 1.5rem;
	}

	.bannerBox {
		width: 60%;
		margin: 0 0 30px 0;
	}

	.txtBox li {
		font-size: 16px;
	}

	.charaWrap {
		padding-left: 2rem;
	}

	.cp {
		width: 44%;
		height: 220px;
	}

	.charaT01 {
		font-size: 1.8rem;
		line-height: 1.2;
	}

	.ts {
		font-size: 1.3rem;
	}

	.ts2 {
		font-size: 1.4rem;
	}

	.charaT02 {
		font-size: 1.3rem;
		line-height: 1.4;
	}

	.nWrap {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0;
		width: 65%;
		margin: 0 auto 25px;
	}

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

	.nWrap-item {
		font-size: 1.7rem;
		padding: 0;
		text-align: center;
	}

	.sWrap ul {
		width: 100%;
		display: flex;
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}

	.sWrap li {
		font-size: 1.7rem;
		font-weight: 600;
	}

	.sWrap span {
		font-size: 1.2rem;
	}

	.sWrap .dummy {
		width: auto;
		height: 0;
	}

	.sWrap .fsize {
		font-size: 1.4rem;
		font-weight: 600;
	}

}


@media screen and (max-width:390px) {

	.charaWrap {
		padding-left: 1.6rem;
	}

	.cp {
		width: 36.7%;
		height: 220x;
		border-radius: 2%;
	}

	.ts {
		font-size: 1.3rem;
	}

	.ts2 {
		font-size: 1.3rem;
	}

}

/*************************
*newsArea
*************************/

.newsBox {
	width: 100%;
	height: 300px;
	overflow: auto;
	overflow-x: hidden;
	margin: 0 auto 50px;
}

.newsTitle {
	width: 40%;
	margin: 0 auto;
	padding-bottom: 25px;
}

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

.newsArea {
	width: 100%;
	padding: 1.5rem;
}

.newsWrap {
	display: flex;
	flex-direction: row;
	padding: 10px 0;
}

.newsDate {
	font-size: 18px;
	padding-right: 50px;
	line-height: 1.7;
}

.newsLead {
	font-size: 18px;
	line-height: 1.5;
}

.newsLead a {
	color: white;
	text-decoration: none;
}

.newsLead a:hover {
	opacity: 0.5;
}

@media screen and (max-width:956px) {
	.newsBox {
		width: 100%;
		margin: 0px auto 0;
	}

	.newsTitle {
		width: 100%;
		margin: 0;
	}

	.newsTitle img {
		display: block;
		width: 45%;
		margin: 0 auto;
	}

	.newsArea {
		width: 100%;
		padding: 2rem;
		margin: 0 auto;
	}

	.newsWrap {
		flex-direction: column;
		border: none;
	}

	.newsWrap:first-child {
		border: none;
	}

	.newsDate {
		font-size: 1.6rem;
	}

	.newsLead {
		font-size: 1.6rem;
	}
}

h3.title {
	font-family: YakuHanMPs, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

h3.text {
	display: inline;
	/* 背景色をテキストにのみ適用するため */
	text-align: left;
	color: #a20000;
	font-size: 20px;
	font-family: YakuHanMPs, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
	line-height: 1.3;
	letter-spacing: 1;
}

.date {
	font-size: 18px;
	color: #a20000;
	line-height: 2;
}

.box img {
	width: 100%;
	margin-top: 10px;
}

.box {
	margin-top: 2em;
	color: white;
	line-height: 1.67;
	font-size: 16px;
}

.box a {
	color: white;
	margin: 0 3px;
}

.popup-box {
	position: relative;
	background: black;
	padding: 40px;
	width: auto;
	max-width: 800px;
	margin: 20px auto;
	height: auto;
	overflow: auto;
	color: white;
}

p.caution {
	font-size: 1.3rem;
	text-indent: -1em;
	padding-left: 1em;
	line-height: 1.47;
	margin-bottom: 10px;
}



@media screen and (max-width:956px) {

	h3.text {
		font-size: 1.7rem;
	}

	.date {
		font-size: 1.5rem;
	}

	.contents {
		padding: 0 1.5rem;
	}

	.box {
		font-size: 1.5rem;
		letter-spacing: .85px;
	}

	p.caution {

	}

	.popup-box {
		position: relative;
		background: black;
		padding: 3rem 2rem;
		width: auto;
		max-width: 95%;
		margin: 20px auto;
		height: 80%;
	}
}

/*************************
*anchor
*************************/

a.anchor{
    display: block;
    padding-top: 70px;
    margin-top: -70px;
}

@media screen and (max-width:956px) {

	a.anchor{
		display: block;
		padding-top: 40px;
		margin-top: -40px;
	}

}