@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

/* 共通のCSS */

/*==============
リセットcss
============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
    font-size: 17px;
    color: #055d8b;
}

/* 全体のliにマーカーをつけない指定 */
li {
    list-style: none;
}

/* 全体のaに下線をつけない指定 */
a {
    text-decoration: none;
}

main {
    margin-top: 93px;
}

/* コンテンツを横並びにする指定 */
.content {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: flex-start;
}

@media (min-width: 768px) {
    .content {
        flex-direction: row;
        justify-content: center;
    }
}

/* スマートフォンは非表示 */
.sp {
    display: none;
}

/* パソコンは表示 */
.pc {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

#next_mainvisual {
    position: relative;
}

.path {
    position: absolute;
    padding: 15px 30px;
    top: 0;
}

.path ol {
    list-style-type: none;
}

.path ol li {
    display: inline;
    position: relative;
    padding: 0 20px 0 0;
    margin: 0 10px 0 0;
    color: #fff;
}

.path ol li a {
    color: #fff;
}

.path li::after {
    content: ">";
    position: absolute;
    right: 0;
}

.path li:last-child::after {
    content: "";
}


.next_title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    color: #fff;
    white-space: nowrap;
}

.next_title p {
    color: #fff;
    font-size: 2rem;
}

/* ==================================
ハンバーガーメニュ 
====================================*/
.site-header-navbtn {
    display: none;
    position: fixed;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    z-index: 1;
}

.site-header-navbtn span,
.site-header-navbtn::before,
.site-header-navbtn::after {
    display: block;
    width: 30px;
    height: 1px;
    background-color: #999;
    position: absolute;
    top: 50%;
    left: 5px;
    transition: transform .4s;
}

.site-header-navbtn::before,
.site-header-navbtn::after {
    content: '';
}

.site-header-navbtn::before {
    transform: translateY(-8px);
}

.site-header-navbtn::after {
    transform: translateY(8px);
}

body.is-nav-open .site-header-navbtn span {
    transform: scaleX(0);
}

body.is-nav-open .site-header-navbtn::before {
    transform: translateY(0) rotate(45deg);
}

body.is-nav-open .site-header-navbtn::after {
    transform: translateY(0) rotate(-45deg);
}

body.is-nav-open .site-header-nav {
    transform: translateX(0);
}

/* スクリーンサイズが767pxまでのスタイルを記述 */
@media screen and (max-width: 767px) {
    .site-header-navbtn {
        display: block;
    }

    .site-header-nav {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background-color: #fff;
        transform: translateX(-100%);
        transition: transform .6s;
    }

    .site-header-nav ul {
        display: flex;
        list-style: none;
        height: 100%;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .site-header-nav ul li:not(:last-child) {
        margin-right: 2em;
    }

    .site-header-nav ul li a {
        text-decoration: none;
        font-size: .9rem;
        position: relative;
    }

    .site-header-nav ul li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 1.5em;
    }

    .site-header-nav ul li a {
        font-size: 1.5rem;
    }
}

/* スクリーンサイズが599pxまでのスタイルを記述 */
@media screen and (max-width: 599px) {
    main {
        margin-top: 80px;
    }

    #mainvisual img {
        height: 500px;
    }

    .nav-inner {
        width: 100%;
        margin: 0 auto;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
        height: auto;
        width: 100%;
        object-fit: cover;
    }
}