/* ================================
   Amazon Management Page
================================ */

/* .amazon-page .container {
  width: min(calc(100% - (var(--side) * 2)), 1120px);
} */
.mobile-br {
  display: none;
}

.am-hero {
  padding-block: clamp(120px, 15vw, 198px) clamp(92px, 12vw, 170px);
}

.am-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(42px, 8vw, 98px);
  align-items: end;
}

.am-hero h1 {
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(58px, 8.6vw, 130px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: Bold;
}

.am-hero p {
  /* margin: 0 0 24px; */
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.5;
  letter-spacing: -0.05em;
  font-weight: medium;
}

.am-result {
  padding-block: clamp(76px, 9vw, 104px) clamp(76px, 8vw, 96px);
  background: #f6f6f6;
}

.am-result h2,
.am-service h2 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 55px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: bold;
}

.am-result__lead,
.am-service__lead {
  margin: 28px 0 clamp(48px, 6vw, 74px);
  font-size: clamp(15px, 1.25vw, 24px);
  line-height: 1.5;
  letter-spacing: -0.055em;
  font-weight: medium;
}

.am-result__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.am-result__grid article {
  padding-inline: clamp(22px, 3.4vw, 38px);
  border-right: 1px solid #8d8d8d;
  text-align: center;
}

.am-result__grid article:first-child {
  padding-left: 0;
}

.am-result__grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.am-result__grid span {
  display: inline-flex;

  padding: 4px 10px 4px 10px;
  margin-bottom: 18px;
  border: 1px solid #555;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: normal;
}

.am-result__grid strong {
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-en);
  font-size: clamp(40px, 4.4vw, 70px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: normal;
}

.am-result__grid p {
  margin: 0;
  font-size: clamp(10px, 1vw, 20px);
  line-height: 1.5;
  letter-spacing: -0.05em;
  font-weight: normal;
}

.am-strategy {
  padding-block: clamp(86px, 11vw, 132px) clamp(92px, 12vw, 150px);
}

.am-strategy__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.am-strategy__intro,
.am-strategy__item {
  min-height: clamp(220px, 18vw, 350px);
  border-bottom: 1px solid #9a9a9a;
}

.am-strategy__intro {
  padding: clamp(34px, 4vw, 48px);
  background: #000;
  color: #fff;
}

.am-strategy__intro h2 {
  margin: 0 0 34px;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: Bold;
}

.am-strategy__intro p {
  margin: 0;
  font-size: clamp(14px, 2.2vw, 20px);
  line-height: 1.6;
  letter-spacing: -0.01em;
  font-weight: normal;
}

.am-strategy__item {
  position: relative;
  padding: clamp(30px, 4vw, 40px) clamp(30px, 4vw, 40px) 120px; /* ← 34px → 120px */
  overflow: hidden;
}

.am-strategy__item h3 {
  margin: 0 0 24px;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: medium;
}

.am-strategy__item p {
  margin: 0;
  font-size: clamp(14px, 1vw, 20px);
  line-height: 1.6;
  letter-spacing: -0.02em;
  font-weight: normal;
}

.am-strategy__item strong {
  position: absolute;
  left: clamp(30px, 4vw, 46px);
  bottom: 22px;
  font-family: var(--font-en);
  font-size: clamp(46px, 5vw, 80px);
  line-height: 1;
  font-style: italic;
  font-weight: lighter;
  letter-spacing: -0.01em;
}

.am-strategy__item img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(130px, 14vw, 200px);
  height: clamp(92px, 10vw, 150px);
  object-fit: cover;
}

.am-service {
  padding-block: clamp(76px, 9vw, 94px) clamp(98px, 12vw, 126px);
  background: linear-gradient(#fff 0 70%, #f5f5f5 70% 100%);
}

.am-service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.8vw, 32px);
}

.am-service-card {
  position: relative;
  min-height: 340px;
  padding: clamp(32px, 3.4vw, 42px) clamp(26px, 3.4vw, 40px) 156px;
  background: #fff;
  box-shadow: 10px 14px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.am-service-card h3 {
  margin: 0 0 32px;
  font-size: clamp(24px, 1.9vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: bold;
}

.am-service-card dl,
.am-service-card dt,
.am-service-card dd {
  margin: 0;
}

.am-service-card dt {
  margin-top: 22px;
  /* font-size: 18px; */
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.am-service-card dt:first-of-type {
  margin-top: 0;
}

.am-service-card dd {
  margin-top: 8px;
  font-size: clamp(14px, 1.9vw, 18px);
  line-height: 1.6;
  letter-spacing: -0.01em;
  font-weight: normal;
}

.am-service-card img {
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 250px;
  max-height: 142px;
  object-fit: contain;
}

@media (max-width: 960px) {
  .mobile-br {
    display: block;
  }

  .am-service {
    background: #fff;
  }

  .amazon-page .container {
    width: min(calc(100% - (var(--side) * 2)), var(--container));
  }

  .am-result h2 {
    text-align: center;
    margin-bottom: 20px;
  }

  .am-result__lead {
    max-width: 320px;
    margin: 0 auto 40px;
    text-align: center;
  }

  .am-hero__inner,
  .am-strategy__grid,
  .am-service__grid {
    grid-template-columns: 1fr;
  }

  .am-result__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 0;
  }

  .am-result__grid article:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }

  .am-result__grid article:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .mobile-br {
    display: block;
  }

  .gnb__item {
    display: block;
    border-bottom: 1px solid #eee;
  }

  .gnb__item .gnb__link {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 0;
    font-size: 15px;
  }

  .gnb__submenu {
    position: static;
    min-width: 0;
    padding: 0 0 12px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .gnb__submenu::before {
    display: none;
  }

  .gnb__submenu a {
    padding: 9px 0;
    border-bottom: 0;
    font-size: 13px;
    font-weight: 600;
    color: #555;
  }

  .am-hero {
    padding-block: 92px 86px;
  }

  .am-hero h1 {
    font-size: clamp(54px, 15vw, 50px);
  }

  .am-hero p {
    margin-top: 26px;
  }

  /* .am-result__grid {
    grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
  }

  .am-result__grid article,
  .am-result__grid article:first-child,
  .am-result__grid article:nth-child(3),
  .am-result__grid article:last-child {
    padding: 0 0 32px;
    border-right: 0;
    border-bottom: 1px solid #aaa;
  } */

  .am-service {
    background: #fff;
  }

  .am-result__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }

  .am-result__grid article {
    padding: 0 20px;
    text-align: center;
    border-right: 1px solid #aaa;
    border-bottom: 0;
  }

  .am-result__grid article:nth-child(2n) {
    border-right: 0;
  }

  .am-result__grid span {
    margin-bottom: 12px;
  }

  .am-result__grid strong {
    margin-bottom: 16px;
    font-size: 52px;
  }

  .am-result__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }

  .am-result__grid article {
    padding: 0 20px;
    text-align: center;
    border-right: 1px solid #aaa;
    border-bottom: 0;
  }

  .am-result__grid article:nth-child(2n) {
    border-right: 0;
  }

  .am-result__grid span {
    margin-bottom: 12px;
  }

  .am-result__grid strong {
    margin-bottom: 16px;
    font-size: 52px;
  }
  .am-result h2,
  .am-result__lead {
    text-align: center;
  }
  .am-result__grid span {
    font-size: 12px;
  }

  .am-result__grid strong {
    font-size: clamp(32px, 8vw, 48px);
  }

  .am-result__grid p {
    font-size: 11px;
    line-height: 1.5;
  }

  .am-result__grid article:last-child {
    border-bottom: 0;
  }

  .am-strategy__intro,
  .am-strategy__item {
    min-height: 300px;
  }

  .am-service-card {
    min-height: 320px;
  }
}

@media (max-width: 520px) {
  .am-strategy__item img {
    width: 124px;
    height: 90px;
  }

  .am-service-card img {
    width: 160px;
  }
}
