/* menu.css */

html{
}

.scroll-prevent { /* メニュー展開時、背景がスクロールしないようにする */
    /* position: fixed; */
    overflow: hidden;
    /* z-index: -1; */
    width: 98%;
    height: 98%;
}

#sidebarMenu {
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    padding-left: 70px;
    transform: translateX(850px);
    transition: transform 300ms ease-in-out;
    background: #eee;
    z-index: 9999;
    overflow: hidden;
}

#sidebarMenu .inner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -17px;
    padding-left: 70px;
    overflow-y: scroll;
    z-index: 9999;
}


/* ロゴ */
.logo_menu_top {
    text-align: left;
    padding: 0 0 55px 0;
    margin:1em 0;
}
.logo_menu_top img  {
    width: 40%;
}

.sidebarMenuInner {
    margin:0;
    padding:0;
}
.sidebarMenuInner li {
    list-style: none;
}
.sidebarMenuInner li a {
    color: #231819;
    text-align: left;
    text-decoration: none;
}
.sidebarMenuInner li a:hover {
    text-decoration: underline;
}

.sidebarMenuInner.list01 a {
    display:block;
    color: #231815;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 14px 14px 1em;
    cursor: pointer;
    border-top: 2px solid #231815;
}
.sidebarMenuInner.list01 a.home { /* homeはボーダー無し */
    border-top: none;
}
.sidebarMenuInner.list01 a.last { /* lastは下ボーダー有り */
    border-bottom: 2px solid #231815;
}


/* list02 インデントありサブメニュー */
.sidebarMenuInner.list02 {
    margin-left:    2em;
    margin-right:  2em;
}
.sidebarMenuInner.list02 a {
    list-style: none;
    display:block;
    color: #231815;
    text-decoration: none;
    text-transform: uppercase;
    padding: 14px 0 14px 1em;
    border-bottom: none;
    border-top: 1px solid #231815!important;
}

.sidebarMenuInner.list04 a {
    display:block;
    color: #231815;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 14px 14px 1em;
    cursor: pointer;
    border-top: 2px solid #231815;
}


input[type="checkbox"]:checked ~ #sidebarMenu {
    transform: translateX(0);
}

input[type=checkbox] {
    transition: all 0.3s;
    box-sizing: border-box;
    display: none;
}

.ToggleMenu {
    background-color: #231819;
    padding: 15px;
    width: 32px;
    height: 40px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10000;
}

.sidebarIconToggle {
    transition: all 0.6s;
    box-sizing: border-box;
    cursor: pointer;
    position: absolute;
    z-index: 99;
    height: 100%;
    width: 100%;
    top: 10px;
    right: 15px;
    height: 42px;
    width: 32px;
}
.sidebarIconToggle span {
    border: none;
    display: block;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.05em;
    padding-bottom: 5px;
}
.sidebarIconToggle span.tit_txt::before { /* 展開前 */
    content: "Menu";
}
input[type=checkbox]:checked ~ .ToggleMenu > .sidebarIconToggle > span::before { /* 展開後 */
    content: "Close";
}


/* メニュー展開の× */
.spinner {
    transition: all 0.3s;
    box-sizing: border-box;
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #fff;
}
.horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 5px;
}
.diagonal.part-1 {
    position: relative;
    transition: all 0.3s;
    box-sizing: border-box;
    float: left;
}
.diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 5px;
}
input[type=checkbox]:checked ~ .ToggleMenu > .sidebarIconToggle > .horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    opacity: 0;
}
input[type=checkbox]:checked ~ .ToggleMenu > .sidebarIconToggle > .diagonal.part-1 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(135deg);
    margin-top: 8px;
}
input[type=checkbox]:checked ~ .ToggleMenu > .sidebarIconToggle > .diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(-135deg);
    margin-top: -9px;
}

/* ×になる場合（クリック時） */
input[type=checkbox]:checked ~ .ToggleMenu {
    background-color: transparent;
}
input[type=checkbox]:checked ~ .ToggleMenu > .sidebarIconToggle > .spinner {
    background-color: #231819;
}
input[type=checkbox]:checked ~ .ToggleMenu > .sidebarIconToggle > span {
    color: #231819;
}


/* お問合せ、電話 */
.imgIcon-left {
    position: relative;
}
.sidebarMenuInner .imgIcon-left a {
    padding-left: 50px;
    text-decoration: none;
}

.sidebarMenuInner a.phone {
    line-height: 1;
    font-size: 2rem;
    border-top: none;
    border-bottom: none;
}
.sidebarMenuInner a.phone02 {
    line-height: 1;
    font-size: 2rem;
    border-top: none;
    border-bottom: none;
    margin-top: 10px;
}
.sidebarMenuInner .imgIcon-left a.phone::before,
.sidebarMenuInner .imgIcon-left a.phone02::before {
    position: absolute;
    top: 18px;
    left: 8px;
    display: block;
    content: "";
    width: 34px;
    height: 34px;
    background: url('/img/menu/icon_phone.png') center/contain no-repeat;
}
.sidebarMenuInner a.phone img,
.sidebarMenuInner a.phone02 img {
    width: 60%;
}

.sidebarMenuInner li a.contact { /* お問い合わせ */
    background-color: #231815;
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}
.sidebarMenuInner .imgIcon-left a.contact::before {
    position: absolute;
    top: 18px;
    left: 10px;
    display: block;
    content: "";
    width: 30px;
    height: 30px;
    background: url('../img/menu/icon_mail.png') center/contain no-repeat;
}

.sidebarMenuInner li a.brochure { /* 資料請求 */
    background-color: #424b55;
    color: #fff;
    border: none;
    padding: 20px 14px 20px 1em;
}
.sidebarMenuInner li a.visit { /* 見学予約 */
    background-color: #4a75aa;
    color: #fff;
    border: none;
    padding: 20px 14px 20px 1em;
}


/* SNS */
.sidebarMenuInner.sns_menu {
    margin: 70px 0 20px;
    display: flex;
    flex-wrap: wrap;
}
.sidebarMenuInner.sns_menu li {
    margin-right: 35px;
}
.sidebarMenuInner.sns_menu li:first-child {
    margin-left: 10px;
}

.sidebarMenuInner.sns_menu img {
    width: 30px;
    height: auto;
}
.sidebarMenuInner.sns_menu .sns_title img {
    height: 24px;
    width: auto;
}


/* 会社住所 */
.sidebarMenuInner.list03 li {
	display:block;
    color: #231815;
    text-transform: uppercase;
	text-decoration: none;
    border-top: 2px solid #231815;
}
.sidebarMenuInner.list03 li:last-child {
    border-top: 2px solid #231815;
    border-bottom: 2px solid #231815;
}

dl.address {
    display:flex;
    flex-wrap: wrap;
    overflow: hidden;
    line-height: 1.8;
    text-align: left;
}

dl.address dt {
    display: block;
    width : 5em;
    color: #403422;
    padding-left: 1em;
}
dl.address dd {
    display: block;
    margin-left: 0;
}


/* 企業ロゴ */
.sidebarMenuInner.company_logo {
    margin: 80px 0 50px;
    width: 370px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}
.sidebarMenuInner.company_logo li {
    width: 48%;
	padding-bottom: 20px;
    text-align: center;
    margin: auto;
}
.sidebarMenuInner.company_logo li:first-child {
	width: 100%;
}

.sidebarMenuInner.company_logo li img {
    width: 60%;
}

.sidebarMenuInner.records_logo li img {
    width: 90%!important;
}


/* SP =================================== */
@media only screen and (max-width: 768px) {

input[type="checkbox"]:checked ~ #sidebarMenu {
    transform: translateX(0);
    opacity: 1;
    width: 100%;
}

#sidebarMenu {
    position: fixed;
    top: 0;
    right: 0;
    /*width: 100%;*/
    padding-left: 40px;
}
#sidebarMenu .inner {
     padding-left: 40px;
}

.sidebarMenuInner {
    margin: 0;
    padding: 0 0 0 30px;
}


.ToggleMenu {
    padding: 16px;
    width: 37px;
    height: 44px;
    position: fixed;
    top: 0;
    right: 0;
    /*z-index: 1000;*/
}

.sidebarIconToggle {
    top: 0;
    right: 0;
    height: auto;
    width: auto;
    padding:20px;
    /*background-color: #231819;*/
}


/* ロゴ */
.logo_menu_top {
  padding: 0 0 20px 20px;
  margin:1em 0;
}
.logo_menu_top img {
    width: 50%;
}

.sidebarMenuInner li a:hover,
.sidebarMenuInner li a:active {
    text-decoration: none;
}

/* list02 インデントありサブメニュー */
.sidebarMenuInner.list02 {
    margin-left:    2em;
    margin-right:  0;
}

.spinner {
    transition: all 0.3s;
    box-sizing: border-box;
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #fff;
}
.horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 5px;
}

.sidebarMenuInner a.phone img {
    width: 60%;

}

/* SNS */
.sidebarMenuInner.sns_menu {
    margin: 50px 0 20px;
}
.sidebarMenuInner.sns_menu li {
    margin-right: 30px;
}
.sidebarMenuInner.sns_menu li:first-child {
    margin-left: 1em;
}
.sidebarMenuInner.sns_menu img {
    width: 30px;
}

/* 企業ロゴ */
.sidebarMenuInner.company_logo {
    margin: 50px auto;
    padding: 0;
	width: 80%;
}

	.sidebarMenuInner.records_logo{
		width: 90%!important;
	}

}


