/* Story Page CSS - CSS scroll-snap版 */
/* 元のstyle.cssには影響を与えない独立したスタイル */

/* 基本スタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Kaku Gothic New", "BIZ UDPGothic", "BIZ UDGothic",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic",
    "Meiryo UI", "Meiryo", "MS PGothic", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #373737;
  font-size: 16px;
  background-color: #000;
  overflow-x: hidden;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

.img-contain {
  width: 100%;
  /* height: 100%; */
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Scroll Snap Container */
#story-container {
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-snap-type: none;
  /* JSで制御 */
  scroll-behavior: auto;
}

/* フォントクラス */
.font-mincho {
  font-family: "Shippori Mincho", "BIZ UDPMincho", "BIZ UDMincho",
    "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho",
    "MS PMincho", "MS Mincho", "Times New Roman", serif;
}

/* レスポンシブ改行 */
.br-sp {
  display: none;
}

.br-md {
  display: none;
}

@media (max-width: 768px) {
  .br-sp {
    display: block;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .br-md {
    display: block;
  }
}

@media (min-width: 993px) {
  .sp-only {
    display: none;
  }
}

@media (max-width: 992px) {
  .pc-only {
    display: none;
  }
}

/* ブレイクポイントごとの表示/非表示クラス */
/* 1201px以上で非表示 */
@media (min-width: 1201px) {
  .hide-xl {
    display: none;
  }
}

/* 993px〜1200pxで非表示 */
@media (max-width: 1200px) and (min-width: 993px) {
  .hide-lg {
    display: none;
  }
}

/* 769px〜992pxで非表示 */
@media (max-width: 992px) and (min-width: 769px) {
  .hide-md {
    display: none;
  }
}

/* 768px以下で非表示 */
@media (max-width: 768px) {
  .hide-sm {
    display: none;
  }
}

/* 1201px以上でのみ表示 */
@media (max-width: 1200px) {
  .show-xl-only {
    display: none;
  }
}

/* 993px〜1200pxでのみ表示 */
@media (min-width: 1201px),
(max-width: 992px) {
  .show-lg-only {
    display: none;
  }
}

/* 769px〜992pxでのみ表示 */
@media (min-width: 993px),
(max-width: 768px) {
  .show-md-only {
    display: none;
  }
}

/* 768px以下でのみ表示 */
@media (min-width: 769px) {
  .show-sm-only {
    display: none;
  }
}

/* Header *************************************/
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: transparent;
  transition: background-color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

/* スライド表示中はグローバルヘッダーを非表示 */
#header.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header_logo {
  aspect-ratio: 85 / 93;
  overflow: hidden;
}

@media (min-width: 993px) {
  .header_logo {
    width: 4.427083333vw;
    margin: 1.822916667vw 0 0 2.916666667vw;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .header_logo {
    width: 7.802340702vw;
    margin: 2.340702211vw 0 0 2.600780234vw;
  }
}

@media (max-width: 768px) {
  .header_logo {
    width: 15vw;
    margin: 4.5vw 0 0 5vw;
  }
}

.header_logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* header_nav ナビゲーションメニュー */
#header .header_nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  background-color: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  /* padding: 100px 40px 40px; */
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 101;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1201px) {
  #header .header_nav {
    width: 26.04166667vw;
    padding: 7.8125vw 2.8125vw 2vw;
    gap: 1.5625vw;
  }
}

@media (max-width: 1200px) and (min-width: 993px) {
  #header .header_nav {
    width: 31.25vw;
    padding: 9.375vw 3.375vw 2vw;
    gap: 1.875vw;
  }
}

#header .header_nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

#header .header_nav a {
  font-size: 14px;
  color: #373737;
  text-decoration: none;
  letter-spacing: 0.1em;
  padding: 12px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
  width: 100%;
}

@media (hover: hover) {
  #header .header_nav a:hover {
    border-bottom-color: #373737;
  }
}

/* タブレット・スマホでは全画面メニュー */
@media (max-width: 992px) {
  #header .header_nav {
    width: 100%;
    height: 100dvh;
    padding: 100px 40px 40px;
    transform: translateX(0);
    opacity: 0;
    visibility: hidden;
    box-shadow: none;
    /* justify-content: center; */
    /* align-items: center; */
  }

  #header .header_nav.active {
    opacity: 1;
    visibility: visible;
  }

  #header .header_nav a {
    width: auto;
    text-align: center;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  #header .header_nav a {
    font-size: 2.5vw;
    padding: 1.950585176vw 0;
  }

  #header .header_nav {
    padding: 13.00390117vw 10.40312094vw 5.201560468vw;
  }
}

@media (max-width: 768px) {
  #header .header_nav a {
    font-size: 4.5vw;
    padding: 3.75vw 0;
  }

  #header .header_nav {
    padding: 25vw 20vw 10vw;
  }
}

.nav_link {
  display: block
}

#header .header_nav #link_story_header_collection {
  aspect-ratio: 196 / 22;

  @media (min-width: 1201px) {
    width: 10.20833333vw;
  }

  @media (max-width: 1200px) and (min-width: 993px) {
    width: 12.25vw;
  }

  @media (max-width: 992px) and (min-width: 769px) {
    width: 20.80624187vw;
  }

  @media (max-width: 768px) {
    width: 40vw;
  }
}

#header .header_nav #link_story_header_benefits {
  aspect-ratio: 141 / 22;

  @media (min-width: 1201px) {
    width: 7.34375vw;
  }

  @media (max-width: 1200px) and (min-width: 993px) {
    width: 8.8125vw;
  }

  @media (max-width: 992px) and (min-width: 769px) {
    width: 14.96775563vw;
  }

  @media (max-width: 768px) {
    width: 28.7755102vw;
  }
}

#header .header_nav #link_story_header_commitment {
  aspect-ratio: 220 / 22;

  @media (min-width: 1201px) {
    width: 11.45833333vw;
  }

  @media (max-width: 1200px) and (min-width: 993px) {
    width: 13.75vw;
  }

  @media (max-width: 992px) and (min-width: 769px) {
    width: 23.35394496vw;
  }

  @media (max-width: 768px) {
    width: 44.89795918vw;
  }
}

#header .header_nav #link_story_header_heritage {
  aspect-ratio: 150 / 22;

  @media (min-width: 1201px) {
    width: 7.8125vw;
  }

  @media (max-width: 1200px) and (min-width: 993px) {
    width: 9.375vw;
  }

  @media (max-width: 992px) and (min-width: 769px) {
    width: 15.92314429vw;
  }

  @media (max-width: 768px) {
    width: 30.6122449vw;
  }
}

#header .header_nav #link_story_header_research {
  aspect-ratio: 157 / 22;

  @media (min-width: 1201px) {
    width: 8.177083333vw;
  }

  @media (max-width: 1200px) and (min-width: 993px) {
    width: 9.8125vw;
  }

  @media (max-width: 992px) and (min-width: 769px) {
    width: 16.66622436vw;
  }

  @media (max-width: 768px) {
    width: 32.04081633vw;
  }
}

#header .header_nav #link_story_header_reviews {
  aspect-ratio: 134 / 22;

  @media (min-width: 1201px) {
    width: 6.979166667vw;
  }

  @media (max-width: 1200px) and (min-width: 993px) {
    width: 8.375vw;
  }

  @media (max-width: 992px) and (min-width: 769px) {
    width: 14.22467557vw;
  }

  @media (max-width: 768px) {
    width: 27.34693878vw;
  }
}

#header .header_nav #link_story_header_faq {
  aspect-ratio: 60 / 22;

  @media (min-width: 1201px) {
    width: 3.125vw;
  }

  @media (max-width: 1200px) and (min-width: 993px) {
    width: 3.75vw;
  }

  @media (max-width: 992px) and (min-width: 769px) {
    width: 6.369257716vw;
  }

  @media (max-width: 768px) {
    width: 12.24489796vw;
  }
}

#header .header_nav #link_story_header_comfort {
  aspect-ratio: 153 / 22;

  @media (min-width: 1201px) {
    width: 7.96875vw;
  }

  @media (max-width: 1200px) and (min-width: 993px) {
    width: 9.5625vw;
  }

  @media (max-width: 992px) and (min-width: 769px) {
    width: 16.24160718vw;
  }

  @media (max-width: 768px) {
    width: 31.2244898vw;
  }
}

#header .header_nav #link_story_header_story {
  aspect-ratio: 178 / 22;

  @media (min-width: 1201px) {
    width: 9.270833333vw;
  }

  @media (max-width: 1200px) and (min-width: 993px) {
    width: 11.125vw;
  }

  @media (max-width: 992px) and (min-width: 769px) {
    width: 18.89546456vw;
  }

  @media (max-width: 768px) {
    width: 36.32653061vw;
  }
}

#header .header_nav #link_story_header_contact {
  aspect-ratio: 147 / 22;

  @media (min-width: 1201px) {
    width: 7.65625vw;
  }

  @media (max-width: 1200px) and (min-width: 993px) {
    width: 9.1875vw;
  }

  @media (max-width: 992px) and (min-width: 769px) {
    width: 15.6046814vw;
  }

  @media (max-width: 768px) {
    width: 30.0vw;
  }
}

/* Hamburger Menu *************************************/
.hamburger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 102;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 993px) {
  .hamburger {
    margin: 3.333333333vw 5.208333333vw 0 0;
    width: 2.5vw;
    height: 1.4vw;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .hamburger {
    margin: 5.201560468vw 2.600780234vw 0 0;
    width: 4.421326398vw;
    height: 2.470741222vw;
  }
}

@media (max-width: 768px) {
  .hamburger {
    margin: 10vw 5vw 0 0;
    width: 8.5vw;
    height: 4.75vw;
  }
}

.hamburger.active {
  justify-content: center;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
}

.hamburger span:nth-child(3) {
  top: 100%;
}

/* メニューが開いているとき */
.hamburger.active span {
  background-color: #373737 !important;
}

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: rotate(30deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: 50%;
  transform: rotate(-30deg);
}

/* body固定用クラス（メニュー開閉時） */
@media (max-width: 992px) {

  html.menu-open,
  html.menu-open body {
    overflow: hidden;
    height: 100%;
  }

  body.menu-open {
    position: fixed;
    left: 0;
    right: 0;
    /* top は JavaScript で動的に設定 */
  }
}

/* storyページ用：#story-containerのスクロール停止 */
html.menu-open #story-container {
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}

/* Story Section *************************************/
.story-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

/* Background */
.story-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.story-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.story-overlay-dark {
  background: rgba(0, 0, 0, 0.5);
}

/* KV Section *************************************/
.story-kv-section {
  height: 100vh;
  height: 100dvh;
  justify-content: center;
  align-items: center;
}

.story-kv-section .story-bg-image {
  transform: scale(1) !important;
  transition: none;
}

.story-kv-content {
  position: relative;
  z-index: 5;
  text-align: center;
}

.story-kv-title {
  color: #fff;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  letter-spacing: 0.3em;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
  aspect-ratio: 523 / 56;
}

@media (min-width: 1201px) {
  .story-kv-title {
    width: 27.23958333vw;
  }
}

@media (max-width: 1200px) and (min-width: 993px) {
  .story-kv-title {
    width: 32.6875vw;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .story-kv-title {
    width: 32.2496749vw;
  }
}

@media (max-width: 768px) {
  .story-kv-title {
    width: 62vw;
  }
}

.section.active .story-kv-title {
  opacity: 1;
  transform: translateY(0);
}

/* Header (Title + Counter) */
.story-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3vw;
}

@media (max-width: 992px) {
  .story-header {
    flex-direction: column;
    gap: 3vw;
    margin-bottom: 5vw;
  }
}

@media (max-width: 768px) {
  .story-header {
    gap: 4vw;
  }
}

.story-main-title {
  display: flex;
  align-items: flex-end;
  gap: 2vw;
}

@media (max-width: 992px) {
  .story-main-title {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 2vw;
  }
}

@media (max-width: 768px) {
  .story-main-title {
    gap: 4vw;
  }
}

.story-title-img {
  width: 25vw;
  height: auto;
}

@media (max-width: 1200px) {
  .story-title-img {
    width: 30vw;
  }
}

@media (max-width: 992px) {
  .story-title-img {
    width: 31vw;
  }
}

@media (max-width: 768px) {
  .story-title-img {
    width: 59vw;
  }
}

.story-title-sub {
  color: #fff;
  font-size: 1.35vw;
  font-weight: bold;
  letter-spacing: 0.25em;
  line-height: 1;
}

@media (max-width: 1200px) {
  .story-title-sub {
    font-size: 1.6vw;
  }
}

@media (max-width: 992px) {
  .story-title-sub {
    font-size: 1.6vw;
  }
}

@media (max-width: 768px) {
  .story-title-sub {
    font-size: 3vw;
  }
}

/* Counter */
.story-counter {
  display: flex;
  align-items: baseline;
  gap: 0.3vw;
  color: #fff;
  font-family: "Shippori Mincho", serif;
}

@media (max-width: 992px) {
  .story-counter {
    position: absolute;
    top: 4vw;
    right: 4vw;
  }
}

@media (max-width: 768px) {
  .story-counter {
    top: 6vw;
    right: 5vw;
  }
}

.story-counter-current {
  font-size: 3.5vw;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 1200px) {
  .story-counter-current {
    font-size: 4.2vw;
  }
}

@media (max-width: 768px) {
  .story-counter-current {
    font-size: 8vw;
  }
}

.story-counter-separator {
  font-size: 1.5vw;
  opacity: 0.7;
  margin: 0 0.3vw;
}

@media (max-width: 768px) {
  .story-counter-separator {
    font-size: 3vw;
  }
}

.story-counter-total {
  font-size: 1.5vw;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .story-counter-total {
    font-size: 3vw;
  }
}

/* Main Content Wrapper */
.story-main {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10.3125vw 4.6875vw 4.166666667vw 11.45833333vw;
}

@media (max-width: 1200px) {
  .story-main {
    padding: 12.375vw 5.625vw 5vw 13.75vw;
  }
}

@media (max-width: 992px) {
  .story-main {
    padding: 22.75682705vw 3.901170351vw 6.501950585vw 3.901170351vw;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .story-main {
    padding: 32vw 7.5vw 25vw 7.5vw;
    align-items: flex-start;
  }
}

/* Body (Text + Images side by side) */
.story-body {
  display: flex;
  align-items: center;
  gap: 3vw;
}

@media (max-width: 768px) {
  .story-body {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Content (Text) */
.story-content {
  color: #fff;
  flex: 1;
}


.story-slide-title {
  font-size: 1.8vw;
  font-weight: bold;
  line-height: 1.7;
  letter-spacing: 0.4em;
  margin-bottom: 3.5vw;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

@media (max-width: 1200px) {
  .story-slide-title {
    font-size: 2.2vw;
    margin-bottom: 4.3vw;
  }
}

@media (max-width: 992px) {
  .story-slide-title {
    font-size: 2.7vw;
    letter-spacing: 0.1em;
    margin-bottom: 4.5vw;
  }
}

@media (max-width: 768px) {
  .story-slide-title {
    font-size: 5.25vw;
    margin-bottom: 8.75vw;
  }
}

.section.active .story-slide-title {
  opacity: 1;
  transform: translateY(0);
}

.story-slide-text {
  font-size: 1vw;
  font-weight: bold;
  line-height: 2.3;
  letter-spacing: 0.25em;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

@media (max-width: 1200px) {
  .story-slide-text {
    font-size: 1.2vw;
  }
}

@media (max-width: 992px) {
  .story-slide-text {
    font-size: 1.8vw;
    line-height: 2;
    letter-spacing: 0;
  }
}

@media (max-width: 768px) {
  .story-slide-text {
    font-size: 3.5vw;
  }
}

.section.active .story-slide-text {
  opacity: 1;
  transform: translateY(0);
}

/* Image Container */
.story-image-container {
  width: 40vw;
  max-width: 800px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.8s ease 0.7s;
}

@media (max-width: 768px) {
  .story-image-container {
    width: 100%;
    max-width: none;
  }
}

.section.active .story-image-container {
  opacity: 1;
}

.story-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Navigation Indicator (in fixed header) */
.story-indicator {
  position: absolute;
  right: 2.864583333vw;
  top: 0.3645833333vw;
  display: flex;
  flex-direction: column;
  gap: 0.4166666667vw;
  pointer-events: auto;
}

@media (max-width: 1200px) {
  .story-indicator {
    right: 34px;
    top: 5px;
    gap: 5px;
  }
}

@media (max-width: 992px) {
  .story-indicator {
    right: 20px;
    top: 5px;
    gap: 5px;
  }
}

.indicator-dot {
  width: 2px;
  height: 1.25vw;
  background-color: #fff;
  cursor: pointer;
  transition: height 0.3s ease;
}

@media (max-width: 1200px) {
  .indicator-dot {
    height: 15px;
  }
}

@media (max-width: 992px) {
  .indicator-dot {
    height: 1.56046814vw;
  }
}

@media (max-width: 768px) {
  .indicator-dot {
    height: 3vw;
  }
}

.indicator-dot.active {
  height: 3.125vw;
}

@media (max-width: 1200px) {
  .indicator-dot.active {
    height: 38px;
  }
}

@media (max-width: 992px) {
  .indicator-dot.active {
    height: 3.771131339vw;
  }
}

@media (max-width: 768px) {
  .indicator-dot.active {
    height: 7.25vw;
  }
}

.indicator-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* NEXT Button */
.story_next {
  position: absolute;
  bottom: 1.041666667vw;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 10;
  animation: bounceArrow 2s ease-in-out infinite;
}

@media (max-width: 1200px) {
  .story_next {
    bottom: 14px;
  }
}

@media (max-width: 992px) {
  .story_next {
    bottom: 20px;
  }
}

.story_next:hover {
  opacity: 0.7;
}

.story_next img {
  height: 0.9375vw;
  width: auto;
}

@media (max-width: 1200px) {
  .story_next img {
    height: 12px;
  }
}

@media (max-width: 992px) {
  .story_next img {
    height: 11px;
  }
}

.story_arrow {
  width: 1.5625vw;
  height: 1.5625vw;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  rotate: -45deg;
}

@media (max-width: 1200px) {
  .story_arrow {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 992px) {
  .story_arrow {
    width: 8px;
    height: 8px;
  }
}

@keyframes bounceArrow {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 5px;
  }
}

/* Last Section (Story 6 + Footer) *************************************/
.story-last-section {
  min-height: auto;
  height: auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.story-last-wrapper {
  display: flex;
  flex-direction: column;
}

.story-last-content {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.story-last-content .story-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Footer Section *************************************/

.story-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 5vw;
  background-color: #f1f4f5;

  @media (min-width: 1201px) {
    padding: 10vw 0 3.020833333vw;
  }

  @media (max-width: 1200px) {
    padding: 80px 0 39px;
  }

  @media (max-width: 992px) {
    padding: 100px 0 35px;
  }
}

/* Footer Logo */
.footer_logo {
  width: 14.16666667vw;
  aspect-ratio: 682 / 244;
}

@media (max-width: 992px) {
  .footer_logo {
    width: 40vw;
  }
}

.footer_logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* SNS Link */
.sns_link {
  display: flex;
  justify-content: center;
  margin-top: 2.916666667vw;
}

@media (max-width: 992px) {
  .sns_link {
    margin-top: 6vw;
  }
}

.instagram_link {
  display: block;
  width: 3.385416667vw;
  aspect-ratio: 1 / 1;
  transition: opacity 0.3s ease;
}

@media (max-width: 992px) {
  .instagram_link {
    width: 10vw;
  }
}

.instagram_link:hover {
  opacity: 0.8;
}

.instagram_link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Tel */
.tel {
  margin-top: 2.916666667vw;
  width: 23.95833333vw;
  aspect-ratio: 922 / 68;
}

@media (max-width: 992px) {
  .tel {
    width: 50vw;
    margin-top: 6vw;
    aspect-ratio: 798 / 183;
  }
}

.tel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Footer Link */
.footer_link {
  display: flex;
  justify-content: center;
  gap: 0 2.708333333vw;
  margin-top: 2.291666667vw;
  list-style: none;
}

@media (max-width: 992px) {
  .footer_link {
    margin-top: 6vw;
    flex-direction: column;
    gap: 2vw 0;
    align-items: center;
  }
}

.footer_link_item {
  list-style: none;
}

.footer_link_item a {
  font-size: 0.9375vw;
  line-height: 2.2;
  letter-spacing: 0.25em;
  color: #373737;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

@media (max-width: 992px) {
  .footer_link_item a {
    font-size: 3vw;
  }
}

.footer_link_item a:hover {
  text-decoration: underline;
}

/* Copyright */
.copyright {
  display: block;
  width: 15.46875vw;
  aspect-ratio: 594 / 32;
  margin-top: 3.75vw;
}

@media (max-width: 992px) {
  .copyright {
    margin-top: 8vw;
    width: 50vw;
  }
}

.copyright img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Online Shop Button */
.online_shop_btn {
  position: absolute;
  z-index: 99;
  display: block;
  overflow: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, width 0.3s ease, height 0.3s ease;

  @media (min-width: 1201px) {
    bottom: 5.052083333vw;
    right: 5.052083333vw;
    width: 6.770833333vw;
    height: 6.770833333vw;
  }

  @media (max-width: 1200px) and (min-width: 993px) {
    bottom: 6.0625vw;
    right: 6.0625vw;
    width: 8.125vw;
    height: 8.125vw;
  }

  @media (max-width: 992px) and (min-width: 769px) {
    bottom: 2.600780234vw;
    right: 2.600780234vw;
    width: 9.10273081946vw;
    height: 9.10273081946vw;
  }

  @media (max-width: 768px) {
    bottom: 5vw;
    right: 5vw;
    width: 17.5vw;
    height: 17.5vw;
  }
}

.online_shop_btn picture {
  display: block;
  position: absolute;
}

.online_shop_btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.online_shop_btn .online_shop_btn_default {
  opacity: 1;
  transition: opacity 0.3s ease;
  bottom: 0;
  right: 0;

  @media (min-width: 1201px) {
    width: 6.770833333vw;
    height: 6.770833333vw;
  }

  @media (max-width: 1200px) and (min-width: 993px) {
    width: 8.125vw;
    height: 8.125vw;
  }

  @media (max-width: 992px) and (min-width: 769px) {
    width: 9.10273081946vw;
    height: 9.10273081946vw;
  }

  @media (max-width: 768px) {
    width: 17.5vw;
    height: 17.5vw;
  }
}

.online_shop_btn .online_shop_btn_hover {
  opacity: 0;
  transition: opacity 0.3s ease;
  bottom: 0;
  right: 0;

  @media (min-width: 1201px) {
    width: 36.66666667vw;
    height: 11.66666667vw;
  }

  @media (max-width: 1200px) and (min-width: 993px) {
    width: 44vw;
    height: 14vw;
  }

  @media (max-width: 992px) and (min-width: 769px) {
    width: 39.01170351vw;
    height: 12.35370611vw;
  }

  @media (max-width: 768px) {
    width: 75vw;
    height: 23.75vw;
  }
}

/* Hover effect only for non-touch devices */
@media (hover: hover) and (pointer: fine) {
  .online_shop_btn:hover {

    @media (min-width: 1201px) {
      width: 36.66666667vw;
      height: 11.66666667vw;
    }

    @media (max-width: 1200px) and (min-width: 993px) {
      width: 44vw;
      height: 14vw;
    }

    @media (max-width: 992px) and (min-width: 769px) {
      width: 39.01170351vw;
      height: 12.35370611vw;
    }

    @media (max-width: 768px) {
      width: 75vw;
      height: 23.75vw;
    }
  }

  .online_shop_btn:hover .online_shop_btn_default {
    opacity: 0;
  }

  .online_shop_btn:hover .online_shop_btn_hover {
    opacity: 1;
  }
}

/* Fixed Story Header (Title + Counter) - Fixed overlay */
.story-fixed-header {
  position: fixed;
  top: 5.729166667vw;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 0 0 11.45833333vw;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.story-fixed-header.visible {
  opacity: 1;
}

@media (max-width: 1200px) {
  .story-fixed-header {
    padding: 0 13.75vw;
  }
}

@media (max-width: 992px) {
  .story-fixed-header {
    top: 6.875vw;
    padding: 0 3.901170351vw;
    flex-direction: column;
    gap: 3vw;
  }
}

@media (max-width: 768px) {
  .story-fixed-header {
    top: 5vw;
    padding: 0 7.5vw;
    gap: 4vw;
  }
}

.story-fixed-header .story-main-title {
  display: flex;
  align-items: flex-end;
  gap: 2vw;
}

@media (max-width: 992px) {
  .story-fixed-header .story-main-title {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 2vw;
    margin-top: 2.542262679vw;
  }
}

@media (max-width: 768px) {
  .story-fixed-header .story-main-title {
    gap: 4vw;
    margin-top: 9.5vw;
  }
}

.story-fixed-header .story-title-img {
  width: 25vw;
  height: auto;
}

@media (max-width: 1200px) {
  .story-fixed-header .story-title-img {
    width: 30vw;
  }
}

@media (max-width: 992px) {
  .story-fixed-header .story-title-img {
    width: 31vw;
  }
}

@media (max-width: 768px) {
  .story-fixed-header .story-title-img {
    width: 59vw;
  }
}

.story-fixed-header .story-title-sub {
  color: #fff;
  font-size: 1.35vw;
  font-weight: bold;
  letter-spacing: 0.25em;
  line-height: 1;
}

@media (max-width: 1200px) {
  .story-fixed-header .story-title-sub {
    font-size: 1.6vw;
  }
}

@media (max-width: 992px) {
  .story-fixed-header .story-title-sub {
    font-size: 1.6vw;
  }
}

@media (max-width: 768px) {
  .story-fixed-header .story-title-sub {
    font-size: 3vw;
  }
}

/* Fixed Counter with SVG images */
.story-fixed-header .story-counter {
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 5.46875vw;
}

@media (max-width: 1200px) {
  .story-fixed-header .story-counter {
    padding-right: 6.5625vw;
  }
}

@media (max-width: 992px) {
  .story-fixed-header .story-counter {
    position: absolute;
    top: 0;
    right: 4vw;
    padding-right: 2.600780234vw;
  }
}

@media (max-width: 768px) {
  .story-fixed-header .story-counter {
    right: 5vw;
  }
}

.story-counter-now {
  height: 2.1875vw;
  width: 2.447916667vw;
  margin-right: 2.291666667vw;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 1200px) {
  .story-counter-now {
    height: 2.625vw;
    width: 2.9375vw;
    margin-right: 2.75vw;
  }
}

@media (max-width: 992px) {
  .story-counter-now {
    height: 2.080624187vw;
    width: 2.340702211vw;
    margin-right: 2.080624187vw;
  }
}

@media (max-width: 768px) {
  .story-counter-now {
    height: 4vw;
    width: 4.5vw;
    margin-right: 4vw;
  }
}

.story-counter-now::before {
  content: "";
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center left;
  background-repeat: no-repeat;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.story-counter-now.changing::before {
  opacity: 0;
  transform: translateY(-5px);
}

.story-counter-now.slide1::before {
  background-image: url(../images/story/01.svg);
}

.story-counter-now.slide2::before {
  background-image: url(../images/story/02.svg);
}

.story-counter-now.slide3::before {
  background-image: url(../images/story/03.svg);
}

.story-counter-now.slide4::before {
  background-image: url(../images/story/04.svg);
}

.story-counter-now.slide5::before {
  background-image: url(../images/story/05.svg);
}

.story-counter-now.slide6::before {
  background-image: url(../images/story/06.svg);
}

.story-counter-now::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  height: 1.145833333vw;
  width: 0.3125vw;
  margin-left: 1.145833333vw;
  background-image: url(../images/story/counter_slash.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 1200px) {
  .story-counter-now::after {
    height: 1.375vw;
    width: 0.375vw;
    margin-left: 1.375vw;
  }
}

@media (max-width: 992px) {
  .story-counter-now::after {
    height: 1.300390117vw;
    width: 0.3901170351vw;
    margin-left: 1.300390117vw;
  }
}

@media (max-width: 768px) {
  .story-counter-now::after {
    height: 2.5vw;
    width: 0.75vw;
    margin-left: 2.5vw;
  }
}

.story-counter-all {
  height: 1.041666667vw;
  width: 1.5625vw;
  background-image: url(../images/story/06.svg);
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
}

@media (max-width: 1200px) {
  .story-counter-all {
    height: 13px;
    width: 19px;
  }
}

@media (max-width: 992px) {
  .story-counter-all {
    height: 1.170351105vw;
    width: 1.690507152vw;
  }
}

@media (max-width: 768px) {
  .story-counter-all {
    height: 2.25vw;
    width: 3.25vw;
  }
}

/* Header light mode for footer */
#header.is-light .header_logo img {
  filter: brightness(0);
}

#header.is-light .hamburger span {
  background-color: #373737;
}

#header.is-light .nav_link {
  color: #373737;
}

#header.is-light .nav_link:hover {
  border-bottom-color: #373737;
}

/* Top Button */
.top_btn {
  position: fixed;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  filter: invert(1);
  mix-blend-mode: difference;
}

@media (min-width: 1201px) {
  .top_btn {
    bottom: 6.25vw;
    left: 3.90625vw;
    width: 0.7291666667vw;
    height: 8.072916667vw;
  }
}

@media (max-width: 1200px) and (min-width: 993px) {
  .top_btn {
    bottom: 7.5vw;
    left: 4.6875vw;
    width: 0.875vw;
    height: 9.6875vw;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .top_btn {
    bottom: 3.901170351vw;
    left: 3.250975293vw;
    width: 1.300390117vw;
    height: 13.65409623vw;
  }
}

@media (max-width: 768px) {
  .top_btn {
    bottom: 7.50vw;
    left: 6.25vw;
    width: 2.5vw;
    height: 26.25vw;
  }
}

.top_btn.is-visible {
  opacity: 1;
  visibility: visible;
}

.top_btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (hover: hover) {
  .top_btn:hover {
    opacity: 0.7;
  }
}