@charset "UTF-8";
/* -----------------------------------------------------------
	reset
----------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
html, body {
	height: 100%;
}

html{
 	scroll-snap-type: y proximity;
	scroll-padding-top: 75px;
 	scroll-behavior: smooth;
}

@media (min-width:992px) {
	html{
		scroll-padding-top: 40px;
	}
}

table, tr, th, td {
	font-size: 100%;
	font: inherit;
	/*vertical-align: baseline;*/
	vertical-align: middle;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	/*height: 100%;
	overflow: hidden;*/
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* -----------------------------------------------------------
	フォント
----------------------------------------------------------- */

html, body {
	font-family: "BIZ UDPGothic", sans-serif;
	font-weight: 400;
	font-style: normal;
}
header,main,footer{
	font-size: 0.875rem;
}

@media screen and (min-width:768px),print {
	header,main,footer{
		font-size: 1rem;
	}
}

.biz-udpgothic-regular {
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.biz-udpgothic-bold {
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.roboto-bold {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: normal;
}


/* -----------------------------------------------------------
	root
----------------------------------------------------------- */

:root {
	--main-color: #0f43ac;
	
	--sub-color01: #213493;/*薄めの青*/
	--sub-color02: #1b5eb5;/*濃いめの青*/
	--sub-color03: #e85500;/*オレンジ*/
	--sub-color04: #f7d877;/*黄色*/
	--sub-color05: #67c1a9;/*グリーン*/
	--sub-color06: #cf4800;/*コントラスト比OKのオレンジ系*/
	
	--category-color01: #dbf4ff;/*学部*/
	--category-color02: #f4d9e8;/*大学院*/
	--category-color03: #d8f3da;/*特別専攻科*/
	--category-color04: #f3f7e0;/*科目等履修生・研究生*/
	--category-color05: #d8d7ee;/*学生生活について*/
	--category-color06: #edd5ca;/*資料請求*/
	--category-color07: #f2f2f2;/*その他*/
	
	--bg-color01: #e6e6e6;/*グレー*/
	--bg-grad01: linear-gradient(-60deg, #140e67 , #1b5eb5);
	
	--font-en: "Roboto", sans-serif;
}

/* -----------------------------------------------------------
	共通装飾等
----------------------------------------------------------- */
body {
	font-family: "BIZ UDPGothic", sans-serif;
	font-weight: 400;
	font-style: normal;
	-webkit-text-size-adjust: 100%;
	line-height: 1.7;
	color: #000;
}
#main p{
	margin-top: 10px;
}
a {
	color: var(--main-color);
}
a:visited {
	color: var(--sub-color02);
}
a:hover {
	color: var(--sub-color06);
}
a img{
	opacity: 1;
	transition: all .3s ease;
}
img{
	width: 100%;
	max-width: 100%;
}
#main img{
	width: auto;
	max-width: 100%;
}

@media (hover: hover) {
	a:hover img{
		opacity: 0.8;
	}
}
@media screen and (min-width:992px) {
	body {
		margin-right: 100px;
	}
}
@media screen and (min-width:1200px) {
	body {
		margin-right: 130px;
	}
}

/* -----------------------------------------------------------
	Bootstrap
----------------------------------------------------------- */
@media screen and (min-width:992px),print {
	.container{
		padding-right: var(--bs-gutter-x, 2rem);
	    padding-left: var(--bs-gutter-x, 2rem);
	}
}
@media screen and (min-width:1200px) {
	.container{
		padding-right: var(--bs-gutter-x, 3rem);
	    padding-left: var(--bs-gutter-x, 3rem);
	}
}
@media screen and (min-width:1400px) {
	.container{
		padding-right: var(--bs-gutter-x, 4rem);
	    padding-left: var(--bs-gutter-x, 4rem);
	}
}


/* -----------------------------------------------------------
	ヘッダー
----------------------------------------------------------- */

.header{
	position: fixed;
    top: 0;
	left: 0;
	display: flex;
    justify-content: space-between;
	align-items: center;
	background: #fff;
	width: 100%;
	height: 55px;
	padding: 10px;
	box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .1);
	z-index: 99999;
}
.header-logo{
}
.header-logo a{
	display: flex;
	text-decoration: none;
	color: #000;
}
.header-logo-img{
	width: 31px;
	height: 31px;
	margin-right: 5px;
}
.header-logo-img img{
	width: 100%;
}
.header-logo-ja{
	font-size: 0.875rem;
    font-weight: bold;
    line-height: 1;
}
.header-logo-en{
	font-family: var(--font-en);
	font-weight: bold;
	font-size: 0.625rem;
	display: block;
	margin-bottom: 5px;
}

.header-link{
	display: flex;
	align-items: center;          
}
.header-site-search{
	width: 20px;
	height: 20px;
	margin-right: 15px;
	cursor: pointer;
    background: unset;
    border: unset;
    padding: unset;
}
.header-site-search img{
	width: 100%;
}
.header-menu{
	position: relative;
	cursor: pointer;
    background: unset;
    padding: unset;
    border: unset;
}
.header-menu span{
	display: block;
	width: 25px;
	height: 1px;
	background: #000;
	position: absolute;
	top: 3px;
	left: 2px;
}
.header-menu span:nth-child(2){
	top: 8px;
}
.header-menu p{
	font-size: 0.625rem;
	font-weight: bold;
	margin-top: 11px;
}

@media screen and (min-width:992px) {
	.header{
		left: auto;
    	right: 0;
    	width: 100px;
    	height: 100vh;
    	flex-direction: column;
		padding: 20px;
		box-shadow: 0 5px 10px 5px rgba(0, 0, 0, .1);
	}
	.header-logo a{
		flex-direction: column;
		align-items: center;
	}
	.header-logo-img{
		width: 56px;
		height: 56px;
		margin-right: 0;
		margin-bottom: 12px;
	}
	.header-logo-ja{
		writing-mode: vertical-rl;
		font-size: 1.5rem;
		line-height: 1.3;
	}
	.header-logo-en{
		font-size: 1rem; 
	}
	.header-link{
		flex-direction: column;
		align-items: center;
	}
	.header-site-search{
		width: 28px;
		height: 28px;
		margin-right: 0;
		margin-bottom: 20px;
	}
	.header-menu span{
		width: 32px;
		left: 0;
	}
	.header-menu span:nth-child(2){
		top: 10px;
	}
	.header-menu p{
		margin-top: 15px;
	}
}
@media screen and (min-width:1200px) {
	.header{
		width: 130px;
	}
	.header-logo-img{
		width: 68px;
		height: 68px;
	}
	.header-logo-ja{
		writing-mode: vertical-rl;
		font-size: 2rem;
		line-height: 1.3;
	}
	.header-logo-en{
		font-size: 1.25rem; 
	}
	/*.header-menu p{
		font-size: 0.875rem;
	}*/
}

/* -----------------------------------------------------------
	サイト内検索
----------------------------------------------------------- */


.site-search .site-search-inner{
	position: fixed;
    top: -100%;
    left: 0;
    z-index: 99997;
    width: 100%;
    background: var(--main-color);
    padding: 20px;
	transition: all .5s ease;
	opacity:0;
}
.site-search.open .site-search-inner{
    top: 55px;
	opacity:1;
}
#___gcse_0{
	background: #fff;
}
#___gcse_0 .gsc-input-box,
#___gcse_1 .gsc-input-box{
	border: none;
}
#___gcse_0 table,
#___gcse_1 table{
	margin-top: 0;
}
#___gcse_0 table td,
#___gcse_1 table td{
	background: none;
    border: none;
}
#___gcse_0 .gsc-search-button{
	padding: 4px 20px 4px 0;
}
#___gcse_0 .gsc-search-button-v2,
#___gcse_1 .gsc-search-button-v2{
	border: none;
	border-radius: 0;
    width: 20px;
    height: 20px;
    background: url("../imgs/common/ic-site-search.png");
	background-size: contain;
	background-repeat: no-repeat;
	padding: 0;
    /*margin: 0 10px;*/
}
#___gcse_0 .gsc-search-button-v2 svg,
#___gcse_1 .gsc-search-button-v2 svg{
	display: none;
}
#___gcse_0 .gsib_b{
	padding: 0;
}
#___gcse_0 .gsst_a{
	padding: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}
/*
#___gcse_1 .gsc-control-cse{
	background: none;
    border: none;
}
*/
.gstl_50.gssb_c{
	position: fixed!important;
	top: 160px!important;
	left: 20px!important;
	z-index: 99999;
	margin-top: 10px;
}
.gssb_a img{
	width: auto;
}

.site-search-close{
	text-align: right;
}
.site-search-close button{
	display: inline-block;
    color: #fff;
    position: relative;
    padding: 0 0 20px 35px;
    cursor: pointer;
    background: unset;
    border: unset;
}
.site-search-close button::before,
.site-search-close button::after{
	content: '';
	display: block;
	background: #fff;
	width: 25px;
	height: 1px;
	position: absolute;
	top: 10px;
	left: 0;
}
.site-search-close button::before{
	transform: rotate(20deg);
}
.site-search-close button::after{
	transform: rotate(-20deg);
}
.site-search .site-search-close-bg{
	background: rgba(0,0,0,0.5);
	width: 100%;
	height: calc(100vh - 55px);
	position: fixed;
	top: -100%;
	left: 0;
	z-index: 99996;
	transition: all .5s ease;
	opacity: 0;
}
.site-search.open .site-search-close-bg{
	top: 55px;
	opacity: 1;
}
#___gcse_2{
	border-top: 1px solid #808080;
}
#___gcse_2 td{
	background: none;
}

@media screen and (min-width:992px) {
	.site-search .site-search-inner{
		top: auto;
    	bottom: 0;
    	left: auto;
    	right: -100%;
    	width: 70%;
	}
	.site-search.open .site-search-inner{
		top: auto;
		right: 100px;
	}
	
	.gstl_50.gssb_c{
		top: auto!important;
		left: 25%!important;
		bottom: 80px;
		margin-top: 0;
	}
	
	.site-search-close button{
		padding: 30px 0 20px 20px;
	}
	.site-search-close button::before, .site-search-close button::after{
		width: 35px;
		top: 20px;
        left: 27px;
	
	}
	.site-search .site-search-close-bg{
		top: 0;
		left: auto;
		right: -100%;
		height: 100vh;
	}
	.site-search.open .site-search-close-bg{
		top: 0;
		right: 100px;
	}
}

@media screen and (min-width:1200px) {
	.site-search .site-search-inner{
    	width: 50%;
	}
	.site-search.open .site-search-inner{
		right: 130px;
	}
	.gstl_50.gssb_c{
		left: 45%!important;
	}
}

/* -----------------------------------------------------------
	グローバルナビ
----------------------------------------------------------- */

.main-nav{
	/*display: none;*/
	position: fixed;
	background: var(--bg-grad01);
    width: 100%;
    /*height: 100%;*/
	height:calc(100% - 35px);
	top: -100%;
	left: 0;
	opacity: 0;
	transition: all .5s ease;
    z-index: 99998;
}
.main-nav.open{
	/*display: block;*/
	top: 55px;
	overflow-y: auto;
	opacity: 1;
}
.main-nav .main-nav-menu-wrap{
	display: none;
}
.main-nav.open .main-nav-menu-wrap{
	display: block;
}
.main-nav nav{
	padding: 20px 10px 40px;
}
.main-nav-close{
	text-align: right;
}
.main-nav-close button{
	display: inline-block;
	color: #fff;
    position: relative;
    padding: 20px 20px 0 35px;
	cursor: pointer;

    background: unset;
    border: unset;
}
.main-nav-close button::before,
.main-nav-close button::after{
	content: '';
	display: block;
	background: #fff;
	width: 25px;
	height: 1px;
	position: absolute;
	top: 30px;
	left: 0;
}
.main-nav-close button::before{
	transform: rotate(20deg);
}
.main-nav-close button::after{
	transform: rotate(-20deg);
}

.main-nav-container p{
	position: relative;
}
.main-nav-container p::after{
	content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(90deg, #fff 0, #fff 6px, transparent 6px, transparent 10px);
    position: absolute;
	bottom: 0;
	left: 0;
}
.main-nav-container p a{
	display: block;
	color: #fff;
	font-size: 1rem;
	font-weight: bold;
	text-decoration: none;
	padding: 10px 0;
	margin: 15px 0;
	position: relative;
}
.main-nav-container p a::before{
	content: '';
	display: block;
	background: url("../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;
}
.main-nav-container 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;
}
.main-nav-container ul li a{
	display: block;
	color: #fff;
	/*font-size: 0.875rem;*/
	text-decoration: none;
	padding: 5px 0 5px 10px;
	position: relative;
}
/*.main-nav-container ul li a::before{
	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: 15px;
	left: 20px;
	transition: all .3s ease;
}*/

@media (hover: hover) {
	.main-nav-container ul li a:hover{
		text-decoration: underline;
	}
	.main-nav-container p a:hover::before{
		right: 0;
	}
	.main-nav-container p a:hover::after{
		right: 3px;
	}
	/*.main-nav-container ul li a:hover::before{
		left: 24px;
	}*/
}

@media screen and (min-width:992px),print {
	.main-nav{
		top: 0;
		left: auto;
		right: -100%;
		width: calc(100% - 100px);
		height:100%;
	}
	.main-nav.open{
		top: 0;
		right: 100px;
	}
	.main-nav-menu-wrap{
		height: calc(100% - 100px);
		display: flex;
		align-items: center
	}
	.main-nav nav{
		display: flex;
		flex-wrap: wrap;
		gap: 30px;
		padding: 50px;
	}
	.main-nav-close{
		/*position: absolute;
    	top: 0;
    	right: 0;*/
	}
	.main-nav-close button{
		padding: 50px 20px 20px 20px;
    	margin-right: 50px;
	}
	.main-nav-close button::before, .main-nav-close button::after{
		width: 35px;
		top: 40px;
        left: 27px;
	
	}
	.main-nav-container{
		width: 48%;
	}
}

@media screen and (min-width:1200px) {
	.main-nav{
		width: calc(100% - 130px);
	}
	.main-nav.open{
		right: 130px;
	}
	.main-nav-container{
		width: 23%;
	}
}

/* -----------------------------------------------------------
	フッター
----------------------------------------------------------- */

.footer{
	display: flex;
    flex-direction: column;
    border-top: 10px solid var(--sub-color03);
    padding: 30px 10px;
    text-align: center;
	position: relative;
}
.footer::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;
}
.footer-logo-container{
	display: flex;
	flex-direction: column;
	font-size: 1.3125rem;
}
.footer-logo{
	margin-bottom: 8px;
}
.footer-logo img{
	width: 225px;
	display: block;
	margin: 0 auto;
}
.footer-logo-container div span{
	padding: 3px 15px;
    background: #000;
    margin-right: 15px;
    font-size: 0.875rem;
    color: #fff;
}
.footer-link-container{
	display: flex;
	flex-direction: column;
}
.footer-link{
	display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}
.footer-link li{
	width: 50%;
	text-align: center;
}
.footer-link li a{
	/*font-size: 0.875rem;*/
    color: #000;
    text-decoration: none;
}
.footer-link-sns{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
}
.footer-link-sns li a{
	width: 50%;
	display: block;
	margin: 0 auto;
}
.footer-link-sns li a img{
	display: block;
}
.copyright{
	color: #4d4d4d;
	font-size: 0.625rem;
	text-align: center;
	padding: 10px;
}

@media (hover: hover) {
	.footer-link li a:hover{
		text-decoration: underline;
	}
}

@media screen and (min-width:768px),print {
	.footer-logo-container{
		flex-direction: row;
		justify-content: center;
    	align-items: center;
	}
	.footer-logo{
		margin-right: 20px;
	}
	.footer-logo-container div span{
		display: block;
    	margin-right: 0;
    	padding: 1px 15px 0;
	}
	.footer-link{
		justify-content: center;
	}
	.footer-link li{
		width: auto;
    	margin: 0 10px;
	}
}
@media screen and (min-width:992px),print {
	.footer{
		padding: 25px 30px 15px;
	}
	.footer-link-container{
		flex-direction: row;
		justify-content: center;
		align-items: center;
		margin-top: 20px;
	}
	.footer-link{
		margin-top: 0;
	}
	.footer-link-sns{
		margin-top: 0;
		margin-left: 30px;
	}
	.footer-link-sns li{
		margin-left: -5px;
		margin-right: -5px;
	}
.copyright{
	font-size: 0.75rem;
	padding: 15px;
}
}

@media screen and (min-width:1500px) {
	.footer{
		flex-direction: row;
    	justify-content: space-between;
		align-items: flex-end;
	}
	.footer-link-container{
		align-items: flex-end;
		margin-bottom: 5px;
	}
	.footer-link{
		align-items: center;
		line-height: 1;
	}
}


/* -----------------------------------------------------------
	ページトップボタン
----------------------------------------------------------- */

#pagetop{
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: block;
    width: 30px;
    height: 30px;
    font-size: 0;
    z-index: 99;
}
#pagetop a{
	position: relative;
	display: block;
}
#pagetop a::before{
	content: '';
    display: block;
    background: url(../imgs/common/ic-pagetop-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    transition: all .3s ease;
}
#pagetop a::after{
	content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: none;
    border-bottom: 16px solid #fff;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    position: absolute;
    top: 0px;
    right: 19px;
    transform: translateY(-50%);
    transition: all .3s ease;
}

@media screen and (min-width:992px),print {
	#pagetop{
		right: 110px;
	}
}
@media screen and (min-width:1200px) {
	#pagetop{
		right: 160px;
	}
}
