/* Shared template for static showcase pages: about/export/rental/service */

body.showcase-page {
  --showcase-panel-border: rgba(43, 41, 38, 0.08);
  --showcase-panel-bg: #ffffff;
  --showcase-panel-shadow: 0 4px 20px rgba(43, 41, 38, 0.07);
  --showcase-panel-radius: 22px;
  --showcase-panel-radius-mobile: 18px;
  --showcase-contact-button-bg: #f3f2ed;
  --showcase-eyebrow-size: 11px;
  --showcase-eyebrow-line-height: 1.1;
  --showcase-eyebrow-spacing: 0.22em;
  --showcase-hero-title-max-width: min(720px, 100%);
  --showcase-hero-title-size: clamp(40px, 5.2vw, 72px);
  --showcase-hero-title-line-height: 0.98;
  --showcase-hero-title-letter-spacing: -0.02em;
  --showcase-hero-sub-max-width: min(760px, 100%);
  --showcase-hero-sub-size: 14px;
  --showcase-hero-sub-line-height: 1.84;
  --showcase-section-head-max-width: 1120px;
  --showcase-section-copy-max-width: min(920px, 100%);
  --showcase-section-title-size: clamp(28px, 3vw, 44px);
  --showcase-section-title-line-height: 1.08;
  --showcase-section-title-letter-spacing: -0.014em;
  --showcase-section-sub-size: 14px;
  --showcase-section-sub-line-height: 1.82;
  background:
    radial-gradient(circle at 10% -10%, rgba(242, 250, 90, 0.14), transparent 36%),
    linear-gradient(180deg, #f6f7f8 0%, #f3f4f6 44%, #f5f6f8 100%);
  color: #171717;
}

html:lang(ja) body.showcase-page {
  --showcase-eyebrow-size: 12px;
  --showcase-eyebrow-spacing: 0.12em;
  --showcase-hero-title-line-height: 1.04;
  --showcase-hero-title-letter-spacing: 0;
  --showcase-hero-sub-size: 15px;
  --showcase-hero-sub-line-height: 1.9;
  --showcase-section-head-max-width: 1180px;
  --showcase-section-title-size: clamp(30px, 3.05vw, 44px);
  --showcase-section-title-line-height: 1.12;
  --showcase-section-title-letter-spacing: 0;
  --showcase-section-sub-size: 15px;
  --showcase-section-sub-line-height: 1.88;
}

html:lang(en) body.showcase-page {
  --showcase-section-head-max-width: 1160px;
  --showcase-section-title-size: clamp(28px, 2.85vw, 42px);
  --showcase-section-title-line-height: 1.1;
  --showcase-section-sub-line-height: 1.78;
}

.showcase-main {
  color: #171717;
}

.showcase-shell {
  width: min(var(--page-shell-max), calc(100vw - (var(--page-gutter-desktop) + var(--page-gutter-desktop))));
  margin: 0 auto;
}

.showcase-section .showcase-shell {
  width: min(var(--page-shell-max), 100%);
}

.showcase-hero {
  position: relative;
  overflow: hidden;
}

.showcase-hero-media,
.showcase-hero-overlay {
  position: absolute;
  inset: 0;
}

.showcase-hero-media {
  pointer-events: none;
}

.showcase-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  transform: scale(1.02);
}

.showcase-hero-overlay {
  pointer-events: none;
  background:
    var(--showcase-hero-overlay-tint, linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.68) 100%)),
    var(--showcase-hero-overlay-glow, radial-gradient(circle at 84% 10%, rgba(242, 250, 90, 0.2), transparent 36%)),
    var(--showcase-hero-overlay-grid, linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 44px));
  background-size: auto, auto, var(--showcase-hero-overlay-grid-size, 44px 44px);
  opacity: var(--showcase-hero-overlay-opacity, 1);
}

.showcase-hero-inner {
  position: relative;
  z-index: 1;
}

.showcase-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 184px;
  padding: 0 26px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, color 0.24s ease, background-color 0.24s ease;
}

.showcase-button:hover {
  transform: translateY(-2px);
}

.showcase-button--primary {
  background: var(--cyan);
  color: #171717;
  box-shadow: var(--cyan-glow);
}

.showcase-button--primary:hover {
  color: #171717;
  box-shadow: 0 16px 34px rgba(242, 250, 90, 0.24);
}

.showcase-button--secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.showcase-button--secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
}

.showcase-section {
  padding: 92px var(--page-gutter-desktop) 0;
}

.showcase-section:last-of-type {
  padding-bottom: 104px;
}

.showcase-head {
  width: 100%;
  max-width: var(--page-shell-max);
  margin-inline: auto;
}

.showcase-page :is(.about-section-head h2, .export-section-head h2, .service-section-head h2, .rental-section-head h2) {
  max-width: var(--showcase-section-head-max-width);
  text-wrap: balance;
}

.showcase-page :is(
  .about-section-head p,
  .export-section-head p,
  .service-section-head p,
  .rental-section-head > p:not(.rental-kicker)
) {
  max-width: var(--showcase-section-copy-max-width);
  text-wrap: pretty;
}

.showcase-page :is(
  .export-header,
  .export-destination-grid,
  .export-scope-grid,
  .export-flow-grid,
  .export-pricing-panel,
  .export-vehicle-grid,
  .export-contact-grid,
  .rental-header,
  .rental-fleet-grid,
  .rental-flow-grid,
  .rental-rules-grid,
  .rental-contact-grid,
  .service-header,
  .service-matrix-grid,
  .service-flow-grid,
  .service-info-panel,
  .service-faq-list,
  .service-bottom-cta
) {
  max-width: var(--page-shell-max);
  margin: 0 auto;
}

.showcase-page :is(.export-header, .rental-header, .service-header) {
  max-width: 760px;
}

.showcase-page :is(
  .export-destination-card,
  .export-scope-card,
  .export-flow-card,
  .export-pricing-panel,
  .export-contact-panel,
  .export-form,
  .rental-flow-card,
  .rental-rule-card,
  .rental-contact-panel,
  .rental-form,
  .service-card,
  .service-flow-card,
  .service-info-panel,
  .service-faq-item
) {
  border: 1px solid var(--showcase-panel-border);
  border-radius: var(--showcase-panel-radius);
  background: var(--showcase-panel-bg);
  box-shadow: var(--showcase-panel-shadow);
}

.showcase-page :is(.export-flow-card, .rental-flow-card, .service-flow-card) {
  padding: var(--showcase-flow-card-padding, 24px);
}

.showcase-page :is(.export-flow-card h3, .rental-flow-card h3, .service-flow-card h3) {
  font-size: var(--showcase-flow-title-size, 20px);
  line-height: var(--showcase-flow-title-line, 1.3);
  margin-bottom: var(--showcase-flow-title-gap, 10px);
}

.showcase-page :is(.export-flow-card p, .rental-flow-card p, .service-flow-card p) {
  margin-top: var(--showcase-flow-text-margin, 0);
  font-size: 14px;
  line-height: var(--showcase-flow-text-line, 1.82);
  color: var(--showcase-flow-text-color, rgba(43, 41, 38, 0.66));
}

.showcase-page :is(.export-form-grid, .rental-form-grid) {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.showcase-page :is(.export-field, .rental-field) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase-page :is(.export-field--full, .rental-field--full) {
  grid-column: 1 / -1;
}

.showcase-page :is(.export-field span, .rental-field span) {
  font-size: 12px;
  font-weight: 600;
  color: rgba(43, 41, 38, 0.62);
}

.showcase-page :is(.export-field input, .export-field textarea, .rental-field input, .rental-field textarea) {
  width: 100%;
  border: 1px solid rgba(16, 17, 20, 0.14);
  border-radius: 12px;
  background: #f6f5f0;
  color: #1d1d1d;
  font-size: 14px;
  line-height: 1.45;
  padding: 11px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.showcase-page :is(.export-field textarea, .rental-field textarea) {
  resize: vertical;
  min-height: 96px;
}

.showcase-page :is(.export-field input:focus, .export-field textarea:focus, .rental-field input:focus, .rental-field textarea:focus) {
  outline: none;
  border-color: rgba(106, 182, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(106, 182, 255, 0.16);
}

.showcase-page :is(.export-form-submit, .rental-form-submit) {
  margin-top: 18px;
  min-height: 48px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid transparent;
  background: #151515;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.showcase-page :is(.export-form-submit:hover, .rental-form-submit:hover) {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(16, 17, 20, 0.24);
}

.showcase-page :is(.export-form-feedback, .rental-form-feedback) {
  min-height: 20px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(23, 23, 23, 0.58);
}

.showcase-page :is(.export-contact-button, .rental-contact-button) {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(16, 17, 20, 0.12);
  background: var(--showcase-contact-button-bg);
  color: #191919;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.showcase-page :is(.export-contact-button:hover, .rental-contact-button:hover) {
  transform: translateY(-1px);
  color: #191919;
  border-color: rgba(16, 17, 20, 0.24);
  box-shadow: 0 8px 16px rgba(17, 17, 17, 0.08);
}

.showcase-page :is(.export-contact-button--phone, .rental-contact-button--phone) {
  background: var(--cyan);
}

.showcase-page :is(.export-contact-note, .rental-contact-note) {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(43, 41, 38, 0.52);
}

@media (max-width: 820px) {
  .showcase-shell {
    width: min(var(--page-shell-max), calc(100vw - (var(--page-gutter-mobile) + var(--page-gutter-mobile))));
  }

  .showcase-section {
    padding-left: var(--page-gutter-mobile);
    padding-right: var(--page-gutter-mobile);
  }
}

@media (max-width: 760px) {
  body.showcase-page {
    --showcase-hero-title-max-width: 100%;
    --showcase-hero-title-size: clamp(34px, 9.4vw, 48px);
    --showcase-hero-sub-max-width: 100%;
    --showcase-hero-sub-size: 13px;
    --showcase-hero-sub-line-height: 1.74;
    --showcase-section-copy-max-width: 100%;
    --showcase-section-title-size: clamp(26px, 6.8vw, 38px);
    --showcase-section-title-line-height: 1.14;
    --showcase-section-sub-size: 13px;
    --showcase-section-sub-line-height: 1.76;
  }

  html:lang(ja) body.showcase-page {
    --showcase-eyebrow-size: 11px;
    --showcase-hero-sub-size: 14px;
    --showcase-section-sub-size: 14px;
    --showcase-section-title-line-height: 1.18;
  }

  .showcase-button {
    width: 100%;
    min-width: 0;
  }

  .showcase-section {
    padding: 74px var(--page-gutter-mobile) 0;
  }

  .showcase-section:last-of-type {
    padding-bottom: 74px;
  }

  .showcase-page :is(
    .export-destination-card,
    .export-scope-card,
    .export-flow-card,
    .export-pricing-panel,
    .export-contact-panel,
    .export-form,
    .rental-flow-card,
    .rental-rule-card,
    .rental-contact-panel,
    .rental-form,
    .service-card,
    .service-flow-card,
    .service-info-panel,
    .service-faq-item
  ) {
    border-radius: var(--showcase-panel-radius-mobile);
  }

  .showcase-page :is(.export-flow-card, .rental-flow-card, .service-flow-card) {
    padding: var(--showcase-flow-card-padding-mobile, var(--showcase-flow-card-padding, 24px));
  }

  .showcase-page :is(.export-flow-card h3, .rental-flow-card h3, .service-flow-card h3) {
    font-size: var(--showcase-flow-title-size-mobile, var(--showcase-flow-title-size, 20px));
  }

  .showcase-page :is(.export-form-grid, .rental-form-grid) {
    grid-template-columns: 1fr;
  }
}
