/* ============================================================
   HeROINTL Corporate Site
   Base: White / Accent: HeRO Red #C23A30
   ============================================================ */

:root {
  --red: #C23A30;
  --red-dark: #A32F27;
  --black: #111111;
  --dark: #2B2B2B;
  --mid: #767676;
  --light: #F5F5F5;
  --white: #FFFFFF;
  --border: #E5E5E5;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-ja);
  color: var(--black);
  background: var(--white);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }

ul, ol { list-style: none; }

/* Accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--red); color: #fff; padding: 10px 20px; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Layout */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

.section { padding: 110px 0; }
.section--gray { background: var(--light); }
.section--dark { background: var(--black); color: var(--white); }

/* Section heading pattern */
.sec-label {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--mid);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.sec-label::before {
  content: "";
  width: 36px; height: 2px; background: var(--red); display: inline-block;
}
.section--dark .sec-label { color: #aaa; }

.sec-num {
  color: var(--red);
  font-weight: 800;
}

.sec-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

.sec-title-en {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 84px);
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.lead { font-size: 17px; color: var(--dark); max-width: 760px; }
.section--dark .lead { color: #ddd; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  padding: 16px 40px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { opacity: 1; transform: translateY(-2px); }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }

.btn--outline { background: #fff; color: var(--black); border-color: var(--black); }
.btn--outline:hover { border-color: var(--red); color: var(--red); }

.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: var(--light); }

.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
/* Note: backdrop-filter turns the header into the containing block for
   position:fixed descendants, which breaks the full-screen mobile nav.
   Apply it only at widths where the nav is inline. */
@media (min-width: 1181px) {
  .site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
  }
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo img { height: 40px; width: auto; }

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
}
.global-nav a {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 8px 2px;
  position: relative;
  white-space: nowrap;
}
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.global-nav a:hover::after,
.global-nav a[aria-current="page"]::after { transform: scaleX(1); }
.global-nav a[aria-current="page"] { color: var(--red); }

.nav-contact {
  background: var(--red);
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 24px !important;
}
.nav-contact::after { display: none; }
.nav-contact:hover { background: var(--red-dark); opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 48px; height: 48px;
  cursor: pointer;
  position: relative;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--black);
  margin: 6px auto;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.98);
    display: none;
    padding: calc(var(--header-h) + 24px) 24px 40px;
    overflow-y: auto;
  }
  .global-nav.is-open { display: block; }
  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .global-nav li { border-bottom: 1px solid var(--border); }
  .global-nav a {
    display: block;
    font-size: 16px;
    padding: 18px 8px;
  }
  .global-nav a::after { display: none; }
  .global-nav .nav-contact {
    margin-top: 24px;
    text-align: center;
    border-radius: 999px;
    padding: 16px !important;
  }
  .global-nav li:last-child { border-bottom: none; }
}

/* ============================================================
   Hero (Top)
   ============================================================ */
.hero {
  position: relative;
  padding-top: var(--header-h);
  background: var(--white);
}

/* Full-bleed clear photo carousel with overlaid copy */
.hero-media {
  position: relative;
}
.hero-slides {
  position: relative;
  height: max(calc(100vh - var(--header-h)), 600px);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-dots {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  gap: 12px;
}
.hero-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color .25s, transform .25s;
}
.hero-dots button:hover { transform: scale(1.25); }
.hero-dots button[aria-current="true"] { background: #fff; }

/* Quiet dark scrim on the copy side only — the photo stays clear */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.58) 0%, rgba(17, 17, 17, 0.32) 44%, rgba(17, 17, 17, 0) 74%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.28) 0%, rgba(17, 17, 17, 0) 28%);
}
.hero-overlay > .container { width: 100%; }

.hero-copy-en {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: 0.28em;
  color: #fff;
  margin-bottom: 24px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-copy-en::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.hero-copy {
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 26px;
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(255, 255, 255, 0.88);
  line-height: 2.05;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Ghost button for use on the photo */
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* SCROLL indicator sits on the photo */
.hero-media .hero-scroll { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.hero-media .hero-scroll::after { background: linear-gradient(to bottom, #fff, transparent); }

.hero-photo-caption {
  margin-top: 18px;
  padding-bottom: 6px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-photo-caption .marker {
  width: 8px;
  height: 8px;
  background: var(--red);
}

.nw { white-space: nowrap; }

@media (max-width: 1100px) {
  .hero .hero-scroll { display: none; }
}

@media (max-width: 900px) {
  .hero-slides { height: max(calc(100vh - var(--header-h)), 520px); }
  .hero-dots { right: 20px; bottom: 20px; }
  .hero-copy { font-size: clamp(30px, 7vw, 44px); }
  .hero-copy-en::before { width: 30px; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 17, 17, 0.55) 0%, rgba(17, 17, 17, 0.38) 55%, rgba(17, 17, 17, 0.22) 100%),
      linear-gradient(0deg, rgba(17, 17, 17, 0.25) 0%, rgba(17, 17, 17, 0) 30%);
  }
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Page hero (lower pages) */
.page-hero {
  padding: calc(var(--header-h) + 90px) 0 70px;
  background: var(--light);
}
.page-hero-en {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.page-hero-ja {
  margin-top: 12px;
  font-weight: 700;
  font-size: 16px;
  color: var(--red);
  letter-spacing: 0.1em;
}

.breadcrumb {
  padding: 16px 0;
  font-size: 12px;
  color: var(--mid);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #ccc; }
.breadcrumb a { color: var(--mid); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   POSSIBILITY section
   ============================================================ */
.possibility { background: var(--black); color: #fff; overflow: hidden; }
.possibility-head { margin-bottom: clamp(20px, 3vw, 32px); }
.possibility-head .lead { color: #fff; }
.possibility-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: #2e2e2e;
  border: 1px solid #2e2e2e;
}
.possibility-item {
  background: var(--black);
  padding: 36px 28px;
  transition: background-color .3s;
}
.possibility-item:hover { background: #1c1c1c; }
.possibility-item .en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.possibility-item h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.possibility-item p { font-size: 13px; color: #aaa; }

/* ============================================================
   Business cards
   ============================================================ */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 820px) { .biz-grid { grid-template-columns: 1fr; } }

.biz-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  transition: box-shadow .3s, transform .3s;
  position: relative;
}
.biz-card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  opacity: 1;
}

.biz-card-visual {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  overflow: hidden;
  padding: 30px;
}
.biz-card-visual img { max-height: 100%; width: auto; object-fit: contain; }
.biz-card-visual.is-photo { padding: 0; }
.biz-card-visual.is-photo img { width: 100%; height: 100%; object-fit: cover; }

.biz-card-visual .text-mark {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 0.05em;
  color: var(--black);
}

.biz-card-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.biz-card-cat {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.biz-card-cat .num { color: var(--mid); margin-right: 8px; }
.biz-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.biz-card p { font-size: 14px; color: var(--mid); flex: 1; }
.biz-card-arrow {
  margin-top: 18px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.biz-card-arrow::after {
  content: "→";
  color: var(--red);
  transition: transform .25s;
}
.biz-card:hover .biz-card-arrow::after { transform: translateX(5px); }

/* ============================================================
   Business detail (business.html)
   ============================================================ */
.biz-section { padding: 90px 0; border-top: 1px solid var(--border); }
.biz-section:first-of-type { border-top: none; }

.biz-detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}
@media (max-width: 820px) { .biz-detail { grid-template-columns: 1fr; gap: 28px; } }

.biz-logo-box {
  border: 1px solid var(--border);
  background: #fff;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.biz-logo-box img { max-height: 130px; width: auto; }
.biz-logo-box .text-mark {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: 0.04em;
}

.biz-message {
  border-left: 3px solid var(--red);
  padding: 6px 0 6px 20px;
  font-weight: 700;
  font-size: 18px;
  margin: 26px 0;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag-list li {
  font-size: 13px;
  border: 1px solid var(--border);
  background: var(--light);
  border-radius: 999px;
  padding: 6px 16px;
  color: var(--dark);
}

.link-external {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============================================================
   Philosophy
   ============================================================ */
.philosophy-block {
  text-align: center;
  padding: 40px 0;
}
.philosophy-statement {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 18px;
}
.philosophy-sub {
  color: var(--red);
  font-weight: 700;
  font-size: clamp(15px, 2vw, 18px);
  margin-bottom: 36px;
}

/* ============================================================
   Message
   ============================================================ */
.message-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 60px;
  align-items: start;
}
@media (max-width: 820px) { .message-grid { grid-template-columns: 1fr; gap: 32px; } }

.message-photo img { width: 100%; }
.message-photo figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--mid);
}

.message-quote {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 28px;
}
.message-quote .accent { color: var(--red); }

.message-body p { margin-bottom: 1.4em; }

.message-sign {
  margin-top: 36px;
  text-align: right;
}
.message-sign .company { font-size: 13px; color: var(--mid); }
.message-sign .name { font-size: 20px; font-weight: 700; }

/* ============================================================
   Social Action
   ============================================================ */
.social-hero-copy {
  font-size: clamp(26px, 4.5vw, 46px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ============================================================
   Company table / History
   ============================================================ */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.company-table th, .company-table td {
  text-align: left;
  padding: 18px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.company-table th {
  width: 220px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { border-bottom: none; padding-bottom: 4px; color: var(--red); }
  .company-table td { padding-top: 0; }
}

.history {
  position: relative;
  margin-top: 20px;
  padding-left: 28px;
}
.history::before {
  content: "";
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}
.history li {
  position: relative;
  padding: 0 0 34px 12px;
}
.history li::before {
  content: "";
  position: absolute;
  left: -27px; top: 9px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--red);
}
.history .year {
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--red);
  font-size: 15px;
  letter-spacing: 0.05em;
  display: block;
}
.history .event { font-weight: 700; font-size: 17px; }
.history .note { font-size: 14px; color: var(--mid); }

/* ============================================================
   News
   ============================================================ */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.news-filter button {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: all .2s;
}
.news-filter button:hover { border-color: var(--red); color: var(--red); }
.news-filter button[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.news-list li { border-bottom: 1px solid var(--border); }
.news-list a {
  display: grid;
  grid-template-columns: 110px 130px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 8px;
  transition: background-color .2s;
}
.news-list a:hover { background: var(--light); opacity: 1; }
@media (max-width: 640px) {
  .news-list a { grid-template-columns: auto 1fr; grid-template-rows: auto auto; }
  .news-list .news-title { grid-column: 1 / -1; }
  .news-list .news-arrow { display: none; }
}
.news-date {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--mid);
  letter-spacing: 0.05em;
}
.news-cat {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 3px 12px;
  text-align: center;
  white-space: nowrap;
}
.news-title { font-size: 15px; font-weight: 500; }
.news-arrow { color: var(--red); font-family: var(--font-en); }

.news-empty {
  padding: 40px 0;
  color: var(--mid);
  font-size: 14px;
}

/* ============================================================
   Recruit
   ============================================================ */
.recruit-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.recruit-value {
  border: 1px solid var(--border);
  padding: 30px 26px;
  background: #fff;
}
.recruit-value .en {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}
.recruit-value h3 { font-size: 18px; margin-bottom: 8px; }
.recruit-value p { font-size: 14px; color: var(--mid); }

/* ============================================================
   Contact
   ============================================================ */
.contact-cta {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 100px 24px;
}
.contact-cta h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 16px;
}
.contact-cta p { margin-bottom: 36px; opacity: 0.92; }

.form-grid { display: grid; gap: 28px; margin-top: 40px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}
.required {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 10px;
  vertical-align: middle;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: var(--black);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(194, 58, 48, 0.35);
  border-color: var(--red);
}
.form-note { font-size: 13px; color: var(--mid); }

.contact-info {
  margin-top: 60px;
  border: 1px solid var(--border);
  padding: 32px;
  background: var(--light);
}
.contact-info h3 { font-size: 17px; margin-bottom: 12px; }
.contact-info .tel {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.contact-info .tel a { color: var(--black); }
.contact-info p { font-size: 14px; color: var(--mid); }

.form-status {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--info { background: #FDF2F1; color: var(--red-dark); border: 1px solid #F0C9C6; }

/* ============================================================
   CTA band (shared)
   ============================================================ */
.cta-band {
  background: var(--black);
  color: #fff;
  padding: 90px 0;
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 700; line-height: 1.6; }
.cta-band .en {
  font-family: var(--font-en);
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.2em;
  font-size: 13px;
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: #ccc;
  padding: 70px 0 30px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand .name {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.04em;
}
.footer-brand .name .accent { color: var(--red); }
.footer-brand .ja { font-size: 12px; color: #999; margin-bottom: 16px; }
.footer-brand address { font-style: normal; line-height: 1.8; color: #aaa; }

.footer-nav h3 {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #888;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-nav ul li { margin-bottom: 10px; }
.footer-nav a { color: #ccc; }
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #888;
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll::after { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

br.sp { display: none; }
@media (max-width: 640px) {
  br.sp { display: inline; }
  .section { padding: 72px 0; }
  .biz-section { padding: 60px 0; }
}

/* ============================================================
   JAL-inspired refinements
   1) SP first-view : curved photo + display copy below
   2) Card carousel (POSSIBILITY)
   3) Softer, airier global tone
   ============================================================ */

:root {
  --radius: 10px;
  --hero-sp-h: max(56vh, 380px);
}

/* ------------------------------------------------------------
   3) Global tone — rounded panels, light italic display English
   ------------------------------------------------------------ */
.biz-card,
.biz-logo-box,
.recruit-value,
.contact-info,
.message-photo img { border-radius: var(--radius); }

.biz-card { overflow: hidden; }
.biz-card-visual { border-radius: 0; }

.sec-title-en,
.page-hero-en {
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.005em;
}
.page-hero-en { color: var(--dark); }

/* ------------------------------------------------------------
   2) Carousel
   ------------------------------------------------------------ */
.carousel { position: relative; }

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * {
  flex: 0 0 auto;
  width: calc((100% - 48px) / 3);
  scroll-snap-align: start;
}
.carousel-track:focus-visible { outline-offset: 6px; }

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}
.carousel-progress {
  position: relative;
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
}
.carousel-progress span {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 34%;
  background: var(--red);
  transition: left .35s ease, width .35s ease;
}
.carousel-btns { display: flex; gap: 12px; flex-shrink: 0; }
.carousel-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, opacity .25s;
}
.carousel-btn:hover:not([disabled]) { background: #fff; border-color: #fff; color: var(--black); }
.carousel-btn[disabled] { opacity: .28; cursor: default; }

/* POSSIBILITY cards inside the carousel */
.possibility-list.carousel-track {
  display: flex;
  grid-template-columns: none;
  gap: 24px;
  background: none;
  border: none;
}
.possibility-item {
  position: relative;
  background: #161616;
  border: 1px solid #2e2e2e;
  border-radius: var(--radius);
  padding: 38px 30px 42px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  transition: background-color .3s, border-color .3s, transform .3s;
}
.possibility-item:hover {
  background: #1d1d1d;
  border-color: #4a4a4a;
  transform: translateY(-4px);
}
.possibility-item .num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #5a5a5a;
  margin-bottom: 22px;
  display: block;
}
.possibility-item h3 { font-size: 21px; line-height: 1.6; }
.possibility-item p { margin-top: auto; padding-top: 14px; }

@media (max-width: 900px) {
  .carousel-track > * { width: calc((100% - 24px) / 2); }
  .carousel-controls { gap: 20px; margin-top: 32px; }
  .carousel-btn { width: 48px; height: 48px; }
}
@media (max-width: 640px) {
  .carousel-track,
  .possibility-list.carousel-track { gap: 16px; }
  .carousel-track > * { width: 80%; }
  .possibility-item { min-height: 220px; padding: 32px 26px 36px; }
}

/* ------------------------------------------------------------
   1) Smartphone first view
   ------------------------------------------------------------ */
@media (max-width: 767px) {
  .hero { padding-bottom: 24px; }
  .hero-media { display: block; }

  /* Photo panel with a soft arc along the bottom edge */
  .hero-slides {
    height: var(--hero-sp-h);
    border-bottom-left-radius: 50% 13%;
    border-bottom-right-radius: 50% 13%;
  }
  .hero-slide img { object-position: center 26%; }

  .hero-dots {
    right: auto;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    top: calc(var(--hero-sp-h) - 34px);
    gap: 10px;
  }
  .hero-dots button { width: 9px; height: 9px; }

  /* Copy block drops below the photo, on white */
  .hero-overlay {
    position: static;
    display: block;
    background: none;
    padding: 42px 0 0;
  }
  .hero-overlay > .container { padding: 0 26px; }

  .hero-copy-en {
    display: block;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(34px, 10.5vw, 52px);
    line-height: 1.2;
    letter-spacing: 0.005em;
    text-transform: none;
    color: #6f6f6f;
    padding-right: 60px;
    margin-bottom: 46px;
  }
  .hero-copy-en::before { display: none; }

  .hero-copy {
    text-align: center;
    color: var(--black);
    font-size: 19px;
    font-weight: 500;
    line-height: 2.4;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
  }

  .hero-sub {
    text-align: center;
    color: var(--mid);
    font-size: 14px;
    line-height: 2.1;
    max-width: 30em;
    margin: 0 auto 34px;
  }

  .hero-actions { justify-content: center; }
  .hero-actions .btn { flex: 1 1 100%; max-width: 320px; padding: 15px 28px; }
  .btn--ghost { color: var(--black); border-color: rgba(17, 17, 17, 0.28); }
  .btn--ghost:hover { background: var(--light); border-color: var(--black); }

  /* Vertical SCROLL rail beside the display copy */
  .hero .hero-scroll,
  .hero-media .hero-scroll {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    position: absolute;
    top: calc(var(--hero-sp-h) + 34px);
    right: 18px;
    bottom: auto;
    left: auto;
    transform: none;
    writing-mode: vertical-rl;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.32em;
    color: var(--red);
    text-shadow: none;
  }
  .hero .hero-scroll::after,
  .hero-media .hero-scroll::after {
    flex: none;
    width: 2px;
    height: 118px;
    background: var(--red);
    animation: none;
  }

  .hero-photo-caption { display: none; }
}
