.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #ffffff;
  display: grid;
  place-items: center;
  transition:
    opacity 0.42s ease,
    visibility 0.42s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  text-align: center;
  padding: 0 20px;
}

.loader__brand {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.4rem, 5vw, 2.8rem);
  letter-spacing: 0.14em;
  font-weight: 700;
}

.loader__sub {
  margin-top: 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.loader__skip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-height: 44px;
  min-width: 86px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.hero {
  position: relative;
  width: min(1320px, calc(100% - 24px));
  height: min(92vh, 860px);
  min-height: 620px;
  margin: calc(var(--header-height) + 8px) auto 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.hero__track {
  display: flex;
  width: 300%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero__media {
  position: relative;
  width: 33.3333%;
  height: 100%;
  flex-shrink: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      96deg,
      rgba(16, 24, 38, 0.74) 0%,
      rgba(16, 24, 38, 0.48) 42%,
      rgba(16, 24, 38, 0.22) 68%,
      rgba(16, 24, 38, 0.1) 100%
    ),
    linear-gradient(180deg, rgba(9, 16, 27, 0) 0%, rgba(9, 16, 27, 0.48) 100%);
}

.hero__thread {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.9;
}

.hero__brand-logo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero__brand-img {
  width: clamp(280px, 50vw, 500px);
  height: auto;
  object-fit: contain;
  /* ロゴが黒や暗い色の場合に白背景用から見やすくするフィルター（必要に応じて調整） */
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.hero__brand-sub {
  margin-top: 16px;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.7rem, 2vw, 1.25rem);
  letter-spacing: 0.15em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.hero__inner {
  position: absolute;
  left: clamp(18px, 4vw, 54px);
  right: clamp(18px, 18vw, 280px);
  bottom: clamp(34px, 7vw, 86px);
  z-index: 2;
  color: #f8fafc;
}

.hero__eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.hero__title {
  margin-top: 14px;
  font-family: "Inter", sans-serif;
  font-size: clamp(2rem, 6.3vw, 5rem);
  line-height: 1.1;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.hero__lead {
  margin-top: 20px;
  max-width: 62ch;
  color: rgba(248, 250, 252, 0.9);
  font-size: clamp(0.94rem, 1.2vw, 1.08rem);
}

.hero__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__actions .button--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.hero__meta {
  position: absolute;
  right: clamp(12px, 2vw, 28px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 2;
  width: min(360px, calc(100% - 24px));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(6, 12, 24, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__meta li {
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__meta li:first-child {
  border-top: none;
}

.hero__meta span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  min-width: 22px;
}

.intro__body {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.intro__body p {
  color: #1f2937;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
}

.stage {
  padding-top: 84px;
}

.stage__row {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
}

.stage__row + .stage__row {
  margin-top: 18px;
}

.stage__row--reverse .stage__photo {
  order: 2;
}

.stage__row--reverse .stage__body {
  order: 1;
}

.stage__photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #dce2ea;
}

.stage__photo img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.representative-row {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.representative-row .stage__photo img {
  aspect-ratio: 3 / 4;
}

.stage__body h3 {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.24rem, 2.2vw, 1.9rem);
  line-height: 1.3;
}

.stage__body p {
  margin-top: 8px;
  color: var(--muted);
}

.stage__body .button {
  margin-top: 16px;
}

.process-lines {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.process-lines li {
  border-bottom: 1px solid var(--line);
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.process-lines strong {
  font-family: "Inter", sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  min-width: 30px;
}

.process-lines span {
  color: #1f2937;
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
}

.wide-visual {
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.wide-visual img {
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.organization-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.organization-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--surface);
}

.organization-table th,
.organization-table td {
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  padding: 14px;
  font-size: 0.92rem;
}

.organization-table tr:first-child th,
.organization-table tr:first-child td {
  border-top: none;
}

.organization-table th {
  width: 142px;
  color: var(--muted);
  font-weight: 500;
}

.organization-stats {
  border: 1px solid var(--line);
  background: #fff;
}

.organization-stats li {
  border-top: 1px solid var(--line);
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.organization-stats li:first-child {
  border-top: none;
}

.organization-stats span {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.organization-stats strong {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.18rem, 2.3vw, 1.72rem);
  color: var(--accent);
}

.team-lines {
  border-top: 1px solid var(--line);
}

.team-line {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
}

.team-line .num {
  font-family: "Inter", sans-serif;
  font-size: 1.45rem;
  color: #c1c9d4;
  line-height: 1;
}

.team-line h3 {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.22rem, 2vw, 1.7rem);
  line-height: 1.3;
}

.team-line p {
  margin-top: 8px;
  color: var(--muted);
}

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

.product-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 24px;
}

.product-card__body h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.product-card__body p {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.member-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}

.member-card__avatar {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-soft);
}

.member-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-card__info {
  padding: 20px;
}

.member-card__info h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
}

.member-card__info .role {
  display: block;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.member-card__info p {
  color: var(--muted);
  font-size: 0.9rem;
}

.access-split {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.access-map,
.access-copy {
  border: 1px solid var(--line);
  background: #fff;
  min-height: 100%;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

.access-copy {
  padding: 20px;
}

.access-copy .address {
  font-weight: 600;
}

.access-copy ul {
  margin: 12px 0 16px;
  display: grid;
  gap: 8px;
}

.access-copy li {
  color: var(--muted);
  position: relative;
  padding-left: 1em;
}

.access-copy li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.contact-form {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.contact-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

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

.contact-form__toggle {
  border: 1px solid var(--line);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.contact-form__toggle legend {
  padding: 0 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form__toggle label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.contact-form__toggle input[type="radio"] {
  margin-top: 0.25em;
  accent-color: var(--accent);
}

.contact-form__toggle span {
  font-size: 0.94rem;
  color: var(--text);
}

.contact-form__field {
  display: grid;
  gap: 6px;
}

.contact-form__field span {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 10px 12px;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form__actions {
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-form__note {
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-form__status {
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form__status.is-success {
  color: #0f6d3e;
}

.contact-form__status.is-error {
  color: #b42318;
}

.flow-modal {
  position: fixed;
  inset: 0;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.flow-modal[open] {
  display: grid;
  place-items: center;
}

.flow-modal::backdrop {
  background: rgba(15, 23, 42, 0.56);
}

.flow-modal__panel {
  width: min(760px, calc(100% - 26px));
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.flow-modal__panel h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.82rem);
  margin-bottom: 12px;
}

.flow-modal__panel ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin-bottom: 14px;
}

.flow-modal__panel li {
  list-style: decimal;
  margin-left: 1.25em;
  color: var(--muted);
  font-size: 0.9rem;
}

.js-reveal-block {
  opacity: 0;
  transform: translateY(16px);
}

.js-reveal-block.is-inview {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .hero {
    width: calc(100% - 16px);
  }

  .hero__inner {
    right: 20px;
  }

  .hero__meta {
    position: static;
    width: calc(100% - 40px);
    margin: 16px auto 0;
    background: rgba(6, 12, 24, 0.72);
  }

  .intro__body,
  .organization-grid,
  .access-split {
    grid-template-columns: 1fr;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .stage__row,
  .representative-row {
    grid-template-columns: 1fr;
  }

  .stage__row--reverse .stage__photo,
  .stage__row--reverse .stage__body {
    order: initial;
  }

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

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

@media (max-width: 760px) {
  .hero {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    margin-top: calc(var(--header-height) + 4px);
    margin-inline: 0;
    border-radius: 16px;
    display: block;
  }

  .hero__media {
    border-radius: 0;
  }

  .hero__veil {
    display: block;
  }

  .hero__thread {
    height: 100%;
    opacity: 0.72;
  }

  .hero__brand-logo {
    display: none;
  }

  .hero__brand-sub {
    margin-top: 12px;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 1.4;
  }

  .hero__inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 16px;
    text-align: left;
    color: #f8fafc;
  }

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

  .hero__title {
    margin-top: 0;
    color: #f8fafc;
    font-size: clamp(calc(1.6rem - 2px), calc(8.4vw - 2px), calc(2.35rem - 2px));
    line-height: 1.22;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
  }

  .hero__lead {
    margin-top: 16px;
    color: rgba(248, 250, 252, 0.9);
    margin-inline: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 32ch;
  }

  .hero__lead br {
    display: none;
  }

  .hero__actions {
    display: none;
  }

  .hero__meta {
    display: none;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .intro__body,
  .stage__row,
  .team-line {
    gap: 14px;
  }

  .process-lines li {
    min-height: 56px;
  }

  .team-line {
    grid-template-columns: 46px 1fr;
  }

  .team-line .num {
    font-size: 1.1rem;
  }

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

  .flow-modal__panel {
    padding: 18px;
  }

  .flow-modal__panel ol {
    grid-template-columns: 1fr;
  }

  .js-reveal-block {
    opacity: 1;
    transform: none;
  }
}
