/* ==========================================================================
WEB FONT
============================================================================= */
.inter {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
/* ==========================================================================
見出しフォントスケーリング
============================================================================= */
h1 {
  font-size: clamp(2rem, 5vw + 1rem, 4rem);
  font-weight: 900;
}
h2 {
  font-size: clamp(1.75rem, 4vw + 0.75rem, 3rem);
  font-weight: 800;
}
h3 {
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 700;
}
h4 {
  font-size: clamp(1.25rem, 2.5vw + 0.5rem, 2rem);
  font-weight: 600;
}
h5 {
  font-size: clamp(1.125rem, 2vw + 0.5rem, 1.5rem);
  font-weight: 500;
}
h6 {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  font-weight: 400;
}
/* ======== フォントウェイト ======== */
.fw-400 {
  font-weight: 400;
}
.fw-600 {
  font-weight: 600;
}
.fw-800 {
  font-weight: 800;
}
.fw-900 {
  font-weight: 900;
}
/* ======== イタリック ======== */
.fs-italic {
  font-style: italic;
}
/* ==========================================================================
ヘッダー周り
============================================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 72px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: background-color 0.3s, 0.4s ease;
}
.site-header.is-scrolled {
  height: 56px;
  background-color: rgb(99 132 141 / 90%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px;
  transition: 0.4s ease;
}
.hero {
  position: relative;
  height: 100vw;
}
.hero picture,
.hero img {
  width: 100%;
  height: 100%;
}
.hero img {
  object-fit: cover;
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}
.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo {
  width: 8rem;
  transition: 0.4s ease;
}
.is-scrolled {
  .header-inner {
    padding: 10px 11px 11px;
  }
  .logo {
    width: 6rem;
  }
}
/* ======== ハンバーガーアイコン ======== */
.nav-toggle {
  position: relative;
  z-index: 1003;
  width: 30px;
  height: 24px;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-toggle .bar {
  position: absolute;
  right: 0;
  display: block;
  width: 100%;
  height: 4px;
  background-color: white;
  border-radius: 2px;
  transition: 0.4s ease;
}
.nav-toggle .top {
  top: 0;
}
.nav-toggle .middle {
  top: 10px;
}
.nav-toggle .bottom {
  bottom: 0;
}
.nav-toggle.active .top {
  top: 10px;
  transform: rotate(45deg);
}
.nav-toggle.active .middle {
  opacity: 0;
}
.nav-toggle.active .bottom {
  bottom: 10px;
  transform: rotate(-45deg);
}
/* ======== ナビゲーションメニュー ======== */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 1002;
  width: 100vw;
  height: 100svh;
  padding-top: 1rem;
  overflow-y: auto;
  text-transform: uppercase;
  background-color: var(--metal-gray);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  transition: right 0.4s ease;
  .nav-header {
    display: none;
  }
}
/* メニューが開いた時（JSでopenクラスがついた時） */
.nav.open {
  right: 0;
  .nav-header {
    display: block;
    padding-left: var(--space-sm);
    h1 {
      color: var(--vintage-navy);
      text-transform: capitalize;
    }
  }
}
.nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav ul li {
  opacity: 0;
  transform: translateX(20px);
  animation: slideIn 0.5s forwards;
  animation-play-state: paused;
  border-bottom: 1px solid #666;
}
.nav ul li:nth-child(1) {
  animation-delay: 0.1s;
}
.nav ul li:nth-child(2) {
  animation-delay: 0.2s;
}
.nav ul li:nth-child(3) {
  animation-delay: 0.3s;
}
.nav ul li:nth-child(4) {
  animation-delay: 0.4s;
}
.nav ul li:nth-child(5) {
  animation-delay: 0.5s;
}
.nav.open ul li {
  animation-play-state: running;
}
/* メニュー内のリンク（重複を統合） */
.nav ul li a {
  display: block;
  padding: 1em;
  color: var(--vintage-navy);
  text-decoration: none;
  background: transparent;
  transition: 0.4s ease;
}
.nav ul li a:hover {
  color: var(--color-bg-body);
}
/* ==== ドロップダウンメニュー設定 ====*/
.drop-check {
  display: none;
}
/* ==========================================
   PC（769px以上）
   ========================================== */
@media screen and (min-width: 769px) {
  .nav {
    overflow: visible !important;
    overflow-y: visible !important;
  }
  .nav ul li {
    border-bottom: none;
  }
  .nav-list {
    display: flex;
    justify-content: center;
  }
  .nav-item {
    position: relative;
    /* 子メニューの基準位置 */
  }
  .nav-item.dropdown {
    display: flex;
    align-items: center;
    position: relative;
    /* 子メニューの基準位置 */
  }
  /* PCではスマホ用矢印を隠す */
  .drop-label {
    display: none;
  }
  /* 子メニューの初期状態（非表示・少し下に配置して浮かせる） */
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 18px;
    width: 300px;
    background-color: transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(10px);
    z-index: 9999;
    flex-wrap: wrap;
  }
  .dropdown-menu li {
    width: 300px !important;
    background-color: var(--earth-brown);
    border-bottom: 1px solid #cecece;
  }
  .dropdown-menu a {
    padding: 1rem !important;
  }
  .dropdown-menu a:hover {
    color: var(--vintage-navy) !important;
  }
  .dropdown-menu li:hover {
    background-color: var(--color-bg-body);
  }
  /* ホバー時に子メニューを表示 */
  .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
/* ==========================================
   スマホ（768px以下）
   ========================================== */
@media screen and (max-width: 768px) {
  /* menu-trigger に指定していた flex 設定を親の nav-item に移す */
  .nav-item.dropdown {
    display: flex;
    flex-wrap: wrap;
    /* 子メニューを下に折り返させるために必須 */
    justify-content: space-between;
    align-items: center;
  }
  /* リンク単体は横いっぱいに広げる（矢印のエリア以外を埋める） */
  .nav-item.dropdown > a {
    flex-grow: 1;
  }
  /* 子メニューは横幅100%にして下に回り込ませる */
  .dropdown-menu {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f9f9f9;
  }
  /* スマホ用アコーディオン矢印 */
  .drop-label {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    background: var(--earth-brown);
  }
  .drop-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--metal-gray);
    border-bottom: 2px solid var(--metal-gray);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-top: -4px;
  }
  /* 子メニューの初期状態（高さを0にして隠す） */
  .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f9f9f9;
  }
  .dropdown-menu a {
    padding-left: 2rem !important;
    background: var(--earth-brown) !important;
    border-bottom: 1px solid #eee;
  }
  /* 【これで動く】同じ階層になったので「~」が正しく効きます */
  .drop-check:checked ~ .dropdown-menu {
    max-height: 300px;
    /* 子メニュー全体の高さに合わせて適宜調整 */
  }
  /* タップ時に矢印を回転 */
  .drop-check:checked ~ .drop-label::before {
    transform: rotate(-135deg);
    margin-top: 4px;
  }
}
/* ======== アニメーション ======== */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* ======== 背景オーバーレイ ======== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.overlay.show {
  visibility: visible;
  opacity: 1;
}
/* ==========================================================================
コンテンツ
============================================================================= */
/* ==== 装飾 ====*/
.border-btm {
  border-bottom: 1px solid #7a827c;
}
.title {
  padding-bottom: var(--space-md);
  font-size: 40px;
  color: var(--vintage-navy);
}
.sub-title {
  position: relative;
  margin-bottom: var(--space-lg);
  color: var(--vintage-navy);
}
.sub-title:before {
  position: absolute;
  bottom: -8px;
  left: calc(50% - 30px);
  width: 60px;
  height: 2px;
  content: '';
  background: var(--dark-green);
  border-radius: 1px;
}
/* ==== ABOUT ==== */
.about {
  .visual {
    margin-top: var(--space-xs);
    margin-right: var(--space-lg);
    img {
      clip-path: polygon(0 0, 100% 0, 100% 83%, 90% 100%, 0 100%);
    }
  }
  .caption {
    margin-right: var(--space-md);
    margin-left: var(--space-md);
  }
}
/* ==== STORES ==== */
.stores {
  margin-top: 80px;
  border-top: .5rem solid var(--dark-green);
  background: var(--earth-brown);
  clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%, 0 72px);
  .caption {
    padding: 5rem 0;
  }
  .caption > div:first-child {
    width: 80%;
  }
  .grid {
    gap: 0;
  }
}
.location {
  .inner {
    margin-bottom: var(--space-xl);
  }
  h2 {
    margin: .5rem 0;
    color: var(--vintage-navy);
  }
  .location-name {
    margin-top: 0;
  }
  .button {
    margin-top: var(--space-md);
  }
  .item-1 {
    order: 1;
  }
  .item-2 {
    order: 2;
  }
}
/* ==== Lineup前キャッチ ==== */
.catch {
  margin: 4.5rem 0 4rem 0;
  font-size: var(--font-size-md);
  text-align: center;
}
/* ==== Lineup ==== */
.lineup {
  margin-top: var(--space-md);
  .product {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    text-decoration: none;
    border-top: 5px solid var(--dark-green);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 94% 100%, 0 100%);
  }
  .back-ground img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .item-name {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 10;
  }
  .custom-btn {
    color: var(--vintage-navy);
    background-color: var(--earth-brown);
  }
  .arrow::before {
    background-color: var(--vintage-navy);
  }
  .arrow::after {
    border-color: transparent transparent transparent var(--vintage-navy);
  }
}
/* ==== EXPLORE ==== */
.explore {
  margin-top: var(--space-xl);
  padding-block: var(--space-lg);
  padding-inline: 20px;
  background: #efefef;
  border-top: 1px solid #cfcfcf;
  .grid {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .grid::-webkit-scrollbar {
    display: none;
  }
  .grid > div {
    aspect-ratio: 1.4142 / 1;
    width: 100%;
    min-width: 70%;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
  .grid > img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
/* ======== CHILD-PAGE ======== */
#childpage {
  margin-top: 72px;
}
.visual-area {
  position: relative;
  width: 100%;
  aspect-ratio: 1.618 / 1;
  overflow: hidden;
  .copy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    align-items: center;
    flex-direction: column;
    p {
      max-width: 70%;
    }
    h1, h4 {
      color: var(--color-bg-body);
    }
  }
  picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
  }
}
/* ======== FOOTER ======== */
.footer {
  margin-top: var(--space-lg);
  padding: var(--space-md) 0;
  color: white;
  background-color: var(--coastal-gray);
  border-top: .5rem solid var(--dark-green);
  .grid {
    row-gap: 0;
  }
  h3 {
    margin-bottom: .5rem;
    padding-bottom: .25em;
    border-bottom: 1px solid #FAF9F6;
    color: var(--vintage-navy);
    letter-spacing: 0.05rem;
  }
  p {
    margin-top: 0;
    color: var(--vintage-navy);
  }
  ul {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
  }
}
/* ======== SNS アイコン ======== */
.sns-links {
  display: flex;
  align-items: center;
  list-style: none;
  img {
    width: 2.5rem;
  }
  a {
    padding: .5em !important;
    border-bottom: none !important;
  }
}
.sns-links a:hover {
  background: transparent !important;
}
/* ==== BUTTON ==== */
.button {
  margin-top: var(--space-md);
}
.custom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: .5rem 2rem .4rem;
  font-size: var(--font-size-sm);
  letter-spacing: 0.1em;
  color: var(--color-bg-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background-color: var(--vintage-navy);
  border: none;
  border-radius: 100vh;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.custom-btn:hover {
  background-color: var(--coastal-gray);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
}
.arrow::before,
.arrow::after {
  box-sizing: border-box;
}
.arrow::before {
  position: absolute;
  top: 47%;
  left: 0;
  width: 60%;
  height: 0.12em;
  content: '';
  background-color: #ffffff;
  transform: translateY(-50%);
}
.arrow::after {
  position: absolute;
  top: 47%;
  right: 0;
  content: '';
  border-style: solid;
  border-width: 0.3em 0 0.3em 0.5em;
  border-color: transparent transparent transparent #ffffff;
  transform: translateY(-50%);
}
/* ==========================================================================
メディアクエリ
============================================================================= */
/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {}
/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
  .logo {
    display: block;
  }
  .nav {
    position: static;
    width: auto;
    height: auto;
    padding-top: 0;
    background: none;
    box-shadow: none;
    transform: translate(0);
  }
  .nav ul {
    display: flex;
    align-items: center;
  }
  .nav ul li {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
  .nav ul li a {
    padding: 0.5em;
    border-bottom: none;
  }
  .overlay {
    display: none;
  }
  .is-scrolled {
    .header-inner {
      padding: 0 11px;
    }
  }
  /* ==== ABOUT ==== */
  .about {
    .grid {
      align-items: flex-start;
    }
    .visual {
      margin-right: 0;
    }
  }
  /* ==== STORES ==== */
  .location {
    .inner {
      margin-bottom: var(--space-lg);
      margin-left: var(--space-md);
    }
    h2 {
      margin-top: 0;
    }
    .item-1 {
      order: 2;
    }
    .item-2 {
      order: 1;
      margin-right: var(--space-md);
      margin-left: 0;
      h2 {
        margin-top: 0;
      }
    }
  }
  .lineup {
    .grid {
      gap: var(--space-xs);
    }
    .col-4 {
      grid-column-end: span 6;
    }
  }
  /* ==== EXPLORE ==== */
  .explore {
    .text-center {
      text-align: start;
    }
    .grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
    }
  }
}
/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
  .nav ul li a {
    padding: .5em 1em;
  }
  .hero {
    height: 100svh;
  }
  /* ==== ABOUT ==== */
  .about {
    .grid {
      align-items: center;
    }
    .visual {
      margin-right: 0;
    }
    .caption {
      width: 70%;
      justify-self: center;
    }
  }
  /* ==== STORES ==== */
  .stores {
    clip-path: polygon(96px 0, 100% 0, 100% 100%, 0 100%, 0 96px);
    .caption {
      padding: 8rem 0;
    }
    h1 {
      margin-bottom: 0;
      padding-bottom: 0;
    }
  }
  .location {
    .inner {
      margin-bottom: 0;
      margin-left: var(--space-lg);
    }
    h2 {
      margin-top: var(--space-sm);
    }
    .item-1 {
      order: 2;
    }
    .item-2 {
      order: 1;
      margin-right: var(--space-lg);
      margin-left: 0;
      h2 {
        margin-top: var(--space-md);
      }
    }
  }
  /* ==== LINEUP ==== */
  .lineup {
    .catch {
      display: block;
      margin-bottom: 0;
      font-size: 10rem;
    }
    .col-4 {
      grid-column-end: span 4;
    }
    .container {
      max-width: 100vw;
    }
    .product {
      position: relative;
      width: 100%;
      height: auto;
      overflow: hidden;
      text-decoration: none;
      clip-path: polygon(0 0, 100% 0, 100% 93%, 95% 100%, 0 100%);
    }
  }
  /* ==== EXPLORE ==== */
  .explore {
    .grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: var(--space-lg);
    }
  }
  /* ======== CHILD-PAGE ======== */
  .visual-area {
    aspect-ratio: 4 / 1;
  }
}
/* X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {}
/* XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {}