@charset "utf-8";


@media (max-width: 760px) {

/* ハンバーガーアイコン */

#hamburger_box {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    z-index: 1002;
    margin-top: 6px;
    width: 44px;
    height: 40px;
    background: #000;
}

#hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 24px;
    height: 26px;
}

#hamburger span {
    display: block;
    width: 26px;
    height: 1.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}


/* ハンバーガー開閉時のアニメーション */
#hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

#hamburger.active span:nth-child(2) {
    opacity: 0;
}

#hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* SPメニュー全体 */
#sp_menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #efefef;
    z-index: 1000;
    padding-top: 64px;
    padding-bottom: 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 40px;
    padding-right: 40px;
    overflow-y: scroll;  /* 常に縦スクロールバーを表示 */
    background-image: url(../images/logo_mark_wht.svg);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 50% auto;
}

/* メニューが開いた時 */
#sp_menu.active {
  opacity: 1;
  visibility: visible;
}

#sp_navi_contact {
    margin-top: 24px;
}
#sp_navi_contact a {
    background-color: #D5181A;
    color: #FFFFFF;
    font-size: 17px;
    line-height: 1em;
    font-weight: 500;
    padding-top: 22px;
    padding-right: 16px;
    padding-left: 16px;
    padding-bottom: 22px;
    box-sizing: border-box;
    letter-spacing: 0px;
    clip-path: polygon(
        26px 0,
        100% 0,
        100% 100%,
        0 100%,
        0 28px
    );
    width: 100%;
    display: block;
    text-align: center;
    background-image: url(../images/arrow_wht.svg);
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 32px auto;
}
#sp_navi_contact a img {
    width: 28px;
    margin-right: 6px;
    vertical-align: sub;
}



/* メニューリスト */
.sp_menu_list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
}

/* メニューアイテム */
.sp_item {
}
.sp_item.sp_item_child {
    padding-left: 16px;
}

.sp_item.midashi {
    margin-top: 16px;
    font-weight: 600;
    font-size: 16px;
}

/* メニューアイテム */
.sp_item > a {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-right: 30px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 0.04em solid #D5181A;
}

.sp_item > a::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 1px solid #999999;
    border-right: 1px solid #999999;
    transform: translateY(-50%) rotate(45deg);
}

}
