/* =========================================================
   PIXEL STUDIO 下層ページ（撮影事例・メディア・ご利用案内・お問い合わせ・映像制作）
   - 色・書体・.ps-wrap / .ps-btn / .ps-link は top-scroll.css を土台にする
   - アニメーションは使わず、情報を読みやすく並べることを優先
   ========================================================= */

/* 既存の common.css の section 余白・背景を打ち消す */
.ps-page section { padding: 0; background: none; }
.ps-page { padding-bottom: clamp(80px, 10vw, 140px); }
.ps-page a { transition: color .2s, border-color .2s, background-color .2s; }

/* ---------- ページの見出し ---------- */
.pg-head {
  position: static;      /* common.css の header {position:fixed} の影響を受けないように */
  background: none;
  backdrop-filter: none;
  padding: clamp(140px, 15vw, 190px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--ps-line);
}
.pg-label {
  margin: 0 0 14px;
  font-family: var(--ps-font-num);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ps-accent);
}
.pg-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
}
.pg-head .ps-lead { margin-top: 20px; max-width: 40em; }
.pg-head .pg-note { margin: 12px 0 0; font-size: 14px; color: var(--ps-muted); }
.pg-head .pg-note a { color: var(--ps-text); }

/* ページ内リンク（ご利用案内） */
.pg-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.pg-toc a {
  color: var(--ps-muted);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.pg-toc a:hover { color: var(--ps-text); border-color: var(--ps-muted); }
.pg-toc a::before { content: "↓"; margin-right: 6px; font-size: 12px; }

/* ---------- セクション ---------- */
.pg-section { padding: clamp(56px, 7vw, 96px) 0 0 !important; scroll-margin-top: 96px; }
.pg-section + .pg-section { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--ps-line); }
.pg-h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 32px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.pg-h2 small {
  font-family: var(--ps-font-num);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ps-muted);
}
.pg-text { margin: 0; max-width: 40em; color: var(--ps-muted); }
.pg-text + .pg-text { margin-top: 12px; }

/* ---------- 絞り込みタブ ---------- */
.pg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--ps-line);
}
.pg-tab {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: -1px;
  padding: 14px 0;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--ps-muted);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
}
.pg-tab small { font-family: var(--ps-font-num); font-size: 12px; }
.pg-tab:hover { color: var(--ps-text); }
.pg-tab.is-active,
.pg-tab[aria-pressed="true"] { color: var(--ps-text); border-bottom-color: var(--ps-accent); }

/* ---------- カード一覧（撮影事例・メディア） ---------- */
.pg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px) clamp(20px, 2.4vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pg-card {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.pg-card__img {
  display: block;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--ps-bg-2);
  border: 1px solid var(--ps-line);
}
.pg-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s; }
#caseGrid .pg-card__img { aspect-ratio: 16 / 9; }   /* 撮影事例のサムネイルだけ16:9（メディアの一覧は3:2のまま）。TOPの撮影事例と同じ比率 */
.pg-card:hover .pg-card__img img { opacity: 0.85; }
.pg-card__noimg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--ps-font-num);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ps-muted);
}
.pg-card__count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 8px;
  font-family: var(--ps-font-num);
  font-size: 12px;
  background: rgba(10, 10, 18, 0.75);
}
.pg-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--ps-muted);
}
.pg-card__meta time { font-family: var(--ps-font-num); letter-spacing: 0.06em; }
.pg-tag {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid var(--ps-line);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ps-muted);
}
.pg-card__title {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.pg-card:hover .pg-card__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ps-muted); }
.pg-card__desc {
  display: -webkit-box;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ps-muted);
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pg-card:focus-visible { outline: 2px solid var(--ps-accent); outline-offset: 6px; }

/* 0件のとき */
.pg-empty {
  padding: clamp(48px, 7vw, 80px) clamp(24px, 4vw, 48px);
  border: 1px solid var(--ps-line);
}
.pg-empty p { margin: 0; color: var(--ps-muted); }
.pg-empty p + p { margin-top: 16px; }
.pg-empty strong { display: block; margin-bottom: 8px; color: var(--ps-text); font-size: 17px; }

/* ページ送り */
.pg-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: clamp(48px, 6vw, 72px); }
.pg-pager a,
.pg-pager span {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ps-line);
  color: var(--ps-muted);
  font-family: var(--ps-font-num);
  font-size: 14px;
  text-decoration: none;
}
.pg-pager a:hover { color: var(--ps-text); border-color: var(--ps-muted); }
.pg-pager .current { color: var(--ps-accent-ink); background: var(--ps-accent); border-color: var(--ps-accent); }
.pg-pager .dots { border-color: transparent; }

/* ---------- 撮影事例：拡大表示 ---------- */
.pg-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 72px;
  background: rgba(6, 6, 12, 0.95);
}
.pg-modal[hidden] { display: none; }
.pg-modal__inner { width: min(1000px, 100%); max-height: 100%; display: flex; flex-direction: column; }
.pg-modal__stage { position: relative; display: flex; justify-content: center; }
.pg-modal__img { max-width: 100%; max-height: 64vh; object-fit: contain; display: block; }
.pg-modal__nav,
.pg-modal__close {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: 1px solid var(--ps-line);
  color: var(--ps-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.pg-modal__nav:hover,
.pg-modal__close:hover { border-color: var(--ps-muted); }
.pg-modal__nav[hidden] { display: none; }
.pg-modal__prev { left: -64px; top: 50%; transform: translateY(-50%); }
.pg-modal__next { right: -64px; top: 50%; transform: translateY(-50%); }
.pg-modal__close { top: 16px; right: 16px; position: fixed; }
.pg-modal__caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--ps-line);
}
.pg-modal__title { margin: 0; font-size: 18px; font-weight: 700; }
.pg-modal__counter { font-family: var(--ps-font-num); font-size: 13px; color: var(--ps-muted); }
.pg-modal__desc { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14px; color: var(--ps-muted); }
.pg-modal button:focus-visible { outline: 2px solid var(--ps-accent); outline-offset: 2px; }

/* ---------- 案内ボックス（2列） ---------- */
.pg-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ps-line);
  border: 1px solid var(--ps-line);
}
.pg-split > div { padding: clamp(28px, 3.4vw, 44px); background: var(--ps-bg); }
.pg-split h3 { margin: 0 0 12px; font-size: 17px; font-weight: 700; letter-spacing: 0.06em; }
.pg-split p { margin: 0; font-size: 14px; color: var(--ps-muted); }
.pg-split .ps-btn,
.pg-split .ps-link { margin-top: 24px; }
.pg-split .ps-link { display: inline-block; }

/* ---------- 定義リスト（料金・条件・アクセス） ---------- */
.pg-dl { margin: 0; border-top: 1px solid var(--ps-line); }
.pg-dl > div {
  display: grid;
  grid-template-columns: 11em minmax(0, 1fr);
  gap: 4px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ps-line);
}
.pg-dl dt { font-size: 14px; color: var(--ps-muted); letter-spacing: 0.06em; }
.pg-dl dd { margin: 0; }
.pg-dl dd small { display: block; margin-top: 2px; font-size: 13px; color: var(--ps-muted); }

/* 料金表 */
.pg-price { width: 100%; border-collapse: collapse; }
.pg-price th,
.pg-price td { padding: 22px 16px 22px 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--ps-line); }
.pg-price thead th { padding-top: 0; padding-bottom: 12px; font-size: 12px; font-weight: 400; letter-spacing: 0.08em; color: var(--ps-muted); }
.pg-price tbody th { font-size: 17px; font-weight: 700; letter-spacing: 0.06em; white-space: nowrap; }
.pg-price__num { font-family: var(--ps-font-num); font-size: clamp(22px, 2.4vw, 28px); font-weight: 300; white-space: nowrap; }
.pg-price__num small { margin-left: 4px; font-family: var(--ps-font-jp); font-size: 12px; color: var(--ps-muted); }
.pg-price td:last-child { font-size: 14px; color: var(--ps-muted); padding-right: 0; }
.pg-price-terms { margin-top: 40px; }
.pg-aside-note { margin: 20px 0 0; font-size: 13px; color: var(--ps-muted); }
.pg-aside-note a { color: var(--ps-text); }

/* 空き状況カレンダー */
.pg-calendar {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 32px 0 0;
  border: 1px solid var(--ps-line);
  background: var(--ps-bg-2);
}
.pg-calendar iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pg-calendar__empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-size: 14px; color: var(--ps-muted); }

.pg-tel {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--ps-font-num);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--ps-text);
  text-decoration: none;
}
.pg-tel:hover { color: var(--ps-accent); }

/* アクセス */
.pg-access { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.pg-map { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--ps-line); background: var(--ps-bg-2); }
.pg-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.4) brightness(0.92); }

/* 利用規約 */
.pg-terms { max-width: 52em; margin: 0; padding: 0; list-style: none; counter-reset: term; }
.pg-terms li {
  counter-increment: term;
  display: grid;
  grid-template-columns: 3em minmax(0, 1fr);
  padding: 16px 0;
  border-bottom: 1px solid var(--ps-line);
  font-size: 15px;
  color: #c9c9d6;
}
.pg-terms li::before {
  content: counter(term, decimal-leading-zero);
  font-family: var(--ps-font-num);
  font-size: 13px;
  line-height: 2.1;
  color: var(--ps-muted);
}
.pg-draft {
  max-width: 52em;
  margin: 0 0 28px;
  padding: 14px 18px;
  border-left: 2px solid #e0b84a;
  background: rgba(224, 184, 74, 0.06);
  font-size: 13px;
  color: #d8cfae;
}

/* ---------- お問い合わせ ---------- */
.pg-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.pg-contact__aside { position: sticky; top: 120px; }
.pg-contact__aside .pg-dl > div { grid-template-columns: 1fr; }
.pg-contact__notice { margin: 24px 0 0; font-size: 13px; color: var(--ps-muted); }

.pg-form .wpcf7-form > p { margin: 0 0 28px; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.pg-form .wpcf7-form > p:has(> .wpcf7-form-control-wrap[data-name="your-subject"]) { margin-top: -18px; }   /* 「お問い合わせ種別」の見出しと選択肢を近づける */
.pg-form label { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.pg-form .wpcf7-form-required,
.pg-form .required {
  display: inline-block;
  margin-left: 8px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ps-accent-ink);
  background: var(--ps-accent);
  vertical-align: 2px;
}
.pg-form input[type="text"],
.pg-form input[type="email"],
.pg-form input[type="tel"],
.pg-form textarea {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 14px 16px;
  background: var(--ps-bg-2);
  border: 1px solid var(--ps-line);
  border-radius: 0;
  color: var(--ps-text);
  font: inherit;
  font-size: 16px;   /* 16px未満だとiPhoneで入力時に画面が拡大される */
  font-weight: 400;
}
.pg-form textarea { height: 220px; min-height: 160px; resize: vertical; line-height: 1.8; }
.pg-form input:focus,
.pg-form textarea:focus { outline: none; border-color: var(--ps-accent); }
.pg-form ::placeholder { color: #6a6a80; }

.pg-form .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pg-form .wpcf7-list-item { margin: 0; }
.pg-form .wpcf7-radio .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--ps-line);
  font-weight: 400;
  cursor: pointer;
}
.pg-form .wpcf7-radio .wpcf7-list-item label:has(input:checked) { border-color: var(--ps-accent); }
.pg-form input[type="radio"],
.pg-form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid var(--ps-muted);
  background: transparent;
  cursor: pointer;
}
.pg-form input[type="radio"] { border-radius: 50%; }
.pg-form input[type="radio"]:checked { border-color: var(--ps-accent); background: radial-gradient(circle, var(--ps-accent) 40%, transparent 45%); }
.pg-form input[type="checkbox"]:checked {
  border-color: var(--ps-accent);
  background: var(--ps-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2304161a' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.pg-form input:focus-visible { outline: 2px solid var(--ps-accent); outline-offset: 2px; }
.pg-form .wpcf7-acceptance label { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; font-size: 14px; cursor: pointer; }
.pg-form .wpcf7-acceptance a { color: var(--ps-text); }

.pg-form .wpcf7-submit {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: 18px 36px;
  background: var(--ps-accent);
  border: 0;
  border-radius: 2px;
  color: var(--ps-accent-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.pg-form .wpcf7-submit:hover { background: #7ff7ff; }
.pg-form .wpcf7-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.pg-form .wpcf7-spinner { margin-left: 12px; }

.pg-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; color: #ff7a8e; }
.pg-form .wpcf7-not-valid { border-color: #ff7a8e !important; }
.pg-form .wpcf7 form.init .wpcf7-response-output,
.pg-form .wpcf7 form.resetting .wpcf7-response-output,
.pg-form .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.pg-form .wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; border: 1px solid var(--ps-line); font-size: 14px; }
.pg-form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--ps-accent); color: var(--ps-accent); }
.pg-form .wpcf7 form.invalid .wpcf7-response-output,
.pg-form .wpcf7 form.failed .wpcf7-response-output,
.pg-form .wpcf7 form.spam .wpcf7-response-output { border-color: #ff7a8e; color: #ff7a8e; }

/* 画面には出さず、読み上げにだけ使う文字 */
.ps-page .screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 映像制作：制作サンプルの動画 ---------- */
.pg-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 32px);
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.pg-video__frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--ps-line);
}
.pg-videos.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* 3本のときは横に3つ並べる */
.pg-video__frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.pg-video__frame { position: relative; }
/* 再生ボタン（押すまで動画は読み込まない） */
.pg-video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  background: rgba(10, 10, 18, 0.15);
  border: 0;
  cursor: pointer;
  transition: background-color .2s;
}
.pg-video__play:hover { background: rgba(10, 10, 18, 0.35); }
.pg-video__play span {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(10, 10, 18, 0.55);
}
.pg-video__play span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}
.pg-video__play:focus-visible { outline: 2px solid var(--ps-accent); outline-offset: -2px; }
.pg-video__frame.is-playing .pg-video__play { display: none; }
.pg-video .pg-card__meta { margin: 16px 0 0; }
.pg-video .pg-card__title { margin: 8px 0 0; }
.pg-video__desc { margin: 8px 0 0; font-size: 14px; line-height: 1.8; color: var(--ps-muted); }

/* 変換前・変換後 */
.pg-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  margin: 32px 0 0;
}
.pg-compare figure { margin: 0; }
.pg-compare__img {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ps-bg-2);
  border: 1px solid var(--ps-line);
  overflow: hidden;
}
.pg-compare__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pg-compare__img video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.pg-compare .pg-video__play span { width: 52px; height: 52px; }
.pg-compare figcaption { margin-top: 10px; font-size: 13px; color: var(--ps-muted); letter-spacing: 0.06em; }
.pg-notes.pg-compare__note { max-width: none; margin-top: 20px; font-size: 12px; line-height: 1.8; }   /* 変換の見本の注記：小さめに、本文の幅いっぱいまで */
.pg-compare__arrow { font-family: var(--ps-font-num); font-size: 22px; color: var(--ps-accent); }

/* 流れ */
.pg-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  background: var(--ps-line);
  border: 1px solid var(--ps-line);
}
.pg-steps li { counter-increment: step; padding: 24px 20px 26px; background: var(--ps-bg); }
.pg-steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  font-family: var(--ps-font-num);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ps-accent);
}
.pg-steps strong { display: block; font-size: 15px; letter-spacing: 0.06em; }
.pg-steps span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.8; color: var(--ps-muted); }
/* 目立たせたい一文（5面LED以外の映像制作も受付） */
.pg-callout {
  margin: 28px 0 0;
  max-width: 46em;
  padding: 16px 20px;
  border-left: 3px solid var(--ps-accent);
  background: rgba(0, 240, 255, 0.06);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ps-muted);
}
.pg-callout strong { display: block; margin-bottom: 2px; font-size: 15px; color: var(--ps-text); letter-spacing: 0.04em; }
.pg-callout a { color: var(--ps-text); margin-left: 6px; }
.pg-callout + .pg-text { margin-top: 24px; }
.pg-callout a.pg-callout__more { display: inline-block; margin: 4px 0 0; }

/* 3つの方法の番号（映像制作のページ） */
.pg-h2__no { font-family: var(--ps-font-num); font-size: 13px; font-weight: 400; letter-spacing: 0.2em; color: var(--ps-accent); }

/* 変換できる映像の種類 */
.pg-modes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  background: var(--ps-line);
  border: 1px solid var(--ps-line);
}
.pg-modes li { padding: 18px 18px 22px; background: var(--ps-bg); }
.pg-modes__media {
  position: relative;
  aspect-ratio: 1 / 1;   /* 変換ツールの室内ビューを正方形に切り出した見本 */
  margin-bottom: 16px;
  background: #000;
  border: 1px solid var(--ps-line);
  overflow: hidden;
}
.pg-modes__media video,
.pg-modes__media img { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.pg-modes strong { display: block; font-size: 15px; letter-spacing: 0.06em; }
.pg-modes small { display: block; margin-top: 4px; font-size: 12px; color: var(--ps-accent); letter-spacing: 0.04em; }
.pg-modes span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--ps-muted); }
.pg-h3 { margin: 48px 0 16px; font-size: 17px; font-weight: 700; letter-spacing: 0.06em; }
.pg-convert-test { margin-top: 20px; color: var(--ps-text); }
.pg-notes { margin: 24px 0 0; max-width: 46em; font-size: 13px; line-height: 1.9; color: var(--ps-muted); }

/* 映像制作：冒頭の3つの方法（リード文の中で少しだけ強調。各セクションへのページ内リンク） */
.pg-ways { margin: 16px 0 0; padding: 0; list-style: none; }
.pg-ways li { padding: 4px 0; }
.pg-ways a {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ps-text);
  text-decoration: underline;
  text-decoration-color: var(--ps-line);
  text-underline-offset: 6px;
}
.pg-ways a:hover { text-decoration-color: var(--ps-accent); }
.pg-ways a::after { content: "↓"; font-size: 12px; font-weight: 400; color: var(--ps-muted); }
.pg-ways b { flex-shrink: 0; white-space: nowrap; font-family: var(--ps-font-num); font-weight: 400; font-size: 14px; color: var(--ps-accent); letter-spacing: 0.06em; }
.pg-ways__note { margin: 20px 0 0; font-size: 14px; color: var(--ps-muted); }
.pg-ways--price { margin-top: 6px; }

/* 変換方法：適した動画（少しだけ目立たせる） */
.pg-modes__fit {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-left: 2px solid var(--ps-accent);
  background: rgba(0, 240, 255, 0.07);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ps-text);
}
.pg-modes__fit em { display: block; font-style: normal; font-size: 11px; letter-spacing: 0.08em; color: var(--ps-accent); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .pg-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-access,
  .pg-contact { grid-template-columns: 1fr; }
  .pg-contact__aside { position: static; }
  .pg-modal { padding: 64px 20px 32px; }
  .pg-modal__prev { left: 8px; }
  .pg-modal__next { right: 8px; }
  .pg-modal__nav { background: rgba(10, 10, 18, 0.7); }
}
@media (max-width: 640px) {
  .pg-h2 { flex-wrap: wrap; gap: 4px 12px; }   /* 長い見出しは、英字の小見出しを次の行へ */
  .pg-videos, .pg-videos.is-3 { grid-template-columns: 1fr; }
  .pg-modes { grid-template-columns: 1fr; }
  .pg-steps { grid-template-columns: 1fr; }
  .pg-compare { grid-template-columns: 1fr; }
  .pg-compare__arrow { justify-self: center; transform: rotate(90deg); }
  .pg-grid { grid-template-columns: 1fr; }
  .pg-split { grid-template-columns: 1fr; }
  .pg-dl > div { grid-template-columns: 1fr; padding: 16px 0; }
  .pg-tabs { gap: 0 20px; }
  .pg-calendar { aspect-ratio: 3 / 4; }
  /* 料金表：スマホでは1行を縦に積む */
  .pg-price thead { display: none; }
  .pg-price tr { display: grid; padding: 18px 0; border-bottom: 1px solid var(--ps-line); }
  .pg-price th,
  .pg-price td { padding: 2px 0; border: 0; }
  .pg-terms li { grid-template-columns: 2.4em minmax(0, 1fr); font-size: 14px; }
}

/* =========================================================
   ご利用案内：料金（スタジオ利用料・1回ごとの料金・料金の目安・OPEN記念割引）
   ========================================================= */
/* スタジオ利用料：平日と土日祝を2つ並べ、税込を大きく */
.pg-rate { border: 1px solid var(--ps-line); padding: clamp(24px, 3vw, 40px); }
.pg-rate__title { margin: 0 0 20px; font-size: 17px; font-weight: 700; letter-spacing: 0.06em; }
.pg-rate__title small { margin-left: 10px; font-size: 13px; font-weight: 400; color: var(--ps-muted); }
.pg-rate__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--ps-line); }
.pg-rate__item { padding: 20px clamp(16px, 2.4vw, 32px); background: var(--ps-bg); }
.pg-rate__label { margin: 0; font-size: 14px; letter-spacing: 0.1em; color: var(--ps-muted); }
.pg-rate__price {
  margin: 6px 0 0;
  font-family: var(--ps-font-num);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 300;
  line-height: 1.2;
  white-space: nowrap;
}
.pg-rate__price small { margin-left: 6px; font-family: var(--ps-font-jp); font-size: 13px; color: var(--ps-muted); }
.pg-rate__ex { margin: 4px 0 0; font-size: 13px; color: var(--ps-muted); }
.pg-rate__min { margin: 16px 0 0; font-size: 14px; color: var(--ps-muted); }

/* 土日祝の「平日の20%増し」 */
.pg-rate__up { margin-left: 10px; padding: 2px 8px; border: 1px solid var(--ps-line); font-size: 12px; letter-spacing: 0.04em; color: var(--ps-text); white-space: nowrap; }

/* LED操作費：ご利用時間に応じた料金 */
.pg-led { margin-top: 24px; border: 1px solid var(--ps-line); padding: clamp(24px, 3vw, 40px); }
.pg-led__head .pg-rate__title { margin-bottom: 8px; }
.pg-led__note { margin: 0 0 16px; font-size: 14px; color: var(--ps-muted); }
.pg-led__table { width: 100%; border-collapse: collapse; }
.pg-led__table th,
.pg-led__table td { padding: 14px 0; text-align: left; border-top: 1px solid var(--ps-line); vertical-align: baseline; }
.pg-led__table th { width: 9em; font-size: 15px; font-weight: 700; }
.pg-led__price { font-family: var(--ps-font-num); font-size: clamp(22px, 2.4vw, 28px); font-weight: 300; white-space: nowrap; }
.pg-led__price small { margin-left: 4px; font-family: var(--ps-font-jp); font-size: 12px; color: var(--ps-muted); }
.pg-led__ex { margin-left: 16px; font-size: 13px; color: var(--ps-muted); white-space: nowrap; }
.pg-led .pg-aside-note { margin-top: 12px; }

/* 料金の目安 */
.pg-example .pg-h3 small { margin-left: 10px; font-size: 13px; font-weight: 400; color: var(--ps-muted); }
.pg-example__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pg-example__table th,
.pg-example__table td { padding: 14px 12px 14px 0; text-align: left; border-bottom: 1px solid var(--ps-line); white-space: nowrap; }
.pg-example__table thead th { font-size: 12px; font-weight: 400; letter-spacing: 0.08em; color: var(--ps-muted); padding-top: 0; }
.pg-example__table tbody th { font-weight: 700; }
.pg-example__table tbody th small { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--ps-muted); }
.pg-example__table td { font-family: var(--ps-font-num); }
.pg-example__table th:last-child,
.pg-example__table td:last-child { text-align: right; padding-right: 0; }
.pg-example__total { font-size: 18px; color: var(--ps-text); }
.pg-example__incl { color: var(--ps-muted); }

/* OPEN記念割引 */
.pg-discount {
  margin-top: 40px;
  padding: 20px clamp(16px, 2.4vw, 28px);
  border-left: 2px solid var(--ps-accent);
  background: var(--ps-bg-2, rgba(255, 255, 255, 0.03));
}
.pg-discount__label { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--ps-accent); }
.pg-discount__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pg-discount__list li { display: grid; grid-template-columns: 5.5em 1fr; gap: 2px 16px; align-items: baseline; }
.pg-discount__rate { font-family: var(--ps-font-num); font-size: 20px; color: var(--ps-text); white-space: nowrap; }
.pg-discount__name { font-size: 15px; font-weight: 700; }
.pg-discount__note { grid-column: 2; font-size: 13px; color: var(--ps-muted); }
.pg-discount__foot { margin: 14px 0 0; font-size: 13px; color: var(--ps-muted); }

@media (max-width: 767px) {
  .pg-rate { padding: 20px 16px; }
  .pg-rate__grid { grid-template-columns: 1fr 1fr; }
  .pg-rate__item { padding: 14px 10px; min-width: 0; }
  .pg-rate__price { font-size: clamp(24px, 7.4vw, 32px); }
  .pg-rate__price small { display: block; margin: 2px 0 0; }   /* 「税込」は金額の下へ（横幅が足りないため） */
  .pg-rate__up { display: inline-block; margin: 4px 0 0; }
  .pg-rate__label { display: flex; flex-direction: column; align-items: flex-start; }
  .pg-led { padding: 20px 16px; }
  .pg-led__table th { width: auto; padding-right: 12px; white-space: nowrap; }
  .pg-led__ex { display: block; margin: 2px 0 0; }
  /* 料金の目安：スマホは1行ずつ、項目名を左・金額を右に */
  .pg-example__table thead { display: none; }
  .pg-example__table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--ps-line); }
  .pg-example__table th,
  .pg-example__table td { display: flex; justify-content: space-between; padding: 3px 0; border: 0; text-align: left; }
  .pg-example__table td::before { content: attr(data-label); font-family: var(--ps-font-jp); font-size: 13px; color: var(--ps-muted); }
  .pg-example__table th:last-child,
  .pg-example__table td:last-child { text-align: left; }
  .pg-discount__list li { grid-template-columns: 4.6em 1fr; }
}

/* ご利用案内：5面LEDに映す映像（映像制作のページへのボタン） */
.pg-video-cta { margin: 28px 0 0; }