/*
<!-- Yoichi's page CSS ver 1.1 -->
<!-- Copyright(C)1996-2020 Yoichi Ito All rights reserved. -->
<!-- LastUpdate 2020.6.27 -->
*/

/* PC、スマホ共通*/
h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;
}

body {
	background-color: #ffffff;
	line-height: 1.4em;
	color: #000000;
	text-align: center;
}

a:link, a:visited {
	color: #00008B;
	text-decoration: none;
}

a:hover, a:active {
	 color: #B22222;
	 text-decoration: underline;
}

/* MacIE begin \*/
* html .clear{
		height: 1%;
}

.clear {
       display: block;
       }
/* MacIE end */

/* jQuery lightBox plugin - Gallery style */
#gallery {
	background-color: #444;
	margin: 10px 0;
	padding: 5px 5px 5px 5px;
	width: auto;
}

#gallery ul {
	padding: 0 7px;
	list-style: none;
}

#gallery ul li { 
	display: inline;
}

#gallery ul img {
	border: 5px solid #3e3e3e;
	border-width: 5px 5px 20px;
}

#gallery ul a:hover img {
	border: 5px solid #fff;
	border-width: 5px 5px 20px;
	color: #fff;
}

#gallery ul a:hover { color: #fff;
}

.clear:after {
     content: ".";
     display: block;
     height: 0;
     clear: both;
     visibility: hidden;
}

.clear {
       display: inline-table;
}

#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #d3d3d3;
  opacity: 0.6;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

@media screen and (min-width: 481px){ 
body, div, dl, dt , dd, ul, ol, li,h1, h2, h3, h4, h5, h6, pre, form,
fieldset, input, textarea, p, blockquote, th, td {
	margin: 0;
	padding: 0;
}

fieldset, img {
	border: 0;
}

abbr,acronym {
	border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
	font-style: normal;
	font-weight: normal;
}


body {
	font-size: 14px;
}


img {
	max-width: 95%;
'	height: auto;
	border: 0;
'	vertical-align: bottom;
}

hr.style1 {
	border-top: solid 1px #808080;
}

#wrapper {

}

#contents {
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
	padding: 0 0;
}

#header	{
	width: auto;
	height: 110px;
	margin: 10px 20px 10px 20px;
	font-size: 12px;
	line-height: 1.1em;
}

#header .title{
	width: 50%;
	margin: 0px 15px 0px 15px;
	float: left;
	text-align: left;
	font-size: 13px;
	line-height: 1.2em;
}

#header .message{
	width: 40%;
	float: right;
	font-size: 11px;
	text-align: left;
	padding: 30px 0 0 0;
}

#header h3{
	font-size: 16px;
}

#header img{
	vertical-align: top;
}

#main {
	width: 100%;
	height: auto;
	margin: 0;
	text-align: center;
	display: inline-table;
}

#gnavi{
	list-style: none;
	height: auto;
	margin: 0 20px;
}

#gnavi li{
	position: relative;
	float: left;
	margin: 0;
	text-align: center;
	border-top:solid 1.5px #808080;
	border-bottom:solid 1.5px #808080;

}

#gnavi .top li{
	width: 14.285%;
}

#gnavi .top_5 li{
	width: 20.0%;
}

#gnavi .top_6 li{
	width: 16.667%;
}

#gnavi .top_8 li{
	width: 12.5%;
}

#gnavi .default li{
	width: 215px;
}

#gnavi li a{
	display: block;
	margin: 0;
	padding: 13px 0;
	font-size: 13px;
	background: #f5f5f5;
	line-height: 1;
  	text-decoration: none;
}

#gnavi li ul{
	list-style: none;
	position: absolute;
	margin: 2.5px 0;	/*トップメニューとアコーディオンメニュー間の調整*/
	z-index: 1;
}

#gnavi li:last-child ul{
	left: 100%;
	width: 60%
}

#gnavi [class*="top"] li li{
	overflow: hidden;
	width: 211px;
	height: 0;
	transition: .5s;
	border-top: none;
	border-bottom: none;

}

#gnavi .top_6 li li{
	width: 335px;
}

#gnavi  li li.short {
	width: 220px;
}


#gnavi li ul li a{
	padding: 13px 12px;
	background: #d3d3d3;
	text-align: left;
	font-weight: normal;
	border-right:solid 1px rgba(255,255,255,1);
}

#gnavi li:hover > a{
	background: #d3d3d3;
}
#gnavi li:hover > ul > li{
	overflow: visible;
	height: 39px;	/*メニューとメニューの間の調整*/
	border-bottom: 1px solid rgba(255,255,255,0);
}

#gnavi li ul li ul {
	position: absolute;
	width: 60%;
	left: 100%;
	top: 0;
	margin: 0;
}

#gnavi li:hover ul li:first-child{
	border-top: 0;
}

#gnavi li:hover ul li:last-child{
	border-bottom: 0;
}

#mainvisual {
	width: 95%;
	height: auto;
	margin: 20px auto;
	text-align: center;
	display: inline-table;
}

#mainvisual .carousel-cell {
  width: 100%; /* full width */
  height: auto; /* height of carousel */
  margin-right: 10px;
}


#mainvisual .intro ,.link {
	margin-left: 40px;
	margin-right:10px;
	text-align: left;
}
#mainvisual .intro dt {
	line-height: 1.3em;
	font-size: 1.1em;
	margin-top: 0.5em
}

#mainvisual .intro li {
	margin-left: 1em
}

#mainvisual .link a {
    font-size: 1.1em;
}

#mainvisual .link img {
    margin-right: 10px;
}

#mainvisual .link dl dt {
	line-height: 1.4em;
	font-size: 1.0em;
}

#mainvisual .link dl dd {
	font-size: 0.95em;
}

#mainvisual .photo{
    width: auto;
    height: auto;
    margin: 0px 30px 0px 30px;
    text-align: left;
}

#mainvisual .photo p {
	text-align: center;
}

#maincontents {
	width: 95%;
	clear: both;
	margin-top: 10px;
	padding: 5px 20px 5px 20px;
	text-align: left;
	border-top: solid 1.2px;
	border-color: #808080;
	display: inline-table;
}

*:first-child+html #maincontents {
	padding: 20px 0 0;
}

#maincontents .news {
	float: left;
	width: 45%;
	margin-left: 10px;
}

#maincontents .news h3, .info h3 {
	height: auto;
	font-size: 1.2em;
	letter-spacing: 0.1em;
	color: #00008b;
	border-bottom: 1px solid #808080;
	line-height: 1.3em;
}

#maincontents .news dl dt:not(:first-child) {
	border-top: 1px solid #808080;
}
#maincontents .news dl dd {
	margin: 0 0 10px 0;
	padding: 0 0 10px 15px;
}

#maincontents .info {
	float: right;
	width: 45%;
	margin-right: 10px;
}

#maincontents .info h4 {
	margin: 2px 0px 10px 0;
}

#maincontents .info img {
	float: left;
	text-align: left;
    margin: 5px;
	padding: 5px;
}

#maincontents .info .iframe {
	width: 100%
}

#footer {
 	clear: both;
 	width: 95%;
 	margin: 10px 0px 10px 0px;
	padding: 5px 0px 5px 0px;
	text-align: right;
	vertical-align: bottom;
	font-size: 13px;
	border-top: solid 1.5px;
	border-color: #808080;
	display: inline-table;
}

#table{
	width: 1024px;
	height: auto;
	margin: 10px 0 10px 0;
	padding: 20px 20px 0 20px;
	border-top:solid 1px #808080;
x}

table.table_base {
		 border-top:1px solid #663300;
		 border-left:1px solid #663300;
		 border-collapse:collapse;
		 border-spacing:0;
		 background-color:#ffffff;
		 empty-cells:show;
}

.table_base th{
	    border-right:1px solid #663300;
	    border-bottom:1px solid #663300;
	    color:#330000;
	    background-color:#996633;
	    background-position:left top;
	    padding:0.3em 1em;
}

.table_base td{
    border-right:1px solid #663300;
    border-bottom:1px solid #663300;
    padding:0.3em 1em;
}

}

@media screen and (min-width: 480px) and (max-width: 736px) {

#gnavi li a{
	font-size: 2vw;
}

}

/*スマホ用css*/

@media screen and (max-width: 480px) {
address, caption, cite, code, dfn, em, strong, th, var {
	font-style: normal;
	font-weight: normal;
}

body {
	font-size: 1.2em;
	line-height: 1em;
}

img {
	max-width: 100%;
    height: auto;
}

#wrapper {
	width: auto;
	overflow: hidden;
}

#contents {
    width: 98%;
	margin: 5px 5px 0;
}

#header	{
    width: 100%;
	height: auto;
	font-size: 0.8em;
	border-bottom: solid 1px;
	border-color: #808080;
}

#header .title{
    width: 98%;
	text-align: left;
}

#header .message{
	width: 98%;
	margin-top: 7px;
	text-align: left;
}

#main {
    width: 98%;
	height: auto;
	text-align: center;
	border: solid 1px;
	border-color: #ffffff;
	display: inline-table;
}

.acd-check{
    display: none;
}

.acd-label{
	border: 1px solid #808080;
	color: #00008B;
	text-decoration: none;
	line-height: 1.5em;
    display: block;
    margin-bottom: 1px;
    padding: 7px 0;
	border-radius: 5px;
}

.acd-content{
    height: 0;
    opacity: 0;
    padding: 0 10px;
    transition: .5s;
    visibility: hidden;
}
.acd-check:checked + .acd-label + .acd-content{
    height: auto;
    opacity: 1;
    padding: 0 20px;
    visibility: visible;
}

#gnavi {
	margin-top:	10px;
	padding: 0;
}

#gnavi p{
	margin: 0;
	border: 1px solid #808080;
	font-size: 0.8em;
	line-height: 1.5em;
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 6px 0;
	border-radius: 5px;
}

#mainvisual {
	width: 100%;
	height: auto;
	margin: 7px auto;
	text-align: center;
	font-size: 0.8em;
	display: inline-table;
}

#mainvisual .carousel-cell {
  width: 100%; /* full width */
  height: auto; /* height of carousel */
  margin-right: 10px;
}

#mainvisual .intro, .link, .train {
	font-size: 1.1em;
    text-align: left;
    border-color: #ffffff;
}

#mainvisual .train {
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 30px;
}

#mainvisual .intro ul{
	margin-left: 1em;
	padding: 0;
}

#mainvisual .link a {
    font-size: 1.1em;
}

#mainvisual .link dl dt {
    line-height: 1.4em;
}

#mainvisual .link dl dd {
    font-size: 0.95em;
}

#mainvisual-kingyo .center img {
    text-align: center;
}

#mainvisual .photo{
    width: 100%;
    height: auto;
    text-align: left;
	line-height: 1.2em;
}

#gallery {
}
#maincontents {
	width: 100%;
	font-size: 0.9em;
	clear: both;
	text-align: left;
	line-height: 1.2em;
}

*:first-child+html #maincontents {
}

#maincontents .news {
	width: 100%;
	float: left;
}

#maincontents .news h3, .info h3 {
	height: auto;
	margin: 5px 0;
	padding: 2px 0;
	letter-spacing: 0.1em;
	font-size: 1.2em;
	line-height: 1.3em;
	color: #00008b;
	border-top: 1px solid #808080;
	border-bottom: 1px solid #808080;
}

#maincontents .news dl dt:not(:first-child) {
	border-top: 1px solid #808080;
}

#maincontents .news dl{
	margin: 0;
}

#maincontents .info {
	width: 100%;
	margin-bottom: 5px;
	float: left;
}

#maincontents .info h4 {
}

#maincontents .info img {
	float: left;
	text-align: left;
}

#maincontents .mainleft{
    float: left;
    width: 100%;
    line-height: 1.2em;
}

#maincontents .mainright{
    float: right;
    width: 100%;
}

#maincontens .info img{
    margin: 5px;
}

#footer {
    clear: both;
    width: 100%;
    text-align: left;
    vertical-align: bottom;
    font-size: 0.75em;
    border-top: solid 1.2px;
    border-color: #808080;
}
}