/* =========================================================
   A-M-K LLC — style.css
   Design direction: "AIRMAIL" — 国境を越える郵便物の意匠
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --paper: #f1f1ee;
  --paper-2: #e7e7e2;
  --paper-3: #dcdcd5;
  --ink: #15181a;
  --ink-2: #5c6165;
  --ink-3: #8b9096;
  --line: #d3d3cb;
  --air-red: #c8202e;
  --air-blue: #1b3a8c;
  --white: #fff;

  --ff-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
  --ff-en: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ff-mono: "Roboto Mono", "SFMono-Regular", Menlo, monospace;

  --wrap: 1140px;
  --gut: 24px;
  --r: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-jp);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p,
figure,
ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--air-blue);
  outline-offset: 3px;
}

/* ---------- Signature: airmail stripe ---------- */
.stripe {
  height: 9px;
  width: 100%;
  background-image: repeating-linear-gradient(
      -45deg,
      var(--air-red) 0 11px,
      transparent 11px 22px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0 11px,
      var(--air-blue) 11px 22px
    );
}
.stripe--thin {
  height: 6px;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.section {
  padding-block: 104px;
}
.section--tight {
  padding-block: 72px;
}
.section--paper2 {
  background: var(--paper-2);
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--air-red);
  flex: none;
}

.h-sec {
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin-top: 18px;
}
.h-sec-en {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-top: 10px;
}
.lead {
  margin-top: 26px;
  max-width: 62ch;
  color: var(--ink-2);
  font-size: 15.5px;
}
.mono {
  font-family: var(--ff-mono);
  letter-spacing: 0.06em;
}

/* ---------- Header ---------- */
.hd {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 241, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.hd__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
}
.logo i {
  font-style: normal;
}
.logo i:nth-of-type(1) {
  color: var(--air-red);
}
.logo i:nth-of-type(2) {
  color: var(--air-blue);
}
.logo small {
  display: block;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-top: -2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
  padding-block: 4px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right 0.3s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  right: 0;
}
.nav .btn-sm {
  padding: 9px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  border-radius: var(--r);
}
.nav .btn-sm::after {
  display: none;
}
.nav .btn-sm:hover {
  background: var(--air-blue);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--r);
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: 0.28s var(--ease);
}
.burger span:nth-child(1) {
  top: 15px;
}
.burger span:nth-child(2) {
  top: 25px;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  top: 20px;
  transform: rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: transparent;
  cursor: pointer;
  transition: 0.25s var(--ease);
}
.btn span.mono {
  font-size: 11px;
  color: var(--ink-3);
  transition: color 0.25s var(--ease);
}
.btn:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn:hover span.mono {
  color: var(--paper-3);
}
.btn--fill {
  background: var(--air-red);
  border-color: var(--air-red);
  color: var(--white);
}
.btn--fill span.mono {
  color: rgba(255, 255, 255, 0.7);
}
.btn--fill:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* ---------- Hero (signature: shipping label) ---------- */
.hero {
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 64px;
  align-items: center;
  padding-block: 84px 92px;
}
.label {
  border: 1px solid var(--ink);
  border-radius: var(--r);
  background: var(--white);
  padding: 20px 22px;
  display: inline-grid;
  grid-template-columns: auto 1fr;
  gap: 4px 20px;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.7;
}
.label dt {
  color: var(--ink-3);
}
.label dd {
  color: var(--ink);
}
.label__rule {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--line);
  margin-block: 10px;
}

.hero__title {
  font-weight: 900;
  font-size: clamp(34px, 5.1vw, 62px);
  line-height: 1.34;
  letter-spacing: 0.005em;
  margin-top: 34px;
}
.hero__title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.14em;
  background: var(--air-red);
  opacity: 0.22;
}
.hero__text {
  margin-top: 30px;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 15.5px;
}
.hero__fig {
  position: relative;
}
.hero__fig img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r);
}
.hero__stamp {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--air-blue);
  color: var(--air-blue);
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  line-height: 1.8;
}
.hero__stamp b {
  display: block;
  font-family: var(--ff-en);
  font-size: 21px;
  letter-spacing: 0.02em;
}

/* ---------- Stat strip ---------- */
.strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-inline: 1px solid var(--line);
}
.strip__cell {
  background: var(--paper-2);
  padding: 30px 24px;
}
.strip__cell dt {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.strip__cell dd {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 30px;
  margin-top: 8px;
  line-height: 1.2;
}
.strip__cell dd small {
  font-family: var(--ff-jp);
  font-size: 13px;
  font-weight: 500;
  margin-left: 4px;
  color: var(--ink-2);
}

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  margin-top: 60px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card__fig {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-3);
}
.card__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card__fig img {
  transform: scale(1.035);
}
.card__body {
  padding: 30px 30px 34px;
  flex: 1;
}
.card__num {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--air-blue);
}
.card__ttl {
  font-weight: 900;
  font-size: 20px;
  margin-top: 12px;
  line-height: 1.6;
}
.card__txt {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.85;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.tags li {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
}

/* ---------- Split block ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split--rev .split__fig {
  order: -1;
}
.split__fig img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--r);
}

/* ---------- Table (会社概要 / 募集要項) ---------- */
.tbl {
  margin-top: 48px;
  border-top: 1px solid var(--ink);
}
.tbl__row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.tbl__row dt {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding-top: 6px;
}
.tbl__row dt b {
  display: block;
  font-family: var(--ff-jp);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: none;
  margin-top: 2px;
}
.tbl__row dd {
  font-size: 15px;
  line-height: 1.9;
}
.tbl__row dd .note {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- Steps (real sequence → numbering justified) ---------- */
.steps {
  margin-top: 56px;
  counter-reset: s;
}
.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.step:first-child {
  border-top: 1px solid var(--line);
}
.step__n {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 34px;
  color: var(--air-red);
  line-height: 1;
}
.step__ttl {
  font-weight: 700;
  font-size: 17px;
}
.step__txt {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 14.5px;
}

/* ---------- Day timeline ---------- */
.day {
  margin-top: 52px;
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.day__item {
  position: relative;
  padding-bottom: 34px;
}
.day__item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--air-blue);
}
.day__t {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--air-blue);
}
.day__d {
  margin-top: 4px;
  font-size: 15px;
}

/* ---------- Honest notes / callout ---------- */
.callout {
  border: 1px solid var(--ink);
  border-radius: var(--r);
  background: var(--white);
  padding: 34px 36px;
  margin-top: 56px;
}
.callout__ttl {
  font-weight: 900;
  font-size: 18px;
}
.callout ul {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.callout li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink-2);
}
.callout li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 1px;
  background: var(--air-red);
}

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: var(--paper);
}
.cta__inner {
  padding-block: 92px;
  text-align: center;
}
.cta__ttl {
  font-weight: 900;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.55;
}
.cta__txt {
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 15px;
}
.cta .btn {
  border-color: var(--paper);
  color: var(--paper);
}
.cta .btn:hover {
  background: var(--paper);
  color: var(--ink);
}
.cta .btn--fill {
  background: var(--air-red);
  border-color: var(--air-red);
  color: var(--white);
}
.cta .btn--fill:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}
.cta .btn-row {
  justify-content: center;
}

/* ---------- Form ---------- */
.form {
  margin-top: 56px;
  max-width: 720px;
}
.field {
  margin-bottom: 30px;
}
.field__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.req {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  background: var(--air-red);
  color: var(--white);
  border-radius: var(--r);
}
.opt {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  border: 1px solid var(--line);
  color: var(--ink-3);
  border-radius: var(--r);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 15px;
  transition: border-color 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--air-blue);
  outline: none;
}
.field textarea {
  min-height: 190px;
  resize: vertical;
  line-height: 1.85;
}
.field__hint {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-2);
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex: none;
  accent-color: var(--air-blue);
}
.alert {
  border: 1px solid var(--air-red);
  background: #fdf2f3;
  color: var(--air-red);
  padding: 16px 18px;
  border-radius: var(--r);
  font-size: 14px;
  margin-bottom: 32px;
}
.alert ul {
  margin-top: 8px;
  padding-left: 18px;
  list-style: disc;
}

/* ---------- Page head ---------- */
.phead {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.phead__inner {
  padding-block: 76px 66px;
}
.phead__ttl {
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  margin-top: 16px;
  line-height: 1.4;
}
.crumb {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-top: 20px;
}
.crumb a:hover {
  color: var(--ink);
}

/* ---------- Footer ---------- */
.ft {
  background: var(--ink);
  color: var(--paper-3);
}
.ft__inner {
  padding-block: 66px 34px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 44px;
}
.ft .logo {
  color: var(--paper);
}
.ft__addr {
  margin-top: 22px;
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-3);
}
.ft__h {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.ft__list {
  margin-top: 18px;
  display: grid;
  gap: 11px;
  font-size: 13.5px;
}
.ft__list a:hover {
  color: var(--white);
}
.ft__bot {
  border-top: 1px solid #2b2f32;
  padding-block: 22px 30px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Reveal ---------- */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.rv.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 56px 68px;
  }
  .hero__fig {
    max-width: 460px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split--rev .split__fig {
    order: 0;
  }
  .strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .ft__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .burger {
    display: block;
  }
  .nav {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gut) 26px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.28s var(--ease);
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding-block: 16px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .nav a::after {
    display: none;
  }
  .nav .btn-sm {
    margin-top: 20px;
    text-align: center;
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .section {
    padding-block: 72px;
  }
  .section--tight {
    padding-block: 54px;
  }
  .tbl__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-block: 18px;
  }
  .step {
    grid-template-columns: 62px 1fr;
    gap: 16px;
  }
  .step__n {
    font-size: 26px;
  }
  .card__body {
    padding: 24px 22px 28px;
  }
  .callout {
    padding: 26px 22px;
  }
  .hero__stamp {
    width: 88px;
    height: 88px;
    right: -6px;
    bottom: -10px;
  }
  .btn {
    width: 100%;
    justify-content: space-between;
  }
}
