:root {
  --sky: #34bbe2;
  --green: #6fbe44;
  --ink: #12242b;
  --muted: #5f7077;
  --line: #dbeff4;
  --pale: #f4fbfd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", system-ui, sans-serif;
  color: var(--ink);
  background: #ffffff;
  letter-spacing: 0;
}

.en {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

.site-header {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.94);
}

.contact-page .site-header {
  background: #fff;
  backdrop-filter: none;
}

.site-logo-mark {
  display: block;
  width: 3.5rem;
  height: 2.5rem;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}

.nav-link {
  position: relative;
  color: #28424b;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--sky), var(--green));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-link:hover {
  color: var(--sky);
}

.nav-link.is-current {
  color: var(--sky);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary,
.btn-secondary,
.btn-white,
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.82rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--sky), #20a8d3);
  box-shadow: 0 18px 35px rgba(52, 187, 226, 0.28);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.btn-white {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 35px rgba(18, 36, 43, 0.12);
}

.btn-outline-white {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.btn-outline-white:hover {
  color: var(--ink);
  background: #fff;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-white:hover,
.btn-outline-white:hover {
  transform: translateY(-2px);
}

.contact-form {
  background: rgba(255, 255, 255, 0.035);
}

.contact-field {
  display: grid;
  gap: 0.55rem;
}

.contact-field span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  outline: none;
  padding: 0.9rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-field textarea {
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(52, 187, 226, 0.7);
  box-shadow: 0 0 0 4px rgba(52, 187, 226, 0.13);
}

.section {
  padding: 5.5rem 0;
}

.section-title {
  font-size: clamp(3.2rem, 14vw, 10rem);
  line-height: 0.86;
  color: rgba(18, 36, 43, 0.06);
  font-weight: 900;
  letter-spacing: 0;
}

.jp-title {
  font-size: clamp(1.85rem, 5vw, 4.6rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 2;
}

.about-grid {
  margin-top: -0.9rem;
}

.about-title {
  max-width: 10em;
  font-size: clamp(2.55rem, 5.4vw, 5.2rem);
  line-height: 1.18;
}

.about-lead {
  padding-top: 0.35rem;
}

.hero-grid {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  color: #c7cdd2;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52vh;
}

.hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 5;
  max-height: min(74vh, 760px);
  overflow: hidden;
  background: #edf4f6;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 12%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.95) contrast(1.02);
}

.hero-image::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(180deg, transparent 55%, rgba(18, 36, 43, 0.10));
}

.hero-cta {
  border: 1px solid rgba(18, 36, 43, 0.1);
  background: #fff;
  box-shadow: none;
}

.recruit-photo-hero {
  background: #eef8fb;
}

.recruit-photo-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(760px, calc(100vh - 5rem));
  overflow: hidden;
  background: #12242b;
}

.recruit-photo-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.04);
}

.recruit-photo-hero__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(18, 36, 43, 0.52), rgba(18, 36, 43, 0.66)),
    linear-gradient(90deg, rgba(18, 36, 43, 0.28), rgba(18, 36, 43, 0.08), rgba(18, 36, 43, 0.28));
}

.recruit-photo-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 64rem);
  padding: 5rem 0;
  text-align: center;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
}

.recruit-graphic {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--sky) 0%, #28b9d4 44%, var(--green) 100%);
}

.graphic-orb {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.graphic-orb-1 {
  width: 62%;
  aspect-ratio: 1;
  top: -14%;
  right: -20%;
}

.graphic-orb-2 {
  width: 74%;
  aspect-ratio: 1;
  bottom: -24%;
  left: -28%;
}

.graphic-icon {
  position: absolute;
  width: clamp(3.55rem, 8vw, 6rem);
  height: auto;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.96;
  filter: drop-shadow(0 18px 28px rgba(18, 36, 43, 0.16));
  animation: graphic-float 7s ease-in-out infinite;
}

.graphic-icon-phone {
  top: 12%;
  left: 13%;
  transform: rotate(-10deg);
  animation-duration: 6.4s;
}

.graphic-icon-laptop {
  top: 17%;
  right: 12%;
  width: clamp(4.6rem, 10vw, 7.5rem);
  transform: rotate(8deg);
  animation-duration: 7.6s;
  animation-delay: -1.2s;
}

.graphic-icon-game {
  top: 43%;
  left: 10%;
  width: clamp(4.4rem, 9.2vw, 7rem);
  transform: rotate(7deg);
  animation-duration: 6.8s;
  animation-delay: -2s;
}

.graphic-icon-vacuum {
  right: 12%;
  bottom: 22%;
  width: clamp(4.3rem, 9vw, 6.7rem);
  transform: rotate(-8deg);
  animation-duration: 7.8s;
  animation-delay: -3.1s;
}

.graphic-icon-tool {
  bottom: 11%;
  left: 26%;
  width: clamp(3.7rem, 8vw, 6.2rem);
  transform: rotate(18deg);
  animation-duration: 6.2s;
  animation-delay: -0.8s;
}

@keyframes graphic-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -14px;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 2.6rem;
  left: max(1.25rem, calc((100vw - 80rem) / 2 + 2rem));
  display: none;
  width: 1px;
  height: 86px;
  background: #dce4e8;
}

.hero-scroll::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--ink);
  border-radius: 999px;
  transform: translateX(-50%);
}

.visual-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #55717a;
  background:
    linear-gradient(135deg, rgba(52, 187, 226, 0.14), rgba(111, 190, 68, 0.12)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0 12px, rgba(255, 255, 255, 0.18) 12px 24px);
  border: 1px solid rgba(52, 187, 226, 0.22);
}

.image-frame {
  position: relative;
  overflow: hidden;
  background: #eef8fb;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.03) brightness(1.02);
}

.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.75rem;
}

.hero-collage img {
  position: relative;
  z-index: 1;
  object-position: center top;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.hero-collage img.hidden {
  display: none;
}

.hero-collage img:nth-child(2) {
  transition-delay: 0.12s;
}

.hero-collage img:nth-child(3) {
  transition-delay: 0.24s;
}

.hero-collage.is-visible img {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .hero-collage {
    grid-template-columns: 1.08fr 0.92fr;
    grid-template-rows: 1fr 1fr;
  }

  .hero-collage img.hidden {
    display: block;
  }

  .hero-collage img:first-child {
    grid-row: 1 / span 2;
  }
}

.image-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(52, 187, 226, 0.06), rgba(52, 187, 226, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(18, 36, 43, 0.06));
}

.visual-placeholder::before {
  position: absolute;
  inset: 16px;
  content: "";
  border: 1px dashed rgba(18, 36, 43, 0.2);
  border-radius: inherit;
}

.placeholder-label {
  position: relative;
  z-index: 1;
  max-width: 80%;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.8;
}

.soft-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(34, 74, 87, 0.08);
}

.story-line {
  position: relative;
}

.story-line::before {
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 0.6rem;
  width: 1px;
  content: "";
  background: linear-gradient(var(--sky), var(--green));
}

.story-dot {
  position: relative;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  border: 4px solid #fff;
  border-radius: 999px;
  background: var(--sky);
  box-shadow: 0 0 0 1px rgba(52, 187, 226, 0.28);
}

.brand-box {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  min-height: 188px;
  padding: 1.35rem;
  align-items: flex-start;
  justify-content: flex-start;
  border: 1px solid var(--line);
  background: #fff;
  color: #24404a;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand-category {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  color: var(--muted);
}

.brand-category span {
  color: var(--sky);
  font-family: Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-category p {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.7;
}

.brand-category--reuse span {
  color: var(--green);
}

.brand-logo-wrap {
  display: flex;
  width: 100%;
  height: 68px;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 86%;
  object-fit: contain;
  object-position: center;
}

.brand-logo--daiwan {
  max-height: 62px;
}

.brand-logo--repair {
  max-height: 42px;
}

.brand-logo--switch {
  max-height: 48px;
}

.brand-logo--sweep {
  max-height: 44px;
}

.brand-logo--iphone-kaitori {
  max-height: 62px;
}

.brand-logo--macrelic {
  max-height: 58px;
  max-width: 94%;
}

.brand-logo--sumaho-soba {
  max-height: 64px;
}

.brand-box--text {
  min-height: 176px;
}

@media (max-width: 640px) {
  .recruit-photo-hero__visual {
    min-height: 62vh;
  }

  .recruit-photo-hero__visual img {
    object-position: center;
  }

  .recruit-photo-hero__content {
    width: min(100% - 2rem, 34rem);
    padding: 3.5rem 0;
  }

  .graphic-icon {
    width: 3.25rem;
  }

  .graphic-icon-phone {
    top: 13%;
    left: 12%;
  }

  .graphic-icon-laptop {
    top: 18%;
    right: 9%;
    width: 4.35rem;
  }

  .graphic-icon-game {
    top: 44%;
    left: 9%;
    width: 4.25rem;
  }

  .graphic-icon-vacuum {
    right: 10%;
    bottom: 23%;
    width: 4.2rem;
  }

  .graphic-icon-tool {
    bottom: 12%;
    left: 27%;
    width: 3.55rem;
  }

  .brand-box {
    min-height: 176px;
    padding: 1rem;
  }

  .brand-category {
    display: block;
  }

  .brand-category p {
    margin-top: 0.35rem;
  }

  .brand-logo-wrap {
    height: 58px;
  }

  .brand-logo--daiwan {
    max-height: 52px;
  }

  .brand-logo--repair {
    max-height: 34px;
  }

  .brand-logo--switch,
  .brand-logo--sweep {
    max-height: 38px;
  }

  .brand-logo--iphone-kaitori,
  .brand-logo--sumaho-soba {
    max-height: 52px;
  }

  .brand-logo--macrelic {
    max-height: 48px;
  }
}

.brand-copy {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.8;
}

.brand-box:hover {
  transform: translateY(-3px);
  border-color: rgba(52, 187, 226, 0.5);
  box-shadow: 0 16px 35px rgba(34, 74, 87, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.accent-band {
  background:
    linear-gradient(135deg, rgba(52, 187, 226, 0.96), rgba(111, 190, 68, 0.9)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.14) 25%, transparent 25% 50%, rgba(255, 255, 255, 0.14) 50% 75%, transparent 75%);
  background-size: auto, 34px 34px;
}

.table-row {
  display: grid;
  gap: 0.65rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.job-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--sky);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
}

.job-link:hover {
  color: #209fc8;
}

.selection-flow {
  display: grid;
  gap: 1rem;
}

.flow-step {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

.flow-badge {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
}

.flow-step h4 {
  margin-top: 1rem;
  font-size: 1.05rem;
  font-weight: 900;
}

.flow-step p {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.8;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.35rem 1.5rem;
  font-weight: 900;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  float: right;
  color: var(--sky);
  content: "+";
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 1.5rem 1.35rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.9;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }

  .table-row {
    grid-template-columns: 180px 1fr;
  }

  .selection-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hero-visual {
    min-height: calc(100vh - 5.75rem);
  }

  .hero-scroll {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn-primary,
  .btn-secondary,
  .btn-white,
  .btn-outline-white,
  .graphic-icon {
    transition: none;
    animation: none;
  }
}
