/* サイトに載る箱（.pitch）の見た目。公開版に持っていくのは、このファイルと parts/ の中身。
   色は決定 38。公開版の style.css と同じ名前の色（--brand など）を、この箱の中だけで決め直してあるので、
   このファイルだけで見た目がそろう。字（Zen Kaku Gothic New）は、ページの側のものを使う。
   改行：言葉の途中では折り返さない（keep-all）。折り返してよい場所は、文の中の <wbr>。この 2 つは組で効く。 */
.pitch {
  --brand: #25467c;
  --deep: #1a3260;
  --tint: #e8edf6;
  --surface: #ffffff;
  --ink: #1f2530;
  --muted: #5a6373;
  --line: #d9dce4;
  --sub: #c8922a;
  --subtint: #f8efdb;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 500;
}

/* ここからが、サイトに載る箱。スマホの幅で見た形。 */
.pitch {
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 6px solid var(--brand);
  border-radius: 14px;
  padding: 24px 18px 24px;
}
/* 改行の決まり：言葉の途中では折り返さない。折り返してよい場所は、文の中の <wbr> だけ。
   iPhone でも Android でも同じに効く書き方（keep-all）。
   まとまりが箱より長いときだけ、しかたなく途中で折り返す（anywhere）。 */
.pitch { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.pitch h2 { font-size: 24px; font-weight: 900; line-height: 1.5; margin: 0 0 16px; }
.pitch p { margin: 0 0 16px; }
.pitch .wish { font-weight: 700; }
.pitch a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pitch .promise {
  background: var(--tint);
  border-left: 6px solid var(--brand);
  border-radius: 10px;
  padding: 14px 14px;
  margin: 20px 0;
}
.pitch .promise strong { display: block; font-size: clamp(18px, 5vw, 20px); font-weight: 900; line-height: 1.6; }
.pitch .promise .by { display: block; margin-top: 8px; }
.pitch ul.terms { margin: 0 0 20px; padding-left: 1.2em; }
.pitch ul.terms li { margin: 8px 0; }

.pitch h3 { font-size: 19px; font-weight: 900; margin: 24px 0 8px; }
.pitch blockquote {
  margin: 0 0 10px;
  padding: 10px 14px;
  background: var(--subtint);
  border-left: 4px solid var(--sub);
  border-radius: 10px;
}
.pitch ul.news { list-style: none; margin: 0 0 8px; padding: 0; }
.pitch ul.news li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.pitch ul.news time { font-weight: 700; margin-right: 0.6em; }

.pitch .buy {
  display: block;
  width: 100%;
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: 19px;
  font-weight: 900;
  text-align: center;
}
.pitch .wait { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.pitch .wait p { margin: 0 0 8px; font-weight: 700; }
.pitch .wait .tell {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--brand);
  border-radius: 10px;
  background: var(--surface);
  color: var(--brand);
  font: inherit;
  font-weight: 700;
  text-align: center;
}

/* ---- 価格のページ ---- */
.pitch.price { max-width: 520px; }
.pitch .pricebox {
  background: var(--tint);
  border-left: 6px solid var(--brand);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 20px 0;
}
.pitch .pricebox .tier { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; margin: 6px 0; white-space: nowrap; }
.pitch .pricebox .when { min-width: 5.5em; font-weight: 700; }
.pitch .pricebox .yen { font-size: 20px; font-weight: 900; }
.pitch .pricebox .yen b { font-size: 34px; font-weight: 900; line-height: 1.2; }
.pitch .pricebox .tax { color: var(--muted); font-size: 15px; font-weight: 500; }

.pitch .tablewrap { margin: 0 -6px 12px; }
.pitch table.compare { width: 100%; border-collapse: collapse; }
.pitch table.compare th, .pitch table.compare td { padding: 10px 4px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pitch table.compare thead th { font-weight: 900; border-bottom: 2px solid var(--ink); text-align: center; white-space: nowrap; }
.pitch table.compare thead th:first-child { text-align: left; }
.pitch table.compare tbody th { font-weight: 500; text-align: left; font-size: 16px; line-height: 1.6; }
.pitch table.compare td { width: 3.4em; text-align: center; white-space: nowrap; }
.pitch table.compare tr.group th { padding-top: 18px; font-weight: 900; background: none; border-bottom: 2px solid var(--line); }
.pitch .yes { font-size: 24px; font-weight: 900; color: var(--brand); line-height: 1; }
.pitch .no { font-size: 20px; color: var(--muted); line-height: 1; }
.pitch .soon { font-size: 14px; font-weight: 700; padding: 2px 6px; border: 1px solid var(--muted); border-radius: 6px; }
.pitch .small { font-size: 15px; color: var(--muted); }
.pitch.price .wait { border-top: 0; padding-top: 0; margin-top: 12px; }
