/*
Theme Name: Taisho Kogyo Corporate
Theme URI: https://taisho-kogyo.com/
Author: Taisho Kogyo
Description: 大翔興業の公式ホームページテーマ
Version: 1.0.0
Text Domain: taisho-kogyo
*/

:root {
  --blue: #285b8f;
  --deep-blue: #081c31;
  --ink: #071016;
  --panel: #101412;
  --panel-2: #2d302d;
  --line: #67c6ff;
  --gold: #f6bd28;
  --paper: #f6f9fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12px 12px, rgba(255,255,255,.10) 1.5px, transparent 2px) 0 0 / 30px 30px,
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 180px 100%,
    linear-gradient(180deg, #1f5a91 0%, #12385f 34%, var(--deep-blue) 100%);
  color: var(--paper);
  font-family: "Arial", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}

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

.site-header {
  align-items: center;
  background: rgba(3, 12, 18, .91);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.14);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 70px;
  padding: 12px clamp(16px, 4vw, 48px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

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

.brand-mark {
  align-items: center;
  background: #061327;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  font-size: 24px;
  font-weight: 900;
  height: 64px;
  line-height: 1;
  place-items: center;
  overflow: hidden;
  width: 210px;
}

.brand-mark img {
  height: 82%;
  object-fit: contain;
  object-position: center;
  width: 88%;
}

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

.brand-copy strong {
  font-size: 16px;
  font-weight: 900;
}

.brand-copy small {
  color: rgba(255,255,255,.7);
  font-size: 11px;
  margin-top: 4px;
}

.brand-copy {
  display: none;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  padding: 8px 0;
}

.nav-cta {
  background: var(--gold);
  color: var(--ink);
  padding: 8px 14px !important;
}

.menu-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.menu-toggle span {
  background: var(--white);
  display: block;
  height: 2px;
  margin: 6px 0;
}

.hero {
  min-height: 1040px;
  overflow: hidden;
  padding: 112px 18px 0;
  position: relative;
}

.hero-bg,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-bg {
  background-image: url("./assets/hero-bg.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 30%),
    linear-gradient(90deg, rgba(5,18,34,.62), rgba(5,18,34,.18), rgba(5,18,34,.66)),
    linear-gradient(180deg, rgba(5,18,34,0) 54%, rgba(5,18,34,.28) 100%);
}

.hero-content {
  margin: 0 auto;
  max-width: 1120px;
  position: relative;
  text-align: center;
  z-index: 7;
}

.eyebrow {
  background: rgba(255,255,255,.84);
  color: var(--ink);
  display: inline-block;
  font-size: clamp(13px, 2vw, 18px);
  font-weight: 900;
  margin: 0 0 8px;
  padding: 2px 12px;
}

.hero h1 {
  color: #020506;
  font-size: clamp(50px, 6.5vw, 92px);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: .95;
  margin: 0 auto;
  max-width: 960px;
  text-shadow: 0 2px 0 rgba(255,255,255,.35);
}

.hero h1 span {
  display: block;
}

.jp-title {
  background: var(--ink);
  color: var(--white);
  display: inline-block;
  font-size: clamp(18px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1.25;
  margin: 14px 0 0;
  padding: 8px 34px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 18px auto 0;
  max-width: 760px;
}

.hero-links a {
  background: rgba(3, 12, 18, .86);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  min-width: 150px;
  padding: 10px 14px;
}

.hero-links a:first-child {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.hero-links a.hero-line-link {
  background: #06c755;
  border-color: #06c755;
  color: #001b0c;
}

.hero-actions {
  display: none;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

.button {
  align-items: center;
  border: 2px solid var(--ink);
  display: grid;
  font-size: 20px;
  font-weight: 900;
  height: 48px;
  place-items: center;
  width: 48px;
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
}

.button.secondary {
  background: var(--ink);
  color: var(--white);
}

.hero-characters {
  background: rgba(255,255,255,.92);
  border: 8px solid var(--white);
  bottom: 42px;
  box-shadow: 0 24px 60px rgba(0,0,0,.34);
  display: block;
  left: 50%;
  max-height: none;
  max-width: min(610px, 76vw);
  object-fit: contain;
  object-position: center;
  position: absolute;
  rotate: -2deg;
  transform: translateX(-50%);
  width: min(610px, 39vw);
  z-index: 4;
}

.section {
  margin: 0;
  max-width: none;
  padding: clamp(72px, 8vw, 112px) clamp(24px, 5vw, 72px);
  width: 100%;
}

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

.label {
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  margin: 0 0 4px;
}

.audience {
  background:
    linear-gradient(180deg, rgba(8,28,49,.18), rgba(8,28,49,.42)),
    radial-gradient(circle at 50% 0%, rgba(103,198,255,.18), transparent 44%);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(260px, 380px));
  justify-content: center;
  margin-top: 0;
  padding-bottom: clamp(72px, 8vw, 112px);
  padding-top: clamp(56px, 7vw, 88px);
}

.trust-strip {
  background: rgba(3, 12, 18, .76);
  border: 1px solid rgba(255,255,255,.16);
  display: grid;
  gap: 1px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-self: center;
  margin-bottom: 18px;
  max-width: 1180px;
  overflow: hidden;
  width: 100%;
}

.trust-strip span {
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.86);
  font-size: 14px;
  font-weight: 900;
  padding: 15px 18px;
  text-align: center;
}

.audience article,
.message-grid article,
.flow-grid article {
  background: linear-gradient(180deg, rgba(3, 12, 18, .91), rgba(3, 12, 18, .82));
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0,0,0,.20);
  padding: 28px;
}

.audience h2 {
  font-size: clamp(22px, 3vw, 30px);
}

.audience p:not(.label) {
  color: rgba(255,255,255,.82);
  margin: 14px 0 18px;
}

.audience a,
.partner-actions a,
.recruit-cta a,
.request-actions a {
  background: var(--gold);
  color: var(--ink);
  display: inline-block;
  font-weight: 900;
  padding: 10px 16px;
}

.section h2 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.15;
  margin: 0;
}

.split-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.split-head > p {
  color: rgba(255,255,255,.78);
  margin: 0;
  max-width: 460px;
}

.intro {
  background:
    linear-gradient(90deg, rgba(5,10,12,.96), rgba(8,28,49,.92)),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  border-bottom: 1px solid rgba(255,255,255,.10);
  border-top: 1px solid rgba(255,255,255,.10);
  margin-top: 0;
}

.intro .section-head,
.intro-grid,
.project-band .section-head,
.project-list,
.recruit .section-head,
.message-grid,
.recruit-offer,
.recruit-cta,
.partner .section-head,
.partner-layout,
.request .section-head,
.flow-grid,
.request-actions,
.company .section-head,
.company table,
.contact .section-head,
.contact-panel,
.contact-note {
  margin-left: auto;
  margin-right: auto;
  max-width: 1240px;
}

.intro-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .78fr);
}

.intro-grid p {
  font-size: clamp(17px, 2.4vw, 22px);
  margin: 0;
}

.intro-visual {
  margin: 24px 0 0;
}

.intro-visual img,
.service-grid img {
  border-radius: 8px;
  display: block;
  height: auto;
  width: 100%;
}

.intro-visual img {
  background: rgba(255,255,255,.92);
  border: 6px solid var(--white);
  box-shadow: 0 20px 45px rgba(0,0,0,.28);
  max-height: 390px;
  object-fit: cover;
  object-position: center;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  background: var(--ink);
  border-left: 4px solid var(--line);
  font-weight: 800;
  margin-bottom: 10px;
  padding: 12px 14px;
}

.feature-list span {
  color: var(--gold);
  margin-right: 12px;
}

.project-band {
  background:
    linear-gradient(180deg, rgba(52,56,52,.97), rgba(35,40,40,.98));
  border-bottom: 1px solid rgba(255,255,255,.12);
  border-top: 1px solid rgba(255,255,255,.12);
  color: var(--paper);
}

.project-band .label {
  color: var(--gold);
}

.project-band .split-head > p {
  color: rgba(255,255,255,.78);
}

.project-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, .84fr) minmax(420px, 1.16fr);
}

.project-main,
.project-card,
.service-grid article {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
}

.project-main {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.25)),
    url("./assets/taisho-mascot.jpg?v=helmet-clean-1") center / cover;
  display: flex;
  justify-content: space-between;
  min-height: 380px;
  padding: clamp(22px, 4vw, 38px);
}

.project-number {
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  margin: 0 0 10px;
}

.project-main h3,
.project-card h3 {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
  margin: 0 0 10px;
}

.project-main p:not(.project-number) {
  max-width: 460px;
}

.project-main a {
  align-items: center;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  flex: 0 0 auto;
  font-size: 26px;
  font-weight: 900;
  height: 56px;
  place-items: center;
  width: 56px;
}

.project-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.project-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 4px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.work-scene {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
  width: 100%;
}

.project-card:hover .work-scene {
  transform: scale(1.025);
}

.project-card p,
.project-card h3,
.project-card span {
  padding-left: 18px;
  padding-right: 18px;
}

.project-card p {
  display: none;
}

.project-card h3 {
  color: var(--white);
  font-size: clamp(22px, 2.8vw, 28px);
  margin-bottom: 12px;
  margin-top: 28px;
}

.project-card span {
  color: rgba(255,255,255,.72);
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  padding-bottom: 28px;
}
 
.project-gallery-trigger {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: block;
  font: inherit;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.project-gallery-trigger:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.project-card .project-gallery-label {
  align-items: center;
  background: rgba(3, 12, 18, .9);
  border-left: 3px solid var(--gold);
  bottom: 12px;
  color: var(--white);
  display: flex;
  font-size: 14px;
  font-weight: 900;
  left: 12px;
  line-height: 1;
  padding: 9px 12px;
  pointer-events: none;
  position: absolute;
}

body.modal-open {
  overflow: hidden;
}

.project-gallery {
  background: transparent;
  border: 0;
  color: var(--white);
  height: 100%;
  margin: auto;
  max-height: none;
  max-width: none;
  padding: 16px;
  width: 100%;
}

.project-gallery::backdrop {
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(5px);
}

.project-gallery-panel {
  background: #071016;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: min(900px, calc(100vh - 32px));
  margin: 0 auto;
  max-width: 1180px;
  overflow: hidden;
}

.project-gallery-header {
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
}

.project-gallery-header .label {
  margin: 0 0 4px;
}

.project-gallery-header h2 {
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.2;
  margin: 0;
}

.gallery-close,
.gallery-nav {
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  font-family: Arial, sans-serif;
  justify-content: center;
}

.gallery-close {
  border-radius: 50%;
  font-size: 32px;
  height: 44px;
  width: 44px;
}

.gallery-stage {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  min-height: 0;
  padding: 18px;
}

.gallery-stage figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  margin: 0;
  min-height: 0;
}

.gallery-main-image {
  display: block;
  height: 100%;
  max-height: 650px;
  object-fit: contain;
  width: 100%;
}

.gallery-counter {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 800;
  padding-top: 8px;
  text-align: center;
}

.gallery-nav {
  border-radius: 50%;
  font-size: 36px;
  height: 48px;
  width: 48px;
}

.gallery-close:hover,
.gallery-nav:hover,
.gallery-close:focus-visible,
.gallery-nav:focus-visible {
  background: var(--gold);
  color: var(--ink);
  outline: none;
}

.gallery-thumbnails {
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 120px));
  justify-content: center;
  padding: 14px 18px 18px;
}

.gallery-thumbnails-two {
  grid-template-columns: repeat(2, minmax(0, 120px));
}

.gallery-thumbnails-seven {
  grid-template-columns: repeat(7, minmax(0, 110px));
}

.gallery-thumb {
  background: transparent;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.gallery-thumb.is-active,
.gallery-thumb:focus-visible {
  border-color: var(--gold);
  outline: none;
}

.gallery-thumb img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 640px) {
  .project-gallery {
    padding: 0;
  }

  .project-gallery-panel {
    border: 0;
    border-radius: 0;
    height: 100vh;
  }

  .project-gallery-header {
    padding: 12px 14px;
  }

  .gallery-stage {
    gap: 6px;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    padding: 10px 6px;
  }

  .gallery-nav {
    font-size: 32px;
    height: 40px;
    width: 40px;
  }

  .gallery-main-image {
    max-height: none;
  }

  .gallery-thumbnails {
    gap: 6px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 10px;
  }

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

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

.service-grid article {
  min-height: 190px;
  overflow: hidden;
  padding: 0;
}

.service-grid img {
  aspect-ratio: 16 / 10;
  background: rgba(255,255,255,.92);
  object-fit: cover;
  object-position: center;
}

.service-grid article p,
.service-grid article strong {
  padding-left: 20px;
  padding-right: 20px;
}

.service-grid article p {
  padding-bottom: 20px;
}

.service-grid strong {
  color: var(--gold);
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
  margin-top: 18px;
}

.news,
.representative,
.company,
.contact {
  background:
    linear-gradient(180deg, rgba(3,12,18,.92), rgba(3,12,18,.82));
  border-top: 1px solid rgba(255,255,255,.12);
  position: relative;
}

.representative {
  background:
    linear-gradient(105deg, rgba(3,12,18,.97), rgba(8,28,49,.9)),
    radial-gradient(circle at 82% 24%, rgba(245,183,0,.12), transparent 34%);
}

.representative-layout { align-items: center; display: grid; gap: clamp(34px, 6vw, 84px); grid-template-columns: minmax(0, 1fr) minmax(190px, 240px); }

.representative-copy h2 { margin-bottom: 26px; }
.representative-copy > p:not(.label) { color: rgba(255,255,255,.82); line-height: 2; margin: 0 0 18px; }
.representative-copy .representative-lead { color: var(--white); font-size: clamp(22px, 2.4vw, 32px); font-weight: 900; line-height: 1.5; }
.representative-sign { border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; margin-top: 30px; padding-top: 20px; }
.representative-sign span { color: rgba(255,255,255,.66); font-size: 14px; }
.representative-sign strong { color: var(--white); font-size: 25px; margin-top: 4px; }
.representative-portrait { justify-self: end; margin: 0; max-width: 240px; position: relative; width: 100%; }
.representative-portrait::before { border: 1px solid rgba(245,183,0,.72); content: ""; inset: 12px -12px -12px 12px; position: absolute; }
.representative-portrait img { aspect-ratio: 4 / 5; display: block; object-fit: cover; position: relative; width: 100%; }
.representative-portrait figcaption { background: rgba(3,12,18,.92); border-left: 4px solid var(--gold); bottom: 12px; color: var(--white); font-size: 14px; font-weight: 800; left: -12px; padding: 10px 14px; position: absolute; }

.recruit,
.partner,
.request {
  background:
    linear-gradient(180deg, rgba(8,28,49,.88), rgba(3,12,18,.88));
  border-top: 1px solid rgba(255,255,255,.12);
}

.recruit .split-head img {
  background: rgba(255,255,255,.92);
  border: 6px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(0,0,0,.28);
  height: 190px;
  object-fit: cover;
  object-position: center;
  width: 340px;
}

.partner-image {
  background: rgba(255,255,255,.92);
  border: 6px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(0,0,0,.28);
  height: 190px;
  object-fit: cover;
  object-position: center;
  width: 340px;
}

.request-image {
  background: rgba(255,255,255,.92);
  border: 6px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(0,0,0,.28);
  height: 190px;
  object-fit: cover;
  object-position: center;
  width: 340px;
}

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

.message-grid h3,
.flow-grid h3 {
  color: var(--white);
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 10px;
}

.message-grid p,
.flow-grid p,
.partner-layout p {
  color: rgba(255,255,255,.82);
  margin: 0;
}

.recruit-offer {
  align-items: center;
  background: linear-gradient(135deg, rgba(255,193,7,.15), rgba(255,255,255,.08));
  border: 1px solid rgba(255,193,7,.42);
  border-radius: 8px;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  margin-top: 18px;
  padding: 24px;
}

.recruit-offer h3 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  margin: 0 0 10px;
}

.recruit-offer p:not(.label) {
  color: rgba(255,255,255,.84);
  margin: 0;
}

.recruit-actions {
  display: grid;
  gap: 12px;
}

.recruit-tags {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.recruit-tags li {
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
  padding: 12px 14px;
  text-align: center;
}

.line-consult {
  background: rgba(6,199,85,.1);
  border: 1px solid rgba(6,199,85,.62);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.line-consult-image {
  aspect-ratio: 16 / 7;
  border: 2px solid rgba(255,255,255,.9);
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.line-consult p {
  color: rgba(255,255,255,.84);
  font-size: 14px;
  margin: 0;
}

.line-consult-visual {
  display: block;
  transition: transform .18s ease, filter .18s ease;
}

.line-consult-visual:hover,
.line-consult-visual:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.line-button,
.contact-panel .line-contact-card {
  background: #06c755;
  color: #001b0c;
}

.line-button {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 13px 18px;
}

.line-button span {
  background: #fff;
  border-radius: 999px;
  color: #06c755;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 6px 8px;
}

.line-button strong {
  font-size: 16px;
  line-height: 1.2;
}

.recruit-cta {
  align-items: center;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 18px;
  padding: 18px 20px;
}

.recruit-cta p {
  margin: 0;
}

.partner-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr);
}

.partner-actions,
.cta-actions,
.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.partner-actions,
.request-actions {
  margin-top: 22px;
}

.partner-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.partner-points li {
  background: var(--panel);
  border-left: 4px solid var(--line);
  font-weight: 800;
  margin-bottom: 10px;
  padding: 13px 16px;
}

.flow-grid strong {
  color: var(--gold);
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.section-mascot {
  background: rgba(255,255,255,.92);
  border: 5px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(0,0,0,.28);
  height: 150px;
  object-fit: cover;
  object-position: center;
  position: absolute;
  right: 22px;
  top: 24px;
  width: 210px;
}

.company-profile-image {
  height: 145px;
  width: 230px;
}

.contact-welcome-image {
  height: 145px;
  width: 230px;
}

.company .section-head,
.contact .section-head,
.company table,
.contact form,
.contact-panel {
  position: relative;
  z-index: 1;
}

.company .section-head,
.contact .section-head {
  padding-right: 240px;
}

.news-list {
  margin: 0;
}

.news-list div {
  border-bottom: 1px solid rgba(255,255,255,.16);
  display: grid;
  gap: 18px;
  grid-template-columns: 160px minmax(0, 1fr);
  padding: 18px 0;
}

.news-list dt {
  color: var(--gold);
  font-weight: 900;
}

.news-list dd {
  margin: 0;
}

table {
  border-collapse: collapse;
  background: rgba(3, 12, 18, .30);
  border: 1px solid rgba(255,255,255,.10);
  width: 100%;
}

th,
td {
  border-bottom: 1px solid rgba(255,255,255,.16);
  padding: 18px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--gold);
  width: 180px;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  font-weight: 900;
  gap: 8px;
}

input,
textarea {
  background: rgba(255,255,255,.96);
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 12px;
  width: 100%;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.submit-button {
  background: var(--gold);
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  justify-self: start;
  padding: 12px 22px;
  text-align: center;
}

.contact-panel {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.contact-panel a {
  background: linear-gradient(180deg, rgba(16,20,18,.98), rgba(7,16,22,.98));
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 22px;
}

.contact-panel .line-contact-card {
  border-left-color: #06c755;
}

.contact-panel .line-contact-card strong {
  color: #001b0c;
}

.contact-panel strong {
  color: var(--gold);
  font-size: 18px;
}

.contact-panel span {
  overflow-wrap: anywhere;
}

.contact-note {
  color: rgba(255,255,255,.82);
  font-weight: 800;
  margin: 0;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(16px, 4vw, 48px);
}

.site-footer a {
  color: var(--gold);
  font-weight: 900;
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    background: rgba(3, 12, 18, .96);
    border-top: 1px solid rgba(255,255,255,.12);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 10px 20px 18px;
    position: absolute;
    right: 0;
    top: 70px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

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

  .hero {
    min-height: 880px;
    padding-top: 102px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 68px);
  }

  .jp-title {
    padding: 8px 16px;
  }

  .hero-links a {
    min-width: calc(50% - 5px);
  }

  .hero-characters {
    bottom: 10px;
    max-height: none;
    max-width: 86vw;
    width: 70vw;
  }

  .audience,
  .intro-grid,
  .project-layout,
  .service-grid,
  .news-list div,
  .contact-panel,
  .project-list.full,
  .message-grid,
  .partner-layout,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .recruit-offer {
    grid-template-columns: 1fr;
  }

  .recruit-tags {
    grid-template-columns: 1fr;
  }

  .representative-layout { align-items: start; gap: 20px 18px; grid-template-columns: minmax(0, 1fr) minmax(135px, 38%); }
  .representative-copy { display: contents; }
  .representative-copy .label { align-self: end; grid-column: 1; grid-row: 1; margin-bottom: 0; }
  .representative-copy h2 { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .representative-copy > p:not(.label), .representative-sign { grid-column: 1 / -1; }
  .representative-portrait { align-self: start; grid-column: 2; grid-row: 1 / span 2; margin: 0 12px 12px 0; max-width: 145px; width: calc(100% - 12px); }
  .representative-portrait::before { inset: 8px -8px -8px 8px; }
  .representative-portrait figcaption { bottom: 8px; font-size: 12px; left: -8px; padding: 7px 10px; }

  .split-head,
  .recruit-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .recruit .split-head img {
    width: min(100%, 300px);
  }

  .partner-image,
  .request-image {
    width: min(100%, 340px);
  }

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

  .project-main {
    min-height: 320px;
  }

  .section-mascot {
    height: 120px;
    margin-bottom: 18px;
    position: static;
    width: min(100%, 280px);
  }

  .company-profile-image {
    aspect-ratio: 16 / 9;
    height: auto;
    width: min(100%, 320px);
  }

  .contact-welcome-image {
    aspect-ratio: 16 / 9;
    height: auto;
    width: min(100%, 320px);
  }

  .company .section-head,
  .contact .section-head {
    padding-right: 0;
  }

  th,
  td {
    display: block;
    padding: 12px 0;
    width: 100%;
  }

  th {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    height: 52px;
    width: 170px;
  }

  .brand-mark img {
    height: 78%;
    width: 86%;
  }

  .brand-copy {
    display: none;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: 850px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .eyebrow {
    max-width: 100%;
  }

  .hero-links {
    gap: 8px;
  }

  .hero-links a {
    font-size: 13px;
    min-width: 100%;
    padding: 9px 12px;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
