/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table.table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table.table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */


a:link		{color:#00C;text-decoration:underline}
a:visited	{color:#C0C;text-decoration:underline}
a:hover		{color:#C30;text-decoration:underline}
a:active	{color:#f00;text-decoration:underline}

html {
	scroll-behavior: smooth;
}
body {
	background-image:url(hb.gif);
	font-family: "BIZ UDPGothic",YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
	font-size:1.1rem;
	line-height: 1.6rem;
}
h2 {
	border-bottom: solid 1px #974FFF;
	border-top: solid 1px #974FFF;
	vertical-align: bottom;
	font-size:1.2em;
	line-height:2.2em;
	color:#000;
	font-weight:bold;
	text-align:left;
	background: url("img/homeicon.png") no-repeat #bbaaff;
	height:40px;
	padding-left:53px;
	margin:0;
}
h3 {
	height: 50px;
	font-size:1.2em;
	line-height:2.2em;
	color:#000;
	font-weight:bold;
	text-align:left;
	vertical-align: bottom;
	margin:0;
}
h3.y {
	text-align:left;
	border-bottom: solid 1px #974FFF;
	border-top: solid 1px #974FFF;
	background: url("img/homeicon_y.png") no-repeat  #F1AFD0;
	height:40px;
	padding-left:53px;
}
h3.g {
	border-bottom: solid 1px #974FFF;
	border-top: solid 1px #974FFF;
	background: url("img/homeicon_g.png") no-repeat  #EED4F8;
	height:40px;
	padding-left:53px;
}
h3.n {
	border-bottom: solid 1px #ccc;
	border-top: solid 1px #ccc;
	background-color:#F5F7C1;
	height:40px;
	padding-left:5px;
}
h4 {
	height: 50px;
	font-size:1.2em;
	line-height:2.4em;
	color:#000;
	font-weight:bold;
	text-align:left;
	vertical-align: bottom;
	margin:0;
	padding-left:10px;
}

p {
	font-size:1.1em;
	line-height:1.8em;
	vertical-align:middle;
	padding:10px;
	margin:5px;
}
p.l{
	text-align: left;
	padding:5px;
}
p.c{
	text-align: center;
	padding:5px;
}
p.r{
	text-align: right;
	padding:5px;
}
strong {
	font-weight: bold;
}
#contents{
	margin:5px 0;
}
table {
	border-collapse: collapse;
	margin: 20px auto;
	border: solid 1px #999;
	color: #000;
	width:90%;
}
table td, table th {
	border: solid 1px #999;
	display: block;
	padding: 10px;
	margin: 0;
}
table th {
  background-color: #fcc;
}

.footerlogo{
	float:right;
	margin:auto;
}

ol{
	margin-left:15px;
	padding-left: 30px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	font-size:1.2em;
	line-height: 1.8em;
	list-style:decimal;
}
ol li {
	padding-left :10px;
	padding-top:10px; 
	padding-bottom:10px;

}
ul.text2{
	font-size: 1.1em;
	margin-left:15px;
	padding-left: 30px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	line-height: 1.8em;
	list-style:disc;
}
ul.text2 li {
	padding-left :10px;
	padding-top:10px; 
	padding-bottom:10px;

}
.contents{
	margin:5px;
}

#all{
	margin:auto;
	max-width:900px;
	background: #fff;
	border-left:solid 1px #999;
	border-right:solid 1px #999;
	border-bottom:solid 1px #999;
	padding:0;
}
#ftr{
	width:100%;
	text-align: center;
	margin: auto;
}
address {
	font-style:normal;
	color:#000;
	font-size:1em;
	line-height:1.2em;
	text-align:center;
	padding:0;
}
/* scroll */
.pagetop {
	display: none;
	position: fixed;
	bottom: 30px;
	right: 55px;

}
.pagetop a {
	display: block;
	width: 50px;
	height: 50px;
	background-color: #333;
	border-radius: 50px;
	text-align: center;
	color: #fff;
	font-size: 24px;
	text-decoration: none;
	line-height: 50px;
}

.g_l	{background-color:#CCC}
.b_l	{background-color:#003}
.w_l	{background-color:#FFF}
.cl_l	{background-color:#FFC}
.c_l	{background-color:#CCF}
.red	{color:#F00}
.clear {clear: both;}
.box70 {
	float: left;
	height: auto;
	width:100%;
}
.box50 {
	width:100%;
	height: auto;
	float: left;
	text-align: center;
}
.box30 {
	float: left;
	height: auto;
	width:100%;
}


#menu {
	display:none;
}

.slicknav_menu {
 
	display:none;
 
}
.slicknav_menu {
	display:block;
}

#menu li ul li.sub-menu {
  display: none; 
  position: absolute;
  top: 2em;
  left: 30%;
}
#menu li:hover ul.sub-menu {
  display: block;
}
#menu li ul.sub-menu li {
  float: none;
}
#navi {
  position: relative;
  margin: 1em 0;
  height: 20px;
}
#menu li {
  float: left;
  width: 20%;
  text-align: center;
  position: relative;
  z-index: 1;
}
#menu li a {
  padding: 0 20px 10px;
  border-top: none;
  border-right: none;
  background: none;
  color: #555555;
  display: inline-block;
  margin: auto;
  text-shadow: -1px 1px rgba(255, 255, 255, 0.8);
}
#menu li a:hover {
  background: none;
  color: #97C1F3;
}
#menu li a:active {
  color: #5687F8;
}
#menu li ul.submenu {
  display: none;
  position: absolute;
  top: 2em;
  left: 30%;
}
#menu li:hover ul.submenu {
  display: block;
}
#menu li ul.submenu li {
  float: none;
}

dt {text-align: center;}
dd {text-align: center;}

#g_navi	{
	display:none;/*モバイル時は消す*/
}
.slicknav_menu {
	display:block;/*モバイル時は表示*/
}
.photo {
	text-align:center;
	width:100%;
	height:auto;
	float:left;
}
img{
	max-width:100%;
	height: auto;
	vertical-align:top;
}
.photo img{
	width:94%;
	height:auto;
	margin:3px;
}

.text {
	width:100%;
	height:auto;
	float: right;
}

/* PC用
------------------------------------------------------------*/
@media only screen and (min-width : 850px ){
.text {
	width:570px;
	height:auto;
	float:right;
}
.photo {
	width:320px;
	height:240px;
	padding:5px;
	text-align:right;
	float:left;
}
.photo img{
	width:94%;
	height:auto;
	margin:3px;
}
dt {text-align: left;}
dd {text-align:left;}

.slicknav_menu {
	display:none;/*PC時は非表示*/
}
#menu {
	display:none;
}

table {width: 95%;display:table;}
table th {
  display: table-cell;
  width: 50%;
}
table th {
	background-color: #DEBDFF;
	display:table-cell;
	width: 20%;
}
table td {
	background-color: #fff;
	display:table-cell;
	width: 80%;
}

.box70 {
	float: left;
	height: auto;
	width:70%;
}
.box50 {
	width:50%;
	height: auto;
	float: left;
	text-align: left
}
.box30 {
	float: left;
	height: auto;
	width:30%;
}
/*----- gnavi -----*/
#g_navi	{
	display:block;
	position:sticky;
	top:0;
	text-align: center;
	margin: auto;
	border-top: #5D0093 1px solid;
	height: 36px;
	background:#FFE9FF;
	z-index:99;
	border-bottom: solid 1px #555;
}

#g_navi ul {
	display: inline-block;
	padding:0;
	margin:0;
	list-style:none;
 	clear:both;
}

#g_navi li {
	list-style-type:none;
	text-indent:0;
	display: block;
 	float:left;
	vertical-align: top;
	margin: 0;
}
#g_navi li a {
	font-size:1.2em;
	display: block;
 	float:left;
	line-height:1.8em; 
	height: 1.7em;
	text-decoration:none;
	overflow:hidden;
	margin: 0;
}
/*------off*/
#g_navi li.g_navi01 a {
	color:#00a;
	width: 90px;
}
#g_navi li.g_navi02 a {
	color:#00a;
	width: 120px;
}
#g_navi li.g_navi03 a {
	color:#00a;
	width: 120px;
}
#g_navi li.g_navi04 a {
	color:#00a;
	width: 150px;
}
/*------hover*/
#g_navi li.g_navi01 a:hover {
	color:#800;
	background-color:#FFD4E9;
	width: 90px;
}
#g_navi li.g_navi02 a:hover {
	color:#800;
	background-color:#FFD4E9;
	width: 120px;
}
#g_navi li.g_navi03 a:hover {
	color:#800;
	background-color:#FFD4E9;
	width: 120px;
}
#g_navi li.g_navi04 a:hover {
	color:#800;
	background-color:#FFD4E9;
	width: 150px;
}
/*------on*/
#g_navi li.g_navi01_on a {
	color:#fff;
	background-color:#006;
	width: 90px;
}
#g_navi li.g_navi02_on a {
	color:#fff;
	background-color:#006;
	width: 120px;
}
#g_navi li.g_navi03_on a {
	color:#fff;
	background-color:#006;
	width: 120px;
}
#g_navi li.g_navi04_on a {
	color:#fff;
	background-color:#006;
	width: 150px;
}
}
