@charset "utf-8";
/*------------------------------------------------------------
	index
------------------------------------------------------------*/
    h1 {
        margin-top: 0;
}
@media screen and (max-width: 767px) {
h1{
    margin-top: 50px;
	}
}
#main .topList {
	display: flex;
    margin-top: 3.5em;
}
#main .topList li {
	width: calc((100% / 3));
}
#main .topList img {
	width: 100%;
}
#main .animal {
	margin-top: -0.1rem;
	padding: 2.6rem 0 0;
	position: relative;
	background-color: #ffe9a9;
}
#main .animal::before {
	width: 100%;
	height: 1rem;
	position: absolute;
	left: 0;
	top: -1rem;
	content: '';
	background: url(../img/index/bg01.webp) repeat-x left 2rem bottom / 15.05rem;
}
#main .animal .head01 {
	margin-bottom: 2.8rem;
	text-align: center;
}
#main .animal .head01 img {
	max-width: 34.6rem;
}
#main .linkList {
	margin: 0 0.2rem 2.2rem 1rem;
	display: flex;
	gap: 0.2rem;
}
#main .linkList li {
	width: 50%;
}
#main .animal img {
	width: 100%;
}
#main .animal .imgtext {
	margin: 0 1.2rem 0.8rem 1.2rem;
}
#main .tabPanel {
	overflow: hidden;
	padding-top: 3.5em;
	margin-top: -3.5em;
}
#main .tabList {
	margin-bottom: -0.5rem;
	background-color: #ffe9a9;
	display: flex;
	position: relative;
	align-items: flex-end;
}
#main .tabList li {
	width: 50%;
	padding-bottom: 0.5rem;
}
#main .tabList a {
	margin: 0 -0.1rem;
	padding: 0.5rem 0.5rem 0.4rem;
	display: block;
	color: #FFF;
	font-weight: 900;
	font-size: 1.6rem;
	text-align: center;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
	border: 0.2rem solid #004c71;
	border-bottom-width: 0.3rem;
	border-radius: 1.8rem 1.8rem 0 0;
	transition: 0s;
}
#main .tabList a::after {
	position: absolute;
	left: 0;
	top: calc(100% - 0.5rem);
	width: 100%;
	height: 0.5rem;
	background-color: #83c5b8;
	content: '';
	display: none;
}
#main .tabList .item02 a {
	background-color: #83c5b8 !important;
}
#main .tabList .item01 a,
#main .tabList .item01 a::after {
	background-color: #febec5 !important;
}
#main .tabList .on {
	width: 50%;
}
#main .tabList .on a::after {
	display: block;
}
#main .tabList .on a {
	padding: 1.2rem 0.5rem 0.8rem 2.5rem;
	font-size: 1.892rem;
	border-width: 0.3rem;
	border-bottom: none;
}
#main .tabList .on a::after {
	opacity: 1;
}
#main .tabList .item01.on a {
	border-radius: 0 2.5rem 0 0;
	border-left: none;
	background: url(../img/common/icon01.webp) no-repeat 0.8rem 1rem / 3.6rem;
}
#main .tabList .item02.on a {
	padding-left: 4.2rem;
	border-radius: 2.5rem 2.5rem 0 0;
	background: url(../img/common/icon02.webp) no-repeat 0.5rem 1rem / 3.6rem;
}
#main .tabBox {
	padding: 3.5rem 2rem 0;
	background-color: #FFF;
}
#main .head02 {
	margin: 0 auto 2rem;
	padding: 3.2rem 0 0;
	width: fit-content;	
	font-size: 2.1rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.23;
	background: url(../img/common/icon04.webp) no-repeat center top / 2.9rem,
	url(../img/common/ttl_bg.webp) repeat-x center bottom / 1.7rem;
}
#main .tabBox .photo {
	margin-bottom: 1.2rem;
}
#main .tabBox p {
	line-height: 1.73;
	font-weight: 500;
}
#main .reasonBox {
	margin: 2.3rem -2rem 0;
	padding: 1.9rem 2rem 3rem;
	position: relative;
	background: url(../img/index/bg02.webp) repeat left 1.4rem top / 3.65rem;
}
#main .reasonBox::after {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	content: '';
	pointer-events: none;
	background: url(../img/index/bg03.webp) repeat-x left 1.8rem top / 7.55rem,
	url(../img/index/bg04.webp) repeat-x left 1.8rem bottom / 7.55rem;
}
#main .tabBox02 .reasonBox {
	background-image: url(../img/index/bg05.webp);
}
#main .tabBox03 .reasonBox {
	background-image: url(../img/index/bg06.webp);
}
#main .reasonBox h3 {
	margin-bottom: 5.8rem;
	text-align: center;
}
#main .reasonBox h3 img {
	max-width: 32.3rem;
}
#main .reason {
	margin-bottom: 5.7rem;
	padding: 2.2rem 1.4rem 1.3rem;
	position: relative;
	background-color: #FFF;
	border: 0.1rem solid #8c6239;
	border-radius: 1rem;
}
#main .reason h4 {
	margin-bottom: 1.3rem;
	position: relative;
	color: #8c6239;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.39;
	z-index: 2;
	text-align: center;
}
#main .reason h5 {
    margin: 20px 0 10px;
    position: relative;
    color: #8c6239;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.39;
	z-index: 2;
	text-align: center;
}
#main .reason p:not(:last-child) {
	margin-bottom: 0.5rem;
}
#main .reason .notes {
	font-size: 1.3rem;
}
#main .reason .num {
	position: absolute;
	left: calc(50% - 1.3rem);
	top: -2.3rem;
	z-index: 1;
}
#main .reason .num img {
	width: 2.6rem;
}
#main .reason .num::before {
	width: 7.6rem;
	height: 4rem;
	position: absolute;
	left: 50%;
	top: -1.6rem;
	content: '';
	transform: translateX(-50%);
	background: url("../img/index/num_bg.webp") no-repeat left top / 100% 100%;
	z-index: -1;
}
#main .reason .num::after {
	width: 1.5rem;
	height: 1.8rem;
	position: absolute;
	right: -3.2rem;
	top: -1.9rem;
	content: '';
	background: url(../img/common/icon06.webp) no-repeat right top / 100%;
}
#main .reason .posImg {
	position: absolute;
	width: 5.9rem;
	top: -3.6rem;
	right: 11.5%;
}
#main .reason .posImg img {
	width: 100%;
}
#main .reason:nth-of-type(2n) .posImg {
	right: auto;
	left: 12.4%;
}
#main .reasonBox .linkList {
	margin: -3.5rem -1.6rem 0 -1.2rem;
}
#main .campus {
	margin: 2.3rem -2rem 0;
	padding: 3.2rem 2rem 3rem;
	background-color: #FFF;
}
#main .campus .linkList02 {
	margin: 3.3rem -0.7rem 0 -0.3rem;
}
#main .campus .linkList02 li:not(:last-child) {
	margin-bottom: 0.5rem;
}
#main .faq {
	margin: 2.3rem -2rem 0;
	padding: 3.8rem 1.9rem 2.3rem;
	background: url(../img/index/bg03.webp) repeat-x left 1.8rem top / 7.55rem,
	url(../img/index/bg04.webp) repeat-x left 1.8rem bottom / 7.55rem,
	#fffbea;
}
#main .faq .head02 {
	margin-bottom: 3.3rem;
}
#main .faqDl dt {
	margin-top: 0.8rem;
	padding: 0.5rem 5.3rem 0.6rem;
	min-height: 6rem;
	position: relative;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.625;
	letter-spacing: -0.02rem;
	border: 0.2rem solid #8c6239;
	background: url(../img/index/img_q.webp) no-repeat 1.1rem 1.5rem / 3.15rem, #FFF;
	cursor: pointer;
}
#main .faqDl dt:before,
#main .faqDl dt:after {
	position: absolute;
	right: 1.3rem;
	top: calc(50% - 0.7rem);
	width: 3.25rem;
	height: 1.4rem;
	background: url(../img/common/icon05.webp) no-repeat center center / 100%;
	transition: all .3s ease;
	content: "";
}
#main .faqDl dt:after {
	transform: rotate(90deg);
}
#main .faqDl dt.on:after {
	transform: rotate(180deg);
	opacity: 0;
}
#main .faqDl dd {
	margin-bottom: 0.8rem;
	padding: 0.3rem 1rem 0.8rem 5.3rem;
	display: none;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.73;
	letter-spacing: -0.02rem;
	border: 0.2rem solid #8c6239;
	border-top: none;
	background: url(../img/index/img_a.webp) no-repeat 1.1rem 1.5rem / 3.15rem, #FFF;
}
#main .faq .linkList {
	margin: 1.8rem -1.7rem 0 -0.9rem;
}

@media all and (min-width: 897px) {
	#main .topList {
    margin-top: 0;
}
	#main .linkList a:hover {
		opacity: 0.7;
	}
	#main .tabList a:hover {
		opacity: 0.7;
	}
	#main .topList li a:hover {
		opacity: 0.7;
	}
	#main .campus .linkList02 a:hover {
		opacity: 0.7;
	}
}

/* スライダー */
.slider-container {
--item-width: 300px;
width: var(--item-width);
position: relative;
display: grid;
grid-template-areas: "item item item" "left markers right";
	grid-template-columns: 1fr 4fr 1fr;
	margin: 0 auto;
}
.carousel {
width: 100%;
display: grid;
grid-auto-flow: column;
grid-area: item;
gap: 120px;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-snap-stop: always;
scroll-behavior: smooth;
scroll-marker-group: after;
scrollbar-width: none;
&::scroll-button(*) {
width: 40px;
height: 40px;
border-radius: 50%;
border: none;
background-color: #fff;
padding: 0;
color: orangered;
border: 1px solid orangered;
transition: background-color 0.2s, color 0.2s;
}
@media (any-hover: hover) {
&::scroll-button(*):not(:disabled):hover {
background-color: orangered;
color: #fff;
cursor: pointer;
}
}
/* 非活性時スタイル */
&::scroll-button(*):disabled {
color: darkgray;
border: 1px solid lightgray;
}
/* 前へボタン */
&::scroll-button(left) {
content: "◀" / "前へ";
grid-area: left;
justify-self: end;
}
/* 次へボタン */
&::scroll-button(right) {
content: "▶" / "次へ";
grid-area: right;
}
/* インジケーター（コンテナー） */
&::scroll-marker-group {
display: flex;
justify-content: center;
gap: 12px;
grid-area: markers;
align-items: center;
scroll-snap-type: x mandatory;
overscroll-behavior-x: contain;
}
}
/* カルーセルの画像アイテム*/
.item {
width: var(--item-width);
scroll-snap-align: center;
&::scroll-marker {
content: "";
display: block;
width: 13px;
height: 13px;
background-color: lightgray;
border-radius: 50%;
transition: background-color 0.2s;
flex-shrink: 0;
}
&::scroll-marker:target-current {
background-color: orangered;
}
img {
display: block;
width: 100%;
}
}
@media screen and (max-width:767px) {
.slider-container {
--item-width: 285px;
width: var(--item-width);
grid-template-columns: 1fr 5fr 1fr;
}
.carousel {
&::scroll-marker-group {
gap: 10px;
}
}
