@charset "utf-8";

.socialArea {}

.socialArea__list {
  display: flex;
  justify-content: flex-start;
  margin: 3em 0 0 0em;
}

#layout1 .socialArea__list {
  display: flex;
  justify-content: flex-end;
  margin: 0.5em 0 0;
}

.socialArea__list a {
  color: #893cc1;
}

.socialArea__list li {
  margin: 0em 0.5em 0 0em;
}

.sp-only .socialArea {
  
}

#layout1 #g_navi {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}

@media screen and (max-width:767px) {
  #g_navi {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
  }
}

#layout1 #g_navi h1 {
  display: inline-block;
  max-width: initial;
  width: 5em;
  height: 100%;
  margin: 0;
  padding: 0.2em 0.5em 0.1em 0;
  position: relative;
  z-index: 1;
}

#layout1 #g_navi h1 img {
  max-width: initial;
  width: 100%;
  height: 100%;
}

#g_navi h1 {
  width: 10em;
  margin: 1em 0 1em;
  transition: 0.5s ease;
}

#g_navi h1.top-only{
  display:none;
}

#g_navi h1 img {}

#layout1 #g_navi {
  background: #fff;
  display: inline-block;
}


#layout1 #g_navi .inner {
  display: flex;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5%;
  align-items: center;
  position: relative;
  z-index: 1;
}

#g_navi.is-open {}

.menuButton {
  display: none;
}

#g_navi.is-open .menuButton {
  /* display: none; */
}

.menuIcon {}

.menuIcon__line {}

.header {
    height: 200px;
    width: 100%;
    /* max-width: 1400px; */
    /* margin: 0 auto; */
    transition: 0.3s ease;
}
.header__inner {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  display: flex;
  max-width: 1400px;
  margin: 0px auto;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0px 1%;
  align-items: center;
  transition:all 0.3s ease;
}

#layout1 .header {
  height: 4em;
  background: #fff;
  text-align: center;
}

#layout1 .header__inner {
  display: flex;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2em;
}

.header__logo {
  width: calc( 100% - 70px);
  display: flex;
  transition: .3s ease;
  height: 100%;
  padding: 0.5em 2em 0 0;
  flex-shrink: 2;
  width: 50%;
  max-width: 350px;
  margin: 0 30px 0 0;
  padding: 0;
}

#layout1 .header__logo {
  display: block;
}

.header__logo img {
  max-width: initial;
  width: 100%;
  height: auto;
}

.drawerWrap {
  /* width: 100%; */
  display: inline-block;
  transition: 0.3s ease;
}

.drawerWrap .logo24{
  display:none;
}

#g_navi.is-fixed .drawerWrap {
  position: fixed;
  top: 200px;
}
.globalNavi {
  font-family: 'Goblin One', cursive;
  height: 100%;
}

#layout1 .globalNavi ul {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.7rem;
  height: 100%;
  align-items: center;
  /* height: 100%; */
  padding: 0.4em 0;
}

.globalNavi ul li {
  margin: 0 1.3em 0.5em 0;
  font-size: 1.8rem;
  line-height: 1;
  padding: 0.4em 0 0.4em;
}

#layout1 .globalNavi ul li {
  margin: 0 1.3em 0em 0;
  font-size: 1.8rem;
  line-height: 1;
  padding: 0.4em 0 0.4em;
}

.globalNavi ul li a {
  text-decoration: none;
  color: #2d2d2d;
}

.crt {}

.navOverlay {
    display: none;
}

#g_navi.is-open .globalNavi ul {
  display: block;
}

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

  .header {
    position: fixed;
    z-index: 99;
    width:100%;
    -webkit-overflow-scrolling: touch;
    padding: 0px 0;
    transition: .5s;
    height: auto !important;
  }
  .header__inner {
    display: block;
  }
  .header__logo {
    display: block;
    /* transition: .3s; */
    height: auto;
    padding: 0.5em 2em 0 0;
    flex-shrink: 2;
    width: 50%;
    max-width: initial;
    margin: 0 0px 0 0;
    padding: 0;
  }
  #g_navi {
    background: none !important;
    height: 15vw;
    max-height: 5em;
  }
  #g_navi::before {
    /* content:""; */
    display:block;
    background:#fff;
    height: 15vw;
    width: 100%;
  }
  #g_navi h1 {
    width: auto !important;
    height: 100% !important;
    margin: 0em 0 0em !important;
    padding: 0.8vw 0 !important;
    /* background: #fff; */
    position: relative;
    z-index: 1;
    text-align: left;
  }
  #g_navi h1 img{
    width: auto !important;
    height:100% !important;
  }

  #g_navi h1.cont-only{
    display:none;
  }

  #layout1 #g_navi h1.top-only{
    opacity:0;
    pointer-events: none;
  }
  #g_navi.is-open h1.top-only{
    display: none;
  }

  #g_navi .drawerWrap .globalNavi ul {
    display: block !important;
    flex-wrap: wrap;
    height: 100%;
    align-items: center;
    padding: 0em 0;
    margin: 0 0 0 auto;
  }
  #g_navi .drawerWrap .globalNavi ul li{
    font-size: 6vw;
  }
}

@media screen and (max-width:414px) {
  #g_navi .drawerWrap .globalNavi ul li{
    font-size: 7vw;
  }
}

.socialArea {
  margin: 2em 0 0;
}
#layout1 .socialArea {
  margin: 0em 0 0;
}

  #layout1 .socialArea__list,
  .socialArea__list {
  display: flex;
  justify-content: flex-start;
  margin: 0em 0 0;
}



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

    #g_navi:not(.is-open) .header {
    opacity: 0;
    pointer-events: none;
  }

  #g_navi:not(.is-open) .navOverlay {
    opacity: 0;
  }
  /*
     メニューアイコン
  ========================================== */
  .menuButton {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1400;
    background: #fff;
    width: 15vw;
    height: 15vw;
    max-width: 5em;
    max-height: 5em;
    line-height: 1;
    display: block;
  }

  .menuIcon {
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
  }

  .menuIcon__line {
    position: absolute;
    display: inline-block;
    left: 0;
    right: 0;
    margin: auto;
    width: 70%;
    height: 10%;
    background-color: #551290;
    transition: .3s;
  }

    #g_navi.is-open .menuIcon__line {
    width: 75%;
  }

  .menuIcon__line:nth-child(1) {
    top: 30%;
  }

  .menuIcon__line:nth-child(2) {
    top: 60%;
    /* bottom: 0; */
    margin: auto;
  }

  .menuIcon__line:nth-child(3) {
    bottom: 0;
  }

  #g_navi.is-open .menuIcon__line:nth-child(1) {
    transform: rotate(45deg);
    top: 45%;
    transform-origin: center;
  }

  #g_navi.is-open .menuIcon__line:nth-child(2) {
    top: 45%;
    bottom: initial;
    transform: rotate(-45deg);
    transform-origin: center;
  }

  #layout1 #g_navi::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 0vw;
    /* background: rgba(255, 255, 255, .9); */
    z-index: 1;
    pointer-events: none;
  }

  .drawerWrap {
    position: fixed;
    z-index: 1300;
    top: 5vw;
    right: 0;
    bottom: 0px;
    left: 2%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0em 0 0px;
    transition: .3s;
    transition-delay: .1s;
    /* min-width: 16em; */
    /* width: 50%; */
  }

  .drawerWrap .logo24{
    width: 60%;
    margin: 0 0 2em;
    display:block;
   }

  .drawerWrap .globalNavi{
    height :auto;
  }

  .drawerWrap::-webkit-scrollbar {
    width: 4px;
  }

  .navOverlay {
    display: block;
    position: fixed;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(../../images/main/common/bg.jpg) top center/cover no-repeat;
    transition: .3s;
    pointer-events: none;
  }

  .navOverlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background-size: contain;
  }

  #g_navi:not(.is-open) .drawerWrap {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(100vw, 0, 0);
    transition-delay: .0s;
  }

  #g_navi:not(.is-open) .navOverlay {
    opacity: 0;
    transform: translate3d(100vw, 0, 0);
    transition-delay: .1s;
  }
}
