@charset "utf-8";
/* CSS Document */
html { overflow-y: scroll; }
body {
    width: 100%;
    height: 100%;
    background-color: #111111;
    font: 16px/0em "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #FFFFFF;
    background-image: url(../images/body_back2.png);
    background-repeat: repeat;
}
*, *:before, *:after {
    padding: 0px;
    margin: 0px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
a img { border: none; }
ul li { list-style: none; }
/*
---------------------------------------------------トップビジュアル
*/
#topv {
    width: 100%;
    height: 400px;
    max-height: 400px;
    position: relative;
    z-index: 5;
    background-image: url(../images/topv.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}
#topv2 {
    width: 100%;
    height: 120px;
    max-height: 120px;
    position: relative;
    z-index: 5;
    background-image: url(../images/body_back.png);
    background-repeat: repeat-x;
    background-position: center top;
}
/*
---------------------------------------------------ヘッダー
*/
header {
    width: 100%;
    height: auto;
    line-height: 1em;
    margin-top: -100px;
    position: relative;
    z-index: 10;
    background-image: -webkit-linear-gradient(270deg, rgba(17,17,17,0.00) 0%, rgba(17,17,17,1.00) 30%);
    background-image: -moz-linear-gradient(270deg, rgba(17,17,17,0.00) 0%, rgba(17,17,17,1.00) 30%);
    background-image: -o-linear-gradient(270deg, rgba(17,17,17,0.00) 0%, rgba(17,17,17,1.00) 30%);
    background-image: linear-gradient(180deg, rgba(17,17,17,0.00) 0%, rgba(17,17,17,1.00) 30%);
}
#headerFrame {
    width: 90%;
    max-width: 1040px;
    margin: 0px auto;
    display: flex;
    flex-wrap: wrap;
}
#headerFrame .homeLogo {
    width: 30%;
    height: auto;
}
/*
---------------------------------------------------ナビ
*/
nav {
    display: block;
    width: 70%;
    position: relative;
}
nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 10px;
}
nav ul li {
    position: relative;
    width: auto;
}
nav ul li a {
    background-color: rgba(0,123,32,0.50);
    display: block;
    padding: 0.5em 2em;
    font-weight: bold;
    text-align: center;
    line-height: 1em;
    border-radius: 4px;
    color: rgba(255,255,255,0.80);
    text-decoration: none;
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}
nav ul li a:hover {
    background-color: rgba(0,123,32,1.0);
    color: #ffffff;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
/*
---------------------------------------------------メインカラム
*/
main {
    display: block;
    width: 100%;
    clear: both;
    line-height: 1.8em;
}
main ul li { list-style: none; }
main a { }
main a:hover { }
#mainFrame {
    width: 90%;
    max-width: 960px;
    margin: 0px auto;
    padding-top: 20px;
}
/*
---------------------------------------------------フッター
*/
footer { line-height: 1em; }
.pagetop {
    position: relative;
    width: 100%;
    height: 2em;
    border-bottom: 4px solid #007b20;
}
.pagetop p {
    position: absolute;
    width: 160px;
    height: 2em;
    right: 40px;
    background-color: #007b20;
    text-align: center;
    line-height: 2em;
    border-radius: 4px 4px 0px 0px;
    cursor: pointer;
}
.copyright {
    font-size: 0.8em;
    text-align: center;
    padding: 2em;
}
.copyright span::after {
    content: " ";
    white-space: pre;
}

/*
---------------------------------------------------レスポンシブ768
*/
@media screen and (max-width:768px) {
#headerFrame .homeLogo {
    width: 40%;
    height: auto;
}
nav {
    display: block;
    width: 60%;
    position: relative;
}
nav ul { top: 5em }
nav ul li {
    width: 100%;
    margin-bottom: 0.5em;
}
/*
---------------------------------------------------768ここまで
*/
}

/*
---------------------------------------------------レスポンシブ480
*/
@media screen and (max-width:480px) {
#topv {
    width: 100%;
    height: 180px;
    max-height: 180px;
}
#headerFrame .homeLogo {
    width: 100%;
    height: auto;
    text-align: center;
    margin: 0 auto;
}
#headerFrame .homeLogo img {
    width: 60%;
    height: auto;
}
nav {
    display: block;
    width: 100%;
    position: relative;
}
nav ul { top: 1em; }
nav ul li { width: 100%; }
#mainFrame { padding-top: 150px; }
.copyright span::after {
    content: "\A";
    white-space: pre;
}
/*
---------------------------------------------------480ここまで
*/
}
