/*
Theme Name: 神戸大学 産官学連携本部HP
Version: 0.0
*/

/*ALL__*/
.only_pc {
	display: block !important;
}

.only_sp {
	display: none !important;
}

* {
	box-sizing: border-box;
	text-decoration: none;
	font-family: "Noto Sans JP", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Verdana, Roboto, "Droid Sans", sans-serif;
	line-height: 1.4;
	font-size: 1vw;
}

p {
	font-size: 1.725vw;
	font-weight: 400;
}

.text_bold {
	font-weight: 700;
}

.outfit {
	font-family: Outfit, Roboto, sans-serif;
	font-weight: 300;
}

a:hover {
	color: #0e2f92;
	transition: 0.3s;
}

a,
a:focus {
	color: #222;
	outline: none;
}

ul {
	list-style: none;
}

body {
	margin: 0;
	padding: 0;
	background: #FFFFFF;
	color: #000000;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

/*__ALL*/

/*Header__*/
.header_nav {
	position: fixed;
	top: 0;
	z-index: 100;
	background-color: #FFFFFF;
	width: 100%;
	padding: 0 1vw 1vw 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header_logo a {
	display: flex;
}

.header_logo a:hover {
	opacity: 0.7;
	color: #222;
}

.header_title {
	font-size: 2.05vw;
	letter-spacing: 0.2vw;
	margin-bottom: 0;
}

.header_subtitle {
	font-size: 1vw;
	margin-top: 0.4vw;
}

.header_logo .logo_img {
	width: 9vw;
	height: auto;
}

.header_menu-list {
	display: flex;
	padding: 0;
	margin: 0;
}

.header_menu-item {
	margin-right: 4vw;
}

.header_menu-item:last-child {
	margin-right: 0;
}

.header_menu-link {
	font-size: 1.3vw;
}

.header_sub-list {
	display: flex;
	align-items: center;
	list-style: none;
	justify-content: flex-end;
}

.header_sub-link {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	line-height: 1.2;
	width: auto;
	height: 100%;
	max-width: 100%;
	transition: all .2s linear;
	color: currentColor;
	text-decoration: none;
	padding: 1vw;
}


.header_sub-link div {
	font-size: 0.9vw;
}

.header_sub-link:hover {
	color: #222;
}

.header_sub {
	padding-right: 4vw;
}

.img_access {
	width: 1.725vw;
	height: auto;
}

.img_donate {
	width: 2.876vw;
	height: auto;
}

.ico_contact {
	width: 2.8vw;
	height: auto;
	margin: 0.29vw 0;
}

.img_menu {
	width: 3.7vw;
	height: auto;
}

.navbar-toggler {
	position: absolute;
	top: 14%;
	right: 0;
	width: 5.2vw;
	height: 5vw;
	font-family: Outfit, Roboto, sans-serif;
	line-height: 1.2;
	border-radius: 0;
	border: none;
	padding: 0vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: all .2s linear;
	color: currentColor;
	text-decoration: none;
	background-color: #FFFFFF;
}

.navbar-toggler:hover {
	color: currentColor;
	text-decoration: none;
	opacity: .6;
}

.navbar-toggler.is-open:hover {
	opacity: unset;
}

.navbar-toggler-icon {
	background: url(./img/ico_menu.svg) no-repeat center center / contain;
	width: 2.2vw;
	height: 2.2vw;
	margin: 0.2vw 0;
}

/* モーダル表示中（×アイコン） */
.navbar-toggler.is-open .navbar-toggler-icon {
	background: url(./img/ico_close.svg) no-repeat center center / contain;
}

/*__Header*/

.modal {
	display: none;
	position: fixed;
	z-index: 95;
	background: #FFFF;
	width: 100%;
	height: 100%;
	padding: 0 0 0 10vw;
	top: 8vw;
}

/*====================================================================
.accordion_wrap
====================================================================*/
.accordion_title {
	font-size: 3vw;
	font-weight: 400;
	border-bottom: solid 1px #000000;
	width: 70%;
}

.accordion_content {
	height: 60vh;
	overflow-y: scroll;
	padding-bottom: 4vw;
}

.accordion_wrap .accordion_header {
	font-size: 1.2vw;
	padding: 1vw 0;
	position: relative;
	cursor: pointer;
	transition-duration: 0.2s;
	width: 28vw;
}

.accordion_wrap .accordion_header::after {
	content: '';
	width: 2vw;
	height: 2vw;
	display: inline-block;
	background-image: url(./img/angle-right-solid_blue.svg);
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	top: 50%;
	right: 1vw;
	transform: translateY(-50%);
}

.accordion_wrap .accordion_header:hover {
	opacity: .8;
}

.accordion_wrap .accordion_inner {
	display: none;
	padding: 1vw 10vw;
}

.accordion_wrap .accordion_header.accordion_open::after {
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
	top: 40%;
}

.accordion_wrap .accordion_inner .accordion_link {
	font-size: 1vw;
	display: block;
	padding: 0.5vw 0;
}


@media all and (max-width: 670px) {
	.only_pc {
		display: none !important;
	}

	.only_sp {
		display: block !important;
	}

	* {
		font-size: 3vw;
	}

	p {
		font-size: 3vw;
		line-height: 1.7;
	}

	header {
		display: block;
	}

	.header_logo .logo_img {
		width: 10vw;
		height: auto;
	}

	.header_title {
		font-size: 2.5vw;
	}

	.header_subtitle {
		font-size: 2vw;
		text-align: center;
		line-height: 1;
	}

	.header_menu-link {
		font-size: 2.5vw;
	}

	.header_menu-item:last-child {
		margin-right: 4vw;
	}

	.header_menu-item {
		margin-right: 2vw;
	}

	.navbar-toggler {
		top: 26%;
		right: 0;
		width: 11vw;
		height: 6vw;
	}

	.navbar-toggler-icon {
		width: 8vw;
		height: 8vw;
	}

	.navbar-toggler-text {
		font-size: 2.5vw;
	}

	.modal {
		padding-top: 5vw;
	}

	.accordion_content {
		height: 78vh;
	}

	.accordion_wrap .accordion_header {
		font-size: 3vw;
		padding: 2vw 0;
		width: 50vw;
	}

	.accordion_wrap .accordion_header::after {
		width: 4vw;
		height: 4vw;
	}

	.accordion_wrap .accordion_inner .accordion_link {
		font-size: 3vw;
		padding: 1vw 0;
	}

}

/* 背面スクロールロック用 */
.scroll-lock {
	position: fixed;
	overflow-y: scroll;
	/* スクロールバー幅のズレ防止 */
	width: 100%;
	inset: 0;
	/* top/right/bottom/left:0 の短縮 */
}

/* モーダルを開いてる間に背面の慣性スクロール等を遮断 */
html.scroll-lock,
body.scroll-lock {
	overscroll-behavior: none;
}