@charset "UTF-8";
/*--------------------
ヘッダー
--------------------*/

.gHeader {
    font-size: 1.6rem;
    z-index: 100;
}

.gHeader .gHeaderInner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    min-height: 90px;
}

@media screen and (max-width:1300px) {
    .gHeader .gHeaderInner {
        padding : 0 1rem;
    }
}

.gHeader .headerLogo {
    width: 15%;
    max-width: 172px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.gHeader .headerLogo a {
    display: block;
    transition: .3s;
    width: 100%;
}

.gHeader .headerLogo a > *:last-of-type {
    display: none;
}

.gHeader .headerLogo a:hover {
    opacity: .7;
}

.gHeader .headerLogo svg,
.gHeader .headerLogo img {
    vertical-align: bottom;
    width: 100%;
    height: auto;
}

/*グローバルメニュー*/

.gHeader .btnGNav,.gHeader .btnTimetable {
    display: none;
}

.gHeader .gNav {
    display: flex;
    width: 83%;
    max-width: 1050px;
    justify-content: space-between;
}

.gHeader .gNav > ul {
    display: flex;
}

.gHeader .gNav ul li {
    display: flex;
}

.gHeader .gNav ul li a {
    display: block;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    transition: 0.3s;
}

.gHeader .gNav .gNavMain {
    width: 100%;
    justify-content: space-around;
    align-self: center;
    margin-right: 2%;
}

.gHeader .gNav .gNavMain li {
    align-items: center;
}

.gHeader .gNav .gNavMain a {
    padding: 1em 0.3em;
}

.gHeader .gNav .gNavMain a:hover {
    color: #db022a;
}

.gHeader .gNav .gNavSub {
    justify-content: flex-end;
}

.gHeader .gNav .gNavSub li {
    width: 11rem;
    margin-right: .35rem;
    overflow: hidden;
}

.gHeader .gNav .gNavSub li:last-of-type {
    margin-right: 0;
}

.gHeader .gNav .gNavSub a {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 78px;
    align-items: center;
    justify-content: center;
    padding: 2.4rem .5rem 1.2rem .5rem;
    border-radius: 0 0 0.6rem .6rem;
    background: #F4F4F4;
    border: 1px solid #aaa;
    border-top: none;
    transform: translateY(-1.3rem);
}

.gHeader .gNav .gNavSub a:hover {
    transform: translateY(-0.9rem);
}

.gHeader .gNav .gNavSub a i {
    -webkit-mask-size: 100% auto;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-size: 100% auto;
    mask-repeat: no-repeat;
    mask-position: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #222;
    margin-bottom: 0.4rem;
    transition: .5s;
}

.gHeader .gNav .gNavSub a.timetable i {
    -webkit-mask-image: url(../images/icon_timetable.svg);
    mask-image: url(../images/icon_timetable.svg);
}

.gHeader .gNav .gNavSub a.disaster {
    background: #FFF2F2;
    border-color: #db022a;
}

.gHeader .gNav .gNavSub a.disaster i {
    -webkit-mask-image: url(../images/icon_disaster.svg);
    mask-image: url(../images/icon_disaster.svg);
    background: #db022a;
}

.gHeader .gNav .gNavSub a.timetable:hover {
    background: #777777;
    border-color: #555;
    color: #fff;
}

.gHeader .gNav .gNavSub a.disaster:hover {
    background: #e23454;
    border-color: #db022a;
    color: #fff;
}

.gHeader .gNav .gNavSub a:hover i {
    background: #fff;
}

@media screen\0 {
    .gHeader .gNav .gNavSub a.disaster:hover{
        background: #FFF2F2;
        color: #222;
    }
    .gHeader .gNav .gNavSub a.disaster i {
        background: url(../images/icon_disaster.svg) no-repeat center center;
        background-size: contain;
    }
    .gHeader .gNav .gNavSub a.timetable:hover{
        background: #F4F4F4;
        color: #222;
    }
    .gHeader .gNav .gNavSub a.timetable i {
        background: url(../images/icon_timetable.svg) no-repeat center center;
        background-size: contain;
    }
}

@media (max-width: 1279px) {
    .gHeader {
        font-size: 1.4rem;
    }
}

@media (max-width: 1024px) {
    .gHeader .gHeaderInner {
        min-height: 80px;
    }
    .gHeader .headerLogo {
        width: 8%;
        max-width: 58px;
    }
    .gHeader .headerLogo a > *:last-of-type {
        display: block;
    }
    .gHeader .headerLogo a > *:first-of-type {
        display: none;
    }
    .gHeader .gNav {
        width: 92%;
    }

    .gHeader .gNav .gNavMain {
    margin: 0 2%;
    }
    
    .gHeader .gNav .gNavSub li {
        width: 9.1vw;
    }
    .gHeader .gNav .gNavSub a {
        font-size: 1.4vw;
    }
}

/*--------------------
フッター
--------------------*/

.gFooter .pageTop {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 999;
}

.gFooter .pageTop > a {
    width: 6rem;
    height: 6rem;
    font-size: 1.4rem;
    line-height: 1;
    background: #fff;
    color: #db022a;
    border: 2px solid #db022a;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    right: 10px;
    bottom: 10px;
    text-align: center;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: .5s;
}

.gFooter .pageTop > a i {
    font-size: 1.5em;
    margin-bottom: 0.1em;
    transition: .5s;
}

.gFooter .pageTop > a:hover i {
    transform: translateY(-0.15em);
}

.gFooter {
    background: #F4F4F4;
    z-index: 0;
}

.gFooter .gFooterInner {
    padding: 5rem 0;
    text-align: center;
}

@media screen and (max-width:1300px) {
    .gFooter .gFooterInner {
        padding : 5rem 1rem;
    }
}

.gFooter .gfooterLogo {
    width: 75%;
    max-width: 373px;
}

.gFooter .gFootNav ul {
    font-size: 1.6rem;
    margin: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gFooter .gFootNav ul li {
    margin: 0 2%;
}

.gFooter .gFootNav a {
    color: #222;
    transition: opacity .3s;
    text-decoration: none;
}

.gFooter .gFootNav a:hover {
    opacity: 0.7;
}

.gFooter .copy {
    font-size: 1.2rem;
    line-height: 2;
}

/*------セクションレイアウト------*/

.inner {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media screen and (max-width:1300px) {
    .inner {
        padding-right: 10px;
        padding-left: 10px;
    }
}

/*------速報------*/

.em {
    position: relative;
    z-index: 1;
}

.em .inner {
    margin-bottom: 1rem;
    background: #fff2f2;
    border: #D30D1B 1px solid;
    box-sizing: border-box;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    padding: 0;
}

.em h2 {
    color: #fff;
    text-align: center;
    font-weight: bold;
    background: #D30D1B;
    clip-path: polygon(85% 0, 0 0, 0 100%, 85% 100%, 100% 50%);
    padding: 0.8rem;
    padding-right: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 5em;
}

.em p {
    color: #D30D1B;
    padding: 0.8rem 1.9rem;
}