@font-face {
  font-family: Vollkorn;
  src: url("Vollkorn.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7cdcd;
  --ink: #666666;
  --link: #2298a3;
  --accent: #8cbdc2;
  --button: #cfc999;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #0d6b70;
  outline-offset: 5px;
}

.navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 34px;
  min-height: 78px;
  align-items: center;
  padding: 16px 20px;
  background: #ffdede;
}

.navigation a {
  color: #0d9191;
  font-family: Vollkorn, "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.hero {
  position: relative;
  min-height: 480px;
  background: var(--accent);
  border-bottom: 1px solid var(--accent);
}

.hero-image {
  position: absolute;
  inset: 0 50% 0 0;
  background: url("cover.jpg") center center / cover no-repeat;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  transform: translateY(-50%);
  padding: 45px 30px;
  text-align: center;
  color: white;
}

h1 {
  margin: 0 0 26px;
  font: 400 2rem/1.4 Vollkorn, "Hiragino Mincho ProN", "Yu Mincho", serif;
  letter-spacing: .15em;
}

.hero-text p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
}

.columns {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 46px;
  max-width: 840px;
  margin: 0 auto;
  padding: 80px 36px 100px;
  font-size: 14px;
}

.column {
  min-width: 0;
}

p {
  margin: 0 0 16px;
}

.text-block {
  margin-bottom: 30px;
}

.text-block p:empty {
  min-height: 1em;
}

.text-block h2 {
  margin: 42px 0 24px;
  font: 400 1.8rem/1.5 Vollkorn, "Yu Mincho", serif;
  color: #279691;
}

.align-center {
  text-align: center;
}

.align-left {
  text-align: left;
}

.button-row {
  text-align: center;
  margin: 24px 0;
}

.button {
  display: inline-block;
  max-width: 100%;
  border: 1px solid var(--button);
  background: var(--button);
  padding: 11px 20px;
  color: #000;
  font-family: Vollkorn, "Yu Mincho", serif;
  font-size: 14px;
  line-height: 1.6;
}

.button:hover {
  opacity: .8;
  text-decoration: none;
}

.button-small {
  padding: 8px 26px;
}

.latest {
  margin: 0 0 38px;
}

.ruled-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #279691;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

.ruled-title::before,.ruled-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #279691;
}

.latest ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.latest li {
  padding: 12px 0;
  border-bottom: 1px solid #e3e2da;
}

.latest li a {
  color: var(--ink);
}

footer {
  padding: 34px 20px;
  text-align: center;
  font-size: 12px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  background: white;
  padding: 8px;
  z-index: 5;
}

.skip-link:focus {
  top: 8px;
}

@media (max-width: 800px) {
  .navigation {
    gap: 12px 24px;
    min-height: 65px;
    font-size: 14px;
  }
  .hero {
    min-height: 0;
  }
  .hero-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: 340px;
  }
  .hero-text {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    padding: 40px 20px;
  }
  h1 {
    font-size: 1.75rem;
  }
  .columns {
    grid-template-columns: minmax(0,1fr);
    gap: 32px;
    max-width: 600px;
    padding: 44px 25px 60px;
  }
}

.migration-notice {
  padding: 16px max(20px, calc((100% - 768px) / 2));
  background: #fff0f0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.8;
}

.migration-notice h2 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.migration-notice p {
  margin: 0 0 6px;
}

.migration-notice p:last-child {
  margin-bottom: 0;
}
