@charset "UTF-8";
body {
  margin: 0 0;
  width: 100%;
  color: #1a1004;
  position: relative;
  background: #fff;
  -webkit-text-size-adjust: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-feature-settings: "palt" 1;
  font-weight: 400;
  line-height: 1.6875;
  text-align: justify;
  font-size: 100%;
  overflow-x: hidden;
}
body *{
	box-sizing: border-box;
}
#layout-wrap {
	display: flex;
	position: relative;
}
#layout-wrap header{
	max-width: 375px;
	width: 100%;
	min-height: 100vh;
	background:rgba(255,255,255,0.9);
}

#layout-wrap main{
	width:calc(100% - 375px);
}

#layout-wrap .content-wrap{
	display: flex;
	position: relative;
}
#layout-wrap .content-wrap .heading{
	width: 450px;
}

#layout-wrap .content-wrap .heading.scroll{
	height: 100vh;
	overflow-y: scroll;
	scrollbar-width: none;
	position: -webkit-sticky;
	position: sticky;
    top: 0;
}
#layout-wrap .content-wrap .content{
	flex: 1;
	background:#fff;
}

@media only screen and (max-width: 1365px) {
	#layout-wrap header{
	}
	#layout-wrap header{
		position:fixed;
		left:0;
		top:0;
		transition: 0.3s;
		transform:translateX(-100%);
		z-index: 999;
	}
	#layout-wrap header.active{
		transform:translateX(0%);
	}
	#layout-wrap main{
		width:100%;
	}
}

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

	#layout-wrap .content-wrap{
		display: block;
	}

	#layout-wrap .content-wrap .heading{
		width: 100%;
	}

	#layout-wrap .content-wrap .heading.scroll{
		height: auto;
		overflow-y: initial;
		position: relative;
	    top: initial;
	}
	#layout-wrap .content-wrap .content{
		width: 100%;
		background:#fff;
		padding-bottom: 30px;
	}
}


/* ヘッダー---------------- */

header .inner{
	position: -webkit-sticky;
	position: sticky;
    top: 0;
    padding: 50px;
    max-height: 100vh;
	overflow-y: scroll;
	scrollbar-width: none;
}
header #header-logo{
	text-align:center;
	margin-bottom: 45px;
}
header #header-logo img{
	max-width: 100%;
	height: auto;
}
header h1{
	font-size: 1rem;
	font-weight: 500;
	font-family: 'Noto Serif JP', serif;
	margin: 0 0 140px 25px;
}
header h1 span{
	display: block;
}
header h1 span.faculty{
	font-size: 1em;
	line-height: 1.75;
}
header h1 span.department{
	font-size: 2.5em;
	line-height: 1.25;
}
header #section-nav{
	margin: 0 0 0 25px;
}
header #section-nav ol{
	list-style: none;
	margin: 0 0 0 -1.5em;
	padding: 0;
	counter-reset: nav;
	line-height: 1.875;
	color: #777d81;
}
header #section-nav ol li{
	margin-left: 1.5em;
}
header #section-nav ol li a{
	color: #777d81;
	text-decoration: none;
	position: relative;
	display: inline-block;
	width: 100%;
}
header #section-nav ol li a:hover{
	color: #000000;
	transition: 0.3s;
}
header #section-nav ol li a:before{
	content: counter(nav);
	counter-increment: nav;
	font-feature-settings: initial;
	padding-right: 0.5em;
	color: #ffffff;
	position: relative;
	z-index: 2;
	display: inline-block;
	width: 24px;
	text-align:center;
}
header #section-nav ol li a:after{
	content:"";
	background: #c2b317;
	z-index: 1;
	width: 24px;
	height: 24px;
	position: absolute;
	top: 0.25em;
	left:0;
	border-radius: 22px;
}


header .button{
	text-align: center;
	margin: 25px 0 50px;
}
header .button a{
	min-width: 150px;
	text-align: center;
	background: #ef821d;
	color: #fff;
	line-height: 1.5;
}


/* メインビジュアル---------------- */

#layout-wrap main #main_visual{
	width: 100%;
	height: 100vh;
	position: relative;
	opacity: 0;
	transition: 0.3s;
}
#layout-wrap main #main_visual.active{
	opacity: 1;
}

#layout-wrap main #main_visual .image{
	width: 100%;
	height: 100vh;
}
#layout-wrap main #main_visual .image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#layout-wrap main #main_visual .question{
	width: 55%;
	min-width: 298px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50% ,-50%);
}
#layout-wrap main #main_visual .question img{
	width: 100%;
	height: auto;
}



/* セクション---------------- */

#layout-wrap{
	counter-reset: section;
}
#layout-wrap .content-wrap .heading{
	padding: 50px 45px 50px;
	color: #fff;
	background:#c2b317;
}

#layout-wrap .content-wrap .heading h2{
	font-size: 1.5em;
	line-height: 1.4;
	font-weight: 500;
	margin: 0;
	position: relative;
}

#layout-wrap .content-wrap .heading h2:before{
	content: counter(section);
	counter-increment: section;
	font-feature-settings: initial;
	padding-right: 0.5em;
	color: #ffffff;
	position: relative;
	z-index: 2;
	display: inline-block;
	width: 30px;
	text-align:center;
}
#layout-wrap .content-wrap .heading h2:after{
	content:"";
	background: #888888;
	z-index: 1;
	width: 30px;
	height: 30px;
	position: absolute;
	top: 0.15em;
	left:0;
	border-radius: 30px;
}

#layout-wrap .content-wrap .heading .answer{
	width: 100%;
	max-width: 340px;
	margin: 35px auto 45px;
}
#layout-wrap .content-wrap .heading .answer img{
	width: 100%;
	height: auto;
}

#layout-wrap .content-wrap .heading .text-wrap{
	position:relative;
	padding: 35px 35px;
	margin: 60px auto 40px;
}
#layout-wrap .content-wrap .heading .text-wrap .text{
	font-weight: 500;
	line-height: 1.56;
}
#layout-wrap .content-wrap .heading .text-wrap:before{
	content:"";
	width: 2px;
	height: 56px;
	background: #ffffff;
	transform: rotate(47.5deg);
	position:absolute;
	left: 20px;
	top: -4px;
}
#layout-wrap .content-wrap .heading .text-wrap:after{
	content:"";
	width: 2px;
	height: 56px;
	background: #ffffff;
	transform: rotate(47.5deg);
	position:absolute;
	right: 20px;
	bottom: -4px;
}
#layout-wrap .content-wrap .heading  .button{
	text-align: center;
	margin: 35px 0 50px;
}
#layout-wrap .content-wrap .heading  .button a{
	min-width: 200px;
	text-align: center;
	background: #ee87b4;
	color: #fff;
	font-size: 1.25em;
	line-height: 1.5;
	font-weight: 500;
}

#layout-wrap .content-wrap .content .section_image{
	width: 100%;
}
#layout-wrap .content-wrap .content .inner{
	padding: 50px 40px 50px;
}
#layout-wrap .content-wrap .gallery{
	display: flex;
	flex-wrap: wrap;
	gap: 30px 20px;
	margin-bottom: 50px;
}
#layout-wrap .content-wrap .gallery .photo{
	width:calc(50% - 10px);
}
#layout-wrap .content-wrap:last-child .gallery{
	margin-bottom: 0px;
}

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

	#layout-wrap .content-wrap .heading{
		padding: 30px 7.3% 30px;
	}
	#layout-wrap .content-wrap .content .inner{
		padding: 30px 7.3% 30px;
	}
	#layout-wrap .content-wrap .gallery{
		margin-bottom: 30px;
	}

	#layout-wrap .content-wrap .heading .text-wrap{
		padding: 35px 35px;
		margin: 45px auto 40px;
	}
	#layout-wrap .content-wrap .gallery .photo{
		width: 100%;
	}
	#layout-wrap .content-wrap:last-child .gallery{
		margin-bottom: 0px;
	}
}

/* スマホボタン---------------- */
#header-button {
  display: none;
}

@media only screen and (max-width: 1365px) {
  #header-button {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 9999;
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #fff;
    border-radius: 0 0 0 0;
  }
  .hnbgmenu {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }
  .menu-text::after,
  .menu-text::before {
    position: absolute;
    width: 100%;
    left: 0%;
    bottom: 25%;
    text-align:center;
    font-size: 8px;
    line-height: 1;
    white-space: nowrap;
  }
  .menu-line,
  .menu-inner::after,
  .menu-inner::before {
    position: absolute;
    display: block;
    width: 70%;
    left: 15%;
    height: 2px;
    transition: .15s ease-out;
    background-color: #888888;
  }
  .menu-line {
    top: 50%;
    top: calc(50% - 1px);
  }
  .menu-line,
  .menu-inner::after,
  .menu-inner::before {
    content: "";
  }
  .menu-text::before{
    content:"MENU";
  }
  .menu-text::after{
    content:"CLOSE";
  }
  .menu-inner::before {
    top: calc(25% - 1px);
  }
  .menu-inner::after {
    top: calc(75% - 1px);
  }
  .hnbgmenu .menu-text::before{
    display: block;
  }
  .hnbgmenu.active .menu-text::before{
    display: none;
  }
  .hnbgmenu .menu-text::after{
    display: none;
  }
  .hnbgmenu.active .menu-text::after{
    display: block;
  }
  .hnbgmenu.active .menu-line {
    width: 0;
    opacity: 0;
    transform: translateX(20px) rotate(90deg);
  }
  .hnbgmenu.active .menu-inner::before {
    transform: translateY(12.5px) translateX(0px) rotate(-135deg);
  }
  .hnbgmenu.active .menu-inner::after {
    transform: translateY(-12.5px) translateX(0px) rotate(135deg);
  }
}
