@charset "UTF-8";
/* ============================================================
   健美（Kenbi）リラクゼーションサロン — custom-style.css

   ▼ 目次（TABLE OF CONTENTS）
   01. Variables        … カラー変数
   02. Base             … 基本要素（p / li / list / cover）
   03. Utilities        … フォント・見出し・サイズ
   04. Buttons          … テーマ標準ボタンの上書き（汎用）
   05. Header           … ヘッダー・ナビ・ハンバーガー
   06. Footer           … フッター
   07. SubpageFV        … 下層ページ共通FV（.fv-2）
   08. Top              … トップページ（MV・各セクション）
   09. About            … コンセプト（マーキー・top-about）
   10. Menu             … メニュー
   11. Voice            … お客様の声（スライダー＋モーダル）
   12. Contact          … お問い合わせボタン

   ※ CSSは記述順で優先度が決まります。汎用ボタン(04)は
     コンポーネント別の上書き(08 Top / 12 Contact)より前に置くこと。
   ============================================================ */


/* ============================================================
   01. Variables
   ============================================================ */
:root {
  --color-base:       #FAF8F5; /* ウォームホワイト */
  --color-bg-section: #EDE3D7; /* セクション背景ベージュ */
  --color-accent:     #5C3D2E; /* モカブラウン */
  --color-text-head:  #2E1F17; /* 見出しテキスト */
  --color-text-body:  #7A6A62; /* 本文グレージュ */
  --color-gold:       #C9A96E; /* 差し色ゴールド */
  --color-line:       #9B8979; /* 線・サブテキスト */
}


/* ============================================================
   02. Base
   ============================================================ */
p,
li {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  font-size: 15px !important;
  line-height: 2 !important;
  letter-spacing: 0.1em;
}

.wp-block-list {
  list-style-position: inside;
  padding-left: 0;
}

.wp-block-cover {
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 5% !important;
}

@media (max-width: 500px) {
  p { line-height: 1.8 !important; }

  .wp-block-cover { padding: 0 20px !important; }
}


/* ============================================================
   03. Utilities
   ============================================================ */
/* フォントユーティリティ */
.ff-ja {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.ff-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: 0.25em;
}

.lead_text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: 0.25em;
}

.custom_title {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

/* 見出し */
h2.wp-block-heading,
h3.wp-block-heading {
  color: #2e1f17;
  margin-top: 0 !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
  letter-spacing: 0.1em !important;
}

/* 文字サイズ */
.fz-12 { font-size: 12px !important; }
.fz-64 { font-size: 64px !important; }


/* ============================================================
   04. Buttons（テーマ標準ボタンの上書き・汎用）
   ============================================================ */
.lw-pr-fv-14 .fv_inner .cta_wrap a:first-of-type {
  border-radius: 0 !important;
}
.lw-pr-fv-14 .fv_inner .cta_wrap a:hover {
  opacity: 1 !important;
  filter: brightness(1.1);
}

.lw-button-02 .a_inner {
  border-radius: 0 !important;
}
.lw-button-02 .a_inner:hover {
  filter: brightness(1.6);
}

.lw-pr-button-6 .lw-pr-button-6__wrap .lw-pr-button-6__item:first-child:hover {
  background-color: transparent !important;
  color: var(--color-text-head);
  opacity: 1 !important;
}
.lw-pr-button-6 .lw-pr-button-6__wrap .lw-pr-button-6__item:last-child {
  background-color: transparent !important;
  color: var(--color-text-head);
}
.lw-pr-button-6 .lw-pr-button-6__wrap .lw-pr-button-6__item:last-child:hover {
  background-color: var(--color-text-head) !important;
  color: #fff;
  opacity: 1 !important;
}

.paid-block-content-6 .this_wrap .cont a.btn,
.paid-block-content-6 .this_wrap .cont .btn {
  border: 1px solid var(--color-text-head) !important;
  color: var(--color-text-head) !important;
}
.paid-block-content-6 .this_wrap .cont a.btn:hover,
.paid-block-content-6 .this_wrap .cont .btn:hover {
  background: var(--color-text-head);
  color: #fff !important;
}


/* ============================================================
   05. Header
   ============================================================ */
.lw-pr-fv-14 .fv_in_header .fv_in_nav > ul > li > a::after {
  height: 1px !important;
}

/* ブロックのインラインstyle（height:%）やflex縮小でロゴ画像が
   縦横比を保てず潰れるため、auto+max-heightで固定 */
.lw-pr-fv-14 .fv_in_header .logo a img {
  height: auto !important;
  width: auto !important;
  max-height: 56px;
  flex-shrink: 0;
}

/* トップ：ヘッダーをメインビジュアルに重ねる（透明オーバーレイ） */
body.home .lw_header_main,
body.home .header_ptn_2 .inner {
  background: transparent !important;
}
body.home .lw_header_main {
  position: absolute !important;
  top: 0 !important; /* .admin-bar .fixed_on の top:32px を打ち消す */
  left: 0;
  width: 100%;
  z-index: 50;
}
/* ヘッダー高さ確保のダミー余白を消して画像を最上部から表示 */
body.home .lw_header_main_space {
  display: none !important;
  height: 0 !important;
}
/* ヘッダー下の境界線を消す */
body.home .header_ptn_2 .inner::after {
  display: none;
}
/* トップPC：ヘッダー内「ご予約はこちら」ボタンを非表示 */
@media (min-width: 1081px) {
  body.home .header_ptn_2 .cta_btn {
    display: none !important;
  }
}

.header_ptn_2 .inner {
  background: #2e1f17 !important;
}
.header_ptn_2 .inner .logo a img {
  height: 56px !important;
}

.lw-pr-fv-14:has(.fv_in_header) {
  padding-top: 0 !important;
}

/* 下層ページ ナビ アクティブ・ホバー下線 */
.page .header_ptn_2 .inner::after {
  display: none;
}
.page .header_ptn_2 .header_menu_pc > li > a {
  position: relative;
  color: #fff !important;
}
.page .header_ptn_2 .header_menu_pc > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.4s ease;
}
.page .header_ptn_2 .header_menu_pc > li > a:hover {
  background: transparent !important;
  color: #fff !important;
}
.page .header_ptn_2 .header_menu_pc > li > a:hover::after,
.page .header_ptn_2 .header_menu_pc > li.current-menu-item > a::after {
  width: calc(100% - 4em);
}

/* ハンバーガー：全ページ共通で2本線（トップ・下層を統一） */
.header_ptn_2 .ham_btn {
  background: transparent !important;
}
.header_ptn_2 .ham_btn div:nth-of-type(2) {
  display: none;
}
.header_ptn_2 .ham_btn div:nth-of-type(1) {
  width: 34px !important;
  transform: translateY(-6px) !important;
}
.header_ptn_2 .ham_btn div:nth-of-type(3) {
  width: 34px !important;
  transform: translateY(6px) !important;
}
.header_ptn_2 .ham_btn.active div:nth-of-type(1) {
  display: block;
  width: 24px !important;
  transform: translateY(0) rotate(45deg) !important;
}
.header_ptn_2 .ham_btn.active div:nth-of-type(3) {
  width: 24px !important;
  transform: translateY(0) rotate(-45deg) !important;
}

@media (max-width: 600px) {
  .lw-pr-fv-14 .fv_in_header .logo a img { max-height: 40px; }
  .header_ptn_2 .inner .logo a img { height: 40px !important; }
  .lw-pr-fv-14:has(.fv_in_header) { padding-top: revert !important; }
}


/* ============================================================
   06. Footer
   ============================================================ */
.footer_ptn_2 .logo a img {
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
}
@media (max-width: 1080px) {
  .footer_ptn_2 .logo a img { height: 64px !important; }
}
@media (max-width: 500px) {
  .footer_ptn_2 .logo a img { height: 56px !important; }
}

.footer_ptn_2 .copyright p {
  font-size: 12px !important;
}


/* ============================================================
   07. SubpageFV（下層ページ共通: .fv-2）
   ============================================================ */
.fv-2 {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    #2e1f17 0%,
    #5c3d2e 100%
  ) !important;
}

/* ブロック本体のCSS（min-height）がレイアウト設定のmin-h-*クラスより
   後に読み込まれて上書きするため、詳細度を上げて明示的に効かせる */
.fv-2.min-h-pc-400px {
  min-height: 400px !important;
}
@media (max-width: 800px) {
  .fv-2.min-h-tb-300px { min-height: 300px !important; }
}
@media (max-width: 500px) {
  .fv-2.min-h-sp-200px { min-height: 200px !important; }
}

.fv-2 h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 3rem !important;
  font-weight: 400 !important;
  opacity: 0;
  transform: translateY(16px);
  animation: fv-fadein 1.2s ease-out 0.3s forwards;
}
.fv-2 h1:after {
  display: none !important;
}
.fv-2 h1::before {
  content: var(--page-slug, "");
  text-transform: uppercase;
  order: 1;
  font-size: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.4;
  letter-spacing: 0.25em;
}

@keyframes fv-fadein {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.philosophy-lead,
.about-lead {
  font-size: 1.5em !important;
}
.philosophy-text,
.about-text {
  font-size: 1em !important;
  line-height: 2.4 !important;
}

@media (max-width: 1200px) {
  .fv-2 h1 { font-size: 2.5rem !important; }
  .fv-2 h1::before { font-size: 1.25rem; }
}
@media (max-width: 600px) {
  .fv-2 h1 { font-size: 2rem !important; }
  .fv-2 h1::before { font-size: 1rem; }

  .about-lead { font-size: 1.25em !important; }
  .philosophy-lead { font-size: 1em !important; }
  .philosophy-text { font-size: 14px !important; }
  .fs-1-5 { font-size: 1.25em !important; }
}


/* ============================================================
   08. Top
   ============================================================ */
/* ---- メインビジュアル（カバーブロック .fv） ---- */
.fv.wp-block-cover {
  min-height: 100vh;
  align-items: flex-end; /* 中身を下寄せ */
}
.fv .wp-block-cover__inner-container {
  width: 100%;
  max-width: 1728px;
  margin-inline: auto;
  padding-inline: 40px;
  padding-bottom: 8em;
  color: #fff;
}
@media (max-width: 1200px) {
  .fv .wp-block-cover__inner-container {
    padding-inline: 4%;
    padding-bottom: 10em;
  }
}
@media (max-width: 600px) {
  .fv.wp-block-cover {
    height: 640px !important;
    min-height: 640px !important; /* 高さ固定（数値は調整可） */
  }
  .fv .wp-block-cover__inner-container {
    padding-bottom: 4em;
  }
  /* SP用カバー画像に差し替え（元のimg背景を隠してCSS背景に） */
  .fv.wp-block-cover .wp-block-cover__image-background {
    display: none !important;
  }
  .fv.wp-block-cover {
    background-image: url('/wp-content/uploads/2026/06/fv-sp-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

/* ---- MV内ボタン（.fv__btn / .fv__btns） ---- */
.fv__btn .a_inner {
  width: 100%;
  min-width: 240px !important;
  background-color: var(--color-gold) !important;
  transition: filter 0.3s;
}
.fv__btn .a_inner:hover {
  filter: brightness(1.08);
  opacity: 1 !important;
}
/* 公式LINEリンク（.fv__btn-line）テキスト白 */
.fv__btn-line,
.fv__btn-line a {
  color: #fff !important;
}
/* .post_style p の margin:1.5em auto（中央寄せ）を打ち消して左寄せ */
.fv__btns .fv__btn-line {
  margin-inline: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}
/* ボタン行：上下中央で高さを揃える（ボタンの上余白を行側へ移動） */
.fv__btns {
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 20px 4%; /* 縦20px（折り返し時）× 横4% */
}
.fv__btns > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.lw-pr-fv-14 .fv_inner {
  padding-top: 24em !important;
}

/* ---- スクロールインジケーター ---- */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 40px;
}
.scroll-indicator__text {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--color-line);
  font-family: 'EB Garamond', serif;
}
.scroll-indicator__line {
  display: block;
  width: 1px;
  height: 60px;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}
/* ラインの色ブロックが上から下へ流れる */
.scroll-indicator__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-line);
  animation: scrollLine 1.8s ease infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ---- approach / lw-content-1 ---- */
.approach-container .wp-block-media-text__media {
  overflow: hidden;
  position: sticky;
}

.lw-content-1__text a {
  margin-top: 24px;
  padding: 0;
  min-height: auto;
  min-width: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #fff;
  padding-bottom: 0.4em;
  background-color: transparent !important;
  position: relative;
  transition: opacity 0.3s;
}
/* 通常時の下線（薄め） */
.lw-content-1__text a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}
/* ホバー時に左から右へ走る下線 */
.lw-content-1__text a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.4s ease;
}
.lw-content-1__text a:hover::after {
  width: 100%;
}

.excerpt {
  margin-bottom: 16px !important;
}

/* ---- Instagram ---- */
.wp-block-group.instgram.has-background.lw_padding_right_pc_40 {
  padding-right: 0 !important;
}
.wp-block-group.instgram.has-background.lw_padding_left_pc_40 {
  padding-left: 0 !important;
}
#sb_instagram #sbi_images {
  padding-bottom: 2em;
}
#sb_instagram .sbi_follow_btn svg {
  font-size: 1.75rem;
}
#sb_instagram .sbi_follow_btn a {
  position: relative;
  background: transparent !important;
  color: var(--color-text-head) !important;
  font-size: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.25em;
}
#sb_instagram .sbi_follow_btn a::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 7px);
  height: 1px;
  background: var(--color-text-head);
}
#sb_instagram .sbi_follow_btn a:hover {
  box-shadow: none !important;
}

/* ---- Drawer ---- */
.drawer_nav::after {
  opacity: 1 !important;
}
.drawer_nav .inner {
  display: flex;
  flex-direction: column;
}
.drawer_nav .inner .widget_area_drawer_bottom {
  order: -1;
}
.drawer_nav .widget_area_drawer_bottom img {
  max-width: 120px !important;
  width: 120px !important;
  height: auto !important;
}

.shop-container .lw-button-02 {
  justify-content: start !important;
}

/* ---- カラム調整（1200px以下） ---- */
@media (max-width: 1200px) {
  .wp-block-columns.sanctuary-clm,
  .wp-block-columns.shop-container,
  .wp-block-columns.value-clm,
  .wp-block-columns.menu-clm {
    flex-direction: column !important;
  }
  .wp-block-columns.sanctuary-clm > .wp-block-column,
  .wp-block-columns.shop-container > .wp-block-column,
  .wp-block-columns.value-clm > .wp-block-column,
  .wp-block-columns.menu-clm > .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }
  .wp-block-columns.value-clm > .wp-block-column:last-child {
    border-bottom: 1px solid var(--color-line);
  }

  .wp-block-columns.shop-container p {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* shop-container: テキスト → 画像 → ボタン の順に並べる */
  .wp-block-columns.shop-container > .wp-block-column:first-child {
    display: contents;
  }
  .wp-block-columns.shop-container > .wp-block-column:last-child {
    order: 2;
  }
  .wp-block-columns.shop-container .lw-button-02,
  .wp-block-columns.shop-container .wp-block-button {
    order: 3;
  }
  .wp-block-column.borderStyleRight_solid.borderWidthRight_pc_1 {
    border-right: none !important;
    border-bottom: 1px solid var(--color-line) !important;
  }

  .wp-block-media-text.is-stacked-on-mobile {
    grid-template-columns: 100% !important;
    grid-template-rows: auto auto;
  }
  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
    grid-column: 1;
    grid-row: 2;
  }
  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
    grid-column: 1;
    grid-row: 1;
  }
  .wp-block-media-text > .wp-block-media-text__content {
    padding: 0 !important;
  }
}

/* ---- Top レスポンシブ（その他） ---- */
@media (max-width: 1200px) {
  #sb_instagram #sbi_images {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .lw-pr-fv-14 .fv_inner {
    padding-top: 12em !important;
  }
  .lw-pr-fv-14 .fv_inner .cta_wrap {
    flex-direction: column;
    align-items: flex-start !important;
  }
}
@media (max-width: 500px) {
  .lw-pr-fv-14.min-h-sp-100vh {
    min-height: calc(100vh - 100px) !important;
  }
}


/* ============================================================
   09. About
   ============================================================ */
/* ---- コンセプト マーキー ---- */
.concept-marquee {
  overflow-x: hidden;
  overflow-y: visible;
  padding: 0.3em 0 0.2em;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.concept-marquee__track {
  display: inline-flex;
  white-space: nowrap;
  animation: concept-marquee 100s linear infinite;
}
.concept-marquee__track span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  letter-spacing: 0.1em;
  color: var(--color-line);
  line-height: 1.3;
}
@keyframes concept-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 1200px) {
  .concept-marquee__track span { font-size: 6rem !important; }
}
@media (max-width: 600px) {
  .concept-marquee__track span { font-size: 4rem !important; }
}

/* ---- トップ About（健美に込めた想い） ---- */
.top-about__container {
  gap: 6%;
  margin: 64px 0 48px 0;
}

.top-about__container figure.wp-block-image {
  position: relative;
  z-index: 0;
  margin: 0;
}
.top-about__container figure.wp-block-image::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -24px;
  left: -24px;
  right: 24px;
  bottom: 24px;
  background: var(--color-bg-section);
}

@media (max-width: 1080px) {
  .top-about__container {
    flex-direction: column-reverse;
    gap: 2em;
  }
  .top-about__container figure.wp-block-image {
    width: 100%;
    max-width: 800px;
    margin-inline: auto;
  }
}
@media (max-width: 600px) {
  .top-about__container figure.wp-block-image::before {
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
  }
}


/* ============================================================
   10. Menu
   ============================================================ */
.menu-time {
  font-size: 16px !important;
}


/* ============================================================
   11. Voice（お客様の声・自作スライダー .voice）
   ============================================================ */
.voice {
  position: relative;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px; /* カードを広く。矢印はカード端に少し重ねる */
}
/* スクロール領域 */
.voice__viewport {
  overflow: hidden;
}
.voice__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 4px;
}
.voice__track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
/* カード（PC：3枚表示） */
.voice__card {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 48px) / 3);
  box-sizing: border-box;
  background: #fff;
  border-radius: 8px;
  padding: 36px 24px 32px;
  text-align: center;
  box-shadow: 0 5px 30px 5px rgba(88, 85, 81, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* アバター */
.voice__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--color-bg-section);
}
.voice__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 名前 */
.voice__name {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 18px !important;
  color: var(--color-text-head);
  letter-spacing: 0.08em;
  margin: 0 0 6px !important;
}
/* 年代・カテゴリ */
.voice__meta {
  font-size: 12px !important;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  margin: 0 0 16px !important;
}
/* 抜粋（3行で省略） */
.voice__excerpt {
  font-size: 14px !important;
  line-height: 1.9 !important;
  color: var(--color-text-body);
  text-align: left;
  margin: 0 0 24px !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ボタン */
.voice__btn {
  margin-top: auto;
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-main);
  color: #fff !important;
  font-size: 13px;
  letter-spacing: 0.1em;
  border-radius: 999px;
  transition: filter 0.3s;
}
.voice__btn:hover {
  filter: brightness(1.3);
}
/* 矢印 */
.voice__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s, border-color 0.3s;
}
.voice__arrow::before {
  content: '';
  width: 9px;
  height: 9px;
  border-top: 1px solid var(--color-main);
  border-right: 1px solid var(--color-main);
}
.voice__arrow--prev { left: 0; }
.voice__arrow--prev::before { transform: rotate(-135deg); margin-left: 4px; }
.voice__arrow--next { right: 0; }
.voice__arrow--next::before { transform: rotate(45deg); margin-right: 4px; }
.voice__arrow:hover {
  background: var(--color-text-head);
  border-color: var(--color-text-head);
}
.voice__arrow:hover::before {
  border-color: #fff;
}
/* ドット */
.voice__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
/* スロット幅を24px固定にして、切り替え時に行幅が変わらない＝ガタつかない */
.voice__dot {
  position: relative;
  width: 24px;
  height: 8px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
/* 実際に見えるドットは擬似要素で中央描画（レイアウトに影響しない） */
.voice__dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-line);
  opacity: 0.4;
  transition: width 0.3s, opacity 0.3s, background-color 0.3s;
}
.voice__dot.is-active::before {
  width: 24px;
  opacity: 1;
  background: var(--color-gold);
}

/* PC：矢印用の余白を広げてカードと被らせない */
@media (min-width: 1081px) {
  .voice {
    padding-inline: 56px;
  }
}
/* タブレット：2枚表示 */
@media (max-width: 1080px) {
  .voice__card {
    flex-basis: calc((100% - 24px) / 2);
  }
}
/* SP：1枚を全幅表示 */
@media (max-width: 600px) {
  .voice {
    padding-inline: 8px;
  }
  .voice__card {
    flex-basis: 100%;
  }
  /* 矢印は小さめ・半透明白でカード端に重ねる */
  .voice__arrow {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.85);
  }
}

/* ---- お客様の声：モーダル（全文表示） ---- */
.voice-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(46, 31, 23, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.voice-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.voice-modal__inner {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 10px;
  padding: 56px 48px 48px;
  text-align: center;
  transform: translateY(12px);
  transition: transform 0.3s;
}
.voice-modal.is-open .voice-modal__inner {
  transform: translateY(0);
}
.voice-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-section);
  cursor: pointer;
}
.voice-modal__close::before,
.voice-modal__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--color-text-head);
}
.voice-modal__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.voice-modal__close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.voice-modal__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  background: var(--color-bg-section);
}
.voice-modal__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.voice-modal__name {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 22px !important;
  color: var(--color-text-head);
  letter-spacing: 0.08em;
  margin: 0 0 8px !important;
}
.voice-modal__meta {
  font-size: 13px !important;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  margin: 0 0 28px !important;
}
.voice-modal__text {
  font-size: 15px !important;
  line-height: 2 !important;
  color: var(--color-text-body);
  text-align: left;
  margin: 0 !important;
}
@media (max-width: 600px) {
  .voice-modal__inner {
    padding: 48px 24px 32px;
  }
}


/* ============================================================
   12. Contact（お問い合わせボタン）
   ============================================================ */
.contact-btns__container a {
  text-align: center;
  justify-content: center;
}

.contact-btns__container a,
.contact-btns__container .a_inner {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* 最後のボタン：ホバーで反転（白文字／背景メインカラー） */
.contact-btns__container > :last-child a:hover,
.contact-btns__container > :last-child a:hover .a_inner,
.contact-btns__container > :last-child .a_inner:hover {
  color: #fff !important;
  background-color: var(--color-main) !important;
  border-color: var(--color-main) !important;
  filter: none !important;
  opacity: 1 !important;
}

/* 最初のボタン：あらかじめ透明枠（ホバー時のサイズ変化を防ぐ） */
.contact-btns__container > :first-child .a_inner {
  border: 1px solid transparent !important;
  box-sizing: border-box;
}
/* 最初のボタン：ホバーで 文字メイン／背景#fafaf5 */
.contact-btns__container > :first-child a:hover,
.contact-btns__container > :first-child a:hover .a_inner,
.contact-btns__container > :first-child .a_inner:hover {
  color: var(--color-main) !important;
  background-color: #fafaf5 !important;
  filter: none !important;
  opacity: 1 !important;
}
/* 枠の色は .a_inner だけ変える */
.contact-btns__container > :first-child a:hover .a_inner,
.contact-btns__container > :first-child .a_inner:hover {
  border-color: var(--color-main) !important;
}

@media (max-width: 768px) {
  .contact-btns__container {
    flex-wrap: wrap !important;
    max-width: 100% !important;
  }
  .contact-btns__container .a_inner {
    min-width: 280px !important;
  }
}
