@charset "utf-8";

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

/*以上がリセットCSS*/

/* ───────── COMMON ───────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  min-height: 100%;
  color: #fff;
  background: #34343d;                /* 画面背景色 */
  line-height: 1.6;
  font-family: "Times New Roman", serif;
  overflow-x:hidden; 
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

/* ───────── HERO ───────── */
.hero {
  position: relative;
  width: 100%;
  height: 130vh;
  overflow: hidden;
}

/* ▼ 追加：半透明フィルター */
.video-filter{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background:rgba(30,30,30,.4);
    pointer-events:none;
    opacity:0;
    transition:opacity .3s ease;
    z-index:1;
}
.hidden{display:none !important;}

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.hero.is-playing .hero__video { opacity:1 }

.hero__video {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, 50px) scale(1);
  transform-origin: center top;
  width: calc(100% - 100px);
  height: 660px;
  object-fit: cover;
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}

.hero__catch {
  position: absolute;
  left: 50%;
  bottom: 130px;
  transform: translateX(-50%);
  font-size: clamp(20px, 2.6vw, 32px);
  white-space: nowrap;
  opacity: 1;                      /* JS で 1 → 0 */
  will-change: opacity;
  letter-spacing: 0.3em;
}

/* ───────── GLOBAL NAVIGATION ───────── */
/* ─────────────────────────────────────────
   1) 基本レイアウトを grid に変更（ロゴ | メニュー | SNS）
   2) gap / フォント / アイコンを clamp で可変
   ───────────────────────────────────────── */
.global-nav {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 95px;
  z-index: 10;
  background: transparent;
  transition: background-color 0.3s ease;
}
.global-nav.fixed-top {
  position: fixed;
  top: 0;
  bottom: auto;
  background: rgba(30,30,30,0.4);
}

/* ★ grid化：auto | 1fr | auto で中央だけ伸縮可能に */
.nav__container{
  width: 95%;                     /* 中央寄せと最大幅の上限 */
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(12px, 0.2vw, 20px);
  display: grid;
  grid-template-columns: auto 1fr auto;        /* 左:ロゴ / 中:メニュー / 右:SNS */
  align-items: center;
  column-gap: clamp(8px, 1.4vw, 24px);
}

/* ロゴサイズも可変で少しだけ縮む余地 */
.nav__logo{
  display: flex;
  align-items: center;
  height: 100%;
}
.nav__logo img{
  height: clamp(32px, 2.6vw, 40px);            /* 40px→タブレットで〜32pxまで縮む */
}

/* メニューは中央で “縮んで耐える” 役 */
.nav__menu{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 5vw, 90px);               /* px固定→clampへ（超ワイドで広がりすぎ防止） */
  font-size: clamp(14px, 1.15vw, 18px);        /* 可読性維持しつつ可変 */
  letter-spacing: 0.08em;
  flex-wrap: nowrap;
  min-width: 0;                                /* ← 中央カラムをちゃんと縮められるキー */
}
.nav__menu li{ position: relative; }
.nav__menu a:hover{ color:#7d7d7d; }

/* SNSは右端・可変アイコンで圧縮余地を確保 */
.nav__sns{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.4vw, 45px);
  height: 100%;
  margin-top: 0;                                /* 押し出しの原因になる上下余白は抑える */
}
.nav__sns img{
  height: clamp(16px, 1.6vw, 20px);            /* アイコンも少しだけ縮む */
}

/* アンダーラインはそのまま（必要なら幅もclampで可変に可） */
.nav__underline{
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: calc(100% - 5%);                       /* ＝左右2.5%パディング相当 */
  max-width: 95%;
  height: 1px;
  background: #ffffff;
  transform: translateX(-50%);
}
.global-nav.fixed-top .nav__underline{ display:none; }

/* ▼▼ ギャラリー矢印／ドロップダウン（既存のまま） ▼▼ */
.nav__gallery > a{ display:inline-flex; align-items:center; }
.nav__gallery > a::after{
  content:'';
  display:inline-block;
  margin-left:6px;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:4px solid currentColor;
  transition:transform .4s;
}
.nav__gallery:hover > a::after{ transform: rotate(180deg); }
.global-nav.fixed-top .nav__gallery > a::after{ transform: rotate(180deg); }
.global-nav.fixed-top .nav__gallery:hover > a::after{ transform: rotate(0deg); }

.global-nav:not(.fixed-top) .nav__dropdown{
  bottom: calc(100% + 10px);
  top:auto;
  width:auto;                                   /* typoの s を修正 */
}
.global-nav.fixed-top .nav__dropdown{
  top: calc(100% + 10px);
  bottom:auto;
}
.nav__dropdown{
  position:absolute;
  top: calc(100% + 10px);
  left:50%;
  transform: translateX(-50%);
  display:none;
  flex-direction:column;
  gap:10px;
  padding:0 10px;
  background: rgba(30,30,30,0.4);
  border-radius:1px;
  font-size: clamp(14px, 1.1vw, 18px);          /* ドロップも可変 */
  white-space: nowrap;
}
.nav__dropdown.open{ display:flex; }
.nav__dropdown a{
  position:relative;
  display:block;
  padding:10px 0;
  text-align:center;
  z-index:1;
  color:#fff;
}
.nav__dropdown a::before{
  content:"";
  position:absolute; inset:0 -10px;
  background:#606074;
  opacity:0; transition:opacity .15s ease;
  border-radius:1px; z-index:-1;
}
.nav__dropdown a:hover::before{ opacity:1; }
.nav__dropdown a:hover{ background:#606074; color:#fff; }

/* ─────────────────────────────────────────
   1280px〜769px：タブレット帯 “押し出し防止コンパクト”
   - gap さらに圧縮
   - フォント小さめ
   - アイコン縮小 & 余白圧縮
   ───────────────────────────────────────── */
@media (max-width:1280px) and (min-width:769px){
  .global-nav{ height: 88px; }                  /* 少し低くして行間圧縮 */

  .nav__menu{
    gap: clamp(10px, 5vw, 70px);              /* さらに詰める */
    font-size: clamp(13px, 1.3vw, 24px);       /* ほんの少し小さく */
    letter-spacing: 0.06em;
  }

  .nav__logo img{ height: clamp(30px, 3.2vw, 36px); }
  .nav__sns{ gap: clamp(8px, 2.4vw, 38px); }
  .nav__sns img{ height: clamp(14px, 1.6vw, 22px); }
}

/* ─────────────────────────────────────────
   1024px〜769px：さらにタイト（2段折り回避の最後の一押し）
   ───────────────────────────────────────── */
@media (max-width:1024px) and (min-width:769px){
  .nav__menu{
    gap: clamp(8px, 3.8vw, 40px);
    font-size: clamp(12px, 1.6vw, 18px);
  }
  .nav__container{
    column-gap: clamp(6px, 1vw, 16px);
    padding: 0 clamp(10px, 1.6vw, 16px);
  }
}

/* ─────────────────────────────────────────
   “最終保険”：
   もし上でも押し出すなら、SNSだけもう一段縮める
   ───────────────────────────────────────── */
@media (max-width:980px) and (min-width:769px){
  .nav__sns img{ height: 16px; }
  .nav__sns{ gap: 22px; }
}


/* ─────────SECOND INTRO SECTION ───────── */
.section--intro {
  position: relative;
  width: 100%;
  height: 200vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro__overlay {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;      /* ビューポートいっぱいを固定 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;         /* 初期は隠す */
  transition: opacity 0.3s ease-out;
  pointer-events: none;
  z-index: 1;
  gap: 20px;
  padding-top: 120px;
}

.intro__logo {
  width: 200px;
    height: auto;
    margin-bottom: 30px;
    margin: 0;    /* 元の margin-bottom を消去 */
  max-width: 80%; /* レスポンシブに */
}

.intro__logotype {
  width: 350px;
  height: auto;

  margin: 20px 0 10% 0;
  max-width: 80%; /* レスポンシブに */
 
}

.intro__est {
  font-family: "Edgaramond", serif;
  font-size: 26px;
  margin-bottom: 0;
  letter-spacing: 0.2em;
}
.intro__catch {
  max-width: 800px;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.8;
  font-family: "Hiragino Mincho ProN", serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 50px;
}
.intro__description p {
  font-size: 18px;
  line-height: 1.9;
  text-align: center;
    font-family: "Hiragino Mincho ProN", serif;
    font-weight: 300;
    letter-spacing: 0.08em;
}

/* ───────── MEDIA QUERIES ───────── */
@media (max-width: 768px) {
  .nav__menu {
    gap: 22px;
    font-size: 14px;
  }
  .nav__dropdown {
    font-size: 13px;
  }
  .hero__catch {
    font-size: 18px;
    bottom: 60px;
  }
  .intro__logo {
    width: 180px;
  }
}



/* ===== Third Slide ===== */
.section--third{
    position:relative;
    width:100%;
    height:160vh;
    overflow:visible;
    z-index:1;
}
.content-wrapper-3{
    position:sticky;
    top:0;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    max-width:1300px;
    margin:0 auto;
    gap:150px;
}
.content-left-3{
    display:flex;
    flex-direction:column;
    gap:160px;
    width:60%;
    padding-left:5%;
}
.content-right-3{
    display:flex;
    align-items:center;
    justify-content:center;
    width:40%;
}
.illustration-3{
    max-width:85%;
    height:auto;
}
.animation-3{
    max-width:100%;
}
.text-container-3{
    font-family:"Hiragino Mincho ProN",serif;
    font-weight:600;
    font-size: clamp(12px, 1.2vw, 18px);
    color:#fff;
    line-height:2.3;
    letter-spacing:.12em;
    text-align:justify;
    max-width:800px;
    padding-right: 20px;
}


/* ───────── Fourth Slide ───────── */
.section--fourth{
  position:relative;
  width:100%;
  height:360vh;            /* 100vh + 60vh + 100vh 余裕 */
  background:#34343d; /* スライド背景色 */
  overflow:visible;
  z-index:2;
  overflow-x:hidden;
}
.fourth__container{
  position:relative;
  width:100%;
  height:100vh;            /* ビューポートいっぱい */
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.fourth__container.pinned{    /* pin 中は固定 */
  position:fixed;
  top:0; left:0;
  z-index:2;                  /* 手前に表示 */
}

/* アニメ最終形を保持するための done */
.fourth__container.done .fourth__text{
  transform:translateY(-80px);
}
.fourth__container.done .fourth__image-wrapper{
  opacity:1;
}

/* style.css の末尾に追加するだけ */
.fourth__image-wrapper.visible { opacity: 1 !important; }
.fourth__text.visible          { transform: translateY(-80px) !important; }

.fourth__text{
  font-size:18px;
  text-align:center;
  white-space:nowrap;
  margin:0;
  transition:transform .001s linear;   /* JS 上書き用 */
  z-index:2;
  position:relative;
  letter-spacing: .08em;
  font-family: "Hiragino Mincho ProN", serif;
  font-weight: 300;
  color: #fff;
  max-width: 800px;
  margin-bottom: 50px;
}
.fourth__image-wrapper{
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  opacity:0;
  transition:opacity .001s linear;     /* JS 上書き用 */
  pointer-events:none;
  z-index:1;
}
.fourth__image{
  width:800px;
  max-width:1000px;
  height:auto;
  transform:translateY(15%);
}

/* pin が外れたあとは常に不透明＆テキスト最終位置を維持 */

.fourth__container:not(.pinned) .fourth__text           { transform: translateY(-80px) !important; }


/* ───────── Fifth Slide ───────── */
.section--fifth {
  position: relative;
  z-index: 2;                  /* 第４スライドと同じレイヤー */
  width: 100%;
  height: 100vh; 
  padding: 0;
  background: #34343d;
  display: flex;
  align-items: center;
  z-index: 1;     /* 4 枚目 pinned(2) の背後に置く */
  justify-content: center;
margin-top: 40px;
}
.fifth__inner {
  width: 100%;
  max-width: 1400px;
  text-align: center;
  transform: translateY(50px); /* 初期位置を下げる */
  
}
.fifth__header {
  font-family: "Hiragino Mincho ProN", serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.2em;
  color: #fff;
  white-space: nowrap;
  margin-bottom: 100px;
}
.fifth__bar {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  width: 100vw;
  margin-bottom: 90px;
  -webkit-overflow-scrolling: touch;
  margin-left:calc(-50vw + 50%);          /* コンテンツ中央から左右へはみ出す */
  padding:0;      
}
.fifth__bar:active { cursor: grabbing; }
.fifth__images {
  display: inline-flex;
}
.fifth__images img {
  width: 420px;
  height: 360px;
  flex-shrink: 0;
  object-fit: cover;
}
.fifth__footer p {
  font-family: "Hiragino Mincho ProN", serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.2em;
  color: #fff;
  margin: 0;
  line-height: 1.8;
}



/* ===== 6枚目 Features ===== */
.section--features {
  position: relative;
  width: 100%;
  padding: 80px 0;
  background: #34343d;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features__inner {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px; /* 余白を上にずらす */
}

.features__title-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.features__line {
  display: block;
  width: 145px;
  height: 2px;
  background: #CBA135;
}

.features__title {
  font-family: "eb-garamond", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 64px;
  color: #fff;
  margin: 0 80px;
}

.features__buttons {
  display: flex;
  gap: 100px;
  margin-bottom: 80px;
}

.features__btn {
  position: relative;
  width: 125px;
  height: 50px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  font-family: "din-1451-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  cursor: pointer;
  text-align: center;
  line-height: 50px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.features__btn::before,
.features__btn::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #fff;
  transition: border-color 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}
.features__btn::before {
  top: 0;
  left: 0;
  border-top: 1px solid;
  border-left: 1px solid;
}
.features__btn::after {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid;
  border-right: 1px solid;
}
/* 選択中は括弧を隠し、文字＋枠色だけに */
.features__btn.active {
  border: 1px solid #CBA135;
  color: #CBA135;
}
.features__btn.active::before,
.features__btn.active::after {
  opacity: 0;
}
/* ホバー時は白→#CBA135のグラデ的に括弧をフェードアウト */
.features__btn:hover {
  border: 1px solid #CBA135;
  color: #CBA135;
}
.features__btn:hover::before,
.features__btn:hover::after {
  border-color: #CBA135;
  opacity: 0;
}

.features__contents {
  width: 100%;
}

.features__content {
  display: none;
  flex-direction: column;
  align-items: center;
}

.features__content.active {
  display: flex;
}

.features__text {
  font-size: 26px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

/* ===== 修正版：Features メディア縦中央＆200px オフセット ===== */
.features__media {
   position: relative;
  width: 80vw;
  height: auto !important;        /* 固定高さ(500pxなど)を無効化 */
  max-height: 650px;
  aspect-ratio: 16 / 9 !important;/* 枠を16:9で固定 */
  overflow: hidden;
}

.features__media img,
.features__media video {
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  width: 90% !important;         /* 枠いっぱい */
  height: 90% !important;        /* 枠いっぱい */
  object-fit: contain !important;  /* ★全体を収める（黒帯OK） */
  transform: translate(-50%, -50%) scale(1) !important;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* 前面表示の要素（中央・フルサイズ） */
.features__media.img-front img,
.features__media.video-front video {
  z-index: 2;
  transform: translate(-50%, -50%) scale(1) !important;
  filter: none;
}

/* 背面表示の動画（右に200pxずらして縮小＆ぼかし） */
.features__media.img-front video {
  z-index: 1;
  transform: translate(calc(-50% + 200px), -50%) scale(0.8) !important;
  filter: blur(3px);
}

/* 背面表示の画像（左に200pxずらして縮小＆ぼかし） */
.features__media.video-front img {
  z-index: 1;
  transform: translate(calc(-50% - 200px), -50%) scale(0.8) !important;
  filter: blur(8px);
}

/* ===== Features 注意文 ===== */
.features__note{
  width: 100%;
  max-width: 1250px;        /* .features__inner と横幅を合わせる */
  margin: 20px auto 0;      /* 上に少し余白 */
  display: flex;
  justify-content: flex-end; /* 右揃え */
   padding: 0 10px;               /* ← ★常に左右に余白を確保（例:40px） */
  box-sizing: border-box;        /* padding込みでmax-width管理 */

}

.features__note-text{
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", serif; /* ヒラギノ明朝系 */
  color: #fff;
  opacity: 0.85;
  letter-spacing: 0.02em;
  line-height: 1.7;
  white-space: nowrap; /* 折り返したくない場合 */
}

/* デスクトップ（PC）：14px を表示、スマホ文言は非表示 */
@media (min-width: 768px){
  .features__note .note--pc{ display: inline; font-size: 14px; }
  .features__note .note--sp{ display: none; }
}

/* スマホ：12px を表示、PC文言は非表示 */
@media (max-width: 767px){
  .features__note .note--pc{ display: none; }
  .features__note .note--sp{ display: inline; font-size: 10px; 
  padding-right: 20px;}
}


/* ===== 7枚目 Video Style ===== */
.section--video-style {
  position: relative;
  width: 100%;
  padding: 80px 0;
  background: #34343d;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-style__inner {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}

.video-style__title-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.video-style__line {
  display: block;
  width: 145px;
  height: 2px;
  background: #CBA135;
}

.video-style__title {
  font-family: "eb-garamond", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 64px;
  color: #fff;
  margin: 0 80px;
}

.video-style__buttons {
  display: flex;
  gap: 100px;
  margin-bottom: 80px;
}

.video-style__btn {
  position: relative;
  min-width: max-content;
  padding: 0 20px;
  height: 50px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  font-family: "din-1451-lt-pro", sans-serif;
  font-weight: 400;
  cursor: pointer;
  text-align: center;
  line-height: 50px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.video-style__btn::before,
.video-style__btn::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #fff;
  transition: border-color 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}
.video-style__btn::before {
  top: 0;
  left: 0;
  border-top: 1px solid;
  border-left: 1px solid;
}
.video-style__btn::after {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid;
  border-right: 1px solid;
}
.video-style__btn.active {
  border: 1px solid #CBA135;
  color: #CBA135;
}
.video-style__btn.active::before,
.video-style__btn.active::after {
  opacity: 0;
}
.video-style__btn:hover {
  border: 1px solid #CBA135;
  color: #CBA135;
}
.video-style__btn:hover::before,
.video-style__btn:hover::after {
  border-color: #CBA135;
  opacity: 0;
}

.video-style__contents {
  width: 100%;
}

.video-style__content {
  display: none;
  flex-direction: column;
  align-items: center;
}

.video-style__content.active {
  display: flex;
}

/* ▼ ここから埋め込み動画の中央揃え＆比率固定（幅50vw） */
.video-style__media {
  position: relative;
  width: 60vw;                 /* 要件：幅 60vw */
  aspect-ratio: 16 / 9;        /* アスペクト固定 */
  margin: 0 auto 40px;         /* 中央揃え */
  background: #000;            /* 読み込み中の下地 */
  overflow: hidden;
}

/* iframeはコンテナにフィット */
.video-style__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* 既存の video 用指定は無効化（iframeに置換のため念のため） */
.video-style__content video,
.video-style__media .video-style__video {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* =========================================================
   6枚目 Features / 7枚目 Video-Style  ── Mobile  (≤768px)
   ========================================================= */
@media (max-width: 768px){
  .section--fifth {
  margin: 0;}
.fifth__inner {
  transform: none; /* 初期位置を下げる */
  
}
.fifth__header {
 
  margin-bottom: 50px;
}
.fifth__bar {

  margin-bottom: 50px;

}


.section--fifth {
  height: 55vh; 
}

  html{ -webkit-text-size-adjust: 100%; }
/* ── タイトルライン ＋ ギャップ ─────────────────── */ 

.section--features{
  padding-bottom: 40px !important;
}
.section--video-style{
  padding-top: 20px !important;}

.features__text{margin-bottom: 0;}

.features__title-wrapper{ 
  gap: 15px; /* line と文字の間隔 */ 
} 
.video-style__title-wrapper{ 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  gap: 15px; /* line と文字の間隔 */ 
  width:100%; 
  box-sizing:border-box; 
  padding:0 16px; /* 端末差での滲み吸収 */ 
  margin:0 auto; 
} 
.features__line, .video-style__line{ 
  width: 55px; /* line 長さ */ 
} 
.features__title, .video-style__title{ 
  font-size: 32px; /* タイトル文字 */ 
  margin: 0; /* 横マージン不要 */ 
} 
/* ── ボタン ─────────────────────────────── */ 
.features__buttons{ 
  gap: 35px; /* ボタン間隔 */ 
  margin-bottom: 50px; /* 適度に詰める */ 
} 
/* ── ボタン行（ズレ・はみ出し対策版）────────────────── */ 
.video-style__buttons{ 
  display:flex; 
  align-items:center; 
  justify-content:center; /* 常に中央寄せ */ 
  flex-wrap:wrap; /* はみ出す時は折り返し */ 
  gap: 16px 20px; /* 行間/列間 */ 
  width:100%; 
  max-width: 100%; 
  margin: 30px auto 50px; /* 下だけ既定の余白 */ 
  padding: 0 16px; /* 端の張り付き防止 */ 
  box-sizing: border-box; 
} 
/* gap非対応端末のフォールバック（古いiOS/Android想定） */ 
@supports not (gap: 1rem) { 
  .video-style__buttons{ margin-bottom: 50px; } 
  .video-style__btn{ margin: 0 10px 16px 0; } 
  .video-style__btn:last-child{ margin-right: 0; } } 

  .features__btn{ width: 75px; height: 35px; line-height: 25px; font-size: 14px; } 
  .video-style__btn{ width: 55px; height: 30px; line-height: 25px; font-size: 12px; }
   /* ── テキスト ───────────────────────────── */ 
   .features__text{ font-size: 16px; margin-top: 30px; } 
   /* ── メディア（6枚目）────────────────────── */ 
   .features__media{ width: 90vw !important; /* 画面幅の 80% */ 
    height: 45vw !important; /* ざっくり 4:3 比率 */ 
    max-height: 500px;
    margin-top: 20px; 
margin-left: 20px;
  } 
  .features__media img{ 
    width: 80% !important; 
    height: 90% !important; 
    object-fit: cover; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%,-50%) scale(1); /* 前面 */ }

   .features__media video{ 
    width: 80% !important; 
    height: 90% !important; 
    object-fit: cover; 
    left: 60%; 
    top: 65%; 
    transform: translate(-50%,-50%) scale(1) !important; /* 前面 */ } 
    /* 背面に回すときのオフセット（左右 40px） */ 
    .features__media.img-front video{ transform: translate(calc(-50% + 40px), -50%) scale(0.9) !important; } 
    .features__media.video-front img{ transform: translate(calc(-50% - 40px), -50%) scale(0.9) !important; }

  .video-style__title-wrapper{
    display:flex;
    align-items:center;
    justify-content:center;
    gap: 15px;
    width:100%;
    box-sizing:border-box;
    padding:0 16px;
    margin:0 auto;
  }

  .video-style__line{ width: 55px; }
  .video-style__title{
    font-size: 32px;
    margin: 0;
  }

  .video-style__buttons{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap: 16px 20px;
    width:100%;
    max-width: 100%;
    margin: 30px auto 50px;
    padding: 0 16px;
    box-sizing: border-box;
  }
  @supports not (gap: 1rem) {
    .video-style__buttons{ margin-bottom: 50px; }
    .video-style__btn{ margin: 0 10px 16px 0; }
    .video-style__btn:last-child{ margin-right: 0; }
  }

  .video-style__btn{
    width: 55px;
    height: 30px;
    line-height: 25px;
    font-size: 12px;
  }

  /* ▼ モバイル時は幅を広げて視認性UP（16:9維持） */
  .video-style__media{
    width: 92vw;               /* 画面いっぱいに近づける */
    aspect-ratio: 16 / 9;
    margin: 0 auto 28px;
  }
}









/* ===== 8枚目：全国撮影対応 ===== */

.page-bg {
  background: url('../photo/marble-texture-bg.png') top center repeat-y;
  background-size: auto 200vh;
  width: auto;
  padding-bottom: 80px;
  z-index: 3;
}

.section--location {
  position: relative;
  /* 背景を単一のテクスチャ画像で、上端から縦方向にリピートさせる */
  padding-top: 60px;            /* 背景上端から中身を下げたい分 */
  overflow: visible;            /* セクション内で独立スクロールを持たない */
}



.location__content {
  display: flex;
  align-items: center;
  gap: 6vw;
  padding: 3% 2%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;

}
.location__image-wrapper {
  flex: 0 0 auto;
  cursor: pointer;

}
.location__image {

  width: 50vw;
  height: auto;
  max-height: 550px;
  object-fit: contain;
}

/* テキスト */
.location__text {
  margin-left: 40px;
  max-width: 390px;
  /* 右余白：安全領域ぶん足しても最大20pxに制限 */
 padding-right: 10px;
  min-width: 0; /* はみ出し防止(重要) */
}
.location__title {
  font-weight: 600; /* W6 相当 */
  font-size: 28px;
  color: #34343d;
  margin: 0 0 12px 0;
}
.location__underline {
  display: block;
  width: 100%;
  max-width: 450px;
  height: 1px;
  background: #CBA135;
  margin-bottom: 25px;
}
.location__description {
  font-weight: 300; /* W3 相当 */
  font-size: 20px;
  color: #34343d;
  line-height: 1.8;
  margin: 0;
  letter-spacing: .15em;
  font-feature-settings: "palt";
   overflow-wrap: anywhere;
  word-break: break-word;
}

/* タブレット帯でテキスト幅を自動で少し絞る（画像＋gapの合計で溢れにくく） */
@media (max-width: 1100px) and (min-width: 769px){
  .location__text{
    max-width: clamp(260px, 32vw, 390px);
  }
}

/* ───────── オーバーレイ ───────── */
.location__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease;
  z-index: 100;
}
.location__overlay.show {
  opacity: 1;
  visibility: visible;
}
.location__overlay-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

@media (max-width: 768px){

  /* page 全体背景テクスチャを短く（100vh） */
  .page-bg{
    background-size: auto 100vh;   /* 旧 auto 200vh */
    padding-bottom: 40px;          /* 余白を少し詰める（任意） */
       position: relative;   /* ← これが必須 */
    z-index: 5;           /* .hero(0) より上 */
  }



  
  /* セクション内レイアウト */
  .section--location{
    padding-top: 60px;             /* 上余白を少し詰める（任意） */
  }

  .location__content{
    flex-direction: column;        /* 左右 → 縦並び（画像 → テキスト） */
    align-items: flex-start;       /* テキストを左揃え */
    gap: 40px;
    padding: 5% 10%;
  }

  /* 画像：画面幅 80% */
  .location__image-wrapper{
    width: 80vw;
  }
  .location__image{
    width: 100%;
    height: auto;
  }

  /* テキストブロック */
  .location__text{
    margin-left: 0;                /* 横余白リセット */
    max-width: 50vw;              /* 線と同じ幅に合わせる */
  }
  .location__title{
    font-size: 22px;               /* 見出し 16px */
  }
  .location__underline{
    width: 52vw;                  /* 線 250px */
    margin-bottom: 15px;
  }
  .location__description{
    font-size: 14px;               /* 本文 12px */
    line-height: 1.6;
  }
}





/* foldable を背景画像の上に */
.foldable__toggle,
.foldable__cta {
  position: relative;
  z-index: 2;
}


.foldable__inner {
  width: 80%;
  margin: 0 auto;
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative;
  z-index: 2;
}
.foldable__inner.collapsed {
  position: relative;
  margin-top: 120px;
  max-height: calc(1.5 * 100vh); /* 150vh */
}

.foldable__inner.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 120px;
  pointer-events: none;
  backdrop-filter: blur(6px);
  mask-image: linear-gradient(to top, black 0%, transparent 100%);
}

/* 見出し */
.foldable__main-title {
  font-size: 40px;
  font-family: "Hiragino Mincho ProN", serif;
  font-weight: 600;
  color: #34343d;
  margin: 0;
}
.foldable__main-underline {
  display: block;
  width: 100%;
  height: 1px;
  background: #CBA135;
  margin: 8px 0 24px;
}
.foldable__subtitle {
  font-size: 28px;
  color: #34343d;
  margin: 0 0 24px;
    font-family: "Hiragino Mincho ProN", serif;
    font-weight: 300;
}

/* グリッド */
.foldable__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #CBA135;
  border-left: 1px solid #CBA135;
}
.foldable__grid-item {
  border-right: 1px solid #CBA135;
  border-bottom: 1px solid #CBA135;
  display: flex;
  flex-direction: column;
}

/* メディア領域 */
.foldable__grid-media {
  position: relative;
  width: 100%;
  padding-top: 60%; /* 高さ = 横幅 ×1.2 */
  overflow: hidden;
}
.foldable__grid-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 情報行 */
.foldable__grid-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
   /* 画像下から40px */
  margin-top: 20px;
  /* 自動高さに */
  height: auto;
  /* 左右パディングはそのまま */
  padding: 0 10px;
  box-sizing: border-box;
  margin-bottom: 20px; /* 各行の下に余白 */
  
}
.grid-info-left .grid-prefecture {
  margin-left: 20px;
  font-size: 16px;
  color: #34343d;
  margin-bottom: 3px; /* 下に余白 */
}
.grid-info-left .grid-spot {
  margin-left: 20px;
  font-size: 20px;
  color: #34343d;
}
.grid-map-link {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #34343d;
  text-decoration: none;
  margin-right: 20px; /* 右側の余白 */
}
.grid-map-link svg {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

/* 「他のエリアを見る」ボタン */

.foldable__inner {
   overflow: hidden;
   transition: max-height 0.4s ease;
   position: relative;

}

.foldable__inner-btn {
  display: block;
  margin: 30px auto 0;
justify-content: center;
max-width: fit-content;
  text-align: center;
  padding: 15px 40px;
  background: #CBA135;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
  font-family: "Hiragino Mincho ProN", serif;
  font-weight: 300;
    font-size: 22px;
    margin-top: 80px;
}
.foldable__inner-btn:hover {
  background: transparent;
  color: #CBA135;
  border: 1px solid #CBA135;

}



/* 展開／折りたたみボタン */
.foldable__toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  margin: 30px auto;
}
.foldable__toggle-arrow {
  display: block;
}

/* 矢印の回転 */
.foldable__toggle.open .foldable__toggle-arrow {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.foldable__toggle-text {
  margin-top: 8px;
  font-size: 18px;
  color: #34343d;
}

/* CTA ボタン */
.foldable__cta {
  display: block;
  margin: 0 auto;
  max-width: fit-content;
  text-align: center;
  justify-content: center;
  padding: 20px 30px;
  border: 1px solid #34343d;
  color: #34343d;
  cursor: pointer;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: "Hiragino Mincho ProN", serif;
  font-weight: 300;
  font-size: 22px;
}

.foldable__cta:hover {
  background: #34343d;
  color: #fff;
  
}


/* ==================================================
   折りたたみグリッド : Mobile  (≤768px)
   ================================================== */
@media (max-width: 768px){

  /* ---------- タイトル類 ---------- */
  .foldable__main-title{
    font-size: 24px;
    margin-left: 40px;

  }
.foldable__main-underline{ margin-bottom: 10px; }  /* 上の線と subtitle の間隔 */

 .foldable__subtitle{
  font-size: 20px;
    margin: 0 40px 10px; 
 }

  /* ---------- 残りすべてのテキスト ---------- */
  .grid-info-left .grid-prefecture,
  .grid-info-left .grid-spot,
  .grid-map-link,
  .foldable__inner-btn,
  .foldable__cta{
    font-size: 12px;
  }

  /* ---------- グリッドを画面幅いっぱい ---------- */
  .foldable__inner{ width: 100%; }
  /* ===== グリッドを1行2マスに変更 ===== */
  .foldable__grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important; /* 2カラム固定 */
    border-top: 1px solid #CBA135;
    border-left: 1px solid #CBA135;
  }

  /* １マス高さ 140px（画像 90px + 情報行 50px） */
 
  /* 罫線の再設定（2カラム用） */
  .foldable__grid-item{
    border-right: 1px solid #CBA135;
    border-bottom: 1px solid #CBA135;
  }
  /* 左列（奇数番目）のみ右線を表示 */
  .foldable__grid-item:nth-child(odd){
    border-right: 1px solid #CBA135;
  }
  /* 右列（偶数番目）は右線なし */
  .foldable__grid-item:nth-child(even){
    border-right: none;
  }

  /* ===== 画像の高さ短縮 ===== */
  .foldable__grid-media{
    height: 20vh;           /* 高さを短く（調整可） */
    padding-top: 0;         /* アスペクト比のpaddingを解除 */
  }
  .foldable__grid-media img{
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .grid-map-link{
    padding-left: 18px;
     font-size: 10px;
  }
  .foldable__grid-media img{
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
    /* ===== 文字スペース拡大 ===== */
  .foldable__grid-info{
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 8px 0;
    gap: 4px;
    min-height: 10vh;       /* 文字エリア確保（調整可） */
  }
  .grid-info-left{
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
.foldable__inner{
  margin-top: 120px;            /* ← ここを新設 */
}

.foldable__inner.collapsed{
    max-height: 55vh !important;   /* JS より後勝ちするとき用 */
  }
  .grid-prefecture,
  .grid-spot{
    font-size: 12px;
    white-space: nowrap;
  }

  /* ---------- ボタン類 ---------- */
  .foldable__inner-btn,
  .foldable__cta{
    padding: 10px 24px;
    font-size: 12px;
  }

  /* ---------- Toggle 部 ---------- */
  .foldable__toggle-text{
    font-size: 10px;
  }
.grid-map-link svg{
  width: 14px !important;   /* ← !important で HTML 属性を上書き */
  flex-shrink: 0;
}
}









/* ───────── Hairmake ───────── */
.hairmake {
  width: 80%;
  margin: 180px auto;
  display: flex;
  justify-content: center;
  z-index: 1;
  height: auto;
}
.hairmake__inner {
  display: flex;
  width: 100%;
  gap: 80px;
}
/* 左右のカラムを同じだけ広がるように */
.hairmake__img{
  flex: 1;             /* 両方とも残り横幅を等分 */
/* 中身を左右中央に寄せる */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* padding を使う方法（左右にそれぞれ2%ずつ空ける） */
  padding-inline: 10px;
  margin-left: 10px;
  box-sizing: border-box;
}

/* 画像は親幅いっぱいに */
.hairmake__img img {
  width: 90%;
  height: auto;
  object-fit: cover;
}
.hairmake__text {
  flex-direction: column;
  height: auto;
    flex: 1;             /* 両方とも残り横幅を等分 */
/* 中身を左右中央に寄せる */
  display: flex;
  justify-content: center;
  align-items: flex-start;

  /* padding を使う方法（左右にそれぞれ8%ずつ空ける） */
  padding-inline: 8%;
  box-sizing: border-box;
  
}
.hairmake__title {
  font-family: "eb-garamond", serif;
  font-weight: bold;
  font-size: 64px;
  color: #34343d;
}
.hairmake__underline {
  display: block;
  width:100%;
  height: 1px;
  background: #CBA135;
  margin-bottom: 60px;
}
.hairmake__desc {
  font-family: "Hiragino Mincho ProN", serif;
  font-weight: 300;
  font-size: 24px;
  color: #34343d;
  line-height: 1.8;
  letter-spacing: 0.05em;
  margin-bottom: 60px;
}
.hairmake__btn {
  align-self: flex-end;
  margin-top: 24px;
  padding: 8px 32px;
  font-size: 24px;
  font-family: "Hiragino Mincho ProN", serif;
  font-weight: 300;
  color: #34343d;
  background: transparent;
  border: 1px solid #34343d;
  cursor: pointer;
  transition: background-color .3s, color .3s;
  margin-right: 0;
}
.hairmake__btn:hover {
  background: #34343d;
  color: #fff;
}

/* 768〜1440px：画像が小さくなりすぎないように調整 */
@media (min-width: 768px) and (max-width: 1440px){

  /* カラム間の隙間は画面幅に応じて可変（狭い時は詰めすぎない） */
  .hairmake__inner{
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
  }

  /* 画像カラム：幅を clamp で確保（最小360px〜最大640px、目安は42vw） */
  .hairmake__img{
    flex: 0 0 clamp(360px, 42vw, 640px);
    padding-inline: clamp(4px, 1vw, 12px);
    margin-left: 0;                /* 左の微小マージンを打ち消して中央寄せしやすく */
    box-sizing: border-box;
  }

  /* 画像はカラム幅いっぱいに（90%指定を上書き） */
  .hairmake__img img{
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* テキストカラムは残り幅を使用。余白は可変で確保 */
  .hairmake__text{
    flex: 1 1 0;
    padding-inline: clamp(16px, 4vw, 48px);
    box-sizing: border-box;
  }

  /* 見出し・本文・ボタンもこの帯域で少し可変（任意） */
  .hairmake__title{
    font-size: clamp(40px, 5vw, 64px);
  }
  .hairmake__desc{
    font-size: clamp(16px, 2vw, 24px);
    line-height: 1.8;
  }
  .hairmake__btn{
    font-size: clamp(16px, 1.7vw, 24px);
    padding: 8px clamp(20px, 3vw, 32px);
  }
}


/* =========================================================
   Hairmake セクション ── Mobile (≤768px)
   ========================================================= */
@media (max-width: 768px){

  /* ── 1. 並び順を「タイトル → 線 → 画像 → 文章 → ボタン」に ── */
  .hairmake__inner{
    display: grid;
    grid-template-columns: 100%;
    grid-template-areas:
      "title"
      "line"
      "image"
      "desc"
      "btn";
    row-gap: 10px;          /* 各ブロック間の余白 */
    width: 100%;
  }

  /* .hairmake__text を “透過” して子要素をグリッドに直接参加させる */
  .hairmake__text{ display: contents; }

  /* ── 2. 各ブロックの配置 ── */
  .hairmake__title      { grid-area: title; margin: 0 0 0 10vw; font-size: 32px; }
  .hairmake__underline  { grid-area: line;  width: 85vw; margin: 0 0 0 10vw; }
  .hairmake__img        {
    grid-area: image;
    width: 85vw;
    margin-left: 8vw;     /* 左端＝画像左端を 20vw に統一 */
  }
  .hairmake__img img    { width: 100%; height: auto; object-fit: cover; }

  .hairmake__desc       {
    grid-area: desc;
    width: 74vw;
    margin: 0 0 0 10vw;
    font-size: 14px;
    line-height: 1.8;
  }

  .hairmake__btn        {
    grid-area: btn;
    justify-self: end;     /* 画面右寄せ */
    font-size: 16px;
    padding: 6px 24px;
  }
}





/* ===== Dress Section ===== */
.section--dress {
  width: 100%;
  padding: 80px 0;
  background: transparent; /* 背景は上位のマーブルが続く */
  display: flex;
  justify-content: center;
}
.dress__inner {
  width: 80%;
  max-width: 1250px;
  margin: 0 auto;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 40px 0;
  box-sizing: border-box;
  z-index: 1; /* 他の要素の上に表示 */
}
.dress__title {
  font-family: "eb-garamond", serif;
  font-weight: 700;
  font-size: 64px;
  color: #34343d;
  margin-bottom: 16px;
justify-content: center;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.06em;
}
.dress__subtitle {
  font-family: "Hiragino Mincho ProN", serif;
  font-weight: 300;
  font-size: 20px;
  color: #34343d;
  margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0em;
}

/* メインコンテナー */
.dress__container {
  width: 100vw;
  height: 70vh;
  background: #7e5d5b;
  display: flex;
  margin-bottom: 30px;
}
.dress__text-section {
  width: 80%;
  padding: 60px;
  color: #fff;
  box-sizing: border-box;
  margin-left: 5%;
  margin-top: 10px;

  
}

.dress__logo svg{
   fill: #fff;
}

.dress__logo {
  max-width: 260px;
  height: auto;
  margin-bottom: 20px;
}
.dress__text {
  font-family: "Hiragino Mincho ProN", serif;
  font-weight: 300;
 font-size: clamp(12px, 1.4vw, 17px);
  line-height: 2;
  margin-top: 40px;
  letter-spacing: 0.14em;

}

/* 右イメージエリア */
.dress__image-section {
  width: 45%;
  position: relative;
}
.dress__image-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dress__image-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  height: auto;
  object-fit: contain;
  max-height: 450px;
}

/* ギャラリーバー本体 */
.dress__gallery-bar {
  width: 100vw;
  height: 50vh;
overflow-x: auto;          /* 横スクロール可能化（必須） */  cursor: grab;
  overflow-y: hidden;

  position: relative;
  box-sizing: border-box;
}
.dress__gallery-bar::-webkit-scrollbar{ display: none; } /* WebKit 非表示（任意） */

/* アイテムを横並び、隙間ナシに */
.dress__gallery-images {
  display: flex;
  align-items: center;
  height: 120%;
  gap: 0;                    /* 間隔をゼロに */
}

/* 各アイテム */
.dress__gallery-item {
  flex: 0 0 350px;           /* 幅310px固定 */
  height: 100%;
  overflow: hidden;
}

/* アイテム内の画像 */
.dress__gallery-item img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}


/* =========================================================
   Dress セクション ── Mobile  (≤768px)
   ========================================================= */
@media (max-width: 768px){
.section--dress {padding: 0px 0;}

  /* ── 見出し ─────────────────────────── */
  .dress__title   { font-size: 32px; margin-bottom: 12px; }
  .dress__subtitle{ font-size: 12px; line-height: 1.7;   }

  /* ── メインコンテナ：左右→縦並び ─────── */
  .dress__container{
    flex-direction: column;     /* column で画像→テキストに積む */
    width: 100vw;
    height: auto;
    margin-bottom: 20px;
  }

  /* 画像ブロック（上） */
  .dress__image-section{
    width: 100%;
    height: 55vh;               /* 適度な高さを確保（任意） */
  }

  /* テキストブロック（下） */
  .dress__text-section{
    width: 100%;
    margin: 0;
    padding: 32px 8%;           /* 横 8% で余白 */
    box-sizing: border-box;
    margin-bottom: 30px;
  }
  .dress__logo      { max-width: 180px; }
  .dress__text      { font-size: 14px; line-height: 1.9; }

  /* ── ギャラリーバー ─────────────────── */
  .dress__gallery-bar{
    height: 380px;              /* = 300px + 40px 余白 */
  }
  .dress__gallery-item{
    flex-basis: 320px;       /* 1枚の横幅 */
    height: 380px;
  }
  .dress__gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
     pointer-events: none;     /* タップ選択の誤作動防止（任意） */
    user-select: none;
  }
}






/* ===== Costume Section ===== */
.section--costume {
  display: flex;
  justify-content: center;
  padding: 60px 0;
  background: transparent; /* 背景はそのまま */
  margin-top: 10px; /* 上のセクションとの間隔 */
  margin-bottom: 80px; /* 下のセクションとの間隔 */
}

.costume__inner {
  width: 70vw;              /* 画面幅の70% */
  max-width: 800px;         /* 必要に応じて制限 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

/* 正方形の画像ラッパー */
.costume__image-wrapper {
  width: 100%;
  position: relative;
}
.costume__image {
  width: 100%;
  aspect-ratio: 1 / 1;      /* 高さ＝幅 で正方形 */
  object-fit: cover;
  display: block;
}

/* 衣装をもっと見るボタン */
.costume__button {
  padding: 10px 30px;
  font-family: "Hiragino Mincho ProN", serif;
  font-weight: 300;
  font-size: 20px;
  color: #34343d;
  background: transparent;
  border: 1px solid #34343d;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.costume__button:hover {
  background: #34343d;
  color: #fff;
}

/* =================================================
   Costume セクション ── Mobile  (≤768px)
   ================================================= */
@media (max-width: 768px){

  /* コンテンツ幅を 90vw に拡げる */
  .costume__inner{
    width: 100vw;
    gap: 40px;                 /* 余白を少し詰める（任意） */
  }

  /* 画像ラッパー：画面幅 90%（= 90vw） */
  .costume__image-wrapper{
    width: 100%;               /* ＝ 90vw */
  }
  .costume__image{
    width: 100%;
  }

  /* ボタン文字を 14px に */
  .costume__button{
    font-size: 14px;
    padding: 8px 24px;         /* バランス調整（任意） */
    margin-top: 20px;
  }
}




/* ===== Section Plan ===== */
.section--plan {
  padding: 80px 0;
  /* 背景は親のマーブル */
  margin-top: 20px; /* 上のセクションとの間隔 */
  margin-bottom: 80px; /* 下のセクションとの間隔 */
  overflow-x: hidden; /* 横スクロールを防ぐ */
  background: none; /* 背景はそのまま */
  position: relative;
}
.plan__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;         /* ビューポートいっぱい */
  margin: 0;            /* 中央寄せを解除 */
  padding: 0 20px;      /* 任意で左右パディング */
  box-sizing: border-box;
}

/* ===== 左：Photo/Video を重ねる ===== */
.plan__media {
  position: relative;
  flex: 0 0 60%;
  max-width: 60%;            /* 左60% */
  aspect-ratio: 16/9;       /* お好みで調整 */
  overflow: visible;        /* はみ出しを許可 */
  transform:none;
}

/* 基本スタイル */
.plan__item {
  position: absolute;
  top: 0; left: 0;
  width: 100%; 
  transition: transform .4s ease,
              filter .4s ease,
              opacity .4s ease;
margin-left: 10%;}

/* 画像はアスペクト維持 */
.plan__item--photo {
   width: 100% !important;
  height: 100% !important;      /* ← フレーム高に合わせる */
  object-fit: cover !important; /* ← フレーム内に切り取り */
  
}
.plan__item--photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* 動画はコンテナにフィット */
.plan__item--video {
  width: 100%;
  height: 100%;
}
.plan__item--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* — 前面(active) — */
/* Photo front */
.plan__item--photo.active {
  z-index: 2;
  transform: translate(0,0) scale(1);
  filter: none;
  opacity: 1;
}
/* Video front */
.plan__item--video.active {
  z-index: 2;
  transform: translate(0,0) scale(1);
  filter: none;
  opacity: 1;
}

/* — 背面(not active) — */
/* Photo back */
.plan__item--photo:not(.active) {
   z-index: 1;
  /* もっと右下に隠したいなら 120px に */
  transform: translate(-120px, -120px) scale(0.8);
  filter: blur(4px);
  opacity: 0.8;
}
/* Video back */
.plan__item--video:not(.active) {
  z-index: 1;
  transform: translate(120px, 120px) scale(0.8);
  filter: blur(4px);
  opacity: 0.8;
}

/* ===== 動画コントロール ===== */
/* デフォルトは隠す */
.plan__controls {
  display: none;
  margin-left: 10%; /* 左に10%ずらす */
}

/* Video が前面(active)のときだけ表示 */
.plan__item--video.active ~ .plan__controls {
  display: flex;
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  background: rgba(0,0,0,0.4);
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.plan__play-btn {
  width: 30px; height: 30px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.plan__progress {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  background: #555;
  border-radius: 2px;
  cursor: pointer;
  margin: 0;
}
.plan__progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  background: #CBA135;
  border-radius: 50%;
  margin-top: -4px;
}


/* 右：サイドバー */
.plan__sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;    /* ここで右端へ */
  gap: 60px;
  flex: 0 0 30%;
  max-width: 30%;
  transform: none;
  margin-right: -5%; /* 左に10%ずらす */
}

/* 「Plan」タイトル＋下線 */
.plan__header {
  display: flex;
  align-items: center;
}
.plan__title {
  font-family: "eb-garamond", serif;
  font-weight: bold;
  font-size: 64px;
  color: #34343d;
  margin-left: 15%;
}
.plan__underline {
  display: block;
  width: 25vw;
  height: 1px;
  background: #CBA135;
  margin-left: 16px;
}

/* Photo/Video トグル */
.plan__toggles {
  display: flex;
  flex-direction: column;
  align-items: center;     /* 中央揃え */
  gap: 45px;
  transform: translateX(-20%); /* 左にずらす */
  margin-right: 45%;
}
.plan__btn {
  position: relative;
  display: block;
  padding: 8px 16px;
  background: transparent;
  border: none;
  font-family: "din-1451-lt-pro", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #34343d;
  cursor: pointer;
  user-select: none;                /* テキスト選択禁止 */
  
}
/* 角括弧（45度の小線） */
.plan__btn::before,
.plan__btn::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #fff;
  transition: border-color 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}
.plan__btn::before {
 top: 0;
  left: 0;
  border-top: 1px solid;
  border-left: 1px solid;
}
.plan__btn::after {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid;
  border-right: 1px solid;
}
/* active状態＝枠に切り替え＋括弧非表示 */
.plan__btn.active,
.plan__btn:hover {
  border: 1px solid #cba135;
    color: #cba135;
}
.plan__btn.active::before,
.plan__btn.active::after,
.plan__btn:hover::before,
.plan__btn:hover::after {
  opacity: 0;
}

/* 「詳細を見る」 */
.plan__cta {
  font-family: "Hiragino Mincho ProN", serif;
  font-size: clamp(16px, 1.6vw, 24px); /* 画面に応じて縮む→一行死守 */
  color: #34343d;
  background: transparent;
  border: 1px solid #34343d;
  padding: 8px 24px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
   transform: translateX(-10%); /* 左にずらす */
  margin-right: 45%;
}
.plan__cta:hover {
  background: #34343d;
  color: #fff;
}

@media (max-width: 1024px){
  .plan__cta{
    font-size: clamp(15px, 2vw, 20px);
    padding: 8px 20px;         /* 文字縮小に合わせて左右も少し詰める */
  }
}
/* =====================================================
   Plan セクション ── Mobile  (≤768px)
   ===================================================== */
@media (max-width: 768px){

.section--plan {
margin-bottom: 20px;
padding-top: 20px;
}

  /* ── 1. レイアウトを「タイトル → トグル → メディア → CTA」順に ── */
  .plan__inner{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "toggles"
      "media"
      "cta";
    row-gap: 24px;
    width: 100%;
    padding: 0 5vw;         /* 左右 5vw の余白 */
    box-sizing: border-box;
    justify-items: stretch;
  }

  /* .plan__sidebar の子を直接グリッドに参加させる */
  .plan__sidebar{ display: contents; }

  /* ── 2. タイトル＋下線 ───────────────────── */
  .plan__header{ grid-area: header; align-items: center;  justify-content: flex-end;
  margin-right: -5vw;}
  .plan__title{
    font-size: 32px;                   /* 32px */
margin: 0 8px 0 0;            /* タイトルの右に 8px だけ隙間 */  

}
  .plan__underline{
    width: 30vw;                       /* 15vw */
    margin: 0;
  }

  /* ── 3. トグル（Photo / Video） ────────────── */
  .plan__toggles{
    grid-area: toggles;
    flex-direction: row;               /* 横並びに変更 */
    justify-content: center;
    gap: 40px;
    transform: none !important;        /* 既存の translateX を無効化 */
    margin: 0;
    margin-top: 20px;
  }
  .plan__btn{
    font-size: 14px;                   /* 14px */
    padding: 10px 22px;
  }

  /* ── 4. メディア（画像 / 動画） ─────────────── */
  .plan__media{
    grid-area: media;
    margin: 0 auto;                    /* 横中央 */
    width: 75vw;                       /* 画面幅の 90% */
    max-width: 100%;
    aspect-ratio: 16/9;
    transform: translateX(-10%);
    margin-bottom: 30px;
    margin-top: 30px;
  }

 /* 背面に回るときのオフセットを縮める */
  .plan__item--photo:not(.active){
    transform: translate(-40px, -40px) scale(0.9);
  }
  .plan__item--video:not(.active){
    transform: translate( 40px,  40px) scale(0.9);
  }

  /* ── 5. CTA ボタン ───────────────────────── */
  .plan__cta{
    grid-area: cta;
    font-size: 14px;                   /* 14px */
    padding: 10px 25px;
    justify-self: end;                 /* 右寄せ */
    align-self: start;
    transform: none !important;        /* 既存の translateX を無効化 */
    margin: 0;
    margin-top: 50px;             /* 下へ 24px 余白を足す */
    margin-right: 30px;
  }
}




/* ===== Section Achievements ===== */
.section--achievements {
  padding: 80px 0;
  background: none;
}
.achievements__inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ① タイトル */
.achievements__title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.achievements__line {
  width: 150px;
  height: 1px;
  background: #CBA135;
}
.achievements__title {
  font-family: "eb-garamond", serif;
  font-weight: bold;
  font-size: 64px;
  color: #34343d;
  margin: 0;
}

/* ② 実績画像 */
.achievements__hero-image {
  display: block;
  width: 100%;
  margin-top: 120px;
}

/* ③ 小見出し */
.achievements__subtitle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 160px 0 40px;
}
.achievements__diamond {
  width: 12px;
  height: 12px;
  background: #CBA135;
  transform: rotate(45deg);
}
.achievements__subtitle {
  margin: 0;
  font-family: "Hiragino Mincho ProN", serif;
  font-weight: 300;
  font-size: 28px;
  color: #34343d;
  white-space: nowrap;
}

/* ─── Achievements 自動リール（改訂版） ─── */
.achievements__carousel-bar {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 400px;
  position: relative;
  box-sizing: border-box;
  pointer-events: none; /* マウス操作を完全に無効化 */
}

.achievements__carousel-track {
  display: flex;
  gap: 0;
  height: 100%;
  pointer-events: none;
  will-change:transform;        /* GPU 最適化 */
}

.achievements__carousel-item {
  flex: 0 0 550px;
  width:550px;
  height: 400px;
  pointer-events: none;
}

.achievements__carousel-item video {
  width:100%;         /* ★ 幅を100%に固定 */
  height:100%;
  object-fit: cover;
  display: block;
  flex:0 0 auto;
  pointer-events: none;
}



.achievements__footer{
 display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;

  /* 右端との距離を“可変の一定値”で固定 */
padding-inline-end: max(env(safe-area-inset-right), clamp(6px, 1vw, 14px));margin-top: 20px;

  /* 横方向の自動余白で右寄せ（親が横幅いっぱいでも安全） */
  margin-left: auto;

  /* はみ出しの原因を除去 */
  transform: none;
  max-width: 100%;
  box-sizing: border-box;
}


.achievements__see-more{
   font-family: "din-1451-lt-pro", sans-serif;
  font-size: 28px;
  color: #34343d;
  background: none;
  border: 1px solid #34343d;
  padding: 8px 34px;
  cursor: pointer;
  position: relative;
  display: inline-block;
  border: none; 
  top: 10px;
}

/* ───────── 追加分 ───────── */
.achievements__see-more:hover{
  color: transparent;                       /* 塗りを消す      */
  -webkit-text-stroke: 1px #34343d;         /* WebKit 系        */
          text-stroke: 1px #34343d;         /* 標準プロパティ（対応ブラウザのみ） */
}


/* ─── 矢印 ─── */
.achievements__arrow {
  position: relative;
  width: 160px;              /* 水平線の長さ */
  height: 1px;
  background-color: #34343d;
  margin-top: 8px;           /* ボタンとの間隔 */
}

/* 右端から上向き20pxの線を-45°傾ける */
.achievements__arrow::after {
  content: "";
  position: absolute;
  right: 0;
    top: 0.2px;               /* 水平線の上端に合わせる */
  bottom: 100%;              /* 水平線の上端に合わせる */
  width: 22px;               /* 線の長さ */
  height: 1px;
  background-color: #34343d;
  transform-origin: right;
  transform: rotate(45deg); /* 左上方向に45°傾ける */
}

/* ここから“超ワイド”帯のハード固定（より右寄せ） */
@media (min-width: 1600px){
  .achievements__footer{
    padding-inline-end: max(env(safe-area-inset-right), 12px);
  }
}
@media (min-width: 1920px){
  .achievements__footer{
    padding-inline-end: max(env(safe-area-inset-right), 10px);
  }
}
@media (min-width: 2400px){
  .achievements__footer{
    padding-inline-end: max(env(safe-area-inset-right), 8px);
  }
}

/* =========================================================
   Achievements セクション ── Mobile  (≤768px)
   ========================================================= */
@media (max-width: 768px){

  /* ── ① タイトル行 ───────────────────────── */
  .achievements__title       { font-size: 32px; margin: 0;}
  .achievements__line        { width: 35px; }

  /* ── ② ヒーロー画像：画面幅いっぱい ──────── */
  .achievements__hero-image{
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* 中央基点から左右へはみ出す */
    padding: 0 20px;
    margin-top: 60px;
  }

  /* ── ③ サブタイトル行 ────────────────────── */
  .achievements__subtitle-wrapper{
    gap: 5px;
   margin-top: 140px;
  }
  .achievements__subtitle    { font-size: 14px; }
  .achievements__diamond     { width: 8px; height: 8px; }

  /* ── ④ カルーセルを半分サイズに ──────────── */
  .achievements__carousel-bar{
    height: 200px;                   /* 400 → 200 */
  }
  .achievements__carousel-item{      /* 幅は自動、高さだけ半分 */
 flex-basis: 240px; /* 高さ260pxの9:16に近い横幅 */
    width: 240px;
    height: 200px;
  }

  .achievements__carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ── ⑤ See More ＋ 矢印 ─────────────────── */
  .achievements__footer{
    transform: none;                 /* PC の translateX を無効化 */
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;         /* 上下中央揃え ←★追加 */
    margin-right: 30px;              /* 右寄せ位置 */
    gap: 4px;
    flex-direction: column;
  }
 .achievements__see-more{
    font-size: 14px;
    padding: 6px 16px;
    line-height: 1;              /* 文字中心が取りやすい */
  }
  /* 矢印：自身の中央基準で垂直位置を合わせる */
  .achievements__arrow{
    width: 80px;
    height: 1px;
    background: #34343d;
    position: relative;
    top: 50%; transform: translateY(-50%);   /* ←★追加 */
  }
  .achievements__arrow::after{
    content: "";
    position: absolute;
    right: 0;
    top: 0;                     /* 高さは親の中心に来る */
    width: 11px;
    height: 1px;
    background: #34343d;
    transform-origin: right;
    transform: rotate(45deg);
  }
}



/* ------------ コメントアウト中 ------------ */
/* セクション中央寄せ */
.section--instagram{
  width:100%;
  padding:120px 0 80px;
  background:none;
  text-align:center;
  overflow-x:hidden;
}

/* タイトル（左右150px ライン） */
.insta-title{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:30px;
  margin-bottom:80px;
  font-family:"EB Garamond",serif;
  font-weight:700;
  font-size:64px;
  color:#34343d;
}
.insta-line{
  display:block;
  width:150px;
  height:1px;
  background:#CBA135;
}

/* サムネイルグリッド */
.insta-grid{
  display:flex;
  overflow-x:auto;          /* 横へ自動スクロールしたい場合 */
  gap:0;
  scroll-snap-type:x mandatory;
}
.insta-item{
  flex:0 0 auto;
  width:33.333vw;           /* 3 枚見切れる幅など自由に */
  height:33.333vw;
  position:relative;
  scroll-snap-align:start;
}
.insta-item img{
  width:100%;
  height:100%;
  object-fit:cover;
}




/* ───── Blog ───── */
.section--blog{
    padding:120px 0;
    background:none;
    overflow-x:hidden;
}

.blog__title-wrapper{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:40px;
  margin-bottom:80px;
}
.blog__line{
    display:block;
    width:150px;
    height:1px;
    background:#CBA135;
}

.blog__title{
    font:700 64px/1 'EB Garamond',serif;
    color:#34343d;
    margin:0;
}

/* 横スクロールバー本体 */
.blog__bar{
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 300px;             /* ← バー全体の高さ */
  position: relative;
  
}

/* レール（自動往復アニメ） */
.blog__track{
  display: flex;
  gap: 0;
  height: 100%;
  animation: blogScroll 20s linear infinite alternate;
}

.blog__item{
  flex:0 0 400px;     /* 幅はそのまま */
  height:100%;
  overflow:hidden;
}

.blog__item iframe{
  width :270px;       /* 元の幅 */
  height:300px !important;
  border:0;
  transform:scale(1.5);          /* 50% 拡大 */
  transform-origin:top left;      /* 左上を基準に拡大 */
}


/* キーフレーム（往復） 400px×5 = 2000px */
@keyframes blogScroll{
  from{ transform: translateX(0); }
  to  { transform: translateX(calc(-2000px + 100vw)); }
}


.blog__footer{
    margin-top: 30px;
    display: flex;
  justify-content: flex-end;
  flex-direction: column;
  align-items: flex-end;
transform: translateX(-10%);
}


.blog__see-more{
   font-family: "din-1451-lt-pro", sans-serif;
  font-size: 28px;
  color: #34343d;
  background: none;
  border: 1px solid #34343d;
  padding: 8px 16px;
  cursor: pointer;
  position: relative;
  display: inline-block;
  border: none; 
  top: 10px;
  margin-right: 20px;
}

/* ───────── 追加分 ───────── */
.blog__see-more:hover{
  color: transparent;                       /* 塗りを消す      */
  -webkit-text-stroke: 1px #34343d;         /* WebKit 系        */
          text-stroke: 1px #34343d;         /* 標準プロパティ（対応ブラウザのみ） */
}

/* ─── 矢印 ─── */
.blog__arrow {
  position: relative;
  width: 160px;              /* 水平線の長さ */
  height: 1px;
  background-color: #34343d;
  margin-top: 8px;           /* ボタンとの間隔 */
}

/* 右端から上向き20pxの線を-45°傾ける */
.blog__arrow::after {
  content: "";
  position: absolute;
  right: 0;
    top: 0.2px;               /* 水平線の上端に合わせる */
  bottom: 100%;              /* 水平線の上端に合わせる */
  width: 22px;               /* 線の長さ */
  height: 1px;
  background-color: #34343d;
  transform-origin: right;
  transform: rotate(45deg); /* 左上方向に45°傾ける */
}

/* =========================================================
   Blog セクション  ──  Mobile  (≤768px)
   ========================================================= */
@media (max-width: 768px){

  /* ── ① タイトル行（Achievements と同じ仕様）──────── */
  .blog__title-wrapper{gap: 20px;
  }
  .blog__title{ font-size: 32px; }      /* 32 px */
  .blog__line { width: 55px; }          /* 35 px */

  /* ── ⑤ See More ＋ 矢印 ───────────────────────── */
  .blog__footer{
    transform: none;                    /* PC の translateX 無効化 */
    display: flex;
    flex-direction: column;             /* ボタンの下に矢印 */
    justify-content: flex-end;          /* 右寄せ */
    align-items: flex-end;              /* 縦も右端にそろえる */
    gap: 4px;
    margin-right: 30px;                 /* 右端から 30 px */
  }

  .blog__see-more{
    font-size: 14px;
    padding: 6px 16px;
    line-height: 1;
  }

  .blog__arrow{
    width: 80px;
    height: 1px;
    background: #34343d;
    position: relative;
    margin-right: 20px;
  }
  .blog__arrow::after{
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 11px;                        /* 22 → 11 */
    height: 1px;
    background: #34343d;
    transform-origin: right;
    transform: rotate(45deg);
  }
}





/* ───────── Footer ───────── */
/* もとの footer 定義 */
.site-footer{
  position:relative;
  width:100%;
  height:48vh;
  background:#34343d;
  color:#fff;
  /* overflow:hidden; ← これが原因で影が切れる */
  overflow: visible;
  z-index: 5;              /* 本文より手前に置きたいなら調整 */

   /* ↓―― ここがポイント ――↓ */
  filter: drop-shadow(0 -5px 10px rgba(0,0,0,.45));
  /*     └─↑   ↑   ↑
          X   Y   Blur   color   */
  
}


.footer__inner{
  width:100%;
  height:100%;
  margin:0 0;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  padding:40px 0;
  box-sizing:border-box;
   
}


.footer__middle {
  /* this middle block sits in the middle and will shrink to fit its contents */
  display: flex;
  flex-direction: column;
  gap: 40px;                         /* or use margin-bottom on nav/ margin-top on legal */
  margin-top: 60px;
}

/* ── ① 上段 ── */
.footer__top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-left: 6%;
  margin-right: 6%;
  margin-bottom: 60px;
}

/* 左ブランド塊 */
.footer__branding{
  display:flex;
  align-items:flex-start;
  gap:30px;
  align-items: center;
  padding-left: 0;
  padding-top: 2%;
}
.footer__logo-right{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    gap: 10px;
    margin-top: 5px;
}
.footer__logo{
  height:12vh;
  width: auto;
}
.footer__logotype{
  height:2vh;
}
.footer__catch{
  margin:0;
  font-family:"Hiragino Mincho ProN",serif;
  font-weight:300;
  font-size:1.4vw;
  font-feature-settings: "palt";
  letter-spacing: 0.1em;
}



/* ── ② 仕切り線 ── */
.footer__divider{
  display:block;
  width:95%;
  height:1px;
  background:#fff;
  margin:0 auto;
}

/* ---------- Footer Nav ---------- */
.footer__nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 6%;
}

.footer__menu,
.footer__dropdown { list-style: none; margin: 0; padding: 0; }

.footer__menu {
  display: flex;
  gap: 80px;
  font: 1vw/1 "Times New Roman", serif;
  letter-spacing: .08em;
}
.footer__menu a:hover { color: #7d7d7d; }

/* 基点 */
.footer__gallery { position: relative; }

/* ───────── Footer Dropdown (Global Nav と同じパターン) ───────── */
/* ───────── Footer Dropdown ───────── */
.footer__gallery {
  position: relative;
}

.footer__gallery .footer__dropdown {
  display: none;
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 10px;
  background: rgba(131, 131, 131, 0.3);
  border-radius: 2px;
  z-index: 9999;
  color: #fff;
}



/* 矢印 ▲/▼ */
.footer__gallery .footer__gallery-head {
  display: inline-flex;
  align-items: center;
}
.footer__gallery .footer__gallery-head::after {
 content: '';
  display: inline-block;
  margin-left: 6px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform 0.4s ease;
  transform-origin: center; /* 中心回転を保証 */
  transform: rotate(0deg);  /* 初期：上向き */
}
/* ホバー OR .open で矢印 ▼ */
.footer__gallery:hover  .footer__gallery-head::after,
.footer__gallery.open   .footer__gallery-head::after {
  transform: rotate(180deg);
}


/* open クラスで展開 */
/* ホバー OR .open でドロップダウン表示 */

.footer__gallery.open   .footer__dropdown {
  display: flex;
}

.footer__gallery:hover > .footer__dropdown {
  display: flex;
}



/* --- SNS --- */
.footer__sns{display:flex;gap:50px;}
.footer__sns img{height:20px;}

/* --- Legal Row (少し上げる・クリックは有効) --- */
.footer__legal-row{
  display:flex;align-items:center;gap:60px;
  font-size:.9vw;flex-wrap:wrap;
  margin:10px 6% 10px;              /* 上方向 10px だけ詰める */
}

.footer__legal-link:hover{color:#cba135;}

/* =========================================================
   FOOTER ≥768px：項目間の間隔とclampでのサイズ調整のみ（配置は不変）
   ========================================================= */
@media (min-width: 768px){

  /* ── 上段ロゴ群：サイズだけ可変（配置はそのまま） ── */
  .footer__branding{
    gap: clamp(10px, 1.2vw, 24px) !important;
  }
  .footer__logo{
    height: clamp(44px, 7.6vh, 80px) !important;
    width: auto !important;
  }
  .footer__logotype{
    height: clamp(14px, 1.8vh, 24px) !important;
    width: auto !important;
  }
  .footer__catch{
    font-size: clamp(16px, 1vw, 28px) !important;
    letter-spacing: .08em !important;
  }

  /* ── メニュー：gapとフォントのみ上書き ── */
  .footer__menu{
    /* 既存の `font: 1vw/1 ...` を確実に上書き */
    font: normal clamp(16px, 1.1vw, 20px)/1 "Times New Roman", serif !important;
    letter-spacing: .06em !important;
    gap: clamp(15px, 4.2vw, 70px) !important;  /* 目安10px前後 */
    white-space: nowrap !important;           /* まずは1行死守 */
  }

  /* ── SNS：gapとアイコンサイズのみ上書き（はみ出し防止） ── */
  .footer__sns{
    gap: clamp(12px, 5.2vw, 55px) !important;  /* 目安10px前後 */
    white-space: nowrap !important;
  }
  .footer__sns img{
    height: clamp(14px, 1.6vw, 22px) !important; /* 幅不足時は縮む */
    width: auto !important;
  }

  /* ── legal-row：行の崩れを抑えるため数値だけ調整 ── */
  .footer__legal-row{
    flex-wrap: wrap !important;                            /* 必要なら2段OK */
    gap: clamp(14px, 4.6vw, 50px) !important;              /* 目安10px前後 */
    font-size: clamp(12px, 1.1vw, 14px) !important;
    row-gap: 6px !important;                               /* 2段時の行間を詰める */
  }
  .footer__copyright,
  .footer__legal-link{
    white-space: nowrap !important;                        /* 文言は折り返さない */
  }
}

/* ── タブレット帯で“さらにタイト”にする最終保険（配置は不変） ── */
@media (min-width: 768px) and (max-width: 1100px){
  .footer__menu{
    font-size: clamp(11px, 2vw, 14px) !important;
    gap: clamp(12px, 4vw, 30px) !important;
  }
  .footer__sns{
    gap: clamp(6px, 3vw, 22px) !important;
  }
  .footer__sns img{
    height: 18px !important;
  }
}



/* =========================================================
   Footer  ──  Mobile layout (≤768px)
   ========================================================= */
@media (max-width: 768px){


  /* ── パーツの並び順を明示 ─────────────────── */
  .footer__top        { order: 0; }   /* Branding */
  .footer__menu       { order: 1; }   /* メニュー */
  .footer__divider    { order: 2; }   /* 白線 ←★メニューの直後 */
  .footer__sns        { order: 3; }   /* SNS アイコン列 */
  .footer__legal-row  { order: 4; }   /* Legal ＆ Copyright */


  /* 全体を縦積みにして高さ自動化 */
  .site-footer{
    height: auto;
    padding: 40px 0 20px;      /* 上 40px / 下 20px */
  }
  .footer__inner{ padding: 0 5vw; }        /* 左右 5vw */

  /* ── ① Branding ─────────────────────────── */
  .footer__top{
    flex-direction: column;
    align-items: flex-start;                         /* 左寄せ */
    margin: 0 0 32px;
  }
  .footer__branding{ gap: 20px; margin-top: 15px;margin-left: 15px;}
  .footer__logo{     width: 55px;  height: auto; }
  .footer__logotype{ height: 15px; width: auto; }
  .footer__catch{    font-size: 14px; letter-spacing: 0.14em;}
  .footer__logo-right{margin-top: 5px;}

 .footer__nav-row{
    flex-direction: column;              /* ← 横並び→縦並び */
    align-items: flex-start;
    gap: 35px;
    margin: 0;                           /* Branding と左揃え */
  }

  /* ── ② メニュー ─────────────────────────── */
  .footer__menu{
 display: flex;
    flex-direction: column;
    gap: 30px;
    font: 16px/1 "Times New Roman", serif;
    padding: 0;
    margin: 0;
    margin-left: 25px;
    margin-bottom: 20px;
  }
  .footer__menu a{ display: block; }

 /* ── ②-1  GALLERY タップ展開 ────────────────── */
  .footer__gallery .footer__dropdown{
    position: static;          /* ボタン直下に */
    display: none;             /* 初期閉じ */
    flex-direction: column;
    gap: 12px;
  
    background: none;
     align-items: flex-start;   /* 左寄せで並べる          */
    padding-left: 0;          /* 余分なインデントを削除   */
    margin-left: 50px;           /* 〃                      */
    margin-top: 20px;
    gap: 20px;                /* メニューと同じ行間 (=20) */
  }
  .footer__gallery.open .footer__dropdown{ display: flex; }

  /* 矢印アイコン少し小さく */
  .footer__gallery .footer__gallery-head::after{
    border-left-width: 3px;
    border-right-width: 3px;
    border-top-width: 5px;
  }


  /* ── ③ 区切り線 ─────────────────────────── */
 .footer__divider{ display: none; }

/* ── ④ SNS アイコン列 ─────────────────────── */
  .footer__sns{
    order: 2;                              /* メニューの次 */
    display: flex;
    gap: 50px;
justify-content: center;
    margin: 0 auto;
    padding-top: 45px;
    border-top: 1px solid #fff;            /* ← 白線はここ */
    width: 90vw;
  }
  .footer__sns img{ height: 22px; width: auto;  }

  /* ── ⑤ Legal リンク + Copyright ────────────── */
  .footer__legal-row{
    order: 3;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    margin-top: 24px;
  }
  .footer__copyright{
    order: 2;            /* リンク３つの下へ */
    flex-basis: 100%;    /* 折り返して左揃え */
    margin-top: 6px;
  }
  .footer__legal-link{
    margin-right: 5px;
  } 
  
  .footer__gallery .footer__dropdown{ display:none; }
  .footer__gallery.open .footer__dropdown{ display:flex; }
}






.dress__gallery-bar,
.blog__bar,
.achievements__carousel-bar,
.fifth__bar{
  overflow-x:hidden;   /* 念のため二重にガード */
}






/* =====================================================
   ■  MOBILE  (max-width: 768px)
   ===================================================== */
@media (max-width: 768px) {

 .hero{                 /* ← 追加 */
    position:relative;   /*   ここがポイント */
    height:100vh;
  }



  /* ----- 既存グローバルナビを完全非表示 ----- */
  .global-nav { display: none !important; }

  /* ---------- 1st VIEW : HERO ---------- */
  .hero              { height: calc(var(--vh, 1vh) * 100); position: relative;z-index: 0;}
  /* ===== HERO for Mobile  (1st〜3rd view) ===== */
.hero__video{
  position: fixed;                  /* ← 重要：最初から固定 */
  top: 0;                        /* 指定どおり 20px の余白 */
  left: 50%;
  width: 90vw;
  height: 65vh;
  transform: translate(-50%, 20px) scale(1);  /* 初期は少し下げておく */
  transform-origin: center top;
  will-change: transform;
  z-index: 1;
}

/* ロゴ＋キャッチをビデオのすぐ下に重ねる */
.hero__sticky{
  position: fixed;
  top: calc(20px + 70vh + 10px);    /* ビデオの真下＋10px */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  transition: opacity .3s ease;
}


/* 既出の .scroll-indicator ／ #mobileMenuBtn の CSS はそのまま有効 */
.hero__overlay{
  transform: translateY(-15px);

}

.hero__brand{
justify-content: center;
    display: flex;
    align-items: center;     /* 垂直中央揃え */
    gap: 20px;               /* ロゴと文字の間隔 */
  margin-bottom: 20px;
}
.hero__copy{
    text-align: left !important;   /* ← これだけ追加 */
    margin-bottom: 15px !important;
  }

  .hero__logo       {   width: 55px !important;
    height: auto !important;}
  .hero__tagline{
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 1.7;
    letter-spacing: .15em;
    white-space: pre-line;    /* 2 行を保持 */
  }
.hero__overlay{
  position: absolute;
    bottom: env(safe-area-inset-bottom, 10px);  /* ノッチ機にも対応 */
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ここで brand と indicator の隙間を調整 */
    gap: 15px;        /* ← 好きな値に変更。例: 24〜32px */
    transform: none;  /* 以前の translateY をリセット */
}
  /* scroll-down ＋ 矢印 */
 .scroll-indicator {
    position: static;
    bottom: 20px;
    left: 50%;
    transform: translate(-45%,55%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
  }
  .scroll-indicator span{
    display: block;
    margin-left: 0;
    margin-bottom: 4px;
    font-size: 12px;
    color: #CBA135;
  }
  .scroll-indicator svg{
    margin-left: 24vw;
    width: 192px; height: 2vh;
    stroke: #CBA135;
    stroke-width: 1px;
    fill: none;
  }

  /* ---------- 2nd VIEW : INTRO ---------- */
  .section--intro           { height: 150vh; }
  .intro__overlay{
    gap: 12px;
    padding-top: 0;
  }
  .intro__logo        { width: 120px; margin-bottom: 10px;}
  .intro__logotype    { width: 240px; margin: 0; margin-bottom: 40px;}
  .intro__est         { font-size: 20px; }
  .intro__catch       { font-size: 14px; }
  .intro__description p{
    font-size: 12px; line-height: 1.8;
  }

  /* ---------- 3rd VIEW : STORY ---------- */
  .section--third     { padding-left:10%;height: 100vh; }
  .content-wrapper-3  {
    flex-direction: column;
    align-items: center;
    gap: 80px;
    position:relative;
  }
 
  .text-container-3    { font-size: 12px; letter-spacing: .1em; }
.content-left-3{
  transform: translateY(10%);
  gap: 50px;
}
.content-wrapper-3,
  .content-left-3,
  .content-right-3,
  .text-container-3{
    width:100%   !important;   /* 幅フル */
    max-width:none !important; /* 上書き防止 */
    margin:0     !important;   /* 自動センタリング潰し */
    padding:0    !important;   /* 余計な左右余白をゼロに */
    align-self:flex-start !important; /* どこかで center 指定されていても無視 */
    text-align:left !important;
  }
 .content-left-3{
    width:80% !important;   /* ← 必要なら値を自由に変更 */
  
  }


 .br-sp { display: inline; }          /* ← SP */

   /* テキスト 12px */
  .section--fourth .fourth__text {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.1em;
  }

  /* レイアウトを縦並びにして中央寄せ */
  .section--fourth .fourth__container {
    flex-direction: column;
    align-items: center;
  }

  /* 画像ラッパーを全幅に */
  .section--fourth .fourth__image-wrapper {
    width: 100%;
    flex: 0 0 100%;
  }

  /* 画像を画面いっぱいに */
  .section--fourth .fourth__image {
    width: 100vw;       /* ビューポート幅いっぱい */
    height: auto;
    max-width: 100%;
    display: block;
  }

.br-sp-fifth{
  display: block;
}
.section--fourth{
height: 340vh; 
}

  /* Header → 14px */
  .section--fifth .fifth__header,
  .section--fifth .fifth__heading {
    font-size: 14px;
    line-height: 1.8;
    white-space:normal!important;
  }

  /* Footer → 12px */
  .fifth__footer p {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.02em;
  }

  /* Bar Photo → 250×250 */
  .fifth__bar img{
    width: 200px;
    height: 200px;
    object-fit: cover;   /* はみ出し防止 */
    display: block;
  }

  /* モバイルは縦積み＋中央寄せ推奨 */
  .section--fifth .fifth__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
}


/* ================= MOBILE HERO OVERLAY ================= */
.hero__overlay{
  position:absolute; inset:0;
  display:flex; flex-direction:column;
  align-items:center; justify-content:flex-end;
  padding-bottom:80px;             /* ↕︎ 矢印との間隔 */
  pointer-events:none;             /* 中の a だけ通す */
  transition:opacity cubic-bezier(.4,0,.2,1);
    opacity: 1;
}

.hero__logo       {width:70px; margin-bottom:10px;}
.hero__copy{
  font:600 16px/1.6 "Hiragino Mincho ProN",serif;
  text-align:center; letter-spacing:.2em;
  margin-bottom:5px; white-space:pre-line;
  line-height: 0.8;
}

/* scroll-down */
.scroll-down      {display:flex; flex-direction:column; align-items:center; gap:6px; pointer-events:auto;}
.scroll-down__label{font-size:12px; color:#CBA135;}
.scroll-down__arrow{width:200px; height:20px;}




/* PC では完全に隠す */
@media (min-width:769px){
  .hero__overlay,
  #mobileNavToggle{ display:none; }
 #mobileNav{display: none;}
 .br-sp { display: none; }            /* ← PC */
.br-sp-fifth{
  display: none;
}
.video-filter-sp {
  display: none;
}

}


/* ===== SP ONLY: ハンバーガー確実押下 & FV中央戻し & 背景層の貫通 ===== */
@media (max-width: 768px) {

  /* 背景ヒーロー層は背面＆クリック貫通（ボタンのクリックを奪わない） */
  .hero{
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }
  .hero__video,
  .video-filter{
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: none !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }
 .video-filter-sp {
    position: absolute !important; /* 既存のレイヤー指定に合わせる */
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;

    /* 既存の .video-filter(z-index:0 or 1) の“上”に重ねる */
    z-index: 0 !important;

    /* 濃さはお好みで。ここは固定の暗めフィルター */
    background: rgba(0, 0, 0, 0.35) !important;

    /* もしSPでは常に濃さ一定にしたいなら透明度も固定 */
    opacity: 1 !important;

    display: block;
  }
  /* 旧FVパーツはSPで出さない */
  .hero__overlay,
  .hero__sticky,
  .scroll-indicator{
    display: none !important;
  }

  /* 実質のFV（intro）を「正味の中央」に戻す */
  .section--intro{
    position: relative !important;
    z-index: 2 !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;   /* 垂直中央 */
    justify-content: center !important; /* 水平中央 */
    margin: 0 !important;
    padding: 0 !important;
  }
  .intro__overlay{
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important; /* ← これで下寄り解消 */
    gap: 16px !important;
    padding: 0 !important;              /* 以前の padding-top を無効化 */
    margin: 0 !important;
    opacity: 1 !important;
    transition: none !important;
    pointer-events: auto !important;
  }
  /* 子要素の余白が下寄りの原因になっている可能性を潰す */
  .intro__logo,
  .intro__logotype{
    margin: 0 !important;
  }

.intro__logo {
  width: 110px;
    height: auto;
    margin-bottom: 30px;
    margin: 0;    /* 元の margin-bottom を消去 */
  max-width: 70%; /* レスポンシブに */
}

.intro__est {
  font-family: "Edgaramond", serif;
  font-size: 16px;
  margin-bottom: 0;
  letter-spacing: 0.2em;
  margin-top: 10px;
}

.intro__catch {
  max-width: 800px;
  font-size: clamp(12px, 1.2vw, 20px);
  line-height: 1.8;
  font-family: "Hiragino Mincho ProN", serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 50px;
}

   /* ハンバーガー開閉ボタン */
 #mobileNavToggle {
 position: fixed !important;
    top: 20px !important;
    right: 0 !important;
    transform: none !important;    /* 親要素の transform 影響を排除 */
    z-index: 2000 !important;       /* fvのwrapper( z-index:5 ) 以上に */
    width: 75px;
    height: 35px;
    background-color: rgba(52, 52, 61, 0.4); /* #34343d 透明度0.3 */
    border: none;
    padding: 5px 20px 5px 8px; /* 上・下・左だけ2px、右は0 */
    cursor: pointer;
  box-sizing: border-box;
  line-height: 0;
  /* 行ボックス由来の隙間を殺す + 子を中央に収める */
  line-height: 0;
  display: grid;
  place-items: center;

  /* 子が大きくても外に出さない */
  overflow: hidden;

  /* タップ装飾のにじみ防止（モバイル） */
  -webkit-tap-highlight-color: transparent;

  }

#mobileNavToggle img {
  display: block;                 /* ベースライン隙間の排除 */
  width: auto;                    /* 縦基準でスケール */
  height: 100%;                   /* ← 内容枠（44-上下2px×2=40px）にフィット */
  max-width: 100%;                /* 横も 100% を上限に */
  object-fit: contain;            /* はみ出さずに収める */
  pointer-events: none;           /* クリックは親で拾う */
  transition: opacity .22s ease;  /* ← スムーズさ（変更OK） */
}


  /* メニュー本体 */
  #mobileNav {
     position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 75%;
    max-width: 300px;
    height: 100%;
    background-color: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  #mobileNav.open {
    transform: translateX(0);
  }

/* メニュー内 */
.mobile-nav__inner {
  padding: 20px 20px 5px; /* 上部にロゴ分の余白 */
  height: 100%;
 display: flex;
    flex-direction: column;
}

/* クローズボタン */
  .mobile-nav__head {
    display: flex;
    justify-content: flex-end;  /* 右寄せ */
    align-items: center;        /* 縦中央揃え */
    padding: 10px;              /* 必要に応じ調整 */
    margin-bottom: 30px;
  }
  .mobile-nav__logo {
    width: 55px;
    height: auto;
  }
.mobile-nav__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
  .mobile-nav__logo {
    width: 55px;
    height: auto;
  }
  .mobile-nav__close img {
    width: 16px;
    height: 16px;
    pointer-events: none;
  }

  /* メニュー */
  .mobile-nav__menu {
    list-style: none;
    margin: 20px 0 30px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
  .mobile-nav__menu a,
  .mobile-nav__gallery-head {
    font: 600 20px/1.4 "Times New Roman", serif;
    color: #34343d;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  /* Gallery ドロップダウン */
  .mobile-nav__gallery-dropdown {
    display: none;
    list-style: none;
    margin: 12px 0 0 12px;
    padding: 0;
    flex-direction: column;
    gap: 20px;
  }
  .mobile-nav__gallery.open .mobile-nav__gallery-dropdown {
    display: flex;
  }
.mobile-nav__gallery .mobile-nav__gallery-head {
  display: inline-flex;
  align-items: center;
}
.mobile-nav__gallery .mobile-nav__gallery-head::after {
 content: '';
  display: inline-block;
  margin-left: 6px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform 0.4s ease;
  transform-origin: center; /* 中心回転を保証 */
  transform: rotate(0deg);  /* 初期：上向き */
}
/* ホバー OR .open で矢印 ▼ */
.mobile-nav__gallery:hover  .mobile-nav__gallery-head::after,
.mobile-nav__gallery.open   .mobile-nav__gallery-head::after {
  transform: rotate(180deg);
}
.mobile-nav__gallery-dropdown{
  margin: 0;
  margin-top: 15px;

}

/* open クラスで展開 */
/* ホバー OR .open でドロップダウン表示 */

.mobile-nav__gallery.open   .mobile-nav__gallery-dropdown {
  display: flex;
}

.mobile-nav__gallery:hover > .mobile-nav__gallery-dropdown {
  display: flex;
}
  /* SNS */
  .mobile-nav__sns {
    margin-top: auto;
    display: flex;
    gap: 50px;
     align-items: center; /* 縦中央揃え */
     justify-content: center;
     margin-bottom: 30px;
  }
  .mobile-nav__sns img {
    height: 25px;
  }

  /* Legal */
  .mobile-nav__legal {
    margin-top: 10px;
    font-size: 12px;
    line-height: 2;
    transform: translateY(20px);
  }
  .mobile-nav__legal a {
    color: #34343d;
    text-decoration: none;
  }
  .mobile-nav__copy {
    margin: 8px 0 0;
  }


}

@media (max-width: 768px) {
  /* section--intro 内：ロゴタイプと説明文を隠す */
  .section--intro .intro__logotype,
  .section--intro .intro__description {
    display: none !important;
  }

 /* セクション自体はスナップ用に 100vh を死守 */
  .section--third.snap3 {
    height: 100vh !important;
    min-height: 100vh !important;
    overflow: hidden !important;   /* 内部の見えない要素でのはみ出し防止 */
  }

  /* 中の要素は完全に見せない＆操作不可に */
  .section--third.snap3 .content-wrapper-3,
  .section--third.snap3 .content-left-3,
  .section--third.snap3 .content-right-3,
  .section--third.snap3 .text-container-3,
  .section--third.snap3 .illustration-3 {
    visibility: hidden !important;  /* レイアウト枠は維持して非表示 */
    pointer-events: none !important;
  }

  /* 動画はデコード/描画も止めたいので display:none */
  .section--third.snap3 .animation-3 {
    display: none !important;
  }
}



/* W3 = Light → CSSで font-weight:300; のとき使われる */
@font-face {
  font-family: "Hiragino Mincho ProN";   /* 既存CSSが呼ぶ名前 */
  src: local("Hiragino Mincho ProN W3"),
       local("hiragino-mincho-pron");
  font-weight: 300;
  font-style: normal;
}

/* W6 = SemiBold → CSSで font-weight:600; のとき使われる */
@font-face {
  font-family: "Hiragino Mincho ProN";
  src: local("Hiragino Mincho ProN W6"),
       local("hiragino-mincho-pron");
  font-weight: 600;
  font-style: normal;
}
