/* ===============================
   ページ全体ローディング中のスクロール禁止
================================= */
body.loading-active {
  overflow: hidden;
}

/* ===============================
   ローディング画面ベース
================================= */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #fff url("../../../images/home/20251002/loading/loading_bg.png")
    no-repeat center/cover;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* 完全に非表示 */
.loading-screen.is-fully-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ===============================
   ローディング中のロゴ・テキスト
================================= */
.loading-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #000;
  transition: opacity 0.6s ease, transform 1s ease;
  will-change: opacity, transform, filter;
}

.loading-logo {
  width: 200px;
  margin-bottom: 102px;
}

.loading-text p {
  text-align: center;
  line-height: 20px;
  letter-spacing: 0.08em;
}

.loading-ja {
  font-size: 24px;
}

.loading-en {
  font-family: meno-banner-condensed, serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  margin-top: 12px;
}

/* ===============================
   ロゴ・テキスト フェードアウト（ぼかし＋拡大）
================================= */
.loading-screen.is-text-hidden .loading-content {
  opacity: 0;
  filter: blur(6px);
}

/* ===============================
   背景フェードアウト
================================= */
.loading-screen.is-background-fading {
  animation: bgFadeOut 1.8s cubic-bezier(0.45, 0, 0.15, 1) forwards;
}

@keyframes bgFadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ===============================
   初期状態
================================= */
.loading-screen,
.loading-content {
  opacity: 1;
}

.top-first-view {
  position: relative;
  width: 100%;
}

.background-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.background-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.vertical-text {
  display: flex;
  gap: 16px;
  position: absolute;
  left: 16%;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 1023px) {
  .vertical-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    left: 5%;
    top: 20%;
    transform: none;
  }
}

.vertical-text .jp {
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: #fff;
  font-size: 32px;
  letter-spacing: 0px;
}

@media (max-width: 1023px) {
  .vertical-text .jp {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0.05em;
  }
}

.vertical-text .en {
  padding-left: 0px;
  color: #fff;
  font-size: 14px;
  opacity: 0.8;
  transform: rotate(90deg);
  transform-origin: left top;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .vertical-text .en {
    padding-left: 0;
    transform: none;
    transform-origin: initial;
    font-size: 14px;
    opacity: 0.8;
  }
}

.floating-btn {
  position: fixed;
  right: 40px;
  bottom: 150px;
  z-index: 99;
  width: 200px;
}

.floating-btn__link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.floating-btn__link img {
  display: block;
  width: 100%;
  height: auto;
}

.floating-btn__close {
  position: absolute;
  top: -19px;
  right: -17px;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 21px;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 1023px) {
  .floating-btn {
    width: 148px;
    right: 20px;
    bottom: 100px;
  }
  .floating-btn__close {
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    font-size: 16px;
  }
}

/* 共通 */
.pc_only {
  display: block;
}

@media (max-width: 1023px) {
  .pc_only {
    display: none;
  }
}

.top-home__text_sm_en {
  font-family: meno-banner-condensed, serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.08em;
  color: #b16b30;
}

.top-home__section_title {
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 48px;
  letter-spacing: 0.08em;
  color: #1c1c1c;
}

.top-home__description {
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.08em;
  color: #1c1c1c;
}

.top-home__btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 72px;
  background-color: transparent;
  border: 1px solid #1c1c1c;
  color: #1c1c1c;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.top-home__btn:hover {
  background-color: #1c1c1c;
  color: #fff;
}

.top-home__btn:before {
  content: "";
  width: 12px;
  height: 12px;
  border: 0;
  border-top: solid 1px #1c1c1c;
  border-right: solid 1px #1c1c1c;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 12px;
  bottom: 0;
  margin: auto;
}
.top-home__btn:hover::before {
  border-top-color: #fff;
  border-right-color: #fff;
}

.top-home__btn a {
  transition: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.top-home__btn a:hover {
  color: #fff !important;
}

.fade-in {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 2s cubic-bezier(0.18, 0.06, 0.23, 1) 0s,
    filter 1.8s ease 0s;
}

.fade-in.is-visible {
  opacity: 1;
  filter: blur(0);
}

/* セクション別 */
.top-home_about_contents {
  position: relative;
  padding-top: 160px;
  margin-bottom: 286px;
}

.top-home_about_text_container {
  margin: 0 auto;
  text-align: center;
}

.top-home_about__text {
  margin-top: 32px;
  font-weight: 500;
  font-size: 20px;
  line-height: 40px;
  letter-spacing: 0.08em;
  margin-bottom: 74px;
}

@media (max-width: 1023px) {
  .top-home_about__text {
    margin-bottom: 40px;
  }
}

.about-btn {
  display: inline-flex;
  width: 350px;
  z-index: 2;
}

.about_1002_1 {
  position: absolute;
  display: block;
  top: 56px;
  width: 26.5%;
}
.about_1002_2 {
  position: absolute;
  display: block;
  top: 356px;
  width: 25%;
}
.about_1002_3 {
  position: absolute;
  display: block;
  top: 80px;
  right: 118px;
  width: 18%;
}
.about_1002_4 {
  position: absolute;
  display: block;
  top: 457px;
  right: 0;
  width: 22%;
}
.about_1002_5 {
  position: absolute;
  display: block;
  top: 736px;
  right: 54px;
  width: 18%;
}
.about_1002_6 {
  display: none;
}

.top-home_about_pc_only {
  display: inline;
}

@media (max-width: 1023px) {
  .top-home_about_contents {
    padding: 80px 20px 120px;
    margin-bottom: 0;
  }

  .top-home_about_contents .top-home__text_sm_en {
    width: 100%;
  }

  .top-home_about_contents .top-home__section_title {
    width: 100%;
  }

  .top-home_about_text_container {
    text-align: left;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .top-home_about_pc_only {
    display: none;
  }

  .about_1002_1 {
    position: absolute;
    top: 0px;
    left: -34px;
    width: 279px;
    height: 186px;
  }
  .about_1002_4 {
    position: absolute;
    top: 480px;
    right: -27px;
    width: 195px;
    height: 219px;
    z-index: 1;
  }
  .about_1002_6 {
    display: block;
    margin-top: 80px;
    width: calc(100% + 40px);
    margin-left: -20px;
    height: auto;
    position: relative;
    z-index: 2;
  }
  .about_1002_2,
  .about_1002_3,
  .about_1002_5 {
    display: none;
  }
}

.top-home_product {
  width: 100%;
  background: url("../../../images/home/20251002/product/pattern_bg.jpg");
  background-size: 400px;
  position: relative;
  padding: 170px 40px;
}

@media (max-width: 1023px) {
  .top-home_product {
    padding: 80px 0;
  }
}

.top-home_product_contents {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1023px) {
  .top-home_product_contents {
    padding: 0 20px;
  }
}

.top-home_product_title {
  font-family: meno-banner-condensed, serif !important;
  font-style: normal;
  font-weight: 700;
  font-size: 200px;
  color: rgba(0, 0, 0, 0.11);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 164px;
  text-align: left;
  position: absolute;
  top: -74px;
  letter-spacing: 0.05em;
}

@media (max-width: 1023px) {
  .top-home_product_title {
    font-size: 70px;
    line-height: 68px;
    top: -36px;
  }
}

.top-home_product_items {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  gap: 40px;
}

@media (max-width: 767px) {
  .top-home_product_items {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

.top-home_product_item {
  text-align: left;
  background-color: #fff;
  width: 50%;
}

@media (max-width: 1023px) {
  .top-home_product_item {
    width: 100%;
    max-width: 353px;
    text-align: left;
  }
}

.top-home_product_image {
  position: relative;
}

.top-home_product_image img:first-child {
  width: 100%;
  height: auto;
  max-width: 580px;
  display: block;
  object-fit: cover;
}

@media (max-width: 1023px) {
  .top-home_product_image img:first-child {
    width: 353px;
    height: 219px;
  }
}

.top-home_product_package {
  position: absolute;
  top: 154px;
  right: 40px;
  width: 31.5%;
}

@media (max-width: 1023px) {
  .top-home_product_package {
    top: 121px;
    right: 20px;
    width: 120px;
    height: 196px;
  }
}

.top-home_product_text {
  margin: 32px 0;
  padding: 0 40px;
}

.top-home_product_name {
  margin-bottom: 8px;
}

.top-home_product_desc {
  margin-bottom: 40px;
}

@media (max-width: 1023px) {
  .top-home_product_text {
    margin: 20px 0;
    padding: 0 20px;
  }
}

.top-home_product_trial {
  margin-top: 100px;
  padding: 40px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-home_product_trial_image {
  width: 45%;
}

.top-home_product_trial_text {
  width: 48%;
}

.top-home_product_trial_title {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-home_product_trial_label {
  color: #fff;
  background-color: #b16b30;
  padding: 7px 20px 9px;
  border-radius: 26px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: 0.08em;
  font-size: 18px;
}

.product_trial-btn {
  width: 100%;
}

.top-home_product_commitment {
  position: relative;
  overflow: visible;
  max-width: 100%;
  margin: 100px auto 0;
}

.top-home_product-btns {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.product-btn {
  display: inline-flex;
  width: 50%;
}

@media (max-width: 1023px) {
  .top-home_product-btns {
    flex-direction: column;
  }
  .product-btn {
    width: 100%;
  }
  .top-home_product_commitment {
    max-width: 747px;
  }

  .top-home_product_trial {
    max-width: 747px;
    flex-direction: column;
    margin: 100px auto;
    gap: 20px;
  }

  .top-home_product_trial_image {
    width: 100%;
  }

  .top-home_product_trial_text {
    width: 100%;
  }

  .product_trial-btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .top-home_product_commitment {
    max-width: 353px;
  }

  .top-home_product_trial {
    padding: 20px;
    max-width: 353px;
    margin: 20px auto;
  }

  .top-home_product_trial_title {
    margin-bottom: 20px;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0px;
    margin-top: 12px;
  }

  .top-home_product_trial_label {
    padding: 4px 12px 6px;
    font-size: 16px;
  }
}

.product-text {
  margin: 0 auto;
}

.product-arrow {
  margin-right: 12px;
  width: 8px;
  height: 16px;
  transition: transform 0.3s ease;
}

.top-home_commitment_title {
  margin-bottom: 40px;
}

@media (max-width: 1023px) {
  .top-home_commitment_title {
    margin-bottom: 20px;
  }
}

.top-home_commitment_nav {
  position: absolute;
  top: 46px;
  right: 0;
  display: flex;
  gap: 40px;
  z-index: 2;
}

.top-home_commitment_prev,
.top-home_commitment_next {
  width: 12px;
  height: 24px;
  cursor: pointer;
}

.top-home_commitment_slider {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-behavior: auto;
  scrollbar-width: none;
  max-width: max-content;
  width: 100vw;
  padding-right: calc(100vw - 1200px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  user-select: none;
}

.top-home_commitment_slider img {
  pointer-events: none;
  user-drag: none;
  -webkit-user-drag: none;
}

@media (max-width: 1279px) {
  .top-home_commitment_slider {
    padding-right: 80px;
  }
}

@media (max-width: 1023px) {
  .top-home_commitment_slider {
    gap: 20px;
    padding-right: calc(100vw - 747px);
  }
}

@media (max-width: 767px) {
  .top-home_commitment_slider {
    padding-right: calc(100vw - 353px);
  }
}

.top-home_commitment_slider::-webkit-scrollbar {
  display: none;
}

.top-home_commitment_item {
  flex: 0 0 auto;
  background-color: #fff;
  width: 692px;
  height: 260px;
  display: flex;
  align-items: flex-start;
  scroll-snap-align: start;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .top-home_commitment_item {
    flex-direction: column;
    width: 300px;
    height: auto;
  }
}

.top-home_commitment_img {
  width: 231px;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1023px) {
  .top-home_commitment_img {
    width: 300px;
    height: 338px;
  }
}

.top-home_commitment_text {
  flex: 1;
  padding: 30px 40px;
  text-align: left;
}

@media (max-width: 1023px) {
  .top-home_commitment_text {
    padding: 20px;
  }
}

.top-home_commitment_name {
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0.08em;
  color: #1c1c1c;
  font-size: 18px;
  margin-bottom: 6px;
}

@media (max-width: 1023px) {
  .top-home_commitment_name {
    line-height: 40px;
    margin-bottom: 4px;
  }
}

.top-home_subscription {
  margin: 160px 0;
}

@media (max-width: 1023px) {
  .top-home_subscription {
    margin: 80px 0;
    padding: 0 20px;
  }
}

.top-home_subscription_contents {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

@media (max-width: 1023px) {
  .top-home_subscription_contents {
    flex-direction: column;
    gap: 40px;
  }
}

.top-home_subscription_text {
  flex: 1;
}

@media (max-width: 1023px) {
  .top-home_subscription_text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .top-home_subscription .top-home__text_sm_en {
    width: 100%;
  }

  .top-home_subscription .top-home__section_title {
    width: 100%;
  }
}

.top-home_subscription_image {
  flex: 1;
}

@media (max-width: 1023px) {
  .top-home_subscription_image {
    order: -1;
    text-align: center;
  }
}

.top-home_subscription_image img {
  width: 100%;
  max-width: 600px;
}

.top-home_subscription_title {
  margin-bottom: 32px;
}

.top-home_subscription_desc {
  margin-bottom: 32px;
}

.subscription-btn {
  display: inline-flex;
  width: 350px;
}

.top-home_gift {
  width: 100%;
  height: 800px;
  background: #f7f7f7 url("../../../images/home/20251002/gift/giftbox.png")
    no-repeat center center / 51.5%;
  position: relative;
}

.top-home_gift_contents {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  position: relative;
  padding: 120px 0;
}

.top-home_giftbox_image {
  display: none;
}

.top-home_gift_trial {
  display: none;
  position: absolute;
  right: 0;
  bottom: 88px;
}

.top-home_gift_label__container {
  width: 100%;
}

.top-home_gift_label {
  color: #fff;
  background-color: #b16b30;
  padding: 7px 20px 9px;
  border-radius: 26px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: 0.08em;
  font-size: 18px;
  margin-top: 16px;
  margin-bottom: 4px;
  display: inline-block;
}

.top-home_gift_title {
  margin-bottom: 32px;
}

.top-home_gift_desc {
  margin-bottom: 32px;
}

.gift-btn {
  display: inline-flex;
  width: 350px;
}

@media (max-width: 1023px) {
  .top-home_gift_text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .top-home_gift .top-home__text_sm_en {
    width: 100%;
  }

  .top-home_gift .top-home__section_title {
    width: 100%;
  }

  .top-home_gift_label {
    padding: 4px 12px 6px;
    font-size: 16px;
  }
}

.top-home_gift_circle {
  width: 328px;
  height: 328px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.top-home_gift_circle img {
  width: 220px;
  height: auto;
}

.top-home_gift_circle p {
  margin-top: -20px;
}

@media (max-width: 1023px) {
  .top-home_gift {
    height: auto;
    padding: 0;
    background: #f7f7f7;
  }

  .top-home_gift_contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 0;
  }

  .top-home_gift_text {
    position: static;
    margin-bottom: 40px;
    text-align: left;
  }

  .top-home_gift_title {
    margin-bottom: 20px;
  }

  .top-home_gift_desc {
    margin-bottom: 24px;
  }

  .top-home_giftbox_image {
    display: block;
    width: 100%;
    min-width: 355px;
    height: auto;
  }

  .top-home_gift_trial {
    position: static;
    width: 100%;
  }

  .top-home_gift_circle {
    padding: 0 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    border-radius: 0;
    justify-content: center;
  }

  .top-home_gift_circle img {
    width: 128px;
    height: 128px;
  }

  .top-home_gift_circle p {
    margin-top: 0;
    width: 185px;
    text-align: left;
  }
}

.top-home_news {
  width: 100%;
}

.top-home_news_contents {
  width: 90%;
  max-width: 1200px;
  margin: 160px auto;
}

.top-home_news__list {
  margin-top: 40px;
  width: 100%;
  border-top: 1px solid #7d7d7d;
  border-bottom: 1px solid #7d7d7d;
}

.top-home_news__list__item:not(:last-child) {
  border-bottom: 1px solid #7d7d7d;
}

.top-home_news__article {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 32px 0;
}

.top-home_news__date {
  color: #7d7d7d;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0.08em;
}

.top-home_news__article__title {
  color: #1c1c1c;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0.08em;
}

@media (max-width: 1023px) {
  .top-home_news_contents {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    margin: 80px auto 120px;
  }

  .top-home_news__article {
    flex-direction: column;
    align-items: start;
    gap: 12px;
    padding: 20px 0;
  }

  .top-home_news__date {
    font-size: 12px;
    line-height: 19px;
  }
}
