:root {
  --font-ja: "M PLUS 1p", "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;
  --color-text: #111111;
  --color-text-sub: #374151;
  --color-muted: #6b7280;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f7f5;
  --color-bg-soft-2: #eceae4;
  --color-border: #e5e7eb;
  --color-black: #121212;
  --color-white: #ffffff;
  --color-gold: #b8933d;
  --color-gold-light: #e6d2a2;
  --color-navy: #18314f;
  --color-navy-deep: #102235;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --transition: 0.3s ease;
  --container: 1280px;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.section-heading {
  margin-bottom: 52px;
}

.section-kicker {
  margin: 0 0 18px;
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.section-title-light {
  color: var(--color-white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-logo img {
  width: auto;
  height: 40px;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1720 0%, #1d2936 100%);
}

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

.hero-media-building,
.hero-media-person {
  position: absolute;
}

.hero-media-building {
  inset: 0;
}

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

.hero-media-person {
  right: min(6vw, 72px);
  bottom: 0;
  width: min(36vw, 500px);
  max-height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-media-person img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.28));
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 14, 21, 0.86) 0%, rgba(8, 14, 21, 0.72) 34%, rgba(8, 14, 21, 0.34) 62%, rgba(8, 14, 21, 0.18) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding-top: 112px;
  padding-bottom: 136px;
}

.hero-copy {
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(160px, 20vw, 210px);
  aspect-ratio: 1;
  min-height: unset;
  margin: 0 0 32px;
  padding: 18px;
  border: 3px solid var(--color-gold);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-align: center;
}

.hero-badge span {
  display: block;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

@media (max-width: 767px) {
  .hero-badge {
    width: 132px;
    padding: 12px;
    border-width: 2px;
    font-size: 0.95rem;
    line-height: 1.3;
  }
}

.hero-title {
  margin: 0 0 34px;
  max-width: 900px;
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--color-white);
  word-break: keep-all;
}

.hero-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 820px;
}

.hero-tags li {
  padding: 16px 20px;
  border: 1px solid rgba(230, 210, 162, 0.4);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  font-size: clamp(1.05rem, 1.7vw, 1.38rem);
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-white);
}

.section-merit-intro {
  background: linear-gradient(180deg, #ffffff 0%, #f8f7f3 100%);
}

.card-grid {
  display: grid;
  gap: 28px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.merit-intro-grid {
  gap: 24px;
}

.merit-card {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 30px 28px;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.merit-card:hover {
  transform: translateY(-2px);
}

.merit-card-light {
  border: 1px solid rgba(184, 147, 61, 0.18);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.merit-card-icon {
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, #9a782d 100%);
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-white);
}

.merit-card-content {
  flex: 1;
}

.merit-card-title {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--color-navy-deep);
}

.merit-card-text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 500;
  color: var(--color-text-sub);
}

.section-work {
  background: var(--color-white);
}

.feature-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.feature-card-media {
  position: relative;
  height: 260px;
  overflow: hidden;
}

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

.feature-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.08), transparent);
}

.feature-card-number {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-en);
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.86);
}

.feature-card-body {
  padding: 28px;
}

.feature-card-title {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--color-navy-deep);
}

.feature-card-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 500;
  color: #4b5563;
}

.work-property-box {
  margin-top: 34px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #faf7ef 0%, #f4eedf 100%);
  border: 1px solid rgba(184, 147, 61, 0.2);
}

.work-property-title {
  margin: 0 0 18px;
  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--color-navy-deep);
}

.work-property-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-property-list li {
  position: relative;
  padding-left: 22px;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 700;
  color: var(--color-text-sub);
}

.work-property-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-gold);
  font-weight: 900;
}

.section-about {
  background: linear-gradient(180deg, #f8f7f3 0%, #ffffff 100%);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.about-media-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-media-card {
  position: relative;
  z-index: 1;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-medium);
}

.about-media-card img {
  width: 100%;
  max-width: 340px;
}

.about-media-accent {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(184, 147, 61, 0.24) 0%, rgba(184, 147, 61, 0.08) 100%);
}

.about-title {
  margin: 0 0 28px;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.55;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--color-navy-deep);
}

.about-text-group {
  display: grid;
  gap: 18px;
}

.about-text-group p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.95;
  font-weight: 500;
  color: var(--color-text-sub);
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.about-points li {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--color-white);
  border: 1px solid rgba(24, 49, 79, 0.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  font-size: 0.96rem;
  line-height: 1.5;
  font-weight: 800;
  color: var(--color-navy);
}

.section-process {
  background: linear-gradient(135deg, #f4f4f4 0%, #ececec 100%);
}

.process-layout {
  max-width: 780px;
  margin: 0 auto;
}

.process-list {
  display: grid;
  gap: 22px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.process-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
}

.process-item:not(.is-last)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  width: 2px;
  height: 22px;
  background: #cbd5e1;
}

.process-dot {
  position: relative;
  z-index: 1;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: var(--color-white);
}

.process-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-right: 3px solid #94a3b8;
  border-bottom: 3px solid #94a3b8;
  transform: translate(-50%, -65%) rotate(45deg);
}

.process-item.is-active .process-dot {
  border: none;
  background: linear-gradient(135deg, var(--color-gold) 0%, #9a782d 100%);
  box-shadow: 0 8px 22px rgba(184, 147, 61, 0.28);
}

.process-item.is-active .process-dot::before {
  border-color: var(--color-white);
}

.process-box {
  flex: 1;
  padding: 22px 28px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  font-size: 1.12rem;
  line-height: 1.75;
  font-weight: 700;
}

.notice-card {
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

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

.notice-list li {
  position: relative;
  padding-left: 34px;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 500;
  color: var(--color-text-sub);
}

.notice-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, #9a782d 100%);
}

.notice-list li::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 6px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(-45deg);
}

.section-interview {
  background: var(--color-white);
}

.interview-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  box-shadow: var(--shadow-medium);
}

.interview-image-wrap {
  position: relative;
}

.interview-image-wrap img {
  width: 100%;
  border-radius: var(--radius-md);
}

.interview-quote-mark {
  position: absolute;
  top: -14px;
  left: -14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, #9a782d 100%);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
}

.interview-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.interview-meta {
  display: inline-flex;
  align-self: flex-start;
  margin: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f6efe0;
  font-size: 1rem;
  font-weight: 800;
  color: #7b5e1b;
}

.interview-text {
  margin: 0;
  font-size: 1rem;
  line-height: 2;
  font-weight: 500;
  color: var(--color-text-sub);
}

.section-dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy-deep) 0%, #182a42 100%);
  color: var(--color-white);
}

.requirements-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-strong);
}

.requirements-list {
  margin: 0;
}

.requirements-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-bottom: 1px solid var(--color-border);
}

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

.requirements-row dt,
.requirements-row dd {
  margin: 0;
  padding: 28px 30px;
}

.requirements-row dt {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #15263b 0%, #1f3553 100%);
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.requirements-row dd {
  background: var(--color-white);
  font-size: 1rem;
  line-height: 1.95;
  font-weight: 500;
  color: var(--color-text-sub);
}

.section-form {
  background: linear-gradient(135deg, #f7f7f5 0%, #eceae4 100%);
}

.form-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 38px 42px 44px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-medium);
}

.application-form {
  display: grid;
  gap: 24px;
}

.form-group {
  display: grid;
  gap: 10px;
}

.form-group label {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--color-navy-deep);
}

.form-group label span {
  margin-left: 8px;
  font-size: 0.84rem;
  color: #dc2626;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid #d8dee6;
  border-radius: 14px;
  background: #ffffff;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #b8933d;
  box-shadow: 0 0 0 3px rgba(184, 147, 61, 0.14);
}

.form-group textarea {
  min-height: 136px;
  resize: vertical;
}

.form-status {
  display: none;
  order: 99;
  margin-top: 4px;
  margin-bottom: 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.7;
}

.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-success {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.form-status.is-error {
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

.form-actions {
  order: 100;
  padding-top: 4px;
}

.field-error {
  min-height: 1.4em;
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: #dc2626;
}

.application-form input.is-error,
.application-form textarea.is-error {
  background-color: #fff7f7;
  border-color: #ef4444;
  box-shadow: inset 0 0 0 1px #ef4444;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 24px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #d70000 0%, #a50000 100%);
  color: var(--color-white);
  box-shadow: 0 12px 28px rgba(167, 0, 0, 0.28);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.button-large {
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 1rem;
}

.button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.site-footer {
  padding: 44px 0 118px;
  background: #e9e6df;
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #4b5563;
}

.floating-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.floating-cta .button-primary {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  box-shadow: 0 12px 28px rgba(21, 128, 61, 0.28);
}

.floating-cta-inner {
  padding-top: 16px;
  padding-bottom: 16px;
}

@media (max-width: 1100px) {
  .card-grid-3,
  .about-layout,
  .interview-card {
    grid-template-columns: 1fr;
  }

  .hero-media-person {
    width: min(38vw, 420px);
    right: 16px;
  }

  .hero-copy {
    max-width: 680px;
  }
}

@media (max-width: 900px) {
  .card-grid-2,
  .hero-tags {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 88px 0;
  }

  .hero,
  .hero-inner {
    min-height: 700px;
  }

  .hero-inner {
    padding-top: 92px;
    padding-bottom: 116px;
  }

  .hero-media-person {
    width: min(42vw, 340px);
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-logo img {
    height: 32px;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .hero {
    min-height: 660px;
  }

  .hero-inner {
    min-height: 660px;
    align-items: flex-start;
    padding-top: 86px;
    padding-bottom: 96px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-badge {
    min-height: 60px;
    margin-bottom: 22px;
    padding: 12px 18px;
    border-width: 2px;
    font-size: 0.95rem;
  }

  .hero-title {
    margin-bottom: 24px;
  }

  .hero-media-person {
    right: 0;
    width: min(52vw, 240px);
    opacity: 0.92;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 14, 21, 0.8) 0%, rgba(8, 14, 21, 0.76) 42%, rgba(8, 14, 21, 0.42) 100%);
  }

  .hero-tags li,
  .feature-card-body,
  .merit-card,
  .notice-card,
  .interview-card,
  .form-card,
  .requirements-row dt,
  .requirements-row dd,
  .work-property-box {
    padding: 22px;
  }

  .feature-card-media {
    height: 220px;
  }

  .requirements-row {
    grid-template-columns: 1fr;
  }

  .process-item {
    gap: 14px;
  }

  .process-box {
    padding: 18px 18px;
    font-size: 1rem;
  }

  .process-item:not(.is-last)::after {
    left: 23px;
    height: 20px;
  }

  .about-media-card {
    padding: 24px;
  }

  .about-media-accent {
    width: 84px;
    height: 84px;
    right: -10px;
    bottom: -10px;
  }

  .about-points {
    gap: 10px;
  }

  .about-points li {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 104px;
  }
}