:root {
  --blue-deep: #071278;
  --blue-mid: #1345c8;
  --mint: #8fffe3;
  --mint-strong: #65efd1;
  --ink: #11183a;
  --white: #ffffff;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  background: linear-gradient(180deg, var(--blue-deep) 0%, var(--blue-mid) 44%, var(--mint) 100%);
  background-repeat: no-repeat;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.header,
.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.header-logo {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.header-logo a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 30px rgba(7, 18, 120, 0.16);
}

.header-list ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.header-list li {
  padding: 0;
}

.header-list li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: #1f2a5b;
  font-size: 14px;
  font-weight: 700;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 12px;
  padding-bottom: 36px;
}

.footer-list {
  width: 100%;
  padding: 22px 24px;
  border-radius: 28px;
  background: rgba(9, 21, 96, 0.92);
  color: #f7fffd;
  box-shadow: 0 20px 50px rgba(7, 18, 120, 0.18);
}

.footer-list ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 26px;
  margin: 0;
  padding: 0;
}

.footer-list li {
  padding: 0;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 18px 72px;
}

.hero {
  text-align: center;
}

.hero-kicker {
  margin: 0;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.hero h1,
.project-name,
.hero-subtitle h2,
.lead,
.section-heading h2,
.note {
  text-shadow:
    -1px -1px 0 var(--white),
    1px -1px 0 var(--white),
    -1px 1px 0 var(--white),
    1px 1px 0 var(--white);
}

.hero h1 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: clamp(2rem, 9vw, 4.4rem);
  line-height: 1.36;
}

.project-name {
  display: inline-block;
  margin: 14px 0 0;
  padding-bottom: 10px;
  border-bottom: 4px double var(--mint);
  color: var(--ink);
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.hero-subtitle {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--mint);
}

.hero-subtitle h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 4.6vw, 1.9rem);
}

.lead {
  margin: 16px auto 0;
  max-width: 760px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.9;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.panel,
.story-box,
.feature-list li,
.goal-card {
  background: var(--white);
  border: 4px double var(--mint);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(7, 18, 120, 0.16);
}

.panel {
  padding: 22px 18px;
}

.panel h3 {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 1.15rem;
  line-height: 1.5;
  text-align: center;
}

.panel ul {
  margin: 0;
  padding-left: 20px;
}

.panel li {
  margin-top: 10px;
  line-height: 1.8;
}

.divider {
  width: 100%;
  height: 2px;
  margin: 30px 0;
  background: rgba(255, 255, 255, 0.95);
}

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

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 5vw, 2.4rem);
}

.story-box {
  margin-top: 18px;
  padding: 24px 20px;
}

.story-block + .story-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(19, 69, 200, 0.12);
}

.label {
  margin: 0;
  color: var(--blue-deep);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.value {
  margin: 10px 0 0;
  color: #1f2a5b;
  line-height: 1.95;
  font-weight: 700;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
}

.feature-list li {
  box-sizing: border-box;
  flex: 1 1 calc(50% - 8px);
  min-height: 180px;
  padding: 22px 18px;
  text-align: center;
}

.feature-list b {
  display: block;
  color: var(--blue-deep);
  font-size: 1.12rem;
  line-height: 1.5;
}

.feature-list p {
  margin: 14px 0 0;
  color: #1f2a5b;
  line-height: 1.85;
  font-weight: 700;
}

.goal-section {
  margin-top: 30px;
}

.goal-card {
  padding: 30px 20px;
  text-align: center;
}

.goal-label {
  margin: 0;
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.goal-card h2 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 6.4vw, 3rem);
  line-height: 1.35;
}

.goal-card p {
  margin: 16px auto 0;
  max-width: 720px;
  color: #1f2a5b;
  line-height: 1.9;
  font-weight: 700;
}

.jobs-section {
  margin-top: 30px;
}

.jobs-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.jobs-label {
  margin: 0;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.jobs-heading h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 5vw, 2.7rem);
  text-shadow:
    -1px -1px 0 var(--white),
    1px -1px 0 var(--white),
    -1px 1px 0 var(--white),
    1px 1px 0 var(--white);
}

.job-count {
  margin: 0;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.job-count span {
  font-size: 1.5rem;
}

.jobs-notice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.notice-card {
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 4px double var(--mint);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(7, 18, 120, 0.16);
}

.notice-title {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-size: 1rem;
  font-weight: 800;
}

.notice-card ul {
  margin: 0;
  padding-left: 20px;
}

.notice-card li,
.notice-card p {
  margin: 0;
  color: #1f2a5b;
  font-weight: 700;
  line-height: 1.8;
}

.notice-card li + li {
  margin-top: 8px;
}

.filters {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.filter-group {
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 4px double var(--mint);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(7, 18, 120, 0.12);
}

.filter-title {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 2px solid rgba(101, 239, 209, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-deep);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-chip.is-active {
  border-color: var(--blue-deep);
  background: var(--blue-deep);
  color: var(--white);
}

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

.job-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 4px double var(--mint);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(7, 18, 120, 0.16);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(7, 18, 120, 0.2);
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(19, 69, 200, 0.08);
  color: var(--blue-deep);
  font-size: 0.76rem;
  font-weight: 800;
}

.job-card h3 {
  margin: 14px 0 0;
  color: var(--blue-deep);
  font-size: 1.24rem;
  line-height: 1.4;
}

.job-summary {
  margin: 0;
  color: #1f2a5b;
  font-weight: 700;
  line-height: 1.85;
}

.job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.job-meta {
  margin: 0;
  color: #4560a5;
  font-size: 0.82rem;
  font-weight: 800;
}

.job-open {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(19, 69, 200, 0.08);
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 800;
}

.jobs-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 60, 0.6);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 24px 20px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 255, 251, 0.98));
  border: 4px double var(--mint);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(7, 18, 120, 0.22);
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  background: rgba(19, 69, 200, 0.1);
  color: var(--blue-deep);
  font-weight: 800;
  cursor: pointer;
}

.detail-placeholder {
  margin: 12px 0 0;
  color: #1f2a5b;
  font-weight: 700;
  line-height: 1.8;
}

.detail-header {
  margin-top: 16px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(19, 69, 200, 0.08);
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 800;
}

.detail-header h3 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  line-height: 1.35;
}

.detail-lead {
  margin: 12px 0 0;
  color: #1f2a5b;
  font-weight: 700;
  line-height: 1.9;
}

.detail-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(19, 69, 200, 0.12);
}

.detail-section h4 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.detail-section ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.detail-section li,
.detail-section p {
  color: #1f2a5b;
  font-weight: 700;
  line-height: 1.85;
}

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

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid var(--mint-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-deep);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 14px 28px rgba(7, 18, 120, 0.14);
}

.button.secondary {
  background: rgba(245, 255, 252, 0.84);
}

.contact-section {
  margin-top: 30px;
}

.contact-note,
.contact-embed iframe {
  background: rgba(255, 255, 255, 0.96);
  border: 4px double var(--mint);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(7, 18, 120, 0.16);
}

.contact-note {
  margin-top: 18px;
  padding: 22px 18px;
}

.contact-note p {
  margin: 0;
  color: #1f2a5b;
  font-weight: 700;
  line-height: 1.9;
}

.contact-note p + p {
  margin-top: 12px;
}

.contact-embed {
  margin-top: 16px;
}

.contact-embed iframe {
  width: 100%;
  height: 1396px;
  border: 0;
}

@media (max-width: 860px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-list ul {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .jobs-heading,
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .jobs-notice {
    grid-template-columns: 1fr;
  }

  .jobs-heading {
    display: block;
  }

  .job-count {
    margin-top: 10px;
  }

  .feature-list li {
    flex-basis: 100%;
  }

  .panel,
  .story-box,
  .feature-list li,
  .goal-card,
  .job-card,
  .notice-card,
  .filter-group,
  .modal-dialog,
  .contact-note,
  .contact-embed iframe {
    border-radius: 16px;
  }

  .modal {
    padding: 12px;
  }

  .modal-dialog {
    padding: 18px 16px 16px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8.6vw, 3rem);
  }

  .project-name {
    font-size: clamp(1.75rem, 8.4vw, 3rem);
  }
}

@media (max-width: 640px) {
  .header,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-logo {
    font-size: 24px;
  }

  .header-logo a,
  .header-list li a {
    min-height: 42px;
  }

  .footer-list {
    border-radius: 22px;
  }
}
