/* RATAについて（about）とお知らせ（public-notice）の3言語で共通。 */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ocean-deep: #0C3347;
  --ocean-mid: #2E9BB5;
  --ocean-light: #7ECDE0;
  --ocean-dark: #061820;
  --text-muted: rgba(255,255,255,0.65);
  --text-hint: rgba(255,255,255,0.55);
  --sans: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  /* 見出しはトップ（css/index.css）と同じ明朝 */
  --serif: 'Hiragino Mincho ProN', 'Yu Mincho', YuMincho, 'Noto Serif JP', 'Noto Serif TC', serif;
}
:root:lang(en) { --serif: Georgia, 'Times New Roman', serif; }
/* 繁体字は和文の明朝だと句読点の位置が違う（左下に寄る）ので、繁体字の明朝にする */
:root:lang(zh) { --serif: 'Songti TC', 'Noto Serif TC', PMingLiU, serif; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ocean-dark);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}
nav {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 100;
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(6,24,32,0.96);
  border-bottom: 0.5px solid rgba(126,205,224,0.12);
}
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo img { width: 26px; height: 26px; }
/* ロゴのリンクも、navの高さを変えずに押せる範囲だけ上下に広げて高さ44px以上にする */
.nav-logo { position: relative; }
.nav-logo::after { content: ""; position: absolute; inset: -10px -4px; }
.nav-logo-text { font-size: 13px; font-weight: 600; letter-spacing: 2px; color: #fff; }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a {
  font-size: 12px; color: var(--text-muted); letter-spacing: 0.5px;
  padding: 4px 9px; border-radius: 20px; text-decoration: none;
  border: 0.5px solid rgba(126,205,224,0.2);
}
/* 押せる範囲を44px四方以上にする（丸の幅を44px以上にし、上下を::afterで広げる。横の広げ幅は間の4pxを分け合って重ねない） */
.lang-switch a { position: relative; min-width: 44px; text-align: center; }
.lang-switch a::after { content: ""; position: absolute; inset: -10px -2px; }
.lang-switch a.active {
  color: var(--ocean-light); background: rgba(46,155,181,0.2);
  border-color: rgba(126,205,224,0.4);
}
main { padding-top: 76px; }
.page-hero { padding: 0 24px 36px; }
.section-eyebrow { font-size: 13px; color: var(--ocean-light); margin-bottom: 12px; }
.page-title { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.25; margin-bottom: 14px; }
.page-title strong { font-weight: inherit; }
.page-sub { font-size: 14px; color: var(--ocean-light); line-height: 1.6; margin-bottom: 4px; }
section { padding: 40px 24px; }
.section-title { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.3; margin-bottom: 16px; }
.section-title strong { font-weight: inherit; }
.section-body { font-size: 14px; color: var(--text-muted); line-height: 1.85; }
.section-body + .section-body { margin-top: 14px; }
.divider { height: 1px; margin: 0 24px; background: rgba(126,205,224,0.18); }
/* 活動内容：1つずつ枠で囲まず、細い線で区切った一覧にする */
.card-list { display: flex; flex-direction: column; margin-top: 20px; border-top: 0.5px solid rgba(126,205,224,0.18); }
.card { padding: 14px 0; border-bottom: 0.5px solid rgba(126,205,224,0.18); }
.card p { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.approach-tags { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 18px 0 20px; }
/* 区切りの「・」の行の高さで、最後の語だけ上にずれないよう文字の下端でそろえる */
/* 5つの視点：丸い札にせず、「・」で区切った語として並べる */
.approach-tag { font-size: 15px; color: var(--ocean-light); letter-spacing: 0.02em; }
.approach-tag:not(:last-child)::after { content: '・'; content: '・' / ''; margin-left: 8px; color: var(--text-hint); }
.org-table {
  margin-top: 20px; border: 0.5px solid rgba(126,205,224,0.18); border-radius: 12px; overflow: hidden;
}
.org-row {
  display: flex; padding: 14px 18px; gap: 12px;
  border-bottom: 0.5px solid rgba(126,205,224,0.1);
}
.org-row:last-child { border-bottom: none; }
.org-row dt { font-size: 13px; color: var(--ocean-light); flex: 0 0 92px; line-height: 1.6; }
.org-row dd { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px; background: #1F7A8F; color: #fff;
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em; padding: 14px 24px; border-radius: 6px;
  text-decoration: none; border: none; cursor: pointer; width: 100%;
  justify-content: center; margin-top: 8px;
}
/* PCでは本文の列を少し広げる（トップページと同じ） */
.notice-empty {
  margin-top: 20px; background: rgba(255,255,255,0.04); border: 0.5px solid rgba(126,205,224,0.18);
  border-radius: 12px; padding: 28px 18px; text-align: center;
}
.notice-empty p { font-size: 14px; color: var(--text-muted); }
.notice-table { margin-top: 20px; display: none; flex-direction: column; border-top: 0.5px solid rgba(126,205,224,0.18); }
/* 公告一覧：1件ずつ枠で囲まず、細い線で区切った一覧にする */
.notice-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border-bottom: 0.5px solid rgba(126,205,224,0.18); padding: 12px 0;
}
.notice-row .meta { font-size: 14px; color: rgba(255,255,255,0.85); }
.notice-row .meta .date { font-size: 12px; color: var(--ocean-light); display: block; margin-bottom: 2px; }
.notice-row a { font-size: 14px; color: var(--ocean-light); text-decoration: underline; flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 760px) { body, nav { max-width: 560px; } }
/* PC（1024px以上）：トップページと同じ幅1120pxにし、各節を「左に見出し・右に本文」の2段にする */
@media (min-width: 1024px) {
  body, nav { max-width: 1120px; }
  nav { padding: 20px 48px; }
  main { padding-top: 96px; }
  .page-hero { padding: 48px 48px 64px; }
  .page-title { font-size: 48px; }
  .page-sub { font-size: 16px; }
  .divider { margin: 0 48px; }
  section { display: grid; grid-template-columns: 320px minmax(0, 1fr); column-gap: 72px; align-items: start; padding: 72px 48px; }
  .section-content { grid-column: 2; max-width: 680px; }
  .section-title { font-size: 30px; margin-bottom: 0; word-break: auto-phrase; text-wrap: balance; }
  .section-body { font-size: 15px; }
  .card-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin-top: 0; }
  .approach-tags { margin-top: 0; }
  .org-table { margin-top: 0; }
  .btn-primary { width: auto; padding: 14px 32px; }
}
@media (min-width: 1024px) {
  body, nav { max-width: 1120px; }
  nav { padding: 20px 48px; }
  main { padding-top: 96px; }
  .page-hero { padding: 48px 48px 64px; }
  .page-title { font-size: 48px; }
  .page-sub { font-size: 16px; }
  .divider { margin: 0 48px; }
  section { display: grid; grid-template-columns: 320px minmax(0, 1fr); column-gap: 72px; align-items: start; padding: 72px 48px; }
  .section-content { grid-column: 2; max-width: 680px; }
  .section-title { font-size: 30px; margin-bottom: 0; word-break: auto-phrase; text-wrap: balance; }
  .section-body { font-size: 15px; }
  .org-table, .notice-table, .notice-empty { margin-top: 0; }
}
/* 印刷：暗い背景は印刷されず、白い文字が紙の上でほとんど読めなくなるため、白地に黒い文字にする。上部のナビと目次は紙では使わないので出さない */
@media print {
  html, body { background: #fff !important; }
  body { max-width: none; padding-top: 0; }
  * { color: #111 !important; border-color: #999 !important; box-shadow: none !important; }
  a { text-decoration: underline; }
  body > nav { display: none !important; }
  main { padding-top: 0; }
}
/* 英語・繁体字では中黒ではなく · を使う */
:lang(en) .approach-tag:not(:last-child)::after, :lang(zh) .approach-tag:not(:last-child)::after { content: '·'; content: '·' / ''; }
