/*◆リンクの色*/

a:link {
    color: #006699;
    text-decoration: none;
    overflow: hidden;
}
/*◆<img src="./image/logo.png" alt="htmlWEB改善">*/
img {
    border: none;
    vertical-align: bottom;
    -ms-interpolation-mode: bicubic;
}



/*◆<header>*/
* {
    padding: 0;
    margin: 0;
    border: 0;
}
html, body {
    *height: 100%;
    font-family: 'Noto Serif JP', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    color: #555;
    font-size: 18px;
}


/*◆<container>*/
#container {
    background-repeat: no-repeat;
    width: 100%;
    *min-width: 220px;
    *position: relative;
    height: auto !important;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
} 


#logoheader .h1 a img {
    position: absolute;
    z-index: 2;
    left: 10px;
    top: 10px;
    height: 60px;
}

/*◆<headerbg>*/
#headerbg {
    width: 100%;
    z-index: 9;
    top: 0px;
}


/*◆<div id="header" class="scroll">*/
#header {
    width: 100%;
    min-width: 220px;
}

/*◆<div id="logoheader">…</div>*/
#logoheader {
    *width: 100%;
    overflow: hidden;
    z-index: 99;
    TOP: 0px;
    left: 0px;
}

#logoheader a {
    display: block;
}

/*◆<div id="logoheader"><h1></h1>…</div>TOPのみ*/
#logoheader  h1 {
    margin: 50px 0px 0px 5px;
}

#logoheader h1 a img {
    position: absolute;
    left: 10px;
    top: 10px;
    height: 60px;
    *-webkit-filter: invert(100%);
    *-moz-filter: invert(100%);
    *-o-filter: invert(100%);
    *-ms-filter: invert(100%);
    *filter: invert(100%);
}

/*◆<div id="logoheader"><h1></h1>…</div>TOPのみ、ここまで*/


#logoheader .h1 a img {
    position: absolute;
    z-index: 2;
    left: 10px;
    top: 10px;
    height: 60px;
    *-webkit-filter: invert(100%);
    *-moz-filter: invert(100%);
    *-o-filter: invert(100%);
    *-ms-filter: invert(100%);
    *filter: invert(100%);
}

/*ロゴキラキラ*/
#logoheader img {
    animation: logo-color 40s infinite;
    -webkit-animation: logo-color 10s infinite;
}
@-webkit-keyframes logo-color {
  0% { filter: invert(15%) sepia(95%) saturate(6932%) hue-rotate(358deg) brightness(95%) contrast(112%); }
  20% { filter: invert(17%) sepia(91%) saturate(7085%) hue-rotate(128deg) brightness(100%) contrast(106%); }
  40% { filter: invert(8%) sepia(99%) saturate(7044%) hue-rotate(247deg) brightness(100%) contrast(145%); }
  60% { filter: invert(88%) sepia(61%) saturate(0%) hue-rotate(229deg) brightness(107%) contrast(101%); }
  80% { filter: invert(50%) sepia(0%) saturate(11%) hue-rotate(143deg) brightness(101%) contrast(93%); }
  100% { filter: invert(81%) sepia(81%) saturate(633%) hue-rotate(359deg) brightness(106%) contrast(105%); }
}
@keyframes logo-color {
  0% { filter: invert(15%) sepia(95%) saturate(6932%) hue-rotate(358deg) brightness(95%) contrast(112%); }
  20% { filter: invert(17%) sepia(91%) saturate(7085%) hue-rotate(128deg) brightness(100%) contrast(106%); }
  40% { filter: invert(8%) sepia(99%) saturate(7044%) hue-rotate(247deg) brightness(100%) contrast(145%); }
  60% { filter: invert(88%) sepia(61%) saturate(0%) hue-rotate(229deg) brightness(107%) contrast(101%); }
  80% { filter: invert(50%) sepia(0%) saturate(11%) hue-rotate(143deg) brightness(101%) contrast(93%); }
  100% { filter: invert(81%) sepia(81%) saturate(633%) hue-rotate(359deg) brightness(106%) contrast(105%); }
}

/*◆<div class="spmenu">…</div>*/

.spmenu {
    position: fixed;
    *position: absolute;
    z-index: 9;
    bottom: 0px;
    left: 0px;
}


/*◆<div class="menubtn"><img></div>*/
@media screen and (min-width: 700px){
#headerbg .spmenu .menubtn img {
    position: fixed;
    right: 0px;
    top: 0px;
    z-index: 10;
    float: left;
}
}
@media screen and (max-width: 700px){
#headerbg .spmenu .menubtn img {
    position: fixed;
    left: 0px;
    bottom: 0px;
    z-index: 10;
    float: left;
}
}
/*◆<div class="spmenu"><img>*/
.spmenu img {
    position: relative;
    z-index: 10;
    width: 50px;
    height: 50px;
    padding: 0px 0px 0px 0px;
    float: left;
    *background-color: rgba(111,111,111,0.77);
    *opacity: 0.85;
    *background-color: rgba(222,222,222,0.5);
    background-color: rgba(255,255,255,0.75);
    animation: bg-color 20s infinite;
    -webkit-animation: bg-color 20s infinite;
}

/*◆spmenu imgキラキラ*/
@-webkit-keyframes bg-color {
  0% { background-color: #e74c3c; }
  20% { background-color: #f1c40f; }
  40% { background-color: #1abc9c; }
  60% { background-color: #3498db; }
  80% { background-color: #9b59b6; }
  100% { background-color: #e74c3c; }
}
@keyframes bg-color {
  0% { background-color: #e74c3c; }
  20% { background-color: #f1c40f; }
  40% { background-color: #1abc9c; }
  60% { background-color: #3498db; }
  80% { background-color: #9b59b6; }
  100% { background-color: #e74c3c; }
}



/*◆<div id="sub" class="togmenu">…</div>*/
#sub {
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
    position: fixed !important;
    *position: absolute!important;
    z-index: 9;
    width: 100%;
    top: 0px;
    left: 0px;
    opacity: 0.9;
    height: 100%;
    *background: #2F2F2F;
    background-color: rgba(250,250,250,0.999);
}
.togmenu {
    display: none;
}

/*ここまでハンバーガー部分の完了*/
/*ここからハンバーガー部分の中身*/
/*◆<ul class="sidemenu">…</div>*/
#sub .sidemenu {
position: fixed;
width:80%;
height:fit-content;
margin:auto;
inset:0;
}

#sub .sidemenu li {
    border-bottom: 1px solid #eee;
    background: #FeFeFe;
    *width: 100%;
    *height: 50px;
height:auto;
    float: left;
}
#sub .sidemenu li a:link {
    color: #262626;
}
#sub .sidemenu li a {
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 15px 20px 15px 10px;
Word-break:break-all;
    text-align: left;
    display: block;
    overflow: hidden;
}
#sub .sidemenu  > li:hover > a {
    background: #ccc;
    color: #333;
}

/*◆<li class="nowpage">…</div>*/
#sub .sidemenu .nowpage {
    *opacity: 0.85;
    *background-color: rgba(222,222,222,0.5);
    background-color: rgba(255,255,255,0.75);
    animation: bg-color 10s infinite;
    -webkit-animation: bg-color 10s infinite;
}
/*nowpageをキラキラ*/
@-webkit-keyframes bg-color {
  0% { background-color: #e74c3c; }
  20% { background-color: #f1c40f; }
  40% { background-color: #1abc9c; }
  60% { background-color: #3498db; }
  80% { background-color: #9b59b6; }
  100% { background-color: #e74c3c; }
}
@keyframes bg-color {
  0% { background-color: #e74c3c; }
  20% { background-color: #f1c40f; }
  40% { background-color: #1abc9c; }
  60% { background-color: #3498db; }
  80% { background-color: #9b59b6; }
  100% { background-color: #e74c3c; }
}

/*ここまでハンバーガー部分の中身*/





/*◆<div id="contents" class="clearfix">…</div>*/
#contents {
    width: 100%;
    margin: 0px auto 0px;
    overflow: hidden;
}
.clearfix {
    display: block;
}

.clearfix:after {
    display: block;
    clear: both;
    height: 0;
    line-height: 0;
    visibility: hidden;
    content: ".";
    font-size: 0;
}

/*◆<div id="main" class="contents">…</div>*/
#main {
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding: 0px 0px 0px 0px;
    width: 100%;
    *font-size: 16px;
}


/*◆<div class="h1midashi">…</div>*/
.h1midashi {
    *display: none;
    position: relative;
    *position: fixed;
    *position: absolute;
    top: -20px;
    left: 80px;
    z-index: 1;
    width: 75%;
*margin-bottom: 70px;
}


/*◆<h1>…</h1>*/
#main h1 {
*position: absolute;
*font-size: 26px;
*font-size: 4vw;
font-size:min(5.0vw,26px);
padding:15px 5px;
margin-top:15px;
    *border-bottom: 1px solid #ddd;
}

/*◆<h1><span>…</span></h1>*/
h1 span {
    display: block;
    width: 100%;
    font-size: 14px;
    color: #999;
}


/*◆<div class="clearfix contents-bottom">…</div>*/
#main .contents-bottom {
    *background-color: rgba(250,250,250,0.8);
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    margin: 0px auto 20px;
    height: auto;
    overflow: hidden;
    clear: both;
}


/*
-------------------------------------------
###########################################
■PC用　ドロップダウンメニューjava
###########################################
-------------------------------------------
*/

/*◆<div class="gmbg">…</div>TOPのみ、ここから*/
.gmbg {
*position: relative;
    *position: absolute;
    position: fixed;
    z-index: 6;
    bottom: 200px;
    width: 100%;
}
.gm {
    *background-color: rgba(000,000,000,0.05);
    box-shadow: 0 10px 20px -10px rgba(255,255,255,0.2);
    width: 99.9%;
    *border-right: 1px solid rgba(255,255,255,0.3);
    max-width: 960px;
    margin: 0px auto 0px;
    text-align: center;
}

.gm :hover{
opacity: 0.97;
}

.gm ul.gmenu li {
    width: 20%;
    height: 40px;
    float: left;
}
.gm ul.gmenu li a {
    background-color: rgba(255,255,255,0.7);
    border-left: 1px solid rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    width: auto;
    height: 100%;
    line-height: 40px;
    display: block;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: #262626;
    *padding: 0px 10px 0px 10px;
}
/*重複後で消す*/
ul, li {
    list-style: none;
}

@media screen and (max-width: 724px){
.gm ul.gmenu li {
    width: 50%;
    height: 40px;
    float: left;

}
/*724幅で消す時*/
.gm {
*display:none;
}

}


@media screen and (max-width: 320px){
.gm ul.gmenu li {
    width: 100%;
    height: 40px;
    float: left;
display:none;
}
/*320幅で消す時*/
.gm {
*display:none;
}

}




/*×を隠す*/

.gm ul.gmenu ul.sub .auto4width{
width: 100%;
}


.gm ul.gmenu ul.sub .auto4width li a img{
max-width: 100%;
height: auto;
}

/*◆<div class="gmbg">…</div>TOPのみ、ここまで*/


/*◆<div id="headerimage" class="s01" >*/
#headerimage {
position: relative;
*position: fixed;
*position: absolute;
z-index: 0;
width: 100%;
max-width:1600px;
text-align: center;
margin: 0px auto 0px;
top: -50px;

}

#headerimage img {
width: 100%;
}

#headerimage object{
width: 100%;
height: 400px;
margin: 0px auto 0px;
}


#headerimage div.headerimagebox {
height:100%;
width:100%;
margin: auto;
*display: none;
}

#headerimage div.headerimagebox p{
  width: 100%;
  position: absolute;
  bottom: 50px;
  font-size:40px;
  text-shadow: 0px -1px 5px #FFF;
  color:#000;
font-family: 'メイリオ', Meiryo,  'MS PGothic', sans-serif;
font-weight:bolder;
}
#headerimage div.headerimagebox p span{
  font-size:20px;
}




/*◆<div id="contents" class="clearfix">…</div>*/
#contents {
    width: 100%;
    margin: 0px auto 0px;
}


/*◆<div id="footer">…</div>*/
#footer {
    margin: 0px auto 0px;
    background-color: #fefefe;
    width: 100%;
}

/*◆<div id="down_menu_back">…</div>*/

/*◆<nav class="guide">…</div>*/
nav.guide {
    background-color: #ddd;
    padding: 5px 0px 5px 5px;
    position: relative;
    z-index: 1;
}
nav.guide ol {
    width: 100%;
    margin: 0px auto 0px;
}

nav.guide ol:first-child:before {
    content: url(../../file/home.png);
}

nav.guide ol li {
    display: inline;
    list-style-type: none;
    color: #000;
}
nav.guide ol li:first-child:before {
    content: "";
}
nav.guide ol li:before {
    content: " > ";
    color: #262626;
}

nav.guide ol li span {
    font-size: 13px;
    color: #262626;
}
/*◆<div class="footer_logo">…</div>*/
#down_menu_back .footer_logo {
    width: 100%;
    *min-width: 320px;
    *position: relative;
    height: auto;
    background-color: #efefef;
    text-align: center;
}

/*◆<div class="footer_logo"><img></div>*/
#down_menu_back .footer_logo img {
    max-width: 50px;
    height: auto;
    -webkit-filter: invert(100%);
    -moz-filter: invert(100%);
    -o-filter: invert(100%);
    -ms-filter: invert(100%);
    filter: invert(100%);
}
/*◆<div class="copyright">…</div>*/
div.copyright {
    background-color: #ddd;
    text-align: center;
    width: 100%;
    margin: 0px auto 0px;
}
div.copyright a {
    color: #262626;
    font-size: 14px;
}
