@charset "UTF-8";

/* html, body *****************************************************************/
html {
    height: 100%;
   	scroll-behavior: smooth;
}

body {
	position: relative;
	height: 100%;
	margin: 0;
	padding: 0;
}


/* header *********************************************************************/
h1 {
	clear: both;
	margin: 2em 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 #000;
}

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

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);
}


/* contentsArea ***************************************************************/
#contentsArea .blockcontents .flex {
	display: flex;
	gap: 40px;
}
@media screen and (max-width: 959px) {
	#contentsArea .blockcontents .flex {
		display: block;
	}
}


/* headerArea *****************************************************************/
#headerArea {
	position: relative;
	margin: 20px 0;
	padding: 0 16px;
}

#headerArea .blockcontents {
	display: flex;
	align-items: center;
}


/* globalMenu *****************************************************************/
#globalmenu {
	position: absolute;
	bottom: 0;
	width: 100%;
}
@media screen and (max-width: 959px) {
	#globalmenu {
		display: none;
	}
}

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

#globalmenu ul li {
	list-style-type: none;
}

#globalmenu ul li a:link,
#globalmenu ul li a:visited {
	display: block;
	float: left;
	width: 169px;
	padding: 1em 0;
	text-align: center;
	border-left: 1px dotted #330000;
	text-decoration: none;
	letter-spacing: 1px;
	transition: all 0.5s;
}

#globalmenu ul li a:hover {
	background-color: rgba(0, 0, 0, 0.1);
}

#globalmenu ul li:nth-child(1) a {
	border-left: none;
}


/* contentsArea ***************************************************************/
#mainContentsArea {
	min-height: 600px;
	margin-bottom: 40px;
}
body:not(.home) #mainContentsArea {
	width: 660px;
}

#subContentsArea {
	width: 260px;
}

#subContentsArea .widgetArea ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#subContentsArea .widgetArea ul li.widget {
	margin: 0 0 1em 0;
}


/* footerArea *****************************************************************/
#footerMenu {
	margin-bottom: 20px;
}
@media screen and (max-width: 479px) {
	#footerMenu {
		display: none;
	}
}

#footerArea .contact {
	margin: 20px 0;
}

#footerArea .contact .name {
	margin-bottom: 12px;
	font-weight: bold;
	letter-spacing: 2px;
}

#footerArea .contact .address {
	margin-bottom: 8px;
	font-size: smaller;
}

#footerArea .contact .phone {
	margin-bottom: 8px;
	font-size: smaller;
}

#footerArea .contact .fax {
	margin-bottom: 8px;
	font-size: smaller;
}

#footerArea .contact .email {
	font-size: smaller;
}

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