/* ===================================================================
   Customs Page / GLOBAL TRADE SOLUTIONS
   Path: /in/css/customs.css
   =================================================================== */

:root {
  --customs-navy: #0b1f3a;
  --customs-navy-2: #132f54;
  --customs-blue: #1d5f91;
  --customs-sky: #eaf3f8;
  --customs-accent: #e05779;
  --customs-accent-dark: #bd3559;
  --customs-fg: #172033;
  --customs-sub: #526174;
  --customs-muted: #718096;
  --customs-line: #dce5ed;
  --customs-soft: #f5f8fb;
  --customs-white: #ffffff;
  --customs-shadow: 0 16px 42px rgba(11, 31, 58, 0.10);
  --customs-radius: 20px;
  --customs-focus: 0 0 0 3px rgba(224, 87, 121, 0.35);
  --customs-body: clamp(15px, 1.5vw, 16px);
  --customs-h2: clamp(28px, 4vw, 46px);
}

* {
  box-sizing: border-box;
}

body.customs {
  color: var(--customs-fg);
  background: var(--customs-white);
}

.customs-main {
  margin: 0;
  padding: 0;
  font-size: var(--customs-body);
  line-height: 1.85;
  letter-spacing: 0.01em;
  overflow: hidden;
}

.customs-main img {
  display: block;
  max-width: 100%;
  height: auto;
}

.customs-main a {
  text-decoration: none;
}

.customs-main a:focus-visible,
.customs-main summary:focus-visible {
  outline: none;
  box-shadow: var(--customs-focus);
  border-radius: 10px;
}

.customs-narrow {
  max-width: 900px;
}

.pc-only {
  display: inline;
}

/* Hero */
.customs-hero {
  position: relative;
  min-height: clamp(560px, 76svh, 780px);
  display: grid;
  align-items: center;
  isolation: isolate;
  color: var(--customs-white);
}

.customs-hero picture,
.customs-hero picture img,
.customs-hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.customs-hero picture {
  z-index: -3;
}

.customs-hero picture img {
  object-fit: cover;
  object-position: center 52%;
  filter: saturate(0.9) contrast(1.06);
}

.customs-hero__scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 20, 39, 0.88) 0%, rgba(7, 30, 55, 0.70) 48%, rgba(7, 30, 55, 0.30) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.32));
}

.customs-hero__content {
  width: 100%;
  padding-top: 96px;
  padding-bottom: 72px;
}

.customs-kicker,
.customs-section__eyebrow {
  margin: 0 0 14px;
  color: var(--customs-accent);
  font-family: Inter, sans-serif;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.customs-hero__title {
  max-width: 880px;
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.customs-hero__title span {
  display: block;
  margin-bottom: 8px;
  color: var(--customs-white);
  font-size: 0.48em;
  letter-spacing: 0.06em;
}

.customs-hero__lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.9;
}

.customs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* Buttons */
.customs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.4;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.customs-btn:hover {
  transform: translateY(-2px);
}

.customs-btn--primary {
  color: var(--customs-white);
  background: var(--customs-accent);
  border-color: var(--customs-accent);
}

.customs-btn--primary:hover {
  background: var(--customs-accent-dark);
  border-color: var(--customs-accent-dark);
}

.customs-btn--light {
  color: var(--customs-navy);
  background: var(--customs-white);
  border-color: var(--customs-white);
}

.customs-btn--light:hover {
  background: #edf3f7;
  border-color: #edf3f7;
}

.customs-btn--dark {
  color: var(--customs-white);
  background: var(--customs-navy);
  border-color: var(--customs-navy);
}

.customs-btn--dark:hover {
  background: #07172b;
  border-color: #07172b;
}

/* Common sections */
.customs-section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.customs-section--soft {
  background: var(--customs-soft);
}

.customs-section--navy {
  color: var(--customs-white);
  background:
    radial-gradient(circle at 90% 10%, rgba(224, 87, 121, 0.17), transparent 32%),
    linear-gradient(135deg, var(--customs-navy), var(--customs-navy-2));
}

.customs-section--navy .customs-section__title,
.customs-section--navy .customs-heading__lead {
  color: var(--customs-white);
}

.customs-section__title {
  margin: 0;
  color: var(--customs-navy);
  font-size: var(--customs-h2);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.customs-heading {
  max-width: 900px;
  margin-bottom: 46px;
}

.customs-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: end;
}

.customs-heading__lead {
  margin: 14px 0 0;
  color: var(--customs-sub);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.9;
}

/* Intro */
.customs-intro {
  text-align: center;
}

.customs-intro__text {
  margin: 34px 0 0;
  color: var(--customs-sub);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 2.05;
}

/* Strength cards */
.customs-strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.customs-strength-card {
  position: relative;
  min-height: 390px;
  padding: 36px 30px;
  overflow: hidden;
  background: var(--customs-white);
  border: 1px solid var(--customs-line);
  border-radius: var(--customs-radius);
  box-shadow: var(--customs-shadow);
}

.customs-strength-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(224, 87, 121, 0.08);
}

.customs-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: var(--customs-blue);
  background: var(--customs-sky);
  border-radius: 18px;
}

.customs-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.customs-card-number {
  margin: 0 0 8px;
  color: var(--customs-accent);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.customs-strength-card h3 {
  margin: 0 0 16px;
  color: var(--customs-navy);
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.45;
}

.customs-strength-card p:last-child {
  margin: 0;
  color: var(--customs-sub);
}

/* Services */
.customs-service-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--customs-line);
  border-radius: var(--customs-radius);
  overflow: hidden;
}

.customs-service-grid li {
  min-height: 235px;
  padding: 30px;
  background: var(--customs-white);
}

.customs-service-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--customs-accent);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.customs-service-grid strong {
  display: block;
  color: var(--customs-navy);
  font-size: 20px;
}

.customs-service-grid p {
  margin: 12px 0 0;
  color: var(--customs-sub);
}

.customs-note {
  margin: 20px 0 0;
  color: var(--customs-muted);
  font-size: 13px;
}

/* Cargo */
.customs-cargo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.customs-cargo-card {
  padding: 34px 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--customs-radius);
  backdrop-filter: blur(6px);
}

.customs-cargo-card__en {
  margin: 0 0 12px;
  color: #ef9db2;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.customs-cargo-card h3 {
  margin: 0;
  color: var(--customs-white);
  font-size: 25px;
}

.customs-cargo-card__items {
  min-height: 78px;
  margin: 16px 0 22px;
  color: rgba(255, 255, 255, 0.84);
}

.customs-cargo-card__law {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  color: var(--customs-white);
  background: rgba(224, 87, 121, 0.22);
  border: 1px solid rgba(239, 157, 178, 0.45);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

/* Flow */
.customs-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
}

.customs-flow li {
  position: relative;
  min-height: 220px;
  padding: 24px 18px;
  background: var(--customs-soft);
  border-top: 4px solid var(--customs-blue);
  border-radius: 0 0 14px 14px;
}

.customs-flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 45%;
  right: -18px;
  z-index: 2;
  color: var(--customs-accent);
  font-size: 20px;
  font-weight: 900;
}

.customs-flow span {
  display: block;
  color: var(--customs-accent);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.customs-flow strong {
  display: block;
  margin-top: 12px;
  color: var(--customs-navy);
  font-size: 18px;
  line-height: 1.45;
}

.customs-flow p {
  margin: 12px 0 0;
  color: var(--customs-sub);
  font-size: 14px;
  line-height: 1.75;
}

/* Commitment */
.customs-message {
  padding: clamp(76px, 10vw, 132px) 0;
  color: var(--customs-white);
  background:
    linear-gradient(90deg, rgba(11, 31, 58, 0.96), rgba(19, 47, 84, 0.88)),
    url("../img/hero/business-hero.webp") center / cover no-repeat;
}

.customs-message__inner {
  max-width: 900px;
}

.customs-message h2 {
  margin: 0;
  font-size: var(--customs-h2);
  line-height: 1.4;
}

.customs-message p:last-child {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 2;
}

/* FAQ */
.customs-faq {
  border-top: 1px solid var(--customs-line);
}

.customs-faq details {
  border-bottom: 1px solid var(--customs-line);
}

.customs-faq summary {
  position: relative;
  padding: 24px 54px 24px 0;
  cursor: pointer;
  color: var(--customs-navy);
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

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

.customs-faq summary::before,
.customs-faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 18px;
  height: 2px;
  background: var(--customs-accent);
  transition: transform 0.2s ease;
}

.customs-faq summary::after {
  transform: rotate(90deg);
}

.customs-faq details[open] summary::after {
  transform: rotate(0);
}

.customs-faq details p {
  margin: -4px 0 0;
  padding: 0 54px 26px 0;
  color: var(--customs-sub);
}

/* CTA */
.customs-cta {
  padding: clamp(80px, 11vw, 140px) 0;
  text-align: center;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.38), transparent 28%),
    linear-gradient(135deg, #f8d8e1, #e98ca5);
}

.customs-cta__inner {
  max-width: 830px;
}

.customs-cta .customs-section__eyebrow {
  color: var(--customs-accent-dark);
}

.customs-cta h2 {
  margin: 0;
  color: var(--customs-navy);
  font-size: var(--customs-h2);
  line-height: 1.35;
}

.customs-cta p {
  margin: 24px 0 32px;
  color: #344258;
  font-size: clamp(16px, 1.8vw, 18px);
}

/* Responsive */
@media (max-width: 1100px) {
  .customs-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .customs-flow li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 920px) {
  .customs-strength-grid,
  .customs-service-grid,
  .customs-cargo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customs-heading--split {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .customs-strength-card {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }

  .customs-hero {
    min-height: 650px;
    align-items: end;
  }

  .customs-hero picture img {
    object-position: 58% center;
  }

  .customs-hero__scrim {
    background: linear-gradient(180deg, rgba(5, 23, 43, 0.32), rgba(5, 23, 43, 0.94) 75%);
  }

  .customs-hero__content {
    padding-top: 120px;
    padding-bottom: 48px;
  }

  .customs-hero__title {
    font-size: clamp(36px, 11vw, 52px);
  }

  .customs-hero__lead {
    font-size: 16px;
  }

  .customs-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .customs-btn {
    width: 100%;
  }

  .customs-section {
    padding: 72px 0;
  }

  .customs-section__title {
    font-size: clamp(27px, 8vw, 38px);
  }

  .customs-strength-grid,
  .customs-service-grid,
  .customs-cargo-grid,
  .customs-flow {
    grid-template-columns: 1fr;
  }

  .customs-strength-card {
    min-height: 0;
  }

  .customs-service-grid {
    gap: 1px;
  }

  .customs-service-grid li {
    min-height: 0;
  }

  .customs-cargo-card__items {
    min-height: 0;
  }

  .customs-flow li {
    min-height: 0;
  }

  .customs-faq summary {
    padding-right: 44px;
    font-size: 16px;
  }

  .customs-faq details p {
    padding-right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customs-btn,
  .customs-faq summary::after {
    transition: none;
  }
}

/* Hero microcopy */
.customs-hero__microcopy {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

/* Problem section */
.customs-section--problem {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.customs-problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.customs-problem-visual {
  margin: 0;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--customs-line);
  border-radius: 22px;
  box-shadow: var(--customs-shadow);
}

.customs-problem-visual img {
  width: 100%;
  border-radius: 14px;
}

.customs-problem-copy h3 {
  margin: 0 0 22px;
  color: var(--customs-navy);
  font-size: clamp(23px, 2.6vw, 32px);
}

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

.customs-check-list li {
  position: relative;
  margin: 0 0 14px;
  padding: 15px 18px 15px 50px;
  color: var(--customs-fg);
  background: #ffffff;
  border: 1px solid var(--customs-line);
  border-radius: 14px;
  font-weight: 700;
}

.customs-check-list li::before {
  content: "!";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: #ffffff;
  background: #d9363e;
  border-radius: 50%;
  font-family: Inter, sans-serif;
  font-weight: 900;
}

.customs-problem-result {
  margin-top: 24px;
  padding: 22px;
  color: #ffffff;
  background: #c9222b;
  border-radius: 16px;
}

.customs-problem-result__label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.customs-problem-result div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.customs-problem-result strong {
  font-size: 17px;
}

.customs-problem-answer {
  margin: 26px 0 0;
  padding: 24px;
  color: #21492d;
  background: #eef8ef;
  border: 1px solid #abd2af;
  border-radius: 16px;
  line-height: 1.9;
}

.customs-problem-answer b {
  color: #0d5b24;
}

/* Comparison */
.customs-section--comparison {
  background: #fbfaf6;
}

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

.customs-comparison-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--customs-line);
  border-radius: 22px;
  box-shadow: var(--customs-shadow);
}

.customs-comparison-card__head {
  padding: 26px 28px 20px;
}

.customs-comparison-card__head span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.customs-comparison-card--before .customs-comparison-card__head span {
  color: #8f2930;
  background: #fdeced;
}

.customs-comparison-card--after .customs-comparison-card__head span {
  color: #1d6330;
  background: #e8f6ea;
}

.customs-comparison-card h3 {
  margin: 0;
  color: var(--customs-navy);
  font-size: clamp(22px, 2.3vw, 29px);
}

.customs-comparison-card figure {
  margin: 0;
  background: #f7f2e8;
  border-top: 1px solid var(--customs-line);
  border-bottom: 1px solid var(--customs-line);
}

.customs-comparison-card figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.customs-comparison-card ul {
  list-style: none;
  margin: 0;
  padding: 24px 28px 30px;
}

.customs-comparison-card li {
  position: relative;
  margin-top: 10px;
  padding-left: 26px;
  color: var(--customs-sub);
}

.customs-comparison-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
}

.customs-comparison-card--before li::before {
  background: #d9363e;
}

.customs-comparison-card--after li::before {
  background: #3a8a48;
}

.customs-comparison-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding: 26px 30px;
  background: var(--customs-navy);
  border-radius: 18px;
}

.customs-comparison-cta p {
  margin: 0;
  color: #ffffff;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
}

/* Additional buttons and CTA */
.customs-btn--outline-dark {
  color: var(--customs-navy);
  background: transparent;
  border-color: var(--customs-navy);
}

.customs-btn--outline-dark:hover {
  color: #ffffff;
  background: var(--customs-navy);
}

.customs-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.customs-cta__note {
  margin: 14px 0 0 !important;
  font-size: 13px !important;
  font-weight: 700;
}

/* Responsive additions */
@media (max-width: 920px) {
  .customs-problem-layout {
    grid-template-columns: 1fr;
  }

  .customs-comparison-grid {
    grid-template-columns: 1fr;
  }

  .customs-comparison-cta {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .customs-problem-layout {
    gap: 28px;
  }

  .customs-problem-visual {
    padding: 8px;
  }

  .customs-problem-result div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .customs-comparison-card__head,
  .customs-comparison-card ul {
    padding-left: 20px;
    padding-right: 20px;
  }

  .customs-comparison-cta {
    padding: 22px;
  }

  .customs-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Desktop heading adjustment
   - Hero main copy stays on one line
   - COMMON PROBLEMS title stays on one line
   - Mobile/tablet behavior remains unchanged
   ========================================================= */
@media (min-width: 1200px) {
  .customs-hero__title {
    max-width: none;
    font-size: clamp(52px, 5vw, 68px);
    line-height: 1.1;
    white-space: nowrap;
  }

  .customs-hero__title span {
    white-space: normal;
  }

  .customs-heading--split {
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: clamp(48px, 5vw, 80px);
    align-items: center;
  }

  .customs-heading--split .customs-section__title {
    font-size: clamp(36px, 3vw, 44px);
    line-height: 1.25;
    white-space: nowrap;
  }

  .customs-heading--split .customs-heading__lead {
    margin-top: 0;
  }
}

/* =========================================================
   HTML/CSS infographic: 通関で止まる会社の共通点
   ========================================================= */
.customs-stop-diagram {
  overflow: hidden;
  background: #ffffff;
  border: 2px solid #0b356b;
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(11, 53, 107, 0.12);
}

.customs-stop-block {
  padding: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid #174f86;
}

.customs-stop-block:last-child {
  border-bottom: 0;
}

.customs-stop-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.customs-stop-heading h3 {
  margin: 0;
  color: #0b356b;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.25;
}

.customs-stop-number {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #0b356b;
  border-radius: 50%;
  font-family: Inter, sans-serif;
  font-size: 25px;
  font-weight: 900;
}

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

.customs-worry-card {
  min-height: 210px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 24px 18px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid #d8dee7;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.customs-worry-card p {
  margin: 0;
  color: #172033;
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 800;
  line-height: 1.45;
}

.customs-icon {
  width: 88px;
  height: 88px;
  color: #0b356b;
}

.customs-icon svg,
.customs-role-icon svg,
.customs-responsibility svg,
.customs-loss-icon svg,
.customs-shield svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.customs-same-cause {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.customs-same-cause span {
  height: 1px;
  background: #9ca3af;
}

.customs-same-cause strong {
  padding: 10px 24px;
  color: #0b356b;
  background: #edf1f6;
  border-radius: 999px;
  font-size: clamp(16px, 1.7vw, 21px);
  text-align: center;
}

.customs-stop-block--cause {
  background: #fbfcfe;
}

.customs-cause-grid {
  display: grid;
  grid-template-columns: 1fr 38px 1fr 38px 1fr;
  gap: 18px;
  align-items: stretch;
}

.customs-role-card {
  min-height: 210px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 24px;
  background: #ffffff;
  border: 2px solid currentColor;
  border-radius: 18px;
}

.customs-role-card--sales {
  color: #e56a00;
  background: #fff8ef;
}

.customs-role-card--customs {
  color: #4b5563;
  background: #f8fafc;
}

.customs-role-card--field {
  color: #1767a5;
  background: #f2f8fd;
}

.customs-role-label {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
}

.customs-role-icon {
  width: 92px;
  height: 92px;
}

.customs-wall {
  align-self: center;
  width: 100%;
  height: 82%;
  background:
    linear-gradient(#9ca3af 1px, transparent 1px),
    linear-gradient(90deg, #9ca3af 1px, transparent 1px),
    #d1d5db;
  background-size: 100% 18px, 19px 100%;
  border: 1px solid #9ca3af;
}

.customs-responsibility {
  max-width: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 30px auto 0;
  padding: 16px 26px;
  color: #ffffff;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(185, 28, 28, 0.22);
}

.customs-responsibility svg {
  width: 38px;
  height: 38px;
}

.customs-responsibility strong {
  font-size: clamp(20px, 2.3vw, 29px);
}

.customs-stop-block--result {
  background: #ffffff;
}

.customs-loss-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customs-loss-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 16px 24px;
  color: #d62828;
  border-right: 1px solid #b8bec8;
}

.customs-loss-item:last-child {
  border-right: 0;
}

.customs-loss-icon {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  padding: 10px;
  color: #ffffff;
  background: #d62828;
  border-radius: 50%;
}

.customs-loss-item strong {
  font-size: clamp(18px, 2vw, 27px);
  white-space: nowrap;
}

.customs-stop-block--solution {
  background: linear-gradient(135deg, #f5fbf4, #edf8ea);
  box-shadow: inset 0 0 0 2px #81b67c;
}

.customs-stop-heading--green h3 {
  color: #37843a;
}

.customs-stop-heading--green .customs-stop-number {
  background: #37843a;
}

.customs-solution-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.customs-shield {
  width: 140px;
  color: #2d7f32;
}

.customs-solution-copy h4 {
  display: inline-block;
  margin: 0 0 22px;
  color: #0d5b24;
  border-bottom: 4px solid #7ab06f;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.15;
}

.customs-one-person-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.customs-one-person-flow b {
  color: #18202c;
  font-size: 25px;
}

.customs-one-person-flow > strong {
  margin-left: 6px;
  color: #172033;
  font-size: clamp(18px, 2vw, 27px);
}

.customs-flow-chip {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 18px;
  color: #ffffff;
  border-radius: 10px;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
}

.customs-flow-chip--sales {
  background: #4b9a3f;
}

.customs-flow-chip--customs {
  background: #4b5563;
}

.customs-flow-chip--billing {
  background: #2073bd;
}

.customs-solution-statement {
  margin: 26px 0 0;
  padding-top: 22px;
  color: #183c22;
  border-top: 2px dashed #7ab06f;
  font-size: clamp(20px, 2.4vw, 31px);
  font-weight: 800;
  text-align: center;
}

.customs-solution-statement b {
  color: #0d5b24;
  text-decoration: underline;
  text-decoration-color: #f2dc00;
  text-decoration-thickness: 5px;
  text-underline-offset: 6px;
}

@media (max-width: 920px) {
  .customs-worry-grid {
    grid-template-columns: 1fr;
  }

  .customs-worry-card {
    min-height: 0;
    grid-template-columns: 74px 1fr;
    justify-items: start;
    text-align: left;
  }

  .customs-icon {
    width: 66px;
    height: 66px;
  }

  .customs-cause-grid {
    grid-template-columns: 1fr;
  }

  .customs-wall {
    width: 70%;
    height: 18px;
    justify-self: center;
  }

  .customs-loss-grid {
    grid-template-columns: 1fr;
  }

  .customs-loss-item {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid #d4d8df;
  }

  .customs-loss-item:last-child {
    border-bottom: 0;
  }

  .customs-solution-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .customs-one-person-flow {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .customs-stop-diagram {
    border-width: 1px;
    border-radius: 16px;
  }

  .customs-stop-block {
    padding: 24px 16px;
  }

  .customs-stop-heading {
    align-items: flex-start;
  }

  .customs-stop-number {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .customs-worry-card {
    grid-template-columns: 54px 1fr;
    padding: 18px 14px;
  }

  .customs-icon {
    width: 50px;
    height: 50px;
  }

  .customs-same-cause {
    grid-template-columns: 1fr;
  }

  .customs-same-cause span {
    display: none;
  }

  .customs-same-cause strong {
    border-radius: 14px;
  }

  .customs-role-card {
    min-height: 175px;
  }

  .customs-role-icon {
    width: 72px;
    height: 72px;
  }

  .customs-responsibility {
    padding: 14px 16px;
  }

  .customs-loss-item {
    padding: 14px 4px;
  }

  .customs-loss-icon {
    width: 52px;
    height: 52px;
  }

  .customs-shield {
    width: 105px;
  }

  .customs-solution-copy h4 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .customs-one-person-flow > strong {
    width: 100%;
    margin: 8px 0 0;
  }

  .customs-solution-statement {
    line-height: 1.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customs-worry-card,
  .customs-role-card,
  .customs-loss-item {
    scroll-behavior: auto;
  }
}

/* =========================================================
   Experience
   在籍通関士が前職を含めて携わった貨物分野を控えめに表示
   ========================================================= */
.customs-experience {
  padding-top: 54px;
  padding-right: 0;
  padding-bottom: 58px;
  padding-left: 0;

  background-color: #f7f8fa;

  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--customs-line);
}

.customs-experience .container {
  width: min(1120px, 92vw);
}

.customs-experience__header {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);

  row-gap: 22px;
  column-gap: 48px;

  align-items: end;

  margin-bottom: 28px;
}

.customs-experience__eyebrow {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 7px;
  margin-left: 0;

  color: var(--customs-accent);

  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.customs-experience__header h2 {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  color: var(--customs-navy);

  font-size: clamp(21px, 2.3vw, 29px);
  line-height: 1.45;
}

.customs-experience__lead {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  color: var(--customs-sub);

  font-size: 13px;
  line-height: 1.85;
}

.customs-experience__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  row-gap: 12px;
  column-gap: 12px;
}

.customs-experience__item {
  padding-top: 18px;
  padding-right: 18px;
  padding-bottom: 18px;
  padding-left: 18px;

  background-color: rgba(255, 255, 255, 0.82);

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: #e1e5ea;
  border-right-color: #e1e5ea;
  border-bottom-color: #e1e5ea;
  border-left-color: #e1e5ea;

  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
}

.customs-experience__item h3 {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 7px;
  margin-left: 0;

  color: var(--customs-navy);

  font-size: 14px;
  line-height: 1.5;
}

.customs-experience__item p {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  color: #66717e;

  font-size: 11px;
  line-height: 1.75;
}

.customs-experience__note {
  margin-top: 18px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  color: #7b838d;

  font-size: 10px;
  line-height: 1.7;
}


/* =========================================================
   Why Seitaro Arai?
   商社機能と通関機能の関係を補足
   ========================================================= */
.customs-why {
  background-color: #ffffff;
}

.customs-why__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);

  row-gap: 34px;
  column-gap: clamp(48px, 7vw, 92px);

  align-items: start;
}

.customs-why__heading .customs-section__title {
  margin-bottom: 0;

  font-size: clamp(29px, 3.5vw, 46px);
}

.customs-why__body p {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 18px;
  margin-left: 0;

  color: var(--customs-sub);

  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2;
}

.customs-why__body .customs-why__conclusion {
  margin-top: 26px;
  margin-bottom: 0;

  padding-top: 18px;
  padding-right: 20px;
  padding-bottom: 18px;
  padding-left: 20px;

  color: var(--customs-navy);
  background-color: var(--customs-soft);

  border-left-width: 4px;
  border-left-style: solid;
  border-left-color: var(--customs-accent);

  font-weight: 800;
}


/* =========================================================
   Responsive additions
   ========================================================= */
@media (max-width: 920px) {
  .customs-experience__header,
  .customs-why__grid {
    grid-template-columns: 1fr;

    column-gap: 0;
  }

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

@media (max-width: 768px) {
  .customs-experience {
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .customs-experience__grid {
    grid-template-columns: 1fr;
  }

  .customs-experience__item {
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 16px;
  }

  .customs-why__heading .customs-section__title {
    font-size: clamp(27px, 8vw, 38px);
  }
}

