:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --paper: #ffffff;
  --ink: #162033;
  --muted: #5b6575;
  --line: #dce3ee;
  --blue: #0068b7;
  --cyan: #00a3c7;
  --green: #008a64;
  --yellow: #f2b705;
  --red: #c94a3a;
  --shadow: 0 18px 50px rgba(22, 32, 51, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 227, 238, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
}

.brand-title {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
}

.brand-mark svg {
  width: 26px;
  height: 26px;
  display: block;
}

.logo-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.logo-option-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(22, 32, 51, 0.05);
}

.logo-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  margin-bottom: 14px;
}

.logo-mark {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
}

.logo-mark svg {
  width: 34px;
  height: 34px;
  display: block;
}

.logo-mark.round {
  border-radius: 50%;
}

.logo-mark.light {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
}

.logo-word {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
}

.logo-word small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.menu-icon {
  position: relative;
  width: 20px;
  height: 14px;
}

.menu-icon::before,
.menu-icon::after,
.menu-icon span {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  content: "";
}

.menu-icon::before {
  top: 0;
}

.menu-icon span {
  top: 6px;
}

.menu-icon::after {
  bottom: 0;
}

.mobile-menu-panel {
  position: absolute;
  top: 50px;
  right: 0;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mobile-menu-panel a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
}

.mobile-menu-panel a:hover {
  background: #eef5fb;
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 163, 199, 0.26), transparent 28%),
    linear-gradient(135deg, #e7f7fb 0%, #ffffff 52%, #edf4ff 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(52vw, 620px);
  height: 74%;
  content: "";
  background:
    linear-gradient(160deg, transparent 0 22%, rgba(0, 104, 183, 0.16) 22% 27%, transparent 27% 42%, rgba(0, 138, 100, 0.18) 42% 47%, transparent 47%),
    repeating-linear-gradient(0deg, rgba(0, 104, 183, 0.12) 0 2px, transparent 2px 18px);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 20px 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.35;
}

h1 {
  max-width: 780px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

h3 {
  font-size: 19px;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.button.secondary {
  background: #fff;
  color: var(--blue);
}

.button.small {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 13px;
}

.data-panel {
  align-self: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.rank-row {
  display: grid;
  grid-template-columns: 72px 1fr 62px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.rank-row:last-child {
  border-bottom: 0;
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: #e6edf6;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 54px 20px;
}

.section.alt {
  max-width: none;
  background: #fff;
}

.section.alt > .section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.message-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: stretch;
}

.message-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(22, 32, 51, 0.05);
}

.message-panel h2,
.message-panel h3 {
  margin-bottom: 10px;
}

.profile-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #eef5fb;
  color: var(--blue);
  font-weight: 800;
}

.card {
  overflow: hidden;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(22, 32, 51, 0.05);
}

.card.has-thumb {
  padding: 0;
}

.article-card-body {
  padding: 20px 22px 22px;
}

.article-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e6edf6;
}

.card .meta,
.article-meta {
  color: var(--muted);
  font-size: 13px;
}

.badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eaf6f2;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eef5fb;
  font-size: 13px;
}

tr:last-child td {
  border-bottom: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 36px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.article {
  min-width: 0;
}

.article h1 {
  font-size: clamp(30px, 4vw, 46px);
}

.article h2 {
  margin-top: 40px;
}

.article h3 {
  margin-top: 28px;
}

.article-main-image {
  width: 100%;
  margin: 24px 0 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e6edf6;
}

.venue-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.venue-map-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 248, 252, 0.96)),
    repeating-linear-gradient(0deg, rgba(0, 104, 183, 0.06) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(0, 104, 183, 0.06) 0 1px, transparent 1px 26px);
  box-shadow: var(--shadow);
}

.venue-map-svg {
  display: block;
  width: 100%;
  height: auto;
}

.map-land {
  fill: #e8f0f7;
  stroke: #c8d7e6;
  stroke-width: 2;
}

.map-coastline {
  fill: none;
  stroke: rgba(0, 104, 183, 0.22);
  stroke-width: 1.4;
  stroke-dasharray: 4 8;
}

.venue-pin {
  cursor: pointer;
}

.venue-pin circle {
  fill: #fff;
  stroke: var(--blue);
  stroke-width: 2.6;
  filter: drop-shadow(0 3px 6px rgba(22, 32, 51, 0.22));
}

.venue-pin text {
  fill: var(--ink);
  font-size: 10px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}

.venue-pin:hover circle,
.venue-pin:focus circle {
  fill: #fff7d8;
  stroke: var(--yellow);
}

.venue-label {
  fill: #344054;
  font-size: 11px;
  font-weight: 700;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3px;
  stroke-linejoin: round;
}

.venue-map-side {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.venue-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.venue-list li {
  padding: 6px 8px;
  border-radius: 6px;
  background: #f4f8fc;
}

.article ul {
  padding-left: 1.2em;
}

.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  background: #eef8fc;
  color: #22324a;
}

.notice strong {
  color: var(--blue);
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--ink);
  font-weight: 800;
}

.form-field label span {
  margin-left: 6px;
  color: var(--red);
  font-size: 12px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(0, 163, 199, 0.22);
  border-color: var(--cyan);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.form-message {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.form-message.error {
  border-color: rgba(201, 74, 58, 0.35);
  background: #fff5f3;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sidebox {
  position: sticky;
  top: 82px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--blue);
  color: #eaf6ff;
  text-align: center;
}

.site-footer .section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.site-footer a {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-links a + a::before {
  margin-right: 8px;
  color: #7f8da3;
  content: "|";
}

.copyright {
  margin: 0;
  color: #d8f0ff;
  font-size: 13px;
}

@media (max-width: 820px) {
  .nav {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-title {
    overflow: hidden;
    max-width: calc(100vw - 126px);
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
    flex: 0 0 auto;
  }

  .actions {
    align-items: flex-start;
  }

  .hero-inner,
  .article-layout,
  .grid,
  .message-band,
  .venue-map-layout,
  .logo-options {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 48px;
  }

  .hero::after {
    opacity: 0.35;
  }

  .sidebox {
    position: static;
  }
}
