:root {
  --bg: #050b16;
  --panel: #0a1425;
  --line: #3e597f;
  --text: #e8effa;
  --muted: #95a7be;
  --accent: #7fb7e4;
  --accent-2: #5f74b8;
  --accent-soft: rgb(127 183 228 / 16%);
  --highlight: #f1cf6a;
  --space: clamp(56px, 7vw, 104px);
  --pointer-x: 50vw;
  --pointer-y: 50vh;
  --scroll-progress: 0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 20% 14%, rgb(126 165 214 / 11%) 0%, rgb(8 16 31 / 0%) 40%),
    radial-gradient(circle at 84% 18%, rgb(111 129 191 / 10%) 0%, rgb(8 16 31 / 0%) 38%),
    linear-gradient(170deg, #172f58 0%, #132a4f 35%, #0f2344 64%, #0a1b36 100%);
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  scroll-behavior: smooth;
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    repeating-linear-gradient(
      90deg,
      rgb(165 196 236 / 8%) 0,
      rgb(165 196 236 / 8%) 1px,
      transparent 1px,
      transparent 42px
    ),
    repeating-linear-gradient(
      0deg,
      rgb(133 171 220 / 5%) 0,
      rgb(133 171 220 / 5%) 1px,
      transparent 1px,
      transparent 42px
    );
  transform: translate3d(0, 0, 0);
  animation: gridDrift 16s linear infinite;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: calc(var(--scroll-progress) * 1%);
  background: linear-gradient(90deg, #8fc3ef, #d6f0ff);
  box-shadow: 0 0 14px rgb(143 195 239 / 55%);
  z-index: 2500;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    360px circle at var(--pointer-x) var(--pointer-y),
    rgb(144 194 241 / 16%) 0%,
    rgb(144 194 241 / 0%) 70%
  );
  transition: background-position 0.2s ease;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgb(11 24 46 / 68%);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo-image {
  display: block;
  height: 34px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font: 500 13px/1 "Barlow", sans-serif;
  letter-spacing: 0.08em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-link {
  color: #c7daef;
  font: 600 12px/1 "Barlow", sans-serif;
  letter-spacing: 0.08em;
}

.mini-cta {
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgb(255 255 255 / 2%), rgb(127 183 228 / 7%));
  padding: 10px 14px;
  font: 600 11px/1 "Barlow", sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav-cta {
  border: 1px solid var(--accent);
  padding: 10px 16px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #363636;
  background: transparent;
  color: white;
  padding: 0;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  margin: 6px auto;
}

.hero {
  min-height: 96vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 188px;
}

.hero-video {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgb(123 166 217 / 14%) 0%, rgb(5 12 24 / 0%) 42%),
    radial-gradient(circle at 85% 24%, rgb(114 131 186 / 12%) 0%, rgb(5 12 24 / 0%) 36%),
    linear-gradient(115deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 0%)),
    repeating-linear-gradient(
      90deg,
      rgb(118 150 195 / 5%) 0,
      rgb(118 150 195 / 5%) 1px,
      transparent 1px,
      transparent 32px
    ),
    linear-gradient(180deg, #102441, #0b1c35);
  display: grid;
  place-items: center;
  color: #d8d8d8;
  font: 600 20px/1 "Barlow", sans-serif;
  letter-spacing: 0.08em;
  transform: translate3d(0, calc(var(--hero-shift, 0px) * -1), 0) scale(1.08);
  transform-origin: center;
  will-change: transform;
}

.hero-video-file {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: saturate(0.88) contrast(1.04) brightness(0.84);
}

.has-hero-video .hero-video-file {
  opacity: 1;
}

.has-hero-video .hero-canvas {
  opacity: 0.38;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.9;
}

.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(95deg, rgb(183 221 255 / 0%) 36%, rgb(183 221 255 / 28%) 49%, rgb(183 221 255 / 0%) 62%);
  transform: translateX(-120%);
  animation: heroSweep 7s ease-in-out infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(8 17 35 / 88%), rgb(8 17 35 / 28%) 48%, rgb(8 17 35 / 62%) 100%);
}

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

.kicker {
  margin: 0 0 16px;
  color: #b4d0eb;
  font: 500 14px/1.4 "Barlow", sans-serif;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  width: min(820px, 90%);
  font: 800 clamp(36px, 6vw, 84px) / 1.03 "Barlow", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
}

.hero-links {
  margin-top: 18px;
  display: flex;
  gap: 22px;
}

.hero-links a {
  color: #b9cce2;
  font: 500 13px/1 "Barlow", sans-serif;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(120deg, rgb(255 255 255 / 12%), rgb(130 167 214 / 10%));
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 20%),
    0 8px 20px rgb(5 22 58 / 24%);
  font: 600 12px/1 "Barlow", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow:
    0 10px 24px rgb(6 14 30 / 35%),
    0 0 0 1px var(--accent-soft) inset,
    0 0 20px rgb(127 183 228 / 16%);
}

.btn-ghost {
  border-color: #3c5476;
  background: linear-gradient(120deg, rgb(255 255 255 / 1%), rgb(127 183 228 / 3%));
}

main section {
  padding: var(--space) 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-title {
  margin: 0;
  font: 800 clamp(28px, 4vw, 48px) / 1 "Barlow", sans-serif;
  letter-spacing: 0.08em;
  text-shadow: 0 0 24px rgb(180 220 255 / 22%);
}

.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--highlight), rgb(241 207 106 / 0%));
}

.section-lead {
  margin: 20px 0 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.9;
}

.link-more {
  font: 600 12px/1 "Barlow", sans-serif;
  letter-spacing: 0.12em;
  color: #d8d8d8;
}

.service-grid,
.country-grid,
.shop-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.country-card,
.news-card,
.shop-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgb(134 165 206 / 14%), rgb(106 137 178 / 10%));
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 10%),
    0 12px 26px rgb(4 13 31 / 28%);
  backdrop-filter: blur(6px);
  padding: 14px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before,
.country-card::before,
.news-card::before,
.shop-card::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -35%;
  width: 42%;
  height: 180%;
  background: linear-gradient(90deg, rgb(165 210 255 / 0%), rgb(165 210 255 / 22%), rgb(165 210 255 / 0%));
  transform: rotate(22deg) translateX(-180%);
  pointer-events: none;
  animation: cardBeam 9s linear infinite;
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card.is-tilting {
  transition: none !important;
}

.service-card:hover,
.country-card:hover,
.news-card:hover,
.shop-card:hover {
  transform: translateY(-4px);
  border-color: #7fa3cb;
  box-shadow:
    0 18px 34px rgb(2 10 24 / 32%),
    0 0 0 1px rgb(255 255 255 / 14%) inset,
    0 0 22px rgb(127 183 228 / 14%);
}

.service-card h3,
.country-card h3,
.shop-card h3 {
  margin: 16px 0 6px;
  font: 700 18px/1.4 "Barlow", sans-serif;
  letter-spacing: 0.04em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.media {
  aspect-ratio: 5 / 3.4;
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 14px;
  background: linear-gradient(160deg, rgb(138 169 208 / 18%), rgb(104 136 176 / 14%));
  display: grid;
  place-items: center;
  color: #ecf4ff;
  text-align: center;
  padding: 12px;
  font-size: 14px;
}

.media img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  border-radius: 10px;
  transform: translate(
    calc(var(--img-offset-x, 0px) + var(--logo-base-offset-x, 0px)),
    calc(var(--img-offset-y, 0px) + var(--logo-base-offset-y, 0px))
  );
  transform-origin: center;
  user-select: none;
}

.media img.service-logo-hakobin {
  width: 46%;
  height: 46%;
  animation: none;
  filter: drop-shadow(0 8px 16px rgb(8 22 46 / 35%));
  --logo-base-offset-y: -4px;
}

.media img.service-logo-delivery {
  width: 46%;
  height: 46%;
  --logo-base-offset-y: -2px;
}

.access-map {
  width: 100%;
  min-height: 360px;
  border: 1px solid var(--line);
  background: #101010;
}

.small {
  aspect-ratio: 16 / 10;
}

.recruit {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgb(126 161 206 / 12%), rgb(100 133 176 / 10%));
}

.recruit-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.recruit h2 {
  margin: 0;
  font: 800 clamp(34px, 6vw, 76px) / 0.95 "Barlow", sans-serif;
  letter-spacing: 0.1em;
}

.recruit p {
  color: var(--muted);
}

.slider {
  overflow: hidden;
}

.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 16px;
  transition: transform 0.35s ease;
}

.news-card .date {
  margin: 14px 0 8px;
  color: #a6a6a6;
  font: 500 12px/1 "Barlow", sans-serif;
  letter-spacing: 0.1em;
}

.news-card p {
  margin: 0;
  line-height: 1.8;
}

.slider-controls {
  display: flex;
  gap: 8px;
}

.arrow {
  width: 42px;
  height: 42px;
  border: 1px solid #7293bb;
  border-radius: 999px;
  background: rgb(255 255 255 / 8%);
  color: #d7ecff;
  font-size: 16px;
  cursor: pointer;
}

.site-footer {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(10 24 46 / 74%), rgb(8 20 38 / 86%));
}

.group {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.group-links {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.group-links a {
  border: 1px solid #496489;
  border-radius: 14px;
  background: linear-gradient(120deg, rgb(255 255 255 / 10%), rgb(116 149 191 / 10%));
  padding: 15px;
  text-align: center;
  font: 700 12px/1 "Barlow", sans-serif;
  letter-spacing: 0.1em;
  transition: border-color 0.24s ease, transform 0.24s ease;
}

.group-links a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  margin: 0 0 10px;
  line-height: 0;
}

.footer-logo-image {
  display: block;
  height: 30px;
  width: auto;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font: 600 12px/1 "Barlow", sans-serif;
  letter-spacing: 0.1em;
}

.visual-editor-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 3000;
  display: flex;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(10 20 38 / 90%);
  backdrop-filter: blur(10px);
}

.visual-editor-panel button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
  color: var(--text);
  font: 600 11px/1 "Noto Sans JP", sans-serif;
  padding: 9px 12px;
  cursor: pointer;
}

.is-edit-mode [data-editable="true"] {
  outline: 1px dashed rgb(255 213 102 / 75%);
  outline-offset: 2px;
  cursor: text;
}

.is-edit-mode img {
  cursor: pointer;
}

.is-edit-mode .media {
  outline: 1px dashed rgb(130 183 238 / 72%);
  outline-offset: 2px;
}

.is-edit-mode .media.is-selected::before,
.is-edit-mode .media.is-selected::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: rgb(255 255 255 / 25%);
  z-index: 3;
}

.is-edit-mode .media.is-selected::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-0.5px);
}

.is-edit-mode .media.is-selected::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-0.5px);
}

.is-edit-mode .media.is-selected.is-centered-x::after,
.is-edit-mode .media.is-selected.is-centered-y::before {
  background: rgb(255 213 102 / 92%);
}

.is-edit-mode .media.is-dragging {
  cursor: grabbing;
}

.media-editor-panel {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 3000;
  display: none;
  min-width: 240px;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(10 20 38 / 92%);
  backdrop-filter: blur(10px);
}

.media-editor-panel.open {
  display: grid;
}

.media-editor-panel label {
  display: grid;
  gap: 6px;
  font: 600 12px/1.3 "Noto Sans JP", sans-serif;
  color: var(--text);
}

.media-editor-panel input[type="range"] {
  width: 100%;
}

.media-editor-panel span {
  color: var(--muted);
  font: 500 11px/1 "Barlow", sans-serif;
}

.fade-in {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.985);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.84s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.fade-in[data-reveal="left"] {
  transform: translate3d(-28px, 0, 0);
}

.fade-in[data-reveal="right"] {
  transform: translate3d(28px, 0, 0);
}

.fade-in[data-reveal="zoom"] {
  transform: scale(0.94);
}

.fade-in.show {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.service-grid .fade-in:nth-child(1),
.country-grid .fade-in:nth-child(1),
.shop-grid .fade-in:nth-child(1),
.slider-track .fade-in:nth-child(1) {
  --reveal-delay: 70ms;
}

.service-grid .fade-in:nth-child(2),
.country-grid .fade-in:nth-child(2),
.shop-grid .fade-in:nth-child(2),
.slider-track .fade-in:nth-child(2) {
  --reveal-delay: 130ms;
}

.service-grid .fade-in:nth-child(3),
.country-grid .fade-in:nth-child(3),
.shop-grid .fade-in:nth-child(3),
.slider-track .fade-in:nth-child(3) {
  --reveal-delay: 190ms;
}

.service-grid .fade-in:nth-child(4),
.country-grid .fade-in:nth-child(4),
.shop-grid .fade-in:nth-child(4),
.slider-track .fade-in:nth-child(4) {
  --reveal-delay: 250ms;
}

.service-grid .fade-in:nth-child(5),
.slider-track .fade-in:nth-child(5) {
  --reveal-delay: 310ms;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in[data-reveal="left"],
  .fade-in[data-reveal="right"],
  .fade-in[data-reveal="zoom"] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-video {
    transform: none;
  }

  .btn,
  .service-card,
  .country-card,
  .news-card,
  .shop-card,
  .group-links a {
    transition: none;
  }

  body::before,
  body::after {
    display: none;
  }

  html::before,
  .hero-video::before,
  .service-card::before,
  .country-card::before,
  .news-card::before,
  .shop-card::before,
  .media img.service-logo-hakobin {
    animation: none;
  }
}

@keyframes gridDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(42px, 42px, 0);
  }
}

@keyframes heroSweep {
  0%,
  18% {
    transform: translateX(-120%);
  }

  42% {
    transform: translateX(120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@keyframes cardBeam {
  0%,
  72% {
    transform: rotate(22deg) translateX(-180%);
  }

  100% {
    transform: rotate(22deg) translateX(560%);
  }
}

@keyframes hakobinFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -8px, 0) rotate(-1deg);
  }
}

.subpage-main {
  padding-top: 76px;
}

.page-hero {
  padding: 88px 0 48px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(11 29 56 / 82%), rgb(9 23 44 / 90%));
}

.page-content {
  display: grid;
  gap: 24px;
}

.content-block {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgb(136 166 206 / 14%), rgb(103 133 174 / 10%));
  padding: clamp(20px, 3vw, 34px);
}

.content-block h2,
.page-content h2 {
  margin: 0 0 14px;
  font: 700 clamp(24px, 2.8vw, 34px) / 1.2 "Barlow", sans-serif;
  letter-spacing: 0.04em;
}

.content-block p,
.page-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.legal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.4fr;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgb(136 166 206 / 14%), rgb(103 133 174 / 10%));
  padding: 14px;
}

.cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.requirements-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.requirement-item {
  border: 1px solid #6888b0;
  border-radius: 12px;
  background: linear-gradient(160deg, rgb(121 151 191 / 16%), rgb(94 122 159 / 11%));
  padding: 18px 16px;
  min-height: 84px;
  display: grid;
  align-items: center;
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 10%),
    0 8px 18px rgb(4 13 31 / 18%);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.requirement-item:hover,
.requirement-item.is-active {
  transform: translateY(-2px);
  border-color: #86a8d1;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 14%),
    0 12px 24px rgb(4 13 31 / 24%);
}

.requirement-role {
  margin: 0 0 6px;
  font: 700 18px/1.35 "Noto Sans JP", sans-serif;
  color: var(--text);
}

.requirement-status {
  margin: 0;
  font: 600 12px/1.4 "Noto Sans JP", sans-serif;
  color: #d7e8ff;
}

.requirement-item.is-closed {
  opacity: 0.68;
  cursor: not-allowed;
}

.requirement-item.is-closed:hover {
  transform: none;
  border-color: #6888b0;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 10%),
    0 8px 18px rgb(4 13 31 / 18%);
}

.requirement-note {
  margin: 14px 0 0;
  color: var(--muted);
  font: 600 13px/1.5 "Noto Sans JP", sans-serif;
}

.apply-form {
  margin-top: 20px;
}

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

.form-field {
  display: grid;
  gap: 6px;
}

.form-field span {
  font: 600 13px/1.3 "Noto Sans JP", sans-serif;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #6888b0;
  border-radius: 10px;
  background: rgb(255 255 255 / 7%);
  color: var(--text);
  padding: 11px 12px;
  font: 500 14px/1.5 "Noto Sans JP", sans-serif;
}

.form-field textarea {
  resize: vertical;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.consent-check {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

[data-requirement-detail] {
  display: none !important;
}

[data-requirement-detail].is-active {
  display: block !important;
}

.mt-14 {
  margin-top: 14px !important;
}

@media (max-width: 1024px) {
  .service-grid,
  .country-grid,
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 840px) {
  .menu-btn {
    display: inline-flex !important;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1300;
    width: 46px;
    height: 46px;
    border-color: rgb(139 187 240 / 45%);
    background: rgb(10 24 46 / 42%);
    box-shadow: 0 0 0 1px rgb(255 255 255 / 10%) inset;
  }

  .menu-btn::before {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: rgb(236 245 255 / 95%);
  }

  .menu-btn span {
    margin: 0;
    width: 20px;
    height: 2px;
    background: rgb(236 245 255 / 95%);
  }

  .nav-actions {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 1200;
    display: grid;
    gap: 0;
    background: #0a0a0a;
    border-top: 1px solid #262626;
    border-bottom: 1px solid #262626;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transform-origin: top;
    transition: transform 0.24s ease, opacity 0.2s ease;
  }

  .main-nav a {
    padding: 16px 24px;
    border-top: 1px solid #1f1f1f;
  }

  .main-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    border: none;
  }

  .hero {
    min-height: 84vh;
    padding: 112px 0 188px;
  }

  .hero-actions,
  .hero-links,
  .recruit-wrap,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 28px));
  }

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

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

  h1 {
    width: 100%;
    font-size: clamp(24px, 8.8vw, 52px);
    letter-spacing: 0;
  }

  .hero {
    min-height: 82vh;
    padding: 100px 0 172px;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .country-grid,
  .shop-grid,
  .group-links {
    grid-template-columns: 1fr;
  }

  .service-grid .service-card:nth-of-type(1) .media,
  .service-grid .service-card:nth-of-type(2) .media {
    height: 220px !important;
    aspect-ratio: auto !important;
  }

  .service-grid .service-card:nth-of-type(1) .media img {
    width: 96% !important;
    height: 96% !important;
    --img-offset-x: 0px !important;
    --img-offset-y: -38px !important;
  }

  .service-grid .service-card:nth-of-type(2) .media img {
    width: 66% !important;
    height: 66% !important;
    --img-offset-x: 0px !important;
    --img-offset-y: 0px !important;
  }
}
