/* Completely reset line-height influence from AEM */
#sec-site-header, #sec-site-header * {
  line-height: normal !important;
}
/* ===========================
   Header (Fixed)
   =========================== */
/* Common (for PC/Desktop) */
.site-header {
  position: fixed;
  top: 130px; /* * Initial position for PC display */
  width: 100%;
  background: #000;
  z-index: 999999;
}
/* ===========================
   2 columns left and right with 100px height
   =========================== */
.header-inner {
  width: 94%;
  height: 100px;
  margin: 0 auto;
  padding: 0;
  display: table;
  table-layout: fixed;
}
/* Logo (left) and nav (right) aligned exactly to vertical center */
.logo, .nav {
  display: table-cell;
  vertical-align: middle;
}
/* ===========================
   Logo Image
   =========================== */
.logo img {
  max-height: 45px;
  width: auto;
  display: block;
}
/* ===========================
   nav is composed only of inline-blocks
   =========================== */
.nav {
  text-align: right;
  white-space: nowrap;
}
.nav-main {
  display: inline-block; /* <- Stopped using table for stability */
  vertical-align: middle;
}
/* ===========================
   Purchase Button
   =========================== */
.buy-btn {
  background: #06D0D3;
  color: #FFF;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 70px; /* Margin between button and menu for PC */
  text-decoration: none !important;
}
/* ===========================
   Hamburger Button
   =========================== */
.nav-toggle {
  width: 44px;
  height: 44px;
  background: #000;
  border: none;
  position: relative;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
}
.nav-toggle span {
  position: absolute;
  height: 4px;
  background: #FFF;
  border-radius: 2px;
  transition: 0.25s ease;
}
/* Top line (15px) */
.nav-toggle span:nth-child(1) {
  width: 15px;
  top: calc(50% - 12px);
  left: calc(50% - 15px);
}
/* Middle line */
.nav-toggle span:nth-child(2) {
  width: 30px;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
}
/* Bottom line */
.nav-toggle span:nth-child(3) {
  width: 15px;
  top: calc(50% + 12px);
  left: 50%;
}
/* When opened (X) */
.nav.open .nav-toggle span:nth-child(1), .nav.open .nav-toggle span:nth-child(3) {
  width: 30px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.nav.open .nav-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav.open .nav-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* ===========================
   Dropdown Menu
   =========================== */
.nav-links {
  font-size: 1.125rem;
  list-style: none;
  position: absolute;
  right: 0;
  top: 100px;
  margin: 0;
  padding: 3rem 8rem 3rem 2.8rem;
  background: #000;
  min-width: 400px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    max-height 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
}
.nav.open .nav-links {
  max-height: 800px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-links a {
  display: block;
  padding: 0.6rem 0.3rem 0.6rem 1em;
  color: #FFF;
  text-decoration: none;
  position: relative;
}
.nav-links span {
  font-size: 75%;
  font-family: DIN-2014, "sans-serif";
}
/* Current indication */
.nav-links .current a::before {
  content: "●";
  color: #06D0D3;
  position: absolute;
  left: -1em;
  top: 50%;
  transform: translateY(-50%);
}
/* Force left alignment for text inside pulldown menu */
#sec-site-header .nav-links, #sec-site-header .nav-links li, #sec-site-header .nav-links a {
  text-align: left !important;
}
/* ===========================
   Anchor position correction (for PC)
   =========================== */
/* Adjust values as necessary */
#sec-features {
  scroll-margin-top: -40px !important; /* Product Features */
}
#sec07 {
  scroll-margin-top: 150px !important; /* Product Specifications */
}
#sec-expression {
  scroll-margin-top: 80px !important; /* with Artists */
}
#sec-store-list {
  scroll-margin-top: 40px !important; /* Trial Locations (Store List) */
}
#sec-movie-column {
  scroll-margin-top: 0 !important; /* Tutorial Videos */
}
#sec-interview-mov {
  scroll-margin-top: 100px !important; /* Developer's Thoughts (Interview) */
}
/* ===========================
   Smartphone (SP)
   =========================== */
@media screen and (max-width: 640px) {
  .site-header {
    top: 80px; /* * Initial position for SP display */
  }
  .logo img {
    max-height: 30px;
  }
  .buy-btn {
    font-size: 12px;
    padding: 10px 16px;
    margin-right: 15px;
  }
  /* Anchor position correction (for SP) */
  #sec07, #sec-expression, #sec-features, #sec-movie-column {
    scroll-margin-top: 120px;
  }
}

/* =========================================
   Page Local Menu Wrapper (EN)
   ========================================= */

.page-local-menu-wrapper {
  position: sticky;
  top: 0;
  z-index: 1;
}
/* =========================================
   Page local menu priority when sticky (EN)
   ========================================= */

body.is-page-menu-sticky .page-local-menu-wrapper {
  z-index: 1000000;
}
