/* ===============================
   表示制御（用途別に分離）
=============================== */

/* デフォルト：全部非表示 */
.sp-only,
.mid-sp-only,
.tab-only,
.pc-only-inline,
.pc-only-block {
  display: none;
}

/* SP（〜480） */
@media (max-width: 480px) {
  .sp-only { display: block; }
}

/* 481〜767 */
@media (min-width: 481px) and (max-width: 767px) {
  .mid-sp-only { display: block; }
}

/* タブレット（768〜1024） */
@media (min-width: 768px) and (max-width: 1024px) {
  .tab-only { display: block; }
}

/* PC（1025〜） */
@media (min-width: 1025px) {
  .pc-only-inline { display: inline; }
  .pc-only-block  { display: block; }
}

.safety-flex {
  display: block;
}

@media (max-width: 480px) {

  .fv-inner,
  .inner,
  .section-inner {
    max-width: 100%;
    padding: 0 16px;
    margin: 0 auto;
  }

  .section-heading h2 {
  font-size: 34px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  }

  .section label {
    font-size: 19px;
  }

  .container {
    padding: 0 16px;
  }
}


/* ===============================
   SP（完全リセット）
================================ */
@media (max-width: 480px) {

  /* ===============================
     共通
  ============================== */
  html, body {
    overflow-x: hidden;
  }

  *, *::before, *::after {
    box-sizing: border-box;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* ===============================
     Header
  ============================== */
  .header {
    width: 100%;
  }

  .header-inner {
    width: 100%;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-logo {
    font-size: 16px;
    white-space: nowrap;
  }

  /* PCナビとCTAは消す */
  .header-nav,
  .header-cta {
    display: none;
  }

/* ===============================
   ハンバーガー（安定版FIX）
================================ */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center; /* ← 中央寄せ */
  gap: 6px;

  width: 26px;
  height: 18px;

  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

/* 線 */
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #111;
  transition: 0.3s ease;
  transform-origin: center; /* ← 超重要 */
}

/* ===============================
   ✖（移動なしで回転）
================================ */
.hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg);
}

  /* ===============================
     SPナビ
  ============================== */
  .sp-nav {
    position: fixed;
    top: 48px; /* ← headerの高さに合わせる */
    height: calc(100vh - 60px);

    width: 100%;
    height: 100vh;

    background: #111;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    transform: translateX(100%);
    transition: transform 0.4s ease;

    z-index: 1000;
  }

  .sp-nav.is-active {
    transform: translateX(0);
  }

  .sp-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .sp-nav a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
  }

  /* ===============================
     フェード無効（軽量化）
  ============================== */
  .js-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

}


/* ===============================
   FV（SP）
================================ */
@media (max-width: 480px) {

  .fv {
    height: auto;
    min-height: auto;
    display: block;
    background: rgba(245, 240, 230, 0.96);
  }

  /* ===============================
     画像（上）
  ============================== */
  .fv-bg {
    position: relative;
    width: 100%;
    height: 55vh; /* ←ここ重要（50〜60で調整OK） */
  }

  .fv-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 100% center;
  }

  /* ===============================
     テキスト（下）
  ============================== */
  .fv-inner {
    padding: 24px 20px 32px;
    margin: 0;
  }

  .fv-copy {
    max-width: 100%;
    margin: 0;
    padding: 0;

    background: none; /* ←ベージュ解除 */
  }

  /* ===============================
     テキスト調整
  ============================== */
  .fv-label {
    font-size: 17px;
    margin-bottom: 6px;
   
  }

  .fv h1 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .fv h1 span {
    font-size: 48px;
  }

  .fv h1 span:last-child {
  letter-spacing: 0.06em;
  color: #2e3f50;
  }

  .fv-text {
  font-size: 19px;
  margin-bottom: 24px;
  line-height: 1.7;
  }

  /* ===============================
     ボタン（縦）
  ============================== */
  .fv-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .fv .btn-primary,
  .fv .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 18px;
  }

  .fv .btn-secondary {
  background: #111;
  color: #fff;
  border: none;
}

  .fv .btn-primary:active,
  .fv .btn-secondary:active {
    transform: scale(0.97);
    opacity: 0.9;
  }

}

@media (max-width: 480px) {

  .problems-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }

   .problem-item {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: linear-gradient(135deg, #0f1c2a, #142638);


     /* 影（これが本命） */
     box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08);

  }

  .problem-item::before {
    position: absolute;
    top: 18px;
    left: 24px;
    font-family: "Yu Mincho", serif;
    font-size: 32px;
    letter-spacing: 0.08em;
    color: #c8a96a;
}

}


@media (max-width: 480px) {

  /* ===============================
     レイアウト
  ============================== */
  .gallery-inner {
    padding: 0 16px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .gallery-slider-wrap {
    order: 1;
    margin-bottom: 20px;
  }

  .gallery-text {
    order: 2;
  }

  /* ===============================
     スライダー本体
  ============================== */
  .gallery-slider {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
  }

  .gallery-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  .gallery-slider .slide.active {
    opacity: 1;
  }

  .gallery-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ===============================
     ドット
  ============================== */
  .gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  /* ===============================
     テキスト
  ============================== */
  .gallery-title {
    font-size: 28px;
    margin-bottom: 12px;
    letter-spacing: 0.12em;
  }

  .gallery-lead {
    font-size: 20px;
    line-height: 1.8;
  }

}


@media (max-width: 480px) {

  /* ===============================
     レイアウト（縦並び）
  ============================== */
  .mini-cta-inner {
    grid-template-columns: 1fr;
    row-gap: 24px;
    text-align: center;
  }

  .mini-cta-btn-wrap {
    justify-content: center;
  }

  /* ===============================
     ボタン（最初からゴールド）
  ============================== */
  .mini-cta-btn {
    width: auto;
    max-width: none;

    background: #c9a96a;
    border-color: #c9a96a;
    color: #111;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    font-size: 22px;
    padding: 0 36px; 
  }

  .mini-cta-title {
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 10px;
  }

  .mini-cta-lead{
    font-size: 24px;
  }

}


@media (max-width: 480px) {

  .ba-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
  }

  .ba-item img {
    width: 100%;
    height: auto;
    display: block;
   
  }

  .before-after {
    padding: 80px 0;
  }

  .before-after-text{
    font-size: 20px;
  }

}

@media (max-width: 480px) {
  .before-after .container {
    background: transparent;
  }
}
@media (min-width: 400px) and (max-width: 480px){
  .before-after-text{
    max-width: 360px;
    margin: 0 auto;
    text-align: left;
  }
}


@media (max-width: 480px) {

  .cta-band--02 .cta-band-box {
    grid-template-columns: 1fr;
    row-gap: 24px;
    text-align: center;
  }

  /* テキスト */
  .cta-band--02 .cta-band-lead {
    font-size: 20px;
    margin-bottom: 18px;
  }

  .cta-band--02 .cta-band-copy h2 {
    font-size: 33px;
    white-space: normal; /* ←重要 */
    margin-bottom: 18px;
  }

  /* ボタン */
  .cta-band--02 .btn-primary {
  width: 100%;
    min-width: 300px;
    padding: 0 6px;
    background: #c9a96a;
    border-color: #c9a96a;
    color: #111;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    font-weight: 600;
    font-size: 21px;
}

}


@media (max-width: 480px) {

  .reason {
    padding: 80px 0;
  }

  .reason-list {
    gap: 32px;
    margin-top: 40px;
  }

  /* カード縦並び */
  .reason-item {
    display: block;
    padding: 0; /* ←余白リセット */
  }

  /* 画像 */
  .reason-image img {
    width: 100%;
    height: 240px; 
    display: block;
  }

  /* テキスト */
  .reason-content {
    padding: 18px 14px 22px;
    text-align: left;
  }

  .reason-number {
    font-size: 32px;
    margin-bottom: 6px;
  }

  .reason-content h3 {
    font-size: 26px;
    margin-bottom: 10px;
    margin-top: 4px;
  }

  .reason-content p {
    font-size: 21px;
    line-height: 1.7;
    font-weight: 400;
  }

  /* スライドアニメ軽く調整（ズレ防止） */
  .reason .reason-item.js-fade,
  .reason .reason-item:nth-child(even).js-fade {
    transform: translateY(20px); /* 横→縦に変更 */
  }

}


@media (max-width: 480px) {

  /* ===============================
     SAFETY → 幅だけReasonに揃える
  =============================== */

  .safety {
    padding: 80px 0;
  }

  /* containerをReasonと同じ扱いにする */
   .safety .container {
    width: min(100%, 980px); /* ←Reasonと同じ基準 */
    padding: 0 19px;
    margin: 0 auto;
  }


  .safety-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
    padding: 0;
  }

  /* カード */
  .safety-item {
    display: block;
    padding: 0;
    background: #fbfaf8;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);

    width: 100%; /* ←これでcontainer基準になる */
  }

  /* 画像 */
  .safety-item-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
  }

  /* ❌ paddingなしのまま */
  .safety-item-body {
    padding: 0;
  }

  /* テキスト */
  .safety-item-body h3 {
    font-size: 26px;
    margin: 34px 14px 18px; /* ←余白はmarginで調整 */
  }

  .safety-item-body p {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.7;
    margin: 0 14px 20px;
  }

  /* アニメ */
  .safety .safety-item.js-fade {
    transform: translateY(20px);
  }

}


@media (max-width: 480px) {

  /* セクション余白 */
  .comparison {
    padding: 80px 0;
  }

  /* 横スクロール許可 */
  .comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 40px;
  }

  /* テーブル本体 */
  .comparison-table {
    min-width: 680px; /* ←これ重要：潰れ防止 */
    font-size: 18px;
  }

  /* セル */
  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
    line-height: 1.6;
  }

  /* 左列 */
  .comparison-table tbody th {
    width: 140px;
    font-size: 17px;
  }

  /* 当サロン強調（やりすぎ防止） */
  .comparison-table thead th:nth-child(2),
  .comparison-table td:nth-child(2) {
    font-size: 20px;
  }

  /* 一般サロン */
  .comparison-table td:nth-child(3) {
    font-size: 17px;
  }

}


@media (max-width: 480px) {

  /* セクション余白 */
  .staff {
    padding: 80px 0;
  }

  /* グリッド → 縦並び */
  .staff-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
  }

  /* カード */
  .staff-card {
    display: block;
  }

  /* 画像（他セクションと揃える） */
  .staff-image img {
    width: 100%;
    height: 240px; /* ←Reason/Safetyと統一 */
    object-fit: cover;
    object-position: center 20%;
  }

  /* 本文 */
  .staff-body {
    padding: 18px 14px 22px; /* ←Reason基準 */
  }

  /* 名前 */
  .staff-body h3 {
    font-size: 28px;
    margin-bottom: 6px;
  }

  /* メタ */
  .staff-body .staff-meta {
    font-size: 20px;
    margin: 4px 0 8px;
  }

  /* 説明 */
  .staff-body p {
    font-size: 21px;
    line-height: 1.7;
    font-weight: 400;
  }

  /* アニメ揃える */
  .staff .staff-card.js-fade {
    transform: translateY(20px);
  }

}


@media (max-width: 480px) {

  /* セクション余白 */
  .service {
    padding: 80px 0;
  }

  /* グリッド → 縦並び */
  .service-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
  }

  /* カード */
  .service-card {
    display: block;
  }

  /* 画像（統一） */
  .service-image img {
    width: 100%;
    height: 240px; /* ←全部のカードと揃える */
    object-fit: cover;
  }

  /* 本文 */
  .service-body {
    padding: 18px 14px 22px; /* ←統一 */
  }

  /* タイトル */
  .service-card h3 {
    font-size: 26px;
    margin-bottom: 10px;
    line-height: 1.5;
  }

  /* 説明 */
  .service-body p {
    font-size: 21px;
    line-height: 1.7;
    font-weight: 400;
  }

  /* アニメ */
  .service-card,
  .service-card.is-show {
    transform: translateY(20px);
  }

}


@media (max-width: 480px) {

  /* 背景やめる */
  .flow::before,
  .flow::after {
    display: none;
  }

  .flow {
    padding: 80px 0;
    background: #faf9f6;
  }

  /* 画像 */
  .flow-image img {
  width: 100%;
  height: 300px; /* ←260じゃ足りない。300に上げる */
  object-fit: cover;
  object-position: center 20%; /* ←顔をちゃんと上に寄せる */
}

  /* inner */
  .flow-inner {
    max-width: 100%;
    padding: 0 19px; /* ←ここ揃える */
    margin: 0 auto;
    box-sizing: border-box;
  }

  /* 見出し */
  .flow-head {
    margin-bottom: 40px;
  }

  .flow-head h2 {
    font-size: 34px;
  }

  /* リスト */
  .flow-list {
    gap: 32px;
    margin-top: 60px;
  }

  /* ステップ */
  .flow-step {
    gap: 12px;
    display: flex;
    align-items: flex-start;
  }

  /* 番号 */
  .flow-step-num {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;

  border-radius: 50%;
  background: #313c55;
  
  color: #fff;
  
 

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
  font-weight: 700;

  line-height: 1; /* ←これ重要 */

}

  /* タイトル */
  .flow-step-content h3 {
    font-size: 28px;
    min-height: 48px;
    margin-bottom:0;
    color: #0f131b;
    display: flex;
    align-items: center;
    line-height: 1;
    transform: translateY(2px);
    line-height: 1.5;
  }

  /* テキスト */
  .flow-step-content p {
    font-size: 22px;
    line-height: 1.6;
    margin-top: 12px;
  }

  /* アニメ */
  .flow-step,
  .flow-step.is-show {
    transform: translateY(20px);
  }

}

@media (max-width: 480px) {

  .price {
    padding: 80px 0;
  }

  /* ボックス */
  .price-box {
    padding: 40px 20px;
    margin: 40px 0;
  }

  /* プラン */
  .price-plan {
    font-size: 22px;
    margin-bottom: 6px;
    margin-top: 10px;
  }

  /* タイトル */
  .price-main h3 {
    font-size: 28px;
    padding: 6px 14px;
    margin: 8px 0 6px;
  }

  /* 価格（主役） */
  .price-value {
    font-size: 48px;
    margin: 10px 0 6px; /* ←左margin削除 */
    letter-spacing: 0.02em;
    padding-left: 36px;
  }

  .price-value span {
    font-size: 17px;
  }

  /* 補足 */
  .price-note {
    font-size: 22px;
    margin-bottom: 20px;
  }

  /* リスト */
  .price-features {
  max-width: 320px;
  margin: 0 auto;
  padding-top: 18px;
  padding-left: 12px;
}

  .price-features li {
    font-size: 20px;
    padding-left: 13px;
  }

  .price-features li::before {
    width: 5px;
    height: 5px;
  }

}


@media (max-width: 480px) {

  .cta-band--03 {
    padding: 56px 0;
  }

  /* 横→縦に */
  .cta-band-box {
    grid-template-columns: 1fr;
    row-gap: 38px;
    text-align: center;
  }

  .cta-band-copy {
    max-width: 100%;
  }

  .cta-band-lead {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .cta-band-copy h2 {
    font-size: 24px;
    line-height: 1.6;
    padding-left: 6px;
  }

  /* ボタン中央＆フル寄り */
  .cta-band--03 .btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    height: 52px;
    font-size: 22px;
  }

  .cta-band--03 .container {
    padding: 0;
  }

  .cta-band--03 .btn {
  background: #bfa46f;
  color: #111;
  border-color: #bfa46f;
}

.cta-band--03 .btn:hover {
  opacity: 0.9;
}
}

@media (max-width: 480px) {

  .review {
    padding: 80px 0;
  }

  /* containerに揃える（他と同じ） */
  .review .container {
    padding: 0 19px;
  }

  /* リスト */
  .review-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
    padding: 0; /* ←ここ重要（containerに任せる） */
  }

  /* カード */
  .review-item {
    padding: 28px 20px;
    min-height: auto;
  }

  /* 見出し */
  .review-title {
    font-size: 26px;
    margin-top: 16px;
    margin-bottom: 10px;
  }

  /* 本文 */
  .review-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 16px;
  }

  /* 投稿者 */
  .review-author {
    font-size: 15px;
  }

  /* REVIEW表記 */
  .review-meta {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .review-meta span {
    font-size: 18px;
  }

}

@media (max-width: 480px) {

  .faq {
    padding: 60px 0;
  }

  .faq-list {
    margin-top: 40px;
  }

  .faq-item {
    padding: 18px 0;
  }

  /* ===== Q ===== */
  .faq-item summary {
    list-style: none;
    cursor: pointer;
    position: relative;

    font-size: 24px;
    line-height: 1.6;

    padding-left: 36px;
    padding-right: 24px;
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item summary::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;

    font-family: "Yu Mincho", serif;
    font-size: 22px;
    color: #c8a96a;
  }

  .faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;

    font-size: 16px;
    color: #aaa;
    transition: all 0.3s ease;
  }

  .faq-item[open] summary::after {
    content: "−";
    color: #333;
  }

  /* ===== A ===== */
  .faq-item p {
    position: relative;

    padding-left: 36px;
    padding-right: 16px;
    margin-top: 0;

    font-size: 18px;
    line-height: 1.7;

    max-height: 0;
    opacity: 0;
    overflow: hidden;

    transition:
      max-height 0.4s ease,
      opacity 0.3s ease,
      margin-top 0.3s ease;
  }

  .faq-item p::before {
    content: "A";
    position: absolute;
    left: 0;
    top: 0;

    font-family: "Yu Mincho", serif;
    font-size: 22px;
    color: #c99a3c;
  }

  .faq-item[open] p {
    max-height: 300px;
    opacity: 1;
    margin-top: 10px;
    font-size: 20px;
  }

  .faq .container {
    padding: 0 19px;
  }
}


@media (max-width: 480px) {

  /* ===== セクション ===== */
  .cta-final {
    padding: 80px 0;
  }

  /* ===== 見出し ===== */
  .cta-final h2 {
    font-size: 31px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  /* ===== 説明文 ===== */
  .cta-final-text {
    font-size: 20px;
    line-height: 1.7;
    
    text-align: left;
    max-width: 360px;
    margin: 0 auto 24px;
  }

  /* ===== ボックス ===== */
  .cta-final-box {
    padding: 28px 18px;
    margin-top: 30px;
    text-align: center;
  }

  /* ===== サブコピー ===== */
  .cta-final-box h3 {
    font-size: 26px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* ===== ポイント ===== */
  .cta-final-points {
  flex-direction: column;
  align-items: flex-start;   /* ← ここ変える */
  gap: 10px;
  max-width: 260px;      
  margin: 0 auto 28px; 

  display: inline-flex;
}

.cta-final-points span {
  font-size: 20px;
  padding-left: 20px;
}


  .cta-final-points span::before {
    width: 10px;
    height: 10px;
  }

  /* ===== ボタン ===== */
  .cta-final-actions {
    flex-direction: column;
    gap: 12px;
  }

  .cta-final-actions .btn {
    width: 100%;
    text-align: center;

    font-size: 17px;
    font-weight: 600;
    padding: 14px 16px;
  }

  .cta-final-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
}


}



/*481～767*/
/* ===============================
   481〜767（SP拡張）
============================== */

@media (min-width: 481px) and (max-width: 767px) {

  .container,
  .inner {
    padding-left: 20px;
    padding-right: 20px;
  }

}

/* 481〜767：h2統一 */
@media (min-width: 481px) and (max-width: 767px) {

  .section-heading h2 {
    font-size: 36px;
  }

}

@media (min-width: 481px) and (max-width: 767px) {

  

  /* ===============================
     アニメーション無効化
  ============================== */
  .js-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* ===============================
     ハンバーガー
  ============================== */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    width: 26px;
    height: 18px;

    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #111;
    transition: 0.3s ease;
    transform-origin: center;
  }

  .hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg);
  }

  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg);
  }

  /* ===============================
     SPナビ
  ============================== */
  .sp-nav {
    position: fixed;
    top: 48px;

    left: 0;
    right: 0;
    width: auto;
    height: 100vh;

    background: #111;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    transform: translateX(100%);
    transition: transform 0.4s ease;

    z-index: 1000;

    box-sizing: border-box;
  }

  .sp-nav.is-active {
    transform: translateX(0);
  }

  .sp-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .sp-nav a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
  }

  /* ===============================
     Header
  ============================== */
  .header {
    width: 100%;
  }

  .header-inner {
    max-width: 100%; 
    width: 100%;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    margin: 0;
  }

  .header-logo {
    font-size: 18px;
    white-space: nowrap;
  }

  .header-nav,
  .header-cta {
    display: none;
  }

}

/* ===============================
   FV（481〜767）
================================ */
@media (min-width: 481px) and (max-width: 767px) {

  .fv {
    height: auto;
    display: block;
    background: rgba(245, 240, 230, 0.96);
  }

  /* ===============================
     画像（上）
  ============================== */
  .fv-bg {
    position: relative;
    width: 100%;
    height: 60vh; /* ← 少しだけ伸ばす */
  }

  .fv-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* ← 少し中央寄せ */
  }

  /* ===============================
     テキスト（下）
  ============================== */
  .fv-inner {
    padding: 32px 34px 40px;
    margin: 0;
  }

  .fv-copy {
    max-width: 680px;   /* ← ここだけ広げる */
    margin: 0 auto;     /* ← 中央配置 */
    padding: 0;
    background: none;
   
  }

  /* ===============================
     テキスト
  ============================== */
  .fv-label {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .fv h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .fv h1 span {
    font-size: 56px;
  }

  .fv h1 span:last-child {
    letter-spacing: 0.06em;
    color: #2e3f50;
  }

  .fv-text {
    font-size: 19px;
    margin-bottom: 28px;
    line-height: 1.7;
  }

  /* ===============================
     ボタン
  ============================== */
  .fv-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .fv .btn-primary,
  .fv .btn-secondary {
    width: 100%;
   
    margin: 0 auto;     /* ← 中央 */
    text-align: center;
    padding: 18px;
    font-size: 22px;
  }

  .fv .btn-secondary {
    background: #111;
    color: #fff;
    border: none;
  }

  .fv .btn-primary:active,
  .fv .btn-secondary:active {
    transform: scale(0.97);
    opacity: 0.9;
  }
}

@media (min-width: 481px) and (max-width: 767px) {

  .problems-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }

  .problem-item {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: linear-gradient(135deg, #0f1c2a, #142638);

    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.12),
      0 2px 6px rgba(0, 0, 0, 0.08);
  }

  .problem-item::before {
    position: absolute;
    top: 12px;
    left: 24px;
    font-family: "Yu Mincho", serif;
    font-size: 38px;
    letter-spacing: 0.08em;
    color: #c8a96a;
}

.problem-item p {
  margin-top: 12px;
  margin-bottom: 0;
}
}






@media (min-width: 481px) and (max-width: 767px) {

  /* ===============================
     レイアウト
  ============================== */
  .gallery-inner {
    padding: 0 24px; /* ← 少し余裕出す */
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 32px; /* ← 少し広げる */
  }

  .gallery-slider-wrap {
    order: 1;
    margin-bottom: 24px;
  }

  .gallery-text {
    order: 2;
  }

  /* ===============================
     スライダー本体
  ============================== */
  .gallery-slider {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden; /* ← これ重要（はみ出し防止） */
  }

  .gallery-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  .gallery-slider .slide.active {
    opacity: 1;
  }

  .gallery-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* ← 追加（余白バグ防止） */
  }

  /* ===============================
     ドット
  ============================== */
  .gallery-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  /* ===============================
     テキスト
  ============================== */
  .gallery-title {
    font-size: 30px; /* ← 少し大きく */
    margin-bottom: 14px;
    letter-spacing: 0.12em;
  }

  .gallery-lead {
    font-size: 20px;
    line-height: 1.9;
  }

}


@media (min-width: 481px) and (max-width: 767px) {

  .mini-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .mini-cta-title {
    line-height: 1.5;
    font-size: 40px;
    transform: translateX(0.3em);
    margin-bottom: 12px;
  }

  .mini-cta-btn-wrap {
    width: 100%;
  }

  .mini-cta-btn {
    
    width: 100%;
    max-width: 320px;
    margin: 0 auto;

    padding: 16px;
    font-size: 24px;
    text-align: center;

    background: #c9a96a;
    color: #111;
    border: none;

    transition: none; /* ← hoverなし */
  }

  .mini-cta-btn:hover {
    background: #c9a96a;
    color: #111;
    cursor: default;
  }

  .mini-cta-lead {
    margin-bottom: 28px;
  }

}

@media (min-width: 481px) and (max-width: 767px){
  .before-after-text{
    max-width: 480px;
    margin: 0 auto;
    text-align: left;
  }
}


@media (min-width: 481px) and (max-width: 767px) {

  .cta-band--02 {
    padding: 48px 16px;
  }

  .cta-band--02 .cta-band-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .cta-band--02 .cta-band-copy h2  {
    font-size: 40px;
    line-height: 1.6;
    white-space: normal; /* ← ここ重要 */
    transform: translateX(0.3em);
  }

  .cta-band--02 .cta-band-lead {
    font-size: 20px;
  }

  .cta-band--02 .btn-primary {
    width: 100%;
    max-width: 360px;
    height: 52px;

    background: #c9a96a;
    color: #111;
    border: none;

    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.05em;
  }


}

/* タブレット（481〜767） */
@media (min-width: 481px) and (max-width: 767px) {

  .reason {
    padding: 90px 0;
  }

  .reason-list {
    gap: 36px;
    margin-top: 48px;
  }

  /* カード縦並び */
  .reason-item {
    display: block;
    padding: 0;
  }

  /* 画像 */
  .reason-image img {
    width: 100%;
    height: 360px; /* SPより少しだけ大きく */
    display: block;
    object-fit: cover;
  }

  /* テキスト */
  .reason-content {
    padding: 20px 18px 24px;
    text-align: left;
  }

  .reason-number {
    font-size: 38px;
    margin-bottom: 8px;
  }

  .reason-content h3 {
    font-size: 26px;
    margin-bottom: 12px;
    margin-top: 0;
  }

  .reason-content p {
    font-size: 20px;
    line-height: 1.75;
    margin-top: 0;
  }

  /* アニメ（ズレ防止） */
  .reason .reason-item.js-fade,
  .reason .reason-item:nth-child(even).js-fade {
    transform: translateY(20px);
  }

}

/* タブレット（481〜767） */
@media (min-width: 481px) and (max-width: 767px) {

  .safety {
    padding: 90px 0;
  }

  /* container揃える */
  .safety .container {
    width: min(100%, 980px);
    padding: 0 19px;
    margin: 0 auto;
  }

  .safety-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 48px;
    padding: 0;
  }

  /* カード */
  .safety-item {
    display: block;
    padding: 0;
    background: #fbfaf8;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    width: 100%;
  }

  /* 画像（←ここだけ少し強めに） */
  .safety-item-image img {
    width: 100%;
    height: 360px; /* ←Reasonに合わせてもOK */
    object-fit: cover;
    display: block;
  }

  /* bodyはpaddingなし */
  .safety-item-body {
    padding: 0;
  }

  /* テキスト */
  .safety-item-body h3 {
    font-size: 26px;
    margin: 20px 18px 12px;
  }

  .safety-item-body p {
    font-size: 20px;
    line-height: 1.75;
    margin: 0 18px 22px;
  }

  /* アニメ */
  .safety .safety-item.js-fade {
    transform: translateY(20px);
  }

  /* 3枚目だけ表示位置調整 */
.safety-item:nth-child(3) .safety-item-image img {
  object-position: center 30%;
}

}
/* 481〜599：SPと同じ横スクロール構造 */
@media (min-width: 481px) and (max-width: 599px) {

  /* 横スクロール */
  .comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 48px;
  }

  /* テーブル本体 */
  .comparison-table {
    min-width: 720px; /* ←少し広めにして余裕出す */
    font-size: 20px;
  }

  /* セル */
  .comparison-table th,
  .comparison-table td {
    padding: 14px 12px;
    line-height: 1.65;
  }

  /* 左列 */
  .comparison-table tbody th {
    width: 160px;
    font-size: 20px;
  }

  /* 当サロン */
  .comparison-table thead th:nth-child(2),
  .comparison-table td:nth-child(2) {
    font-size: 24px;
  }

  /* 一般サロン */
  .comparison-table td:nth-child(3) {
    font-size: 20px;
  }

}

/* タブレット（481〜767） */
@media (min-width: 481px) and (max-width: 767px) {

  /* セクション余白 */
  .staff {
    padding: 90px 0;
  }

  /* 縦並び */
  .staff-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 48px;
  }

  /* カード */
  .staff-card {
    display: block;
  }

  /* 画像（←ここ調整ポイント） */
  .staff-image img {
    width: 100%;
    height: auto;              /* ←固定やめる */
    aspect-ratio: 4 / 3;       /* ←ここで高さバランス作る */
    object-fit: cover;
    object-position: center 20%;
  }


  /* 本文 */
  .staff-body {
    padding: 20px 18px 24px;
  }

  /* 名前 */
  .staff-body h3 {
    font-size: 28px;
    margin-bottom: 8px;
    margin-top: 0;
  }

  /* メタ */
  .staff-body .staff-meta {
    font-size: 20px;
    margin: 6px 0 10px;
  }

  /* 説明 */
  .staff-body p {
    font-size: 22px;
    line-height: 1.75;
    margin-top: 0;
    margin-bottom: 0;
  }

  /* アニメ */
  .staff .staff-card.js-fade {
    transform: translateY(20px);
  }

}

/* タブレット（481〜767） */
@media (min-width: 481px) and (max-width: 767px) {

  /* セクション余白 */
  .service {
    padding: 90px 0;
  }

  /* 縦並び */
  .service-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 48px;
  }

  /* カード */
  .service-card {
    display: block;
  }

  /* 画像（←ここ重要） */
  .service-image img {
    width: 100%;
    height: auto;              /* ←固定やめる */
    aspect-ratio: 4 / 3;       /* ←自然な比率 */
    object-fit: cover;
  }

  /* 本文 */
  .service-body {
    padding: 20px 18px 24px;
  }

  /* タイトル */
  .service-card h3 {
    font-size: 26px;
    margin-bottom: 12px;
    line-height: 1.6;
  }

  /* 説明 */
  .service-body p {
    font-size: 20px;
    line-height: 1.75;
    margin-bottom: 10px;
    margin-top: 12px;
  }

  /* アニメ */
  .service-card,
  .service-card.is-show {
    transform: translateY(20px);
  }

}
/* 481〜767：SPと同じ構成 */
@media (min-width: 481px) and (max-width: 767px) {

  /* 背景やめる */
  .flow::before,
  .flow::after {
    display: none;
  }

  .flow {
    padding: 90px 0;
    background: #faf9f6;
  }

  /* 画像表示 */
  .flow-image img {
    width: 100%;
    height: auto;              /* ←潰れ防止 */
    aspect-ratio: 4 / 3;       /* ←自然な比率 */
    object-fit: cover;
    object-position: center 20%;
  }

  /* inner */
  .flow-inner {
    max-width: 100%;
    padding: 0 19px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  /* 見出し */
  .flow-head {
    margin-bottom: 48px;
  }

.flow-head h2 {
    font-size: 36px;
  }


  /* リスト */
  .flow-list {
    gap: 36px;
    margin-top: 64px;
  }

  /* ステップ */
  .flow-step {
    gap: 14px;
    display: flex;
    align-items: flex-start;
  }

  /* 番号 */
  .flow-step-num {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;

    border-radius: 50%;
    background: #313c55;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    margin-top: 5px;  
  }

  /* タイトル */
  .flow-step-content h3 {
    font-size: 28px;
    margin-bottom: 0;
    color: #0f131b;
    margin-top: 0;     /* ←まずこれ絶対 */
    line-height: 1.2; 
  }

  /* テキスト */
  .flow-step-content p {
    font-size: 20px;
    line-height: 1.6;
  }

  /* アニメ */
  .flow-step,
  .flow-step.is-show {
    transform: translateY(20px);
  }

}

/* 481〜767 */
@media (min-width: 481px) and (max-width: 767px) {

  .price {
    padding: 90px 0;
  }

  /* ボックス */
  .price-box {
    padding: 48px 28px;
    margin: 48px 0;
  }

  /* プラン */
  .price-plan {
    font-size: 24px;
    margin-bottom: 8px;
    margin-top: 12px;
  }

  /* タイトル */
  .price-main h3 {
    font-size: 36px;
    padding: 8px 16px;
    margin: 10px 0 8px;
  }

  /* 価格（主役） */
  .price-value {
    font-size: 48px;
    margin: 12px 0 8px;
    letter-spacing: 0.02em;
    padding-left: 40px;
  }

  .price-value span {
    font-size: 16px;
  }

  /* 補足 */
  .price-note {
    font-size: 24px;
    margin-bottom: 24px;
  }

  /* リスト */
  .price-features {
    max-width: 420px;
    margin: 0 auto;
    padding-top: 20px;
    padding-left: 14px;
    transform: translateX(20px);
  }

  .price-features li {
    font-size: 20px;
    padding-left: 14px;
  }

  .price-features li::before {
    width: 6px;
    height: 6px;
  }

}

/* 481〜767 */
@media (min-width: 481px) and (max-width: 767px) {

  .cta-band--03.section.tight {
    padding: 64px 0;
  }


  /* 縦並び */
  .cta-band-box {
    grid-template-columns: 1fr;
    row-gap: 42px;
    text-align: center;
  }

  .cta-band-copy {
    max-width: 100%;
  }

  .cta-band-lead {
    font-size: 20px;
    margin-bottom: 26px;
  }

  .cta-band--03 .cta-band-copy h2 {
    font-size: 30px;
    line-height: 1.6;
    padding-left: 0; /* ←中央なので不要 */

  }

  /* ボタン */
  .cta-band--03 .btn {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    height: 56px;
    font-size: 24px;
    background: #c9a96a;
    color: #111;
    border-color: #c9a96a;
  }

  /* コンテナ余白 */
  .cta-band--03 .container {
    padding: 0 19px;
  }

}

/* 481〜767 */
@media (min-width: 481px) and (max-width: 767px) {

  .review {
    padding: 90px 0;
  }

  /* container揃え */
  .review .container {
    padding: 0 19px;
  }

  /* リスト */
  .review-list {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
    padding: 0;
  }

  /* カード */
  .review-item {
    padding: 32px 24px;
    min-height: auto;
  }

  /* 見出し */
  .review-title {
    font-size: 26px;
    margin-top: 18px;
    margin-bottom: 12px;
  }

  /* 本文 */
  .review-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 18px;
  }

  /* 投稿者 */
  .review-author {
    font-size: 18px;
  }

  /* REVIEW表記 */
  .review-meta {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .review-meta span {
    font-size: 20px;
  }

}

/* 481〜767：FAQ Aテキストの右余白確保 */
@media (min-width: 481px) and (max-width: 767px) {

  .faq-item p {
    padding-right: 40px; /* ←+の下に潜らないように */
    font-size: 20px;
  }

  .faq-item summary{
    font-size: 24px;
    line-height: 1.6;
  }


}

/* 481〜767 */
@media (min-width: 481px) and (max-width: 767px) {

  /* ===== セクション ===== */
  .cta-final {
    padding: 90px 0;
  }

  /* ===== 見出し ===== */
  .cta-final h2 {
    font-size: 36px; /* ←ここ統一ルール適用 */
    line-height: 1.5;
    margin-bottom: 24px;
  }

  /* ===== 説明文 ===== */
  .cta-final-text {
    font-size: 20px;
    line-height: 1.75;

    text-align: left;
   
    margin: 0 auto 28px;
    max-width: 460px;
  }

  /* ===== ボックス ===== */
  .cta-final-box {
    padding: 36px 24px;
    margin-top: 36px;
    text-align: center;
  }

  /* ===== サブコピー ===== */
  .cta-final-box h3 {
    font-size: 32px;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  /* ===== ポイント ===== */
  .cta-final-points {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;

    max-width: 300px;
    margin: 0 auto 32px;
  }

  .cta-final-points span {
    font-size: 24px;
    padding-left: 22px;
  }

  .cta-final-points span::before {
    width: 11px;
    height: 11px;
  }

  /* ===== ボタン ===== */
  .cta-final-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .cta-final-actions .btn {
    width: 100%;
    text-align: center;

    font-size: 23px;
    font-weight: 600;
    padding: 16px 18px;
  }

}















/*768～900*/
@media (min-width: 768px) and (max-width: 900px) {

  .js-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

}

/* ===============================
   768〜900（ナビ・ハンバーガー）
============================== */
@media (min-width: 768px) and (max-width: 900px) {

  /* ハンバーガー */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    width: 26px;
    height: 18px;

    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  /* 線 */
  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #111;
    transition: 0.3s ease;
    transform-origin: center;
  }

  /* ✖ */
  .hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg);
  }

  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg);
  }

  /* ===============================
     SPナビ
  ============================== */
  .sp-nav {
    position: fixed;
    top: 48px;
    height: calc(100vh - 60px);

    width: 100%;
    height: 100vh;

    background: #111;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    transform: translateX(100%);
    transition: transform 0.4s ease;

    z-index: 1000;
  }

  .sp-nav.is-active {
    transform: translateX(0);
  }

  .sp-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .sp-nav a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
  }

    /* ===============================
     Header
  ============================== */
  .header {
    width: 100%;
  }

  .header-inner {
    width: 100%;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    box-sizing: border-box;
  }

  .header-logo {
    font-size: 18px;
    white-space: nowrap;
  }

  /* PCナビとCTAは消す */
  .header-nav,
  .header-cta {
    display: none;
  }
}

/* ===============================
   FV（768〜900）
============================== */
@media (min-width: 768px) and (max-width: 900px) {

  .fv {
    height: auto;
    min-height: auto;
    display: block;
    background: rgba(245, 240, 230, 0.96);
  }

  /* ===============================
     画像（上）
  ============================== */
  .fv-bg {
    position: relative;
    width: 100%;
    height: 55vh;

  }

  .fv-bg img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    object-position: center 20%;
  }

  /* ===============================
     テキスト（下）
  ============================== */
  .fv-inner {
    padding: 32px 54px 40px; /* ←SPより少し余白広げる */
    margin: 40px auto 0;
  }

  .fv-copy {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: none;
  }

  /* ===============================
     テキスト
  ============================== */
  .fv-label {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .fv h1 {
    font-size: 44px;
    line-height: 1.4;
    margin-bottom: 24px;
  }

  .fv h1 span {
    font-size: 64px;
  }

  .fv h1 span:last-child {
    letter-spacing: 0.06em;
    color: #2e3f50;
  }

  .fv-text {
    font-size: 24px;
    margin-bottom: 28px;
    line-height: 1.7;
    max-width: 720px;
    margin-left: 0;
    margin-right: auto;
  }

  /* ===============================
     ボタン
  ============================== */
  .fv-buttons {
    flex-direction: column;
    gap: 14px;
  }

  .fv .btn-primary,
  .fv .btn-secondary {
    width: 100%;
    padding: 16px;
    font-size: 26px;
    font-weight: 600;
    text-align: center;
  }

  .fv .btn-secondary {
    background: #111;
    color: #fff;
    border: none;
  }

}

/* ===============================
   problem（768〜900 修正版）
============================== */
@media (min-width: 768px) and (max-width: 900px) {

  /* セクション幅（ここで全部統一） */
  .problems .container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 18px;
}

  /* リスト */
  .problems-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
  }

  /* カード */
  .problem-item {
    width: 100%;
    
    margin: 0;
    padding: 36px 40px 28px; 

    background: linear-gradient(135deg, #0f1c2a, #142638);

    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.12),
      0 2px 6px rgba(0, 0, 0, 0.08);

  
  }

   .item-01 h3,
  .item-03 h3{
    margin-top: 38px;
  }

  .problem-item h3{
  font-size: 33px;
  margin-top: 50px;
}

.problem-item p{
  font-size: 24px;
  margin-top: 12px;
}

.problem-item::before {
    position: absolute;
    top: 16px;
    left: 24px;
    font-family: "Yu Mincho", serif;
    font-size: 38px;
    letter-spacing: 0.08em;
    color: #c8a96a;
}

}

/* ===============================
   gallery（768〜900）
============================== */
@media (min-width: 768px) and (max-width: 900px) {

  /* セクション幅 */
  .gallery-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 18px;
  }

  /* 縦並び */
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  /* 順番（画像→テキスト） */
  .gallery-slider-wrap {
    order: 1;
  }

  .gallery-text {
    order: 2;
  }

  /* スライダー */
  .gallery-slider {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
  }

  .gallery-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  .gallery-slider .slide.active {
    opacity: 1;
  }

  .gallery-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ドット */
  .gallery-dots {
    margin-top: 14px;
    text-align: center;
  }

  /* テキスト */
  .gallery-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .gallery-lead {
    font-size: 26px;
    line-height: 1.9;
  }

}


@media (min-width: 768px) and (max-width: 900px) {

  /* ===============================
     レイアウト（縦）
  ============================== */
  .mini-cta-inner {
    grid-template-columns: 1fr;
    row-gap: 28px;
    text-align: center;
  }

  .mini-cta-btn-wrap {
    justify-content: center;
  }

  /* ===============================
     テキスト
  ============================== */
  .mini-cta-title {
    font-size: 39px;
    margin-top: 10px;
    margin-bottom: 0;
    transform: translateX(0.2em);
  }

  .mini-cta-lead {
    font-size: 26px;
  }

  /* ===============================
     ボタン（常時ゴールド）
  ============================== */
  .mini-cta-btn {
    width: 100%;
    max-width: 340px;

    background: #c9a96a;
    border-color: #c9a96a;
    color: #111;

    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  }

  /* hoverは無効化 */
  .mini-cta-btn:hover {
    background: #c9a96a;
    border-color: #c9a96a;
    color: #111;
  }

}


@media (min-width: 768px) and (max-width: 900px) {

  /* =========================
     セクション
  ========================= */
  .before-after {
    padding: 110px 0 120px;
  }

  /* =========================
     container幅統一（これ重要）
  ========================= */
  .before-after .container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 18px;
  }

  /* =========================
     縦並び
  ========================= */
  .ba-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
  }

  /* =========================
     画像
  ========================= */
  .ba-item img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* =========================
     見出し微調整
  ========================= */
  .before-after h2 {
    font-size: 40px;
  }

  .before-after p {
    font-size: 22px;
    line-height: 1.8;
  }

}


@media (min-width: 768px) and (max-width: 900px) {

  /* ===============================
     container幅統一
  ============================== */
  .cta-band--02 .container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 18px;
  }

  /* ===============================
     レイアウト（縦）
  ============================== */
  .cta-band--02 .cta-band-box {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 36px;
    text-align: center;
  }

  /* ===============================
     テキスト
  ============================== */
  .cta-band--02 .cta-band-copy h2 {
    font-size: 39px;
    line-height: 1.6;
    white-space: normal;
    transform: translateX(0.2em);
  }

  .cta-band--02 .cta-band-lead {
    font-size: 26px;
  }

  /* ===============================
     ボタン（常時ゴールド）
  ============================== */
  .cta-band--02 .btn-primary {
  width: 100%;
  max-width: 460px;  /* ←ここ広げる */

  margin: 0 auto;

  background: #c9a96a;
  border-color: #c9a96a;
  color: #111;

  font-size: 30px;
  font-weight: 600;
  height: 60px; /* ←少し余裕持たせる */
}

  /* hover無効（タブ想定） */
  .cta-band--02 .btn-primary:hover {
    background: #c9a96a;
    border-color: #c9a96a;
    color: #111;
  }

}


@media (min-width: 768px) and (max-width: 900px) {

  /* =========================
     container幅統一
  ========================= */
  .reason .container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 18px;
  }

  /* =========================
     リスト
  ========================= */
  .reason-list {
    gap: 40px;
    margin-top: 40px;
  }

  /* =========================
     カード（縦）
  ========================= */
  .reason-item {
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  }

  /* ← これが重要：並び替え完全無効 */
  .reason-item .reason-image {
    order: 1 !important;
  }

  .reason-item .reason-content {
    order: 2 !important;
    text-align: left; /* ← 念のため固定 */
  }

  /* =========================
     画像
  ========================= */
  .reason-image {
    width: 100%;
    height: 360px;
    overflow: hidden;
  }

  .reason-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* =========================
     テキスト
  ========================= */
  .reason-content {
    padding: 24px 20px;
  }

  .reason-number {
    font-size: 40px;
  }

  .reason-content h3 {
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .reason-content p {
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 12px;
    line-height: 1.7;
  }

  .reason-content {
    width: 100%;
    max-width: 100%;
  }


}


@media (min-width: 768px) and (max-width: 900px) {

  /* ===============================
     container幅統一
  ============================== */
  .safety .container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 18px;
  }

  /* ===============================
     リスト（縦）
  ============================== */
  .safety-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
    padding: 0;
  }

  /* ===============================
     カード
  ============================== */
  .safety-item {
    padding: 0; /* ←余白リセット */
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  }

  .safety-item-body {
    display: flex;
    flex-direction: column;
  }

  /* ===============================
     画像（Reasonと揃える）
  ============================== */
  .safety-item-image {
    width: 100%;
    height: 360px;
    overflow: hidden;
  }

  .safety-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ===============================
     テキスト
  ============================== */
  .safety-item-body h3 {
    font-size: 36px;
    margin: 34px 16px 12px;
  }

  .safety-item-body p {
    font-size: 24px;
    margin: 0 16px 28px;
    line-height: 1.7;
  }

}


@media (min-width: 768px) and (max-width: 900px) {

  .comparison .container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 18px;
  }

  .comparison-table thead th {
    font-size: 24px;
  }

  .comparison-table tbody th {
    font-size: 24px;
  }

  .comparison-table thead th:nth-child(2) {
    font-size: 26px;
  }

  .comparison-table td:nth-child(2) {
    font-size: 26px;
  }

  .comparison-table td:nth-child(3){
    font-size: 24px;
  }


}


@media (min-width: 768px) and (max-width: 900px) {

  /* ===============================
     container幅統一
  ============================== */
  .staff .container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 18px;
  }

  /* ===============================
     セクション余白
  ============================== */
  .staff {
    padding: 90px 0;
  }

  /* ===============================
     縦並び
  ============================== */
  .staff-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 40px;
  }

  /* ===============================
     カード
  ============================== */
  .staff-card {
    display: block;
  }

  /* ===============================
     画像（他と統一）
  ============================== */
  .staff-image {
    width: 100%;
    height: 360px; /* ←Reason/Safetyと揃える */
    overflow: hidden;
  }

  .staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
  }

  /* ===============================
     本文
  ============================== */
  .staff-body {
    padding: 28px 28px 14px 32px;
  }

  .staff-body h3 {
    font-size: 32px;
    margin-bottom: 0;
    margin-top:0;
  }

  .staff-body .staff-meta {
    font-size: 20px;
    margin: 0;
  }

  .staff-body p {
    font-size: 24px;
    line-height: 1.6;
    margin-top: 12px;
  }

}


/* =========================
   768〜900：serviceをSPと同じ縦並び
========================= */
@media (min-width:768px) and (max-width:900px){

  .service .container{
    max-width:720px;
    padding:0 18px;
    margin:0 auto;
  }

  .service-grid{
    display:block;
  }

  .service-card{
    display:block;
    margin-bottom:40px;
  }

  .service-image {
    width: 100%;
    height: 360px; /* ←Reason/Safetyと揃える */
    overflow: hidden;
  }

  .service-image img{
    width:100%;
    height:100%;
    object-fit: cover;
    object-position: center;
  }

  .service-body{
    margin-top:0;
  }

  .service-card h3{
    font-size: 34px;
  }

  .service-body p{
    font-size: 24px;
    line-height: 1.7;
    margin-bottom: 10px;
    margin-top: 12px;
  }

}


/* =========================
   768〜900：flowをSPと同じ構成
========================= */
@media (min-width:768px) and (max-width:900px){



  .flow{
    padding:80px 0; /* SP寄せに調整（任意だけどおすすめ） */
    background: #faf9f6;
  }

  .flow::before{
    display:none;
  }
  
  .flow::after{
    display:none;
  }

  .flow-inner{
    max-width:720px;
    padding:0 18px;
    margin:0 auto;
  }

  /* SP画像を表示 */
  .flow-image.sp-only{
    display:block;
    margin-bottom:24px;
  }

  .flow-image img{
    width:100%;
    height:460px;       /* ←ここで高さコントロール */
    object-fit:cover;   /* トリミングして自然に見せる */
    object-position:center 20%;
  }

  /* 縦並び */
  .flow-list{
    display:block;
  }

  .flow-step{
    display:flex;
    gap:16px;
    margin-bottom:28px;
    align-items:flex-start; 
  }

  .flow-step-num{
    flex: 0 0 56px; 
    width:56px;
    height:56px;
    font-size:26px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;
    margin-top:6px; 
  }


  .flow-step-content h3{
    font-size:34px;
    font-weight:600;
    margin-bottom:0;

  }

  .flow-step-content p{
    font-size:24px;
    line-height:1.5;
    color:#666;
    margin-top:4px; 
  }
}


/* =========================
   768〜900：PRICE調整
========================= */
@media (min-width:768px) and (max-width:900px){

  .price{
    padding:80px 0 200px;
    background: url("../img/bg-marble-white-soft.png") center / cover no-repeat;
  }

  .price .container{
    max-width:720px;
    padding:0 18px;
    margin:0 auto;
  }

  .price-box{
    max-width:100%;
    margin:40px auto 0;

    padding:32px 24px;

    text-align:center;
  }

  /* 初回限定 */
  .price-plan{
    font-size:26px;
    margin-bottom:6px;
  }

  /* タイトル */
  .price-main h3{
    font-size:50px;
    padding:8px 18px;
    margin:6px 0 12px;
  }

  /* 価格 */
  .price-value{
    font-size:80px;
    margin:12px 0 6px;
    margin-left:26px; /* ←ズレ防止 */
  }

  .price-value span{
    font-size:24px;
  }

  /* 補足 */
  .price-note{
    font-size:26px;
    margin-bottom:20px;
  }

  /* リスト */
  .price-features{
  max-width:480px;
  margin:0 auto;
  padding-left:0;
}

  .price-features li {
  padding-left: 16px;
  font-size: 24px;
}

  .price-features li::before{
    width:5px;
    height:5px;
  }

}


/* =========================
   768〜900：CTA③調整
========================= */
@media (min-width:768px) and (max-width:900px){

  .cta-band--03{
    padding:60px 0;
  }

  .cta-band--03 .container{
    max-width:760px;
    padding:0;
    margin:0 auto;
  }

 

  /* 縦並びに変更 */
  .cta-band--03 .cta-band-box{
    display:block;
    text-align:center;
  }

  /* テキスト */
  .cta-band--03 .cta-band-copy{
    max-width:100%;
    margin-bottom:24px;
  }

  .cta-band--03 .cta-band-lead{
    font-size:26px;
    margin-bottom:16px;
  }

  .cta-band--03 .cta-band-copy h2{
    font-size:38px;
    line-height:1.5;
    margin-bottom: 44px;
    transform: translateX(0.2em);
  }



  /* ボタン（デフォルト＝ゴールド） */
.cta-band--03 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 220px;
  height: 58px;
  padding: 0 28px;

  background: #bfa46f; /* ←変更 */
  color: #111;
  text-decoration: none;

  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.08em;

  border: 1px solid #bfa46f; /* ←変更 */
  transition: all 0.3s ease;
}
}


/* =========================
   768〜900：review縦並び
========================= */
@media (min-width:768px) and (max-width:900px){

  .review{
    padding:80px 0;
  }

  .review .container{
    max-width:720px;
    padding:0 18px;
    margin:0 auto;
  }

  .review-list{
    display:block;
    padding:0;
    margin-top:40px;
  }

  .review-item{
    margin-bottom:28px;
    padding:32px 24px 32px 40px; 
  }

  .review-title{
    font-size:34px;
    margin-top:16px;
    margin-bottom: 0;
  }

  .review-text{
    font-size:24px;
    line-height:1.6;
  }

  .review-meta{
    font-size:17px;
  }

  .review-meta span{
    font-size:26px;
  }

}

/* =========================
   768〜900：FAQ調整
========================= */
@media (min-width:768px) and (max-width:900px){

  .faq{
    padding:80px 0;
  }

  .faq .container{
    max-width:720px;
    padding:0 18px;
    margin:0 auto;
  }

  .faq-list{
    margin-top:40px;
    max-width:100%;
  }

  .faq-item{
    padding:18px 0;
  }

  /* Q */
  .faq-item summary{
    font-size:26px;
    padding-left:36px;
    padding-right:24px;
  }

  .faq-item summary::before{
    font-size:22px;
    top:-2px;
  }

  .faq-item summary::after{
    font-size:16px;
  }

  /* A */
  .faq-item p{
    font-size:22px;
    padding-left:36px;
    line-height:1.8;
    max-width:560px; 
  }

  .faq-item p::before{
    font-size:22px;
    top:-2px;
  }

}


/* =========================
   768〜900：CTA FINAL
========================= */
@media (min-width:768px) and (max-width:900px){

  .cta-final{
    padding:100px 0;

  }

  .cta-final::after{
  background: rgba(0, 0, 0, 0.15); 
}

  .cta-final .container{
    max-width:720px;
    padding:0 18px;
    margin:0 auto;
  }

  .cta-final h2{
    font-size:40px;
    margin-bottom:20px;
  }

  .cta-final-text{
    font-size:24px;
    margin-bottom:24px;
    line-height: 1.7;
  }

  .cta-final-box{
    padding:40px 24px;
  }

  .cta-final-box h3{
    font-size:31px;
    margin-bottom:20px;
  }

  /* ポイント → 縦 */
.cta-final-points{
  flex-direction:column;
  gap:10px;

  align-items:flex-start; /* ←左揃え */
  max-width:290px;        /* ←塊サイズ */
  margin:0 auto 28px;     /* ←中央配置 */
}

.cta-final-points span{
  font-size:24px;
}

  /* ボタン → 縦 */
  .cta-final-actions{
    flex-direction:column;
    gap:12px;
  }

  .cta-final-actions .btn{
    width:100%;
    font-size:20px;
    padding:14px 20px;
  }

  /* ===== ボタン仕様（ここ重要） ===== */

  /* メイン：常にゴールド */
  .cta-final-actions .btn-primary{
    background:#bfa46f;
    color:#111;
    border:1px solid #bfa46f;
    transform:none;
    box-shadow:none;
    width:100%;
    max-width:350px;  /* ←ここで止める */
    margin:0 auto;
  }


  /* サブ：白枠 */
  .cta-final-actions .btn-secondary{
    background:transparent;
    color:#fff;
    border:1px solid #fff;
    transform:none;
    box-shadow:none;
    width:100%;
    max-width:350px;  /* ←ここで止める */
    margin:0 auto;
  }



}


/*901～1024*/

@media (min-width:901px) and (max-width:1024px){

  .container.wide{
    max-width: 900px;
    padding: 0 20px;
  }

}

@media (max-width: 1024px) {

  .js-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

}



/* ===============================
   901〜1024（ナビ・ハンバーガー）
============================== */
@media (min-width: 901px) and (max-width: 1024px) {

  /* ===============================
     ハンバーガー
  ============================== */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    width: 26px;
    height: 18px;

    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  /* 線 */
  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #111;
    transition: 0.3s ease;
    transform-origin: center;
  }

  /* ✖ */
  .hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg);
  }

  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg);
  }

  /* ===============================
     SPナビ
  ============================== */
  .sp-nav {
    position: fixed;
    top: 60px; /* ← header高さに合わせる */
    left: 0;

    width: 100%;
    height: calc(100vh - 60px);

    background: #111;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    transform: translateX(100%);
    transition: transform 0.4s ease;

    z-index: 1000;
  }

  .sp-nav.is-active {
    transform: translateX(0);
  }

  .sp-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .sp-nav a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
  }

  /* ===============================
     Header
  ============================== */
  .header {
    width: 100%;
  }

  .header-inner {
    width: 100%;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-logo {
    font-size: 22px;
    white-space: nowrap;
  }

  /* PCナビとCTAは消す */
  .header-nav,
  .header-cta {
    display: none;
  }
}


/* ===============================
   FV（901〜1024）
============================== */
@media (min-width: 901px) and (max-width: 1024px) {

  .fv {
    height: auto;
    min-height: auto;
    display: block;
    background: rgba(245, 240, 230, 0.96);
  }

  /* ===============================
     画像（上）
  ============================== */
  .fv-bg {
    position: relative;
    width: 100%;
    height: 70vh;
  }

  .fv-bg img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center 20%;
  }

  /* ===============================
     テキスト（下）
  ============================== */
  .fv-inner {
  max-width: 840px;
  margin: 30px auto 16px;
  padding: 32px 20px 40px;
}
  .fv-copy {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: none;
  }

  /* ===============================
     テキスト
  ============================== */
  .fv-label {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .fv h1 {
    font-size: 50px;
    line-height: 1.4;
    margin-bottom: 24px;
  }

  .fv h1 span {
    font-size: 64px;
  }

  .fv h1 span:last-child {
    letter-spacing: 0.08em;
    color: #2e3f50;
  }

  .fv-text {
    font-size: 24px;
    margin-bottom: 28px;
    line-height: 1.7;
   
    margin-left: 0;

  }

  /* ===============================
     ボタン
  ============================== */
  .fv-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .fv .btn-primary,
  .fv .btn-secondary {
    width: 100%;
    padding: 16px;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
  }

  .fv .btn-secondary {
    background: #111;
    color: #fff;
    border: none;
  }

}


/* ===============================
   problem（901〜1024）
============================== */
@media (min-width: 901px) and (max-width: 1024px) {

  .problems-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    gap: 20px; 
    padding: 0 19px;
   }

   .problem-item:last-child {
    grid-column: span 2;
  }

  .problem-item {
    display: flex;
    flex-direction: column;
    padding: 40px 16px 20px; 
    
  }

  /* ここが本質 */
  .problem-item h3 {
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 29px;
    padding-left: 6px;
    margin-top: 40px;
  
   
  }

  .problem-item p {
    margin-top: 12px;
    padding-left: 6px;
    font-size: 22px;
    line-height: 1.7;
  }

  .problem-item::before {
    left: 22px; /* ← 24 → 16 に調整 */
    top: 8px;
    font-size: 38px;
  }
}


/* ===============================
   gallery（901〜1024）
============================== */
@media (min-width: 901px) and (max-width: 1024px) {

  .gallery-inner {
    max-width: 920px;
    margin: 0 auto;
    padding: 80px 19px;
    box-sizing: border-box;
  }

  .gallery-grid {
    display: flex;              /* ←gridやめる */
    flex-direction: column;     /* ←縦並び */
    gap: 28px;
  }


  .gallery-slider-wrap,
.gallery-text {
  width: 100%; /* ←これが本命 */
}
  /* ←ここが本命（順番固定） */
  .gallery-slider-wrap {
    order: 1;
  }

  .gallery-text {
    order: 2;
  }

  .gallery-slider {
    width: 100%;
    aspect-ratio: 5 / 3;
    position: relative;
    overflow: hidden;
  }

  .gallery-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .gallery-lead  {
    font-size: 26px;
    line-height: 1.8;
  }

}

/* 901〜1024：縦並びにする */
@media (min-width: 901px) and (max-width: 1024px) {

  .mini-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    max-width: 860px; /* ←中央に締める */
    margin: 0 auto;
    row-gap: 24px;
  }

  /* テキスト */
  .mini-cta-lead {
    margin-bottom: 10px;
    font-size: 24px;
  }

  .mini-cta-title {
    font-size: 46px;
    line-height: 1.6;
    margin-top: 16px;
    margin-bottom: 16px;
    transform: translateX(0.2em);
  }

  /* ボタン */
  .mini-cta-btn-wrap {
    width: 100%;
  }

  .mini-cta-btn {
   
    width: 100%;
    max-width: 360px;
    margin: 0 auto;

    background: #c9a96a;
    border-color: #c9a96a;
    color: #111;

    padding: 14px 18px;
    font-size: 28px;
  }

}


/* ===============================
   before-after（901〜1024）
============================== */
@media (min-width: 901px) and (max-width: 1024px) {

  #before-after-sp .container.wide {
    max-width: 920px;
    margin: 0 auto;

    padding: 0 19px; /* ←これが本命 */
    box-sizing: border-box;
  }

  .ba-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .before-after-text {
    font-size: 24px;
  }

}

/* 901〜1024：縦並び */
@media (min-width: 901px) and (max-width: 1024px) {

  .cta-band--02 .cta-band-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    max-width: 860px;
    margin: 0 auto;
    row-gap: 28px;
  }

  /* テキスト */
  .cta-band--02 .cta-band-copy {
    max-width: 100%;
  }

  .cta-band--02 .cta-band-lead {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .cta-band--02 h2 {
    font-size: 48px;
    line-height: 1.6;
  }

  /* ボタン */
  .cta-band--02 .btn {
    width: 100%;
    max-width: 460px;

    padding: 30px 20px;
    font-size: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    white-space: normal;
  }

  .cta-band--02 .btn-primary {
    background: #c9a96a;
    border-color: #c9a96a;
    color: #111;
    font-weight: 600;
  }

}

/* ===============================
   reason（901〜1024）
============================== */
@media (min-width: 901px) and (max-width: 1024px) {

  .reason .container.wide {
    max-width: 920px;
    margin: 0 auto;

    padding: 0 19px; /* ←本命 */
    box-sizing: border-box;
  }

  .reason-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  
  }

  .reason-content {
    padding: 0 0 4px 24px; /* ←少し整理 */
  }

  .reason-item:nth-child(even) .reason-content {
    padding: 24px 24px 4px 0;
  }

  .reason-content h3 {
    font-size: 26px;
  }

  .reason-content p{
    font-size: 22px;
    line-height: 1.7;
    margin-top: 4px;
  }

  .reason-image img{
    height: 300px;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {

  .safety .container {
    max-width: 920px;
    margin: 0 auto;

    padding: 0; /* ←まずこれ */
    box-sizing: border-box;
  }

  .safety-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ←ここだけ変更 */
    gap: 20px;
    padding: 0;
  }

  .safety-item:last-child {
    grid-column: span 2; /* ←これ追加 */
  }

  .safety-item {
    padding: 0;
  }

  .safety-item-body h3 {
    font-size: 26px;
    margin: 24px 4px 8px 14px;
  }


  .safety-item-body p {
    font-size: 22px;
    line-height: 1.7;
    margin: 0 8px 22px 14px;
}

.safety-item-image img {
  object-position: center 35%;
  height: 250px;
}

.safety-flex {
    display: flex;
    gap: 26px;
    align-items: center;
  }

  .safety-flex .safety-item-image {
    flex: 0 0 50%;
  }

  .safety-flex .safety-text {
    flex: 1;
  }

  .safety-flex .safety-item-image img {
    height: 280px;
    object-fit: cover;
    object-position: center 50%;
  }

  .safety-text h3 {
    margin: 0 0 10px;
    font-size: 26px;
  }

  .safety-text p {
    margin: 0 16px 0 0;
    font-size: 22px;
  }

}

@media (min-width: 901px) and (max-width: 1024px) {

  .comparison .container.wide {
    max-width: 920px;
    margin: 0 auto;

    padding: 0 19px; /* ←これ絶対 */
    box-sizing: border-box;
  }

  .comparison-table tbody th{
    font-size: 24px;
  }

  .comparison-table thead th{
    font-size: 24px;
  }

  .comparison-table thead th:nth-child(2){
    font-size: 28px;
  }

  .comparison-table td:nth-child(2){
    font-size: 28px;
  }

  .comparison-table th + th, .comparison-table td + td{
    font-size: 24px;
  }
}


@media (min-width: 901px) and (max-width: 1024px) {

  .staff .container.wide {
    max-width: 920px;
    margin: 0 auto;

    padding: 0 19px; /* ←これに変更 */
    box-sizing: border-box;
  }

  .staff-body h3 {
    margin-top: 12px;
    font-size: 28px;
  }

  .staff-body .staff-meta{
    font-size: 22px;
  }

  .staff-body p{
    font-size: 22px;
    line-height: 1.7;
    margin-top: 10px;
  }

}


@media (min-width: 901px) and (max-width: 1024px) {

  .service .container.wide {
    max-width: 920px;
    margin: 0 auto;

    padding: 0 19px; /* ←これに変更 */
    box-sizing: border-box;
  }

  .service-card h3{
    font-size: 26px;
  }

  .service-body p{
    font-size: 22px;
    line-height: 1.7;
    margin-bottom: 0;
  }
}



@media (min-width: 901px) and (max-width: 1024px) {

/* ===============================
   FLOW
================================ */

.flow {
  position: relative;
  padding: 120px 0;
  background: #e9e6df;
  overflow: hidden;
}

/* 画像 */
.flow::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url("../img/flow-bg-men-eyebrow.png") no-repeat;
  background-size: auto 70%;
  background-position: right calc(100% - 0px);

  z-index: 0;
}

/* なじませ（右上だけ） */
.flow::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    /* 右上フェード */
radial-gradient(
  at 108% -8%,
  rgba(233, 230, 223, 1) 1%,
  rgba(233, 230, 223, 1) 2%,
  rgba(233, 230, 223, 0.95) 30%,
  rgba(233, 230, 223, 0) 33%
),

    /* 左グラデ */
    linear-gradient(
      to right,
      rgba(233, 230, 223, 0.95) 0%,
      rgba(233, 230, 223, 0.85) 35%,
      rgba(233, 230, 223, 0.3) 60%,
      rgba(233, 230, 223, 0) 80%
    );

  z-index: 1;
}
  .flow-inner {
  max-width: 920px;
  margin: 0 auto;

  padding: 0 19px; /* ←これだけ追加 */
  box-sizing: border-box;
}

  .flow-step-content  {
    max-width: 380px;
  }

  .flow-step-content h3 {
    font-size: 31px;
  }

  .flow-step-content p{
    font-size: 21px;
  }

}


@media (min-width: 901px) and (max-width: 1024px) {

  .price .container.wide {
    max-width: 920px;
    margin: 0 auto;

    padding: 0 19px; /* ←これに変更 */
    box-sizing: border-box;
  }

  .price-note{
    font-size: 28px;
  }

  .price-features li {
    font-size: 26px;
  }

  .price-features {
    max-width: 560px;
  }

}


@media (min-width: 901px) and (max-width: 1024px) {

  .cta-band--03 .cta-band-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .cta-band--03 .cta-band-copy {
    max-width: none;
  }

  .cta-band--03 .btn-primary {
    background: #c9a96a;
    border-color: #c9a96a;
    color: #111;
    font-weight: 600;
    font-size: 28px;

    margin-top: 28px;
}

  .cta-band--03 cta-band-lead {
    font-size: 24px;
  }


  .cta-band--03 .container.narrow {
    max-width: 100%;   /* ←制限解除 */
    width: 100%;
  }

  .cta-band--02 .cta-band-copy h2{
    font-size: 44px;
    transform: translateX(0.2em);
  }

  .cta-band-lead {
    font-size: 24px;
    margin-bottom: 24px;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {

  .review .container {
    max-width: 920px;
    margin: 0 auto;

    padding: 0 19px; /* ←これ追加 */
    box-sizing: border-box;
  }

  .review-list {
    gap: 24px;
    padding: 0;
  }
  
  .review-item {
    padding: 30px 16px 26px;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .review-title {
    font-size: 28px;
    max-width: 220px;
    margin: 10px auto auto 4px;
  }

  .review-meta {
    margin-bottom: 0;
    margin-left: 6px;
  }

  .review-author {
    margin-top: auto;
    margin-left: 6px;
  }

  .review-text {
    font-size: 22px;
    max-width: 250px;
    margin: 26px auto 16px;
    min-height: 6.8em;
    line-height: 1.7;
  }

}

@media (min-width: 901px) and (max-width: 1024px) {

  .faq .container {
    max-width: 920px;
    margin: 0 auto;

    padding: 0 19px; /* ←これ追加 */
    box-sizing: border-box;
  }

  .faq-item[open] p {
    max-width: 760px;
  }

}


@media (min-width: 901px) and (max-width: 1024px) {

  .cta-final .container {
    max-width: 920px;
    margin: 0 auto;

    padding: 0 19px; /* ←これ追加 */
    box-sizing: border-box;
  }

  .cta-final .btn-primary {
    font-weight: 700;
  }

  .cta-final .btn-secondary {
    font-weight: 700;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
  }

  .cta-final h3 {
    line-height: 1.7;
    font-size: 40px;
  }


  
  .cta-final-points {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto 50px;
}

  .cta-final-box {
  padding: 60px 24px; /* ←ここだけ変更 */
  box-sizing: border-box; 
}

.cta-final::before,
.cta-final::after {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.cta-final-text{
  line-height: 1.8;
}
}