@charset "UTF-8";

body {
  color: #4B3A45;
}

html {
  height: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

/* サイト本体のみフォント指定（管理画面除外） */
body:not(.wp-admin) a,
body:not(.wp-admin) p,
body:not(.wp-admin) li {
  font-family: "Shippori Mincho", "Cormorant Infant", serif;
}

#main {
  min-height: 100dvh;
  overflow: visible;
}

a {
  color: #4B3A45;
  text-decoration: none;
  display: block;
}

li {
  list-style: none;
}

a,
p,
li {
  font-family: "Shippori Mincho", "Cormorant Infant", serif;
}

img {
  max-width: 100%;
}

.shippori-mincho-regular {
  font-family: "Shippori Mincho", serif;
  font-weight: normal;
  font-style: normal;
}

.cormorant-infant-uniquifier {
  font-family: "Cormorant Infant", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.wrapper {
  padding: 0 90px;
}

@media screen and (max-width: 1100px) {
  .wrapper {
    padding: 0 20px;
  }
}

.container {
  padding: 0 220px;
}

@media screen and (max-width: 1100px) {
  .container {
    padding: 0 18px;
  }
}

body {
  background-image: url(https://choco.cacao.jp/wp-content/uploads/2025/10/bg_img01.jpg);
  background-repeat: no-repeat;
  background-position: center;
  margin: 0;
  background-size: cover;
  height: 100%;
}

/* ネイティブのスムーススクロール */
html,
body {
  scroll-behavior: smooth;
}

/* 固定ヘッダー分のオフセット（アンカー到達位置を少し下げる） */
section[id],
[id=about],
[id=radio],
[id=service],
[id=news],
[id=column] {
  scroll-margin-top: var(--header-h);
}

/* モバイルでヘッダー高が変わるなら、ブレークポイントで上書き */
@media screen and (max-width: 760px) {
  :root {
    --header-h: 70px;
  }
}

.section-title {
  position: relative;
  text-align: center;
  padding: 80px 0;
  overflow: hidden;
}

@media screen and (max-width: 760px) {
  .section-title {
    padding: 38px;
  }
}

.section-title .en {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(80px, 15vw, 215px);
  font-family: "Cormorant Infant";
  font-weight: normal;
  color: #fff;
  white-space: nowrap;
  /* ← 改行防止 */
  pointer-events: none;
}

@media screen and (max-width: 760px) {
  .section-title .en {
    font-size: clamp(68px, 2.5vw, 80px);
  }
}

.section-title .ja {
  position: relative;
  font-size: 24px;
  color: #4B3A45;
  white-space: nowrap;
}

@media screen and (max-width: 760px) {
  .section-title .ja {
    font-size: 16px;
  }
}

/* 文字のベース状態（非表示・下にオフセット） */
.split .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.8em);
  will-change: transform, opacity;
}

/* ビューに入ったら順番に表示（--i を遅延に使う） */
.split.is-inview .char {
  animation: riseChar 0.6s ease-out forwards;
  animation-delay: calc(var(--i) * 60ms);
}

@keyframes riseChar {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 低速回線/酔いやすいユーザー配慮 */
@media (prefers-reduced-motion: reduce) {
  .split .char {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.fadein {
  opacity: 0;
  transform: translate(0, 0);
  transition: all 1.7s;
}

.fadein.fadein-left {
  transform: translate(-30px, 0);
}

.fadein.fadein-right {
  transform: translate(30px, 0);
}

.fadein.fadein-up {
  transform: translate(0, -30px);
}

.fadein.fadein-bottom {
  transform: translate(0, 30px);
}

.fadein.scrollin {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/*-------------------------------------------
header
-------------------------------------------*/
header {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 820px) {
  header {
    padding: 5px 0;
  }
}

header .logo {
  width: 120px;
}

@media screen and (max-width: 820px) {
  header .logo {
    width: 70px;
  }
}

#header {
  position: fixed;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.4);
  z-index: 10;
}

.site-title {
  width: 155px;
}

.site-title img {
  display: block;
}

@media screen and (max-width: 760px) {
  .site-title {
    width: 70px;
  }
}

#navi ul {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 0 32px;
}

@media screen and (max-width: 1100px) {
  #navi ul {
    display: block;
  }
}

#navi ul li {
  display: flex;
  align-items: center;
  font-size: clamp(6px, 5vw, 14px);
  white-space: nowrap;
  line-height: 1;
}

#navi ul img {
  width: 30%;
}

#navi .menu a.pill-cta {
  padding: 10px 15px;
  border: 1px solid #4B3A45;
  border-radius: 50px;
  /* 丸み（pill形状） */
  line-height: 1;
  /* 文字上下のズレ防止 */
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.menu-contact a {
  display: none;
}

@media screen and (max-width: 1100px) {
  .menu-contact a {
    display: block;
  }
}

.menu-logo-only-sp {
  display: none;
}

@media screen and (max-width: 1100px) {
  .menu-logo-only-sp {
    display: block;
  }
}

/* PCではメニュー内ロゴを消す */
@media (min-width: 1101px) {
  #navi .menu .menu-logo-only-sp {
    display: none !important;
  }
}

/* SP/タブレットではヘッダー左上のロゴを消す（重複防止） */
@media (max-width: 1100px) {
  .site-title {
    display: none;
  }
}

/* スマホ用 */
@media screen and (max-width: 1100px) {
  #navi {
    position: fixed;
    inset: 0;
    background: #fff;
    transform: translateY(-16px);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
    z-index: 999;
    padding: 80px 24px 24px;
    pointer-events: none;
    /* 閉じている間のタップ無効化 */
  }

  #navi ul {
    text-align: left;
    /* ← これで li の中身も左揃え基準に */
    padding: 0;
    /* モバイルは左右パディングを抑えると揃いやすい */
  }

  #navi .menu li {
    padding-top: 24px;
    opacity: 0;
    transform: translateY(-8px);
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  #navi.is-open {
    /* --- (③) 開いた状態。上からスッと降りてフェードイン --- */
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  #navi.is-open .menu li {
    opacity: 1;
    transform: translateY(0);
  }

  /* ちょっとだけディレイをつけて“順に”現れる感じに（必要な数だけ延長） */
  #navi.is-open .menu li:nth-child(1) {
    transition-delay: 0.02s;
  }

  #navi.is-open .menu li:nth-child(2) {
    transition-delay: 0.06s;
  }

  #navi.is-open .menu li:nth-child(3) {
    transition-delay: 0.1s;
  }

  #navi.is-open .menu li:nth-child(4) {
    transition-delay: 0.14s;
  }

  #navi.is-open .menu li:nth-child(5) {
    transition-delay: 0.18s;
  }

  #navi.is-open .menu li:nth-child(6) {
    transition-delay: 0.22s;
  }

  #navi.is-open .menu li:nth-child(7) {
    transition-delay: 0.26s;
  }

  #navi.is-open .menu li:nth-child(8) {
    transition-delay: 0.3s;
  }

  #navi.is-open .menu li:nth-child(9) {
    transition-delay: 0.34s;
  }
}

/* PCでは非表示、SP～タブレットで表示 */
.hamburger {
  display: none;
  width: 50px;
  height: 50px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

@media (max-width: 1100px) {
  .hamburger {
    display: inline-block;
    position: fixed;
    top: 12px;
    right: 16px;
  }
}

/* 3本線：中心を top:50% + margin-top:-1px で“ピクセル確定” */
.hamburger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  top: 50% !important;
  /* 旧ルールを確実に打ち消す */
  margin-top: -1px;
  /* 2px の半分 = 1px で正味ど真ん中 */
  background: #4B3A45;
  transform-origin: center;
  transition: transform .25s ease, opacity .2s ease;
  will-change: transform, opacity;
}

/* 通常時：中央から ±8px に配置（% を使わない） */
.hamburger span:nth-child(1) {
  transform: translateY(-8px);
}

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

.hamburger span:nth-child(3) {
  transform: translateY(8px);
}

/* 展開時：中央に集合して回転して「×」 */
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

/* --- ハンバーガー：タブレットでも中心ぴったり版 --- */
.hamburger {
  display: none;
  width: 50px;
  height: 50px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

@media (max-width:1100px) {
  .hamburger {
    display: inline-block;
    position: fixed;
    top: 12px;
    right: 16px;
  }
}

/* 調整用トークン（お好みで微調整） */
:root {
  --bar-gap: 9px;
  /* 中央からの上下距離。8→9にすると端数回避しやすい */
  --bar-thick: 2px;
  /* 線の太さ（奇数にするとズレやすいので2px推奨） */
}

.hamburger span {
  position: absolute;
  left: 8px;
  right: 8px;
  /* => 線幅は 50-8-8=34px（整数） */
  height: var(--bar-thick);
  top: 50%;
  background: #4B3A45;
  transform-origin: 50% 50%;
  /* 中央起点に固定。GPU合成でブレ低減 */
  transform: translateY(-50%) translateZ(0);
  will-change: transform, opacity;
}

/* 通常時：中央から±gap（%は使わずpxだけ） */
.hamburger span:nth-child(1) {
  transform: translateY(calc(-50% - var(--bar-gap))) translateZ(0);
}

.hamburger span:nth-child(2) {
  transform: translateY(-50%) translateZ(0);
}

.hamburger span:nth-child(3) {
  transform: translateY(calc(-50% + var(--bar-gap))) translateZ(0);
}

/* 展開時：中央に集合→回転だけを加える（translateY(-50%)は維持） */
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(-50%) rotate(45deg) translateZ(0);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-50%) rotate(-45deg) translateZ(0);
}

:root {
  --header-h: 90px;
}

.mainvisual {
  min-height: calc(100svh - var(--header-h));
  position: relative;
}

.mainvisual h2 {
  margin: 0 auto;
  text-align: center;
}

.mainvisual img {
  max-width: 840px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 1100px) {
  .mainvisual img {
    width: 80%;
  }
}

.posts-news {
  display: flex;
  align-items: stretch;
  justify-content: start;
  gap: 6px;
  margin-top: 80px;
  position: absolute;
  bottom: 10%;
  right: 0;
}

.posts-news a {
  font-size: 12px;
}

.posts-news h3 {
  font-weight: normal;
}

.news-head p {
  color: #c40080;
}

.news-thumbnail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 16px;
  padding: 20px 20px;
  background: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 1100px) {
  .news-thumbnail {
    padding: 20px 10px;
    font-size: 10px;
  }
}

.news-link {
  padding: 20px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

@media screen and (max-width: 1100px) {
  .news-link {
    padding: 20px 10px;
    font-size: 8px;
  }
}

.mainvisual,
#header {
  animation: fadeIn 3.5s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.posts-news {
  opacity: 0;
  transform: translateY(24px);
  /* 下から */
  will-change: transform, opacity;
  animation: riseIn 1.5s ease-out 0.6s forwards;
  /* 継続時間・イージング・遅延・最終状態反映 */
}

.about {
  margin-top: 180px;
}

@media screen and (max-width: 760px) {
  .about {
    margin-top: 60px;
  }
}

.about-contents {
  display: grid;
  place-items: center;
  text-align: center;
  margin-top: 110px;
}

@media screen and (max-width: 760px) {
  .about-contents {
    margin-top: 24px;
  }
}

.about-main {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-inline: auto;
  width: -moz-fit-content;
  width: fit-content;
  /* 中身の幅に縮めて中央に置く */
}

@media screen and (max-width: 760px) {
  .about-main {
    gap: 32px;
    line-height: 30px;
  }
}

.about-main img {
  max-width: 180px;
  -o-object-fit: cover;
  object-fit: cover;
  padding-left: 0;
}

@media screen and (max-width: 760px) {
  .about-main img {
    max-width: 120px;
  }
}

.about-main .sub-title {
  max-width: 80ch;
  /* 行の可読幅を上限管理（目安） */
  font-family: "Shippori Mincho";
  font-size: clamp(18px, 2.5vw, 28px);
  white-space: normal;
  font-weight: nowrap;
  text-align: left;
  /* 文面は左揃えでOK */
  font-weight: normal;
}

@media screen and (max-width: 760px) {
  .about-main .sub-title {
    font-size: clamp(16px, 2.5vw, 20px);
  }
}

.about-text {
  margin-inline: auto;
  text-align: left;
  margin-top: 60px;
}

.about-text li {
  padding-top: 20px;
}

@media screen and (max-width: 760px) {
  .about-text li {
    font-size: clamp(11px, 2.5vw, 14px);
    white-space: nowrap;
  }
}

.btn {
  margin-top: 40px;
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  transition: 0.3s ease;
  /* 下線 */
  /* 矢印アニメはそのまま */
}

@media screen and (max-width: 760px) {
  .btn {
    font-size: 14px;
  }
}

.btn::before {
  content: "";
  position: absolute;
  bottom: 0;
  /* ← 初期の配置（全幅・左始点） */
  right: 10px;
  width: 74%;
  height: 1px;
  background-color: #4B3A45;
  /* ← 右端を支点に縮める＝左から消える */
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.btn::after {
  content: "→";
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn:hover::before {
  transform: scaleX(0);
  /* 左→右へ向かって消える */
}

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

/* モバイルで縦並びにする場合 */
@media screen and (max-width: 760px) {
  .about-main {
    flex-direction: column;
    gap: 16px;
  }

  .about-main .sub-title {
    text-align: center;
  }
}

.radio {
  margin-top: 180px;
}

@media screen and (max-width: 760px) {
  .radio {
    margin-top: 60px;
  }
}

.radio-contents {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
}

@media screen and (max-width: 1100px) {
  .radio-contents {
    display: block;
    padding-top: 32px;
  }
}

.radio-contents img {
  width: 100%;
  height: auto;
  max-width: 560px;
  display: block;
}

@media screen and (max-width: 1100px) {
  .radio-contents img {
    margin-inline: auto;
  }
}

.radio-text,
.radio-listener {
  padding-left: 60px;
}

@media screen and (max-width: 1100px) {

  .radio-text,
  .radio-listener {
    padding-left: 0;
  }
}

.radio-text h3,
.radio-listener h3 {
  font-family: "Shippori Mincho";
  font-size: 20px;
  margin-bottom: 16px;
  padding-top: 16px;
  font-weight: normal;
  text-align: left;
}

@media screen and (max-width: 1100px) {

  .radio-text h3,
  .radio-listener h3 {
    padding-top: 32px;
    font-size: 18px;
  }
}

.radio-text p,
.radio-listener p {
  font-size: 14px;
  padding-bottom: 14px;
  text-align: left;
}

@media screen and (max-width: 760px) {

  .radio-text p,
  .radio-listener p {
    font-size: clamp(12px, 2.5vw, 14px);
  }
}

.radio-text a,
.radio-listener a {
  display: inline-block;
  padding-bottom: 14px;
  text-align: left;
}

.radio-info ol {
  list-style-position: outside;
  margin: 0;
  padding-left: 18px;
}

.radio-info li {
  font-size: 14px;
  padding-bottom: 8px;
  text-align: left;
  list-style-type: decimal;
  display: list-item;
  list-style-type: decimal;
}

@media screen and (max-width: 760px) {
  .radio-info li {
    font-size: clamp(12px, 2.5vw, 14px);
  }
}

.radio-listener {
  text-align: center;
  padding-top: 30px;
}

.radio-listener h3,
.radio-listener p {
  text-align: center;
}

.radio-listener a {
  padding-bottom: 14px;
  text-align: center;
}

@media screen and (max-width: 1100px) {
  .radio-listener a {
    padding-left: 0;
  }
}

@media screen and (max-width: 760px) {
  .radio-listener a {
    font-size: clamp(12px, 2.5vw, 14px);
  }
}

.service {
  margin-top: 180px;
}

@media screen and (max-width: 760px) {
  .service {
    margin-top: 60px;
  }
}

.service-contents {
  padding-top: 180px;
  text-align: center;
}

.service-contents h3.sub-title {
  font-family: "Shippori Mincho";
  font-size: 20px;
  font-weight: normal;
}

@media screen and (max-width: 760px) {
  .service-contents h3.sub-title {
    font-size: clamp(12px, 2.5vw, 14px);
  }
}

@media screen and (max-width: 760px) {
  .service-contents {
    padding-top: 60px;
  }
}

.service-text p {
  padding-top: 60px;
}

@media screen and (max-width: 760px) {
  .service-text p {
    font-size: clamp(12px, 2.5vw, 14px);
    padding-top: 30px;
  }
}

.news {
  margin-top: 180px;
  text-align: center;
}

@media screen and (max-width: 760px) {
  .news {
    margin-top: 60px;
  }
}

.news {
  width: 100%;
  padding: 100px 0 50px 0;
}

.slick-items li {
  margin: 0 30px;
  padding-top: 180px;
}

@media screen and (max-width: 760px) {
  .slick-items li {
    padding-top: 56px;
  }
}

.slick-items a {
  text-align: left;
  font-size: 14px;
  padding-top: 14px;
}

.slick-items img {
  width: 100%;
  height: 340px;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: 0 65%;
  object-position: 0 65%;
  display: block;
}

.slick-items .news-pic {
  position: relative;
  overflow: hidden;
}

.slick-items .news-overlay {
  position: absolute;
  bottom: 6%;
  left: 0;
  width: 80%;
  background: rgba(0, 0, 0, 0.5);
  /* ← 半透明グレー */
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 12px;
  box-sizing: border-box;
  /* これで高さ＝pタグの高さ */
}

.slick-items .news-overlay p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  /* ← 表示する行数を指定（ここでは3行） */
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  max-height: 4.5em;
  /* 念のため高さを固定 */
}

.news {
  position: relative;
}

/* 右上に配置する右矢印ボタン */
.news-next {
  position: absolute;
  top: 8px;
  right: 60px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid #4B3A45;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  /* 中の矢印 → */
}

.news-next:hover {
  background: rgb(255, 255, 255);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateX(2px);
  /* 右にスッと動く */
}

.news-next:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.2);
  outline-offset: 2px;
}

.news-next::before {
  content: "→";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #4B3A45;
  font-size: 18px;
  line-height: 1;
}

/* モバイル時（位置微調整） */
@media screen and (max-width: 760px) {
  .news-next {
    top: 0px;
    right: 4px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

.column {
  margin-top: 180px;
  text-align: center;
}

@media screen and (max-width: 760px) {
  .column {
    margin-top: 60px;
  }
}

.column-text {
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.column-text img {
  width: 180px;
}

@media screen and (max-width: 760px) {
  .column-text {
    display: block;
    padding: 32px 0;
  }

  .column-text img {
    width: 90px;
    padding-bottom: 32px;
  }
}

.column-info {
  text-align: left;
}

.column-info p {
  padding-bottom: 28px;
}

@media screen and (max-width: 760px) {
  .column-info p {
    font-size: clamp(14px, 2.5vw, 16px);
  }
}

.column-info ol {
  list-style-position: outside;
  margin: 0;
  padding-left: 24px;
}

.column-info li {
  font-size: 14px;
  padding-bottom: 8px;
  text-align: left;
  list-style-type: decimal;
  display: list-item;
  list-style-type: decimal;
}

@media screen and (max-width: 760px) {
  .column-info li {
    font-size: clamp(14px, 2.5vw, 16px);
    padding-left: 20px;
  }
}

.column-pic {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 180px;
  justify-content: center;
}

.column-pic img {
  max-width: 250px;
  -o-object-fit: cover;
  object-fit: cover;
}

@media screen and (max-width: 760px) {
  .column-pic img {
    max-width: 120px;
  }
}

@media screen and (max-width: 760px) {
  .column-pic {
    gap: 20px 20px;
  }
}

.booklet {
  --gap: clamp(20px, 6vw, 80px);
  --img-w: clamp(260px, 38vw, 520px);
  /* 画像の縦横比 3:4 → 高さ = 幅 × 4 / 3 */
  --img-h: calc(var(--img-w) * 4 / 3);
  margin-top: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap);
}

@media screen and (max-width: 760px) {
  .booklet {
    flex-direction: column-reverse;
  }
}

/* 左カラム：表紙画像 */
.booklet-pic {
  flex: 0 0 auto;
  width: var(--img-w);
  max-width: 100%;
}

.booklet-pic img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

/* 右カラム */
.booklet-contents {
  flex: 1 1 0;
  min-inline-size: min(46ch, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* ← 縦方向の中央寄せ */
  height: var(--img-h);
  /* ← 画像と同じ高さに固定 */
  overflow: hidden;
  /* はみ出し防止（必要なら） */
}

@media screen and (max-width: 760px) {
  .booklet-contents {
    overflow: visible;
  }
}

/* booklet内だけ、既存.section-titleのレイアウトを上書き */
.booklet .section-title {
  padding: 0;
  margin: 0 0 clamp(8px, 1.5vw, 14px);
  /* ← 少しだけ下マージン */
  position: relative;
  text-align: center;
  /* ENは「3行固定表示」：本体は視覚的に隠し、::afterで3行を描く */
}

.booklet .section-title .en {
  position: static;
  /* ← absolute を解除 */
  top: auto;
  left: auto;
  transform: none;
  display: block;
  width: 100%;
  margin: 0;
  font-family: "Cormorant Infant";
  font-weight: 500;
  font-size: clamp(64px, 10vw, 143px);
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: transparent;
  /* 視覚的には消す（読み上げは残す） */
  text-shadow: none;
  pointer-events: none;
  /* 視覚用の置換テキスト（3行固定） */
}

.booklet .section-title .en::after {
  content: "MAILING\aOF THE\a BOOKLET";
  white-space: pre-line;
  display: block;
  color: #fff;
  /* 実際の表示色 */
}

.booklet .section-title .ja {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: clamp(16px, 1.9vw, 22px);
  letter-spacing: 0.16em;
  color: #4B3A45;
  white-space: nowrap;
  /* 1行で中央に乗せる（2行可なら normal に） */
  pointer-events: auto;
}

/* CTA（pill） */
.booklet-btn {
  margin-top: clamp(14px, 2.4vw, 22px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid #4B3A45;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  line-height: 1;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.booklet-btn::after {
  content: "→";
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.booklet-btn:hover {
  background: rgb(255, 255, 255);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

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

.booklet-btn:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.25);
  outline-offset: 3px;
}

footer {
  padding-top: 250px;
}

@media screen and (max-width: 760px) {
  footer {
    margin-top: 100px;
  }
}

.footer-contents {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 760px) {
  .footer-contents {
    display: block;
  }
}

.footer-contents h2 {
  width: 150px;
}

.footer-contents a:hover {
  color: #c40080;
}

.footer-text ul li {
  padding-bottom: 20px;
  font-size: 14px;
}

@media screen and (max-width: 760px) {
  .footer-text ul li {
    padding-bottom: 32px;
  }
}

.footer-info {
  font-family: "Shippori Mincho";
  text-align: left;
}

.footer-info h3 {
  font-weight: normal;
  font-size: 16px;
  padding-bottom: 28px;
}

@media screen and (max-width: 760px) {
  .footer-info h3 {
    font-size: 14px;
  }
}

.footer-info .address {
  line-height: 32px;
  font-size: 14px;
}

.footer-info .btn {
  display: inline-block;
  margin-left: 0;
}

.footer-info .sns-list {
  display: flex;
  padding-top: 40px;
  justify-content: space-between;
}

@media screen and (max-width: 760px) {
  .footer-info .sns-list {
    justify-content: flex-start;
    gap: 18px;
  }
}

.footer-info .sns-list li {
  width: 28px;
}

.footer-privacy {
  padding-top: 20px;
  text-align: right;
  font-size: 14px;
}

.copy-right {
  padding: 80px 0 40px;
  font-size: 10px;
  text-align: center;
}

.scroll-up-btn {
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid #4B3A45;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  /* 中の矢印 ↑ */
}

.scroll-up-btn:hover {
  background: rgb(255, 255, 255);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  /* 上にスッと動く */
}

.scroll-up-btn:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.2);
  outline-offset: 2px;
}

.scroll-up-btn::before {
  content: "↑";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #4B3A45;
  font-size: 18px;
  line-height: 1;
}

@media screen and (max-width: 760px) {
  .scroll-up-btn {
    padding-top: 40px;
  }
}

/* === アニメ共通トークン === */
:root {
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur-enter: 1500ms;
  /* 初回入場の時間 */
  --dur-slow: 800ms;
  /* 上スクロール“落ち”の反応 */
  --shift: 24px;
  /* 初期オフセット */
  --gentle: 20px;
  /* 落ちる距離 */
  --dir-y: 0px;
  /* 通常時は0、dir-up時だけ gentle を注入 */
  --ease-dir: cubic-bezier(.22, .61, .36, 1);
  /* タイトル1文字アニメ用 */
  --char-duration: 1200ms;
  --char-step: 90ms;
  --char-overshoot: 4px;
}

@media screen and (max-width: 760px) {
  :root {
    /* 上スクロール“落ち”の反応 */
    --shift: 4px;
  }
}

/* 上スクロール中だけ“落ち分”ON（基本は全体に効く） */
body.dir-up {
  --dir-y: var(--gentle);
}

/* ========== 初期状態（非表示/待機） ========== */
.js-animate {
  opacity: 0;
  will-change: transform, opacity, clip-path;
}

.js-animate[data-anim=slide-in-left] {
  transform: translateX(calc(var(--shift) * -1));
  transition: transform var(--dur-enter) var(--ease), opacity var(--dur-enter) var(--ease);
}

.js-animate[data-anim=reveal-up] {
  transform: translateY(var(--shift));
  transition: transform var(--dur-enter) var(--ease), opacity var(--dur-enter) var(--ease), clip-path var(--dur-enter) var(--ease);
  clip-path: inset(16% 0 0 0 round 8px);
}

.js-animate[data-anim=reveal-down] {
  transform: translateY(calc(var(--shift) * -1));
  transition: transform var(--dur-enter) var(--ease), opacity var(--dur-enter) var(--ease);
}

/* ========== 可視になったら（下スクロール入場） ========== */
/* ★ translateY(var(--dir-y)) を“足す”＝上スクロール時にやわらかく落ちる */
.js-animate.inview {
  opacity: 1;
  transition-duration: var(--dur-slow);
  transition-timing-function: var(--ease-dir);
}

.js-animate.inview[data-anim=slide-in-left] {
  transform: translateX(0) translateY(var(--dir-y));
}

.js-animate.inview[data-anim=reveal-up] {
  transform: translateY(var(--dir-y));
  clip-path: inset(0 0 0 0 round 8px);
}

.js-animate.inview[data-anim=reveal-down] {
  transform: translateY(var(--dir-y));
}

/* ========== SECTION TITLE（特別ルール） ========== */
/* 1) 下スクロール：div.section-title 全体に slide-in-left（en/ja 共通で発火） */
/* 2) 上スクロール：ja のみ“落ち”を適用、en は適用しない */
/* 上からの再入場は入場アニメをスキップして、やわらかく落とすだけ */
body.dir-up .js-animate.reenter-up {
  transform: translateY(var(--gentle)) !important;
  transition: transform var(--dur-slow) var(--ease-dir), opacity var(--dur-slow) var(--ease-dir) !important;
  clip-path: inset(0 0 0 0 round 8px) !important;
  /* reveal系のクリップも即解除 */
}

/* 横スライド系はX=0固定でYだけ落とす */
body.dir-up .js-animate.reenter-up[data-anim=slide-in-left] {
  transform: translateX(0) translateY(var(--gentle)) !important;
}

/* ja だけに “落ち” を適用 */
body.dir-up .section-title.inview .ja {
  transform: translateY(var(--gentle));
  transition: transform var(--dur-slow) var(--ease-dir);
}

/* 1文字ずつ：下からふわっと＆軽いオーバーシュート、落ちは不可（上スク時は固定） */
.section-title .en .char,
.section-title .ja .char,
.sub-title .char {
  display: inline-block;
  transform: translateY(1em);
  opacity: 0;
  transition: transform var(--char-duration) cubic-bezier(0.2, 0.7, 0.2, 1), opacity var(--char-duration) cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 再生時：行は同時、文字は段階的 */
.section-title .en.play .char,
.section-title .ja.play .char,
.sub-title.play .char {
  animation: charSlideUp var(--char-duration) cubic-bezier(0.25, 0.9, 0.25, 1) both;
  /* ★ 文字ごとにだけ遅延。行ごとの遅延は無し（app.js で <br> のたびに 0 リセット済み） */
  animation-delay: calc(var(--char-step) * var(--char-index, 0));
}

@keyframes charSlideUp {
  0% {
    transform: translateY(1.5em);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* アクセシビリティ：動きを減らす */
@media (prefers-reduced-motion: reduce) {

  .js-animate,
  .js-animate.inview,
  .section-title .en .char,
  .section-title .en.play .char {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    clip-path: none !important;
    opacity: 1 !important;
  }
}

body.dir-up .booklet .section-title.inview .ja {
  /* X は -50% を維持、Y だけ gentle を足す */
  transform: translate(-50%, calc(-50% + var(--gentle)));
}

/* pc幅ではメニュー内ロゴを消す */
@media (min-width:1001px) {
  #navi .menu li .menu-logo-only-sp {
    display: none !important;
  }
}

.slick-dots {
  display: none !important;
}

/* js-split フォールバック用 */
.booklet-title .en .split-fallback {
  display: inline;
}

.booklet-title .en.is-splitted .split-fallback {
  display: none;
}




/*# sourceMappingURL=style.css.map */