/* CSS Document */

@charset "utf-8";

* {
  font-family:'メイリオ', 'Meiryo', sans-serif;
}

.pcOnly{display:block;}
.spOnly{display:none;}

.hover,.hover_up{
	transition:all 0.3s;
}

.hover:hover{opacity: 0.8;}

.hover_up:hover{
	  transform: scale(1.1);
}

.bold{font-weight: bold;}
.txc{text-align: center;}
.minitxt{font-size: 0.75em;}
.blue_p{color: #0078b5;line-height: 1.4;}
.red_p{color: #ea3e2c;line-height: 1.4;}

.midasi{font-size: 2rem;line-height: 1.4;}
.midasi_m{font-size: 2rem;line-height: 1.4;}
.midasi_l{font-size: 2.8rem;line-height: 1.4;}

.txL{text-align: left;}

.scroll-y{    text-align: left;
    margin: 0 auto 2rem;
    border: 1px solid #dfdfdf;
    padding: 3.5rem 3rem;
    line-height: 1.5;
    height: 280px;
    overflow-y: scroll;
}

a{
	display: block;
}

img{
	width:100%;
	vertical-align:bottom;
}

body{
	font-size:1.6rem;
	line-height:1.6;
	font-style: normal;
	min-height: 100vh; /* ←コンテンツの高さの最小値＝ブラウザの高さに指定 */
    position: relative;/* ←相対位置 */
    padding-bottom: 5%; /* ←フッターの高さを指定 */
    box-sizing: border-box;
	color: #484848;
	font-feature-settings: "palt";
	letter-spacing: normal;
}

/*ヘッダー*/

main{
	width: 100%;
	max-width: 1000px;
	margin:4.5rem auto 4.5rem auto;
	text-align:center;
}

ul{
	display:flex;
	justify-content: center;
}


/*ヘッダーのPCデザイン*/

.headerbackground {
    display: flex;
    width: 100%;
    height:  52.55px;
    align-items: flex-start;
    border-bottom: 5px solid #00a8d2;
    align-content: flex-start;
	background-color: white;
}
.leftdecoration{
    width: 10%;
    margin-left: 0px;
    height: 52.55px;
    max-width: 58px;
}
.headertitle{
    width: 30%;
    margin: auto;
    min-width: 184px;
    max-width: 230px;
    margin-left: 10px;
    margin-right: 0px;
}

.headertitlelogo{
    width :20%;
    max-width: 161px;
    margin: auto;
    margin-left: 10px;
    color: #0078b5;
    font-size: min(2em,4vw);
    font-weight: bold;
}
.header_username{
    margin: auto;
    height: 30x;
    margin-left: auto;
    margin-right: 0px;
    font-weight: bold;
}
.san{
    margin: auto;
    margin-left: 10px;
    margin-right: 0px;
    font-size: 10pt;
}
.header_logout{
    margin: auto;
    margin-left: 30px;
    margin-right: 30px;
}
.menu_button{
    display: none;
    margin: auto;
    margin-left: 30px;
    margin-right: 0px;
}
.rightdecoration{
    width: 10%;
    margin-left: 0px;
    height: 52.55px;
    max-width: 58px;
    margin-bottom: 0px;
    margin-top: auto;
}

.headerbackground img:nth-of-type(1){
    align-items: flex-start;
}

/*ヘッダーのSPデザイン*/
@media screen and (max-width: 930px) {
    .headerbackground {
        width: 100%;
    }
    .headerbackground .header_username{
        display: none;
    }
    .headerbackground .san{
        display: none;
    }
}
@media screen and (max-width: 760px) {
    .headertitlelogo{
        margin-right: auto;
    }
    .rightdecoration {
        margin-left: auto;
    }
}
@media screen and (max-width: 650px) {
    .menu_button{
        display: none;
    }
    .rightdecoration{
        margin-left: auto;
    }
    
}
@media screen and (max-width: 598px) {
    .leftdecoration {
        height: auto;
    }
    .information01{
        width: 100%;
    }
    .headertitlelogo {
        font-size: max(4vw,16px);
    }
    .rightdecoration{
        height: auto;
    }
}

/*メイン背景*/

#bluebg{background-color: #c5e8f9;
      background-image: url("../img/bg.png");
      background-repeat: repeat;}



	/*吹き出し*/
	.balloon2 {
	position: relative;
    display: inline-block;
    margin:0 0 1.5em;
    padding: 2.5% 5%;
    width: 100%;
    color: #0078b5;
    font-size: 1.1em;
    background: #FFF;
    border: solid 3px #0078b5;
    box-sizing: border-box;
    border-radius: 50px;
    font-weight: bold;
    line-height: 1.5;
	}

	.balloon2 p{text-align: center;
    font-size: 1.7rem;line-height: 1.4;}

	.balloon2:before {
	  content: "";
	  position: absolute;
	  bottom: -24px;
	  left: 50%;
	  margin-left: -15px;
	  border: 12px solid transparent;
	  border-top: 12px solid #FFF;
	  z-index: 2;
	}

	.balloon2:after {
	  content: "";
	  position: absolute;
	  bottom: -30px;
	  left: 50%;
	  margin-left: -17px;
	  border: 14px solid transparent;
	  border-top: 14px solid #0078b5;
	  z-index: 1;
	}

	.balloon2 p {
	  margin: 0;
	  padding: 0;
	}

	.login_telop{
		background-color: white;
		display: flex;
		justify-content: center;
		text-align: center;
		color:#0078b5;
		font-weight: bold;
		padding: 2rem 0 2rem 0;
	}

	/*チェックボックス*/
	.require{line-height: 1.6;}


	input[type=checkbox] {
		display:none
	}
	.agreecheck,.agreecheck2{
	  position:relative;
	  padding:5px 30px;
	  cursor:pointer;
		font-size: 0.85em;
	}

	.agreecheck:before,.agreecheck2:before {
		width: 20px;
		height: 20px;
		right: 0px;
		border: 2px solid #ccc;
		border-radius: 3px;
		margin-top: -13px;
		background-color: #fff;
	}
	.agreechecke:after,
	.agreecheck:before,.agreechecke2:after,
	.agreecheck2:before{
	  position:absolute;
	  content:"";
	  top:50%
	}

	.agreecheck:hover::before,.agreecheck2:hover::before{
		border: 2px solid #e77537;
	}

	.agreecheck::after,.agreecheck2::after{
		position: absolute;
		width: 7px;
		height: 12px;
		top: 50%;
		right: 8px;
		border-right: 3px solid #e77537;
		border-bottom: 3px solid #e77537;
		content: '';
		margin-top: -10px;
		opacity: 0;
		transform: rotate(45deg);
	}
	input[type=checkbox]:checked + .agreecheck::after {
	  opacity: 1;
	}

	input[type=checkbox]:checked + .agreecheck2::after {
	  opacity: 1;
	}

		/*青見出し*/

		.midasi_b {
			position: relative;
			margin: 4rem 0 0 0;
			padding: 3rem 0 4rem;
			color: #fff;
			font-size: 2.8rem;
			text-align: center;
			background: #0078b5;
			border-radius: 30px 30px 0 0
		}

		.midasi_b:before {
			position: absolute;
			bottom: 36px;
			left: calc(50% - 30px);
			width: 60px;
			height: 5px;
			content: '';
			border-radius: 3px;
			background: #ffffff;
		}


		/*フッター*/
		footer{
			padding:2rem 0;
			color:#ffffff;
			text-align:center;
			background-color: #0078b5;
			 position: absolute;
		  bottom: 0;
		  left: 0;
		  width: 100%;
		}

		footer ul li a{
			position:relative;
			margin:0 1rem;
			font-size:1.5rem;font-weight: bold;
			color:#ffffff;
			text-decoration: none;
		}

		footer ul li:first-child a:before{
			content:"";
			position:absolute;
			left:-1rem;
			height: 70%;
			border-left: 1px solid #ffffff;
			bottom: 4px;
		}

		footer ul li a:after{
			content:"";
			position:absolute;
			right:-1rem;
			height: 70%;
			 border-left: 1px solid #ffffff;
			bottom: 4px;
		}


		@media screen and (max-width:1200px){

			body{padding-bottom: 8%;}

		main{
			width:95%;
			margin-right:auto;
			margin-left:auto;
		}



		}

		@media screen and (max-width:768px){

		header h1{
			width:90%;
		}


		footer ul li a{
			font-size:1.4rem;
		}

		}

		@media screen and (max-width:640px){
		.pcOnly{display:none;}
		.spOnly{display:block;}

		.midasi_l{font-size: 2.6rem;line-height: 1.4;}

		body {padding-bottom: 25%;}

		.balloon2 p{
			font-size: 1.5rem;
		}

		/*ヘッダー*/
		header{
			background-size: 6%;
			background-position: top left,bottom right;
		}

		header .logoBox {margin-left: 5%;}

		header h1 {
			width: 80%;
		}

		header p {
			font-size: 1.3em;}

		main{
			width:90%;
			margin:4.5rem auto;
		}

		@media screen and (max-width:363px){
			.agreecheck,.agreecheck2{
				  font-size: 0.75em;
			}
		}
		@media screen and (max-width:336px){
			.agreecheck,.agreecheck2{
				  font-size: 0.65em;
			}
		}


		/*フッター*/
		footer ul{display: block;
				text-align: center;
		}

		footer ul li {display: inline-block;}

		/*チェックボックス*/

		.agreechecke2:after, .agreecheck2:before {top: 71%;}

		.agreecheck2::after {
			top: 68%;}

		}