@charset "UTF-8";

/*開閉用ボタン（ハンバーガーボタン）*/
.menu-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border: 1px #000 solid;
    cursor: pointer;
    z-index: 9999 !important;
    background: #FFF;
    margin: 0 auto;
    display: block;
    transition: all .4s;
    box-sizing: border-box;
    top: 1rem;
    left: 0;
    right: 0;
}


.menu-btn,
.menu-btn span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}

.menu-btn span {
  position: absolute;
  left: 25%;
  width: 50%;
  height: 1px;
  background-color: #000;
}
.menu-btn span:nth-of-type(1) {
  top: 22px;
}

.menu-btn span:nth-of-type(2) {
  top: 32px;
}
.menu-btn::after {
    position: absolute;
    left: -5%;
    bottom: 5px;
    content: '';
    display: block;
    width: 100%;
    color: #000;
    font-size: 0.8rem;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: all .4s;
    letter-spacing: 3px;
}
	
.open .menu-btn::after {
  content: '';
    color: #FFF;
}
.open .menu-btn span:nth-of-type(1) {
  transform: translateY(10px) rotate(-45deg);
    background-color: #000;
}

.open .menu-btn span:nth-of-type(2) {
  transform: translateY(0px) rotate(45deg);
     background-color: #000;
}


/* 開閉用ボタンがクリックされた時のスタイル */
.open .menu {
-webkit-transition: all .5s;
transition: all .5s;
visibility: visible;
opacity: 1;
}
.open .menu-btn {
border-color: #000;
}
.open .menu-btn-line{
background-color: transparent;
}
.open .menu-btn-line::before,
.open .menu-btn-line::after {
top: 0;
background: #fff
}
.open .menu-btn-line::before {
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.open .menu-btn-line::after {
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}


/************************

MENU LAYOUT SETTING

************************/
.menu {
position: fixed;
justify-content: center;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:url("../images/common/bg_body.jpg") no-repeat center center;
background-size: cover;
-webkit-transition: all .5s;
transition: all .5s;
visibility: hidden;
opacity: 0;
z-index: 100;
overflow-y: scroll;
margin: auto;
padding:0;
text-align: left;
}

.menu .ttl_box {
    text-align: center;
    margin: 7.5rem auto 0rem;
}
.menu h1 {
    z-index: 9999;
    margin:  0 auto;
    width: 90%;
}
.menu h1 a:hover {
    color: #FFF;
}
.menu nav {
    width: 80%;
    margin: 3.0rem auto;
    text-align: center;
}

.menu nav h2 {
    font-size: 3.0rem;
    line-height: 1.2;
    
}

.menu nav span {
    position: static; /* absoluteを解除 */
    display: block;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    clear: both;
}

.menu nav li a {
    display: block;
    padding: 10px 0 15px;
    width: 100%;
    
}
.menu nav li a:hover {
    background: #FFF;
}
.menu .container {
    width: 80%;
    margin: 3.0rem auto;
    text-align: center;
}

.menu .sns {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem auto;
    width: 20%;
    max-width: 250px;
}


.menu .sns li {
    width: 30%;
}

.menu .submenu {
    width: 80%;
    margin:auto;
    font-size: 0.8rem;
    text-align: center;
}


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

.menu-btn {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px #000 solid;
    cursor: pointer;
    z-index: 9999 !important;
    background: #FFF;
    margin: 0 auto;
    display: block;
    transition: all .4s;
    box-sizing: border-box;
    top: 0.5rem;
    left: 0;
    right: 0;
}
	
.menu-btn span:nth-of-type(1) {
  top: 15px;
}

.menu-btn span:nth-of-type(2) {
  top: 20px;
}
    
.menu-btn::after {
    position: absolute;
    left: -5%;
    top: 50px;
    content: '';
    display: block;
    width: 100%;
    color: #000;
    font-size: 0.7rem;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: all .4s;
    letter-spacing: 2px;
}
	
.open .menu-btn::after {
  content: '';color: #000;
}
.open .menu-btn span:nth-of-type(1) {
  transform: translateY(5px) rotate(-45deg);
    background-color: #000;
}

.open .menu-btn span:nth-of-type(2) {
  transform: translateY(0px) rotate(45deg);
     background-color: #000;
}

    
/************************

MENU LAYOUT SETTING

************************/
.menu {
position: fixed;
justify-content: center;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:url("../images/common/bg_body.jpg") no-repeat center center;
background-size: cover;
-webkit-transition: all .5s;
transition: all .5s;
visibility: hidden;
opacity: 0;
z-index: 100;
overflow-y: scroll;
margin: auto;
padding:0;
text-align: left;
}

.menu .ttl_box {
    text-align: center;
    margin: 4.5rem auto 1rem;
}
    
.menu h1 {
    z-index: 9999;
    margin:  0 auto;
    width: 90%;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 4rem;
}
    
.menu nav {
    width: 90%;
    margin: auto;
}

.menu nav h2 {
    font-size: 2.3rem;
    padding: 15px 0 7.5px;
}
}    
.menu nav span {
    position: static; /* absoluteを解除 */
    display: block;
    text-align: center;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    clear: both;
}
.menu .container {
    width: 90%;
    margin: auto;
    text-align: center;
}
.menu .sns {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem auto;
    width: 40%;
    max-width: 250px;
}

.menu .sns li {
    width: 30%;
}
    .menu .sns li img {
        width: 70%;
        text-align: center;
    }    
    
 
}