/* A4 organizer sheet */
:root {
  --ink: #172525;
  --ink-soft: #485554;
  --cream: #f7f0e3;
  --orange: #c13f16;
  --yellow: #f3cf4d;
  --blue: #bfe5eb;
  --line: #d9d0c1;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: #e8e5df;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: .015em;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

p, h1, h2, h3, figure, dl, dd, ol, ul { margin: 0; }
img { display: block; max-width: 100%; }

.sheet-toolbar {
  display: flex;
  width: min(210mm, calc(100% - 24px));
  margin: 18px auto 0;
  align-items: center;
  justify-content: space-between;
}
.sheet-toolbar a,
.sheet-toolbar button {
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}
.sheet-toolbar button {
  padding: 9px 15px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
}

.sheet {
  width: 210mm;
  min-height: 297mm;
  margin: 18px auto 32px;
  padding: 9mm 10mm 8mm;
  overflow: hidden;
  background: #fffdf8;
  box-shadow: 0 20px 60px rgba(23, 37, 37, .16);
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 3mm;
  border-bottom: 1px solid var(--ink);
}
.sheet-brand { display: flex; align-items: center; gap: 7px; }
.sheet-brand > span { width: 12px; height: 12px; border: 3px solid var(--ink); border-radius: 50%; background: var(--orange); }
.sheet-brand strong { font-size: 13px; }
.sheet-header > p { color: var(--ink-soft); font-size: 9px; font-weight: 700; }
.sheet-header time { margin-left: 8px; }

.sheet-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(170px, .58fr);
  gap: 7mm;
  align-items: center;
  padding: 6mm 0 5mm;
}
.sheet-kicker,
.sheet-section-title > span,
.sheet-contact > div:first-child > p {
  color: var(--orange);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
}
.sheet-hero h1 {
  margin-top: 2mm;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 31px;
  line-height: 1.22;
  letter-spacing: -.04em;
}
.sheet-hero h1 em { color: var(--orange); font-style: normal; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .18em; text-underline-offset: -.03em; text-decoration-skip-ink: none; }
.sheet-hero-copy > p:last-child { max-width: 510px; margin-top: 3mm; color: var(--ink-soft); font-size: 10.5px; line-height: 1.75; }
.sheet-profile { position: relative; }
.sheet-profile img { width: 100%; height: 190px; aspect-ratio: 1 / 1.12; border: 2px solid var(--ink); border-radius: 60px 60px 12px 12px; object-fit: cover; object-position: 67% center; box-shadow: 6px 6px 0 var(--yellow); }
.sheet-profile figcaption { position: absolute; right: -2mm; bottom: 3mm; display: grid; padding: 6px 8px; border: 1px solid var(--ink); background: #fff; }
.sheet-profile figcaption strong { font-size: 10px; }
.sheet-profile figcaption span { color: var(--ink-soft); font-size: 7px; font-weight: 700; line-height: 1.45; }

.sheet-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ink);
  background: var(--cream);
}
.sheet-facts div { padding: 2.4mm 3mm; }
.sheet-facts div + div { border-left: 1px solid var(--ink); }
.sheet-facts dt { font-family: "Yu Mincho", serif; font-size: 15px; font-weight: 800; line-height: 1.2; }
.sheet-facts dd { margin-top: 2px; color: var(--ink-soft); font-size: 7.5px; font-weight: 700; }

.sheet-programs { padding-top: 5mm; }
.sheet-section-title { display: flex; align-items: baseline; gap: 9px; }
.sheet-section-title h2 { font-family: "Yu Mincho", serif; font-size: 17px; line-height: 1.3; }
.sheet-program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3mm; margin-top: 2.5mm; }
.sheet-program-grid article { min-height: 53mm; padding: 4mm; border: 1.5px solid var(--ink); border-radius: 11px; box-shadow: 3px 3px 0 var(--ink); }
.sheet-program-grid article:nth-child(1) { background: #ffd7c7; }
.sheet-program-grid article:nth-child(2) { background: #fff0a9; }
.sheet-program-grid article:nth-child(3) { background: #cfedf1; }
.sheet-program-grid article > p { font-size: 7.5px; font-weight: 900; letter-spacing: .06em; }
.sheet-program-grid h3 { min-height: 19mm; margin-top: 2.5mm; font-family: "Yu Mincho", serif; font-size: 15px; line-height: 1.4; }
.sheet-program-grid ul { display: grid; gap: 2px; margin-top: 3mm; padding: 3mm 0 0 4mm; border-top: 1px solid rgba(23,37,37,.28); }
.sheet-program-grid li { font-size: 8px; line-height: 1.45; }

.sheet-lower {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 7mm;
  margin-top: 5mm;
  padding-top: 4mm;
  border-top: 1px solid var(--ink);
}
.sheet-stance .sheet-section-title { align-items: flex-start; flex-direction: column; gap: 2px; }
.sheet-stance .sheet-section-title h2 { font-size: 16px; }
.sheet-stance > p,
.sheet-records > p { margin-top: 2mm; color: var(--ink-soft); font-size: 8.5px; line-height: 1.55; }
.sheet-stance > h3,
.sheet-records > h3 { margin-top: 3mm; font-size: 9px; }
.sheet-records ol { margin-top: 2.5mm; list-style: none; }
.sheet-records li { display: grid; grid-template-columns: 46px 1fr; gap: 7px; padding: 2mm 0; border-top: 1px solid var(--line); font-size: 8px; line-height: 1.45; }
.sheet-records time { color: var(--orange); font-weight: 900; }
.sheet-records li span { display: grid; }

.sheet-contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7mm;
  margin-top: 5mm;
  padding: 4mm 5mm;
  color: #fff;
  background: var(--orange);
}
.sheet-contact h2 { margin-top: 1mm; font-family: "Yu Mincho", serif; font-size: 17px; line-height: 1.3; }
.sheet-contact > div:first-child > p { color: var(--yellow); }
.sheet-contact-links { display: grid; min-width: 78mm; padding-left: 6mm; border-left: 1px solid rgba(255,255,255,.48); }
.sheet-contact-links strong { font-size: 9.5px; }
.sheet-contact-links span { margin-top: 1px; font-size: 7.5px; }

.sheet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 2.5mm;
  color: var(--ink-soft);
  font-size: 7px;
}

@media (max-width: 820px) {
  .sheet { width: calc(100% - 24px); min-height: 0; padding: 28px 24px; }
}

@media (max-width: 640px) {
  .sheet-hero,
  .sheet-lower,
  .sheet-contact { grid-template-columns: 1fr; }
  .sheet-profile { display: none; }
  .sheet-facts { grid-template-columns: repeat(2, 1fr); }
  .sheet-facts div:nth-child(3) { border-left: 0; border-top: 1px solid var(--ink); }
  .sheet-facts div:nth-child(4) { border-top: 1px solid var(--ink); }
  .sheet-program-grid { grid-template-columns: 1fr; }
  .sheet-program-grid article { min-height: 0; }
  .sheet-contact-links { min-width: 0; padding: 3mm 0 0; border-top: 1px solid rgba(255,255,255,.48); border-left: 0; }
  .sheet-footer { align-items: flex-start; flex-direction: column; }
}

@page { size: A4 portrait; margin: 0; }

@media print {
  body { background: #fff; }
  .sheet-toolbar { display: none; }
  .sheet {
    width: 210mm;
    height: 297mm;
    min-height: 297mm;
    margin: 0;
    padding: 9mm 10mm 8mm;
    box-shadow: none;
    break-after: avoid;
  }
}
