@charset "utf-8";
/* =============================================================
   story-detail.css
   Vet360 導入事例詳細ページ スタイルシート
============================================================= */

/* ── 共通設定 ── */
:root {
  --vet360-primary: #682de6;
  --vet360-secondary: #608ffc;
  --vet360-dark: #333333;
  --vet360-gray: #626064;
  --vet360-border: #e0e1ee;
  --vet360-bg-light: #fafafa;
}

.story-single-main {
  padding-top: 140px;
  padding-bottom: 100px;
  background: #f9f9fe; /* 全体の背景を少し淡い色に */
}

/* ── ヘッダー（タイトル・病院名） ── */
.story-single-header {
  text-align: center;
  margin-bottom: 40px;
}
.story-single-date {
  font-family: 'Montserrat', sans-serif;
  color: var(--vet360-gray);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.story-single-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--vet360-dark);
  line-height: 1.5;
  margin-bottom: 24px;
}
.story-single-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--vet360-primary);
  font-weight: 700;
}
.story-single-meta div {
  display: flex;
  align-items: center;
  gap: 6px;
}
.story-single-meta .material-icons {
  font-size: 20px;
}

/* ── アイキャッチ画像 ── */
.story-single-eyecatch {
  margin-bottom: 60px;
}
.eyecatch-image-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}
.eyecatch-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── 導入前の課題・決め手・効果（オシャレな表形式） ── */
.story-summary-section {
  margin-bottom: 60px;
}
.story-summary-section .container {
  max-width: 1000px;
}
.story-summary-box {
  background: #ffffff;
  border: 1px solid var(--vet360-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.story-summary-table {
  width: 100%;
  border-collapse: collapse;
}
.story-summary-table th,
.story-summary-table td {
  padding: 14px 20px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--vet360-border);
  font-size: 14px;
  line-height: 1.7;
}
.story-summary-table tr:last-child th,
.story-summary-table tr:last-child td {
  border-bottom: none;
}
.story-summary-table th {
  background-color: var(--vet360-bg-light);
  width: 35%;
  font-weight: 700;
  color: var(--vet360-primary);
  border-right: 1px solid var(--vet360-border);
}
.story-summary-table td {
  width: 65%;
  color: var(--vet360-dark);
}
.story-summary-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.story-summary-list li {
  position: relative;
  padding-left: 20px;
  font-weight: 500;
}
.story-summary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vet360-secondary);
}

/* スマホ用：表の縦並び */
@media screen and (max-width: 840px) {
  .story-summary-table th,
  .story-summary-table td {
    display: block;
    width: 100%;
    border-right: none;
    padding: 20px 24px;
  }
  .story-summary-table th {
    border-bottom: 1px solid var(--vet360-border);
  }
}

/* ── 本文エリア (リッチテキスト) ── */
.story-content-container {
  max-width: 900px;
  background: #ffffff;
  padding: 60px 80px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}
@media screen and (max-width: 840px) {
  .story-content-container { padding: 40px 24px; }
}
.story-rich-text h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--vet360-primary);
  line-height: 1.5;
  margin: 64px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--vet360-border);
}
.story-rich-text h2:first-child {
  margin-top: 0;
}
.story-rich-text p {
  font-size: 16px;
  line-height: 2;
  color: var(--vet360-dark);
  margin-bottom: 24px;
}
.story-rich-text strong {
  font-weight: 700;
  background: linear-gradient(transparent 60%, #e0e2f8 60%);
}
.story-rich-text img {
  border-radius: 12px;
  margin: 32px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.story-rich-text blockquote {
  border-left: 4px solid var(--vet360-primary);
  margin: 32px 0;
  padding: 16px 24px;
  background: #f8f6ff;
  border-radius: 0 8px 8px 0;
  color: var(--vet360-gray);
}

/* ── フッター（最新記事など） ── */
.story-single-footer {
  margin-top: 80px;
}
.recent-stories-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--vet360-border);
  padding-bottom: 16px;
}
.recent-stories-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}
.view-all-link {
  display: inline-flex;
  align-items: center;
  color: var(--vet360-primary);
  font-weight: 700;
}

/* 関連記事グリッド */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media screen and (max-width: 840px) {
  .post-grid { grid-template-columns: 1fr; }
}
.post-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.post-card:hover {
  transform: translateY(-4px);
}
.card-thumbnail {
  aspect-ratio: 16/9;
  background: #eef0f5;
}
.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 24px;
}
.card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-excerpt {
  font-size: 13px;
  color: var(--vet360-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}
.card-footer-link {
  color: var(--vet360-primary);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── 右下固定シェアボタン ── */
.share-buttons-container {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 90;
}
.share-buttons-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 16px 12px;
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.share-buttons-inner p {
  font-size: 11px;
  font-weight: 700;
  color: var(--vet360-gray);
  writing-mode: vertical-rl;
  margin: 0 0 4px;
}
.share-buttons-inner a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0f2f8;
  color: var(--vet360-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}
.share-buttons-inner a:hover {
  background: var(--vet360-primary);
  color: #fff;
  transform: translateY(-2px);
}
@media screen and (max-width: 840px) {
  .share-buttons-container {
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
  }
  .share-buttons-inner {
    flex-direction: row;
    padding: 12px 24px;
  }
  .share-buttons-inner p {
    writing-mode: horizontal-tb;
    margin: 0 8px 0 0;
  }
}