:root {
  --bg: #f7f8fb;
  --card: #ffffff;
  --text: #1f2430;
  --muted: #707789;
  --line: #e8ebf2;
  --accent: #6d7df0;
  --accent-soft: #eef1ff;
  --accent-deep: #4d5fe0;
  --sub-accent: #4db6ac;
  --shadow: 0 12px 30px rgba(31, 36, 48, 0.06);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --header-max: 1360px;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.post-detail-wrap {
  width: 100%;
  padding: 0;
}

.post-detail {
  max-width: var(--header-max);
  margin: 0 auto;
}

.post-header {
  margin-bottom: 26px;
}

.post-title-s {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
  letter-spacing: 0.02em;
  font-weight: 800;
  color: #161a24;
}

.post-meta-row,
.post-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.post-meta-row {
  margin-bottom: 10px;
}

.post-meta-left,
.post-meta-right,
.author-left,
.author-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.post-date {
  font-size: 13px;
  color: var(--muted);
}

.post-category-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 12px;
  background: #4a5366;
  color: #fff;
  ;
  font-size: 12px;
  font-weight: 700;
  transition: 0.2s ease;
}

.post-category-link:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.post-author-link,
.creator-name {
  font-size: 15px;
  font-weight: 700;
  color: #202636;
}

.post-author-link:hover,
.creator-name:hover {
  color: var(--accent-deep);
}

.mini-action-btn,
.small-primary-btn,
.small-line-btn {
  appearance: none;
  border: 0;
  outline: none;
  cursor: pointer;
  font: inherit;
  transition: 0.2s ease;
}

.mini-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #394051;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(31, 36, 48, 0.03);
}

.mini-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(31, 36, 48, 0.08);
}

.follow-btn {
  margin-left: 8px;
}

.favorite-btn.is-active,
.follow-btn.is-active {
  background: var(--accent-soft);
  border-color: #d7defe;
  color: var(--accent-deep);
}

.btn-icon {
  font-size: 14px;
  line-height: 1;
}

.post-thumbnail-box {
  width: 280px;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
}

.post-thumbnail {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #55607a;
  font-size: 12px;
  font-weight: 700;
  transition: 0.2s ease;
}

.post-tag:hover {
  border-color: #d6dcf6;
  background: #fbfcff;
  color: var(--accent-deep);
}

.post-body {
  padding: 26px 24px;
  border: 1px solid #eef1f6;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  word-break: break-all;
  width: 100%;
}

.post-body p {
  margin: 0 0 1.2em;
  font-size: 15px;
  color: #2e3545;
}

.post-body p:last-child {
  margin-bottom: 0;
}

.post-card-s {
  position: relative;
  margin-bottom: 33px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 15px;
  margin-bottom: 15px;
  ;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-soft), #f7f8ff);
  color: var(--accent-deep);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.card-inner {
  padding: 18px 20px 22px;
}

.card-title {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 800;
  color: #1a2130;
}

.purchase-btn-outer {
  padding: 5px 12px;
  margin-bottom: 8px;
  margin-top: 8px;
}

.purchase-point-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #f6f2f6;
}

.purchase-point-row-s {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 16px;
  border: 1px solid #edf0f6;
  background: #fbfcff;
}

.purchase-point-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.purchase-point-value {
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  color: #b12587;
  ;
  letter-spacing: 0.03em;
}

.purchase-point-value-s {
  font-size: 17px;
  line-height: 1;
  font-weight: 600;
  color: #777;
  letter-spacing: 0.03em;
}

.small-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(109, 125, 240, 0.22);
}

.small-primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(109, 125, 240, 0.28);
}

.creator-profile {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.creator-avatar {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  overflow: hidden;
  background: #f3f5fb;
  box-shadow: 0 6px 16px rgba(31, 36, 48, 0.06);
}

.creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-info {
  flex: 1;
  min-width: 0;
}

.creator-bio {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: #4a5366;
}

.url-copy-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.url-copy-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcff;
  color: #30384a;
  font-size: 13px;
  outline: none;
}

.url-copy-input:focus {
  border-color: #cfd7fb;
  box-shadow: 0 0 0 4px rgba(109, 125, 240, 0.08);
}

.small-line-btn {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d9dff2;
  border-radius: 12px;
  background: #fff;
  color: #34405d;
  font-size: 12px;
  font-weight: 800;
}

.small-line-btn:hover {
  transform: translateY(-1px);
  border-color: #c6cef3;
  background: #fafbff;
}

.copy-message {
  min-height: 20px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--sub-accent);
  font-weight: 700;
}

@media (max-width: 767px) {
  .post-detail-wrap {
    padding: 0;
  }

  .post-title-s {
    margin-bottom: 14px;
    font-size: 28px;
  }

  .post-body {
    padding: 20px 16px;
  }

  .card-inner {
    padding: 16px 16px 18px;
  }

  .creator-profile {
    gap: 14px;
  }

  .creator-avatar {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .purchase-point-row {
    padding: 12px 14px;
  }

  .purchase-point-value {
    font-size: 21px;
  }

  .url-copy-box {
    flex-direction: column;
    align-items: stretch;
  }

  .small-line-btn,
  .small-primary-btn {
    width: 100%;
  }
}

.purchase-btn.is-purchased {
  background: #666;
  border-color: #666;
  color: #fff;
  cursor: default;
}

.purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.purchase-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.purchase-modal-dialog {
  position: relative;
  width: calc(100% - 32px);
  max-width: 420px;
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  padding: 22px 18px 18px;
  z-index: 2;
}

.purchase-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.purchase-modal-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

.purchase-modal-text {
  font-size: 14px;
  line-height: 1.75;
  color: #555;
}

.purchase-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.purchase-modal-actions button {
  flex: 1;
  height: 44px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}

.purchase-cancel-btn {
  background: #f3f4f6;
  color: #333;
  border-color: #dcdfe4;
}

.purchase-confirm-btn {
  background: #1f7a3f;
  color: #fff;
}

.purchase-confirm-btn:disabled,
.purchase-cancel-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.purchase-btn.is-purchased {
  background: #666;
  border-color: #666;
  color: #fff;
  cursor: default;
}

.favorite-btn.is-active {
  background: #fff0f3;
  border-color: #ff8fab;
  color: #e63946;
}

.favorite-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.twocol-wrap {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.twocol-main,
.twocol-side {
  background: #fff;
  border: 1px solid #e8e8e8;
  box-sizing: border-box;
  padding: 20px;
  border-radius: 6px;
}

.twocol-main {
  flex: 1;
  min-width: 0;
}

.twocol-side {
  width: 350px;
  flex: 0 0 350px;
}

@media screen and (max-width: 768px) {
  .twocol-wrap {
    flex-direction: column;
  }

  .twocol-main,
  .twocol-side {
    width: 100%;
    flex: none;
  }
}

.postdetail-wrap {
  width: 100%;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
  padding-bottom: 30px;
}

.postdetail-cols {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.postdetail-main {
  background: #fff;
  box-sizing: border-box;
}

.postdetail-main {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.postdetail-side {
  width: 350px;
  flex: 0 0 350px;
  padding: 0 16px;
}

.postdetail-title {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

.postdetail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.postdetail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #fafafa;
  border: 1px solid #ededed;
  border-radius: 999px;
}

.postdetail-favbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 40px;
  border: 1px solid #e5d8df;
  background: #fff;
  color: #cc6b8e;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: .2s;
}

.postdetail-favbtn.is-active {
  background: #fff4f8;
  border-color: #efbfd0;
}

.postdetail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 24px;
}

.postdetail-tag {
  display: inline-block;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 999px;
  font-size: 13px;
  color: #555;
}

.postdetail-sec {
  margin-top: 28px;
}

.postdetail-sec-title {
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 4px solid #f0c9d8;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.postdetail-body {
  border: 1px dotted #ddd;
  border-radius: 8px;
  padding: 16px;
  font-size: 16.5px;
  color: #444;
  background: #fdf9fd;
  word-break: break-word;
}

/* 無料画像 */
.freegallery-main {
  margin-bottom: 12px;
  border: 1px solid #ececec;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
}

.freegallery-main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.freegallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.freegallery-thumbs {
  position: relative;
}

.freegallery-thumbs .swiper-slide {
  border: 1px solid #ececec;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  opacity: .6;
  transition: .2s;
  background: #fafafa;
}

.freegallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: #d6a8ba;
}

.freegallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.freegallery-nav {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.freegallery-nav button {
  min-width: 90px;
  height: 38px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

/* サンプルなし時 */
.postdetail-no-sample {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid #ececec;
  background: #fafafa;
  border-radius: 8px;
  padding: 16px;
}

.postdetail-no-sample-thumb {
  width: 250px;
  min-width: 250px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  background: #fff;
}

.postdetail-no-sample-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.postdetail-no-sample-text {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  color: #444;
}

/* 無料動画 */
.samplemovie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 46px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* 有料画像 */
.paidgallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.paidgallery-item {
  border: 1px solid #ececec;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #fafafa;
  aspect-ratio: 1 / 1;
}

.paidgallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 有料動画 */
.paidvideo-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.paidvideo-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 右カラム */
.side-box {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  margin-bottom: 15px;
}

.side-label {
  margin-bottom: 8px;
  font-size: 12px;
  color: #888;
}

.buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: none;
  border-radius: 999px;
  background: #d96a8d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.creator-card {
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.creator-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
}

.creator-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.follow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.follow-btn.is-following {
  background: #f7f7f7;
  color: #888;
}

/* 全画面モーダル */
.viewer-overlay,
.movie-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
}

.viewer-overlay.is-open,
.movie-overlay.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewer-inner {
  position: relative;
  width: min(96vw, 1200px);
  height: min(92vh, 900px);
}

.viewer-swiper {
  width: 100%;
  height: 100%;
}

.viewer-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewer-swiper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.viewer-close,
.movie-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.viewer-prev,
.viewer-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.viewer-prev {
  left: 16px;
}

.viewer-next {
  right: 16px;
}

.movie-modal {
  position: relative;
  width: min(92vw, 900px);
  background: #111;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
}

.movie-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  overflow: hidden;
  border-radius: 8px;
}

.movie-player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

@media screen and (max-width: 768px) {
  .postdetail-cols {
    flex-direction: column;
  }

  .postdetail-side {
    width: 100%;
    flex: none;
    position: static;
    padding: 0;
  }

  .postdetail-main {
    padding: 10px;
  }

  .postdetail-title {
    font-size: 22px;
  }

  .postdetail-no-sample {
    flex-direction: column;
  }

  .postdetail-no-sample-thumb {
    width: 100%;
    min-width: 0;
    max-width: 250px;
  }

  .paidgallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .viewer-prev,
  .viewer-next {
    width: 40px;
    height: 40px;
  }
}

.freegallery-main,
.freegallery-thumbs,
.paidgallery-grid,
.paidgallery-item {
  touch-action: pan-y;
}

.favorite-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #e5d8df;
  background: #fff;
  color: #cc6b8e;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.favorite-btn.is-active {
  background: #fff4f8;
  border-color: #efbfd0;
}

.favorite-btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.creator-card {
  margin-top: 20px;
  align-items: center;
  gap: 14px;
  padding: 14px;

}

.creator-icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 50%;
  overflow: hidden;
}

.creator-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.creator-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.creator-name {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  text-decoration: none;
  margin-bottom: 4px;
}

.creator-name:hover {
  text-decoration: underline;
}

.creator-text {
  font-size: 13px;
  line-height: 1.6;
  color: #666;
  word-break: break-word;
}

.creator-follow-btn {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

.creator-follow-btn:hover {
  background: #f8f8f8;
}

.creator-follow-btn.is-active {
  border-color: #f0b8c7;
  background: #fff4f7;
  color: #c35f7d;
}

@media (max-width: 767px) {
  .creator-card {
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
  }

  .creator-icon {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .creator-follow-btn {
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }
}

.samplemovie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.samplemovie-modal.is-active {
  display: block;
}

.samplemovie-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.samplemovie-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 90%;
  max-width: 800px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.samplemovie-content video {
  width: 100%;
  height: auto;
  display: block;
}

.samplemovie-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;

  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.purchase-login-box {
  text-align: center;
  padding: 20px;
}

.purchase-message {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}

.purchase-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.purchase-btn {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition: 0.2s;
}

.purchase-btn-login {
  background: #333;
  color: #fff;
}

.purchase-btn-login:hover {
  background: #000;
}

.purchase-btn-register {
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
}

.purchase-btn-register:hover {
  background: #f5f5f5;
}

.divider {
  margin-top: 28px;
  display: flex;
  align-items: center;
  width: 100%;
  color: #039503;
  font-size: 17px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px dashed #ccc;
}

.divider::before {
  margin-right: 10px;
}

.divider::after {
  margin-left: 10px;
}

.purchase-imvidtl {
  font-size: 13px;
  padding: 15px;
}

.post-rating-stars {
  display: inline-flex;
  gap: 4px;
  padding: 20px;
  border-bottom: 1px solid #efefef;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.post-rating-stars i {
  font-size: 16px;
}

.is-full {
  color: #f5b301;
}

.is-half {
  color: #f5b301;
}

.is-empty {
  color: #ddd;
}

.postdetail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

/* 左グループ（既存3つ） */
.post-meta-right {
  display: inline-flex;
}

/* 通報ボタンだけ右に押し出す */
.post-meta-report {
  margin-left: auto;
}

/* スマホ */
@media (max-width: 768px) {
  .post-meta-report {
    width: 100%;
    margin-left: 0;
  }
}

.report-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.report-modal.is-active {
  display: flex;
}

.report-modal-inner {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}

.report-modal-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.report-modal-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.report-form-group {
  margin-bottom: 15px;
}

.report-select,
.report-textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px;
  font-size: 14px;
}

.report-textarea {
  min-height: 100px;
  resize: vertical;
}

.report-modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn-cancel {
  flex: 1;
  background: #eee;
  border: none;
  padding: 10px;
  border-radius: 6px;
}

.btn-submit {
  flex: 1;
  background: #ff5c5c;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
}

.samplemovie-content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}