:root {
  --text-color: #231815;
  --bg-color: #bfbfbf;
  --content-bg: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 先方のcss解除 */
#wrapper {
  overflow: visible;
}

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.collabo {
  color: var(--text-color);
  font-family: "Noto Sans JP";
  box-sizing: border-box;
  
}

/* ==========================================
   ヘッダー基本設定
========================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  background-color: #000;
  color: #fff;
  z-index: 99999;
  display: flex;
  align-items: center;
  position: -webkit-sticky;
  position: sticky;
  /* top: 75px; */
}

.header-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header-logo a {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  color: #fff;
  text-decoration: none;
}

.header-logo img {
  width: 90px;
  height: auto;
  display: block;
}

.header-right {
  display: flex;
  justify-content: flex-end;
}

.insta-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  transition: opacity 0.3s;
}

.insta-link:hover {
  opacity: 0.7;
}

.collabo .insta-link svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 750px) {
  .header-inner {
    grid-template-columns: 0fr auto 1fr;
  }
  .main-header {
    height: 60px;
  }
  .header-logo {
    width: 160px;
  }

  .collabo .insta-link svg {
    width: 20px;
    height: 20px;
  }
}

/* --- 背景画像の表示 --- */
.bg-wrap {
  position: sticky;
  top: 75px;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  height: calc(100vh - 116px);
}

@media (max-width: 750px) {
  .bg-wrap {
    top: 60px;
  height: calc(100vh - 60px);
}
}

.bg-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s ease-in-out,
    visibility 1s;
  background-position: top;
}

.bg-item.active {
  opacity: 1;
  visibility: visible;
}

.bg-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bg-split {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
}

.bg-left,
.bg-right {
  flex: 1;
  height: 113%;
  background-position: center;
}

.bg-item .bg-last {
  background-image: url("../img/bg/bg_last_001.jpg");
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
}

/* --- セクション --- */
.section {
  min-height: 100svh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding-top: 116px;
}
@media (max-width: 750px) {
  .section {
  padding-top: 60px;
}
}

/* --- コンテンツボックス --- */
.content-box {
  background: var(--content-bg);
  width: 500px;
  max-width: 100%;
  /* max-height: 84vh; */
  height: 500px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  padding: 20px;
  z-index: 10;
}

.box-upper {
  width: 100%;
  height: 290px;
  min-height: 290px;
  overflow: hidden;
}

.box-upper img {
  width: 460px;
  height: 290px;
  object-fit: cover;
  transition: transform 4s ease;
}

.box-lower {
  flex: 1;
  display: grid;
  grid-template-columns: 150px 1fr;
  background: var(--content-bg);
}

.lower-left {
  width: 170px;
}

.lower-left img {
  object-fit: contain;
  width: 140px;
  height: 90%;
}

.lower-right {
  display: grid;
}

.description {
  width: 300px;
  font-size: 14px;
  text-align: left;
  line-height: 20px;
  color: var(--text-color);
  margin-left: 10px;
  margin-top: 9px;
  opacity: 1;
}

.price-container {
    text-align: right;
    align-self: end;
}

.product-price {
  width: auto;
  height: fit-content;
  color: var(--text-color);
  font-family: "Roboto Slab";
  font-size: 12px;
  font-weight: 400;
  margin-right: 15px;
  letter-spacing: 0px;
  text-decoration: none;
  position: relative;
  display: inline-block;
  align-self: flex-end;
}

.product-price::after {
  content: "";
  width: 0;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -1px;
  background: var(--text-color);
  transition: 0.3s ease;
}

.product-price:hover::after {
  width: 100%;
}

.product-price-sp {
  text-decoration: none;
  display: none;
}

/* --- ミニマルコンテンツ --- */
.minimal-content {
  text-align: center;
  color: var(--content-bg);
  opacity: 0;
  transform: scale(0.95);
  transition: all 1.5s ease;
}

.minimal-content img {
  width: 80%;
  max-width: 100%;
}

.section.active .minimal-content {
  opacity: 1;
  transform: scale(1);
}

.mv-logo {
  margin-bottom: 60px;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 750px) {
  .minimal-content img {
    padding: 60px;
  }

  .bg-wrap {
    grid-template-columns: 1fr;
  }

  .bg-split {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
  }

  .bg-reverse {
    flex-direction: column-reverse;
  }

  .bg-left,
  .bg-right {
    background-size: cover;
    background-position: top;
  }

  .content-box {
    width: 345px;
    max-width: 100%;
    padding: 15px;
  }

  .box-upper {
    width: 100%;
    height: 40%;
    min-height: 200px;
    overflow: hidden;
    }
  .box-upper img {
    width: 318px;
    height: 200px;
  }

  .box-lower {
    grid-template-columns: 1fr;
    padding: 0px;
    font-size: 14px;
    letter-spacing: -0.14px;
  }

  .lower-left {
    width: 100%;
    height: auto;
    text-align: center;
  }

  .lower-left img {
    width: 141px;
    height: 100%;
  }

  .lower-right {
    padding-left: 0;
    display: grid;
  }

  .description {
    width: 316px;
    font-size: 14px;
    letter-spacing: -0.14px;
    line-height: 20px;
    padding-left: 0px;
    margin-top: 0px;
    margin-bottom: 10px;
    margin-left: 0px;
  }

  .product-price {
    display: none;
  }

  .price-container {
    text-align: none;
    align-self: end;
  }

  .product-price-sp {
    font-size: 12px;
    margin-left: 70px;
    margin-right: 0px;
    font-family: "Roboto Slab";
    color: var(--text-color);
    display: flex;
    flex-direction: column;
  }

  .product-price-sp span {
    position: relative;
    align-self: flex-end;
  }

  .product-price-sp span::after {
    content: "";
    width: 0;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: -1px;
    background: var(--text-color);
    transition: 0.3s ease;
  }

  .product-price-sp:active span::after {
    width: 100%;
  }

  .bg-item .bg-last {
    background-size: auto 100%;
  }

  .mv-logo {
    margin-bottom: 110px;
  }
}
