:root {
  --ink: #17324a;
  --muted: #5c7182;
  --paper: #f5fbff;
  --panel: #ffffff;
  --sky: #dff4ff;
  --sky-strong: #8ed7f4;
  --blue: #2179a8;
  --deep: #0e4f72;
  --line: #c9e7f4;
  --accent: #f4b84a;
  --white: #fff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.85;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(245, 251, 255, 0.9);
  border-bottom: 1px solid rgba(201, 231, 244, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: #25465a;
  font-size: 15px;
  font-weight: 800;
}

.nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  border-color: var(--sky-strong);
}

.nav-entry {
  border-bottom: 0;
}

.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 128px clamp(20px, 6vw, 86px) 72px;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 79, 114, 0.92) 0%, rgba(33, 121, 168, 0.72) 48%, rgba(33, 121, 168, 0.2) 100%),
    linear-gradient(0deg, rgba(14, 79, 114, 0.38), rgba(14, 79, 114, 0.08));
}

.hero-inner {
  position: relative;
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-eyebrow {
  margin-bottom: 16px;
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.12;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.3;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.38;
}

.hero-copy {
  max-width: 980px;
  margin-bottom: 34px;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-copy-line {
  display: block;
  white-space: nowrap;
}

.hero-actions,
.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-align: center;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(33, 121, 168, 0.24);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.button.dark {
  background: var(--ink);
}

.button.full {
  width: 100%;
}

section {
  padding: 88px clamp(20px, 6vw, 86px);
}

.lead,
.work,
.about {
  background: var(--paper);
}

.job,
.culture,
.youtube {
  background: var(--sky);
}

.section-head {
  max-width: 980px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head.narrow {
  max-width: 790px;
}

.section-head.wide {
  max-width: 1120px;
}

.section-head.wide h2 {
  white-space: nowrap;
}

.section-head p,
.feature-grid p,
.philosophy-card p,
.guideline-list span,
.job-list dd,
.job-aside,
.work-grid p,
.culture-copy p,
.youtube-card p,
.about p,
.entry p {
  color: var(--muted);
  font-size: 17px;
}

.copy-line {
  display: block;
}

.feature-grid {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.work-grid article {
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid span {
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.philosophy-layout {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.philosophy-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(33, 121, 168, 0.08);
}

.philosophy-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--sky-strong), var(--blue));
}

.philosophy-main {
  grid-row: span 2;
  background: linear-gradient(180deg, #ffffff 0%, #eef9ff 100%);
}

.card-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 12px;
  color: var(--deep);
  background: #e8f7ff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
}

.principle-list {
  display: grid;
  gap: 22px;
}

.principle-list div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.philosophy-card h3 {
  color: var(--deep);
  font-size: 28px;
}

.philosophy-card .statement {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.55;
}

.guideline-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guideline-list li {
  padding-left: 18px;
  border-left: 4px solid var(--sky-strong);
}

.guideline-list strong,
.guideline-list span {
  display: block;
}

.guideline-list strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
}

.nowrap-mobile {
  white-space: nowrap;
}

.job-card {
  display: grid;
  max-width: 1280px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.job-list {
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.job-list div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.job-list div:last-child {
  border-bottom: 0;
}

.job-list dt,
.job-list dd {
  margin: 0;
  padding: 22px 24px;
}

.job-list dt {
  color: var(--deep);
  background: #eef9ff;
  font-size: 17px;
  font-weight: 900;
}

.location-block {
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(320px, 1fr);
  align-items: start;
  gap: 14px;
}

.location-block p {
  margin: 0;
  color: var(--muted);
}

.location-block strong {
  display: block;
  margin-bottom: 0;
  color: var(--ink);
}

.location-address {
  font-size: 16px;
  line-height: 1.75;
}

.location-address span {
  white-space: nowrap;
}

.location-block iframe {
  width: 100%;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.job-aside {
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.job-aside ul {
  margin: 0 0 24px;
  padding-left: 1.25em;
}

.job-aside li {
  margin-bottom: 10px;
  font-size: 17px;
  white-space: nowrap;
}

.work-grid {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.culture {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(680px, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
}

.culture-copy {
  max-width: 820px;
}

.culture-title {
  white-space: nowrap;
}

.culture-copy p + p {
  margin-top: 14px;
}

.culture-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.culture-panel div {
  padding: 28px;
  background: rgba(255, 255, 255, 0.8);
}

.culture-panel .dream-card {
  position: relative;
  padding-left: 34px;
}

.culture-panel .dream-card::before {
  position: absolute;
  top: 32px;
  left: 18px;
  width: 6px;
  height: calc(100% - 64px);
  min-height: 34px;
  content: "";
  background: var(--sky-strong);
  border-radius: 999px;
}

.culture-panel strong,
.culture-panel span {
  display: block;
}

.culture-panel strong {
  font-size: 24px;
  line-height: 1.2;
}

.culture-panel span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 17px;
}

.youtube {
  background: linear-gradient(135deg, #dff4ff 0%, #eef9ff 100%);
}

.youtube-card {
  max-width: 880px;
  padding: 38px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.youtube-title {
  white-space: nowrap;
}

.about-title {
  white-space: nowrap;
}

.entry-title {
  white-space: nowrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--blue);
  border-bottom: 2px solid var(--sky-strong);
  font-weight: 900;
}

.youtube-icon {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 20px;
  flex: 0 0 auto;
  background: #ff0033;
  border-radius: 6px;
}

.youtube-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  content: "";
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
  transform: translate(-35%, -50%);
}

.entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(135deg, var(--deep), var(--blue));
  color: var(--white);
}

.entry div {
  max-width: 760px;
}

.entry p {
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 6vw, 86px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer p {
  margin: 0;
}

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

@media (max-width: 860px) {
  .nav a:not(:last-child) {
    display: none;
  }

  .feature-grid,
  .philosophy-layout,
  .job-card,
  .work-grid,
  .culture {
    grid-template-columns: 1fr;
  }

  .job-list div {
    grid-template-columns: 1fr;
  }

  .job-list dt,
  .job-list dd {
    padding: 16px 20px;
  }

  .job-aside li {
    white-space: normal;
  }

  .location-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .culture {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .nav {
    font-size: 14px;
  }

  .nav .nav-entry {
    display: inline-flex;
    min-width: 76px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    color: var(--white);
    background: var(--blue);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(33, 121, 168, 0.26);
  }

  .hero {
    min-height: 88vh;
    padding: 112px 20px 52px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(14, 79, 114, 0.92), rgba(33, 121, 168, 0.42));
  }

  .hero-actions .button,
  .entry .button {
    width: 100%;
  }

  .hero-copy-line {
    white-space: normal;
  }

  section {
    padding: 62px 20px;
  }

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

  .section-head.wide h2 {
    white-space: normal;
  }

  .culture-title {
    white-space: normal;
  }

  .nowrap-mobile {
    font-size: clamp(17px, 5vw, 20px);
    white-space: nowrap;
  }

  .feature-grid article,
  .philosophy-card,
  .work-grid article,
  .job-aside,
  .youtube-card {
    padding: 24px;
  }

  .youtube-title {
    font-size: clamp(24px, 6.2vw, 32px);
    white-space: nowrap;
  }

  .about-title {
    font-size: clamp(24px, 6.2vw, 32px);
    white-space: nowrap;
  }

  .entry-title {
    font-size: clamp(24px, 6.2vw, 32px);
    white-space: nowrap;
  }

  .entry,
  .footer {
    display: block;
  }

  .entry .button,
  .footer div {
    margin-top: 18px;
  }
}
