/* CSS Document */
/*------------------------------------------------------------------------------*/
/* Base設定　*/
html{
    font-size: 62.5%;
	scroll-behavior: smooth;
	overflow-y: scroll;
	overflow-x: hidden;
}

body{
	position: relative;
    font-size:1.6rem;/* 16px*/
    line-height: 1.75;
	text-align: center;
  	font-family: "Noto Sans JP", serif;
  	font-optical-sizing: auto;
	font-weight: 500;
	color: #000;
	background: #FFF;
    height: 100vh; /* 画面の高さを100%にする */
    margin: 0;
}

body:before{
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background: url("../images/bk.jpg") center no-repeat;
    background-size: cover;
}

main {
	display: block;
}

article, section, div {
	box-sizing: border-box;
}

h1 {
    font-size: 32px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(3.2rem + ((1vw - 0.64rem) * 2.1429));/* 24px~36pxで可変*/
    line-height: 1.3;
	font-weight: 400;
	font-style: normal;
}

h2 {
    font-size: 24px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2.4rem + ((1vw - 0.64rem) * 0.2143));/* 20px~24pxで可変*/
    line-height: 1.3;
	font-weight: 900;
	text-align: justify;
}

h3 {
	font-size: 20px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2.2rem + ((1vw - 0.64rem) * 0.2143));/* 20px~24pxで可変*/
    line-height: 1.3;
	font-weight: 700;
	text-align: justify;
}

h4 {
	text-align: justify;
	font-weight: 700;
	font-size: 16px;
    font-size: calc(1.6rem + ((1vw - 0.64rem) * 0.2143));/* 20px~24pxで可変*/
}

h5 {
	text-align: justify;
	font-weight: 700;
	font-size: 16px;
    font-size: calc(1.6rem + ((1vw - 0.64rem) * 0.2143));/* 20px~24pxで可変*/
}

small {
	font-size: 80%;
}
@media (min-width: 1200px) {/* 1200px以上*/
    h1 {
        font-size: 3.6rem;/* 36px*/
    }
    h2 {
        font-size: 2.4rem;/* 24px*/
    }
}
@media screen and (max-width: 999px) {/* 640px以下*/
    body{
		line-height: 2;
		font-size: 1.6rem;
    }
    h1{
        font-size: 2.4rem;/* 24px*/
    }
    h2 {
        font-size: 2.0rem;/* 20px*/
    }
}

a:link { color:rgba(33,116,214,1.00); text-decoration: underline; }
a:visited { color: rgba(33,116,214,1.00); text-decoration: none; }
a:hover { color:rgba(250,101,101,1.00); text-decoration: underline; }

nav a:link { color:rgba(33,116,214,1.00); text-decoration: none; }
nav a:visited { color: rgba(33,116,214,1.00); text-decoration: none; }
nav a:hover { color:rgba(250,101,101,1.00); text-decoration: underline; }
/*------------------------------------------------------------------------------*/
/*　ここからデザイン用 */
img {
	width:100%;
	height: auto;
}
/*------------------------------------------------------------------------------*/
/*　ここからheader */
header {
	position: relative;
}

header article section {
	margin: 0rem auto 0rem;
}

header article section h1 {
	width:100%;
}

header article section h2 {
	width:100%;
	margin: 0 auto;
}

/*------------------------------------------------------------------------------*/
/*　ここからmain */
main article {
	width:100%;
	padding: 3em 0;
	font-weight: 600;
}

main article section {
	width:1200px;
	margin: 1rem auto ;
	padding:5px;
	background-color:#fff;/*背景色*/
}

main article section h2 {
	text-align: center;
}

main article section p {
	text-align: justify;
	margin:0.5em 1em;
	font-size: 2.4rem;
	font-weight: 600;
}

main article section div.present {
	margin: 1em;
	padding: 1em;
}

main article section div.present h3 {
	width:100px;
	margin: 0 auto;
	text-align: center;
}

main article section div.present ol {
	width:80%;
	margin: 1em auto;
	text-align: center;
}

main article section div.present ol li {
	text-align: center;
}

main article section div#No1 {
	background:rgba(0,16,175,1.00)
}

main article section div#No2 {
	background:rgba(98,0,211,1.00)
}

main article section div#No3 {
	background: #FF7C9F;
}

main article section div#No4 {
	background: #BB31DF;
}

main article section div#No5 {
	background: #FDAE52;
}

main article div.btnarea {
	width:400px;
	margin: 5em auto;
}

main article div.btnarea img {
	width:100%;
	height: auto;
}



ol li img.present_image {
	width:50%;
	display: inline-block;
	margin: -3em auto 0;
}


main p a.entrybtn {
	font-size: 1.5rem;
	padding: 5px;
	display: block;
	width:50%;
	margin: 10px auto;
	box-sizing: border-box;
	background: #f9cb4d; /* Old browsers */
	background: -moz-linear-gradient(top,  #f9cb4d 0%, #fff7a0 32%, #ffe97c 60%, #e5c004 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #f9cb4d 0%,#fff7a0 32%,#ffe97c 60%,#e5c004 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #f9cb4d 0%,#fff7a0 32%,#ffe97c 60%,#e5c004 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9cb4d', endColorstr='#e5c004',GradientType=0 ); /* IE6-9 */
	color: #5F2900;
	border: 1px solid #5F2900;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
}

main p a.entrybtn:hover {
	background:#F9C284;
	color:#5F2900;
	border: 1px solid #5F2900;
	transition: 0.3s;
}

/*------------------------------------------------------------------------------*/
/*　ここからfooter */
footer {
	width:100%;
	background:transparent;
	padding: 3em 0;
	text-align: center;
}

footer address {
	font-style: normal;
	font-size: 1.4rem;
}

footer address a:link,
footer address a:visited,
footer address a:hover {
	color: #000;
}
/*------------------------------------------------------------------------------*/
/*　ここからクラス */
.flex {
	display: flex;
}
.pc {
	display: inherit;
}

.sp {
	display: none;
}

.pagetop {
	position: fixed;
	bottom:2em;
	right:1em;
	font-size: 3rem;
	width:2em;
	height: 2em;
	text-align: center;
	border-radius: 3em;
	font-weight: 900;
	
	background: rgba(255,255,255,0.8);
	z-index: 50
}

.pagetop a:link ,
.pagetop a:visited ,
.pagetop a:hover {
	display: inline-block;
	color:#666;
	text-decoration: none;
}

#No4 table {
	width:100%;
	font-size: 3rem;
	font-weight: 700;
	color: #fff;
}

#No4 table td {
	border-bottom: 2px solid #fff;
}
/*------------------------------------------------------------------------------*/
/*　ここから1200px以下 */
@media (max-width: 1200px) {
	header article section {
		width:100%;
	}

	main article section {
		width:98%;
		margin:auto;
	}

	.pagetop {
		font-size: 2.4rem;
	}

}

@media (max-width: 767px) {
	body {
		font-size: 1.3rem;
		line-height: 1.5
	}

	main article {
		margin: 1em 0;
		padding: 0
	}

	main article section p {
		font-size: 1.4rem;
	}


	main article section div.present h3 {
		width:20%;
		margin: 0 auto;
		text-align: center;
	}

	main article section div.present ol {
		width:98%;
		margin: 1em auto;
		text-align: center;
	}
	main article div.btnarea {
		width:80%;
	}
	
	#No4 table {
		width:100%;
		font-size: 1.6rem;
		font-weight: 700;
		color: #fff;
	}

	#No4 table td {
		padding: 3px 0;
	}

	
	p.btn {
		width: 98%;
		margin: 2em auto;
	}

	.pc {
		display: none;
	}

	.sp {
		display: inherit;
	}
	.pagetop {
		font-size: 2.2rem;
	}

	footer {
		padding-bottom: 4em;
	}
}

