@charset "UTF-8";


html {
	scroll-behavior: smooth;
}


/* header *********************************************************************/
h1 {
	clear: both;
	margin: 0 0 1em 0;
	padding: 0;
	font-size: 2em;
	font-weight: normal;
	letter-spacing: 4px;
}

h2 {
	clear: both;
	margin: 1em 0;
	padding: 16px 16px 16px 0;
	font-size: 1.6em;
	font-weight: normal;
	letter-spacing: 4px;
	border-bottom: 1px solid #2CC8DC;
}

h3 {
	clear: both;
	margin: 1em 0;
	padding: 0 16px;
	font-size: 1.4em;
	font-weight: normal;
	letter-spacing: 2px;
	border-left: 4px solid #2CC8DC;
}

h4 {
	margin: 1em 0;
	padding: 8px 0;
	font-size: 1.2em;
	font-weight: bold;
	letter-spacing: 2px;
}

h5 {
	margin: 1em 0;
	padding: 8px 0;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 2px;
}

h6 {
	margin: 1em 0;
	font-size: 1em;
	font-weight: bold;
	letter-spacing: 1px;
}

/* 本文先頭のmarginを0にする */
#contentsArea h1:first-child,
#contentsArea table:first-child,
#contentsArea div.note:first-child,
#contentsArea div.caution:first-child,
#mainContentsArea h1:first-child,
#mainContentsArea table:first-child,
#mainContentsArea div.note:first-child,
#mainContentsArea div.caution:first-child,
#subContentsArea h2:first-child,
#subContentsArea table:first-child
#subContentsArea div.note:first-child,
#subContentsArea div.caution:first-child
{
	margin-top: 0;
}

hr + h2,
hr + h3
{
	margin-top: 0;
}



/* anchor *********************************************************************/
a {
	color: #039;
	word-break: break-all;
}

a:link {
	color: #039;
}

a:visited {
	color: #039;
}

a:hover {
	color: #FF7E79;
	text-decoration: none;
}

a:active {
	color: #FF2600;
}

a:not(#spmen):hover img {
	opacity: 0.8;
	filter: alpha(opacity=80);
}


/* headerArea *****************************************************************/
#headerArea {
	box-sizing: border-box;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	background-color: rgba(255, 255, 204, 1);
/*
 	box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.2);
 */
	z-index: 100;
}

#headerArea img.logo {
	display: inline-block;
}
@media screen and (max-width: 959px) {
	#headerArea img.logo {
		display: block;
		margin: 0 auto;
	}
}

#headerArea #globalmenu {
	position: absolute;
	top: 0;
	right: 0;
}
@media screen and (max-width: 959px) {
	#headerArea #globalmenu {
		position: relative;
	}
}

#headerArea #globalmenu ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 8px 0 0 0;
	padding: 0;
	list-style: none;
}

#headerArea #globalmenu ul li {
	margin: 0;
	padding: 0;
}

#headerArea #globalmenu a:link,
#headerArea #globalmenu a:visited,
#headerArea #globalmenu a:active {
	display: block;
	margin: 0 8px;
	color: #000;
	font-weight: bold;
	text-decoration: none;
	transition: all 1s;
	letter-spacing: 1px;
}
@media screen and (max-width: 479px) {
	#headerArea #globalmenu a:link,
	#headerArea #globalmenu a:visited,
	#headerArea #globalmenu a:active {
		font-size: smaller;
	}
}

#headerArea #globalmenu a:hover {
	color: #FF7E79;
}


/* footerArea *****************************************************************/
#footerArea {
	text-align: center;
}

body.home #footerArea {
	background-image: url(../images/bg-04.png);
	background-repeat: no-repeat;
	background-position: left top;
}

#footerArea .logo {
	margin: 40px auto;
	padding: 40px 0;
}

#copyright {
	margin: 10px 0;
	font-size: 0.6em;
	letter-spacing: 2px;
}

.pagetop{
	position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 60px;
  bottom: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  border: 0;
  background: none;
  transition: .2s;
  letter-spacing: 3px;
}
.pagetop a::before{
	content: '';
  position: absolute;
  top: -38px;
  left: 9px;
  transform: rotate(-45deg);
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid #fafafa;
  border-width: 1.5px 1.5px 0px 0px;
	z-index: 2;
}
.pagetop a::after{
	content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  border: 1.5px solid #fafafa;
  border-radius: 50%;
  top: -60px;
  left: -10px;
	transition: .3s;
	background: rgba(12, 20, 80, .65);
}
.is-active{
  opacity: 1;
  visibility: visible;
}

/* misc ***********************************************************************/
a.button_01 {
	display: block;
	width: 280px;
	margin: 2em auto;
	padding: 1em 0;
	color: #fff;
	text-align: center;
	text-decoration: none;
	background-color: #99cc66;
	background-image: url(../images/bg_h1.png);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 40%;
	border-radius: 8px;
	letter-spacing: 1px;
	transition: all 300ms 0s ease;
}
a.button_01:hover {
	background-color: #B9E6F5;
}

.bg_winbee {
	padding-right: 20px;
	background-image: url(../images/bg-06.png);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: 200px;
}
@media screen and (max-width: 479px) {
	.bg_winbee {
		padding-right: 0;
		padding-bottom: 100px;
		background-image: url(../images/bg-06.png);
		background-repeat: no-repeat;
		background-position: right bottom;
		background-size: 140px;
	}
}
