/* =========================================================
   DATE-DAN 体験リポート用スタイル
   File: rumble-child/assets/css/report.css
   ※ single-report.php の実出力クラスに完全準拠した完全版
   ========================================================= */

/* --- 全体ラッパー --- */
.dd-report {
  max-width: 820px;
  margin: 0 auto 80px;
  padding: 0 16px;
  color: #333;
  font-size: 16px;
  line-height: 1.9;
  font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}
.dd-report * { box-sizing: border-box; }
.dd-report img { max-width: 100%; height: auto; display: block; }

/* --- 最上部バナー --- */
.dd-report-banner {
  margin: 0 0 24px;
  text-align: center;
}
.dd-report-banner a { display: inline-block; }
.dd-report-banner img { margin: 0 auto; }

/* --- ヘッダー（タイトルボックス） --- */
.dd-report-header {
  background: #f7f1e6;
  padding: 28px 24px;
  border-radius: 4px;
  margin: 0 0 32px;
}
.dd-report-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  color: #222;
}

/* --- 動画埋め込み --- */
.dd-report-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 24px;
  background: #000;
  overflow: hidden;
  border-radius: 4px;
}
.dd-report-video iframe,
.dd-report-video video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* --- メタ情報（日付・ライター・シェア） --- */
.dd-report-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e5e0d6;
  margin: 0 0 28px;
  font-size: 14px;
  color: #555;
}
.dd-report-meta__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.dd-report-date { color: #888; }
.dd-report-writer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #444;
}
.dd-report-writer__icon,
.dd-report-writer img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
}

/* --- SNSシェアボタン（共通：丸ボタン） --- */
.dd-report-meta__share,
.dd-report-share-bottom__buttons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dd-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  transition: opacity .2s;
  line-height: 1;
  padding: 0;
}
.dd-share:hover { opacity: .8; }
.dd-share--fb   { background: #1877f2; }
.dd-share--x    { background: #000; }
.dd-share--line { background: #06c755; }
.dd-share--pin  { background: #e60023; }
.dd-share--copy { background: #888; }

/* メタ部分は文字を非表示にしてアイコン的に */
.dd-report-meta__share .dd-share {
  font-size: 0;
  position: relative;
}
.dd-report-meta__share .dd-share::before {
  font-size: 14px;
  font-weight: 700;
}
.dd-report-meta__share .dd-share--fb::before   { content: "f"; }
.dd-report-meta__share .dd-share--x::before    { content: "??"; font-size:13px; }
.dd-report-meta__share .dd-share--line::before { content: "L"; font-size:11px; }
.dd-report-meta__share .dd-share--pin::before  { content: "P"; }
.dd-report-meta__share .dd-share--copy::before { content: "⧉"; font-size:16px; }

/* --- リードボックス（記事概要） --- */
.dd-report-leadbox {
  background: #fbf6ea;
  border-radius: 6px;
  padding: 22px 24px;
  margin: 0 0 36px;
  font-size: 15px;
  line-height: 1.85;
}
.dd-report-leadbox p { margin: 0; }
.dd-report-leadbox p + p { margin-top: 12px; }

/* --- クリニックカード（冒頭・末尾共通） --- */
.dd-clinic-card {
  border: 1px solid #d8cfb8;
  border-radius: 6px;
  padding: 22px 24px;
  margin: 0 0 40px;
  background: #fff;
}
.dd-clinic-card--bottom { margin-top: 40px; }
.dd-clinic-card__heading {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  padding: 0 0 10px;
  border-bottom: 1px solid #ece5d2;
  color: #333;
}
.dd-clinic-card__body {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.dd-clinic-card__icon,
.dd-clinic-card__body > img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
  flex-shrink: 0;
}
.dd-clinic-card__info {
  flex: 1;
  min-width: 200px;
}
.dd-clinic-card__doctor {
  font-size: 14px;
  color: #888;
  margin: 0 0 4px;
}
.dd-clinic-card__name {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #222;
}
.dd-clinic-card__addr {
  font-size: 13px;
  color: #666;
  margin: 0;
}
.dd-clinic-card__btn {
  display: inline-block;
  background: #c9a96e;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  margin-top: 10px;
  transition: background .2s;
  white-space: nowrap;
}
.dd-clinic-card__btn:hover { background: #b3925a; }

/* --- 画像カルーセル --- */
.dd-report-carousel {
  position: relative;
  margin: 0 0 36px;
  overflow: hidden;
  border-radius: 4px;
}
.dd-report-carousel__track {
  display: flex;
  transition: transform .4s ease;
}
.dd-report-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
}
.dd-report-carousel__slide img {
  width: 100%;
  height: auto;
  display: block;
}
.dd-report-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: 0;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
}
.dd-report-carousel__arrow--prev { left: 10px; }
.dd-report-carousel__arrow--next { right: 10px; }
.dd-report-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.dd-report-carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.dd-report-carousel__dot.is-active { background: #c9a96e; }

/* --- 本文ラッパー --- */
.dd-report-body {
  margin: 0 0 40px;
}
.dd-report-body > p {
  margin: 0 0 1.6em;
  line-height: 1.95;
}

/* --- 大見出し H2 --- */
.dd-report-h2 {
  position: relative;
  background: #f7f1e6;
  border-left: 6px solid #c9a96e;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  padding: 14px 18px;
  margin: 40px 0 22px;
  color: #222;
  border-radius: 2px;
}

/* --- 中見出し H3 --- */
.dd-report-h3 {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  padding: 0 0 8px;
  margin: 32px 0 18px;
  color: #222;
  border-bottom: 2px solid #c9a96e;
}

/* --- リード文 --- */
.dd-report-lead {
  font-size: 16px;
  line-height: 1.95;
  margin: 0 0 24px;
  color: #444;
}

/* --- 画像挿入 figure --- */
.dd-report-figure {
  margin: 24px 0;
  text-align: center;
}
.dd-report-figure img {
  border-radius: 4px;
  margin: 0 auto;
}
.dd-report-figure figcaption {
  font-size: 13px;
  color: #777;
  margin-top: 8px;
}

/* --- 対話形式（吹き出し） --- */
.dd-talk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
}
.dd-talk--right {
  flex-direction: row-reverse;
}
.dd-talk__icon {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  font-size: 11px;
  color: #666;
  line-height: 1.3;
}
.dd-talk__icon img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
  display: block;
  margin: 0 auto 4px;
}
.dd-talk__name {
  display: block;
  font-size: 12px;
  color: #555;
}
.dd-talk__bubble {
  position: relative;
  max-width: calc(100% - 80px);
  padding: 14px 18px;
  border-radius: 14px;
  line-height: 1.75;
  font-size: 15px;
}
.dd-talk__bubble p { margin: 0; }
.dd-talk__bubble p + p { margin-top: 8px; }

.dd-talk--left .dd-talk__bubble {
  background: #e8f1fb;
  color: #1c3d5e;
}
.dd-talk--left .dd-talk__bubble::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -8px;
  border: 8px solid transparent;
  border-right-color: #e8f1fb;
  border-left: 0;
}

.dd-talk--right .dd-talk__bubble {
  background: #fde9ef;
  color: #6e2c3d;
}
.dd-talk--right .dd-talk__bubble::before {
  content: "";
  position: absolute;
  top: 18px;
  right: -8px;
  border: 8px solid transparent;
  border-left-color: #fde9ef;
  border-right: 0;
}

/* --- ライター感想ノート --- */
.dd-report-note {
  background: #fff9e1;
  border: 1px dashed #e3c662;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 28px 0;
}
.dd-report-note__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #8a6d1c;
}
.dd-report-note__body {
  font-size: 14.5px;
  line-height: 1.85;
  color: #4a3f1f;
}
.dd-report-note__body p { margin: 0 0 8px; }
.dd-report-note__body p:last-child { margin: 0; }

/* --- 末尾SNSシェア --- */
.dd-report-share-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 26px 0;
  margin: 40px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.dd-report-share-bottom__label {
  font-size: 14px;
  font-weight: 700;
  color: #555;
}
.dd-report-share-bottom .dd-share {
  width: auto;
  height: auto;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
}

/* --- 最新の体験リポート --- */
.dd-report-latest {
  margin: 50px 0 0;
}
.dd-report-latest__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
  padding: 0 0 8px;
  border-bottom: 2px solid #c9a96e;
  text-align: center;
  color: #222;
}
.dd-report-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dd-report-latest__item {
  text-decoration: none;
  color: inherit;
  display: block;
}
.dd-report-latest__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #eee;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 8px;
}
.dd-report-latest__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.dd-report-latest__item:hover .dd-report-latest__thumb img {
  transform: scale(1.04);
}
.dd-report-latest__name {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

/* --- 一覧へボタン --- */
.dd-report-archive-btn {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 32px auto 0;
  padding: 14px 40px;
  background: #fff;
  border: 2px solid #c9a96e;
  color: #c9a96e !important;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all .2s;
  text-align: center;
  font-size: 14px;
}
.dd-report-archive-btn:hover {
  background: #c9a96e;
  color: #fff !important;
}

/* --- アーカイブページ --- */
.dd-report-archive {
  max-width: 1080px;
  margin: 40px auto 80px;
  padding: 0 16px;
}
.dd-report-archive__title {
  font-size: 22px;
  text-align: center;
  border-bottom: 2px solid #c9a96e;
  padding-bottom: 10px;
  margin-bottom: 30px;
}
.dd-report-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .dd-report { font-size: 15px; }
  .dd-report-title { font-size: 20px; }
  .dd-report-header { padding: 22px 18px; }
  .dd-report-h2 { font-size: 18px; padding: 12px 14px; }
  .dd-report-h3 { font-size: 16px; }
  .dd-clinic-card { padding: 18px; }
  .dd-clinic-card__body { gap: 12px; }
  .dd-clinic-card__icon { width: 54px; height: 54px; }
  .dd-talk__bubble { font-size: 14px; }
  .dd-report-latest__grid,
  .dd-report-archive__grid { grid-template-columns: repeat(2, 1fr); }
  .dd-report-meta { font-size: 13px; }
  .dd-report-share-bottom .dd-share { padding: 8px 14px; font-size: 12px; }
}
@media (max-width: 480px) {
  .dd-report-latest__grid,
  .dd-report-archive__grid { grid-template-columns: 1fr; }
}