@charset "utf-8";
/* CSS Document */

html {
    scroll-behavior: smooth;
}

@media(max-width: 768px) {
	.pc-view {
		display: none;
	}
}
@media(min-width: 769px) {
	.sm-view {
		display: none;
	}
	.pc-view {
		display: block;
		max-width: 600px;
		margin: 0 auto;
	}
}

body {
	background-color: #FFF9E5;
	border-top: 4px solid #f57b05;
	color: #333;
	font-family: "メイリオ","Meiryo","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック", "MS P Gothic","Osaka", Verdana,Arial, Helvetica, sans-serif;
	line-height: 180%;
	text-align: center;
	letter-spacing: -0.001em;
}

#wrapper {
	overflow: hidden;
	text-align: center;
}
@media(max-width: 768px) {
	#wrapper {
		text-align: left;
	}
}
	
#top {
	margin: 0 auto;
	text-align: left;
	width: 900px;
}
@media(max-width: 768px){
	#top {
		margin: 0 auto;
		text-align: left;
		max-width: 600px;
	}
}
h1 {
	padding: 28px 0;
	width: 600px;
}
@media(max-width: 768px) {
	h1 {
		padding: 0;
		width: auto;
	}
}

@media(max-width: 768px) {
	.img-top {
		margin-bottom: 15px;
	}
}

#text1 {
	margin-bottom: 20px;
	overflow: hidden;
	padding: 10px;
}

#headerbox {
	display: none;
}
#contents {
	margin: 0 auto;
	padding: 30px 0 50px;
	position: relative;
	text-align: left;
	max-width: 900px;
	background-color: #fff;
}

.txt-img {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
}

.centerbox {
	text-align: center;
}

.ylw {
	background-color: #FFE566;
}
.lbg {
	color: #4472C4;
}

img {
	vertical-align: middle;
}
@media(max-width: 768px) {
	img {
		max-width: 500px;
	}
}


#main h3 {
	background-color: #FFE699;
	padding: 5px 0;
	border: 2px solid #bc8c00;
	max-width: 850px;
	margin: 0 auto 20px;
}

#main h3 span {
	display: block;
	/*border-left: 4px solid #FFF9E5;*/
	color: #333;
	font-size: 18px;
	font-size: 28px;
	font-weight: bold;
	margin: 2px 8px;
	padding: 4px 0 0 8px;
}
@media(max-width: 768px) {
	#main h3 span {
		font-size: 18px;
	}
}

#main h5 {
	font-size: 16px;
	font-weight: bold;
	line-height: 150%;
	margin: 3px auto;
	}

.smallsentence {
	text-align: right;
	margin: 0 auto;
}

.button a {
	max-width: 440px;
	background-color: #f57b05;
	border-radius: 10px;
	box-shadow: 4px 4px 4px rgba(0,0,0,0.5);
	color: #ffffff;
	text-shadow: 1px 2px 1px #333;
	font-size: 38px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	margin: 0 auto 20px;
	padding: 8px 10px;
	border: 2px solid #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}
@media(max-width: 768px) {
	.button a {
		font-size: 28px;
	}
}

.button a::after {
  content: '';
  width: 14px;
  height: 14px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  transform: rotate(45deg);
  margin-left: 20px;
}


.button a:hover {
	box-shadow: 0 1px 0 rgba(136,136,136,1);
	margin: 8px auto 12px;
}

.button a img {
	margin-right: 10px;
}

.button a p {
	margin-top: 10px;
}
@media(max-width: 768px) {
	.button a p {
		margin-top: 0;
	}
}



.rnd1 {
	position: relative;
	z-index: 1;
	padding: 15px;
	margin: 15px auto;
}
.rbox2 {
	background-color: #fff;
	border:2px solid #f57b05;
	width: 95%;
	border-radius: 15px;
}
.rbox4 {
	border: 1px solid #4472C4;
	background-color: #DAE3F3;
	border-radius: 0px;
}
.fbox4-1, .fbox4-2 {
	display: flex;
	margin-top: 10px;
}
@media(max-width: 768px) {
	.fbox4-1, .fbox4-2 {
		display: block;
		margin: 30px auto;
	}
}

.fbox4-1 {
	margin-top: 20px;
}
.fbox4-2 {
	margin-bottom: 50px;
}
@media(max-width: 768px) {
	.fimg {
		margin-bottom: 30px;
	}
}

.check {
	padding-bottom: 5px;
	margin-right: 3px;
}

.spscreen {
	margin: 30px 0;
}

.spscreen2 {
	margin-bottom: 10px;
}

#pagetop {
	bottom: -3px;
	clear: both;
	position: absolute;
	right: 10px;
	z-index: 5;
}
@media(max-width: 768px) {
	#pagetop {
		bottom: 0;
		overflow: hidden;
		right: 0;
		width: 100%;
	}
}

#pagetop a {
	background-image: url("../img/pagetop-pc.png");
	background-position: left top;
	background-repeat: no-repeat;
	display: block;
	height: 28px;
	overflow: hidden;
	text-indent: -9999px;
	width: 100px;
	background-size: contain;
}
@media(max-width: 768px) {
	#pagetop a {
		background-image: url("../img/pagetop-sp.png");
		background-position: center center;
		background-repeat: no-repeat;
		background-color: #ffe699;
		border: none;
		font-size: 13px;
		height: 40px;
		line-height: 40px;
		padding: 0;
		position: relative;
		text-align: center;
		width: 100%;
	}
}

#footer .inner {
	margin: 0 auto;
	overflow: hidden;
	text-align: center;
	font-size: 13px;
}
#footlinkbox {
	background-color: #ffe699;
	text-align: center;
}
#footermenu {
	line-height: 26px;
	margin: 0 auto;
	text-align: left;
	max-width: 900px;
	padding: 10px 10px 5px;
}

#footermenu span {
	display: inline-block;
	margin: 0 25px 5px 0;
}
#footer .copyright {
	display: block;
	background-color: #bc8c00;
	line-height: 28px;
	text-align: center;
	font-size: 14px;
	color: #fff;
}