/* ============================================================
   about.css — Wedding About Page
============================================================ */


/* ================================================================
   KV — ABOUT ヘッダーテキスト
================================================================ */
.about-kv {
  padding-top: clamp(8.5rem, 10vw, 10rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  text-align: center;
}

.about-kv__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

/* "( About )" ラベル */
.about-kv__label {
  font-family: var(--font-latin);
  font-weight: var(--fw-latin);
  font-size: var(--en-s-size);
  letter-spacing: var(--en-s-ls);
  /* ページロード直後に上からフェードイン */
  animation: fade-up-in 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-delay: 0.05s;
}

/* ----------------------------------------------------------------
   h1 ロゴ — テキスト版（画像から変更）
   文字分割アニメーションは JS が担当するため
   要素全体の animation は廃止し、初期状態は表示済みにしておく
---------------------------------------------------------------- */
.about-kv__heading {
  line-height: 1;
  margin-bottom: .75em;
  /* テキストロゴとしての表示設定 */
  font-family: var(--font-latin);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  letter-spacing: 0.02em;
  color: var(--color-dark);
  white-space: nowrap;
  display: inline-block;
  overflow: visible;
}

/* ----------------------------------------------------------------
   ロゴテキスト共通: 文字分割アニメーション
   .about-kv__heading と .od-ending__logo 両方に適用
---------------------------------------------------------------- */

/* JS 未実行時はテキストをそのまま表示（非 JS フォールバック） */

/* JS が分割した空白スペーサー */
.about-kv__heading .logo-space,
.od-ending__logo  .logo-space {
  display: inline-block;
  width: 0.28em;
}

/* 各文字の初期状態（不可視・下からブラー付きでスタート） */
.about-kv__heading .char,
.od-ending__logo  .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(6px);
  will-change: opacity, transform, filter;
}

/* JS が .is-shown を付与したときのトランジション先 */
.about-kv__heading .char.is-shown,
.od-ending__logo  .char.is-shown {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition:
    opacity   0.8s  ease,
    transform 1.0s  cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter    0.75s ease;
}

/* "not" の "o" を上付き風に表示 */
/* .about-kv__heading .o-up,
.od-ending__logo  .o-up {
  font-size: 0.6em;
  vertical-align: 0.38em;
  display: inline-block;
  transform-origin: center;
  backface-visibility: hidden;
} */

/* ----------------------------------------------------------------
   is-o-jump: 全文字が出揃った後に "o" が 3D 回転するアニメーション
   ※ .char.is-shown と詳細度が同じ (0,3,0) なので、
      このルールを後に置くことで transition / transform を上書きする
---------------------------------------------------------------- */
.about-kv__heading.is-o-jump .o-up,
.od-ending__logo.is-o-jump   .o-up {
  transform: translateY(-0.3em) rotateY(360deg);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 本文テキスト群 */
.about-kv__body {
  display: flex;
  flex-direction: column;
  gap:2em;
  max-width: 46em;
  animation: fade-up-in 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-delay: 0.38s;
}

.about-kv__body p {
  font-family: var(--font-ja);
  font-weight: var(--fw-ja);
  font-size: var(--ja-body-size);
  line-height: var(--ja-body-lh);
  color: var(--color-dark);
}


/* ================================================================
   LEAD IMAGE — スクロールテリング
   JS（about.js）がフレームの width / border-radius と
   画像の transform: scale() をスクロール量に連動して更新する
================================================================ */
.about-lead {
  padding-bottom: clamp(4rem, 8vw, 8rem);
  position: relative;
  z-index: 1;
}


.about-lead__frame {
  width: 80%;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  will-change: width;
}

.about-lead__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  transform-origin: center center;
  will-change: transform;
 }



/* ================================================================
   CONCEPT SECTION
================================================================ */
.about-concept {
  position: relative;
  overflow: hidden;
  padding: 20em 0 15em 0;
  margin-top: -10em;
}

/* ----------------------------------------------------------------
   背景写真（空・雲）
   視差アニメーションは about.js の initConceptParallax() が担当。
   JS が translateY を rAF で更新するため、上下に -20% の余白を確保し
   overflow:hidden の親がエッジを隠す設計。
   background-attachment:fixed は overflow:hidden 内では
   ブラウザ仕様上動作しないため使用しない。
---------------------------------------------------------------- */
.about-concept__bg {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  right: 0;
  z-index: 0;
  background-image: url("../img/about-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
}

/* モーション軽減：余白を除去・固定表示 */
@media (prefers-reduced-motion: reduce) {
  .about-concept__bg {
    top: 0;
    bottom: 0;
    will-change: auto;
  }
}

/* コンテンツレイヤー */
.about-concept__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: clamp(3rem, 6vw, 7rem);
  width:80%;
  margin: 0 auto;
}

/* ── 左カラム：テキスト ── */
.about-concept__text {
  flex: 0 0 42%;
  min-width: 0;
}

/* "( Concept )" ラベル */
.about-concept__label {
  font-family: var(--font-latin);
  font-weight: var(--fw-latin);
  font-size: var(--en-s-size);
  letter-spacing: var(--en-s-ls);
  margin-bottom: 3.5rem;
  display: block;
}

/* イントロ文 */
/* concept-heading は h2 として使用。ブラウザデフォルトの bold/large をリセット */
.about-concept__intro {
  font-family: var(--font-ja);
  font-weight: var(--fw-ja);
  font-size: var(--ja-body-size);
  letter-spacing: var(--ja-body-ls);
  line-height: var(--ja-body-lh);
  color: var(--color-dark);
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

/* 3 項目リスト */
.about-concept__list {
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 3vw, 2.25rem);
}

.about-concept__item-title {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin-bottom: 0.45em;
}

.about-concept__item-title::before {
  content: '';
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background-color: currentColor;
  margin-right: 0.55em;
  vertical-align: middle;
  position: relative;
  top: -0.05em;
}

.about-concept__item-name {
  font-family: var(--font-latin);
  font-weight: var(--fw-latin);
  font-size: var(--en-ml-size);
  color: var(--color-dark);
}

/* "/ 01" 連番 */
.about-concept__item-num {
  font-family: var(--font-latin);
  font-weight: var(--fw-latin);
  font-size: var(--en-s-size);
}

/* 各項目の説明文 */
.about-concept__item-body {
  font-family: var(--font-ja);
  font-weight: var(--fw-ja);
  font-size: var(--ja-body-size);
  line-height: var(--ja-body-lh);
  color: var(--color-dark);
}

/* ── 右カラム：SVG ダイアグラム ── */
.about-concept__visual {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-concept__svg {
  width: 80%;
  height: auto;
}




/* ================================================================
   PRICE SECTION
   ─ 背景:ダークグリーン (#0d1a0e) ─ カード:ライトセージ (#eef2ec) ─
================================================================ */

/* ── セクション全体 ── */
.about-price {
  padding-block: clamp(10rem, 9vw, 9rem);
}

/* ── 2カラムグリッド（左：テキスト / 右：カード群） ── */
.about-price__inner {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
}

/* ── 左カラム：見出し＋説明 ── */
.about-price__lead {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 3.5vw, 3rem);
}

/* "Price" 大見出し */
.about-price__title {
  font-family: var(--font-latin);
  font-weight: var(--fw-latin);
  font-size: clamp(3.5rem, 4vw, 4.5rem);
  line-height: 1;
  color: var(--color-dark); 
}

/* 説明文 */
.about-price__desc {
  font-family: var(--font-ja);
  font-weight: var(--fw-ja);
  font-size: var(--ja-body-size);
  letter-spacing: var(--ja-body-ls);
  line-height: var(--ja-body-lh);
}


/* ================================================================
   カード群
================================================================ */

/* 4カラム均等グリッド */
.about-price__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.425rem,0.5vw, 0.3rem);
  align-items: stretch;
}

/* ── 1枚のカード ── */
.about-price__card {
  display: flex;
  flex-direction: column;
  background-color: #eef2ec;
  border-radius: 4px;
  overflow: hidden;
}

/* ── カード上部（番号 ＋ イラスト） ── */
.about-price__card-head {
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 1.3vw, 1.125rem) clamp(1rem, 1.3vw, 1.125rem) 0;
  min-height: clamp(200px, 22vw, 300px);
}

/* イラスト画像コンテナ */
.about-price__card-illust {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 1.5vw, 1.5rem) 0;
  background:var(--color-white);
}

.about-price__card-illust img {
  width: 80%;
  max-width: 180px;
  height: auto;
  display: block;
}

/* ── カード下部（テキスト） ── */
.about-price__card-body {
  flex-shrink: 0;
  padding: clamp(0.875rem, 1.2vw, 1rem) clamp(0.875rem, 1.3vw, 1.125rem) clamp(1rem, 1.6vw, 1.375rem);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* カードタイトル */
.about-price__card-title {
  font-family: var(--font-ja-bold);
  font-weight: var(--fw-ja-h);
  font-size: var(--ja-h-size);
  letter-spacing: var(--ja-body-ls);
  line-height: 1.4;
  color: var(--color-dark);
}

/* カード説明文 */
.about-price__card-text {
  font-family: var(--font-ja);
  font-weight: var(--fw-ja);
  font-size: var(--ja-sm-size);
  letter-spacing: var(--ja-sm-ls);
  line-height: var(--ja-sm-lh);
  color: var(--color-dark);
  opacity: 0.75;
}


/* ================================================================
   SP ＋ タブレット共通：横スクロール
   ─ scrollbar は非表示、touch/drag でスクロール ─
================================================================ */
@media (max-width: 1100px) {

  /* 縦積み：見出し上 → カード横スクロール下 */
  .about-price__inner {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
  }

  .about-price__lead {
    gap: 1rem;
  }

  /* ── カードリストを横スクロールコンテナに変換 ── */
  .about-price__cards {
    /* grid → flex 横一列 */
    display: flex;
    flex-wrap: nowrap;
    /* 横スクロール / スクロールバー非表示 */
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;          /* Firefox */
    -webkit-overflow-scrolling: touch;

    /* スナップ（1枚ずつ引っかかる） */
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: 0;

    /* コンテナ padding を突き破って左端まで伸ばす */
    margin-left: 0.5em;
    margin-right: -1em;
  }

  /* Webkit: スクロールバー完全非表示 */
  .about-price__cards::-webkit-scrollbar {
    display: none;
  }

  /* ── 各カード：固定幅で横並び ── */
  .about-price__card {
    flex: 0 0 clamp(220px, 42vw, 300px);
    scroll-snap-align: start;
    gap:3em;
  }

  .about-price__card-head {
    min-height: clamp(140px, 30vw, 620px);
  }
}


@media (max-width: 768px) {

  /* KV */
  .about-kv { padding-top: 10rem; padding-bottom: 5rem; }
  .about-kv__inner { gap: 1rem; position: relative;}
  .about-kv__heading { font-size: clamp(1.8rem, 10vw, 2.6rem); }

  /* Lead */
  .about-lead { padding-bottom: 3rem; }
  .about-lead__frame {
    width: 80%;
    aspect-ratio: 1 / 1.3;
  }

  /* Concept */
  .about-concept__inner {
    width:90%;
    flex-direction: column;
    align-items: flex-start;
  }

  .about-concept__svg{
    width: 100%;
  }
  
  .about-concept__label{position:absolute;left:0;top:0;}
  /* SP: SVG を右寄せで先に置く */
  .about-concept__visual {
    order: -1;                 /* テキストより前 */
    align-self: flex-end;
    width: 65%;
    margin-bottom: 2rem;
    justify-content: flex-end;
  }

}



/* ================================================================
   ONE DAY SECTION
   背景: about_bg.jpg + 緑グラデーション overlay + grain texture
================================================================ */

/* ── セクション全体 ── */
.about-oneday {
  position: relative;
  overflow: hidden;
   background-image:url('../img/about_oneday-bg.jpg');
  background-size: cover, cover;
  background-position: center top, center top;
  background-repeat: no-repeat, no-repeat;
  --od-px: clamp(2rem, 5.5vw, 6rem);
}


/* ================================================================
   HEADER
================================================================ */
.od-header {
  text-align: center;
  padding: clamp(10rem, 10vw, 10rem) var(--od-px) clamp(7rem, 7vw, 7rem);
}

.od-title {
  font-family: var(--font-latin);
  font-weight: var(--fw-latin);
  font-size: clamp(3.5rem, 4vw, 4.5rem);
  color: #fff;
  line-height: 1;
  margin-bottom: 3rem;
}

.od-intro {
  font-family: var(--font-ja);
  font-weight: var(--fw-ja);
  font-size: var(--ja-body-size);
  letter-spacing: var(--ja-body-ls);
  line-height: var(--ja-body-lh);
  color: rgba(255,255,255,0.82);
}


/* ================================================================
   SHARED TYPOGRAPHY
================================================================ */

.od-slabel {
  display: flex;
  align-items: baseline;
  gap:0.1em;
  font-family: var(--font-latin);
  font-weight: var(--fw-latin);
  font-size: var(--en-l-size);
  line-height: 1.4;
  white-space: nowrap;
}

.od-stay .od-slabel,
.od-special,
.od-stay .od-stay__desc {
  color: var(--color-white);
}

.od-slabel em {
  font-style: normal;
  font-size: var(--en-s-size);
  letter-spacing: 0.04em;
  opacity: 0.72;
}

.od-slabel::before {
  content: '・';
  font-style: normal;
}

/* 本文 */
.od-body {
  font-family: var(--font-ja);
  font-weight: var(--fw-ja);
  font-size: var(--ja-body-size);
  line-height: var(--ja-body-lh);
}


/* ================================================================
   01: STAY
================================================================ */
.od-stay {
  width: 82%;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

/* ヒーロー画像: センター配置・~82%幅 */
.od-stay__hero {
  margin-bottom: clamp(3rem, 1.8vw, 1.6rem);
}

/* キャプション行: テキスト左 ・ラベル右 */
.od-stay__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.od-stay__desc {
  font-family: var(--font-ja);
  font-weight: var(--fw-ja);
  font-size: var(--ja-body-size);
  letter-spacing: var(--ja-body-ls);
  line-height: var(--ja-body-lh);
}

.od-stay .od-slabel {
  text-align: right;
  flex-shrink: 0;
  margin-left: auto;
}

@media (max-width: 1100px) {

  .od-stay {
    width: 90%;
  }
}
@media (max-width: 900px) {
  .od-stay__foot{
    flex-direction: column;
  }
  .od-stay__desc{order: 2;}
}

/* ================================================================
   02: SPECIAL STAY
================================================================ */
.od-special,
.welcome-space {
  width: 82%;
  margin-inline: auto;
}

.od-special-container-top{
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  display:flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.od-special-container-bottom{
  margin-bottom: 10em;
}

/* ── 写真エリア: PC diagonal overlap ── */
.od-special__photos {
  display: flex;
  align-items: flex-start;
  flex-direction: row-reverse;
  width:55%;
  gap:0.3em;
}

.od-special__photo-a {
  width: 60%;
}

.od-special__photo-b {
  width: 40%;
}

.od-special__photo-c{
  padding-top: 20em;
  width:35%;
}

.od-party .od-special__photo-c{
  position: relative;
}

/* ── テキストエリア ── */
.od-special__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 14.5em 1em 0 0;
}

.od-party .od-special__text {
  position: absolute;
  left: 115%;
  bottom:0;
  width:56%;
  padding: 0 0 0 0;
}

.od-corridor__sub-a {
  width: 37%;
  margin:-10em 0 0 auto;
}

.od-corridor__sub-b {
  width: 55%;
  margin: 0.8em 0 0 auto;
  padding-right: 38%;
}

@media (max-width: 900px) {
  .od-special, .welcome-space{
    width:90%;
  }
  .od-special-container-top{
    flex-direction: column;
  }
.od-special__photos{
  width:80%;
  width: fit-content;
  flex-direction: column;
  align-items: flex-end;
}
.od-special__photo-b{
  width:100%;
}

.od-special__photo-a {
  width: 80%;
}

.od-special__photo-b figure{
  width: 45%;
  margin-left: auto;
}
.od-special__text{
  padding-top:2em;
  padding-right: 0;
}

.od-special__photo-c{
  width:40%;
  padding-top:5em;
}

.od-corridor__sub-a {
  width: 80%;
  margin: -5em 0 0 auto;
}
.od-corridor__sub-b {
  width: 50%;
  margin: 1em 0 0 0;
  padding-right: 0;
}
}

/* ================================================================
   03: PREPARATION
================================================================ */
.od-prep {
  width: 82%;
  margin-inline: auto;
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.od-prep-wrapper{
  width:62%;
  display: flex;
  flex-direction: column;
  gap:1em;
}

.od-prep__caption {
  display: flex;
  gap: 5rem;
}

@media (max-width: 900px) {
  .od-prep{
    width:90%;
  }
  .od-prep-wrapper{
    width:100%;
  }
  .od-prep__caption{
    flex-direction: column;
    gap: 1em;
  }
  .od-prep__caption .od-slabel{
    text-align: right;
  }
  
  .welcome-space .od-special__photos{
    align-items: flex-start;
    flex-direction: row-reverse;
  }

  .welcome-space .od-special__photos .od-special__photo-a{
    width:70%;
  }

  .welcome-space .od-special__text{
    padding-top: 12em;
    margin-right: -72%;
  }

  .welcome-space .od-special__photo-b figure {
    width: 70%;
  }

  .welcome-space .od-special__photo-c{
    width:80%;
  }

}

/* ================================================================
   04: CEREMONY
================================================================ */
.od-ceremony{
  width: 82%;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

@media (max-width: 900px) {
  .od-ceremony{
    width:90%;
  }

  .od-ceremony .od-slabel{
    text-align: right;
  }

}

/* ================================================================
   05: PARTY
================================================================ */

.od-party{
  width: 82%;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}
@media (max-width: 900px) {
  .od-party{
    width:90%;
  }

  .od-party .od-special__photos{
    align-items: flex-start;
    flex-direction: row-reverse;
  }

  .od-party .od-special__photos .od-special__photo-a{
    width:70%;
  }

  .od-party .od-slabel{
    text-align: right;
  }

  .od-party .od-special__text{
    left:inherit;
    bottom:inherit;
    width: 125%;
    position: static;
    margin: 2em 0 0 0;
  }

  .od-party .od-special__photo-b figure {
    width: 70%;
  }

  .od-party .od-special__photo-c{
    width:80%;
  }

  .od-special-container-bottom .od-corridor__sub-a{
    margin-top: 0;
  }
}

/* ================================================================
   FOOTER IMAGE
================================================================ */
.od-footer-img {
  width: 82%;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}


/* ================================================================
   ENDING
================================================================ */
.od-ending {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(4rem, 7vw, 7rem) var(--od-px);
  text-align: center;
}

/* od-ending__logo — テキスト版（画像から変更） */
.od-ending__logo {
  font-family: var(--font-latin);
  font-weight: 400;
  font-size: clamp(1.55rem, 3.5vw, 2.8rem);
  letter-spacing: 0.02em;
  color: var(--color-dark);
  white-space: nowrap;
  display: inline-block;
  overflow: visible;
  line-height: 1;
}

.od-ending__sub {
  font-family: var(--font-latin);
  font-weight: var(--fw-latin);
  font-size: var(--en-s-size);
  letter-spacing: var(--en-s-ls);
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}


/* ================================================================
   RESPONSIVE — SP (max-width: 768px)
================================================================ */
@media (max-width: 768px) {

  /* ── FOOTER ── */
  .od-footer-img { aspect-ratio: 1/1.5;}
  .od-footer-img img{width:100%; height: 100%; object-fit: cover; object-position: 12% center;}

  /* ── ENDING ── */
  .od-ending { gap:1em; }
  .od-ending__logo { font-size: clamp(1.3rem, 7.5vw, 2rem); }
}
