@charset "UTF-8";

/* 要素リセット */
body {
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', 'Osaka', sans-serif;
    color: #000000;
    /* 標準文字色 */
    background-color: #ffffff;
}

/* Safari用ハック 文字サイズ調整 */



a {
    text-decoration: none;
}

/* end */

img {
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    max-width: 100%;
}

/*--------------------------------------------------------
  レイアウト設定
--------------------------------------------------------*/
#hpb-container {
    width: 100%;
    margin-top: -1px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    position: relative;
    padding-bottom: 15px;
    background-color: #FFFFFF;
}




#hpb-inner {
    position: relative;
    margin-top: 0;
    padding-top: 0px;
    padding-bottom: 40px;
    zoom: 1;
}

#hpb-inner::after {
    content: ".";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
}

#hpb-wrapper {
    max-width: 960px;
    /* 20px小さく指定し、両脇にpaddingを加える */

    padding-right: 10px;
    padding-left: 10px;
    margin: 0 auto;
    /* ...  */
}

#hpb-title {
    margin-top: 0;
    margin-bottom: 0;
}

#hpb-main {
    margin-top: 15px;
}


#hpb-footer {
    clear: both;
    position: relative;
    padding-bottom: 30px;
}

#hpb-nav {
    width: 100%;
    height: 30px;
    overflow: visible;


    position: relative;
    top: 0;
    left: 0;

    z-index: 2;
}



/*--------------------------------------------------------
  デザイン設定
--------------------------------------------------------*/
/* コンテンツ配置領域 */


/* ナビゲーション */

/* チェックボックスを非表示 */
#hpb-nav input {
    display: none;
}

#menu-navibtn {
    display: none;
    cursor: pointer;
    cursor: hand;
}

#hpb-nav #navibtn {
    display: none;
}


@media screen and (min-width: 768px) {

    #menu {
        list-style-type: none;
        width: 100%;
        margin: 0px auto 500px;
        padding: 12px 0 0 0;
        display: flex;
        justify-content: space-around;
        background-color: #f5ecc7;


    }



    #menu li {
        display: block;
        position: relative;
        margin: 0;
        padding: 0;
        text-align: left;

        color: #333333;
        font-size: 0.75rem;
        font-weight: bold;
        line-height: 1.2;
    }


    #menu a {
        display: block;
        margin: 0;
        padding: 2px 0 6px;
        background: #f5ecc7;
        color: #333333;
        font-size: 0.75rem;
        font-weight: bold;
        line-height: 1.2;
    }

    #menu li ul {
        list-style: none;
        position: absolute;
        z-index: 100;
        top: 25px;
        left: 0;
        width: max-content;
        margin: 0;
        padding: 0;
    }

    #menu li ul li {
        overflow: hidden;
        width: 100%;
        height: 0;
        color: #fff;
        transition: .2s;
    }

    #menu li ul li a {
        padding: 20px 15px;
        background: #fbf8ea;
        text-align: left;
        font-size: 0.85rem;
        color: #000000;
        font-weight: normal;
        line-height: 1.35;
    }

    #menu>li:hover>a {
        background: #eddd9c
    }

    #menu>li:hover li:hover>a {
        background: #eddd9c
    }

    #menu>li:hover>ul>li {
        overflow: visible;
        height: 50px;
    }

    #menu li:last-child ul li {
        left: -30%;
    }

}

/*--------------------------------------------------------
  共通パーツデザイン設定
--------------------------------------------------------*/


/* =======================================================
  レスポンシブ設定
======================================================= */
@media screen and (max-width: 768px) {

    body {
        background-image: none;
    }

    /*--------------------------------------------------------
	  レイアウト設定
	--------------------------------------------------------*/
    #hpb-container {
        width: 100%;
        padding-bottom: 0;
    }

    #hpb-header {
        height: 60px;
        padding-bottom: 10px;
    }

    #hpb-inner {
        padding-top: 0;
        padding-bottom: 0;
    }

    #hpb-wrapper {
        width: auto;
        float: none;
    }

    #hpb-main {
        margin-top: 0;
        margin-right: auto;
        margin-left: auto;
        width: 96%;
        float: none;
        padding-bottom: 20px;
        padding-left: 0;
    }



    #hpb-footer {
        padding-bottom: 0;
    }

    #hpb-nav {
        position: fixed;
        width: 80%;
        margin-left: 20%;
        height: auto;
        background-image: none;
        background-color: #fbf7e3;

        text-align: left;
    }


    /*--------------------------------------------------------
	  デザイン設定
	--------------------------------------------------------*/
    /* コンテンツ配置領域 */



    /* ナビゲーション */

    /* 基本非表示 */
    #menu {
        display: none;
        list-style: none;
    }

    .menu-parent {
        float: left;
        margin-right: 30px;
        line-height: 60px;
        font-size: 0.9rem;
        font-weight: normal;
        white-space: nowrap;
    }


    /* スマホの際に V を表示 */
    .menu-parent .pd {
        display: inline-block;
        width: 100%;
    }

    .menu-parent {
        height: auto;
        width: 100%;
        padding: 0px 20px;
        border-bottom: 1px solid #DDD;
    }

    .menu-parent:first-child {
        border-top: 1px solid #DDD;
    }

    .menu-parent i {
        padding: 0px 6px;
    }

    /* メニューを移動させないため */
    #menu-navibtn:checked~#hpb-nav {
        position: fixed;
        overflow-y: scroll;
        overflow-x: hidden;
        height: 100%;
        z-index: 100;
    }





    /* ドロップダウンメニュー */
    .menu-parent {
        position: relative;
    }

    .menu-parent .menu-child {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        margin-left: -40px;
        width: auto;
        box-sizing: border-box;
        padding: 0px 20px;
        background-color: #f3e6b4;
        border: 1px solid #000;
    }




    /* ハンバーガーメニューがクリックされた時 */
    #menu-navibtn:checked~* #menu {
        display: block;
        opacity: 1;
    }

    #menu-navibtn:checked~* .menu-parent {
        max-height: inherit;
        overflow-y: visible;
    }

    #menu-navibtn:checked~* .menu-child {
        max-height: 0;
        overflow-y: hidden;
        visibility: hidden;
    }

    /* 子メニュー */
    .menu-parent .menu-child {
        border-top: 1px solid #DDD;
        border-left: 1px solid #FFF;
        border-right: 1px solid #FFF;
        border-bottom: 1px solid #FFF;
        position: relative;
        padding: 0 20px;
        opacity: 1;
        top: 0;
        margin-left: auto;
        left: auto;
        width: auto;
        list-style: none;
    }

    .menu-parent>label:hover {
        cursor: pointer;
        cursor: hand;
    }

    /* 子メニューがクリックされた時 */
    #hpb-nav input[type="checkbox"]:checked~.menu-child {
        max-height: inherit;
        overflow-y: visible;
        visibility: visible;
    }

    .angletoggle:before {
        content: "\f107";
    }

    #hpb-nav input[type="checkbox"]:checked~* .angletoggle:before {
        content: "\f106";
    }

    /* 子メニュー */
    .menu-child li {
        font-size: 0.85rem;
        border-bottom: 1px solid #DDD;
    }

    /* 余分な最後の線を消去 */
    .menu-child li:last-child {
        border: none;
    }

    .menu-child li i {
        margin-right: 3px;
    }

    /*--------------------------------------------------------
	  共通パーツデザイン設定
	--------------------------------------------------------*/



    /* ハンバーガー */

    #hpb-nav #navibtn {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 100;
    }

    #navibtn span {
        display: block;
        width: 40px;
        height: 40px;
        background-color: #333;
    }

    #navibtn span span {
        display: block;
        overflow: hidden;
        width: 1px;
        height: 1px;
    }

    #navibtn span span::before,
    #navibtn span span::after,
    #navibtn span::after {
        position: absolute;
        left: 10px;
        content: "";
        width: 20px;
        height: 3px;
        background-color: #FFF;
    }

    /* 上の棒 */
    #navibtn span span::before {
        top: 10px;
    }

    #menu-navibtn:checked~#hpb-nav label#navibtn span span::before {
        top: 19px;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
    }

    /* 下の棒 */
    #navibtn span::after {
        bottom: 10px;
    }

    #menu-navibtn:checked~#hpb-nav label#navibtn>span::after {
        bottom: 18px;
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
    }

    /* 中の棒 */
    #navibtn span span::after {
        top: 18px;
    }

    #menu-navibtn:checked~#hpb-nav label#navibtn span span::after {
        display: none;
    }
}