:root {
  --blue: #1e5a9f;
  --ink: #111;
  --muted: #666;
  --paper: #f8f7f6;
  --line: #e8e5e1;
  --shadow: 0 28px 45px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

.mobile-only {
  display: none;
}

.desktop-only {
  display: inline;
}

.site-header {
  align-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(70, 70, 70, 0.16) 58%, rgba(0, 0, 0, 0));
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 48px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
}

.site-logo {
  display: block;
  width: 200px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 6px;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 44px;
  z-index: 70;
}

.menu-button span {
  background: currentColor;
  display: block;
  height: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 24px;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  align-items: center;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: 100dvh;
  justify-content: center;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transition: opacity 0.22s ease;
  width: 100%;
  z-index: 60;
}

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

.mobile-menu a {
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 22px;
  letter-spacing: 0.14em;
}

.hero,
.page-hero {
  background-position: center;
  background-size: cover;
  color: #fff;
  min-height: 100vh;
  position: relative;
}

.hero::before,
.page-hero::before {
  background: rgba(0, 0, 0, 0.34);
  content: "";
  inset: 0;
  position: absolute;
}

.hero {
  align-items: center;
  display: flex;
  overflow: hidden;
}

.hero-content {
  margin: 0 auto;
  max-width: 1180px;
  padding: 160px 48px 96px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.12;
  margin: 0 0 34px;
  max-width: 1120px;
}

.hero-title-line {
  display: inline;
}

html[lang="en"] .hero-title-line {
  display: block;
}

html[lang="en"] .hero h1 {
  font-size: clamp(40px, 5.8vw, 72px);
}

.hero p {
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.8;
  margin: 0;
  max-width: 760px;
}

.scroll-label {
  bottom: 40px;
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  position: absolute;
  right: 48px;
  z-index: 1;
}

.page-hero {
  align-items: flex-end;
  display: flex;
  min-height: 526px;
}

.page-hero-content {
  padding: 0 48px 190px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.page-hero h1 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  margin: 0 0 28px;
}

.page-hero p {
  font-size: clamp(22px, 3vw, 32px);
  margin: 0;
}

.section {
  padding: 96px 48px;
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.section-title {
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  margin: 0 0 64px;
  text-align: center;
}

.service-list {
  display: grid;
  gap: 72px;
}

.service-item {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.service-item:nth-child(even) .service-copy {
  order: -1;
}

.image-frame {
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 360px;
  overflow: hidden;
}

.image-frame img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.service-copy h3 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.3;
  margin: 0 0 24px;
}

.service-copy p,
.body-copy {
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
  overflow-wrap: anywhere;
}

.body-copy + .body-copy {
  margin-top: 16px;
}

.blue-cta {
  background: var(--blue);
  color: #fff;
  padding: 96px 48px;
}

.blue-cta .section-inner {
  align-items: center;
  display: flex;
  gap: 48px;
  justify-content: space-between;
}

.blue-cta h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.55;
  margin: 0 0 24px;
}

.blue-cta p {
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

.button-link,
.submit-button {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 8px;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 56px;
  padding: 0 38px;
  white-space: nowrap;
}

.button-link::after,
.submit-button::after {
  content: ">";
  font-family: Arial, sans-serif;
}

.careers {
  background: #fff;
}

.careers-grid {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
}

.careers h2 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  margin: 0 0 24px;
}

.mission {
  background: var(--paper);
  text-align: center;
}

.mission h2 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(34px, 5vw, 64px);
  margin: 0 0 24px;
}

.mission p {
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.7;
  margin: 0 auto 48px;
  max-width: 900px;
}

.mission .image-frame {
  height: 520px;
  margin: 0 auto;
  max-width: 840px;
}

.profile-grid {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
}

.profile h2 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  margin: 0 0 18px;
}

.profile-subtitle {
  font-size: 24px;
  margin: 0 0 48px;
}

.profile-table {
  border-top: 1px solid var(--line);
  display: grid;
}

.profile-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 160px minmax(0, 1fr);
  padding: 24px 0;
}

.profile-row dt,
.profile-row dd {
  margin: 0;
}

.profile-row dd {
  line-height: 1.7;
}

.contact-section {
  padding: 96px 24px;
}

.contact-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
  max-width: 1088px;
  padding: 72px;
}

.contact-lead {
  margin: 0 auto 56px;
  max-width: 680px;
  text-align: center;
}

.contact-lead h2 {
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.5;
  margin: 0 0 28px;
}

.contact-lead p {
  line-height: 1.8;
  margin: 0;
}

.form-row {
  display: grid;
  gap: 20px;
  grid-template-columns: 180px minmax(0, 1fr);
  margin-bottom: 28px;
}

.form-label {
  align-items: center;
  display: flex;
  gap: 8px;
  min-height: 54px;
}

.required {
  color: #ff5b62;
}

.input,
.textarea {
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  padding: 16px 18px;
  width: 100%;
}

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

.agree {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 40px 0 28px;
}

.agree input {
  height: 20px;
  width: 20px;
}

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

.submit-button {
  background: #1c1c1c;
  color: #fff;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.honeypot {
  height: 1px;
  left: -9999px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.form-status {
  line-height: 1.7;
  margin-top: 24px;
  min-height: 1.7em;
  text-align: center;
}

.news-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
  max-width: 860px;
  padding: 64px;
}

.news-card time {
  color: var(--blue);
  display: block;
  font-family: Montserrat, Arial, sans-serif;
  margin-bottom: 18px;
}

.news-card h2 {
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.5;
  margin: 0 0 28px;
}

.news-card p {
  line-height: 1.9;
  margin: 0 0 18px;
}

.breadcrumb {
  color: var(--muted);
  display: flex;
  gap: 12px;
  margin: 32px auto 0;
  max-width: 1180px;
  padding: 0 48px;
}

.breadcrumb a {
  color: var(--blue);
}

.site-footer {
  background: #000;
  color: #fff;
  padding: 96px 48px 42px;
}

.footer-actions {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto 72px;
  max-width: 1180px;
}

.footer-card {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  color: #111;
  display: flex;
  justify-content: space-between;
  min-height: 156px;
  padding: 36px;
}

.footer-card h3 {
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 34px;
  line-height: 1;
  margin: 0 0 12px;
}

.footer-card p {
  line-height: 1.5;
  margin: 0;
}

.footer-card.disabled {
  pointer-events: none;
}

.footer-bottom {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
}

.footer-brand {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.copyright {
  color: #bbb;
  font-size: 12px;
  margin: 32px auto 0;
  max-width: 1180px;
}

@media (max-width: 840px) {
  .site-header {
    padding: 24px;
  }

  .site-logo {
    width: 200px;
  }

  .site-nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .hero {
    min-height: 852px;
  }

  .hero-content {
    padding: 128px 48px 120px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.35;
  }

  .hero-title-line {
    display: block;
  }

  .hero p {
    font-size: 13px;
    line-height: 1.75;
    max-width: calc(100vw - 72px);
    overflow-wrap: anywhere;
  }

  html[lang="en"] .hero h1 {
    font-size: 31px;
  }

  .scroll-label {
    display: none;
  }

  .page-hero {
    min-height: 273px;
  }

  .page-hero-content {
    padding: 96px 24px 64px;
  }

  .page-hero h1 {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .page-hero p {
    font-size: 20px;
  }

  .section {
    padding: 72px 24px;
  }

  .section-title {
    font-size: 40px;
    margin-bottom: 84px;
  }

  .service-list {
    gap: 58px;
  }

  .service-item,
  .service-item:nth-child(even) {
    display: block;
  }

  .service-item:nth-child(even) .service-copy {
    order: 0;
  }

  .image-frame {
    height: 210px;
    margin-bottom: 30px;
  }

  .service-copy h3 {
    font-size: 26px;
    text-align: center;
  }

  .service-copy p,
  .body-copy {
    font-size: 14px;
    line-height: 1.75;
  }

  .blue-cta {
    padding: 72px 24px;
  }

  .blue-cta .section-inner {
    align-items: flex-start;
    display: block;
  }

  .blue-cta h2 {
    font-size: 22px;
  }

  .blue-cta p {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .button-link {
    min-width: min(260px, 100%);
  }

  .careers-grid,
  .profile-grid {
    display: block;
  }

  .careers .image-frame,
  .profile .image-frame {
    margin-top: 36px;
  }

  .mission p {
    font-size: 20px;
  }

  .mission .image-frame {
    height: 242px;
  }

  .profile-subtitle {
    font-size: 20px;
  }

  .profile-row {
    gap: 18px;
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .contact-card {
    max-width: 100%;
    overflow: hidden;
    padding: 48px 24px;
    width: 100%;
  }

  .contact-lead {
    margin-bottom: 44px;
    text-align: left;
  }

  .contact-lead h2 {
    font-size: 22px;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .contact-lead p {
    font-size: 14px;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .form-row {
    display: block;
    min-width: 0;
  }

  .form-label {
    min-height: 0;
    margin-bottom: 12px;
  }

  .agree {
    align-items: flex-start;
    font-size: 14px;
    justify-content: flex-start;
    line-height: 1.6;
  }

  .agree span {
    flex: 1;
    min-width: 0;
  }

  .input,
  .textarea {
    max-width: 100%;
    min-width: 0;
  }

  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .news-card {
    padding: 40px 24px;
  }

  .breadcrumb {
    padding: 0 24px;
  }

  .site-footer {
    padding: 72px 24px 36px;
  }

  .footer-actions {
    grid-template-columns: 1fr;
  }

  .footer-card {
    min-height: 132px;
    padding: 28px 24px;
  }

  .footer-card h3 {
    font-size: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    display: block;
  }

  .footer-links {
    flex-wrap: wrap;
    margin-top: 24px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 33px;
  }

  html[lang="en"] .hero h1 {
    font-size: 30px;
  }

  .hero-content {
    padding-left: 36px;
    padding-right: 36px;
  }
}
