﻿@charset "utf-8";


/*background-color: #000000;*/

/*************　共通設定　*************/

* {
    text-decoration: none;
	margin:0;
	padding:0;
    color: #ffffff;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

body {
    width: 100%;
}

a:hover {
    opacity: 0.7;
}

p {
    font-size: 100%;
    line-height: 1.7;
}

/*************　ヘッダー（左上）部分　*************/

header {
    display: flex;
    justify-content: space-between;
}

header .karabako {
    flex-grow: 4;
}

header h1 {
    width: 220px;
}

header h1 a {
    text-decoration: none;
    color: #696969;
}

header h1 img {
    width: 240px;
    float: left;
    margin: 5px 5px 0 18px;
}

header h1 .title1 {
    margin: 10px 0 0 0;
    padding: 0;
    font-size: 14px;
}

header h1 .title2 {
    margin: 0;
    padding: 0;
    font-size: 24px;
}

header ul {
    flex-grow: 1;
}

/*************　ヘッダー（右上）部分　*************/

.sns-nav {
    display: flex;
    justify-content: space-around;
    margin: 18px auto 0;
}

.sns-nav li img {
    width: 34px;
}

/*************　ハンバーガーナビ部分　*************/

.nav-unshown {
    display: none;
}

#hum-nav {
    display: none;
}

/*************　ナビゲーション部分　*************/

@keyframes gnav {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#gnav {
    background-color: #d3d3d3;
    display: flex;
    justify-content: center;
    border: 1px solid #cccccc;
}

#gnav ul {
    width: 150px;
    border-left: 1px dotted #ffffff;
}

#gnav ul:last-child {    
    border-right: 1px dotted #ffffff;
    border-bottom: 1px dotted #ffffff;    
}

#gnav ul li {
    position: relative;
}

#gnav a {
    text-align: center;
    display: block;
    padding: 7px 20px;
    text-decoration: none;
    color: #777777;
    font-size: 13px;
}


#gnav a:hover {
    transition: 0.5s;
    background-color: #5588dd;
    color: #ffffff;
}

#gnav ul:hover > .gnav-dropdown {
    display: block;
    transition-duration: 0.5s;
}

#gnav .gnav-dropdown {
    background-color: #f5f5f5;
    width: 150px;
    display: none;
    position: absolute;
    z-index: 99;
    animation-name: gnav;
    animation-duration: 0.5s;
}

#gnav .gnav-dropdown li a {
    display: block;
}


.now {
    background-color: #bbddee;
}

#now {
    background-color: #bbddee;
}

/*************　連隊長イメージ部分　*************/

.rco {
    display: flex;
}

.rco-img {
    padding: 15px 15px 15px 80px;
    width: 50%;
}

/*************　メインイメージ部分　*************/

.main-images-wrapper {
    width: 50%;
　　height: auto;
    z-index: 100;
}

.main-images-bunner {
    width:100%;
    height: auto;
    z-index: 5;
}

.main-images p {
    text-align: center;
}

.main-images p img {
    width: 100%;
}

/*************　メイン　共通設定　*************/

.main-wrapper h1 {
    margin: 0 auto;
    padding: 5px 0 3px 10px;
    width: 95%;
    font-size: 30px;
    border-left: 5px solid #f0e68c;
    background-color: #006400;
    font-color:#f0e68c;
    font-family: "HGS明朝E"
}

.main-wrapper h2 {
    margin: 0 auto;
    padding: 5px 0 3px 10px;
    width: 95%;
    font-size: 20px;
    border-left: 5px solid #77aaff;
    background-color: #a3e6c1;
}

/*************　メイン　新着情報部分　*************/

.main-box1 {
    display: flex;
    justify-content: center;
}

.main-news {
    width: 50%;
}

.main-news dl {
    margin: 5px 20px;
}

.main-news dl dd {
    padding: 10px 0;
    border-bottom: 1px dotted #999999;
}

/*************　メイン　特設サイト部分　*************/

.main-tokusetu {
    width: 35%;
}

.main-tokusetu img {
    width: 95%;
    margin: 10px 0 0 10px;
}

/*************　メイン　コンテンツ部分　*************/

.main-contents {
    width: 85%;
　　height: auto;
    margin: 15px auto;
}

.main-contentssub {
    width: 20%;
    margin: 10px auto;
}

.main-contents h1 {
    width: 95%;
    margin-bottom: 20px;
}

.main-contents h2 {
    width: 95%;
    margin-bottom: 15px;
}

.main-contents-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.main-contents-box {
    width: 20%;
　　height: auto;
}

.main-contents-box div {
    width: 100%;
}

.main-contents p {
    padding: 0 10px 10px;
}

.main-contents img {
    width: 100%;
}

.catsle {
    text-align: left;
    padding: 0 5px 0;
}



/*************　フッター　ナビ部分　*************/

footer {
    width: 100%;
    margin-top: 20px;
}

.footer-nav {
    background-image: url(../images/footer-img.png);
    background-size: cover;
    display: flex;
    padding: 60px;
}

.footer-nav h2 {    
    margin: 20px 15px 0;
    text-decoration: none;
    text-shadow: 1px 1px 0 #333333;
    font-size: 15px;
    color: #aaccff;
}

.footer-nav ul {
    margin: 0 15px 30px;
}

.footer-nav a,.footer-nav p {    
    text-decoration: none;
    text-shadow: 1px 1px 0 #333333;
    font-size: 13px;
    color: #dddddd;
}

/*************　フッター　メール等部分　*************/

.footer-mail {
    margin: 10px 30px;
}

.footer-mail p {
    font-size: 13px;
}

.footer-mail a {
    border-bottom: 1px solid #aaaaaa;
}

/*************　フッター　コピーライト部分　*************/

.footer-copyright {
    margin: 10px;
    font-weight: bold;
    text-align: center;
}

.footer-copyright p {
    text-decoration: none;
    font-size: 12px;
    color: #555555;
}

/*************　ページ先頭へ　ボタン部分　*************/

@keyframes fadeIn-jump {
    0% {
        opacity: 0;
        right: -130px;
    }
    55% {
        opacity: 0;
        right: -60px;
        bottom: 10px;
    }
    84% {
        opacity: 1;
        right: -42px;
        bottom: 0;
    }
    85% {
        right: -42px;
        bottom: 0;
    }
    87% {
        right: -33px;
        bottom: 5px;
    }
    88% {
        right: -30px;
        bottom: 0;
    }
    91% {
        right: -30px;
        bottom: 0;
    }
    93% {
        right: -17px;
        bottom: 5px;
    }
    94% {
        right: -15px;
        bottom: 0;
    }
    97% {
        right: -15px;
        bottom: 0;
    }
    99% {
        right: -3px;
        bottom: 5px;
    }
    100% {
        opacity: 1;
    }
}

.to-page-top {
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 85px;
    float: right;
    color: #ffffff;
    font-size: 12px;
}

.to-page-top-p2 {
    display: none;
}

.to-page-top {
    animation-name: fadeIn-crawl;
    animation-duration: 10s;
}

.to-page-top img {
    width: 80%;
}

.to-page-top-img2 {
    display: none;
}






