@font-face {
  font-family: 'Noto Sans CJK JP Local';
  src: url('../fonts/notosanscjkjp-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans CJK JP Local';
  src: url('../fonts/notosanscjkjp-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #075744;
  --green-deep: #043c30;
  --green-soft: #e7f1ec;
  --yellow: #ffd95a;
  --yellow-soft: #fff7d5;
  --coral: #ff6c6f;
  --ink: #17332b;
  --muted: #60716c;
  --cream: #fffdf6;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(6, 63, 49, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Noto Sans CJK JP Local', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--green-deep);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--white);
  border-top: 8px solid var(--yellow);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 194px;
  height: auto;
}

.header-contact {
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: var(--green);
  text-decoration: none;
}

.header-contact span {
  font-size: 0.9rem;
  font-weight: 700;
}

.header-contact strong {
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}

.hero {
  position: relative;
  min-height: min(760px, 74vw);
  overflow: hidden;
  background: var(--green-deep);
  color: var(--white);
}

.hero-photo,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: center 43%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 48, 38, 0.94) 0%, rgba(3, 48, 38, 0.78) 30%, rgba(3, 48, 38, 0.15) 64%, rgba(3, 48, 38, 0.04) 100%),
    linear-gradient(0deg, rgba(3, 48, 38, 0.54) 0%, rgba(3, 48, 38, 0) 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  min-height: min(760px, 74vw);
  margin: 0 auto;
  padding: clamp(50px, 7vw, 104px) 0 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-year {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero-school {
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 1.32rem);
  font-weight: 700;
  line-height: 1.55;
}

.hero-recruit {
  margin: clamp(22px, 3vw, 42px) 0 0;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 700;
}

.hero-recruit strong {
  margin: 0 0.12em;
  color: var(--yellow);
  font-size: 1.8em;
}

.hero h1 {
  max-width: 800px;
  margin: 12px 0 6px;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}

.hero-lead {
  margin: 12px 0 0;
  font-size: clamp(1rem, 2vw, 1.42rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-nav {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(880px, calc(100% - 40px));
  margin: -25px auto 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.page-nav a {
  padding: 17px 10px;
  color: var(--green);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.page-nav a + a {
  border-left: 1px solid #dbe8e2;
}

.page-nav a:hover,
.page-nav a:focus-visible {
  background: var(--yellow);
  color: var(--green-deep);
}

.section-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  max-width: 900px;
  padding-top: clamp(84px, 10vw, 130px);
  padding-bottom: clamp(76px, 9vw, 120px);
  text-align: center;
}

.intro h2,
.section-heading h2,
.support-copy h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4.3vw, 3rem);
  line-height: 1.35;
}

.intro > p:last-child {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  text-align: left;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.salary-section {
  padding: clamp(72px, 9vw, 110px) 0;
  background: var(--green);
  color: var(--white);
}

.section-heading {
  margin-bottom: 38px;
  text-align: center;
}

.section-heading-light .eyebrow {
  color: var(--yellow);
}

.salary-highlight {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  overflow: hidden;
  border-radius: 20px;
  background: var(--yellow);
  color: var(--green-deep);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
}

.salary-main,
.bonus-main {
  padding: clamp(30px, 5vw, 58px);
}

.salary-label,
.bonus-main > p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.salary-number {
  margin: 2px 0 8px;
  color: var(--green);
  line-height: 1;
  white-space: nowrap;
}

.salary-number strong {
  font-size: clamp(3.1rem, 8vw, 6.7rem);
  letter-spacing: -0.055em;
}

.salary-number span {
  margin-left: 0.2em;
  font-size: clamp(1.25rem, 3vw, 2.1rem);
  font-weight: 700;
}

.salary-type {
  margin: 18px 0 0;
  font-weight: 700;
}

.bonus-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
}

.bonus-main strong {
  margin-top: 10px;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.1;
}

.bonus-main span {
  color: var(--coral);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
}

.salary-breakdown {
  max-width: 780px;
  margin: 40px auto 0;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.1);
}

.salary-breakdown h3 {
  margin: 0 0 16px;
  font-size: 1.3rem;
}

.salary-breakdown dl {
  margin: 0;
}

.salary-breakdown dl > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.salary-breakdown dd {
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
}

.note {
  margin: 18px 0 0;
  font-size: 0.9rem;
}

.requirements {
  padding-top: clamp(78px, 10vw, 128px);
  padding-bottom: clamp(78px, 10vw, 128px);
}

.requirements-table-wrap {
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.requirements-table {
  width: 100%;
  border-collapse: collapse;
}

.requirements-table th,
.requirements-table td {
  padding: 24px 28px;
  border-bottom: 1px solid #dfeae5;
  font-size: 1rem;
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
}

.requirements-table tr:last-child th,
.requirements-table tr:last-child td {
  border-bottom: 0;
}

.requirements-table th {
  width: 30%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 700;
}

.requirements-table td strong {
  color: var(--coral);
  font-size: 1.12rem;
}

.support-section {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 9vw, 110px) 0;
  background: var(--yellow);
}

.support-section::before,
.support-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.support-section::before {
  width: 260px;
  height: 260px;
  top: -100px;
  right: 4%;
}

.support-section::after {
  width: 160px;
  height: 160px;
  bottom: -70px;
  left: 8%;
}

.support-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}

.support-copy .eyebrow {
  color: var(--green);
}

.support-label {
  margin: 25px 0 0;
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 700;
}

.support-number {
  margin: 0;
  color: var(--green);
  line-height: 1;
}

.support-number strong {
  font-size: clamp(5rem, 12vw, 9.2rem);
  letter-spacing: -0.06em;
}

.support-number span {
  margin-left: 0.15em;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
}

.support-notes {
  position: relative;
  padding: clamp(30px, 5vw, 50px);
  border-radius: 28px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(0, 60, 46, 0.18);
}

.support-notes::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -26px;
  width: 54px;
  height: 42px;
  background: var(--green);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  transform: translateY(-50%);
}

.support-notes ul {
  margin: 0;
  padding-left: 1.3em;
}

.support-notes li {
  margin: 0.55em 0;
}

.contact-section {
  padding: clamp(76px, 10vw, 125px) 0;
  background: var(--green-deep);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 7vw, 86px);
}

.contact-section .eyebrow {
  color: var(--yellow);
}

.contact-section h2 + p {
  margin: 22px 0 0;
  color: #d9e8e2;
}

.contact-card {
  padding: clamp(30px, 5vw, 48px);
  border-radius: 20px;
  background: var(--white);
  color: var(--ink);
}

.contact-card p,
.contact-card address {
  margin: 6px 0 0;
  font-style: normal;
}

.contact-card .contact-label {
  margin-top: 0;
  color: var(--green);
  font-weight: 700;
}

.phone-link {
  display: inline-block;
  margin: 7px 0 5px;
  color: var(--coral);
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-decoration: none;
}

.phone-link:hover,
.phone-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-footer {
  padding: 30px 0;
  background: #032a22;
  color: #c8dbd4;
  font-size: 0.86rem;
}

.footer-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-inner a {
  color: var(--white);
}

.footer-inner p {
  margin: 0 0 0 auto;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 20px;
  }

  .header-inner {
    width: min(100% - 30px, 1120px);
    min-height: 78px;
  }

  .brand img {
    width: 150px;
  }

  .header-contact span {
    display: none;
  }

  .header-contact strong {
    font-size: 1rem;
  }

  .hero,
  .hero-content {
    min-height: 680px;
  }

  .hero-photo {
    object-position: 60% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(3, 48, 38, 0.96) 0%, rgba(3, 48, 38, 0.76) 53%, rgba(3, 48, 38, 0.1) 100%),
      linear-gradient(90deg, rgba(3, 48, 38, 0.45), rgba(3, 48, 38, 0));
  }

  .hero-content {
    width: min(100% - 32px, 1120px);
    padding-top: 240px;
    justify-content: flex-end;
  }

  .hero-school {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .page-nav {
    position: relative;
    top: auto;
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 28px);
  }

  .page-nav a {
    padding: 13px 6px;
    font-size: 0.9rem;
  }

  .page-nav a:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #dbe8e2;
  }

  .page-nav a:nth-child(4) {
    border-top: 1px solid #dbe8e2;
  }

  .section-shell {
    width: min(100% - 32px, 1080px);
  }

  .salary-highlight,
  .support-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .salary-main,
  .bonus-main {
    padding: 30px 24px;
  }

  .salary-number strong {
    font-size: clamp(3.05rem, 16vw, 5rem);
  }

  .requirements-table,
  .requirements-table tbody,
  .requirements-table tr,
  .requirements-table th,
  .requirements-table td {
    display: block;
    width: 100%;
  }

  .requirements-table th {
    padding: 17px 20px 7px;
    border-bottom: 0;
  }

  .requirements-table td {
    padding: 7px 20px 19px;
  }

  .support-notes::before {
    top: -24px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .contact-card {
    padding: 28px 22px;
  }

  .phone-link {
    font-size: clamp(1.95rem, 10vw, 3rem);
  }

  .footer-inner {
    width: min(100% - 32px, 1080px);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-inner p {
    margin: 12px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
