:root {
  color-scheme: light;
  --navy: #18243e;
  --blue: #18477b;
  --muted: #4e5b6d;
  --line: #d8e0ea;
  --pale: #edf3f8;
  --serif: "Noto Serif JP", serif;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: var(--navy);
  background: #f7f9fc;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #477aba; outline-offset: 4px; }

.portal-wrap { width: min(calc(100% - 64px), 1144px); margin-inline: auto; }
.portal-header { background: white; border-bottom: 1px solid var(--line); }
.portal-header .portal-wrap { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.portal-header img { width: 151px; height: auto; }
.portal-header span { color: var(--muted); font-size: 13px; font-weight: 650; text-align: right; }

.portal-intro { padding-block: clamp(28px, 3.5vw, 48px) 25px; }
.portal-intro h1 { margin: 0 0 9px; font: 730 clamp(26px, 3.1vw, 42px)/1.35 var(--serif); letter-spacing: -.018em; }
.portal-grid { padding-bottom: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.portal-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(18px, 2.2vw, 25px); background: white; border: 1px solid var(--line); border-radius: 8px; }
.portal-kind { margin: 0 0 8px; color: var(--blue); font-size: 14px; font-weight: 750; }
.portal-card h2 { margin: 0 0 8px; font: 750 clamp(18px, 1.63vw, 24px)/1.45 var(--serif); }
.portal-description { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0 0 14px; }
.portal-link { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-top: auto; padding: 9px 14px; border: 1px solid #90aac5; border-radius: 5px; color: var(--blue); text-decoration: none; font-size: 14px; font-weight: 750; }
.portal-link::after { content: ''; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 4px; }
.portal-link:hover { background: var(--pale); }

@media (max-width: 710px) {
  .portal-wrap { width: calc(100% - 40px); }
  .portal-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

@media (max-width: 450px) {
  .portal-header .portal-wrap { min-height: 63px; }
  .portal-header img { width: 123px; }
  .portal-header span { font-size: 11px; }
  .portal-intro { padding-bottom: 18px; }
}
