/* 制服ページと読み物の見た目。アプリの画面（src/style.css）と色をそろえる */
:root {
  --cream: #fff8ec;
  --paper: #ffffff;
  --ink: #26305c;
  --muted: #5f688e;
  --pop: #ff6b8b;
  --sun: #ffcf4a;
  --sky: #bfe6fb;
  --outline: 2px solid var(--ink);
  color: var(--ink);
  background: var(--cream);
  font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
  font-weight: 500;
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  background-image:
    repeating-linear-gradient(0deg, rgba(143, 211, 244, 0.22) 0 34px, transparent 34px 68px, rgba(255, 107, 139, 0.12) 68px 74px, transparent 74px 136px),
    repeating-linear-gradient(90deg, rgba(143, 211, 244, 0.22) 0 34px, transparent 34px 68px, rgba(255, 207, 74, 0.18) 68px 74px, transparent 74px 136px);
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
.site-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  max-width: 820px;
  margin: 0 auto;
  padding: 14px 16px;
}
.site-logo {
  font-family: 'Mochiy Pop One', sans-serif;
  font-size: 26px;
  color: var(--pop);
  -webkit-text-stroke: 1px var(--ink);
  paint-order: stroke fill;
  text-decoration: none;
}
.site-head nav {
  display: flex;
  gap: 14px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
}
.site-head nav a {
  display: inline-block;
  padding: 10px 2px;
}
main {
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 20px;
  background: var(--paper);
  border: var(--outline);
  border-radius: 22px;
}
@media (min-width: 860px) {
  main {
    padding: 32px 40px;
  }
}
@media (max-width: 860px) {
  main {
    margin: 0 12px 20px;
  }
}
h1 {
  margin: 0 0 12px;
  font-size: clamp(25px, 5vw, 34px);
  font-weight: 900;
  line-height: 1.35;
  word-break: auto-phrase;
}
h2 {
  margin: 30px 0 10px;
  font-size: 20px;
  font-weight: 900;
}
p,
li {
  font-size: 16px;
  line-height: 1.9;
}
ul {
  padding-left: 1.3em;
}
.lead {
  font-size: 17px;
}
.note {
  font-size: 14px;
  color: var(--muted);
}
.draft {
  display: inline-block;
  margin: 0 0 12px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #b3173a;
  border: 1.5px dashed currentColor;
  border-radius: 6px;
}
.cta {
  display: inline-block;
  margin: 8px 0;
  padding: 14px 30px;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
  background: var(--sun);
  border: var(--outline);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink);
}
.figure {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 8px auto 16px;
  background: radial-gradient(circle at 50% 40%, #fff, #d7f0fd);
  border-radius: 18px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}
.cards a {
  display: block;
  height: 100%;
  padding: 10px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  border: var(--outline);
  border-radius: 16px;
}
.cards a:hover {
  background: #eef8fe;
}
.cards img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 8px;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 40%, #fff, #d7f0fd);
}
table {
  width: 100%;
  margin: 8px 0;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
}
th,
td {
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  border: 1.5px solid #c9cfdf;
}
th {
  background: #eef8fe;
}
.site-foot {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px 28px;
  font-size: 14px;
}
.site-foot a {
  display: inline-block;
  padding: 8px 12px 8px 0;
  font-weight: 700;
}
