@charset "UTF-8";

/* ==========================================================================
   STORY（事例紹介）共通・一覧・詳細 スタイルシート
   ========================================================================== */

/* ===================================================
   1. 一覧ページ（story/index.html）
=================================================== */

/* ---------------------------------------------------
   1-1. 絞り込みフィルタータブ
--------------------------------------------------- */
.story-filter-container {
  margin-bottom: 44px;
}

.story-filter-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.story-filter-list .filter-btn {
  background-color: #ffffff;
  border: 1px solid rgba(195, 154, 88, 0.4);
  color: #555555;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 9px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.story-filter-list .filter-btn:hover {
  border-color: var(--c-gold);
  color: #111111;
  background-color: rgba(195, 154, 88, 0.08);
}

.story-filter-list .filter-btn.active {
  background-color: var(--c-gold);
  border-color: var(--c-gold);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(195, 154, 88, 0.28);
}

/* ---------------------------------------------------
   1-2. ストーリー・ストリップ（大判マガジン型パネル）
--------------------------------------------------- */
.story-stream {
  display: flex;
  flex-direction: column;
  gap: 44px;
  position: relative;
}

.story-strip {
  background-color: #ffffff;
  border: 1px solid #eae3d9;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(45, 35, 25, 0.04);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.story-strip.is-hidden {
  display: none !important;
}

/* 上品でゆったりとしたフェードイン（1.15秒） */
.story-strip.is-fade-in {
  animation: storyFadeIn 1.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.story-strip:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(45, 35, 25, 0.08);
}

.story-strip__inner {
  display: flex;
  align-items: stretch;
}

/* 一覧：左側ビジュアル */
.story-strip__visual {
  width: 33%;
  min-width: 300px;
  background-color: #1a1b1b;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.visual-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.badge-number {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--c-gold);
  font-weight: 600;
}

.badge-profile {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 11.5px;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.visual-img-container {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(195, 154, 88, 0.3);
  background-color: #0b0b0b;
}

.visual-img-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.visual-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-strip:hover .visual-img,
.visual-img-link:hover .visual-img {
  transform: scale(1.04);
}

/* 一覧：右側コンテンツ */
.story-strip__body {
  flex: 1;
  padding: 38px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-meta-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.body-headline {
  font-size: clamp(1.2rem, 1.45vw, 1.45rem);
  line-height: 1.6;
  color: #151515;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.headline-link {
  color: #151515;
  text-decoration: none;
  transition: color 0.25s ease;
  display: inline;
}

.headline-link:hover {
  color: var(--c-gold);
}

.body-lead {
  font-size: 13px;
  line-height: 1.85;
  color: #666666;
  margin-bottom: 24px;
}

/* ---------------------------------------------------
   1-3. 成果メトリクス（一覧用グリッド）
--------------------------------------------------- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: linear-gradient(135deg, #fbf9f6 0%, #f5efe6 100%);
  border: 1px solid #ebd9c2;
  border-radius: 8px;
  padding: 22px 16px 20px;
  margin-bottom: 28px;
}

.metric-item {
  text-align: center;
  padding: 0 8px;
  border-right: 1px solid #ebd9c2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-item:last-child {
  border-right: none;
}

.metric-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #776e65;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.metric-diff-wrap {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.metric-diff-val {
  font-size: clamp(1.8rem, 2.1vw, 2.25rem);
  font-weight: 700;
  color: #151515;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.metric-item.highlight .metric-diff-val {
  color: #c44f2b;
}

.metric-diff-unit {
  font-size: 12px;
  color: #555555;
  font-weight: 700;
}

.metric-raw {
  display: block;
  font-size: 11px;
  color: #8c8278;
  letter-spacing: 0.02em;
  margin-top: 4px;
  white-space: nowrap;
}

/* ---------------------------------------------------
   1-4. 一覧のアクションボタン
--------------------------------------------------- */
.story-strip__action {
  display: flex;
  justify-content: flex-end;
}

.btn-story-detail {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 28px;
  border: 1px solid var(--c-gold);
  border-radius: 50px;
  background-color: #ffffff;
  color: #151515;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 14px rgba(195, 154, 88, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-arrow-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--c-gold);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, background-color 0.35s ease;
}

.btn-story-detail:hover {
  background-color: var(--c-gold);
  color: #ffffff;
  border-color: var(--c-gold);
  box-shadow: 0 6px 20px rgba(195, 154, 88, 0.3);
  transform: translateY(-2px);
}

.btn-story-detail:hover .btn-arrow-circle {
  transform: translateX(3px);
  background-color: #ffffff;
  color: var(--c-gold);
}


/* ===================================================
   2. 個別詳細ページ（story/case/xxx.html）
=================================================== */

/* ---------------------------------------------------
   2-1. パンくずリスト
--------------------------------------------------- */
.story-breadcrumb {
  margin-bottom: 24px;
}

.story-breadcrumb ol {
  gap: 8px;
}

.story-breadcrumb li {
  font-size: 11.5px;
  color: #777777;
  letter-spacing: 0.04em;
}

.story-breadcrumb a {
  color: #555555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.story-breadcrumb a:hover {
  color: var(--c-gold);
}

.story-breadcrumb .divider {
  margin: 0 4px;
  color: #b5aba1;
}

.story-breadcrumb .current {
  color: #111111;
  font-weight: 600;
}

/* ---------------------------------------------------
   2-2. 詳細カード本体 ＆ ヘッダー
--------------------------------------------------- */
.story-detail-card {
  background-color: #ffffff;
  border: 1px solid #eae3d9;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(45, 35, 25, 0.04);
  padding: 56px 60px 48px;
}

.story-detail-header {
  text-align: center;
  margin-bottom: 40px;
}

.story-detail-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-case-badge {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--c-gold);
  font-weight: 700;
  border: 1px solid var(--c-gold);
  padding: 4px 14px;
  border-radius: 20px;
}

.detail-profile-badge {
  background-color: #f4ede4;
  color: #5a4b3d;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
}

.story-detail-title {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.6;
  color: #151515;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.story-detail-lead {
  max-width: 760px;
  margin: 0 auto;
  font-size: 13.5px;
  line-height: 2.1;
  color: #666666;
}

/* ---------------------------------------------------
   2-3. 詳細ビジュアルエリア（中央配置・サイズ最適化）
--------------------------------------------------- */
.story-detail-visual {
  margin-bottom: 56px;
  text-align: center;
  padding: 0 16px;
}

.detail-img-wrap {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8dfd4;
  background-color: #111111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.detail-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------------------------------------------------
   2-4. 詳細セクション共通
--------------------------------------------------- */
.story-detail-section {
  margin-bottom: 56px;
}

.detail-section-title-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.section-sub-en {
  display: block;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--c-gold);
  margin-bottom: 6px;
}

.detail-section-title {
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  color: #151515;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0;
}

/* ---------------------------------------------------
   2-5. 測定結果（詳細用4連グリッド）
--------------------------------------------------- */
.detail-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.detail-metric-card {
  background: linear-gradient(135deg, #fbf9f6 0%, #f6f0e7 100%);
  border: 1px solid #ebd9c2;
  border-radius: 8px;
  padding: 24px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-metric-card.highlight {
  border-color: #df9c4d;
  background: linear-gradient(135deg, #fffaf4 0%, #faeee0 100%);
  box-shadow: 0 4px 16px rgba(223, 156, 77, 0.12);
}

.detail-metric-card.highlight .num {
  color: #c44f2b;
}

.metric-head {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #70675f;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.metric-main-diff {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin-bottom: 6px;
}

.metric-main-diff .num {
  font-size: clamp(1.9rem, 2.3vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
  color: #151515;
}

.metric-main-diff .unit {
  font-size: 12px;
  font-weight: 700;
  color: #555555;
}

.metric-transition {
  font-size: 11px;
  color: #8c8175;
  letter-spacing: 0.02em;
}

.metric-transition .arrow {
  margin: 0 4px;
}

/* ---------------------------------------------------
   2-6. 取り組みポイントリスト
--------------------------------------------------- */
.approach-detail-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.approach-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background-color: #faf8f5;
  border: 1px solid #ebd9c2;
  border-radius: 8px;
  padding: 24px 28px;
}

.approach-num {
  font-size: 1.8rem;
  color: var(--c-gold);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.approach-content {
  flex: 1;
}

.approach-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #222222;
  margin-bottom: 8px;
  line-height: 1.5;
}

.approach-text {
  font-size: 13px;
  line-height: 1.85;
  color: #666666;
  margin-bottom: 0;
}

/* ---------------------------------------------------
   2-7. 使用サポートアイテム
--------------------------------------------------- */
.detail-items-card {
  background-color: #ffffff;
  border: 1px solid #ebd9c2;
  border-left: 4px solid var(--c-gold);
  border-radius: 6px;
  padding: 24px 28px;
}

.items-badge {
  font-size: 14px;
  font-weight: 600;
  color: #151515;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.items-desc {
  font-size: 13px;
  line-height: 1.85;
  color: #555555;
  margin-bottom: 18px;
}

.item-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.item-tag {
  background-color: #f7f3ed;
  color: #4b3e34;
  border: 1px solid #e0d5c8;
  font-size: 11.5px;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* ---------------------------------------------------
   2-8. セラピスト講評ボックス（人物アイコン対応）
--------------------------------------------------- */
.therapist-comment-box {
  background: linear-gradient(135deg, #fbf7f1 0%, #f4ece0 100%);
  border: 1px solid #ebd9c2;
  border-radius: 10px;
  padding: 32px 36px;
  margin-bottom: 48px;
}

.therapist-comment-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.therapist-person-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--c-gold);
  background-color: rgba(195, 154, 88, 0.12);
  color: var(--c-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.therapist-person-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.therapist-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222222;
  margin-bottom: 0;
  letter-spacing: 0.05em;
}

.therapist-text {
  font-size: 13px;
  line-height: 1.95;
  color: #555555;
  margin-bottom: 0;
  padding-left: 54px;
}

/* ---------------------------------------------------
   2-9. 前後ナビゲーション
--------------------------------------------------- */
.story-post-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e8dfd4;
  padding-top: 36px;
}

.nav-btn-col {
  flex: 1;
}

.nav-btn-col.center {
  text-align: center;
  flex: 0 0 auto;
}

.nav-btn-col.next {
  text-align: right;
}

.nav-story-link {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.nav-story-link:hover {
  opacity: 0.75;
}

.nav-story-link .nav-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--c-gold);
  font-weight: 700;
  margin-bottom: 2px;
}

.nav-story-link .nav-case-title {
  font-size: 12px;
  color: #333333;
  font-weight: 600;
}

.btn-detail-back-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid #c8beaf;
  border-radius: 30px;
  font-size: 12px;
  color: #444444;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-detail-back-list:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
  background-color: #faf7f2;
}


/* ===================================================
   3. ページ下部 CTA バナー（共通）
=================================================== */
.story-cta-banner {
  background: linear-gradient(135deg, #1b1c1c 0%, #0d0e0e 100%);
  border: 1px solid rgba(195, 154, 88, 0.5);
  border-radius: 12px;
  padding: 50px 30px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cta-sub {
  display: block;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--c-gold);
  margin-bottom: 8px;
}

.cta-title {
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 13px;
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 28px;
}

.btn-cta-gold {
  display: inline-block;
  background-color: var(--c-orange);
  color: #111111;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  padding: 16px 40px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(223, 156, 77, 0.3);
  transition: all 0.3s ease;
}

.btn-cta-gold:hover {
  background-color: #eeb063;
  transform: translateY(-2px);
  color: #111111;
  box-shadow: 0 6px 20px rgba(223, 156, 77, 0.45);
}


/* ===================================================
   4. レスポンシブ対応（スマホ・タブレット：991.98px以下）
=================================================== */
@media (max-width: 991.98px) {
  /* --- 一覧ページのレスポンシブ --- */
  .story-strip__inner {
    flex-direction: column;
  }

  .story-strip__visual {
    width: 100%;
    min-width: unset;
    padding: 20px;
  }

  .story-strip__body {
    padding: 24px 20px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 8px;
    padding: 18px 12px;
    margin-bottom: 22px;
  }

  .metric-item {
    border-right: none;
  }

  .metric-item:nth-child(odd) {
    border-right: 1px solid #ebd9c2;
  }

  .metric-diff-val {
    font-size: 1.75rem;
  }

  .story-strip__action {
    justify-content: stretch;
  }

  .btn-story-detail {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  /* --- 詳細ページのレスポンシブ --- */
  .story-detail-card {
    padding: 36px 20px 32px;
  }

  /* ヘッダー見出しキャッチ群：スマホ時は左寄せ */
  .story-detail-header {
    text-align: left;
    margin-bottom: 30px;
  }

  .story-detail-meta {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
  }

  .story-detail-title {
    text-align: left;
    font-size: 1.35rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  /* スマホ幅での不自然な改行を防ぎ、画面幅に応じて自然に折り返し */
  .story-detail-title br {
    display: none;
  }

  .story-detail-lead {
    text-align: left;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.85;
  }

  /* セクション見出しも左寄せに統一 */
  .detail-section-title-wrap {
    text-align: left;
    margin-bottom: 20px;
  }

  .detail-img-wrap {
    max-width: 100%;
  }

  .detail-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .approach-detail-item {
    gap: 14px;
    padding: 18px 16px;
  }

  .approach-num {
    font-size: 1.4rem;
  }

  .therapist-comment-box {
    padding: 24px 20px;
  }

  .therapist-text {
    padding-left: 0;
    margin-top: 10px;
  }

  .story-post-nav {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .nav-btn-col.next {
    text-align: center;
  }
}