@charset "utf-8";

@font-face {
    font-family: 'hiraginokakugoW7';
    src: url(font/HiraginoKakuGothic_W7.ttc)format("truetype");
}

@font-face {
    font-family: 'HGMaruGothic';
    src: url(font/HGMaruGothic.ttf)format("truetype");
}

/*---------------------------------------------
スマホ用スタイルシート（ポップメニュー含む）
　・全頁共通データを多く含んでいます。
----------------------------------------------*/

/*------ 全般初期設定 ---------------------------*/
#all {
    width: 100vw;
    margin: 0 auto 0;
    font-family: "hiraginokakugoW1";
    font-feature-settings: "palt";
}

a {
    text-decoration: none;
}

html {
    font-size: calc(100% + 0.25vw);
}

#loading {
    position: fixed;
    display: flex;
    width: 100vw;
    height: 100vh;
    background-color: white;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 3;
}

#loading>img {
    width: 95vw;
    height: 47vw;
    margin: 0 2.5vw 0;
}

body {
    width: 100vw;
}

/*---------------------------------------------
------ タイトル画像【福知山駐屯地】 ---------------*/
.title {
    position: fixed;
    top: 0;
    z-index: 8;
    height: 13vw;
    background-color: white;
}

.title img {
    width: 100vw;
}

/*---------------------------------------------
------- スマホ用css/パソコン用cssの切り替え -------*/
.pc-only,
.seclet-data,
.res-only {
    display: none;
}

.top-space {
    width: 100vw;
    height: 14vw;
}

/*---------------------------------------------
    フッター設定
------------------------------------------------*/
.copyright-box {
    background-color: rgba(10, 10, 10, 1);
    color: white;
    text-align: center;
    font-size: 3vw;
    box-shadow: 0 0 3vw rgba(0, 0, 0, .5);
}

.copyright-box a {
    text-decoration: none;
    color: white;
}

.foot-top {
    display: flex;
    flex-wrap: wrap;
    padding: 3vw 1vw 0;
}

.foot-top span {
    width: 48vw;
    margin: 0 auto 2vw;
}

.foot04 a,
.foot05 a {
    font-weight: bold;
}

.foot06 {
    margin-top: 2vw;
    font-size: 2.5vw;
    padding-bottom: 10vw;
}

.foot07 {
    margin-top: 2vw;
}

.foot07 span {
    font-size: 6vw;
    font-family: "hiraginokakugoW7";
    margin: 2vw;
}

.foot08,
.foot09 {
    margin: 1vw;
    font-size: 3.5vw;
}


/*--------------------------------------------
-- ハンバーガーアイコン       ------------------*/
.menu-switch {
    position: fixed;
    margin: 1.4vw 0 0 85vw;
    z-index: 9;
    width: 12vw;
    height: 12vw;
}

.menu-switch span {
    position: fixed;
    transition: .3s ease-in-out;
}

.menu-switch span:nth-of-type(1),
.menu-switch span:nth-of-type(2),
.menu-switch span:nth-of-type(3) {
    width: 12vw;
    height: 1.5vw;
    background-color: black;
    border-radius: 1vw;
}

.menu-switch span:nth-of-type(2) {
    margin-top: 3vw;
}

.menu-switch span:nth-of-type(3) {
    margin-top: 6vw;
}

.menu-switch.active span:nth-of-type(1) {
    transform: rotateZ(220deg);
    margin-top: 3vw;
}

.menu-switch.active span:nth-of-type(2) {
    transform: scalex(0);
}

.menu-switch.active span:nth-of-type(3) {
    transform: rotateZ(140deg);
    margin-top: 3vw;
}

.menu-close,
.menu-open {
    font-size: 3vw;
    margin-top: 7.5vw;
    width: 12vw;
    text-align: center;
    transform: rotateY(90deg);
    transition: .3s ease-in-out;
}

.menu-close.active {
    transform: rotateY(0deg);
    letter-spacing: .7vw;
}

.menu-open.active {
    transform: rotateY(0deg);
    letter-spacing: .3vw;
}

/*-------------------------------------------------------------------
 メニュー本体
--------------------------------------------------------------------*/

.menu-container a {
    text-decoration: none;
    color: white;
}

.menu-list {
    position: fixed;
    z-index: 4;
    list-style: none;
    margin: 13vw 0 0 20vw;
    padding: 0 1em;
    width: 80vw;
    font-weight: bold;
    transform: translateY(-100%);
    transition: .3s ease-in-out;
    font-family: 'hiraginokakugoW7';
    box-sizing: border-box;
    background-color: rgba(20, 20, 20, .8);
}

.menu-list.active {
    transform: translateY(0%);
}

.menu-list>li {
    border-bottom: .1em solid rgba(255, 255, 255, .5);
}

.menu-list>li>a>p,
.menu-list>li>p:nth-of-type(1) {
    font-size: 5.5vw;
    text-indent: 1em;
    margin: .5em;
    margin-right: 1em;
    color: white;
}

.menu-list>li>p:nth-of-type(1) {
    display: inline-block;
}

.double-menu>p:nth-of-type(2) {
    font-size: 4vw;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, .8);
    display: inline-block;
    transform: rotateZ(0deg);
    transition: .5s;
}

.double-menu.open>p:nth-of-type(2) {
    transform: rotateZ(180deg);
}

.double-menu ul {
    margin: 0;
}

.double-menu.open ul {
    margin: -.5em 0 .5em;
}

.double-menu ul li p {
    opacity: 0;
    margin: 0;
    visibility: hidden;
    transition: .5s;
    transition-delay: 0s;
}

.double-menu.open ul li p {
    opacity: 1;
    visibility: visible;
    transition: .3s;
    transition-delay: .2s;
}

.double-menu ul li {
    height: 0;
    margin-left: 2em;
    visibility: hidden;
    transition: .5s;
    transition-delay: .2s;
}

/*------------------------------------
　 ハンバーガーメニューの二段階目の高さ
　項目を追加した場合は個別に調整してください
-------------------------------------*/

.menu2.open ul li,
.menu4.open ul li,
.menu5.open ul li {
    height: 3em;
    transition-delay: 0s;
    align-content: center;
}

.double-menu ul p {
    margin: 0;
    margin-bottom: 1em;

}




.menu-bg {
    position: fixed;
    width: 100vw;
    height: 300vh;
    background: linear-gradient(to top, rgba(0, 0, 0, 0), #000);
    transform: translateY(-100%);
    transition: .3s ease-in-out;
    z-index: 3;
}

.menu-bg.active {
    transform: translateY(0%);
}