* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #DCDCDC;
  color: black;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  font-size: 16px;
  margin: 0 auto;
}

a {
  color: #000;
}

.english {
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
}

/*--------------------------------
  header
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 70px;
  opacity: 1;
  background-color: #DCDCDC;
}

.header .container {
  display: flex;
  justify-content: space-between;
  background-color: #DCDCDC;
  padding: 5px 20px;
  height: 100%;
}

.header-logo a {
  text-decoration: none;
  color: #000;
  align-items: center;
  font-size: clamp(40px, 2.6vw, 50px);
  font-weight: bold;
  line-height: 1.2;
  margin-left: 10px;
  letter-spacing: 5px;
  transition: 0.5s ease-out;
  text-shadow: 
  -1px -1px 0 white,
  1px -1px 0 white,
  -1px 1px 0 white,
  1px 1px 0 white,
  -1px 0 0 white,
  1px 0 0 white,
  0 -1px 0 white,
  0 1px 0 white;
}

.header-logo a:hover {
  transform: translateY(-5px);
  text-shadow: 3px 3px 5px rgba(189, 185, 185, 1);
}

.nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto 10px;
  padding-right: 10px;
}

.nav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.nav-item:not(:last-child) {
  margin-right: 20px;
}

.nav-item a {
  position: relative;
  font-size: clamp(12px, 1.8vw, 24px);
  font-weight: bold;
  display: inline-block;
  letter-spacing: 2px;
  text-decoration: none;
  color: #000;
  transition: 0.5s ease-out, text-shadow 0.5s ease-out, color 0.5s ease-out;
  text-shadow: 0 0 0 rgba(0, 0, 0, 0)
}

.nav-item a:hover {
  transform: translateY(-3px);
  /* text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 1); */
  text-shadow: 3px 3px 5px rgba(189, 185, 185, 1);
}

.nav-pc {
  display: flex;
  align-items: center;
}

.nav-sp {
  display: none;
}

.hamburger {
  display: none;
}

/*--------------------------------
  footer
---------------------------------*/
footer {
  padding: 10px 30px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 100px;
}

.footer-link .iconify {
  font-size: 30px;
}

.other-link-pc {
  display: flex;
  align-items: center;
  gap: 30px;
}

.other-link-pc .iconify {
  font-size: 30px;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.iconify:hover {
  transform: translateY(-5px);
  text-shadow: 3px 3px 5px rgba(189, 185, 185, 1);
}

.other-link-pc .hotpepper {
  text-align: center;
  line-height: 1.2;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.hotpepper:hover {
  transform: translateY(-5px);
  text-shadow: 3px 3px 5px rgba(189, 185, 185, 1);
}

.privacy a {
  display: inline-block;
  transform: translateY(0);
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.privacy a:hover {
  transform: translateY(-5px);
  text-shadow: 3px 3px 5px rgba(189, 185, 185, 1);
}

.copyright {
  text-align: center;
  font-size: smaller;
  opacity: 0.6;
  margin-top: 30px;
}

body.footer-fixed {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.footer-fixed main {
  flex: 1;
}


/* パンくずリスト */
.breadcrumb {
  padding: 8px 30px;
  font-size: clamp(12px, 1.6vw, 14px);
  font-weight: lighter; 
  text-align: right;
  word-spacing: 0.5em;
  border-bottom: 1px solid #BDB9B9;
}

.breadcrumb a {
  color: #000;
  text-decoration: none;
  display: inline-block;
  transform: translateY(0);
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.breadcrumb a:hover {
  transform: translateY(-3px);
  text-shadow: 3px 3px 5px rgba(189, 185, 185, 1);
}

.breadcrumb .current-item,
.breadcrumb .current,
.breadcrumb .bcn_current {
  opacity: 0.8;
}


/*--------------------------------
  privacyページ
---------------------------------*/
.privacy-content {
  background-color: #DCDCDC;
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 50px;
}

.privacy-section {
  margin-bottom: 40px;
}

.privacy-section:last-child {
  margin-bottom: 0;
}

.privacy-section h2 {
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #BDB9B9;
}

.privacy-section h3 {
  font-size: 20px;
  font-weight: normal;
  margin: 25px 0 15px 0;
}

.privacy-section p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.privacy-section ul {
  margin: 15px 0 15px 20px;
}

.privacy-section li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.contact-info {
  background-color: #DCDCDC;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin-top: 30px;
  border: 1px solid #BDB9B9;
}

.contact-info h3 {
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 10px;
}

/*--------------------------------
  404エラーページ
---------------------------------*/
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  min-height: calc(100vh - 70px - 100px); /* ヘッダーとフッターの高さを引く */
}

.error-code {
  font-size: clamp(60px, 10vw, 120px);
  font-weight: bold;
  color: #888;
  letter-spacing: 10px;
  text-align: center;
}

.error-message {
  font-size: clamp(18px, 4vw, 24px);
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: center;
}

.back-home {
  display: inline-block;
  font-size: 18px;
  text-decoration: underline;
  color: #000;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.back-home:hover {
  transform: translateY(-3px);
  text-shadow: 0.3px 0.3px 0 rgba(0, 0, 0, 1);
}





/*--------------------------------
  レスポンシブ対応
---------------------------------*/
@media screen and (max-width: 767px) {
  :root { --safe-bottom: env(safe-area-inset-bottom, 0px); }
  /* header */
  .header {
    height: 60px;
  }

  .header .container {
    padding: 15px;
  }

  .header-logo {
    margin-right: 15px;
    margin-bottom: 10px;
    text-shadow: 0.3px 0.3px 0 black;
    letter-spacing: 5px;
  }
  
  .header-logo a {
    font-size: 30px;
  }
  
  /* スクロール防止 */
  body.is-active {
    overflow: hidden;
  }

  /* ハンバーガーメニュー */
  .nav-pc {
    display: none;
  }

  .nav-sp {
    display: block;
  }

  .hamburger {
    display: block;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 3001;
  }
  
  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s;
  }
  
  .hamburger span:nth-child(1) {
    top: 0;
  }
  
  .hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  
  .hamburger span:nth-child(3) {
    bottom: 0;
  }
  
  .hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  
  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.is-active span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }
  
  .nav-sp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
    background-color: rgba(189, 185, 185, 1);
    z-index: 3000;
    padding: 64px 16px calc(120px + var(--safe-bottom));
    transform: translateX(100%);
    transition: transform 0.3s;
    cursor: pointer;
  }
  
  .nav-sp.is-active {
    transform: translateX(0);
  }
  
  .nav-sp .nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: static;
    width: 100%;
    cursor: default;
    gap: 25px;
    transform: none;
  }

  .nav-sp .nav-item {
    position: relative;
    padding: 0;
  }

  .nav-sp .nav-item a {
    font-size: clamp(16px, 4.5vw, 28px);
    line-height: 1.5;
    display: block;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 5px 0;
    width: 100%;
    letter-spacing: 0.12em;
    font-weight: 600;
  }

  .nav-item:last-child {
    margin-right: 20px;
  }
  
  .other-link-sp {
    position: absolute;
    bottom: calc(24px + var(--safe-bottom));
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
    width: 100%;
  }

  .other-link-sp a {
    font-size: clamp(12px, 3.5vw, 16px);
    text-align: center;
    color: #000;
    text-decoration: none;
    transition: 0.5s ease-out, text-shadow 0.5s ease-out, transform 0.5s ease-out;
  }
  
  .other-link-sp a:hover {
    transform: translateY(-3px);
    text-shadow: 0.5px 0.5px 0 rgba(0, 0, 0, 1);
  }

  .other-link-sp .iconify {
    font-size: clamp(24px, 6vw, 30px);
    transition: 0.5s ease-out, transform 0.5s ease-out;
  }

  .other-link-sp .iconify:hover {
    transform: translateY(-3px);
  }

  /* footer */
  .other-link-pc {
    display: none;
  }

  footer {
    padding: 10px;
  }

  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 10px;
  }

  .footer-container p,
  .footer-container a {
    font-size: clamp(12px, 3.5vw, 16px);
  }

  .store-details {
    text-align: left;
  }

  .breadcrumb {
    padding: 8px 10px;
    font-size: clamp(11px, 3.2vw, 13px);
    text-align: right;
    border-top: 1px solid #BDB9B9;
  }

  /*--------------------------------
  privacyページ
  ---------------------------------*/
  .privacy-content {
    padding: 25px 20px;
  }

  .privacy-section h2 {
    font-size: 20px;
  }

  .privacy-section h3 {
    font-size: 18px;
  }
}

@media screen and (max-width: 375px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
}


  




  /* ===== nav open layout fix (match index.html visual) ===== */
  body.nav-open .nav-sp {
    position: fixed;
    inset: 0;                /* top:0; right:0; bottom:0; left:0 */
    width: 100vw;
    height: 100dvh;         /* mobile viewport height */
    transform: none;        /* cancel slide offset */
    background: rgba(189,185,185,1);
    padding: 0;
    pointer-events: auto;
  }
  body.nav-open .nav-sp .nav-list {
    position: static;
    transform: none;
    gap: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  body.nav-open .nav-sp .other-link-sp {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(24px + var(--safe-bottom));
  }

/* ==================================================
   Front page overrides for SP hamburger menu layout
   — Ensure same visual as header-other pages
   — This file loads AFTER commons.css, so it wins
================================================== */
@media screen and (max-width: 767px) {
  /* Base panel (closed state slides off to the right) */
  #js-nav.nav-sp {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    background: rgba(189,185,185,1) !important;
    z-index: 3000 !important;
    padding: 0 !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
    padding: 64px 16px calc(120px + var(--safe-bottom)) !important;
  }
  /* Opened */
  #js-nav.nav-sp.is-active { 
    transform: translateX(0) !important; 
  }
  /* Center main list */
  #js-nav.nav-sp .nav-list {
    position: static !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 25px !important;
    width: 100% !important;
  }
  /* Typography to match mock */
  #js-nav.nav-sp .nav-item a {
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    font-size: clamp(16px, 4.5vw, 28px) !important;
    text-align: center !important;
  }
  /* Bottom icons */
  #js-nav.nav-sp .other-link-sp {
    position: absolute !important;
    bottom: calc(24px + var(--safe-bottom)) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 56px !important;
    width: 100% !important;
  }
}

