@charset "UTF-8";



/* =========================================================
   今後追加予定
   ・スクロールアニメーション
========================================================= */


/* =========================================================
   リセット / 共通
========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background-color: #FEFEF9;
  color: #000;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt";
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  vertical-align: bottom;
}


/* =========================================================
   main 共通ルール
========================================================= */

main {
  padding-top: 81px;
}

.section {
  padding: 120px 0;
}

.container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ========================================
   共通ボタンモーション
======================================== */

.btn-motion{
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    color 0.4s ease;
}

.btn-motion::after{
  transition: transform 0.35s ease;
}

.btn-motion:hover::after{
  transform: translateX(4px);
}




/* =========================================================
   セクション見出し
========================================================= */

.section-head {
  margin-bottom: 48px;
}

.section-title {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  font-weight: 400;
}

.section-sub {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #666;
}


/* =========================================================
   固定ヘッダー
========================================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #FEFEF9;
  z-index: 1000;
  transition:
    height 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
  backdrop-filter: blur(4px);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 40px;
  transition: height 0.4s ease;
}

.header-logo img {
  display: block;
  height: 40px;
  transition: height 0.4s ease;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 30px;
}

.icon-link img {
  display: block;
  width: 22px;
}

.header-divider {
  width: 1px;
  height: 28px;
  background: #aaa;
}

.header-border {
  width: 0;
  height: 1px;
  background: #999;
  animation: borderDraw 1s ease forwards;
  animation-delay: 0.4s;
}

@keyframes borderDraw {
  to {
    width: 100%;
  }
}

.icon-link,
.hamburger {
  transition: opacity 0.35s ease;
}

.icon-link:hover,
.hamburger:hover {
  opacity: 0.6;
}


/* =========================================================
   スクロール時のヘッダー変化
========================================================= */

.header-scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.header-scrolled .header-container {
  height: 64px;
}

.header-scrolled .header-logo img {
  height: 28px;
}


/* =========================================================
   ハンバーガー
========================================================= */

.hamburger {
  position: relative;
  width: 45px;
  height: 18px;
  border: none;
  background: none;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #333;
  transform-origin: center;
  transition: 1s cubic-bezier(.19,1,.22,1);
}

.hamburger span:nth-child(1) {
  transform: translateY(-5px);
}

.hamburger span:nth-child(2) {
  transform: translateY(5px);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(0) rotate(10deg);
}

.hamburger.active span:nth-child(2) {
  transform: translateY(0) rotate(-10deg);
}


/* =========================================================
   オーバーレイ
========================================================= */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: 0.5s ease 0.1s;
  z-index: 10;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}


/* =========================================================
   ハンバーガーナビ本体
========================================================= */

.nav {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: #FEFEF9;
  padding: 100px 40px;
  transition: 0.8s cubic-bezier(.19,1,.22,1);
  z-index: 100;
}

.nav.open {
  right: 0;
}

.nav-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.nav ul {
  list-style: none;
}

.nav a {
  color: #111;
  text-decoration: none;
}

.nav-main {
  list-style: none;
}

.nav-bottom {
  margin-top: 40px;
  display: flex;
  gap: 70px;
  font-size: 12px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}


/* =========================================================
   ナビ項目
========================================================= */

.nav-item {
  padding: 14px 0;
  border-bottom: 1px solid #ddd;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s cubic-bezier(.19,1,.22,1),
    transform 0.6s cubic-bezier(.19,1,.22,1);
}

.nav.open .nav-item {
  opacity: 1;
  transform: translateY(0);
}

.nav.open .nav-item:nth-child(1) { transition-delay: 0.1s; }
.nav.open .nav-item:nth-child(2) { transition-delay: 0.2s; }
.nav.open .nav-item:nth-child(3) { transition-delay: 0.3s; }
.nav.open .nav-item:nth-child(4) { transition-delay: 0.4s; }

.nav-item a {
  display: block;
}

.nav-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.07em;
  font-weight: 500;
}

.nav-sub {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.07em;
  color: #666;
}


/* =========================================================
   ナビ下部リンク hover
========================================================= */

.nav-links a {
  position: relative;
  display: inline-block;
  width: fit-content;
  color: #111;
  text-decoration: none;
  transition: opacity 0.35s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: #111;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.65s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}


/* =========================================================
   PRODUCT アコーディオン
========================================================= */

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 0;
  cursor: pointer;
  transition: opacity 0.35s ease;
}

.accordion-header:hover {
  opacity: 0.6;
}

.accordion-arrow {
  width: 8px;
  height: 8px;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  transform: rotate(45deg);
  transition: transform 0.8s cubic-bezier(.19,1,.22,1);
}

.accordion.active .accordion-arrow {
  transform: rotate(-135deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.9s cubic-bezier(.19,1,.22,1);
}

.accordion-content li {
  padding: 10px 0;
}

.accordion-content a {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 18px;
  color: #111;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.accordion-content a:hover {
  opacity: 0.7;
  transform: translateX(4px);
}

.accordion-content a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: #111;
}

.product-title {
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.product-sub {
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.2;
  color: #666;
}


/* =========================================================
   フッター共通
========================================================= */

.footer_container {
  width: 70%;
  margin: 0 auto;
}


/* =========================================================
   詩エリア
========================================================= */

.poem_section {
  width: 100%;
  height: 280px;
  background-color: #EAEBE1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.poem_section img {
  width: 36%;
  height: auto;
}


/* =========================================================
   黒背景フッター
========================================================= */

.footer_bgc {
  background-color: #000;
  color: #fff;
}


/* =========================================================
   フッター上段
========================================================= */

.footer_nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 34px;
  padding-bottom: 58px;
  gap: 60px;
}

.footer_left {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  position: relative;
}

.footer_order {
  width: 180px;
}

.footer_about {
  width: 205px;
}

.footer_sus {
  width: 205px;
}

.footer_order h4 {
  position: relative;
  margin: 0 0 22px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
}

.footer_order h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 180px;
  height: 1px;
  background-color: #fff;
}

.footer_about h4::after {
  width: 205px;
}

.footer_sus h4::after {
  width: 205px;
}

.footer_order ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.footer_order li {
  margin-bottom: 3px;
}

.footer_order a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  display: inline-block;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.footer_order a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.65s ease;
}

.footer_order a:hover {
  opacity: 0.7;
  transform: translateX(4px);
}

.footer_order a:hover::after {
  transform: scaleX(1);
}

.footer_order p {
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.03em;
  padding-top: 2px;
}


/* =========================================================
   フッター右側
========================================================= */

.footer_right {
  width: 360px;
  color: #fff;
  flex-shrink: 0;
}

.footer_right h5 {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.025em;
}

.newsletter_form {
  width: 100%;
}

.newsletter_field {
  margin-bottom: 10px;
}

.newsletter_field input {
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #8f8f8f;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  letter-spacing: 0.05em;
  outline: none;
}

.newsletter_field input::placeholder {
  color: #9b9b9b;
}

.newsletter_field input:focus {
  border-color: #fff;
}

.newsletter_check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 10px;
  line-height: 1.5;
}

.newsletter_check input {
  margin-top: 2px;
  accent-color: #fff;
}

.newsletter_check label {
  cursor: pointer;
}

.newsletter_note {
  margin-bottom: 18px;
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: #bdbdbd;
}

.newsletter_btn {
  min-width: 84px;
  height: 36px;
  padding: 0 18px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    opacity 0.35s ease,
    background-color 0.35s ease,
    color 0.35s ease;
}

.newsletter_btn:hover {
  opacity: 0.7;
}

.footer_sns {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.footer_sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.footer_sns a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

.footer_sns img {
  display: block;
  width: 22px;
  height: 22px;
}


/* =========================================================
   フッター下段
========================================================= */

.white_line {
  border-top: 1px solid #fff;
  background-color: #000;
}

.copy {
  position: relative;
  height: 95px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.copy small {
  font-size: 14px;
  letter-spacing: 0.1em;
}

.footer_faqs a {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: opacity 0.35s ease;
}

.footer_faqs a:hover {
  opacity: 0.7;
}

.footer_logo {
  position: absolute;
  left: 0;
  bottom: 110px;
  width: 212px;
}

.footer_logo img {
  display: block;
  width: 100%;
  height: auto;
}


/* =========================================================
   home main
========================================================= */

.home-main {
  background-color: #FEFEF9;
}

.home-section {
  padding: 0px 0 0;
}


/* =========================================================
   共通パーツ
========================================================= */

.section-center-head {
  text-align: center;
  margin-bottom: 54px;
}

.section-center-title {
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  font-weight: 300;
}

.feature-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
}

.feature-en {
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.12em;
  font-weight: 300;
}

.feature-jp {
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #666;
}

.feature-text {
  font-size: 12px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: #222;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 174px;
  height: 46px;
  padding: 0 26px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  border: 1px solid #111;
  transition:
    opacity 0.35s ease,
    background-color 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease;
}

.link-btn:hover {
  opacity: 0.75;
  transform: translateY(-1px);
}

.link-btn-black {
  background: #111;
  color: #fff;
}

.link-btn.btn-black-beige{
  transition:
    background-color 0.5s ease,
    border-color 0.5s ease,
    color 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.5s ease,
    opacity 0.5s ease;
}

.link-btn.btn-black-beige:hover{
  background-color: #f8f7f2;
  border-color: #bfb8ab;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  opacity: 1;
}







.link-btn-outline {
  background: transparent;
  color: #111;
}

.section-btn-wrap {
  margin-top: 40px;
}

.frame-link {
  display: block;
  border: 1px solid #cfcabf;
  overflow: hidden;
  background: #f5f3ee;
}

.frame-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===============================
スクロールアニメーション
=============================== */

.js-fadeup{
  opacity:0;
  transform:translateY(40px);
  transition:
  opacity .8s ease,
  transform .8s ease;
}

.js-fadeup.is-inview{
  opacity:1;
  transform:translateY(0);
}


/* delay */

.delay-1{
  transition-delay:.1s;
}

.delay-2{
  transition-delay:.2s;
}

.delay-3{
  transition-delay:.3s;
}



/*-------------メインビジュアル-----------*/

.intro-hero {
  position: relative;
  width: 100%;
  min-height: 94vh;
  overflow: hidden;
  background: #16181d;
}

.intro-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.04);
}

.intro-hero-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  z-index: 3;
  width: min(1240px, calc(100% - 140px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 160px;
}

.intro-hero-copy {
  flex: 0 1 520px;
  max-width: 520px;
}

.intro-hero-product {
  flex: 0 0 370px;
  width: 370px;
}

.intro-hero-product img {
  filter:
    drop-shadow(0 14px 28px rgba(10,18,32,0.45))
    drop-shadow(0 6px 12px rgba(10,18,32,0.25));
}

/* =========================================================
   intro
========================================================= */

.intro {
  padding-top: 0;
}

/* ------------------------------
   メインビジュアル
------------------------------ */

.intro-hero-wrap {
  padding: 0;
}

.intro-hero {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.intro-hero-link,
.intro-hero-link img {
  display: block;
  width: 100%;
}

.intro-hero-link img {
  height: auto;
  object-fit: cover;
}

.intro-hero-badge {
  position: absolute;
  right: 26px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}






/* =========================
hero 診断ボタン
========================= */

.hero-diagnosis{
position:absolute;
right:6vh;
bottom:14vh;
padding:26px 36px;
border-radius:24px;
}


/* 背景グラデーション */

.hero-diagnosis-bg{
position:absolute;
inset:0;
border-radius:24px;
background:linear-gradient(
135deg,
#0f3f3a,
#7a3c56
);
opacity:0.35;
backdrop-filter:blur(10px);
}


/* 見出し */

.hero-diagnosis-title{

position:relative;

font-size:20px;

letter-spacing:0.22em;

color:white;

margin-bottom:18px;

text-align:center;

}


/* ボタン */

.hero-diagnosis-btn{

position:relative;

display:flex;

align-items:center;
justify-content:center;

height:42px;

padding:0 26px;

border-radius:999px;

text-decoration:none;

overflow:hidden;

}


/*-----------プリズムモーション--------------*/
/* ===============================
   Prism border shine
=============================== */

/* =========================
hero 診断ボタン
========================= */

.hero-diagnosis{
  --mx: 50%;
  --my: 50%;

  position: absolute;
  right: 6vh;
  bottom: 14vh;
  padding: 28px 34px 24px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;

  /* 外側カードに影 */
  box-shadow:
    0 18px 42px rgba(10, 16, 24, 0.18),
    0 6px 18px rgba(10, 16, 24, 0.10);
}

.hero-diagnosis-bg{
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15,63,58,0.52), rgba(122,60,86,0.42));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.26);
}

/* hoverしてない時は光を見せない */
.hero-diagnosis::before{
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 32px;
  background:
    radial-gradient(
      circle at var(--mx) var(--my),
      rgba(255,255,255,0.24) 0%,
      rgba(255,255,255,0.10) 12%,
      rgba(255,255,255,0.03) 22%,
      rgba(255,255,255,0) 34%
    );
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: 2;
}

.hero-diagnosis:hover::before{
  opacity: 1;
}



.hero-diagnosis-title{
  position: relative;
  z-index: 3;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.28em;   /* 少し広げる */
  color: white;
  margin-bottom: 18px;
  text-align: center;
  white-space: nowrap;
}

.hero-diagnosis-btn{
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* 矢印を少し近づける */

  height: 34px;
  padding: 0 24px;

  border-radius: 999px;
  text-decoration: none;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  box-shadow: none;
}

.hero-diagnosis-btn{
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-diagnosis-btn:hover{
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.40);
}

.hero-diagnosis-text{
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.26em;
  white-space: nowrap;
}

/* ---------------矢印------------------ */

.hero-diagnosis-arrow{
  width:8px;
  height:8px;
  border-top:1px solid rgba(255,255,255,0.92);
  border-right:1px solid rgba(255,255,255,0.92);
  transform:translateX(0) rotate(45deg);
  transition:transform .28s ease;
}

.hero-diagnosis-btn:hover .hero-diagnosis-arrow{
  transform:translateX(4px) rotate(45deg);
}




/* ------------------------------
   ブランド導入
------------------------------ */

.intro-lead {
  padding: 90px 0 78px;
  text-align: center;
}

.intro-lead-sub {
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.12em;
}

.intro-lead img {
  width: 190px;
  height: auto;
}


/* ------------------------------
   状態導入
------------------------------ */

.intro-mood {
  position: relative;
  width: 100%;
  max-width: 980px;
  height: 420px;
  margin: 80px auto;
}

.intro-mood-copy {
  position: absolute;
  top: -5px;
  left:  105px;
  width: 320px;
  white-space: nowrap;
}

.intro-title {
  margin-bottom: 28px;
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  font-weight: 300;
}

.intro-text {
  font-size: 12px;
  line-height: 2.2;
  letter-spacing: 0.08em;
}

.intro-mood::after {
  content: "";
  position: absolute;
  left: 625px;
  top: -25px;
  width: 1px;
  height: 525px;
  background: #d7d1c6;
  transform: rotate(35deg);
  transform-origin: top center;
}

.intro-mood-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 360px;
}

.intro-mood-visual img {
  position: absolute;
  top: 40px;
  right: 150px;
  display: block;
  width: 300px;
  height: auto;
  margin-left: 0;
}


/* ------------------------------
   フレーバー3種
------------------------------ */

.intro-flavor {
  padding-top: 24px;
  padding-bottom: 140px;
}

.section-center-head {
  text-align: center;
  margin-bottom: 54px;
}

.section-center-title {
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  font-weight: 300;
  margin-bottom: 80px;
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
}

.flavor-card {
  position: relative;
  padding: 0 20px 0 60px;
  min-width: 400px;
  transition:transform .35s ease, box-shadow .35s ease;
}
.flavor-image img{
transition:transform .6s ease;
}

.flavor-card:hover img{
transform:scale(1.03);
}

.flavor-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 110px;
  right: 0;
  width: 1px;
  height: 250px;
  background: #d8d2c6;
}

.flavor-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 42px;
  margin: 0 auto 28px;
  border: 1px solid #bfb8ab;
  background: #f8f7f2;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
}

.flavor-card-main {
  display: grid;
  grid-template-columns: 105px 1fr;
  align-items: center;
  min-height: 320px;
  justify-items: stretch;
}

.flavor-image {
  display: flex;
  justify-content: center;
}

.flavor-image img {
  display: block;
  width: 100%;
  max-width: 105px;
  height: auto;
}

.flavor-content {
  padding-top: 6px;
}

/* ここをまとめて調整できるようにした */
.flavor-heading {
  margin-left: 22%;
}

.flavor-index {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

.flavor-name {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0.06em;
  font-weight: 300;
  white-space: nowrap;
}

.flavor-sub {
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #666;
}

.flavor-herb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  margin-bottom: 28px;
  text-align: center;
}

.flavor-herb p,
.flavor-herb span {
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.12em;
}

.flavor-note {
  max-width: 220px;
  margin: 0 auto;
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.06em;
  text-align: center;
}

.flavor-copy {
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  font-weight: 400;
  text-align: center;
}

.flavor-btn-wrap {
  width: calc(100% - 80px);
  margin: 60px auto 0;
}

.flavor-btn-wrap .link-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: #111;
  color: #fff;
  height: 58px;
  font-size: 14px;
  letter-spacing: 0.18em;
}


.flavor-btn-wrap .link-btn::after{
  content:"→";
  margin-left:12px;
  transition:transform .3s;
}

.flavor-btn-wrap .link-btn:hover::after{
  transform:translateX(6px);
}

.flavor-card{
  transition: transform 0.5s ease;
}

.flavor-card:hover{
  transform: translateY(-6px);
}

/* ========================================
   flavor card 専用 scroll animation
======================================== */

.intro-flavor .flavor-card.js-fadeup{
  opacity: 0;
  transform: translateY(56px);
  transition:
    opacity 1.3s cubic-bezier(.19,1,.22,1),
    transform 1.3s cubic-bezier(.19,1,.22,1);
}

.intro-flavor .flavor-card.js-fadeup.delay-1{
  transition-delay: .16s;
}

.intro-flavor .flavor-card.js-fadeup.delay-2{
  transition-delay: .28s;
}

.intro-flavor .flavor-card.js-fadeup.delay-3{
  transition-delay: .40s;
}

.intro-flavor .flavor-card.js-fadeup.is-inview{
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   product / concept 共通
========================================================= */

/* ========================================
   SECTION DIVIDER
======================================== */

.section-divider {
  position: relative;
  width: calc(100%);
  max-width: 1500px;
  margin: 0px auto 40px;
  height: 1px;
  overflow: hidden;
}


/* line */

.section-divider::after {

  content: "";
  position: absolute;
  inset: 0;
  background: #333;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 2.8s cubic-bezier(.19,1,.22,1);
  transition-delay: 1s;
}
/* ========================================
   SECTION DIVIDER
======================================== */

/* scroll animation */

.section-divider.is-inview::after {

  transform: scaleX(1);

}


/* animation */

.section-divider.is-inview::after{

  width:100%;
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 42px;
}

.section-label-en {
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.12em;
  font-weight: 300;
}

.section-label-jp {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: #666;
}

.product-layout,
.concept-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}

.product-content,
.concept-content {
  display: flex;
  flex-direction: column;
}

.product-copy-frame,
.concept-copy-frame {
  position: relative;
  padding: 34px 30px 32px;
  background: #FEFEF9;
}

.product-copy-text,
.concept-copy-text {
  font-size: 12px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: #111;
}

.product-main-btn-wrap,
.concept-main-btn-wrap {
  margin-top: 28px;
}

.product-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 44px;
  border: 1px solid #bfb8ab;
  background: transparent;
  color: #111;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease,
    background-color 0.35s ease,
    color 0.35s ease;
}

.product-main-btn::after {
  content: "→";
  margin-left: 12px;
  transition: transform 0.35s ease;
}

.product-main-btn:hover {
  transform: translateY(-2px);
  background-color: #f8f7f2;
  opacity: 0.85;
}

.product-main-btn:hover::after {
  transform: translateX(4px);
}

.product-main-visual,
.concept-main-visual {
  width: 100%;
  min-width: 0;
}

.product-main-visual img,
.concept-main-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}



.concept-head,
.product-head{
  margin-top:0px;
}
/* =========================================================
   product
========================================================= */

.product-section {
  padding: 0px 0 200px;
}


/* ------------------------------
   上段
------------------------------ */

.product-stage {
  position: relative;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  column-gap: 56px;
  align-items: end;
}

.product-copy-block {
  display: flex;
  align-items: flex-end;
  min-height: 640px;
}

.product-copy-frame {
  position: relative;
  width: 320px;
  padding: 30px 26px 0;
  background: #FEFEF9;
  z-index: 2;
}

.product-copy-frame::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -245px;
  width: 1080px;
  height: calc(100% + 58px);
  border: 1px solid #999;
  z-index: -1;
  pointer-events: none;
}

.product-copy-text {
  font-size: 13px;
  line-height: 2.15;
  letter-spacing: 0.08em;
  color: #111;
}

.product-main-btn-wrap {
  margin-top: 26px;
}

.product-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 44px;
  border: 1px solid #bfb8ab;
  color: #111;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  background: transparent;
  transition:     
    background 0.35s ease,
    transform 0.35s ease,
    opacity 0.35s ease;
}

.product-main-btn::after {
  content: "→";
  margin-left: 12px;
  transition: transform 0.35s ease;
}

.product-main-btn:hover {
  transform: translateY(-2px);
  opacity: 0.82;
}

.product-main-btn:hover::after {
  transform: translateX(4px);
}

.product-main-visual {
  width: 100%;
  max-width: 940px;
  margin-left: auto;
  position: relative;
  z-index: 3;
}

.product-main-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* ------------------------------
   下段3アイテム
------------------------------ */

.product-substage {
  display: grid;
  grid-template-columns: repeat(3, 260px);
  justify-content: center;
  column-gap: 74px;
  align-items: start;
  margin-top: 200px;
}

.product-subitem {
  display: block;
  width: 260px;
  color: #111;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.product-subitem:hover {
  transform: translateY(-6px);
  opacity: 0.82;
}

.product-subthumb {
  display: block;
  width: 260px;
  height: 260px;
  border: 1px solid #999;
  overflow: hidden;
  background: #f5f3ee;
}

.product-subthumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-subtext {
  display: block;
  margin-top: 14px;
}

.product-subitem-en {
  display: inline-block;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.product-subitem-en::after {
  content: "→";
  margin-left: 10px;
  font-size: 14px;
}

.product-subitem-jp {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: #666;
}

/* 階段状 */
.product-subitem-01 {
  transform: translateY(0);
}

.product-subitem-02 {
  transform: translateY(34px);
}

.product-subitem-03 {
  transform: translateY(68px);
}

.product-subitem-01:hover {
  transform: translateY(-6px);
}

.product-subitem-02:hover {
  transform: translateY(28px);
}

.product-subitem-03:hover {
  transform: translateY(62px);
}


/* =========================================================
   concept
========================================================= */

.concept-section {
  padding: 0 0 110px;
}


.concept-stage {
  position: relative;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  column-gap: 56px;
  align-items: end;
}

.concept-copy-block {
  display: flex;
  align-items: flex-end;
  min-height: 540px;
}

.concept-copy-frame {
  position: relative;
  width: 320px;
  padding: 30px 26px 0;
  background: #FEFEF9;
  z-index: 2;
}

.concept-copy-frame::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -245px;
  width: 1080px;
  height: calc(100% + 58px);
  border: 1px solid #999;
  z-index: -1;
  pointer-events: none;
}

.concept-copy-text {
  font-size: 13px;
  line-height: 2.15;
  letter-spacing: 0.08em;
  color: #111;
}

.concept-main-btn-wrap {
  margin-top: 26px;
}

.concept-main-visual {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  position: relative;
  z-index: 3;
}

.concept-main-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}


/* =========================================================
   product / concept 見出し共通
========================================================= */

.product-head,
.concept-head {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
}

.product-head-en,
.concept-head-en {
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.18em;
  font-weight: 300;
}

.section-head-divider {
  display: inline-block;
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
  color: #999;
  transform: none;
  padding-bottom: 4px;
}

.product-head-jp,
.concept-head-jp {
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #666;
  transform: none;
}


/* =========================================================
   info
========================================================= */

.info {
  padding-bottom: 120px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 60px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 36px;
  align-items: start;
}

.info-card {
  width: 100%;
  max-width: 420px;
}

.info-card-news {
  justify-self: start;
  transform: translateY(0);
}

.info-card-shop {
  justify-self: end;
  transform: translateY(56px);
}

.info-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.info-card-link {
  display: block;
  color: #111;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.info-card-link:hover {
  opacity: 0.78;
  transform: translateY(-4px);
}

.frame-link-medium {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.frame-link-medium img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #333
}

.info-card-body {
  position: relative;
  margin-top: 30px;
  padding-left: 18px;
}

.info-card-body::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 1px;
  background: #cfcabf;
}

/* NEWS */
.info-card-body-news::before {
  height: 88px;
}

/* SHOP */
.info-card-body-shop::before {
  height: 108px;
}

.info-card-text {
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.06em;
}

.info-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.14em;
}

.info-more::after {
  content: "→";
  margin-left: 12px;
  transition: transform 0.35s ease;
}

.info-card-link:hover .info-more::after {
  transform: translateX(4px);
}



/* =========================================================
   info 見出し
========================================================= */

.info-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.info-head-en {
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.14em;
  font-weight: 300;
}

.info-head-divider {
  font-size: 20px;
  line-height: 1;
  color: #9a9488;
  position: relative;
  top: -2.5px;
}

.info-head-jp {
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #666;
  position: relative;
}


/* =========================================================
   インスタグラム
========================================================= */


.instagram-block {
  margin-top: 150px;
  text-align: center;
}

.instagram-head {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 38px;
}

.instagram-icon {
  width: 30px;
  height: 30px;
}

.instagram-title {
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.22em;
}

.instagram-grid-link {
  display: block;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
}

.instagram-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;

  border-top: 1px solid #333;
  border-left: 1px solid #333;
}

/* ========================================
   Instagram サムネ hover（1枚ずつ）
======================================== */

.instagram-grid img{
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.instagram-grid img:hover{
  opacity: 0.75;
  
}


.instagram-account {
  margin-top: 60px;
}

.instagram-account a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-width: 240px;
  height: 42px;
  padding: 0 22px;

  border: 1px solid #cfcabf;
  color: #111;
  font-size: 11px;
  letter-spacing: 0.18em;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.instagram-account a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.instagram-account a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-width: 240px;
  height: 42px;
  padding: 0 22px;

  border: 1px solid #cfcabf;
  color: #111;
  font-size: 11px;
  letter-spacing: 0.18em;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.instagram-account a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 410px;
  height: 42px;
  padding: 0 22px;

  border: 1px solid #cfcabf;

  color: #111;
  font-size: 11px;
  letter-spacing: 0.18em;

  transition:
    background 0.35s ease,
    transform 0.35s ease,
    opacity 0.35s ease;
}

.instagram-arrow{
  width: 16px;
  height: 16px;
  margin-bottom: 2px;
  transition: transform 0.35s ease;
}

.instagram-account a:hover {
  transform: translateY(-2px);
  background-color: #f8f7f2;
  opacity: 0.85;
}

.instagram-account a:hover .instagram-arrow {
  transform: translate(2px,-2px);
}


/* ========================================
   HERO 修正版
======================================== */

.intro-hero-wrap {
  padding: 0;
}

.intro-hero {
  position: relative;
  width: 100%;
  min-height: 94vh;
  overflow: hidden;
  background: #16181d;
}

.intro-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.intro-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.04);
}

.intro-hero-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  z-index: 3;

  width: min(1240px, calc(100% - 140px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 160px;
}

.intro-hero-copy {
  flex: 0 1 520px;
  max-width: 520px;
}

.intro-hero-copy img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 520px;
}

.intro-hero-product {
  flex: 0 0 370px;
  width: 370px;
}

.intro-hero-product img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 18px 38px rgba(8,16,28,0.55))
    drop-shadow(0 6px 12px rgba(8,16,28,0.35));
}

/* スクロールダウン */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,0.12); /* グレーのレールはそのまま */
  overflow: hidden;
  z-index: 4;
}

.hero-scroll span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.95) 35%,
    rgba(255,255,255,1) 50%,
    rgba(255,255,255,0.95) 65%,
    rgba(255,255,255,0) 100%
  );
  animation: scrollLinePause 2.4s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(255,255,255,0.35);
}


@keyframes scrollLinePause {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  38% {
    transform: translateY(100%);
    opacity: 1;
  }
  48% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* 右下ガラスボタン */
.hero-diagnosis {
  --mx: 50%;
  --my: 50%;

  position: absolute;
  right: 6vh;
  bottom: 8vh;
  padding: 28px 34px 24px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  z-index: 4;

  box-shadow:
    0 18px 42px rgba(10, 16, 24, 0.18),
    0 6px 18px rgba(10, 16, 24, 0.10);
}

.hero-diagnosis-bg {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15,63,58,0.52), rgba(122,60,86,0.42));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.26);
}

.hero-diagnosis::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 32px;
  background:
    radial-gradient(
      circle at var(--mx) var(--my),
      rgba(255,255,255,0.24) 0%,
      rgba(255,255,255,0.10) 12%,
      rgba(255,255,255,0.03) 22%,
      rgba(255,255,255,0) 34%
    );
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: 2;
}

.hero-diagnosis:hover::before {
  opacity: 1;
}

.hero-diagnosis-title {
  position: relative;
  z-index: 3;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.28em;
  color: white;
  margin-bottom: 18px;
  text-align: center;
  white-space: nowrap;
}

.hero-diagnosis-btn {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 34px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-diagnosis-btn:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.40);
}

.hero-diagnosis-text {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.26em;
  white-space: nowrap;
}

.hero-diagnosis-arrow {
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(255,255,255,0.92);
  border-right: 1px solid rgba(255,255,255,0.92);
  transform: translateX(0) rotate(45deg);
  transition: transform .28s ease;
}

.hero-diagnosis-btn:hover .hero-diagnosis-arrow {
  transform: translateX(4px) rotate(45deg);
}


/* ========================================
   HOME hero opening motion
======================================== */

/* hero全体 */
.js-home-hero{
  position: relative;
  isolation: isolate;
}

/*フェードオーバーレイ*/
.js-home-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-color, #FEFEF9);
  opacity: 1;
  z-index: 5;
  pointer-events: none;
  transition:
    opacity 2.2s cubic-bezier(.19,1,.22,1),
    visibility 0s linear 1.8s;
}

/* 初期状態：背景は少し拡大＋少し白っぽく */
.js-home-hero .intro-hero-bg img{
  transform: scale(1.12);
  filter: brightness(1.12) saturate(0.95) blur(1.5px);
  opacity: 0;
  transition:
    transform 5.8s cubic-bezier(.19,1,.22,1),
    filter 3.6s cubic-bezier(.19,1,.22,1),
    opacity 2.8s cubic-bezier(.25,1,.25,1);
  will-change: transform, filter, opacity;
}

/* 中央のコピー＋商品 */
.js-home-hero .intro-hero-main{
  opacity: 0;
  transform: translate(-50%, -49%);
  transition:
    opacity 1.4s cubic-bezier(.19,1,.22,1) 1.05s,
    transform 2.4s cubic-bezier(.19,1,.22,1) 1.05s;
}

/* 例：チューブだけ */
.hero-product{
  transition-delay: 1.15s;
}

/* ガラスボタン */
.js-home-hero .hero-diagnosis{
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(.19,1,.22,1) 1.55s;
}

/* スクロール */
.js-home-hero .hero-scroll{
  opacity: 0;
  transform: translateY(18px) translateX(-50%);
  transition:
    opacity 1.1s cubic-bezier(.19,1,.22,1) 1.65s,
    transform 1.8s cubic-bezier(.19,1,.22,1) 1.65s;
}

/* 発火後：白幕を消す */
.js-home-hero.is-hero-ready::before{
  opacity: 0;
  visibility: hidden;
}

.js-home-hero.is-hero-ready .intro-hero-bg img{
  transform: scale(1.04);
  filter: brightness(1) saturate(1) blur(0);
  opacity: 0.96;
  animation: heroBgDrift 14s ease-in-out 3.6s infinite alternate;
}

/*背景を揺れ動かすモーション*/
@keyframes heroBgDrift{
  0%{
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  50%{
    transform: scale(1.055) translate3d(-0.5%, -0.35%, 0);
  }

  100%{
    transform: scale(1.048) translate3d(0.35%, 0.25%, 0);
  }
}

.js-home-hero.is-hero-ready .intro-hero-main{
  opacity: 1;
  transform: translate(-50%, -52%);
}

.js-home-hero.is-hero-ready .hero-diagnosis{
  opacity: 1;
}

.js-home-hero.is-hero-ready .hero-scroll{
  opacity: 1;
  transform: translateY(0) translateX(-50%);
}

/* ========================================
   product subitem 専用 scroll animation
======================================== */

/* 各カードの元の段差 */
.product-subitem-01{
  --sub-shift: 0px;
}

.product-subitem-02{
  --sub-shift: 34px;
}

.product-subitem-03{
  --sub-shift: 68px;
}

/* 出現前 */
.product-substage .product-subitem.js-fadeup{
  opacity: 0;
  transform: translateY(calc(var(--sub-shift) + 56px));
  transition:
    opacity 1.3s cubic-bezier(.19,1,.22,1),
    transform 1.3s cubic-bezier(.19,1,.22,1);
}

/* 順番 */
.product-substage .product-subitem.js-fadeup.delay-1{
  transition-delay: .14s;
}

.product-substage .product-subitem.js-fadeup.delay-2{
  transition-delay: .30s;
}

.product-substage .product-subitem.js-fadeup.delay-3{
  transition-delay: .46s;
}

/* 出現後：段差を残したまま着地 */
.product-substage .product-subitem.js-fadeup.is-inview{
  opacity: 1;
  transform: translateY(var(--sub-shift));
}

/* hover時も段差を維持 */
.product-substage .product-subitem-01.js-fadeup:hover{
  transform: translateY(-6px);
}

.product-substage .product-subitem-02.js-fadeup:hover{
  transform: translateY(28px);
}

.product-substage .product-subitem-03.js-fadeup:hover{
  transform: translateY(62px);
}


/* ========================================
   popup modal
======================================== */

.popup-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  pointer-events: none;
}

.popup-modal.is-open{
  visibility: visible;
  pointer-events: auto;
}

.popup-modal-overlay{
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .22s ease;
}

.popup-modal.is-open .popup-modal-overlay{
  opacity: 1;
}

.popup-modal-dialog{
  position: relative;
  z-index: 2;
  width: min(550px, calc(100vw - 40px));
  opacity: 0;
  transform: translateY(20px) scale(.985);
  transition:
    opacity .35s cubic-bezier(.19,1,.22,1),
    transform .6s cubic-bezier(.19,1,.22,1);
}

.popup-modal.is-open .popup-modal-dialog{
  opacity: 1;
  transform: translateY(0) scale(1);
}

.popup-modal-image-link{
  display: block;
}

.popup-modal-image{
  display: block;
  width: 100%;
  height: auto;
  box-shadow:
    0 30px 80px rgba(0,0,0,.18),
    0 10px 24px rgba(0,0,0,.10);
}

.popup-modal-close{
  position: absolute;
  top: -18px;
  right: -18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(15,15,15,.96);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  z-index: 3;
}

.popup-modal-close span{
  position: absolute;
  width: 16px;
  height: 1px;
  background: #fff;
}

.popup-modal-close span:first-child{
  transform: rotate(45deg);
}

.popup-modal-close span:last-child{
  transform: rotate(-45deg);
}

body.is-popup-open{
  overflow: hidden;
}

@media (max-width: 640px){
  .popup-modal{
    padding: 18px;
  }

  .popup-modal-dialog{
    width: min(600px, calc(100vw - 24px));
  }

  .popup-modal-close{
    top: -12px;
    right: -12px;
    width: 38px;
    height: 38px;
  }
}




