/* Common settings */

.icm-webform {background-image: url(../img/header/ic_m-form.png);}
.icm-line {background-image: url(../img/header/ic_m-line.png);}
.icm-result {background-image: url(../img/header/ic_m-result.png);}
.icm-document {background-image: url(../img/header/ic_m-document.png);}
.icm-shopinfo {background-image: url(../img/header/ic_m-shop.png);}



/* Style for iPad Pro */
@media screen and (min-width: 769px) and (max-width: 1024px) {

/* Mobilemenu */
ul.mobilemenu {
  width:100%;
  height: 70px;
  display: flex;
  position: fixed;
  bottom: 0;
  left:0;
  z-index: 19999;
  border-top:1px solid var(--color-1st);
background: #F8F8F8;
background: linear-gradient(180deg, rgba(248, 248, 248, 1) 0%, rgba(229, 229, 229, 1) 100%);
  box-shadow:0px 0px 6px rgba(0,0,0,0.3);
}
ul.mobilemenu li {
  flex:1;
  height: 70px;
  font-size:10px;
  font-weight: 400;
  text-align: center;
  border-right: 1px solid var(--color-ccc);
}
ul.mobilemenu li:last-child {
  border-right: none;
}
ul.mobilemenu li a {
  width:100%;
  height: 70px;
  display: block;
  text-decoration: none;
  line-height: 15px;
  color: var(--color-1st);
  padding:45px 0 10px 0;
  background-repeat: no-repeat;
  background-position: center 5px;
  background-size: auto 35px;
transition: .4s all;
}
ul.mobilemenu li a:hover {
  background-color: rgba(255,255,255,0.8);
}

/* Menu botton*/
.menubn {
display: block;
position: fixed;
z-index: 21500;
right: 1%;
top: 23px;
width: 50px;
height: 50px;
cursor: pointer;
text-align: center;
background-image: url(../img/header/ic-menu_op.png);
background-repeat: no-repeat;
background-position: center 90%;
background-size: auto 9px;
}

.menubn.ausp_active {
display: block;
position: fixed;
z-index: 21500;
right: 1%;
top: 8px;
width: 50px;
height: 50px;
cursor: pointer;
text-align: center;
}

.menubn span {
display: block;
position: absolute;
width: 40px;
height: 2px;
left: 6px;
background: var(--color-black);
-webkit-transition: 0.3s ease-in-out;
-moz-transition: 0.3s ease-in-out;
transition: 0.3s ease-in-out;
}

.menubn span:nth-child(1) {
top: 10px;
}

.menubn span:nth-child(2) {
top: 20px;
}

.menubn span:nth-child(3) {
top: 30px;
}

/* ナビ開いてる時のボタン */
.menubn.active {
  background-image: url(../img/header/ic-menu_cl.png);
}
.menubn.active span:nth-child(1) {
top: 16px;
left: 6px;
background: var(--color-black);
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
transform: rotate(-45deg);
}

.menubn.active span:nth-child(2),
.menubn.active span:nth-child(3) {
top: 16px;
background: var(--color-black);
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
transform: rotate(45deg);
}

nav.globalmenu {
position: fixed;
z-index: 20000;
top:  -100%;
left:0;
color: var(--color-black);
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
width: 100%;
height: 100%;
min-height: 100%;
opacity: 0;
transition: .4s all;
}

nav.globalmenu ul {
width: 100%;
height: 100%;
min-height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0 10%;
}

nav.globalmenu ul li {
list-style-type: none;
padding: 0;
width: 100%;
font-size: 18px;
transition: .4s all;
border-bottom: 1px dotted rgba(0, 0, 0, 0.5);
}

nav.globalmenu ul li:last-child {
border-bottom: none;
}

nav.globalmenu ul li a {
display: block;
color: var(--color-black);
padding: 2em 1em;
text-decoration: none;
background-image: url(../img/header/ic-ar_b.png);
background-position: 96% center;
background-repeat: no-repeat;
background-size: auto 20px;
transition: .4s all;
}

nav.globalmenu ul li a:hover {
  color: var(--color-3rd);
  background-position: 98% center;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalmenu.active {
opacity: 100;
top:0;
}


}

/* Style for Smartphone */
@media screen and (max-width: 768px) {

/* Mobilemenu */
ul.mobilemenu {
  width:100%;
  height: 80px;
  display: flex;
  position: fixed;
  bottom: 0;
  left:0;
  z-index: 19999;
  border-top:1px solid var(--color-1st);
background: #F8F8F8;
background: linear-gradient(180deg, rgba(248, 248, 248, 1) 0%, rgba(229, 229, 229, 1) 100%);
  box-shadow:0px 0px 6px rgba(0,0,0,0.3);
}
ul.mobilemenu li {
  flex:1;
  height: 80px;
  font-size:10px;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-align: center;
  border-right: 1px solid var(--color-ccc);
}
@media screen and (max-width: 480px) {
  ul.mobilemenu li {
    font-size:9px;
  }
}
ul.mobilemenu li:last-child {
  border-right: none;
}
ul.mobilemenu li a {
  width:100%;
  height: 80px;
  display: block;
  text-decoration: none;
  line-height: 15px;
  color: var(--color-1st);
  padding:45px 0 10px 0;
  background-repeat: no-repeat;
  background-position: center 5px;
  background-size: auto 35px;
transition: .4s all;
}
ul.mobilemenu li a:hover {
  background-color: rgba(255,255,255,0.6);
}

/* Menu botton*/
.menubn {
display: block;
position: fixed;
z-index: 21500;
right: 2%;
top: 10px;
width: 50px;
height: 50px;
cursor: pointer;
text-align: center;
background-image: url(../img/header/ic-menu_op.png);
background-repeat: no-repeat;
background-position: center 90%;
background-size: auto 9px;
}

.menubn.ausp_active {
display: block;
position: fixed;
z-index: 21500;
right: 1%;
top: 8px;
width: 50px;
height: 50px;
cursor: pointer;
text-align: center;
}

.menubn span {
display: block;
position: absolute;
width: 40px;
height: 2px;
left: 6px;
background: var(--color-black);
-webkit-transition: 0.3s ease-in-out;
-moz-transition: 0.3s ease-in-out;
transition: 0.3s ease-in-out;
}

.menubn span:nth-child(1) {
top: 10px;
}

.menubn span:nth-child(2) {
top: 20px;
}

.menubn span:nth-child(3) {
top: 30px;
}

/* ナビ開いてる時のボタン */
.menubn.active {
  background-image: url(../img/header/ic-menu_cl.png);
}
.menubn.active span:nth-child(1) {
top: 16px;
left: 6px;
background: var(--color-black);
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
transform: rotate(-45deg);
}

.menubn.active span:nth-child(2),
.menubn.active span:nth-child(3) {
top: 16px;
background: var(--color-black);
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
transform: rotate(45deg);
}

nav.globalmenu {
position: fixed;
z-index: 20000;
top:  0;
left:-100%;
color: var(--color-black);
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
width: 100%;
height: 100%;
min-height: 100%;
opacity: 0;
transition: .4s all;
}

nav.globalmenu ul {
width: 100%;
height: 100%;
min-height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0 10%;
}

nav.globalmenu ul li {
list-style-type: none;
padding: 0;
width: 100%;
font-size: 14px;
transition: .4s all;
border-bottom: 1px dotted rgba(0, 0, 0, 0.5);
}

nav.globalmenu ul li:last-child {
border-bottom: none;
}

nav.globalmenu ul li a {
display: block;
color: var(--color-black);
padding: 1em 0.5em;
text-decoration: none;
background-image: url(../img/header/ic-ar_b.png);
background-position: 96% center;
background-repeat: no-repeat;
background-size: auto 20px;
transition: .4s all;
}

nav.globalmenu ul li a:hover {
  color: var(--color-3rd);
  background-position: 98% center;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalmenu.active {
opacity: 100;
left:0;
}

}


/* Mobilemenu animation setting */
ul.mobilemenu {
  bottom:-100px;
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: mobilemenu;
  animation-name: mobilemenu;
  -webkit-animation-iteration-count:1;
  animation-iteration-count:1;
  -webkit-animation-fill-mode:forwards;
  animation-fill-mode:forwards;
}
@-webkit-keyframes mobilemenu {
  0% {
    bottom:-100px;
  }
  100% {
    bottom:0px;
  }
}
@keyframes mobilemenu {
  0% {
    bottom:-100px;
  }
  100% {
    bottom:0px;
  }
}
