@charset "UTF-8";

/* -----------------------------------------------------------
	大枠
----------------------------------------------------------- */
#maincontainer{
	background: url("/exam/assets/imgs/kasou/main-under-bg.jpg");
	background-size: 1300px;
	background-repeat: no-repeat;
	background-position: bottom;
	position: relative;
	padding-bottom: 180px;
	margin-top: 55px;
}
#maincontainer::after{
	content: '';
	display: block;
	background: url("/exam/assets/imgs/kasou/main-under-illa.png");
	background-size: contain;
	width: 206px;
	height: 85px;
	position: absolute;
	bottom: -3px;
	right: 10px;
}
#main{
	margin-top: 50px;
}

@media screen and (min-width:768px) {
#maincontainer{
	background-size: 2000px;
	padding-bottom: 280px;
}
	#maincontainer::after{
		width: 317px;
		height: 131px;
		right: 50px;
	}
#main{
	margin-top: 80px;
}
}

@media screen and (min-width:992px) {
	#maincontainer{
		margin-top: 0;
	}
}

/* -----------------------------------------------------------
	パンナビ
----------------------------------------------------------- */
.breadcrumbs{
	background: var(--category-color07);
	padding: 5px 0 5px;
	min-height: 10px;
}
.breadcrumbs .container{
	display: none;
}
.breadcrumbs-list{
	font-size: 0.75rem;
    display: flex;
	flex-wrap: wrap;
    align-items: center;
	line-height: 1;
}
.breadcrumbs-under .container{
	display: block;
}
.breadcrumbs-list li{
	padding: 3px 15px 3px 15px;
	position: relative;
}
.breadcrumbs-list li::before{
	content: '';
	display: block;
	width: 4px;
	height: 4px;
	background: var(--main-color);
	border-radius: 50%;
	position: absolute;
	top: 7px;
	left: 0;
}
.breadcrumbs-list li:first-child{
	padding-left: 0;
}
.breadcrumbs-list li:first-child::before{
	display: none;
}
.breadcrumbs-list li a{
	text-decoration: none;
	color: #000;
}
.breadcrumbs-list li a img{
	display: block;
    width: 12px;
	padding-bottom: 1px;
}
.breadcrumbs-under{
	background: #f2f2f2;
}
.breadcrumbs-under .breadcrumbs-list li::before{
	background: var(--sub-color03);
}

.cate-faculty{
	background: var(--category-color01);
}
.cate-graduate{
	background: var(--category-color02);
}
.cate-advanced{
	background: var(--category-color03);
}
.cate-non-degree{
	background: var(--category-color04);
}
.cate-student-life{
	background: var(--category-color05);
}
.cate-request{
	background: var(--category-color06);
}

@media screen and (min-width:768px) {
.breadcrumbs-list{
	font-size: 0.875rem;
}
.breadcrumbs-list li a img{
    width: 14px;
}
.breadcrumbs-list li::before {
    top: 8px;
}
}

@media screen and (min-width:992px) {
.breadcrumbs .container{
	display: block;
}
}

/* -----------------------------------------------------------
	下層メインビジュアル
----------------------------------------------------------- */
#mainvisual-kasou{
	background: linear-gradient(-60deg, #140e67, #1b5eb5);
    background-position: bottom right;
    color: #fff;
    padding: 20px 0 20px;
    position: relative;
	min-height: 165px;
	display: flex;
    align-items: center;
}
/*#mainvisual-kasou p{
	margin-top: 0;
}*/
#mainvisual-kasou::before{
	content: '';
    display: block;
    width: 290px;
    height: 120px;
    background: url("/exam/assets/imgs/kasou/mv-bg-kasou-sp.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
    position: absolute;
    bottom: 0;
    right: 0;
}
.mv-kasou-directory-en{
	font-size: 0.75rem;
    color: var(--sub-color04);
	position: relative;
	padding-left: 10px;
}
.mv-kasou-directory-en::before{
	content: '';
	display: block;
	width: 4px;
	height: 4px;
	background: var(--sub-color05);
	border-radius: 50%;
	position: absolute;
	top: 9px;
	left: 0;
	
}
.mv-kasou-directory{
	font-size: 1.125rem;
}
#mainvisual-kasou h1{
	font-size: 1.562rem;
	font-weight: bold;
	/*margin-top: 20px;*/
	width: calc(100% - 80px);
    position: relative;
}
.mv-kasou-img{
	width: 72px;
	position: absolute;
	bottom: -15px;
	right: 10px;
}
.mv-kasou-img img{
	width: 100%;
}

@media screen and (min-width:768px) {
#mainvisual-kasou{
	min-height: 190px;
}
#mainvisual-kasou h1 {
    font-size: 2.5rem;
	width: calc(100% - 100px);
}
.mv-kasou-img {
    width: 112px;
    bottom: -30px;
}
}

@media screen and (min-width:992px) {
	#mainvisual-kasou{
		min-height: 210px;
	}
#mainvisual-kasou::before{
	width: 430px;
	height: 160px;
}
	
#mainvisual-kasou h1 {
    font-size: 3.125rem;
	width: calc(100% - 150px);
}
.mv-kasou-img {
	right: 35px;
}
}

@media screen and (min-width:1200px) {
#mainvisual-kasou::before{
    width: 1100px;
    height: 160px;
    background: url(/exam/assets/imgs/kasou/mv-bg-kasou.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
}
.mv-kasou-img {
    width: 142px;
	right: 50px;
}
}

/*　第2階層　扉　*/

#mainvisual-kasou.mv-tobira h1 span{
	display: block;
	font-size: 0.875rem;
	font-weight: bold;
	font-family: var(--font-en);
	color: var(--sub-color04);
	padding-left: 12px;
	position: relative;
}
#mainvisual-kasou.mv-tobira h1 span::before{
	content: '';
	display: block;
	background: var(--sub-color05);
	width: 6px;
	height: 6px;
	border-radius: 50%;
	position: absolute;
	top: 8px;
	left: 0;
}

/* -----------------------------------------------------------
	扉ページボックス
----------------------------------------------------------- */
.row:has( .index-box):not(:first-child){
	margin-top:1em;
}
.index-box{
	/*padding: 15px 20px;*/
	border: 1px solid var(--main-color);
	border-radius: 20px;
	margin-bottom: 20px;
	height: calc(100% - 20px);
}
.index-box a{
	display: block;
    padding: 15px 20px;
	text-decoration: none;
	transition: all .3s ease;
}
/*.index-box a h2{
	margin: 0 0 20px 0;
	position: relative;
}
.index-box a h2::after{
	content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--sub-color03) 0, var(--sub-color03) 6px, transparent 6px, transparent 10px);
    position: absolute;
	bottom: 0;
	left: 0;
}*/
.index-box a h2{
	display: block;
	padding: 8px 30px 10px 0;
	margin: 0;
	font-size: 1.125rem;
	/*font-weight: bold;*/
	color: #000;
	text-decoration: none;
	position: relative;
	transition: all .3s ease;
	border: none;
}
.index-box a h2::before{
	content: '';
	display: block;
	background: url("/exam/assets/imgs/common/ic-circle-arrow.svg");
	background-repeat: no-repeat;
	background-size: contain;
	width: 30px;
	height: 30px;
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translateY(-50%);
	transition: all .3s ease;
}
.index-box a h2::after{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 12px solid #fff;
	border-right: 0;
	position: absolute;
	top: 50%;
	right: 13px;
	transform: translateY(-50%);
	transition: all .3s ease;
}
.index-box .index-box-content{
	position: relative;
	padding-top: 20px;
}
.index-box .index-box-content::before{
	content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--sub-color03) 0, var(--sub-color03) 6px, transparent 6px, transparent 10px);
    position: absolute;
	top: 0;
	left: 0;
}
#main .index-box .index-box-content p{
	margin-top: 0;
	color: #000;
}
.index-box a img:not([class*="ic-"]){
	transition: all .3s ease;
	width: 100% !important;
}

@media (hover: hover) {
	/*.index-box a:hover{
		background: var(--bg-color01);
	}*/
	.index-box a:hover h2{
		color: var(--main-color);
	}
	.index-box a:hover h2::before{
		right: 0;
	}
	.index-box a:hover h2::after{
		right: 5px;
	}
	.index-box a:hover img:not([class*="ic-"]){
		transform: scale(1.1);
	}
}

.index-box-img{
	width: 25%;
    margin-left: 15px;
    margin-bottom: 15px;
}
.index-box-img img{
    object-fit: contain;
    aspect-ratio: 1;
}

@media screen and (min-width:768px) {
	.index-box a h2{
		font-size: 1.25rem;
	}
}
@media screen and (min-width:992px) {
	.index-box a{
		padding: 20px 25px;
	}
	.index-box a h2{
		font-size: 1.75rem;
	}
}

/* -----------------------------------------------------------
	イベント情報一覧
----------------------------------------------------------- */

.event-month-list{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.event-month-list li a{
	color: #000;
	padding: 5px 10px;
	border: 1px solid var(--main-color);
	border-radius: 30px;
	text-decoration: none;
	transition: all .3s ease;
}
.event-month-list li.active a{
	color: #fff;
	background: var(--main-color);
}
@media (hover: hover) {
	.event-month-list li a:hover{
		background: var(--main-color);
		color: #fff;
}
}

@media screen and (min-width:1200px) {
	.event-month-list{
		justify-content: center;
	}
	.event-month-list li a{
		padding: 8px 15px;
	}
}

.event-item{
	margin-bottom: 30px;
}
.event-item a{
	text-decoration: none;
    padding-left: 20px;
    display: block;
}
.event-item a .event-item-title{
	position: relative;
}
.event-item a .event-item-title{
	display: block;
	color: #fff;
	font-size: 1rem;
	font-weight: bold;
	border-radius: 30px;
	margin: 15px 0;
	overflow: hidden;
	position: relative;
	transition: all .3s ease;
	margin-left:-20px;
}
.event-item a .event-item-title .event-item-font-s{
	font-size: 1rem;
}
.event-item a .event-item-title::before,
.event-item a .event-item-title::after{
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	transition: all .3s ease;
}
.event-item a .event-item-title::before{
	background: var(--bg-grad01);
	opacity: 1;
}
.event-item a .event-item-title::after{
	background: var(--sub-color04);
	opacity: 0;
}
.event-item a .event-item-arrow{
	display: block;
	position: relative;
	padding: 5px 30px 5px 15px;
}
.event-item a .event-item-arrow::after{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 3px solid transparent;
	border-bottom: 3px solid transparent;
	border-left: 9px solid var(--sub-color04);
	border-right: 0;
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	transition: all .3s ease;
}
.event-item a .event-item-text{
	color: #000;
	margin: 15px 0;
	text-decoration: underline;
	transition: all .3s ease;
	display:inline;
}


@media (hover: hover) {
	.event-item a:hover .event-item-title{
		color: var(--main-color);
	}
	.event-item a:hover .event-item-title::before{
		opacity: 0;
	}
	.event-item a:hover .event-item-title::after{
		opacity: 1;
	}
	.event-item a:hover .event-item-arrow::after{
		right: 11px;
		border-left: 9px solid var(--main-color);
	}
	.event-item a:hover .event-item-text{
		color: var(--sub-color06);
	}
}

@media screen and (min-width:992px) {
.event-item a .event-item-title{
	font-size: 1.375rem;
}
}


/* -----------------------------------------------------------
	新着情報一覧
----------------------------------------------------------- */
.news-textonly-list li{
	position: relative;
}
.news-textonly-list li::before {
	content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(90deg, #808080 0, #808080 6px, #fff 6px, #fff 10px);
    position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
}
.news-textonly-list li:last-child::after {
	content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(90deg, #808080 0, #808080 6px, #fff 6px, #fff 10px);
    position: absolute;
	bottom: 0;
	left: 0;
}
.news-textonly-list li a,
.news-textonly-list li div {
    padding: 15px 0;
    text-decoration: none;
    color: #000;
    display: block;
    position: relative;
    padding-right: 30px;
	/*transition: all .3s ease;*/
}
.news-textonly-list li div {
		padding-right: 0px;
}
.news-textonly-list li a::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 9px solid var(--sub-color03);
    border-right: 0;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    transition: all .3s ease;
}
.news-textonly-list li a time,
.news-textonly-list li div time {
    display: block;
    font-size: 0.75rem;
    color: var(--main-color);
}

@media (hover: hover) {
.news-textonly-list li a:hover {
    background: #f2f2f2;
}
.news-textonly-list li a:hover::after {
    right: 5px;
}
}

@media screen and (min-width:768px) {
.news-textonly-list li a{
		padding-right: 35px;
	}
.news-textonly-list li a::after {
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 14px solid var(--sub-color03);
}
.news-textonly-list li a time,
.news-textonly-list li div time {
    font-size: 0.875rem;
}
}
#main img[width]:not([style*="width"]){
	width:revert-layer;
}

/*インデックスページ ディスクリプションがないとき*/
.category-list-description{
	display:none;
}
.index-box .category-list-description{
	display:initial;
}

/* -----------------------------------------------------------
	Q&A
----------------------------------------------------------- */

.faq{
	margin-top: 40px;
}
.faq dt,
.faq dd{
	padding: 5px 0 30px 60px;
	position: relative;
}
.faq dt::before,
.faq dd::before{
	content: '';
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	position: absolute;
	top: 0;
	left: 0;
}
.faq dt::before{
	background: var(--sub-color02);
	border: 1px solid var(--sub-color02);
}
.faq dd::before{
	background: #fff;
	border: 1px solid var(--sub-color02);
}
.faq dt::after{
	content: 'Q';
	font-size: 1.25rem;
	color: #fff;
	position: absolute;
	top: 3px;
	left: 11px;
}
.faq dd::after{
	content: 'A';
	font-size: 1.25rem;
	color: var(--sub-color02);
	position: absolute;
	top: 2px;
	left: 12px;
}

/* -----------------------------------------------------------
	サイトマップ
----------------------------------------------------------- */

.sitemap p{
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 0;
    margin: 15px 0;
	position: relative;
}
.sitemap p::after{
	content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--main-color) 0, var(--main-color) 6px, transparent 6px, transparent 10px);
    position: absolute;
	bottom: 0;
	left: 0;
}
.sitemap p:has(> a){
	padding: 0;
}
.sitemap p a{
    display: block;
    /*color: #fff;*/
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 0;
    position: relative;
}

.sitemap p a::before{
	content: '';
	display: block;
	background: url("/exam/assets/imgs/common/ic-circle-arrow.svg");
	background-repeat: no-repeat;
	background-size: contain;
	width: 20px;
	height: 20px;
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translateY(-50%);
	transition: all .3s ease;
}
.sitemap p a::after{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 3px solid transparent;
	border-bottom: 3px solid transparent;
	border-left: 9px solid #fff;
	border-right: 0;
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	transition: all .3s ease;
}
.sitemap ul li a{
	display: block;
	color: #000;
	/*font-size: 0.875rem;*/
	/*text-decoration: none;*/
	padding: 5px 0 5px 10px;
	position: relative;
}

@media (hover: hover) {
	.sitemap ul li a:hover{
		/*text-decoration: underline;*/
		color: var(--sub-color06);
	}
	.sitemap p a:hover::before{
		right: 0;
	}
	.sitemap p a:hover::after{
		right: 3px;
	}
}