/* ==================================

    Common - 共通

================================== */

/* ==================================
    Reset - リセット
================================== */

* {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
    line-height: 1.5;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}



/* ==================================
    Common - 共通
================================== */

html {
    font-size: 62.5%;
}

body {
    font-family: 'Kosugi Maru', sans-serif;
    background-color: #BA0F1C;
    color: #F3EFEB;
	font-size: 1.6rem;
    letter-spacing: 0.08em;
    line-height: 1.8;
}

p {
    letter-spacing: 0.08em;
    line-height: 1.8;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    cursor: pointer;
    transition: .4s;
}

a:hover {
    color: #FF0000;
    transition: .4s;
}

.ff-Corben {
    font-family: 'Corben', cursive;
}



/* ==================================
    Header - ヘッダー
================================== */

.header-box {
    position: fixed;
    width: 100%;
    height: 75px;
    z-index: 98;
    background-color: #BA0F1C;
}



/* ==================================
    Menu - メニュー
================================== */

.menu-logo-box {
    width: 120px;
    position: fixed;
    top: 5px;
    left: 0;
    z-index: 99;
}

#toggle {
    position: fixed;
    top: 10px;
    right: 10px;
}

#toggle > span {
    color: #FFF;
    font-size: 1.5rem;
}

#toggle-box {
    position: relative;
    width: 32px;
    height: 22px;
    cursor: pointer;
}

#toggle-box > span {
    width: 100%;
    height: 3px;
    left: 0;
    display: block;
    background: #FFF;
    position: absolute;
    transition: transform .3s ease-in-out, top .3s ease, bottom .3s ease;
}

#toggle-box > span:nth-child(1) {
    top: 0;
}

#toggle-box > span:nth-child(2) {
    top: 50%;
    transform: translatey(-50%);
}

#toggle-box > span:nth-child(3) {
    bottom: 0;
}

#toggle {
    z-index: 1000;
}

#main {
    position: relative;
    z-index: 990;
}

#nav-content {
    z-index: 900;
    overflow: auto;
    width: 100%;
    height: 100%;
    background: #22333B;
    color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    text-align: center;
    transform: translateX(100%);
    transition:  transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

#nav-content .nav-content-img-box {
    width: 40%;
    max-width: 200px;
    margin: 32px auto 48px;
}

#nav-content ul {
    list-style: none;
}

#nav-content ul li {
    padding: 0 16px;
    position: relative;
}

@media screen and (min-width: 980px) {
    #nav-content ul li {
        width: 50%;
        margin: 0 auto;
    }
}

#nav-content ul li:after {
    content: '>';
    color: #FFE;
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

#nav-content a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 24px 8px;
    transition: opacity .6s ease;
    text-align: left;
    font-size: 1.5rem;
}

#nav-content ul li:not(:last-of-type) a {
    border-bottom: 1px dashed #fff;
}

#nav-content a:hover {
    transition: .4s;
    background-color: #590004;
}

.is-open {
    overflow: hidden;
}

.is-open #toggle > span {
    color: #F3EFEB;
}

.is-open #toggle-box {
    width: 34px;
    height: 32px;
}

.is-open #toggle-box > span {
    background: #F3EFEB;
    color: #F3EFEB;
}

.is-open #toggle-box > span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg) translatey(-50%);
}

.is-open #toggle-box > span:nth-child(2) {
    width: 0;
}

.is-open #toggle-box > span:nth-child(3) {
    top: 50%;
    transform: rotate(-45deg) translatey(-50%);
}

.is-open #nav-content {
    z-index: 999;
    transform: translateX(0);
}



/* ==================================
    View More - リンク
================================== */

.top-logo-box {
    max-width: 200px;
}

.top-link-area-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 96px 8px 64px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media screen and (min-width: 768px) {
    .top-link-area-box {
        padding: 132px 8px 64px;
    }
}

.top-link-area-box a {
    width: calc((100% - 8px) / 2);
    font-size: 1.2rem;
    padding: 8px 4px;
    margin-bottom: 8px;
    text-align: center;
    background-color: #22333B;
    color: #F3EFEB;
    transition: .4s;
}

@media screen and (min-width: 768px) {
    .top-link-area-box a {
        width: calc((100% - 16px) / 2);
        font-size: 1.5rem;
        padding: 16px 8px;
        margin-bottom: 16px;
    }
}

.top-link-area-box a:hover {
    background-color: #F3EFEB;
    color: #22333B;
    transition: .4s;
}

.link-box {
    text-align: right;
}

.link-center-box {
    text-align: center;
}



/* ==================================
    Footer - フッター
================================== */

.footer-area-bg-box {
    background-color: #192428;
}

.footer-area-inner-box {
    width: calc(100% - 32px);
    max-width: 960px;
    margin: 0 auto;
}
@media screen and (min-width: 768px) {
    .footer-area-inner-box {
        width: calc(100% - 96px);
    }
}

.footer-bg-logo-box {
    width: 40%;
    max-width: 200px;
    margin: 0 auto;
    padding: 8px;
}

.footer-area-box {
    font-size: 1.4rem;
}

ul.footer-link-box li {
    background-color: #22333B;
    margin: 4px auto;
    position: relative;
}

ul.footer-link-box li a {
    color: #FFF;
    display: block;
    padding: 8px 16px;
    width: 100%;
}

@media screen and (min-width: 768px) {
    ul.footer-link-box li a {
        padding: 16px;
    }
}

ul.footer-link-box li a:hover {
    color: #22333B;
    background-color: #FFF;
}

ul.footer-link-box li:after {
    content: '>';
    color: #FFE;
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.footer-flex-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-flex-box .flex-box {
    display: block;
    background-color: #22333B;
    padding: 8px 16px;
    margin: 0 auto 4px auto;
    width: 100%;
    text-align: center;
    color: #FFF;
}

.footer-flex-box .flex-box:last-of-type {
    display: block;
    background-color: #22333B;
    padding: 8px 16px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    color: #FFF;
}

@media screen and (min-width: 768px) {
    .footer-flex-box .flex-box,
    .footer-flex-box .flex-box:last-of-type {
        width: 33%;
        margin: 0;
        padding: 16px;
    }
}

.footer-flex-box .flex-box:hover {
    background-color: #FFF;
    color: #22333B;
}

.footer-flex-box .flex-box img {
    width: 20%;
    margin: 16px auto;
}

.footer-bottom-box {
    background-color: #22333B;
    padding: 8px 16px;
    margin: 0 auto 16px;
}

@media screen and (min-width: 768px) {
    .footer-bottom-box {
        padding: 32px 16px;
        margin-top: 4px;
    }
}

.footer-bottom-box p:nth-of-type(1) {
    font-size: 1.2rem;
}

.footer-bottom-box p:nth-of-type(2) {
    font-size: 2.2rem;
    margin-bottom: 32px;
}

.cr {
    text-align: right;
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 0.08em;
}



/* ==================================
    Breadcrumb Nav - パンくずリスト
================================== */

ul.breadcrumb-nav-box {
    max-width: 980px;
    width: calc(100% - 16px);
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    font-size: 1.2rem;
    padding-left: 2px;
}

@media screen and (min-width: 768px) {
    ul.breadcrumb-nav-box {
        width: calc(100% - 96px);
        font-size: 1.5rem;
    }
}

ul.breadcrumb-nav-box li:not(:last-child) {
    display: block;
    white-space: nowrap;
    padding-right: 8px;
}

ul.breadcrumb-nav-box li:not(:last-child):after {
    content: '>';
    padding-left: 8px;
}

ul.breadcrumb-nav-box li a {
    color: #fff;
}



/* ==================================
    Flex - フレックス
================================== */

.flex-start {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: flex-start;
}

.flex-space-between {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
}

.flex-space-around {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-around;
}

.flex-center {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
}