@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Hind:wght@400;600&family=Montserrat:wght@600&display=swap');

/* ************************* 
 *	Loading Animation
 * *********************** */
#loading {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #292929;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  transition: all 1s;
}
.loader,
.loader:before,
.loader:after {
  background: #FFF;
  animation: load1 1s infinite ease-in-out;
  width: .8em;
  height: 3em;
}
.loader {
  color: #FFF;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  transform: translateZ(0);
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: '';
}
.loader:before {
  left: -1.5em;
  animation-delay: -0.32s;
}
.loader:after {
  left: 1.5em;
}
@keyframes load1 {
  0%,80%,100% {
    box-shadow: 0 0;
    height: 2em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 4em;
  }
}
body.loaded #loading {
  opacity: 0;
  visibility: hidden;
}

/* ************************* 
 *	Base
 * *********************** */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

body {
  font-family: Hind, "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 500;
  font-size: .875rem;
  line-height: 1.5;
  letter-spacing: .06em;
  color: #000;
}

#container {
  overflow: hidden;
}

.full-screen {
  height: 100vh;
}

ul,ol {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

a,a:hover {
  color: inherit;
}


/* ************************* 
 *	siteHeader
 * *********************** */
#siteHeader {
  width: 100%;
  background: #000;
  color: #FFF;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 900;
  transition: .4s;
}
#siteHeader a {
  color: inherit;
  text-decoration: none;
}
#siteHeader #inner-header {
  height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: height .4s;
}
#siteHeader #header-logo .logo { 
  margin: 0 20px;
  width: 132px;
  height: 52px;
  background: url(//frigerio.heteml.net/soulcraftjapan/ec/common/img/logo-w.svg) no-repeat center center / contain;
  transition: width .1s, background .4s ease-in-out;
}
#siteHeader #header-logo .logo a { 
  display: block;
  height: 100%;
}

#siteHeader.fixed {
  position: fixed;
  animation: nyuru .4s; }
@keyframes nyuru {
  0%  { transform: translateY(-100%); }
  100%{ transform: translateY(0); }
}
#siteHeader.fixed #inner-header {
  height: 60px;
}
#siteHeader.fixed #inner-header .logo {
  width: 102px;
}

@media only screen and (max-width: 991px) {
  #siteHeader #header-logo { 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
}
@media only screen and (min-width: 992px) {
  #siteHeader.transparent:not(.fixed) { 
    background-color: transparent;
    color: #000;
  }
  #siteHeader.transparent:not(.fixed) #header-logo .logo { 
    background-image: url(//frigerio.heteml.net/soulcraftjapan/ec/common/img/logo-b.svg);
  }
}

/* ************************* 
 *	navigation
 * *********************** */
.nav {
  -ms-flex-align: center;
  align-items: center;
}
.nav a {
  display: inline-block;
}
.follow-me {
  display: flex;
  align-items: center;
  line-height: 1;
}
.follow-me .ttl {
  display: block;
  margin-right: 15px;
}
.follow-me .icon-link svg {
  transform: translateY(-4%);
}
#gNav {
  font-size: 1.5rem;
  letter-spacing: .1em;
  line-height: 1;
}
#gNav .gNav__main {
  display: flex;
  align-items: center;
}
#gNav .gNav__main a span {
  position: relative;
}
#gNav .gNav__main a span::before {
  content: '';
  width: 0;
  height: 1px;
  display: block;
  background: currentColor;
  position: absolute;
  bottom: -2px;
  left: 0;
  transition: .2s ease-in-out;
}
#gNav .gNav__main a:hover span::before {
  width: 100%;
}
#gNav .menu-ec {
  display: flex !important;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding: 0 14px;
}
#gNav .menu-ec li {
  padding: 0 6px;
}

.nav-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 66px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: .4s;
}
.nav-btn .icon-toggle {
  width: 26px;
  height: 20px;
  position: relative;
}
.nav-btn i {
  display: block;
  background: currentColor;
  height: 1px;
  position: absolute;
  right: 0;
  left: 0;
  transition: transform .3s;
}
.nav-btn i:nth-of-type(1){ top: 50%; }
.nav-btn i:nth-of-type(2){ top: 0; }
.nav-btn i:nth-of-type(3){  bottom: -1px; }
.nav-btn.on i { background: #FFF; }
.nav-btn.on i:nth-of-type(1){ transform:scaleX(0); }
.nav-btn.on i:nth-of-type(2){ top: 50%; transform: rotate(45deg); }
.nav-btn.on i:nth-of-type(3){ top: 50%; transform: rotate(135deg); }
@media only screen and (max-width: 991px) {
  #gNav {
    width: 100%;
  }
  #gNav .nav {
    display: block;
  }
  #gNav .menu-ec {
	position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
  #gNav .gNav__toggle {
    background: #000;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
  }
  #gNav .gNav__main {
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    transition: height .4s;
    overflow-y: auto;
}
  #gNav .gNav__main a {
    display: block;
    padding: 1.8vh 44px;
  }
  #gNav .gNav__main-menu {
    padding: 1.8vh 0;
  }
  #gNav .gNav__sub-menu {
    padding: 3.2vh 0;
    background: #837C7C;
  }
  #gNav .menu-sub .follow-me {
    padding: 3.2vh 44px;
  }
  #gNav .menu-sub .follow-me .icon-link {
    margin: 0 5px;
    padding: 0;
  }
}
@media only screen and (min-width: 992px) {
  #gNav {
    font-size: 1.125rem;
    letter-spacing: .075em;
  }
  #gNav .gNav__inner {
    display: flex;
    align-items: center;
  }
  #gNav .gNav__toggle {
    display: block !important;
  }
  #gNav .gNav__main-menu {
    display: flex;
    align-items: center;
  }
  #gNav .gNav__main-menu .menu-about,
  #gNav .gNav__main-menu .menu-category  {
    padding: 0 12px;
    border-right: 2px solid currentColor;
  }
  #gNav .gNav__main-menu .menu-page  {
    padding: 0 10px;
  }
  #gNav .gNav__main-menu a {
    padding: 0 12px;
  }
  .nav-btn {
    display: none;
  }
}

/*202501サブメニュー追加*/
#gNav .has-children {
  position: relative;
}
#gNav .has-children .submenu {
  white-space: nowrap;
}
@media only screen and (max-width: 991px) {
  #gNav .has-children::before,
  #gNav .has-children::after{
    content: '';
    display: block;
    width: .6em;
    height: 1px;
    background: currentColor;
    position: absolute;
    top: calc(1.8vh + .4em);
    right: 44px;
  }
  #gNav .has-children::after{
    transform: rotate(90deg);
    transition: transform .2s;
  }
  #gNav .has-children.on::after{
    transform: rotate(0);
  }
  #gNav .has-children .submenu {
    padding: .9vh 44px 1.8vh;
    font-size: 75%;
    display: none;
  }
  #gNav .has-children .submenu ul {
    display: flex;
    flex-wrap: wrap;
  }
  #gNav .has-children .submenu ul li {
    flex-basis: 50%;
  }
  #gNav .has-children .submenu a {
    padding: .9vh 0 .9vh .75em;
    position: relative;
  }
  #gNav .has-children .submenu a::before {
	content: '';
    display: inline-block;
    width: .3em;
    height: .3em;
    clip-path: polygon(0 0,100% 50%,0 100%);
    background: currentColor;
    opacity: .5;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-65%);
    transition: opacity .2s;
  }
  #gNav .has-children .submenu a.hover::before {
	opacity: 1;
  }
}
@media only screen and (min-width: 992px) {
  #gNav .has-children .submenu {
    padding: 16px 0 0 0;
    font-size: 80%;
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 10;
    transform: translate(-50%,-10px);
    
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, transform .4s;
  }
  #gNav .has-children:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%,0);
  }
  #gNav .has-children .submenu ul {
    background-color: #000;
    padding: 15px 0;
  }
  #gNav .has-children .submenu ul li a {
    display: block;
    padding: 5px 20px;
    transition: opacity .2s;
  }
  #gNav .has-children .submenu ul li a:hover {
    opacity: .5;
  }
  #siteHeader.transparent:not(.fixed) #gNav .has-children .submenu ul {
    background-color: rgba(255,255,255, .5);
  }
}

/* ************************* 
 *	siteFooter
 * *********************** */
#siteFooter {
  background: #1E1A16;
  color: #FFF;
  padding: 30px 0 15px;
}
#siteFooter a {
  color: inherit;
}
#siteFooter #footer-info {
  font-size: .813rem;
}
#siteFooter #fNav {
  font-size: .813rem;
}
#siteFooter #fNav ul {
  margin: 22px 0;
}
#siteFooter #fNav li {
  flex: 0 0 50%;
  margin: 8px 0;
}
#siteFooter #fNav li a {
  padding: 8px 0;
}
#siteFooter .searchForm {
  margin: 30px 0 60px;
  border-bottom: 1px solid #818181;
}
#siteFooter .searchForm input::placeholder {
  color: #818181;
  font-family: 'Bebas Neue', sans-serif;
}
#siteFooter .searchForm input::-ms-input-placeholder {
  color: #818181;
  font-family: 'Bebas Neue', sans-serif;
}
#siteFooter .searchForm input:-ms-input-placeholder {
  color: #818181;
  font-family: 'Bebas Neue', sans-serif;
}
#siteFooter .searchForm input[type="text"] {
  padding: 0;
}
#siteFooter .searchForm input[type="submit"] {
  width: 40px;
  background: url(//frigerio.heteml.net/soulcraftjapan/ec/common/img/icon-search-w.svg) no-repeat center center / 20px;
}
#siteFooter .follow-me {
  font-size: 1.5rem;
  letter-spacing: .1em;
  margin: 30px 0;
}
#siteFooter .footer-bottom-nav {
  font-size: .75rem;
  margin: 30px -8px;
}
#siteFooter .footer-bottom-nav li:not(:last-of-type):after {
  content: '/';
}
#siteFooter .footer-bottom-nav li a {
  padding: 0 8px;
}
#siteFooter .copyright {
  font-size: .688rem;
  margin: 30px 0;
}
@media only screen and (max-width: 991px) {
  #siteFooter .searchForm input[type="text"] {
    width: calc(100% - 40px);
  }
  #siteFooter .follow-me {
    justify-content: center;
  }
  #siteFooter .footer-bottom-nav {
    justify-content: center;
  }
  #siteFooter .copyright {
    text-align: center;
  }
}
@media only screen and (min-width: 992px) {
  #siteFooter {
    padding: 30px 0 20px;
  }
  #siteFooter .footer-logo {
    display: flex;
    align-items: flex-end;
    font-weight: 600;
    letter-spacing: .2em;
  }
  #siteFooter .footer-logo .logo {
    display: block;
    width: 173px;
    height: 68px;
    margin-right: 15px;
  }
  #siteFooter #fNav .fNav__inner {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
  }
  #siteFooter #fNav ul {
    margin: 15px -12px;
  }
  #siteFooter #fNav li {
    flex: 0 0 auto;
    margin: 0 12px;
  }
  #siteFooter .searchForm {
    margin: 40px 0 0;
  }
  #siteFooter .follow-me{
    font-size: 1.125rem;
    letter-spacing: .05em;
    margin: 15px 0;
  }
  #siteFooter .footer-bottom-nav {
    margin: 15px -8px;
  }
  #siteFooter .copyright {
    margin: 15px 0;
  }
}
