@charset "utf-8";

/* ====================================================
   FONT IMPORTS
   ==================================================== */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

/* ====================================================
   BASE RESET & GLOBAL STYLES
   ==================================================== */
* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
}

body {
  font-family: helvetica-lt-pro, heisei-kaku-gothic-std, sans-serif;
  font-weight: 700;
  font-style: normal;
  background: white;
  max-width: 1900px;
  margin: 0 auto;
  height: 100vh;
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* ====================================================
   Z-INDEX HIERARCHY
   ==================================================== */
/* 
Level 10: Maximum priority (10000+)
Level 9: Site logo (9999)
Level 8: Menu overlay and controls (1000-1100)
Level 7: Site header navigation (100-110)
Level 6: Footer address (100)
Level 5: Page loader (1000)
Level 4: General fixed elements (10-50)
Level 3: Content elements (2-9)
Level 2: Background elements (1)
Level 1: Default (0 or auto)
*/

/* ====================================================
   LAYOUT CONTAINERS
   ==================================================== */
.page-container {
  max-width: 1900px;
  max-height: 1080px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  height: 100vh;
  position: relative;
}

/* ====================================================
   ACCESSIBILITY
   ==================================================== */
.sr-only {
  display: none;
}

/* ====================================================
   INTERACTIVE ELEMENTS
   ==================================================== */
.footer-address:hover,
.nav-item a:hover,
.nav-link:hover,
.footer-address a:hover {
  text-decoration: underline;
}

.footer-address a,
.nav-item a,
.nav-link a {
  font-family: neue-frutiger-world, sans-serif;
  font-weight: 750;
  font-style: normal;
}

/* ====================================================
   SITE LOGO - DESKTOP
   ==================================================== */
.site-logo {
  height: 100%;
}

.site-logo img {
  position: fixed;
  bottom: 50px;
  width: 1150px;
  z-index: 9999;
  margin-left: 35px;
}

/* ====================================================
   HEADER & NAVIGATION - DESKTOP
   ==================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 37%;
  height: 100vh;
  z-index: 100;
  overflow: hidden;
}

.nav-container {
  top: 2%;
  display: flex;
  flex-direction: column;
  width: 200px;
  color: black;
  position: fixed;
  padding: 6px;
  padding-left: 18px;
  height: 100%;
  max-height: 1000px;
  z-index: 100;
}

.site-nav ul,
.submenu-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  padding: 5%;
}

.site-nav {
  padding-left: 10px;
}

.nav-item {
  padding-bottom: 7px;
  cursor: pointer;
  position: relative;
  color: black;
  font-weight: bold;
  font-size: 4rem;
}

.nav-item a {
  color: black;
  text-decoration: none;
  font-size: 4rem;
  font-weight: bold;
}

.nav-item a:visited {
  color: black;
}

.nav-item a:hover {
  font-weight: bold;
  font-size: 4rem;
}

.nav-link {
  display: block;
  padding: 10px 10px 0px 0px;
  color: black;
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: bold;
}

hr.section-divider {
  margin-top: 10px;
  margin-bottom: 10px;
  height: 1px;
  border: none;
  background-color: black;
}

.online-shop-nav {
  line-height: 60px;
}

.head-sub p {
  display: inline-block;
  text-decoration: underline;
}
.head-sub {
  font-size: 2rem;
}
.back-btn a {
  color: black;
  text-decoration: none;
}

/* ====================================================
   MAIN CONTENT - DESKTOP
   ==================================================== */
.content-main {
  position: absolute;
  left: 27%;
  right: 7%;
  top: 50px;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  padding-left: 10%;
}

.content-main::-webkit-scrollbar {
  display: none;
}

.content-main.hidden {
  display: none;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
}

.contents_box::-webkit-scrollbar {
  display: none;
}

.page-contents {
  width: 100%;
}

/* ====================================================
   FOOTER/ADDRESS - DESKTOP
   ==================================================== */
.footer-address {
  position: absolute;
  right: 0;
  top: 50px;
  width: 7.5%;
  height: 100vh;
  z-index: 100;
  line-height: 45px;
  text-underline-offset: 0.5em;
}

.footer-address a {
  text-decoration: none;
  color: black;
  font-size: 2.3rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  position: fixed;
  padding-right: 30px;
  text-align: right;
}

/* ====================================================
   LOADING SCREEN
   ==================================================== */
.page-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s ease,
    transform 1s ease;
  font-size: 24px;
  padding: 20px 40px;
  background-color: white;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  display: flex;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.page-loader img {
  width: 10%;
}

.page-loader.show {
  opacity: 1;
  transform: translateY(0);
}

.page-loader.hide {
  opacity: 0;
  transform: translateY(-40px);
  pointer-events: none;
}

/* ====================================================
   NAVIGATION ANIMATIONS
   ==================================================== */
@keyframes slideInRightToLeft {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutLeftToRight {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Animation Delays */
.nav-container.active .nav-item.delay-0,
.nav-container.active .nav-link.delay-0 {
  animation: slideInRightToLeft 0.5s ease-out forwards;
  animation-delay: 0.05s;
}

.nav-container.active .nav-item.delay-1,
.nav-container.active .nav-link.delay-1 {
  animation: slideInRightToLeft 0.5s ease-out forwards;
  animation-delay: 0.1s;
}

.nav-container.active .nav-item.delay-2,
.nav-container.active .nav-link.delay-2 {
  animation: slideInRightToLeft 0.5s ease-out forwards;
  animation-delay: 0.15s;
}

.nav-container.active .nav-item.delay-3,
.nav-container.active .nav-link.delay-3 {
  animation: slideInRightToLeft 0.5s ease-out forwards;
  animation-delay: 0.2s;
}

.nav-container.active .nav-item.delay-4,
.nav-container.active .nav-link.delay-4 {
  animation: slideInRightToLeft 0.5s ease-out forwards;
  animation-delay: 0.25s;
}

.nav-container.active .nav-item.delay-5,
.nav-container.active .nav-link.delay-5 {
  animation: slideInRightToLeft 0.5s ease-out forwards;
  animation-delay: 0.3s;
}

.nav-container.active .nav-item.delay-6,
.nav-container.active .nav-link.delay-6 {
  animation: slideInRightToLeft 0.6s ease-out forwards;
  animation-delay: 0.35s;
}

/* Menu Closing Animation */
.nav-container.closing .nav-item {
  animation: slideOutLeftToRight 0.05s ease-in forwards;
}

/* ====================================================
   MOBILE MENU SYSTEM
   ==================================================== */
.menu-btn {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 110;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 15px;
  border-radius: 5px;
}

.header-nav {
  display: none;
  align-items: center;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: neue-frutiger-world, sans-serif;
  font-weight: 750;
  font-style: normal;
  font-size: 1.2rem;
  color: black;
  z-index: 9999;
  position: relative;
}

.menu-text {
  font-size: 2.8rem;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.hamburger {
  display: none !important;
}

.menu-toggle.active .menu-text {
  opacity: 0;
}

.menu-toggle::after {
  content: "Close";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
  font-size: 2.8rem;
  font-family: neue-frutiger-world, sans-serif;
  font-weight: 750;
  font-style: normal;
  color: black;
}

.menu-toggle.active::after {
  opacity: 1;
}

.nav-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-menu-container {
  display: flex;
  flex-direction: column;
  width: 250px;
  padding: 30px;
  height: 100%;
  position: relative;
}

.menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  color: black;
}

.menu-close:hover {
  color: #000000;
}

.nav-menu {
  list-style: none;
  padding: 60px 0 0 15px;
  margin: 0;
}

.nav-menu .nav-item {
  margin-bottom: 20px;
  position: relative;
}

.nav-menu .nav-link {
  display: block;
  color: black;
  text-decoration: none;
  font-size: 2.2rem;
  font-family: neue-frutiger-world, sans-serif;
  font-weight: 750;
  font-style: normal;
  transition: all 0.3s ease;
}

.nav-menu .nav-link:hover {
  text-decoration: underline;
  color: #666;
}

.nav-menu .nav-divider {
  width: 15px;
  height: 5px;
  background: black;
  margin: 20px 0 20px 15px;
  border: none;
}

/* ====================================================
   PAGE CONTENT STYLES
   ==================================================== */

/* About Page Styles */
.head {
  font-family: neue-frutiger-world, sans-serif;
  font-weight: 750;
  font-style: normal;
  padding-left: 35px;
  margin-top: 60px;
  font-size: 4.5rem;
  text-decoration: underline;
}

.head a {
  color: black;
}

.text-box {
  height: 100%;
  font-size: 1.2rem;
}

.jp {
  line-height: 30px;
  font-family: heisei-kaku-gothic-std, sans-serif;
  font-weight: 700;
  font-style: normal;
}

.en {
  line-height: 31px;
  font-family: helvetica-lt-pro, sans-serif;
  font-weight: 700;
  font-style: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  padding-top: 4px;
}

.jp p {
  line-height: 30px;
}

.en p {
  line-height: 31px;
}

.en a,
.text-box.visible a {
  color: black;
  text-decoration: none;
}

/* Page 2 Styles */
.text-box.visible {
  font-family: helvetica-lt-pro, heisei-kaku-gothic-std, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.1rem;
  line-height: 27px;
  width: 82%;
}
.text-box {
  margin-left: 60px;
  margin-top: 15px;
}

.text-box li {
  list-style: none;
  padding-top: 0.3%;
  padding-bottom: 0.6%;
  width: fit-content;
}

.text-box li::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -8px; /* 左の余白 */
  right: -8px; /* 右の余白 */
  background-color: transparent;
  z-index: -1; /* 文字の後ろに表示 */
  transition: background-color 0.2s;
}

.text-box li:hover {
  background-color: black;
}

.text-box li:hover a {
  color: white;
}

.text-box li a {
  text-decoration: none;
  color: black;
  font-size: 1.2rem;
  font-family: helvetica-lt-pro !important;
}
p.pop-up {
  font-size: 1.2rem;
  padding-top: 0.5%;
  padding-bottom: 0.8%;
}
span.link:hover {
  text-decoration: underline;
}
/* ====================================================
   SWIPER MODIFICATIONS
   ==================================================== */
.swiper-wrapper {
  transform: none !important;
  display: block !important;
  flex-direction: column !important;
  height: auto !important;
  width: 100% !important;
  transition: none !important;
}

.swiper-slide {
  width: 100% !important;
  height: auto !important;
  margin-bottom: 5px !important;
  transform: none !important;
  opacity: 1 !important;
  display: block !important;
  position: relative !important;
  flex-shrink: 0 !important;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.sp-footer-address {
  position: absolute;
  bottom: 10px;
  font-size: 1.3rem;
  line-height: 25px;
  right: 15px;
  text-align: right;
}
.sp-footer-address a {
  color: black;
  text-decoration: none;
  font-family: neue-frutiger-world, sans-serif;
  font-weight: 750;
  font-style: normal;
}
body.menu-open .footer-address {
  display: none;
}
/* メニューバー透過問題 */
.nav-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* Dynamic Viewport Height for Safari */
  background: white;
  z-index: 1000;
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100vh;
  height: 100dvh;
}
/* ====================================================
   MEDIA QUERIES
   ==================================================== */
@media (max-width: 1680px) {
  .head {
    padding-left: 20px;
  }
  .site-logo img {
    margin-left: 20px;
  }
  .page-container {
    max-width: 1600px;
  }
  .footer-address {
    line-height: 42px;
  }
}
@media (max-width: 1500px) {
  .content-main {
    left: 26%;
  }
  .footer-address {
    width: 8.5%;
  }
}
@media (max-width: 1450px) {
  .content-main {
    left: 26%;
  }
  .site-logo img {
    width: 850px;
  }
  .nav-item a,
  .nav-item-online a {
    font-size: 4rem;
  }
}
@media (max-width: 1280px) {
  .head {
    font-size: 4rem;
  }
  .content-main {
    left: 28%;
  }
  .text-box li {
    padding-top: 0.2%;
    padding-bottom: 0.3%;
  }
  .text-box li a,
  p.media-head,
  p.pop-up,
  .en p {
    font-size: 1rem;
  }
  .footer-address {
    width: 8.5%;
    line-height: 35px;
  }
}
/* ====================================================
   MEDIUM DESKTOP (992px to 1199px)
   ==================================================== */
@media (max-width: 1199px) and (min-width: 992px) {
  .nav-item a {
    font-size: 3.5rem;
  }

  .nav-item {
    font-size: 3.5rem;
  }

  .nav-link {
    font-size: 2.2rem;
  }

  .footer-address a {
    font-size: 1.9rem;
  }

  .site-logo img {
    width: 750px;
  }
  .menu-close {
    display: none;
  }
}
@media (max-width: 1199px) {
  .footer-address {
    line-height: 32px;
  }
}
@media (max-width: 1280px) {
  .site-logo img {
    width: 650px;
  }
}
@media (max-width: 1199px) and (min-width: 821px) {
  .head {
    font-size: 3.5rem;
  }
  .site-nav {
    margin-top: 48px;
  }
}
/* ====================================================
   SMALL DESKTOP (768px to 991px)
   ==================================================== */
@media (max-width: 991px) and (min-width: 769px) {
  .nav-item a {
    font-size: 3rem;
  }

  .nav-item {
    font-size: 3rem;
  }

  .nav-link {
    font-size: 2rem;
  }

  .footer-address a {
    font-size: 1.8rem;
  }

  .site-logo img {
    width: 700px;
  }

  .content-main {
    left: 32%;
    right: 8%;
  }
  .menu-close {
    display: none;
  }
}

/* ====================================================
   TABLET (481px to 820px)
   ==================================================== */
@media (max-width: 820px) and (min-width: 481px) {
  .page-container {
    flex-direction: column;
    height: 100vh;
    width: 100vw;
  }

  /* Logo - 左上に90度回転で配置 */
  .site-logo {
    position: fixed;
    top: 10px;
    left: 85px;
    z-index: 9999;
    height: auto;
    width: 0%;
  }
  .site-logo a {
    display: block;
    transform: rotate(90deg);
    transform-origin: left top;
    width: 550px;
  }

  .site-logo img {
    position: static;
    width: 550px;
    height: auto;
    transform-origin: left top;
  }

  /* Header & Navigation - 右上に配置 */
  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    width: auto;
    height: auto;
    z-index: 100;
  }

  .nav-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: auto;
    height: auto;
    padding: 0;
  }

  .site-nav {
    padding: 0;
    text-align: left;
  }

  .nav-item {
    padding-bottom: 6px;
    font-size: 2.5rem;
  }

  .nav-item a {
    font-size: 2.5rem;
  }

  .nav-link {
    font-size: 1.8rem;
    padding: 5px 0;
  }

  .nav-menu .nav-item {
    margin-bottom: 0px;
  }

  /* Main Content - 中央配置 */
  .content-main {
    position: absolute;
    left: 0%;
    top: 50%;
    bottom: 20%;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
  }

  /* Footer/Address - 右下に配置 */
  .footer-address {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 100%;
    height: auto;
  }

  .footer-address a {
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
    font-size: 1.3rem;
    position: absolute;
    padding: 0;
    bottom: 0;
    width: 100%;
    text-align: right;
    line-height: 25px;
  }

  .page-loader img {
    width: 20%;
  }
  footer.footer-address {
    height: 10px;
  }
  .hamburger {
    display: none;
  }

  /* nav-menu-containerにnav-containerと同じスタイルを適用 */
  .nav-menu-container {
    position: fixed;
    top: 90px;
    right: 0px;
    width: auto;
    height: auto;
    padding: 0;
  }

  /* nav-menuにsite-navと同じスタイルを適用 */
  .nav-menu {
    padding: 0;
    text-align: left;
  }

  .nav-menu .nav-item {
    padding-bottom: 0px;
    font-size: 2rem;
    margin-bottom: 0px;
    height: 60px;
  }

  .nav-menu .nav-item a {
    font-size: 2rem;
  }

  .nav-menu .nav-link {
    font-size: 1.8rem;
  }

  .nav-menu .nav-divider {
    width: 30px;
    height: 2px;
    margin: 5px 0px 5px 0px;
  }

  .nav-item a[href*="/contact/"] {
    font-size: 1.5rem;
  }

  .nav-item a[href*="instagram"] {
    font-size: 1.5rem;
  }

  /* nav-menu-containerにnav-containerと同じスタイルを適用 */
  .nav-menu-container {
    position: fixed;
    top: 90px;
    right: 0px;
    width: auto;
    height: auto;
    padding: 0;
  }

  /* nav-menuにsite-navと同じスタイルを適用 */
  .nav-menu {
    padding: 0;
    text-align: left;
  }

  .nav-menu .nav-item {
    padding-bottom: 0px;
    font-size: 2rem;
    margin-bottom: 0px;
  }

  .nav-menu .nav-item a {
    font-size: 2rem;
  }

  .nav-menu .nav-link {
    font-size: 1.8rem;
  }

  .nav-menu .nav-divider {
    width: 30px;
    height: 2px;
    margin: 5px 0px 5px 0px;
  }

  .nav-item a[href*="/contact/"] {
    font-size: 1.5rem;
  }

  .nav-item a[href*="instagram"] {
    font-size: 1.5rem;
  }
  .menu-close {
    display: none;
  }
  .jp p,
  .en p {
    line-height: 28px;
  }
}

/* ====================================================
   MOBILE (480px and below)
   ==================================================== */
@media (max-width: 480px) {
  .page-container {
    flex-direction: column;
    height: 100vh;
    width: 100vw;
  }

  /* Logo - 左上に90度回転、モバイルサイズ調整 */
  .site-logo {
    position: fixed;
    top: 15px;
    left: 70px;
    z-index: 9999;
    height: auto;
    width: 0%;
  }
  .site-logo a {
    display: block;
    transform: rotate(90deg);
    transform-origin: left top;
    width: 550px;
  }

  .site-logo img {
    position: static;
    width: 400px;
    height: auto;
    transform-origin: left top;
  }

  /* Header & Navigation - 右上、モバイル用サイズ */
  .site-header {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: auto;
    z-index: 100;
  }

  .nav-container {
    position: fixed;
    top: 15px;
    right: 15px;
    width: auto;
    height: auto;
    padding: 0;
  }

  .site-nav {
    padding: 0;
    text-align: left;
  }

  .nav-item {
    padding-bottom: 6px;
    font-size: 2.3rem;
  }

  .nav-item a {
    font-size: 2.1rem;
  }

  .nav-link {
    font-size: 1.5rem;
    padding: 3px 0;
  }

  .online-shop-nav {
    line-height: 1.2;
  }

  /* Main Content - モバイル用中央配置 */
  .content-main {
    position: fixed;
    left: 0%;
    top: 50%;
    bottom: 25%;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
  }

  .swiper-slide img {
    width: 100%;
    height: auto;
  }

  /* Footer/Address - 右下 */
  .footer-address {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 100%;
    height: auto;
  }

  .footer-address a {
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
    font-size: 1.3rem;
    position: absolute;
    padding: 0;
    width: 100%;
    bottom: 0;
    text-align: right;
    padding-bottom: 10px;
  }

  footer.footer-address {
    height: 0;
    line-height: 25px;
    margin-top: 10px;
  }

  .page-loader img {
    width: 30%;
  }

  .hamburger {
    display: none;
  }

  .head {
    padding-left: 25%;
    font-size: 2.5rem;
    margin-top: 110px;
  }

  .text-box {
    margin-left: 10%;
    width: 100%;
  }

  .hamburger span {
    width: 16px;
  }

  .nav-menu-container {
    width: 220px;
    padding: 25px;
  }

  .nav-menu .nav-link {
    font-size: 1.8rem;
  }

  .menu-close {
    font-size: 1.8rem;
    top: 25px;
    right: 25px;
    display: none;
  }

  /* nav-menu-containerにnav-containerと同じスタイルを適用 */
  .nav-menu-container {
    position: fixed;
    top: 60px;
    right: 0px;
    width: auto;
    height: auto;
    padding: 0;
  }

  /* nav-menuにsite-navと同じスタイルを適用 */
  .nav-menu {
    padding: 0;
    text-align: left;
  }

  .nav-menu .nav-item {
    margin-bottom: 0px;
  }

  .nav-menu .nav-item {
    padding-bottom: 0px;
    margin-bottom: 0px;
    font-size: 2rem;
  }

  .nav-menu .nav-item a {
    font-size: 2rem;
  }

  .nav-menu .nav-link {
    font-size: 1.5rem;
  }

  .nav-menu .online-shop-nav {
    line-height: 1.2;
  }

  .nav-menu .nav-divider {
    width: 20px;
    height: 2px;
    margin: 5px 0px 5px 0px;
  }

  .nav-item a[href*="/contact/"] {
    font-size: 1.8rem;
  }

  .nav-item a[href*="instagram"] {
    font-size: 1.8rem;
  }
  p.en.visible {
    display: none;
  }
  .text-box.visible {
    width: 96%;
    font-size: 0.95rem;
    line-height: 25px;
  }
  .menu-toggle::after {
    font-size: 1.8rem;
  }
  .sp-footer-address {
    font-size: 1.3rem;
    line-height: normal;
    line-height: 25px;
  }
  .jp p,
  .en p {
    line-height: 24px;
  }
}

/* ====================================================
   EXTRA SMALL MOBILE (320px and below)
   ==================================================== */
@media (max-width: 320px) {
  .site-logo img {
    width: 300px;
  }

  .site-logo {
    left: 70px;
    z-index: 9999;
  }

  .nav-menu .nav-item {
    margin-bottom: 0px;
  }

  .nav-item {
    font-size: 1.8rem;
  }

  .nav-item a {
    font-size: 1.8rem;
  }

  .nav-link {
    font-size: 1.3rem;
  }

  .footer-address a {
    font-size: 1rem;
  }

  .content-main {
    left: 0%;
  }

  .nav-menu .nav-item {
    font-size: 1.8rem;
  }

  .nav-menu .nav-item a {
    font-size: 1.8rem;
  }

  .nav-menu .nav-link {
    font-size: 1.3rem;
  }
}

/* ====================================================
   MOBILE MENU DISPLAY CONTROLS
   ==================================================== */
@media (max-width: 767px) {
  .site-nav.active {
    display: block !important;
  }

  .menu-btn {
    display: flex;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1001;
    padding: 10px 20px;
  }

  .nav-container {
    display: none;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    z-index: 100;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .nav-container.active {
    display: block !important;
    opacity: 1;
    transform: translateX(0) !important;
    transition:
      opacity 0.1s ease,
      transform 0.1s ease;
    padding-left: 15%;
    z-index: 1000;
  }

  .site-nav {
    display: none;
    padding: 70px 20px 20px;
    text-align: left;
    transition: opacity 0.1s ease;
  }

  #main-menu {
    padding-left: 20%;
  }

  .nav-item,
  .nav-link {
    font-size: 1.5rem;
  }

  .site-nav.active {
    display: block !important;
    opacity: 1;
    width: 50%;
    transition: opacity 0.1s ease 0.1s;
  }

  .nav-item {
    transition: opacity 0.1s ease;
    display: block;
    padding: 0px 0;
    margin: 0px 0;
  }

  .site-nav.active .nav-item {
    opacity: 1;
    transition: opacity 0.1s ease 0.2s;
  }

  .nav-link {
    transition: opacity 0.1s ease;
    display: block;
    padding: 10px 0;
  }

  .site-nav.active .nav-link {
    opacity: 1;
    transition: opacity 0.1s ease 0.2s;
  }

  .site-nav.active .nav-divider {
    opacity: 1;
    transition: opacity 0.1s ease 0.2s;
  }

  .text-box li {
    padding-top: 0%;
  }

  .header-nav {
    display: flex;
    z-index: 9999;
  }

  .menu-btn {
    display: none !important;
  }

  .nav-container {
    display: none !important;
  }

  .site-nav {
    display: none !important;
  }
}

/* ====================================================
   TABLET ADJUSTMENTS
   ==================================================== */
@media (max-width: 1280px) {
  .text-box.visible {
    line-height: 25px;
  }
}
@media (max-width: 1040px) and (min-width: 821px) {
  .site-nav {
    margin-top: 50px;
  }
  .footer-address {
    width: 10%;
    line-height: 28px;
  }
  .content-main {
    right: 8%;
  }
  .footer-address a {
    font-size: 1.5rem;
  }
  .text-box.visible {
    line-height: 24px;
  }
}
@media (max-width: 834px) {
  body {
    overflow: auto;
  }
  .page-container {
    display: block;
    height: auto;
    overflow: visible;
  }

  .site-header,
  .footer-address {
    position: relative;
    width: 100%;
    height: auto;
  }

  .head,
  .text-box {
    padding-left: 15%;
  }
  .head {
    font-size: 3rem;
    margin-top: 110px;
  }

  .text-box {
    margin-left: 0;
    margin-bottom: 10px;
  }

  .back-btn {
    display: none;
  }

  .content-main {
    position: absolute;
    left: 0%;
    top: 50%;
    bottom: 20%;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
  }

  .content-main {
    position: relative;
    left: auto;
    right: auto;
    height: auto;
    overflow: visible;
  }

  .site-logo {
    position: fixed;
    top: 10px;
    left: 85px;
    z-index: 9999;
    height: auto;
    width: 0%;
  }
  .site-logo a {
    display: block;
    transform: rotate(90deg);
    transform-origin: left top;
    width: 550px;
  }

  .site-logo img {
    position: static;
    width: 550px;
    height: auto;
    transform-origin: left top;
  }

  .nav-menu-container {
    position: fixed;
    right: 30px;
    width: auto;
    height: auto;
    padding: 0;
    top: 90px;
  }

  .nav-menu {
    padding: 0;
    text-align: left;
  }

  .nav-menu .nav-item {
    padding-bottom: 0px;
    font-size: 2rem;
    margin-bottom: 0px;
    height: 60px;
  }

  .nav-menu .nav-item a {
    font-size: 3rem;
  }

  .nav-menu .nav-link {
    font-size: 1.8rem;
  }

  .nav-menu .nav-divider {
    width: 30px;
    height: 2px;
    margin: 5px 0px 5px 0px;
  }
  .nav-item a[href*="/contact/"] {
    font-size: 1.6rem;
    margin-top: 55px;
  }

  .nav-item a[href*="instagram"] {
    font-size: 1.6rem;
    margin-top: 0px;
  }
  .nav-menu .nav-item:has(a[href*="contact"]),
  .nav-menu .nav-item:has(a[href*="instagram"]) {
    height: 35px;
  }
  .menu-text {
    font-size: 2.8rem;
    padding-top: 5px;
  }
  .nav-item a[href="https://hand-to-mouth-online.com/shop/"] {
    line-height: 40px;
    padding-top: 20px;
  }
}

/* ====================================================
   TABLET SIZE UNIFIED MENU (834px and below, 768px and above)
   ==================================================== */
@media (max-width: 834px) and (min-width: 768px) {
  .header-nav {
    display: flex;
    top: 25px;
    right: 15px;
    z-index: 9999;
  }

  .nav-menu .nav-link {
    font-size: 2.4rem;
  }
}

/* ====================================================
   MOBILE ADJUSTMENTS (767px and below)
   ==================================================== */
@media (max-width: 767px) {
  .head,
  .text-box {
    padding-left: 19%;
  }
  .page-container {
    height: auto;
    overflow: visible;
    top: 0%;
  }

  .site-header,
  .footer-address {
    position: relative;
  }

  .content-main {
    position: relative;
    left: auto;
    right: auto;
    height: auto;
    overflow: visible;
  }

  .header-nav {
    top: 25px;
    right: 15px;
    z-index: 9999;
  }
  .text-box.visible {
    line-height: 25px;
  }
}

/* ====================================================
   HEIGHT-BASED ADJUSTMENTS
   ==================================================== */
@media (min-width: 768px) and (max-height: 950px) {
  .text-box {
    font-size: 1.1rem;
  }
}

@media (min-width: 768px) and (max-height: 900px) {
  .jp {
    line-height: 28px;
  }

  .en {
    line-height: 29px;
  }

  .text-box {
    font-size: 1.1rem;
  }

  .footer-address a {
    font-size: 1.8rem;
  }
}

@media (min-width: 768px) and (max-height: 800px) {
  .text-box {
    font-size: 1rem;
  }
}

@media (min-width: 768px) and (max-height: 700px) {
  .jp {
    line-height: 25px;
  }

  .en {
    line-height: 26px;
  }

  .text-box {
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) and (max-height: 670px) {
  .site-logo img,
  p.back-btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .head-sub {
    font-size: 1.4rem;
  }
  .text-box {
    padding-left: 25%;
  }
  .head {
    padding-left: 25%;
    font-size: 2rem;
    margin-top: 90px;
  }
  .site-logo {
    left: 60px;
  }
  .site-logo img {
    width: 400px;
  }
  .nav-menu-container {
    right: 10px;
    top: 60px;
  }
  .nav-menu .nav-item {
    height: 45px;
  }
  .nav-menu .nav-item a {
    font-size: 2.3rem;
  }
  .nav-item a[href*="/contact/"] {
    font-size: 1.3rem;
    margin-top: 40px;
  }

  .nav-item a[href*="instagram"] {
    font-size: 1.3rem;
    padding: 0;
    margin-top: 0px;
  }
  .nav-menu .nav-item:has(a[href*="/contact/"]),
  .nav-menu .nav-item:has(a[href*="instagram"]) {
    height: 35px;
  }
  .nav-item a[href="https://hand-to-mouth-online.com/shop/"] {
    line-height: 30px;
    padding-top: 22px;
  }
  .menu-text {
    font-size: 1.8rem;
  }
}
@media (max-width: 380px) {
  .head {
    margin-top: 80px;
  }
  .site-logo img {
    width: 350px;
  }
  .nav-menu .nav-item {
    height: 40px;
  }
  .nav-menu .nav-item a {
    font-size: 2rem;
  }
  .nav-item a[href*="/contact/"] {
    font-size: 1.1rem;
  }
  .nav-item a[href*="instagram"] {
    font-size: 1.1rem;
    margin-top: 0px;
  }
  .footer-address a,
  .sp-footer-address a,
  .sp-footer-address {
    font-size: 1rem;
    line-height: 20px;
  }
}
