#sp_nav {
    display: none;
}

#footer {
    margin-top: 40px;
    width: 100%;
    color: #fff;
    position: absolute;
    /* ←絶対位置 */
    bottom: 0;
}

#footer a {
    text-decoration: none;
    color: #fff;
}

#footer a:hover {
    text-decoration: underline;
}

#footer .primary {
    padding: 40px 20px;
    background: #333;
}

#footer .primary .flex {
    display: flex;
}

#footer .primary .flex .left {
    width: 40%;
}

#footer .primary .flex .right {
    display: flex;
    width: 60%;
    justify-content: flex-end;
}

@media screen and (max-width: 767px) {
    #footer {
        height: 500px;
    }
    #footer .primary {
        padding: 20px 20px;
        background: #333;
    }
    #footer .primary .flex {
        display: block;
    }
    #footer .primary .flex .left {
        width: 100%;
    }
    #footer .primary .flex .right {
        width: 100%;
        display: block;
    }
    #footer .secondary {
        display: block;
        padding: 20px 20px;
    }
}


/* logo */

#footer .logo {
    position: relative;
    padding: 0;
    margin: 0;
    width: 100%;
    font-size: 26px;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
    #footer .logo {
        font-size: 16px;
    }
}


/* address */

.address {
    margin: 10px 0 0;
    padding: 0;
}

@media screen and (max-width: 767px) {
    .address {
        font-size: 12px;
    }
}


/* navi */

.navi-section {
    display: flex;
    flex-direction: column;
    width: 25%;
    margin-left: 20px;
}

#footer .parent {
    margin: 0 0 16px 0;
    padding: 0;
    font-weight: bold;
}

#footer .navi {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .navi li {
    margin: 8px 0 0 0;
    padding: 0;
}

#footer .navi li:first-child {
    margin: 0;
}

@media screen and (max-width: 767px) {
    .navi-section {
        display: block;
        width: 100%;
        margin: 40px 0 0;
    }
    #footer .parent {
        font-size: 12px;
        margin: 0 0 10px;
    }
    #footer .navi {
        font-size: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid #444;
    }
    #footer .navi li {
        border-top: 1px solid #444;
        padding-top: 10px;
        margin-top: 10px;
        font-size: 12px;
    }
}


/* sns-navi */

#footer .sns-navi {
    margin: 20px 0 0;
    padding: 0;
}

#footer .sns-navi li {
    display: inline-block;
    margin: 0 20px 0 0;
    padding: 0;
    font-size: 20px;
}

#footer .sns-navi li:last-child {
    margin-right: 0;
}

@media screen and (max-width: 767px) {
    #footer .sns-navi {
        margin: 20px 0 0;
        padding: 0;
    }
    #footer .sns-navi li {
        margin: 0 20px 0 0;
        padding: 0;
        font-size: 18px;
    }
}


/* sitenavi */

#footer .sitenavi {
    width: 50%;
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .sitenavi li {
    display: inline-block;
    margin: 0 0 0 20px;
    padding: 0;
}

#footer .sitenavi li:first-child {
    margin-left: 0;
}

@media screen and (max-width: 767px) {
    #footer .sitenavi {
        width: 100%;
        text-align: center;
        font-size: 12px;
    }
}


/* copyright */

#footer .copyright {
    width: 50%;
    margin: 0;
    padding: 0;
    text-align: right;
}


/* ヘッダの分だけ余白を付ける */

body {
    padding-top: 5rem;
}

.sp-nav {
    display: none;
}

.video {
    max-width: 50%;
    height: auto;
    aspect-ratio: 16/9;
    margin: 0 auto;
}

.video iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .header_nav {
        display: none;
    }
    .footer_nav_container {
        display: block;
    }
    #sp_nav {
        display: block;
    }
    #sp_nav i {
        font-size: 1rem;
    }
    .logo {
        max-width: 95%;
        height: auto;
    }
    .video {
        max-width: 95%;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    background-color: white;
    min-height: 100vh;
    /* ←コンテンツの高さの最小値＝ブラウザの高さに指定 */
    position: relative;
    /* ←相対位置 */
    padding-bottom: 280px;
    /* ←フッターの高さを指定 */
    box-sizing: border-box;
    /* ↑ヘッダーやフッターを含むすべての要素の高さ＝min-height:100vhになるように指定 */
}

header {
    height: 90px;
    /*今回は高さを60px*/
    width: 100%;
    /*幅を画面いっぱい100%*/
    padding: 0px 15px;
    /*上下0px, 左右15pxの余白*/
    background-color: white;
    /*灰色背景*/
    position: fixed;
    /*常に画面上に要素を固定*/
    top: 0;
    /*画面の一番上(topから0pxの位置)に固定*/
    z-index: 10;
    /*z軸方向の一番上に配置*/
    display: flex;
    border-bottom: 2px solid black;
}

header nav {
    margin: 0 0 0 auto;
    /*nav要素の左側に余白*/
}

header ul {
    display: flex;
    /*リストを横並びにする*/
    list-style: none;
    /*unorder listの 中点を消す*/
    padding: 0;
    /*中点が位置する左余白を消す*/
    margin: 0;
    /*上下にある余白を消す*/
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

header a {
    color: #000000;
    /*黒文字*/
    text-decoration: none;
    /* リンクの下線を削除 */
    display: block;
    line-height: 60px;
    padding: 10px;
    font-family: 'Mochiy Pop One', sans-serif;
}

.logo a {
    padding: 0;
}

.logo img {
    display: block;
    padding: 25px 0;
    box-sizing: content-box;
    height: 40px;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 500px;
        /* ←フッターの高さを指定 */
    }
    header {
        height: auto;
    }
    .logo {
        max-width: 100%;
        height: auto;
    }
    .logo img {
        display: block;
        width: 100%;
        height: auto;
        padding: 20px 0;
    }
    .pc-nav {
        display: none;
    }
    #hamburger {
        position: relative;
        display: block;
        width: 30px;
        height: 20px;
        margin: 20px 0 20px 20px;
    }
    #hamburger span {
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 100%;
        height: 2px;
        background-color: black;
        transform: translateY(-50%);
    }
    #hamburger::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: black;
    }
    #hamburger::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 70%;
        height: 2px;
        background-color: black;
    }
    .sp-nav {
        z-index: 1;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: block;
        width: 100%;
        background: rgba(0, 0, 0, .8);
        transition: all .2s ease-in-out;
    }
    .sp-nav ul {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .sp-nav li {
        margin: 0;
        padding: 0;
    }
    .sp-nav li span {
        font-size: 15px;
        color: #fff;
    }
    .sp-nav li a,
    .sp-nav li span {
        display: block;
        padding: 20px 0;
        color: white;
    }
    .sp-nav .close {
        position: relative;
        padding-left: 20px;
    }
    /*バツ印線1*/
    .sp-nav .close::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 16px;
        height: 1px;
        background: #fff;
        transform: rotate( 45deg);
    }
    /*バツ印線2*/
    .sp-nav .close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 16px;
        height: 1px;
        background: #fff;
        transform: rotate( -45deg);
    }
    .sp-nav {
        z-index: 1;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: block;
        width: 100%;
        background: rgba(0, 0, 0, .8);
        transition: all .2s ease-in-out;
        opacity: 0;
        transform: translateY(-100%);
    }
    .toggle {
        transform: translateY( 0);
        opacity: 1;
    }
    h2.ope_title {
        text-align: left;
        margin-left: 10px;
        font-size: 20px
    }
    #introduce {
        display: flex;
        flex-direction: column;
    }
    h3 {
        padding: 0 0 0 0;
    }
    div#main_title {
        padding: 0 0 0 0;
    }
    img {
        max-width: 100%;
        margin: 0 0 0 0;
    }
    #main_about h1 {
        max-width: 100%;
        font-size: 18px;
        padding: 0 0 0 0;
        margin-bottom: 0;
        margin-right: 20px;
    }
    div#introduce img {
        max-width: 100%;
        margin: 20px 0 0 30px;
        width: 200px;
        display: block;
        box-shadow: 10px 10px #053e62;
    }
    .main #introduce h3 {
        padding: 0 0 0 0;
        line-height: 25px;
        font-size: 13px;
        padding: 0 10px 0 10px;
        margin-top: 30px;
    }
}