@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans);

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{
	margin: 0;
	padding: 0;
	text-align: left;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{
	list-style: none;
	font-size: 18px;
	text-align: left;
}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{
	font-size: 14px;
	text-align: right;
}
img,abbr,acronym,fieldset{border:0;}

body{
	font: 14px/1.9 "Yu Mincho", "Hiragino Mincho ProN", メイリオ, Meiryo,sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000;
	background: #fff;
}

a{
	color: #0066ff;
	text-decoration: none;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{
	outline: 0;
	color: #900000;
}


/* ヘッダー
------------------------------------------------------------*/
#header{
	position: relative;
    overflow:hidden;
    width:100%;
    height:420px;
}

#header img{
    position:absolute;
    left:50%;
    width:1280px;
    height:420px;
    margin-left:-640px;
    object-fit:cover;
}

#slogan{
	position: absolute;
	top: 230px;
	width: 100%;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	color: #fff;
	line-height: 1.2;
	text-align: center;
	left: 2px;
}

#slogan h1{
	font-size: 40px;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
	margin-bottom: 20px;
	font-weight: bold;
	font-style: oblique;
}

#slogan h2{
	font-size: 20px;
	font-weight:normal;
}


/* フッター
------------------------------------------------------------*/
#footer{
	clear: both;
	padding: 20px 10px 20px 0;
	text-align: center;
	font-size: 12px;
}


/* 共通
------------------------------------------------------------*/
h1, h2{
	font-family: "Yu Mincho",
    "游明朝",serif;
	text-align: center;
}

img{
	width: 100%;
	height: auto;
}

section{clear:both;}

section h2{
	font-size: 22px;
	font-weight:normal;
	text-align: center;
}

.inner{
	width: 94%;
	margin: 0 auto;
	padding-bottom: 50px;
}

.col2 li{
	display: inline-block;
	width: 100%;
  	margin: 20px 0 20px 0;
}


/* SEC01 VISION
------------------------------------------------------------*/

.vision{
	width: 60%;
	margin: 0 auto;
	padding-bottom: 80px;
}


/* SEC02 MESSAGE
------------------------------------------------------------*/
.wrap{
	clear: both;
	width: 100%;
	background: #f6f6f6;
}

.bg{
	line-height: 0;
}

.txt h2{
	padding: 0 0 20px !important;
}


/* SEC03 SERVICE MESSAGE STORY
------------------------------------------------------------*/
.col3 li{
	margin-bottom: 50px;
}

.col3 img{
	max-width: 288px;
	display: block;
	margin: -5px auto 20px;
}


/* SEC04 STORY & SUCCESS
------------------------------------------------------------*/
#sec04{
	background: url(../images/bgSec04.jpg) no-repeat 100% 100% fixed;
	background-size: cover;
	-webkit-background-size: cover;
	color: #fff;
	overflow: hidden;
	padding-bottom: 48px;
}


/* SEC05 PROFILE
------------------------------------------------------------*/
#sec05{
	padding-top: 50px;
}

#sec05 dl{
	line-height: 1.2;
}

#sec05 dt{
	clear: left;
	float: left;
	display: block;
	width: 30%;
	margin-right: 10%;
	margin-bottom: 20px;
	text-align: right;
	line-height: 1.6em;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
}

#sec05 dd{
	width: 60%;
	float: left;
	text-align: right;
	margin-bottom: 15px;
	line-height: 1.6em;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
}

#sec05 header{
	display: none;
}

#map{
	position: relative;
	margin-top: 0;
	padding: 28px 0 18px;
	height: auto;
	overflow: visible;
	background-color: #000000;
	color: #fff;
}

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}


/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 1200px){
	.inner{
	width: 1024px;
	padding-bottom: 120px;
	text-align: center;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
	color: #FFFFFF;
	}
	section h2{
	padding: 70px 0 20px;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
	text-align: center;
	}
	.txt h2{
	padding: 0 0 20px !important;
	}
}

@media only screen and (min-width: 800px){
	body{
	font-size: 14px;
	text-align: center;
	}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}

	#mainnav{
		position:fixed;
		top: 0;
		width:100%;
		z-index:500;
	}

	#mainnav ul{
		text-align: right;
		padding-right: 30px;
	}

	#mainnav li{
		display: inline-block;
		padding: 45px 10px 20px;
		font-size: 14px;
		font-weight: 300;
	}
	
  #mainnav a{
		color: #000;
	}
	
	#mainnav.changeNav{
		background: rgba(255,255,255,.9);
		border-bottom: 1px solid #d1d1d1;
	}
	
	#mainnav.changeNav li{
		padding: 20px 10px;
	}

	/* SEC02 MESSAGE
	-----------------*/
	.txt, .bg{
		width: 50%;
		float: left;
		display: table;
	background: #f6f6f6;
	}

	#sec02_02 .txt, #sec02_02 .bg{
		float: right;
	}

	.vMid{
	display: table-cell;
	padding: 0 100px;
	vertical-align: middle;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-style: normal;
	font-size: 16px;
	}
	
	/* SEC03 SERVICE MESSAGE STORY
	-----------------*/
	.col3{
		text-align: center;
	}

	.col3 li{
		display: inline-block;
		width: 30%;
		padding: 0 1.5%;
		margin-bottom: 0;
		vertical-align: top;
		text-align: left;
	}
	
	/* SEC05 PROFILE
	-----------------*/
	#sec05{
		padding-top: 120px;
	}
	
  #footer{
		padding: 20px 10px 20px 0;
	}
}

@media only screen and (min-width: 641px){
	.col2 li{
		width: 40%;
		padding: 0 3%;
		vertical-align: top;
	}
}

@media only screen and (max-width: 640px){
	#map iframe{
	  width: 96% !important;
		left: 2%;
	}
}

@media only screen and (max-width: 799px){
	#slogan h1{
		font-size: 31px;
	}

	#slogan h2{
		font-size: 16px;
	}

  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 10px;
	}

	#menuBtn{
  	display: block;
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	width: 18px;
  	height: 2px;
  	margin: -1px 0 0 -7px;
  	background: #fff;
  	transition: .2s;
	}

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #fff;
  	transition: .3s;
	}

	#menuBtn:before{
  	margin-top: -7px;
	}

	#menuBtn:after{
  	margin-top: 5px;
	}

	a#menu .close{
  	background: transparent;
	}

	a#menu .close:before, a#menu .close:after{
  	margin-top: 0;
	}

	a#menu .close:before{
  	transform: rotate(-45deg);
  	-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
  	transform: rotate(-135deg);
  	-webkit-transform: rotate(-135deg);
	}

	.panel{
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: 0;
		z-index: 100;
	}

	#mainnav{
		position: absolute;
		top: 0;
		right: 0;
		width: 100%;
		text-align: right;
		z-index:500;
	}

	#mainnav ul{
		border-bottom: 1px solid #ccc;
		background: #fff;
		text-align: left;
	}

	#mainnav li a{
		position: relative;
		display:block;
		padding:15px 25px;
		border-bottom: 1px solid #ccc;
		color: #000;
		font-weight: 400;
	}

	#mainnav li a:before{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 5px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;
		border-top: solid 2px #000;
		border-right: solid 2px #000;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	.col3 li{
		margin: 0 auto;
		display: block;
	max-width: 288px;
	}
}

@media only screen and (max-width: 1199px){
	section h2{
		padding: 50px 0 20px 0;
	}
	#sec01 h2{
		padding: 70px 0 20px;
	}
	.vMid{
		padding: 0 20px;
	}
}

/* ------------------------------------------------------------
   GPT修正：本文レイアウト調整
------------------------------------------------------------ */
#slogan{
	top: 176px;
	left: -4px;
	text-align: center;
}

#slogan h1{
	text-align: center;
}

.vision p,
.notice-text{
	text-align: center;
}

.sp-copy,
.title-break{
	display: none;
}

.principal-name{
	margin-top: 24px;
	text-align: center;
	font-weight: bold;
}

.single-line-heading{
	white-space: nowrap;
	letter-spacing: 0.03em;
}

.certificate-link{
	margin-top: 28px;
	text-align: center;
}

.certificate-info{
	display: flex;
	min-height: 150px;
	padding-top: 60px;
	padding-bottom: 60px;
	box-sizing: border-box;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.certificate-info h2,
.certificate-info p{
	width: 100%;
	max-width: 760px;
	text-align: center;
}

.certificate-info h2{
	padding: 0 0 24px;
	font-size: 26px;
	font-weight: normal;
}

.certificate-info p{
	font-size: 18px;
	line-height: 2;
}

.course-text{
	text-align: center;
}

.course-text + .course-text{
	margin-top: 14px;
}

@media only screen and (min-width: 800px){
	#sec02 > .wrap:first-child{
		display: flex;
		align-items: stretch;
	}

	#sec02 > .wrap:first-child .bg,
	#sec02 > .wrap:first-child .txt{
		display: flex;
		width: 50%;
		float: none;
	}

	#sec02 > .wrap:first-child .bg img{
		display: block;
		width: 100%;
		height: auto;
	}

	#sec02 > .wrap:first-child .txt{
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	#sec02 > .wrap:first-child .vMid{
		display: flex;
		width: 100%;
		min-height: 100%;
		box-sizing: border-box;
		flex-direction: column;
		justify-content: center;
		flex: none;
	}
}

.footer-contact{
	display: flex;
	width: 94%;
	max-width: 960px;
	padding-bottom: 0;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	gap: 32px;
	color: #fff;
}

.footer-info{
	flex: 0 1 430px;
}

.footer-info p{
	text-align: left;
	font-size: 16px;
	line-height: 1.8;
}

.footer-school-name{
	margin-bottom: 8px;
	font-size: 30px !important;
	font-weight: bold;
	line-height: 1.4;
}

.footer-school-photo{
	width: 320px;
	max-width: 40%;
	line-height: 0;
}

.footer-school-photo img{
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
}

#footer{
	clear: both;
	padding: 0 10px 18px;
	background: #000;
	color: #fff;
	text-align: center;
	font-size: 12px;
}

#footer p{
	text-align: center;
}

@media only screen and (min-width: 800px){
	#footer{
		padding: 0 10px 18px;
	}
}

@media only screen and (max-width: 799px){
	#slogan{
		top: 355px;
	}

	.single-line-heading{
		font-size: 18px;
		white-space: normal;
	}

	.pc-copy{
		display: none;
	}

	.sp-copy{
		display: inline;
	}

	.title-break{
		display: block;
	}

	.vision{
		width: 86%;
	}

	.vision p,
	.notice-text{
		text-align: left;
	}

	.vision .principal-name{
		text-align: right;
	}

	.certificate-info{
		min-height: 150px;
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.certificate-info h2{
		font-size: 22px;
	}

	.certificate-info p{
		font-size: 15px;
	}

	#map{
		padding: 28px 0 16px;
	}

	.footer-contact{
		flex-direction: column;
		max-width: 430px;
		gap: 18px;
	}

	.footer-info{
		width: 100%;
		flex: none;
	}

	.footer-info p{
		text-align: center;
		font-size: 15px;
	}

	.footer-school-name{
		font-size: 24px !important;
	}

	.footer-school-photo{
		width: 100%;
		max-width: 320px;
	}

	#footer{
		padding-bottom: 16px;
	}
}

/* ------------------------------------------------------------
   今日の修正：タイトル・ボタン・PC版配置
------------------------------------------------------------ */
section h2{
	color: #830002;
}

#sec04 .certificate-info h2{
	color: #FFFFFF;
}

.main-title{
	position: relative;
	overflow: hidden;
	padding: 78px 20px 54px;
	color: #000;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-weight: bold;
	line-height: 1.45;
	text-align: center;
	letter-spacing: 0.04em;
}

.main-title::before{
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 0;
	width: 500px;
	height: 500px;
	background: url(../images/enso-bg.png) no-repeat center center;
	background-size: contain;
	content: "";
	opacity: 0.16;
	transform: translate(-50%, -50%);
}

.main-title span,
.main-title strong{
	position: relative;
	z-index: 1;
	display: block;
	color: #000;
	text-align: center;
}

.main-title span{
	font-size: 34px;
}

.main-title strong{
	margin-top: 12px;
	font-size: 52px;
	letter-spacing: 0.08em;
}

.certificate-button{
	display: table;
	margin: 0 auto;
	padding: 14px 34px;
	background: rgba(255, 255, 255, 0.82);
	border: 0;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
	color: #000;
	font-size: 21px;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
}

.certificate-button strong{
	color: #000;
	font-weight: bold;
	text-align: center;
}

.certificate-button:hover,
.certificate-button:focus{
	background: rgba(255, 255, 255, 0.94);
	color: #000;
	text-decoration: none;
}

@media only screen and (min-width: 800px){
	#sec02 > .wrap:first-child{
		display: flex;
		align-items: stretch;
	}

	#sec02 > .wrap:first-child .bg,
	#sec02 > .wrap:first-child .txt{
		display: flex;
		width: 50%;
		float: none;
	}

	#sec02 > .wrap:first-child .bg img{
		display: block;
		width: 100%;
		height: auto;
	}

	#sec02 > .wrap:first-child .txt{
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	#sec02 > .wrap:first-child .vMid{
		display: flex;
		width: 100%;
		min-height: 100%;
		box-sizing: border-box;
		flex-direction: column;
		justify-content: center;
		flex: none;
	}
}

@media only screen and (max-width: 799px){
	.main-title{
		padding: 54px 18px 38px;
		line-height: 1.55;
		letter-spacing: 0.02em;
	}

	.main-title::before{
		width: 330px;
		height: 330px;
		opacity: 0.14;
	}

	.main-title span{
		font-size: 24px;
	}

	.main-title strong{
		margin-top: 10px;
		font-size: 36px;
		letter-spacing: 0.04em;
	}

	.certificate-button{
		width: 86%;
		box-sizing: border-box;
		padding: 13px 18px;
		font-size: 18px;
	}

	#sec04{
		padding-bottom: 36px;
	}
}

/* ------------------------------------------------------------
   証明書発行ページ
------------------------------------------------------------ */
.document-page{
	background: #fff;
}

.document-hero{
	position: relative;
	width: 100%;
	height: 300px;
	overflow: hidden;
	line-height: 0;
}

.document-hero img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 58%;
}

.document-home{
	width: 94%;
	max-width: 960px;
	margin: 20px auto 0;
	text-align: left;
}

.document-home a{
	display: inline-block;
	min-width: 82px;
	padding: 7px 18px;
	box-sizing: border-box;
	border: 1px solid #830002;
	color: #830002;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
	letter-spacing: 0.08em;
	text-decoration: none;
}

.document-home a:hover,
.document-home a:focus{
	background: #830002;
	color: #fff;
	text-decoration: none;
}

.document-main{
	width: 94%;
	max-width: 960px;
	margin: 0 auto;
	padding: 46px 0 86px;
}

.document-section{
	margin-top: 42px;
}

.document-section:first-child{
	margin-top: 0;
}

.document-section h1,
.document-section h2{
	color: #830002;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-weight: normal;
	text-align: center;
}

.document-section h1{
	margin-bottom: 28px;
	font-size: 30px;
	line-height: 1.6;
}

.document-section h2{
	margin-bottom: 18px;
	padding: 0;
	font-size: 23px;
	line-height: 1.5;
}

.document-section p{
	max-width: 760px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 2;
	text-align: left;
}

.document-section p + p{
	margin-top: 8px;
}

.document-intro p{
	text-align: left;
}

.document-table-wrap{
	width: 100%;
	overflow-x: auto;
}

.document-table{
	width: 100%;
	min-width: 720px;
	border: 1px solid #d9d1c7;
	background: #fff;
	font-size: 15px;
	line-height: 1.8;
}

.document-table th,
.document-table td{
	padding: 15px 18px;
	border: 1px solid #d9d1c7;
	vertical-align: middle;
	text-align: left;
}

.document-table th{
	background: #f5f0ea;
	color: #830002;
	font-weight: bold;
	text-align: center;
}

.document-table td:first-child{
	width: 58%;
	background: #fbf8f5;
	font-weight: normal;
	text-align: left;
	white-space: normal;
}

.document-table th:nth-child(2),
.document-table th:nth-child(3),
.document-table td:nth-child(2),
.document-table td:nth-child(3){
	width: 21%;
	text-align: center;
	white-space: nowrap;
}

.document-fee-table td:last-child{
	width: 30%;
	text-align: center;
	white-space: nowrap;
}

.document-table-title{
	color: #830002;
	font-weight: bold;
}

.document-pdf-link{
	display: inline-block;
	margin: 4px 0 6px;
	color: #0066ff;
	font-weight: bold;
	text-decoration: underline;
}

img.document-file-icon{
	display: inline-block !important;
	width: 24px !important;
	max-width: 24px !important;
	height: 24px !important;
	object-fit: contain;
	margin-left: 5px;
	vertical-align: -6px;
}

.document-fee-note{
	margin-top: 12px !important;
	font-size: 14px !important;
	text-align: left !important;
}

.document-note{
	padding-top: 12px;
}

.document-note p{
	text-align: center;
}

.document-mail{
	font-size: 18px !important;
}

.document-mail a{
	color: #0066ff;
	text-decoration: underline;
}

.document-list{
	width: 94%;
	max-width: 760px;
	margin: 0 auto;
	list-style: decimal;
	list-style-position: outside;
	font-size: 16px;
	line-height: 2;
}

.document-list li{
	margin-left: 1.6em;
	padding-left: 0.5em;
	text-align: left;
}

@media only screen and (min-width: 800px){
	.document-hero{
		height: 260px;
	}
}

@media only screen and (max-width: 799px){
	.document-hero{
		height: 220px;
	}

	.document-home{
		margin-top: 20px;
		text-align: left;
	}

	.document-home a{
		min-width: 78px;
		padding: 7px 16px;
	}

	.document-main{
		padding: 38px 0 64px;
	}

	.document-section{
		margin-top: 34px;
	}

	.document-section h1{
		margin-bottom: 22px;
		font-size: 24px;
	}

	.document-section h2{
		font-size: 20px;
	}

	.document-section p{
		font-size: 15px;
		line-height: 1.9;
	}

	.document-intro p{
		text-align: left;
	}

	.document-table-wrap{
		overflow-x: visible;
	}

	.document-table{
		width: 100%;
		min-width: 0;
		table-layout: fixed;
		font-size: 12px;
		line-height: 1.65;
	}

	.document-table th,
	.document-table td{
		padding: 9px 7px;
		word-break: break-word;
		overflow-wrap: anywhere;
	}

	.document-table td:first-child{
		width: 58%;
	}

	.document-table th:nth-child(2),
	.document-table th:nth-child(3),
	.document-table td:nth-child(2),
	.document-table td:nth-child(3){
		width: 21%;
		white-space: normal;
	}

	.document-fee-table td:first-child{
		width: 66%;
	}

	.document-fee-table th:last-child,
	.document-fee-table td:last-child{
		width: 34%;
		white-space: normal;
	}

	.document-table-title,
	.document-pdf-link{
		overflow-wrap: anywhere;
	}

	.document-list{
		font-size: 15px;
		line-height: 1.9;
	}
}

#menuWrap,
a#menu,
#menuBtn{
	display: none !important;
}
