@charset "utf-8";

/* =========================================================
=                                                          =
=                  HERO セクション Start                   =
=                                                          =
========================================================== */
.osh-hero {
  /* ★ 画像が一定サイズ以上に大きくならない原因を解消 */
  max-width: none !important;
  width: 100%;

  margin-left: auto;
  margin-right: auto;

  padding-left: 30px;
  padding-right: 30px;
  box-sizing: border-box;
}

/* =========================================
   HERO 全体（横並び）
========================================= */
.hero {
  display: flex !important;
  flex-direction: row;
  align-items: center;

  /* ★ 左端に寄る原因を解消 */
  justify-content: flex-start;

  /* ★ gap:3vw は横幅計算を壊すため px に変更 */
  gap: 32px;

/*  padding: 4vw 0;*/
  padding-top: 6vw;
  padding-bottom: 0;
  align-items: stretch !important;
  align-items: flex-start !important;

}

/* =========================================
   左側テキスト
========================================= */
.hero-text {
  /* ★ 固定幅ではなく “伸縮可能な 40%” に変更 */
  flex: 1 1 38%;
/*  max-width: 480px;*/
}

.hero-text h1 {
  font-family: var(--accent-font);
  font-weight: 500;
  font-size: max(18px, 4vw);
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: #111;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.45),
    0 0 8px rgba(255, 255, 255, 0.15);

  opacity: 0;
  transform: translateY(20px);
  animation: heroTitle 1.4s ease forwards 0.4s;
}

.hero-text p {
  font-size: clamp(14px, 1.2vw, 18px);
  margin-bottom: 0rem;

  opacity: 0;
  transform: translateY(20px);
  animation: heroSub 1.6s ease forwards 0.9s;
}

/* =========================================
   右側スライドショー（完全版）
========================================= */
.hero-image {
  /* ★ 固定 60% → 伸縮可能な 60% に変更 */
  flex: 1 1 62%;

  position: relative;
  overflow: hidden;
  border-radius: 10px;

  /* ★ 高さ維持（あなたの希望） */
  aspect-ratio: 16 / 9;

  /* ★ 最大サイズ制限を完全解除 */
  max-height: none !important;
}

/* スライド初期状態（フェード＋ズーム前） */
.hero-image .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 1.0s ease,
    transform 1.6s cubic-bezier(.22,.61,.36,1);
}

/* アクティブ時（フェードイン＋ズーム） */
.hero-image .slide.active {
  opacity: 1;
  transform: scale(1);
}

/* 映画風：背景ズーム（遅延開始） */
.hero-image .slide.active img {
  animation: heroZoom 8s ease-out forwards;
  animation-delay: 0.25s;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* =========================================
   白フェード用オーバーレイ（淡く調整）
========================================= */
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  z-index: 5;
}

.hero-image.fade-effect::after {
  opacity: 0.32;
}

.hero-image.fade-effect.fade-out::after {
  opacity: 0;
}

/* =========================================
   光の粒子オーバーレイ（視認性強化版）
========================================= */
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 7;
  background-image:
    radial-gradient(rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 80%);
  background-size: 220px 220px, 180px 180px, 260px 260px;
  background-position: 25% 35%, 65% 55%, 45% 75%;
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: particleFloat 14s infinite linear;
}

.hero-image.particle-effect::before {
  opacity: 0.55;
}

@keyframes particleFloat {
  0%   { background-position: 25% 35%, 65% 55%, 45% 75%; }
  50%  { background-position: 28% 38%, 63% 53%, 47% 73%; }
  100% { background-position: 25% 35%, 65% 55%, 45% 75%; }
}

/* =========================================
   レスポンシブ（タブレット）
========================================= */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 8vw 0;
    gap: 40px;
  }

  .hero-text,
  .hero-image {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero-text {
    text-align: center;
    padding: 0 32px;
  }

  .hero-image {
    aspect-ratio: 16 / 10;

    /* ★ ここに残っていた max-height を完全解除 */
    max-height: none !important;
  }
}

/* =========================================
   レスポンシブ（スマホ）
========================================= */
@media (max-width: 600px) {

  .hero {
    padding: 8vw 0;
    gap: 32px;
  }

  .hero-text {
    padding: 0 20px;
    text-align: center;

    /* ★ スマホ中央寄せのために追加 */
    max-width: 100% !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-image {
    width: 100%;
    position: relative;
    aspect-ratio: 4 / 3;
    height: auto !important;
    max-height: none !important;
    overflow: hidden;
  }

  .hero-image .slide {
    opacity: 0;
    transform: scale(1.04);
    transition:
      opacity 1.0s ease,
      transform 1.8s cubic-bezier(.22,.61,.36,1);
  }

  .hero-image .slide.active {
    opacity: 1;
    transform: scale(1);
  }

  .hero-image .slide.active img {
    animation: heroZoom 10s ease-out forwards;
    animation-delay: 0.3s;
  }

  .hero-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
  }
}

/* =========================================
   映画風アニメーション Keyframes
========================================= */
@keyframes heroZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

@keyframes heroTitle {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroSub {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =========================================
   スライドキャプション（ガラスパネル風・視認性強化）
========================================= */
.hero-image .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
}

.hero-image .slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.slide-caption {
  position: absolute;
  top: 6%;
  left: 6%;
  z-index: 9999;
  display: inline-block;
  max-width: 70%;
  white-space: normal;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-weight: 600;
  font-size: clamp(13px, 1.7vw, 22px);
  letter-spacing: 0.05em;
  line-height: 1.45;
  color: #ffffff;
  padding: 14px 20px;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(8px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  box-shadow:
    0 10px 28px rgba(0,0,0,0.45),
    inset 0 0 22px rgba(255,255,255,0.10);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: all 1s cubic-bezier(.25,.1,.25,1);
  text-shadow:
    0 3px 8px rgba(0,0,0,0.65),
    0 0 22px rgba(255,255,255,0.25);
}

.slide-caption::after {
  content: none;
}

.slide.active .slide-caption {
  opacity: 1 !important;
  transform: translateY(0) scale(1);
}

/* =========================================
   HERO テキスト（ふわっと表示）
========================================= */
section.osh-hero .hero-text h3 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

section.osh-hero .hero-text.show h3 {
  opacity: 1 !important;
  transform: translateY(0) !important;
  will-change: opacity, transform;
}

/* =========================================
   HERO セクション余白ゼロ
========================================= */
section.osh-hero {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* =========================================================
=                  HERO セクション End                     =
========================================================== */

/* =========================================================
=                  BENEFIT セクション Start                =
========================================================== */
:root {
  --accent: #4A90E2;
  --before: #d9534f;
}

/* Wrapper */
.benefit-rich-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

/* Benefit Card（静かなガラス UI） */
.benefit-rich {
  flex: 1;
  border-radius: 16px;
  padding: 26px 20px;

  background: rgba(255,255,255,0.48);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(0,0,0,0.08);

  box-shadow:
    inset 0 0 12px rgba(255,255,255,0.35),
    0 4px 12px rgba(0,0,0,0.05),
    0 18px 36px rgba(0,0,0,0.04);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.benefit-rich:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 12px rgba(255,255,255,0.35),
    0 12px 32px rgba(0,0,0,0.08),
    0 26px 48px rgba(0,0,0,0.06);
}

/* 見出し */
.benefit-rich h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 600;
  color: #333;
  justify-content: center;
  margin-bottom: 22px;
}

.benefit-rich.before h3 .label,
.benefit-rich.before h3 .state-bad {
  color: var(--before);
}

.benefit-rich.after h3 .label,
.benefit-rich.after h3 .state-good {
  color: var(--accent);
}

/* アイコン背景（背景色なし・ガラス質感のみ） */
.benefit-rich .icon {
  width: 56px; /* mod アイコン幅 */
  height: 56px; /* mod アイコン高さ */
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent !important; /* ★ 背景色を完全に消す */
  backdrop-filter: blur(10px) saturate(180%);
  box-shadow:
    inset 0 0 10px rgba(255,255,255,0.45),
    0 0 10px rgba(0,0,0,0.04);
}

/* BENEFIT 専用 Material Symbols */
.benefit-rich .material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important; /* 他フォントを強制排除 */
  font-size: 40px !important;                         /* 必ず効く */
  font-variation-settings:
    "OPSZ" 40,
    "wght" 300;
  display: inline-block;                               /* inline-flex の問題回避 */
  line-height: 1;
  color: #666;
}

/* Before（導入前）アイコン線色 */
.benefit-rich.before .material-symbols-outlined {
  color: var(--before) !important;
}

/* After（導入後）アイコン線色 */
.benefit-rich.after .material-symbols-outlined {
  color: var(--accent) !important;
}

/* リスト */
.rich-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0;
}

.rich-list .text {
  font-size: 15.5px;
  font-weight: 500;
  color: #333;
  line-height: 1.45;
}

/* Before（導入前） strong を赤＋少し大きく */
.benefit-rich.before .text strong {
  color: var(--before) !important;
  font-size: 20px; /* ★ 15.5px → 17px：上品に強調 */
  font-weight: 600;
}

/* After（導入後） strong を青＋少し大きく */
.benefit-rich.after .text strong {
  color: var(--accent) !important;
  font-size: 20px; /* ★ 統一感のある強調 */
  font-weight: 600;
}

/* スマホ最適化 */
@media (max-width: 768px) {

  .benefit-rich-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .benefit-rich {
    padding: 20px 1px;
    width: 100%;
    box-sizing: border-box;
  }

  .benefit-rich h3 {
    font-size: 20px;
  }

  .material-symbols-outlined {
    font-size: 32px;
  }

  .rich-list .text {
    white-space: nowrap;                 /* ★ 折り返し禁止（維持） */
    font-size: clamp(10px, 3vw, 13px);   /* ★ もっと小さく、スマホ最適化 */
    line-height: 1.35;                   /* ★ 行間を少し詰めて美しく */
    letter-spacing: -0.15px;             /* ★ 小さい文字でも読みやすい */
  }

  .rich-list li {
    gap: 10px;
  }

  /* スマホ用アイコンサイズ（少し小さく） */
  .benefit-rich .material-symbols-outlined {
    font-size: 32px !important;  /* ★ 40px → 32px */
    font-variation-settings:
      "OPSZ" 32,
      "wght" 300;
  }

  /* アイコン背景のサイズも少し小さく */
  .benefit-rich .icon {
    width: 46px;   /* ★ 56px → 46px */
    height: 46px;  /* ★ 56px → 46px */
  }

  /* strong のサイズをスマホでも固定（PC と同じ） */
  .benefit-rich.before .text strong,
  .benefit-rich.after .text strong {
    font-weight: 600;
    white-space: nowrap;
    font-size: clamp(10px, 3vw, 13px);   /* ★ もっと小さく、スマホ最適化 */
    line-height: 1.35;                   /* ★ 行間を少し詰めて美しく */
  }

}

/* =========================================================
=               BENEFIT セクション End                     =
========================================================== */

/* =========================================================
=                                                          =
=                CSSE セクション Start                     =
=                                                          =
========================================================== */
/* ===== CASE 基本（スマホ＝1列） ===== */
.case-list {
  display: grid;
  grid-template-columns: 1fr; /* ← スマホは1列 */
  gap: 28px;
}

/* ===== カードデザイン（全デバイス） ===== */
.case-item {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 20px;

  border: 1px solid rgba(0, 0, 0, 0.06); /* 白背景でも境界が見える */
  box-shadow:
    0 4px 12px rgba(0,0,0,0.06),
    0 18px 36px rgba(0,0,0,0.05);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* ===== 全デバイスでふわっと浮く ===== */
.case-item:hover {
  transform: translateY(-6px);
  box-shadow:
    0 10px 20px rgba(0,0,0,0.10),
    0 26px 48px rgba(0,0,0,0.08);
}

/* ===== PC（1024px〜）は3列固定 ===== */
@media (min-width: 1024px) {
  .case-list {
    grid-template-columns: repeat(3, 1fr); /* ← PCは3列固定 */
    gap: 32px;
  }
}

/* =========================================================
=                 CASE セクション End                      =
========================================================== */

/* =========================================================
=                                                          =
=                COST セクション Start                     =
=                                                          =
========================================================== */
/*自動おしぼり機：3.6円／本*/
.note-item.strong {
  color: #1f7f5f; /* ← 好きな色に変更 */
}
.note-item.strong i {
  color: #1f7f5f;
}

/* ▼ 面グラフ（SVG） */
.area-chart {
  width: 100%;
  height: 320px;        /* ← 高さ変更が確実に反映される */
  flex: 1;              /* ← 親に高さを伝える（最重要） */
  overflow: visible;
  margin-top: 40px;
}

/* ▼ 面（塗りつぶし） */
.area {
  fill: rgba(111, 159, 136, 0.25);
  opacity: 0;
  animation: fadeArea 1.2s ease 0.6s forwards;
}

@keyframes fadeArea {
  to { opacity: 1; }
}

/* ▼ 線（アニメーション描画） */
.line {
  fill: none;
  stroke: #6f9f88;
  stroke-width: 3;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 1.6s ease forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* ▼ ポイント（丸） */
.point {
  fill: #6f9f88;
  opacity: 0;
  animation: fadePoint 0.6s ease forwards;
}

/* =========================================
   ▼ 吹き出し（point-label）
========================================= */

.point-label {
  font-size: 0.75rem;
  fill: #222;
  font-weight: 700;
  paint-order: stroke;
  stroke: rgba(255,255,255,0.9);
  stroke-width: 4px;
  opacity: 0;
  animation: fadePoint 0.6s ease forwards;
}

svg text {
  paint-order: stroke fill;
}

@keyframes fadePoint {
  to { opacity: 1; }
}

/* =========================================
   セクション背景
========================================= */

#cost-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 2rem;
  background: #F1F4F1;
}

#cost-section::before,
#cost-section::after {
  content: none !important;
  display: none !important;
}

/* =========================================
   KPI ボックス
========================================= */

.saving-box {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0;
  box-shadow: none !important;
  backdrop-filter: none !important;
  position: relative;
  z-index: 1;
}

.saving-note {
  font-size: 1.3rem;
  color: #666;
}

.saving-note-com {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 36px;
}

/* saving-kpi（PC と同じ横並びをスマホでも維持） */
.saving-kpi {
  display: flex;
  flex-direction: row;      /* ← 横並びを強制 */
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
}

/* saving-desc（初期状態） */
.saving-desc {
  font-size: 1.2rem;
  color: #444;
  line-height: 1.7;
  padding: 0 16px;
  box-sizing: border-box;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(229,229,229,0.6);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);

  /* ▼ 高級感フェードの初期状態（透明） */
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

/* ▼ 表示時（inview） */
.saving-desc.inview {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* =========================================
   saving-desc（glass-highlight）スマホ最適化
   折り返しなしで中央に収める完全版
========================================= */

@media (max-width: 600px) {

  .saving-desc.glass-highlight {
    max-width: 92%;                 /* ★ 画面幅にほぼフィット */
    margin: 0 auto;                 /* ★ 中央寄せ */
    white-space: nowrap;            /* ★ 折り返し禁止 */
    text-align: center;

    /* ★ 強制縮小（絶対に画面内に収まる） */
    font-size: clamp(0.6rem, 3.2vw, 0.95rem);

    padding: 12px 16px;             /* ★ スマホ用に最適化 */
  }
}

/* =========================================
   KPI アイテム
========================================= */

.kpi-item {
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 20px 0px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08) !important;
  transition: transform .25s ease, box-shadow .25s ease;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;

  flex: 1 1 130px;
  max-width: 300px; /* ← カード幅が広がりすぎるのを防ぐ */
  min-width: 130px; /* ← 最小幅も決めると安定 */
}

.kpi-icon {
  font-size: 2.3rem;
  color: #6f9f88;
}

.kpi-label {
  font-size: 1.1rem;
  color: #777;
  font-weight: 500;
}

.kpi-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1f7f5f;
}

.kpi-value.animate {
  animation: pop 0.25s ease-out;
}

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* =========================================
   コンテナ
========================================= */

#cost-section .container {
  max-width: 100%;     /* ← 固定幅解除（最重要） */
  width: 100%;
  margin: 0 auto;
  padding: 0 35px;
}

/* =========================================
   左右レイアウト（flex1）
========================================= */

#cost-section .flex1 {
  display: flex;
  align-items: stretch;     /* ← 左右の高さを揃える */
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.saving-box,
.charts-wrapper {
  flex: 1;
  min-width: 0;
}

/* charts-wrapper が SVG の高さを拾うようにする */
.charts-wrapper {
  position: relative;
  width: 100%;
  display: flex;            /* ← 最重要 */
  align-items: stretch;
}

/* =========================================
   グラフ中央メッセージ（PC・スマホ共通）
========================================= */

.chart-center-message {
  position: absolute;
  top: 30%;                 /* ★ 50% → 42% に変更（自然に上へ） */
  left: 50%;                /* ★ 中央揃え維持 */
  transform: translate(-50%, -50%) scale(0.85);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1f7f5f;
  gap: 0.5rem;
  -webkit-text-stroke: 4px rgba(255,255,255,0.9);
  paint-order: stroke fill;
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-center-message::after {
  content: "";
  display: block;
  width: 60%;
  height: 2px;
  background: #1f7f5f;
  margin: 8px auto 0;
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 1s ease, transform 1s ease;
}

.chart-center-message.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -56%) scale(1); /* ★ 浮き上がり演出は維持 */
}

.chart-center-message.show::after {
  opacity: 1;
  transform: scaleX(1);
}
/* =========================================
   ▼ スマホ時の微調整（さらに上へ & 少し小さく）
========================================= */
@media (max-width: 600px) {
  .chart-center-message {
    top: 32%;               /* ★ スマホはさらに上へ */
    font-size: 1.4rem;      /* ★ 少し小さくして視認性UP */
  }
}


/* =========================================
   タブレット（900px以下）
========================================= */

@media (max-width: 900px) {
  #cost-section .container {
    padding: 0 36px;
  }
  .saving-kpi { gap: 32px; }
  .kpi-icon { font-size: 2rem; }
  .area-chart { height: 260px; }
}

/* =========================================
   スマホ（600px以下）
========================================= */
@media (max-width: 600px) {

  #cost-section .container {
    padding: 0 20px;
  }

  /* ▼ flex1 はスマホでは縦でOK（saving-box → グラフの順） */
  #cost-section .flex1 {
    flex-direction: column;
    align-items: stretch;
  }

  /* ▼ saving-kpi をスマホでも横並びにする（最重要） */
  .saving-kpi {
    display: flex;
    flex-direction: row !important;   /* ★ 横並びを強制 */
    flex-wrap: nowrap;                /* ★ 折り返し禁止 → 横並び維持 */
    justify-content: space-between;
    align-items: center;
    gap: 12px;                        /* ★ スマホ用に少し狭く */
  }

  /* ▼ KPI アイテムをスマホでも横並びで収める */
  .kpi-item {
    flex: 1;
    min-width: 90px;                  /* ★ 120px → 90px に縮める（横並びに収まる） */
    margin: 0;
  }

  /* ▼ フォントをスマホ用に最適化（横並びに収める） */
  .kpi-icon { font-size: 1.4rem; }    /* ★ 1.8rem → 1.4rem */
  .kpi-label { font-size: 0.9rem; }   /* ★ 1.2rem → 0.9rem */
  .kpi-value { font-size: 1.4rem; }   /* ★ 1.8rem → 1.4rem */

  /* ▼ グラフの高さはそのまま最適化 */
  .area-chart { height: 220px; }

  .point-label {
    text-anchor: middle;
    dominant-baseline: middle;
    transform: none;
    font-size: 0.75rem;
    stroke-width: 3px;
  }

}


/* 布おしぼりからの切り替えで・・・ */
.glass-highlight {
  display: block;               /* ★ 中央寄せの決定打 */
  width: fit-content;           /* ★ 中身の幅だけにする */
  white-space: nowrap;
  margin: 40px auto 0;          /* ★ 他に影響せず中央にする */

  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);

  padding: 20px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.35);

  font-size: 1.25rem;
  font-weight: 600;
  color: #1f7f5f;
  gap: 12px;
}

.glass-highlight i {
  font-size: 1.4rem;
  color: #1f7f5f;
  background: rgba(255,255,255,0.55);
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.35);
}

@media (max-width: 600px) {
  .glass-highlight {
    font-size: 1rem;        /* ← スマホでは少し小さくして収める */
    padding: 16px 20px;     /* ← 余白もスマホ向けに調整 */
    max-width: 90%;         /* ← 横幅突破を防ぐ（安全策） */
  }

  .glass-highlight i {
    font-size: 1.2rem;      /* ← アイコンも少し小さく */
    padding: 5px 6px;
  }
}

/* 小さくしたい画像（osh-roll.jpg、osh-kiss.jpg） */
.image.inview.small-img img {
  width: 50%; /* ← ここでサイズ調整。70〜85%で微調整可能 */
  height: auto;
  margin: 0 auto;
  display: block;
}
/* =========================================================
=                  COST セクション End                     =
========================================================== */

/* =========================================================
=                                                          =
=                  FAQ セクション Start                    =
=                                                          =
========================================================== */
.faq-section {
  padding: 40px 0;
  background: #fff;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

/* -----------------------------------------
   カテゴリ（アコーディオン）
----------------------------------------- */
.faq-category {
  margin-bottom: 36px;
}

.faq-cat-btn {
  width: 100%;
  background: rgba(250,250,250,0.85);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  position: relative;
  color: #222;
  transition: all 0.35s ease;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  letter-spacing: 0.5px;
}

.faq-cat-btn:hover {
  background: rgba(245,245,245,1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.faq-cat-arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.35s ease;
}

.faq-cat-btn.open .faq-cat-arrow {
  transform: translateY(-50%) rotate(-135deg);
}

/* -----------------------------------------
   アコーディオン開閉
----------------------------------------- */
.faq-cat-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  background: rgba(255,255,255,0.01);
  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}

.faq-cat-content.open {
  max-height: 3000px;
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------
   FAQカード（ガラスパネル × 横並び）
----------------------------------------- */
/* FAQカード（ガラスパネル × 横並び） */
.faq-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  position: relative;

  /* ★ 境界が見えるように透明度を少し濃く */
  background: rgba(255,255,255,0.55);

  /* ★ 枠線を少し濃くして白背景でも視認性UP */
  border: 1px solid rgba(0,0,0,0.10);

  border-radius: 14px;
  padding: 24px 28px;
  margin: 20px 0;

  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);

  /* ★ 内側シャドウで境界をさらに自然に強調 */
  box-shadow:
    inset 0 0 10px rgba(255,255,255,0.35),
    0 4px 12px rgba(0,0,0,0.06),
    0 18px 36px rgba(0,0,0,0.05);

  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

/* ホバー時（ふわっと浮く） */
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 10px rgba(255,255,255,0.35),
    0 12px 32px rgba(0,0,0,0.10),
    0 26px 48px rgba(0,0,0,0.08);
}

/* ガラスの光沢 */
.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45%;
  border-radius: inherit;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.55),
    rgba(255,255,255,0)
  );
  pointer-events: none;
}

.faq-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 14px rgba(255,255,255,0.25);
  pointer-events: none;
}

/* -----------------------------------------
   アイコン（Material Symbols）
----------------------------------------- */
.faq-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 6px; /* ← ★ アイコンの上マージンを追加（調整ポイント） */
}

.material-symbols-outlined {
  font-size: 26px;
  font-weight: 300;
  line-height: 0; /* ← 縦ズレ完全除去 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
}

/* アイコン個別補正 */
.material-symbols-outlined.toilet-paper-fix { transform: scale(0.82); }
.material-symbols-outlined.layers-fix        { transform: scale(0.90); }
.material-symbols-outlined.straighten-fix    { transform: scale(0.88); }
.material-symbols-outlined.counter-fix       { transform: scale(1.08); }

/* -----------------------------------------
   テキスト（h3 と p を縦並びに固定）
----------------------------------------- */
.faq-text {
  display: flex;
  flex-direction: column; /* ← 最重要：h3 と p を縦並びにする */
  flex: 1;
}

.faq-q {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #222;
  letter-spacing: 0.3px;
}

.faq-a {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  letter-spacing: 0.2px;
  margin: 0;
}

.faq-cat-btn .faq-cat-icon {
  display: inline-flex;      /* ← アイコンを独立したボックスにする */
  align-items: center;
  font-size: 22px;
  margin-right: 8px;

  margin-top: -6px;           /* ← ★ アイコンだけが下がる */
  vertical-align: middle;    /* ← テキストの位置を固定する（重要） */
}

/* -----------------------------------------
   スマホ最適化
----------------------------------------- */
@media (max-width: 768px) {

  .faq-item {
    padding: 20px 20px;
    gap: 14px;
  }

  .faq-icon {
    width: 26px;
    height: 26px;
  }

  .material-symbols-outlined {
    font-size: 22px;
  }

  .faq-q {
    font-size: 17px;
  }

  .faq-a {
    font-size: 14px;
  }

  .faq-cat-btn {
    font-size: 17px;
    padding: 16px 18px;
  }
}

/* =========================================================
=                  FAQ セクション End                      =
========================================================== */
