/* 
- Name: menu.css
- Latest update: 2022/09/15
*/

/* ---------------- body -------------*/

body {
    min-width: 850px;
}

* {
    box-sizing: border-box;
}

a {
    color: #333;
}

.description {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}



/* ---------------- スクリーン -------------*/

.sub {
    text-align: right;
    height: 24px;
    white-space: nowrap;
    margin-right: auto;
    margin-left: auto;
    display: block;
    /* widthは下方の「メニューwidth 共通調整用」に記載 */
}

.sub-message {
    font-family: "メイリオ", "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
    font-size: 12px;
    font-weight: normal;
    /* color: #999900; */
    /* color: #667700; */
    color:#006d2c;
    float: left;
    height: 20px;
    text-align: left;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 17px;
    margin-top: 2px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
}

.sub-sitemap,
.sub-company,
.sub-shop {
    float: right;
    margin: 0px;
    font-size: 12px;
    padding-top: 2px;
    padding-right: 8px;
    padding-bottom: 0px;
    padding-left: 24px;
    background-image: url(/img/icon-sitemap.png);
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: 6px 4px;
}

.sub-sitemap a,
.sub-company a,
.sub-shop a {
    text-decoration:none;
    border-bottom: #06c 1px dotted;
    padding:3px 6px 0;
}
.sub-shop a {
    color: orangered;
}
.sub-sitemap a:hover,
.sub-company a:hover,
.sub-shop a:hover {
    text-decoration:none;
    border-bottom: #f60 1px dotted;
    color: #f60;
    background-color: #dfdfdf;
    border-radius: 9999px;
}


.sub-company {
    background-image: url(/img/icon-company.png);
}
.sub-shop {
    background-image: url(/img/icon-shop.png);
    font-weight: 700;
    background-size: 20px;
    background-position: 6px 0px;
}

.menu-container {
    width: 100%;
    margin: 0 auto;
    /*    background: #e9e9e9; */
    border-bottom: 10px solid rgb(39, 73, 33);
    /*  display: flex;*/
    justify-content: center;
}

.menu-mobile {
    display: none;
    padding: 0.6em;
    padding-right: 5px;
}

.dropdown-btn {
    display: none;
}

.mobile-only {
    display: none;
}


.menu-global>ul {
    margin: 0 auto;
    list-style: none;
    padding: 0;
    position: relative;
    /* IF .menu position=relative -> ul = container width, ELSE ul = 100% width */
    box-sizing: border-box;
    display: block;
    /*   display:flex;*/
    align-items: center;
    /* widthは下方の「メニューwidth 共通調整用」に記載 */
}

.menu-global>ul:before,
.menu-global>ul:after {
    content: "";
    display: table;
}

.menu-global>ul:after {
    clear: both;
}

.menu-global>ul>li {
    float: left;
    /*    background: #e9e9e9;*/
    height: auto;
}

.menu-global>ul>li a {
    text-decoration: none;
    padding-left: 2.0em;
    padding-right: 2.0em;
    display: block;
    font-size: 15px;
    text-align: center;
    color: #555;
    font-weight: bold;
    line-height: 1.4em;
    height: 70px;
    display: table-cell;
    vertical-align: middle;
}

.menu-global>ul>li.menu-logo-wrap a {
    padding-left: 10px;
    display: flex;
    align-items: center;

}

.menu-global>ul>li a.lineheight {
    padding: 1.8em .9em;
}

.menu-global>ul>li:hover {
    background: #f0f0f0;
}

/* .menu-global>ul>li>ul {
    display: none;
    width: auto;
    background: #ffffff;
    padding: 20px;
    position: absolute;
    z-index: 99;
    left: 0;
    margin: 0 auto;
    list-style: none;
    box-sizing: border-box;
    border-top: 10px solid #f0f0f0;
} */

.menu-global>ul>li>ul:before,
.menu-global>ul>li>ul:after {
    content: "";
    display: table;
}

.menu-global>ul>li>ul:after {
    clear: both;
}

.menu-global>ul>li>ul>li {
    margin: 20px;
    padding-bottom: 0;
    list-style: none;
    width: 280px;
    background: none;
    float: left;
}

.menu-global>ul>li>ul>li span {
    font-size: 15px;
    text-align: center;
    color: #555;
    font-weight: bold;
    line-height: 1.4em;
    padding: .2em 0 15px;
    width: 100%;
    display: block;
    border-bottom: 3px solid #ccc;
    height: auto;
}

.menu-global>ul>li>ul>li>ul {
    display: block;
    padding: 0;
    margin: 10px 0 0;
    list-style: none;
    box-sizing: border-box;
}

.menu-global>ul>li>ul>li>ul:before,
.menu-global>ul>li>ul>li>ul:after {
    content: "";
    display: table;
}

.menu-global>ul>li>ul>li>ul:after {
    clear: both;
}

.menu-global>ul>li>ul>li>ul>li {
    float: left;
    width: 100%;
    padding: 10px 10px 8px;
    margin: 0;
    font-size: .8em;
}

.menu-global>ul>li>ul>li>ul>li a {
    border: 0;
    height: auto;
    text-align: left;
    padding: 0;
    font-weight: normal;
    color:#000;
}
.menu-global>ul>li>ul>li>ul>li:hover {
    background-color: #f0f0f0;
}

.menu-global>ul>li>ul.normal-sub {
    width: 300px;
    left: auto;
    padding: 10px 20px;
}

.menu-global>ul>li>ul.normal-sub>li {
    width: 100%;
}

.menu-global>ul>li>ul.normal-sub>li a {
    border: 0;
    padding: 1em 0;
}


/* モバイルメニューボタン */
/*ボタン外側*/
.mobile-btn {
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    float: right;
}

/*ボタン内側*/
.mobile-btn span {
    display: inline-block;
    transition: all .4s;
    /*アニメーションの設定*/
    position: absolute;
    left: 15px;
    height: 3px;
    border-radius: 2px;
    background: #333;
    width: 45%;
}

.mobile-btn span:nth-of-type(1) {
    top: 13px;
}

.mobile-btn span:nth-of-type(2) {
    top: 21px;
}

.mobile-btn span:nth-of-type(3) {
    top: 29px;
}

/*activeクラスが付与されると線が回転して×に*/

.mobile-btn.active span:nth-of-type(1) {
    top: 16px;
    left: 15px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
}

.mobile-btn.active span:nth-of-type(2) {
    opacity: 0;
}

.mobile-btn.active span:nth-of-type(3) {
    top: 28px;
    left: 15px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
}

/* ---------------- モバイルメニュー内ドロップダウンボタン  -------------*/

/*ボタン外側*/
.dropdown-btn {
    position: relative;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 5px;
    float: right;
}

.dropdown-btn:before,
.dropdown-btn:after {
    display: block;
    content: '';
    background-color: #333;
    border-radius: 2px;
    position: absolute;
    width: 18px;
    height: 3px;
    top: 27px;
    left: 20px;
    transition: 0.5s all;
}

.dropdown-btn:before {
    width: 3px;
    height: 18px;
    top: 20px;
    left: 27px;
}

/*activeクラスが付与されると線が回転して-に*/
.dropdown-btn.active::before {
    transform: translate(-20%, -10%) rotate(90deg);
    opacity: 0;
}

/* ---------------- メニューマウスオーバー時の背景 -------------*/
#fadeLayer {
	position: fixed;
	top: 0;
    left: 0;
	width: 100%;
	height: 100%;
	background-color: #000000;
	opacity: 0.5;
	visibility: hidden;
	z-index: 10;
}


/* ---------------- 既存レイアウト調整用 -------------*/

.mainheadersub {
    display: none;
}

/* ---------------- メニューwidth 共通調整用 -------------*/


.sub {
    max-width: 1300px;
    min-width: 850px;
}

.mainheader {
	padding: 0px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	background-color: #fff;
	z-index: 99;
	display: block;

}

.mainheader {
    width: 100%;
    min-width: 850px;
}
.menu-global>ul {
    max-width: 1300px;

    /* 追加 2022.09.09 メニュー改行対策 */
    /* min-width: 850px; */
    min-width: 1200px;
    white-space:nowrap;
}
.small-logo{
    display: none;
}

/* PC用のメニューで非表示 */
.menu-mobile-only {
    display:none;
}

br.br-add{
    display: none;
}



/* 追加 2022.09.09 メニュー改行対策 */
@media only screen and (max-width: 1180px) {
    .menu-global>ul>li a {
  padding-left: 1.0em;
  padding-right:1.0em;
    }
}
@media only screen and (max-width: 980px) {
    /* .menu-global>ul>li a {
  font-size: 14px;
  padding-left: 1.0em;
  padding-right:1.0em;
    } */
    .large-logo{
        display: none;
    }
    .small-logo{
        display: block;
    }


}


ul.menu-list-dsk,
ul.menu-list-sys {
    /* display: inline; */
}

.menu-list-dsk,.menu-list-sys {
    display: none;
    width: auto;
    background: #ffffff;
    padding: 10px 20px;
    position: absolute;
    z-index: 99;
    left: 0;
    margin: 0 auto;
    list-style: none;
    box-sizing: border-box;
    border-top: 10px solid #f0f0f0;
    /* box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, .2); */
}

.menu-list-dsk {
	left:226px;

}

.menu-list-sys {
	left:376px;
}
@media only screen and (max-width: 1180px) {
    .menu-list-dsk {
        left:210px;

    }
    .menu-list-sys {
        left:330px;
    }
}
@media only screen and (max-width: 980px) {

    .menu-list-dsk {
        left:90px;
    }
    
    .menu-list-sys {
        left:210px;
    }
    br.br-add{
        display: block;
        content: "";
        margin: 5px 0;
    }
}


.menu-list-dsk,.menu-list-sys {
    animation: fadein 0.3s ease-out forwards;
  }
  
  @keyframes fadein {
    0% {
       opacity: 0
    }
    100% {
       opacity: 1
    }
  }




.hover {
	display: inline;

}

/* ---------------- レスポンシブ -------------*/

@media only screen and (max-width: 640px) {

    body {
        min-width: 300px;
    }

    .menu-logo {
        display: none;
    }

    .sub-company,
    .sub-shop {
        display: none;
    }

    .menu-container {
        width: 100%;
        border-bottom: 0;
    }

    .menu-mobile {
        display: block;
        margin: 0;
        margin-left: .3em;
        padding: 0;
    }

    .dropdown-btn {
        display: block;
    }

    .mobile-only {
        display: block;
    }


    .menu-mobile a {
        text-decoration: none;
        font-weight: bold;
    }

    .menu-global>ul {
        display: none;
        width: 100%;
        min-width: 300px;
    }

    .menu-global>ul>li {
        width: 100%;
        float: none;
        display: block;
    }

    .menu-global>ul>li a {
        padding: 1.5em;
        width: 100%;
        display: block;
        text-align: left;

/* 追加 2022.09.09 メニュー改行対策 */
        font-size: 15px;
        padding-left: 2.0em;
        padding-right: 2.0em;
    }

    .menu-global>ul>li a.lineheight {
        padding: 1.5em;
    }

    .menu-global>ul>li>ul {
        position: relative;
    }

    .menu-global>ul>li>ul.normal-sub {
        width: 100%;
    }

    .menu-global>ul>li>ul>li {
        float: none;
        width: 100%;
        margin: 20px 0 0 0;
        
    }

    .menu-global>ul>li>ul>li:first-child {
        margin: 0;
    }

    .menu-global>ul>li>ul>li>ul {
        position: relative;
    }

    .menu-global>ul>li>ul>li>ul>li {
        float: none;
    }

    .menu-global .show-on-mobile {
        display: block;
    }

    .sub {
        width: 100%;
        max-width: none;
        min-width: auto;
    }

    .menu-global br {
        display: none;
    }

    .menu-global>ul>li>ul>li span {
        text-align: left;
    }

    .menu-list-dsk,.menu-list-sys {
        left: 0;
        margin: 0 auto;
        border-top: 0;
        box-shadow:none;
    }
    /* ---------------- 既存レイアウト調整用 -------------*/

    .mainheadersub {
        display: none;
    }

    .sub-message {
        padding-left: 0.5rem;
    }

    /* モバイルサイドメニューボタン */

#mobile-side-btn {
    display: inline-block;
    /* position: absolute; */
    top: 70px;
    right: 0px;
    width: 100%;
    height: 40px;
    margin: 0px 0px;
    /*  border-radius: 50%;*/
    /* background: rgb(39, 73, 33); */
    background-color: #274921;
}

#mobile-side-btn:hover {
    /* background: rgb(39, 73, 33); */
    background-color: #274921;
}

#mobile-side-btn-icon {
    color: #FFF;
    position: absolute;
    margin-left: 230px;
    margin-top: 16px;
    width: 15px;
    height: 3px;
    /* background-color: rgb(39, 73, 33); */
    background-color: #274921;
    transition: 0.3s;
}

#mobile-side-btn-icon:before {
    content: '';
    position: absolute;
    right: 0px;
    top: -6px;
    width: 13px;
    height: 13px;
    border-top: solid 5px currentColor;
    border-right: solid 5px currentColor;
    transform: rotate(45deg);
    transition: 0.2s;
}


#mobile-side-btn .close {
    transform: rotate(180deg);
    margin-top: 19px;
    transition: 0.3s;
}

#mobile-side-btn .close:before {}

#mobile-side-btn .close:before {}


.mainheader {
    min-width: auto;
}


.menu-global .show-on-mobile {
    /* position: initial;   */
    position: fixed;
    top: 68px;
    bottom: 0px;
    overflow-y: auto;
    background-color: #ffffff;
    z-index: 99;
    /* 慣性スクロールを追加 */
    -webkit-overflow-scrolling: touch; 
}

/* PC用のメニューで非表示 */
.menu-mobile-only {
    display:inline;
}

.sub-sitemap {
    float: right;
    margin: 0px;
    font-size: 12px;
    padding-top: 2px;
    padding-right: 8px;
    padding-bottom: 0px;
    padding-left: 24px;
    background-image: url(/img/icon-sitemap.png);
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: 6px 4px;
}
.sub-sitemap a {
    text-decoration:none;
    border-bottom: #06c 1px dotted;
    padding:0;
}



}

