﻿
div#page {
	width:100%;
	height:110px;
	background:url(./img/epi.jpg) no-repeat;
	background-position: left;
    background-color: #FFFFDF;
}
div#header {
	padding:5px 10px 5px 10px;
}
div#header h1 {
	font-size:20px;
	color:#033560;
	padding:0px 0px 0px 0px;
}
div#header h1 a:link, div#header h1 a:visited { color:#033560; }
div#header h1 a:hover, div#header h1 a:active { color:#00EA00; text-decoration:underline; }

div#header p {
	color:#033560;
	font-size:0.8em;
}
h1,h6 {
font-size:10px;
color: #033560;
font-weight: bold;
}
h2 {
font-size:13px;
color: #033560;
padding:10px 0px 0px 0px;
font-weight: bold;
}
h3,h4,h5 {
font-size:12px;
color: #033560;
font-weight: bold;
}
a {
color: blue;
text-decoration: none;
}
a:hover {
color: #033560;
text-decoration: underline;
}

#photo {
    width: 300px;
    height: 200px;
    margin: 0 auto;
    text-align: left;
    overflow: hidden;
    position: relative;
  z-index: 90;
}

#photo img {
    top: 0;
    left: 0;
    position: absolute;
  z-index: 90;
}

img:banner {
	width: 30%;
	height: 30%;
}

.menu {
    max-width: 100%;
}

.menu a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #008000;
}

label {
    display: block;
    margin: 0 0 4px 0;
    padding : 15px;
    line-height: 1;
    color :#fff;
    background : #ff0000;
    cursor :pointer;
}

input {
    display: grid;
}
.menu ul {
    margin: 0;
    padding: 0;
    background :#FFFFFF;
    list-style: none;
}

.menu li {
    height: 0;
    overflow: hidden;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#menu_bar01:checked ~ #links01 li,
#menu_bar02:checked ~ #links02 li,
#menu_bar03:checked ~ #links03 li,
#menu_bar04:checked ~ #links04 li,
#menu_bar05:checked ~ #links05 li,
#menu_bar06:checked ~ #links06 li,
#menu_bar07:checked ~ #links07 li,
#menu_bar08:checked ~ #links08 li,
#menu_bar09:checked ~ #links09 li,
#menu_bar10:checked ~ #links10 li,
#menu_bar11:checked ~ #links11 li,
#menu_bar12:checked ~ #links12 li,
#menu_bar13:checked ~ #links13 li,
#menu_bar14:checked ~ #links14 li,
#menu_bar15:checked ~ #links15 li,
#menu_bar16:checked ~ #links16 li,
#menu_bar17:checked ~ #links17 li
#menu_bar18:checked ~ #links18 li {
    height: 54px;
    opacity: 1;
}


.open{
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 10px;
  z-index: 100;
  background: #fff;
  cursor: pointer;
}

.open span, .open span:before, .open span:after{
  content: '';
  display: block;
  height: 3px;
  width: 20px;
  border-radius: 3px;
  background: #ff0000;
  transition: 0.5s;
  position: absolute;
}

.open span:before{
 bottom: 8px;
}
.open span:after{
 top: 8px;
}

#menu_input:checked ~ .open span {
  background: rgba(255, 255, 255, 0);
}

#menu_input:checked ~ .open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#menu_input:checked ~ .open span::after {
  top: 0;
  transform: rotate(-45deg);
}


.mnb_content{
 width: 70%;
 height: 100%;
 position: fixed;
 top: 80px;
 right: 100%;
 text-align: left;
 z-index: 99;
 transition: 1s; 
}

.mnb_list{
list-style: none;
background: #FFFFDF; 
height: 100%;
overflow-y: scroll;
}
#menu_input:checked ~ .mnb_content{
 left: 0;
}

.open{
  display: none;
}

.gnavi-wrap {
    width: 1200px;
    margin: 0 auto;
}
.gnavi-lists {
    display: flex;
}
.gnavi-list {
    width: 20%;
    height: 60px;
    background-color: #FFFFDF;
    position: relative;
    transition: all .3s;
}
.gnavi-list:hover {
    background-color: #008000;
}
.gnavi-list:not(:first-child)::before {
    content: "";
    width: 1px;
    height: 100%;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s;
  z-index: 100;
}
.gnavi-list:hover::before {
    background-color: #fff;
}
.gnavi-list a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #033560;
    font-size: 15px;
    letter-spacing: 0.05em;
    font-weight: 600;
    transition: all .3s;
}
.gnavi-list:hover a {
    color: #fff;
}
.dropdown-lists {
    transform: scaleY(0);/*デフォルトでは非表示の状態にしておく*/
    transform-origin: center top;/*変形を適応する基準をtopとする*/
    transition: all .3s;/*表示の変化を0.3秒に指定*/
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
}
.gnavi-list:hover .dropdown-lists {
    transform: scaleY(1);/*Gナビメニューにホバーしたら表示*/
}
.dropdown-list {
    background-color: #00EA00;
    height: 60px;
    transition: all .3s;
    position: relative;
}
.dropdown-list:not(:first-child)::before{
    content: "";
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
}
.dropdown-list:hover {
    background-color: #008000;
}
.dropdown-list a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    position: relative;
  z-index: 100;
}
.dropdown-list a::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(135deg);
    position: absolute;
    right: 15px;
    top: calc(50% - 5px);
}

ul{
  padding-left:0;
}

li{
  list-style:none;
}

.footer {
  width: 100%;
  height: 45px;
  text-align: center;
  font-family: sans-serif;
  font-size: 14px;
transition: all .3s;
}

.footer .menu {
    transition: all .3s;
color: #008000;
}

.footer .menu a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.footer .menu a:hover {
  color: #00EA00;
}

.topcenter{
    width: fit-content;
    margin: auto;
}

@media screen and (max-width: 600px) {


img:banner {
	width: 60%;
	height: 60%;
}


.menu {
    max-width: 600px;
}

.menu a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #000;
}

label {
    display: block;
    margin: 0 0 4px 0;
    padding : 15px;
    line-height: 1;
    color :#fff;
    background : #ff0000;
    cursor :pointer;
}

input {
type:checkbox;
    display: grid;
}
.menu ul {
    margin: 0;
    padding: 0;
    background :#FFFFFF;
    list-style: none;
}

.menu li {
    height: 0;
    overflow: hidden;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#menu_bar01:checked ~ #links01 li,
#menu_bar02:checked ~ #links02 li,
#menu_bar03:checked ~ #links03 li,
#menu_bar04:checked ~ #links04 li,
#menu_bar05:checked ~ #links05 li,
#menu_bar06:checked ~ #links06 li,
#menu_bar07:checked ~ #links07 li,
#menu_bar08:checked ~ #links08 li,
#menu_bar09:checked ~ #links09 li,
#menu_bar10:checked ~ #links10 li,
#menu_bar11:checked ~ #links11 li,
#menu_bar12:checked ~ #links12 li,
#menu_bar13:checked ~ #links13 li,
#menu_bar14:checked ~ #links14 li,
#menu_bar15:checked ~ #links15 li,
#menu_bar16:checked ~ #links16 li,
#menu_bar17:checked ~ #links17 li
#menu_bar18:checked ~ #links18 li {
    height: 54px;
    opacity: 1;
}

.open{
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 5px;
  z-index: 100;
  background: #FFFFfF;
  cursor: pointer;
 top: 120px;
}

.open span, .open span:before, .open span:after{
  content: '';
  display: block;
  height: 3px;
  width: 20px;
  border-radius: 3px;
  background: #008000;
  transition: 0.5s;
  position: absolute;
}

.open span:before{
 bottom: 8px;
}
.open span:after{
 top: 8px;
}

#menu_input:checked ~ .open span {
  background: rgba(255, 255, 255, 0);
}

#menu_input:checked ~ .open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#menu_input:checked ~ .open span::after {
  top: 0;
  transform: rotate(-45deg);
}
.nav1{
  display: none;
}
.gnavi-wrap{
  display: none;
}
.footer{
  display: none;
}


}
