@charset "UTF-8";

/* --------------------
  header
-------------------- */

header {
    width: 100%;
    height: 60px;
    position: fixed;
    z-index: 100;
}

.nav .menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 5px;
}

.nav .menu-first__title a:not(.logo-link) {
    color: #fff;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding-top: 15px;
    line-height: 1.3;
}

.menu-first.logo {
    background-color: rgba(255, 255, 255, 0.8);
}

.menu-first.logo h1 {
    width: 110px;
    margin: 5px auto 0;
}

.menu-first {
    position: relative;
    width: calc( 100% / 4);
    height: 60px;
    background: #202020;
}

.menu-first .menu-first__title a:hover,
.second-list a:hover {
    color: #72D2FF;
}

.menu-first__title {
    text-align: center;
    font-size: 13px;
}

.menu-first__title span {
    font-size: 0.8em;
}

.menu-second {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    position: relative;
    width: 100%;
    background-color: rgba(32, 32, 32, 0.8);
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.menu-first:hover .menu-second {
    top: 50px;
    visibility: visible;
    opacity: 1;
}

.second-list {
    width: 90%;
    font-size: 12px;
    text-align: center;
    margin: 10px auto 0;
    padding-bottom: 5px;
}

.second-list:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 10px;
}

.second-list:last-child {
    padding-bottom: 10px;
}

.second-list a {
    color: #fff;
    letter-spacing: 0.1em;
}


/* --------------------
  button
-------------------- */

.btn-wrap {
    margin: 20px auto;
    text-align: center;
}

.btn-midium {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 2;
    display: inline-block;
    width: 200px;
    font-size: 1.5rem;
    letter-spacing: 2px;
    line-height: 50px;
}

.btn-midium::before,
.btn-midium::after {
    position: absolute;
    z-index: -1;
    display: block;
    content: '';
}

.btn-midium,
.btn-midium::before,
.btn-midium::after {
    -webkit-transition: all .3s;
    transition: all .3s;
}

.btn-midium:hover {
    color: #FFFFFF;
}

.btn-midium::after {
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
}

.btn-midium:hover::after {
    top: 0;
    left: 0;
    background-color: #333;
}


/* --------------------
  visual
-------------------- */

.visual {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    height: 100%;
    min-height: 800px;
    position: relative;
}


/* --------------------
  visual-info
-------------------- */

.visual-info p.sub-title {
    font-size: 20px;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.visual-info p.contents-detail {
    font-size: 18px;
    color: #FFFFFF;
}

p.visual-sub {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .4);
}

section {
    background: url(../images/bg.png) repeat-y;
    background-size: contain;
}


/* --------------------
  contents
-------------------- */

.contents-inner p.sub-title {
    font-size: 17px;
    font-weight: bold;
    color: #22313f;
}

.contents-inner p.contents-detail {
    font-size: 15px;
    color: #22313f;
}


/* --------------------
  modal
-------------------- */

.modal-content {
    display: none;
    max-width: 800px;
    width: 80%;
    height: 80%;
    padding: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 102;
    overflow-y: scroll;
    background: url(../images/bg.png) repeat-y;
    background-size: contain;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    width: 100%;
    height: 100%;
    background-color: rgba( 0, 0, 0, 0.75);
}

.modal-overlay:hover {
    cursor: pointer;
}

.modal-content .button-link {
    text-decoration: underline;
}

.modal-content .button-link:hover {
    cursor: pointer;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 102;
}

.modal-close:hover {
    opacity: 0.7;
    cursor: pointer;
}

body.active .modal-overlay {
    z-index: 101;
}


/* --------------------
  footer
-------------------- */

#footer {
    width: 100%;
    height: 70px;
    background: #202020;
}

#footer .footer__item a {
    color: #fff;
    font-size: 1.2rem;
    text-align: right;
    display: block;
    padding: 10px 10px 0 0 ;
}

#footer small {
    color: #FFFFFF;
    font-size: 14px;
    letter-spacing: 0.1em;
    display: block;
    text-align: center;
}

#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1;
}

#page-top a {
    background-color: #22313f;
    text-decoration: none;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    color: #fff;
    padding: 20px 10px;
    text-align: center;
    display: block;
    transition: .3s;
}

#page-top a:hover {
    text-decoration: none;
    background-color: #fff;
    color: #22313f;
}

@media screen and (max-width:1024px) {
    .visual {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top center;
        display: block;
        min-height: 450px;
    }
    section {
        width: 100%;
        position: relative;
    }
    .visual-info p.sub-title {
        font-size: 18px;
        color: #FFFFFF;
        letter-spacing: 0;
    }
    .contents-inner p.sub-title {
        color: #22313f;
    }
    .contents-inner p.contents-detail {
        color: #22313f;
    }
    section .contents {
        padding-top: 20px;
    }
    #footer small {
        color: #FFFFFF;
        font-size: 12px;
        letter-spacing: 1px;
        display: block;
        text-align: center;
    }
    #page-top {
        bottom: 50px;
        right: 0;
        font-size: 50%;
        z-index: 98;
    }
    #page-top a {
        width: 60px;
        padding: 20px 0;
    }
}

@media screen and (max-width:768px) {
    /*　画面サイズが768px以下の場合、このスタイルを読み込む　*/
    .nav {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100vh;
        position: absolute;
        right: -120%;
        background: #fff;
        transition: all 0.5s;
    }
    .nav.open {
        height: 100vh;
        right: 0;
        overflow: scroll;
    }
    .nav .menu {
        width: 100%;
        background: #fff;
        display: block;
    }
    .menu-first {
        width: auto;
        height: calc( 100% / 4);
        margin-bottom: 20px;
        background: #fff;
    }
    .menu-first:hover .menu-second {
        top: auto;
    }
    .menu-first.logo h1 {
        margin: 0 auto;
    }
    .menu-btn {
        position: fixed;
        top: 5px;
        right: 5px;
        z-index: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        background-color: #223140;
        color: #fff;
        font-size: 1.2rem;
    }
    .menu-btn:after {
        content: "MENU";
        display: block;
    }
    .nav .menu-first__title {
        width: 70%;
        border-bottom: 1px solid #202020;
        margin: 0 auto;
        padding-bottom: 10px;
    }
    .nav .menu-first__title a:not(.logo-link) {
        position: static;
        color: #223140;
    }
    .menu-second {
        margin-top: 15px;
        visibility: visible;
        opacity: 1;
        background: #fff;
    }
    .second-list {
        height: 100%;
        min-height: 28px;
    }
    .second-list:first-child {
        border-top: none;
        padding-top: 0;
    }
    .second-list a {
        color: #202020;
        vertical-align: sub;
    }
    .visual {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top center;
        display: block;
        min-height: 350px;
    }
    .visual-info p.sub-title {
        font-size: 1.5rem;
        color: #FFFFFF;
    }
    .visual-info p.contents-detail {
        font-size: 12px;
        color: #FFFFFF;
    }
    .contents-inner p.sub-title {
        color: #22313f;
    }
    .contents-inner p.contents-detail {
        color: #22313f;
    }
    section div.contents {
        padding-top: 20px;
    }
    .modal-content {
        height: 75%;
    }
    .modal-close {
        top: 10px;
        right: 10px;
    }
    #footer small {
        font-size: 12px;
    }
    #page-top {
        bottom: 50px;
        right: 5px;
    }
    #page-top a {
        font-size: 1rem;
        width: 50px;
        height: 50px;
        padding: 10px;
    }
}

@media screen and (max-width:320px) {
    .menu-first {
        margin-bottom: 10px;
    }
}