/* * {
    background-color: lightpink;
    border: 1px solid black;
    
} */

/* 全体設定 */

main {
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0 20px;
}


/* ヘッダー */

header {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding:5px 0 0;
}


.title1 {
    padding: 10px 6px 0;
    font-size: 0.5rem;
}

.title2 {
    padding: 5px 0px 0;
    font-size: 1.5rem;
}

.title3 {
    font-size: 0.75rem;
    padding: 5px 0px 0;
}


/* 駐屯地のロゴマークを少し小さく */

header img {
    width: 3rem;
    margin-right: 0.5rem;
}
/*右上のＳＮＳロゴを消す */

.sns-logo {
    display: none;
}

/* ｐｃ用ナビゲーションを消す */

.pc-nav {
    display: none;
}


/* ｈ２のタイトル（各コンテンツのタイトル） */


.content-title {
    font-size: 1rem;
    margin: 30px auto 15px;
    padding: 5px 0 3px 10px;
}

/* ｈ３のタイトル（コンテンツのサブタイトル） */

.subcontent-title {
    font-size: 1rem;
    margin: 30px auto 15px;
    padding: 5px 0 3px 10px;
    width: 100%;
}


h3 {
    font-size: 1rem;
  }

  h4 {
    
    font-size: 1rem;

  }

  /* ボタンのCSS　*/
  
  .link_btn a {
    max-width: 200px;
    font-size: 1rem;
    padding: 5px;
  }

/* 新着情報の欄を１００％に */

.sintyaku {
    padding: 0;
    width: 100%;
}


/* ピックアップの欄を１００％に */

.pickup {
    padding: 0;
    width: 100%;
}


/*コンテンツの欄を４列から２列に変更*/

.inner-box {
    width: 45%;
}

/* 特設サイトログを２列から１列に変更 */

.site-log-box {
    width: 100%;
}



/* メインを広く覆うボックス */

.outer-box {
    /* background-color: lightpink;  */
    width: 90%;
    font-size: 1.3rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto;
    line-height: 1.5;
}

.outer-box2 {
    /* background-color: lightpink;  */
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto;
    line-height: 1.5;
}

.outer-box3 {
    /* background-color: lightpink;  */
    width: 100%;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto;
    line-height: 1.5;
}


/*コンテンツボックス群 */


.inner-box {
    /* background-color: lightcyan; */
    padding: 20px 0;
    width: 100%;
}

.inner-box img {
    width: 100%;
}

.inner-box p {
    padding: 5px;
    /* background-color: lightgreen; */
}



.inner-box2 {
    /* background-color: lightcyan; */
    width: 100%;
}

.inner-box2 img {
    width: 100%;
}

.inner-box2 p {
    padding: 5px;
    /* background-color: lightgreen; */
}



.inner-box3 {
    /* background-color: lightcyan; */
    padding: 0.5em 1em;
    margin: 0;
    width: 100%;
}

.inner-box3 img {
    width: 100%;
}

.inner-box3 p {
    margin: 0;
    padding: 0px;
    /* background-color: lightgreen; */
}


.inner-box4 {
    /* background-color: lightcyan; */
    padding: 0.5em 1em;
    margin: 0;
    font-size: medium;
    font-weight: bold;
    color: #000;
    background-color: #fff;
    border: solid 3px #6091d3;
    border-radius: 10px;
    width: 320px;
}

.inner-box4 img {
    width: 100%;
}

.inner-box4 p {
    margin: 0;
    padding: 0px;
    /* background-color: lightgreen; */
}


.inner-box5 {
    /* background-color: lightcyan; */
    padding: 0.5em 1em;
    margin: 0;
    font-size: medium;
    font-weight: bold;
    color: #000;
    background-color: #fff;
    border: solid 3px #6091d3;
    border-radius: 10px;
    width: 480px;
}

.inner-box4 img {
    width: 100%;
}

.inner-box4 p {
    margin: 0;
    padding: 0px;
    /* background-color: lightgreen; */
}




/*************　ハンバーガーナビ　部分　*************/

#hum-nav {
    display: block;
}

.sns-nav-mobile {
    display: flex;
    justify-content: space-around;
}

.sns-nav-mobile img {
    margin: 10px 0;
    width: 2rem;
}

#nav-drower {
    position: relative;
}

/*************　ハンバーガーアイコン空白　部分　*************/

#nav-open {
    display: inline-block;
    width: 50px;
    vertical-align: middle;
}

/*************　ハンバーガーアイコン三本線　部分　*************/

#nav-open span, #nav-open span:before, #nav-open span:after {
    position: fixed;
    top: 0;
    right: 0;
    margin: 25px 25px 0 0;/*線の位置*/
    height: 5px;/*線の太さ*/
    width: 1.8rem;/*線の長さ*/
    border-radius: 3px;/*線の丸み*/
    background: #77aaff;/*線の色*/
    opacity: 0.9;/*線の透明度*/
    display: block;
    content: "";
    cursor: pointer;
}

#nav-open span:before {
    top: 10px;
}

#nav-open span:after {
    top: 20px;
}

#nav-open span {
    position: fixed;
    z-index: 10;
}

/*************　ハンバーガー黒幕　部分　*************/

#nav-close {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333333;
    opacity: 0.3;
}

/*************　ハンバーガーメニュー中身　部分　*************/

#hum-nav {
    font-size: 0.9rem;
    overflow: auto;
    position: fixed;
    top: 80px;/*メニューの上のスキマ*/
    right: 0;
    z-index: 9999;
    width: 75%;/*メニューの横幅*/
    max-width: 300px;/*メニューの最大幅*/
    height: 100%;
    background: #eeeef5;
    transition: .2s ease-in-out;/*メニューの表示にかかる速度*/
    -webkit-transform: translateX(105%);
    transform: translateX(105%);
}

#nav-input:checked ~ #nav-close {
    display: block;
    opacity: 0.5;
}

#nav-input:checked ~ #hum-nav {
    -webkit-transform: translate(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0,0,0,0.15);
}

#nav-input:checked ~ span {
    transform: rotateX(315deg);
}

#hum-nav li a {
    display: block;
    border-top: 1px dotted #eeeeee;
    padding: 8px 10px;
}


/* video */

video {
    width: 30%;
    height: auto;
    display: block;
}


/* フッター */


.footer-nav {
    display: none;
   
}

/*
.footer-nav h2 {
    display: none;
}

.footer-nav-1 {
    display: none;
}

.footer-nav-2 {
    display: none;
}

.footer-nav-3 {
    display: none;
}

*/





/*************　フッター　メール等部分　*************/

.footer-mail {
    margin: 30px;
    text-shadow: none;
}


.footer-mail p {
    font-size: 10px;
}

.footer-mail a {
    border-bottom: 1px solid #aaaaaa;
}





/*************　フッター　コピーライト部分　*************/

.footer-policy a {
    margin: 10px;
    font-size: 12px;
    font-weight: normal;
}



/*************　ページ先頭へ　ボタン部分　*************/


@keyframes fadeIn-crawl {
    0% {
        opacity: 0;
        right: -130px;
    }
    55% {
        opacity: 0;
        right: -60px;
        bottom: 3px;
    }
    63% {
        opacity: 1;
        right: -41px;
        bottom: 20px;
    }
    70% {
        right: -42px;
        bottom: 17px;
    }
    75% {
        right: -33px;
        bottom: 33px;
    }
    79% {
        right: -31px;
        bottom: 30px;
    }
    82% {
        right: -30px;
        bottom: 45px;
    }
    85% {
        right: -17px;
        bottom: 42px;
    }
    88% {
        right: -16px;
        bottom: 54px;
    }
    91% {
        right: -15px;
        bottom: 52px;
    }
    94% {
        right: -3px;
        bottom: 63px;
    }
    100% {
        opacity: 1;
    }
}

.to-page-top {
    animation-name: fadeIn-crawl;
    animation-duration: 10s;
}

.to-page-top {
    bottom: 60px;
    right: 0px;
    width: 70px;
}

.to-page-top-p1 {
    display: block;
}

.to-page-top-img {
    display: none;
}

.to-page-top-img2 {
    display: block;
}

