/* ============================================================
   プレスキット（/press/・/en/press/）— lp.css と learn.css の上に重ねる
   CSP（style-src 'self'）のため、見本の色や変形もすべてクラスで持つ。
   ============================================================ */

/* 素の箇条書きだけ。クラス付きのリスト（グリッド）には効かせない */
.press-body p,
.press-body ul:not([class]) {
  margin: 0 0 16px;
}

.press-body ul:not([class]) {
  padding-left: 1.4em;
}

.press-body ul:not([class]) li + li {
  margin-top: 6px;
}

.press-body a,
.press-dl a,
.press-links a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 紹介文（コピーしやすいよう枠で囲む） ---------- */

.press-copy {
  margin: 0 0 16px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--paper-dim);
}

.press-copy p {
  margin: 0;
}

.press-label {
  margin: 24px 0 8px;
  color: var(--gray);
  font-size: 12.5px;
  font-weight: 600;
}

/* ---------- ファクトシート ---------- */

.press-facts {
  margin: 0;
  border-top: 1px solid var(--line-strong);
  font-size: 14.5px;
  line-height: 1.75;
}

.press-facts div {
  display: grid;
  grid-template-columns: 9em minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.press-facts dt {
  font-weight: 600;
}

.press-facts dd {
  margin: 0;
  color: var(--gray);
}

/* ---------- ロゴのダウンロード ---------- */

.press-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.press-logo {
  border: 1px solid var(--line);
}

.press-logo-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 28px;
  background: var(--paper);
}

.press-logo-stage.is-dark,
.press-dark {
  background: linear-gradient(180deg, #060d24 0%, #0a1a40 55%, #10306b 100%);
}

.press-logo-stage img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
}

.press-logo-stage.is-image {
  min-height: 0;
  padding: 0;
}

.press-logo-stage.is-image img {
  max-width: none;
}

.press-logo-meta {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}

.press-logo-meta p {
  margin: 0 0 6px;
  font-weight: 600;
}

.press-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- ロゴの使い方の図 ---------- */

.press-figure {
  margin: 0 0 24px;
}

.press-figure figcaption {
  margin: 8px 0 0;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.7;
}

/* 余白：点線の内側がロゴ、外側の帯が確保する余白（ロゴの高さの 1/2） */
.press-clear {
  display: flex;
  justify-content: center;
  padding: 24px 16px;
  background: var(--paper-dim);
}

.press-clear-zone {
  padding: 22px;
  outline: 1px dashed var(--accent);
  background: repeating-linear-gradient(
    45deg,
    rgba(39, 117, 202, 0.08) 0 6px,
    transparent 6px 12px
  );
}

.press-clear-zone img {
  display: block;
  width: 264px;
  max-width: 100%;
  height: auto;
  outline: 1px solid rgba(39, 117, 202, 0.5);
  background: var(--paper);
}

.press-min {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px 40px;
  padding: 24px 16px;
  background: var(--paper-dim);
}

.press-min p {
  margin: 8px 0 0;
  color: var(--gray);
  font-size: 12.5px;
}

.press-min-ja {
  display: block;
  width: 120px;
  height: auto;
}

.press-min-en {
  display: block;
  width: 100px;
  height: auto;
}

/* やってはいけないこと */
.press-donts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.press-dont {
  border: 1px solid var(--line);
}

.press-dont-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 16px;
  overflow: hidden;
  background: var(--paper);
}

.press-dont-stage img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
}

.press-dont p {
  margin: 0;
  padding: 8px 12px 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}

.press-dont p::before {
  content: "×";
  margin-right: 6px;
  color: #c0392b;
  font-weight: 700;
}

.press-dont.is-ok p::before {
  content: "○";
  color: var(--accent);
}

.dont-stretch {
  transform: scale(1.35, 0.75);
}

.dont-color {
  filter: invert(36%) sepia(83%) saturate(2400%) hue-rotate(335deg) brightness(95%);
}

.dont-shadow {
  filter: drop-shadow(4px 4px 0 rgba(39, 117, 202, 0.75));
}

.dont-stroke {
  filter: drop-shadow(2px 0 0 #2775ca) drop-shadow(-2px 0 0 #2775ca) drop-shadow(0 2px 0 #2775ca)
    drop-shadow(0 -2px 0 #2775ca);
}

.dont-rotate {
  transform: rotate(-14deg);
}

.dont-retype {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ---------- 色 ---------- */

.press-colors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.press-colors li {
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}

.press-swatch {
  height: 64px;
  border-bottom: 1px solid var(--line);
}

.press-colors p {
  margin: 0;
  padding: 8px 12px 0;
  font-weight: 600;
}

.press-colors code {
  display: block;
  padding: 0 12px 10px;
  color: var(--gray);
  font-size: 12.5px;
}

.sw-ink { background: #161616; }
.sw-gray { background: #6b6b6b; }
.sw-line { background: #e2e2e2; }
.sw-paper { background: #ffffff; }
.sw-paper-dim { background: #f7f7f6; }
.sw-accent { background: #2775ca; }
.sw-cover-top { background: #060d24; }
.sw-cover-mid { background: #0a1a40; }
.sw-cover-bottom { background: #10306b; }
.sw-cover-sub { background: #b9cbe8; }

/* ---------- キャラクター ---------- */

.press-chars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.press-char {
  border: 1px solid var(--line);
}

.press-char h3 {
  margin: 0;
  padding: 12px 16px 0;
}

.press-char-imgs {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  padding: 16px;
}

.press-char-imgs a {
  display: block;
  flex: 1 1 0;
  min-width: 0;
}

.press-char-imgs img {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  margin: 0 auto;
}

.press-char-imgs img.is-small {
  max-width: 112px;
}

.press-char .press-dl {
  padding: 0 16px 14px;
  font-size: 13.5px;
}

/* ---------- 動画 ---------- */

.press-videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.press-videos a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.55;
}

.press-videos img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 6px;
  border: 1px solid var(--line);
}

.press-videos a:hover span {
  color: var(--link);
}

.press-videos small {
  display: block;
  color: var(--gray);
  font-size: 12px;
}

/* ---------- 関連リンク ---------- */

.press-body .press-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.press-links li {
  border-bottom: 1px solid var(--line);
}

.press-links a {
  display: block;
  text-decoration: none;
  padding: 12px 0;
  font-weight: 600;
}

.press-links small {
  display: block;
  margin-top: 2px;
  color: var(--gray);
  font-size: 12.5px;
  font-weight: 400;
}

/* ---------- スマホ ---------- */

@media (max-width: 600px) {
  .press-logos,
  .press-chars {
    grid-template-columns: 1fr;
  }

  .press-donts,
  .press-colors,
  .press-videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .press-facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .press-clear-zone {
    padding: 17px;
  }

  .press-clear-zone img {
    width: 200px;
  }
}

/* パンくずは learn.css の見た目のまま（本文のリンク色を当てない） */
.press-body .breadcrumb a {
  color: inherit;
}
