/* ==========================================================================
   KINKI CORPORATE WEBSITE
   Shared stylesheet
   ----------------------------------------------------------------------------
   方針:
   1. 全ページ共通の design token / layout / header / footer を先に定義
   2. コンポーネント単位で再利用
   3. 各ページ固有スタイルは body modifier（例: .page--privacy）配下へ限定
   4. !important は原則使用しない
   ========================================================================== */

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
  --color-red: #d50012;
  --color-red-dark: #b8000f;
  --color-black: #0a0a0a;
  --color-ink: #1a1a1a;
  --color-gray-900: #2a2a2a;
  --color-gray-700: #666;
  --color-gray-500: #8b8b8b;
  --color-gray-300: #d9d9d9;
  --color-gray-200: #e9e9e9;
  --color-gray-100: #f5f5f5;
  --color-white: #fff;

  --font-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;

  --container: 1180px;
  --header-height: 78px;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5rem;

  --radius-sm: 4px;
  --radius-md: 8px;

  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.06);
  --transition: 180ms ease;
}

/* ==========================================================================
   2. Reset / Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  color: var(--color-white);
  background: var(--color-red);
}

/* ==========================================================================
   3. Shared Layout
   ========================================================================== */
.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-7);
}

.section--muted {
  background: var(--color-gray-100);
}

.section-heading {
  margin-bottom: var(--space-5);
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--color-red);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.section-line {
  width: 54px;
  height: 3px;
  margin-top: 1rem;
  background: var(--color-red);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

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

.button--outline {
  color: var(--color-ink);
  border-color: var(--color-gray-300);
  background: var(--color-white);
}

.button--outline:hover {
  color: var(--color-white);
  border-color: var(--color-red);
  background: var(--color-red);
}

.button--full {
  width: 100%;
}

/* ==========================================================================
   4. Shared Header
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  min-height: var(--header-height);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 28px;
  white-space: nowrap;
}

.site-brand__mark {
  position: relative;
  color: var(--color-red);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1;
}

.site-brand__mark::after {
  content: "KINKI METAL CO., LTD.";
  position: absolute;
  top: calc(100% + 4px);
  left: 1px;
  font-size: 0.34rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-brand__company {
  font-size: 1.15rem;
  font-weight: 800;
}

.top-page .site-brand__company {
  font-family: var(--font-sans);
}

.site-brand__company-en {
  display: block;
  margin-top: 2px;
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-align: right;
}

.global-nav {
  display: flex;
  justify-content: flex-end;
}

.global-nav__list {
  display: flex;
  align-items: stretch;
  list-style: none;
}

.global-nav__list li {
  display: flex;
}

.global-nav__list a {
  position: relative;
  display: flex;
  align-items: center;
  padding-inline: 15px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.global-nav__list a:hover::after,
.global-nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 0;
  height: 3px;
  background: var(--color-red);
}

.header-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 140px; /* 調整前: 160px */
  margin-left: 14px;
  padding-inline: 20px;
  color: var(--color-white);
  background: var(--color-red);
  font-size: 0.86rem;
  font-weight: 800;
  transition: background var(--transition);
}

.header-contact:hover {
  background: var(--color-red-dark);
}

.header-contact__icon {
  font-size: 1rem;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.8);
  background: #111;
  font-size: 0.74rem;
}

.breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 38px;
}

.breadcrumb a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   5. Shared Page Hero
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-gray-200);
  background:
    linear-gradient(90deg, #fff 0%, #fff 48%, #f7f7f7 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, transparent 0 35%, #000 60% 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  min-height: 350px;
}

.page-hero__copy {
  padding-block: 62px;
}

.page-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.page-hero__lead {
  max-width: 740px;
  margin: 1.5rem 0 0;
  color: var(--color-gray-700);
  font-size: 0.98rem;
}

.page-hero__visual {
  position: relative;
  min-height: 350px;
}

.page-hero--csr {
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0 40%, rgba(255,255,255,.84) 55%, rgba(255,255,255,.18) 78%),
    url("assets/csr/csr-hero.png") center 56% / cover no-repeat;
}

.page-hero--csr::after {
  opacity: .12;
}

.page-hero--csr .eyebrow {
  margin-bottom: 7px;
  color: var(--color-red);
  font-size: 12px;
  letter-spacing: .1em;
}

.page-hero--csr .page-title {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.25;
  letter-spacing: -.035em;
}

.page-hero--csr .section-line {
  width: 44px;
  height: 2px;
  margin: 15px 0 17px;
}

.page-hero--csr .page-hero__catch {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .01em;
}

.page-hero--csr .page-hero__catch strong {
  font-weight: inherit;
}

.page-hero--csr .page-hero__lead {
  margin: 8px 0 0;
  color: inherit;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.9;
}

@media (max-width: 780px) {
  .page-hero--csr .page-hero__catch {
    font-size: 19px;
  }
}

.environment-principles {
  padding-left: 0;
  list-style: none;
  counter-reset: environment-principle;
}

.environment-principles li {
  position: relative;
  padding-left: 2rem;
  counter-increment: environment-principle;
}

.environment-principles li::before {
  content: counter(environment-principle) ".";
  position: absolute;
  left: 0;
}

.policy-document__signature {
  text-align: right;
}

/* Abstract industrial visual.
   後で実写真に変更する場合:
   .page-hero--privacy .page-hero__visual {
     background: url("assets/images/privacy-hero.jpg") center / cover no-repeat;
   }
   その際 .machine-visual を display:none; にしてください。
*/
.page-hero--privacy {
  background:
    linear-gradient(90deg, rgba(255,255,255,.99) 0 40%, rgba(255,255,255,.9) 52%, rgba(255,255,255,.12) 76%),
    url("assets/privacy/privacy-hero.png") center 55% / cover no-repeat;
}

.page-hero--privacy::after {
  opacity: .12;
}

.page-hero--privacy .page-hero__visual {
  background: none;
}

.page-hero--privacy .machine-visual {
  display: none;
}

.machine-visual {
  position: absolute;
  top: 50%;
  right: -30px;
  width: min(390px, 88%);
  aspect-ratio: 1.35;
  transform: translateY(-50%);
  filter: drop-shadow(0 30px 35px rgba(0, 0, 0, 0.18));
}

.machine-visual::before {
  content: "";
  position: absolute;
  top: 24%;
  left: 23%;
  width: 70%;
  height: 54%;
  border-radius: 20% 13% 13% 20%;
  background:
    linear-gradient(160deg, #e7e7e7, #777 28%, #222 55%, #757575 72%, #d3d3d3 100%);
  box-shadow:
    inset 12px 0 20px rgba(255,255,255,.18),
    inset -12px 0 20px rgba(0,0,0,.35);
}

.machine-visual::after {
  content: "";
  position: absolute;
  top: 14%;
  right: 5%;
  width: 23%;
  height: 72%;
  border-radius: 10px;
  background:
    repeating-linear-gradient(
      90deg,
      #171717 0 8px,
      #2f2f2f 8px 13px
    );
  box-shadow: inset 0 0 0 3px #555;
}

.machine-visual__ring {
  position: absolute;
  z-index: 2;
  top: 22%;
  left: 2%;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center,
      #2b1505 0 18%,
      #050505 19% 31%,
      #cfcfcf 32% 35%,
      #666 36% 47%,
      #ececec 48% 53%,
      #545454 54% 67%,
      #d2d2d2 68% 72%,
      #4b4b4b 73% 100%);
  box-shadow:
    inset 8px 8px 14px rgba(255,255,255,.35),
    inset -10px -12px 18px rgba(0,0,0,.5);
}

.machine-visual__ring::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 2px dashed rgba(10,10,10,.5);
  border-radius: 50%;
}

.machine-visual__hub {
  position: absolute;
  z-index: 3;
  top: 43%;
  left: 18%;
  width: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #b66b12 0 28%, #2a1708 29% 68%, #050505 69% 100%);
}

/* ==========================================================================
   6. Privacy Page
   ========================================================================== */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 70px;
  align-items: start;
}

.policy__intro {
  margin: 0 0 2rem;
  padding: 1.4rem 1.5rem;
  background: #fafafa;
  border-left: 3px solid var(--color-red);
}

.policy-block {
  padding: 0 0 2.1rem;
  margin-bottom: 2.1rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.policy-block h2 {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  font-size: 1.12rem;
  line-height: 1.5;
}

.policy-block h2 span {
  color: var(--color-red);
  font-size: 1.25rem;
}

.policy-block p {
  margin: 0;
  color: #404040;
}

.contact-card {
  position: sticky;
  top: 28px;
  padding: 34px 30px 30px;
  border: 1px solid var(--color-gray-300);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: -72px 0 22px;
  color: var(--color-red);
  background: var(--color-white);
  border: 2px solid var(--color-red);
  border-radius: 50%;
}

.contact-card h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  line-height: 1.45;
}

.contact-card__lead {
  margin: 0 0 1.5rem;
  color: var(--color-gray-700);
  font-size: 0.9rem;
}

.contact-card__company {
  padding-top: 1.35rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--color-gray-200);
}

.contact-card__company > strong {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1rem;
}

.contact-card__company p {
  margin: 0 0 1rem;
}

.contact-card__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-red);
}

.contact-card__phone strong {
  color: var(--color-ink);
  font-size: 1.08rem;
}

.contact-card__phone small {
  color: var(--color-gray-700);
}

.disclaimer h2 {
  margin: 0;
  font-size: 2rem;
}

.disclaimer-list {
  display: grid;
  gap: 0;
  list-style: none;
  counter-reset: disclaimer;
}

.disclaimer-list li {
  position: relative;
  counter-increment: disclaimer;
  padding: 1.55rem 1rem 1.55rem 3.6rem;
  border-top: 1px solid var(--color-gray-300);
  background: rgba(255,255,255,.72);
}

.disclaimer-list li:last-child {
  border-bottom: 1px solid var(--color-gray-300);
}

.disclaimer-list li::before {
  content: counter(disclaimer) ".";
  position: absolute;
  top: 1.4rem;
  left: 1.25rem;
  color: var(--color-red);
  font-size: 1.15rem;
  font-weight: 900;
}

/* ==========================================================================
   7. Shared Footer
   ========================================================================== */
.site-footer {
  color: #d9d9d9;
  background:
    linear-gradient(180deg, #121212 0%, #090909 100%);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 40px;
  padding-block: 48px 38px;
}

.site-footer__brand {
  padding-right: 25px;
  border-right: 1px solid rgba(255,255,255,.12);
}

.footer-logo {
  color: var(--color-red);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
  margin-bottom: 0.55rem;
}

.site-footer__brand > strong {
  display: block;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-brand-logo {
  width: 100%;
  max-width: 307px;
  height: auto;
  margin-bottom: 1rem;
}

.site-footer__brand p {
  margin: 0;
  color: #b8b8b8;
  font-size: .82rem;
  line-height: 1.9;
}

.footer-nav-group h2 {
  margin: 0 0 .8rem;
  color: var(--color-white);
  font-size: .88rem;
}

.footer-nav-group ul {
  list-style: none;
}

.footer-nav-group li + li {
  margin-top: .36rem;
}

.footer-nav-group a {
  color: #bdbdbd;
  font-size: .8rem;
  transition: color var(--transition);
}

.footer-nav-group a:hover,
.footer-nav-group a[aria-current="page"],
.footer-nav-group a.is-current-page {
  color: var(--color-white);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px 26px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #8f8f8f;
  font-size: .72rem;
}

.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__bottom a:hover,
.site-footer__bottom a[aria-current="page"] {
  color: var(--color-white);
}

.site-footer__bottom p {
  margin: 0;
  white-space: nowrap;
}

/* ========================================================================== 
   8. Responsive
   ========================================================================== */
/* パートナー・協力会社募集メニュー追加時のヘッダー幅を確保 */
@media (max-width: 1230px) {
  .site-header__inner {
    grid-template-columns: auto 1fr;
  }

  .global-nav {
    grid-column: 1 / -1;
    order: 3;
    border-top: 1px solid var(--color-gray-200);
    overflow-x: auto;
  }

  .global-nav__list {
    width: max-content;
  }

  .global-nav__list a {
    min-height: 48px;
  }

  .header-contact {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
}

@media (max-width: 1100px) {

  .page-hero__inner {
    grid-template-columns: 1fr 0.75fr;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 42px;
  }

  .site-footer__grid {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --space-7: 3rem;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header__inner {
    min-height: 70px;
  }

  .site-brand__company {
    font-size: .9rem;
  }

  .header-contact {
    min-width: auto;
    margin-left: 6px;
    padding-inline: 14px;
    font-size: .78rem;
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .page-hero__copy {
    padding-block: 48px 24px;
  }

  .page-hero__visual {
    min-height: 210px;
  }

  .page-hero--csr {
    background:
      linear-gradient(180deg, rgba(255,255,255,.94) 0 58%, rgba(255,255,255,.66) 78%, rgba(255,255,255,.2) 100%),
      url("assets/csr/csr-hero.png") 72% center / cover no-repeat;
  }

  .page-hero--privacy {
    background:
      linear-gradient(180deg, rgba(255,255,255,.97) 0 52%, rgba(255,255,255,.76) 70%, rgba(255,255,255,.14) 100%),
      url("assets/privacy/privacy-hero.png") 82% center / cover no-repeat;
  }

  .machine-visual {
    right: 50%;
    width: min(380px, 82vw);
    transform: translate(50%, -48%);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    position: static;
    margin-top: 12px;
  }

  .contact-card__icon {
    margin-top: 0;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: 26px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .site-footer__bottom {
    flex-direction: column;
  }

  .site-footer__bottom p {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-brand {
    gap: 10px;
    padding-right: 8px;
  }

  .site-brand__mark {
    font-size: 1.5rem;
  }

  .site-brand__company {
    font-size: .78rem;
  }

  .header-contact {
    width: 46px;
    min-width: 46px;
    padding: 0;
    font-size: 0;
  }

  .header-contact__icon {
    font-size: 1.15rem;
  }

  .breadcrumb__inner {
    min-height: 34px;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-hero__lead {
    font-size: .9rem;
  }

  .policy__intro {
    padding: 1.1rem;
  }

  .policy-block {
    margin-bottom: 1.6rem;
    padding-bottom: 1.6rem;
  }

  .policy-block h2 {
    font-size: 1.02rem;
  }

  .disclaimer-list li {
    padding: 1.25rem 1rem 1.25rem 3rem;
  }

  .disclaimer-list li::before {
    top: 1.15rem;
    left: 1rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ========================================================================== 
   10. Recruit Page
   ========================================================================== */
.page--recruit {
  background: #fff;
}

.recruit-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #fff;
}

.recruit-hero__media {
  position: absolute;
  inset: 0 0 0 36%;
}

.recruit-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 14%, rgba(255,255,255,.18) 48%, transparent 70%);
}

.recruit-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.recruit-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 430px;
}

.recruit-hero__copy {
  width: min(52%, 560px);
  padding-block: 50px;
}

.recruit-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3.5vw, 3.1rem);
  line-height: 1.25;
}

.recruit-hero__catch {
  margin: 24px 0 16px;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.65;
}

.recruit-hero__lead {
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
  line-height: 2;
}

.recruit-section {
  padding-block: 56px;
}

.recruit-heading {
  margin-bottom: 36px;
  text-align: center;
}

.recruit-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  line-height: 1.4;
}

.recruit-heading .section-line {
  width: 38px;
  height: 2px;
  margin: 10px auto 0;
}

.recruit-heading p {
  margin: 16px 0 0;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.9;
}

.recruit-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.recruit-value {
  text-align: center;
}

.recruit-value__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  margin-bottom: 14px;
  color: var(--color-red);
}

.recruit-value__icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recruit-value h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.recruit-value p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.9;
}

.recruit-jobs {
  padding-top: 24px;
}

.recruit-jobs__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.recruit-job {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--color-gray-300);
  background: #fff;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.recruit-job:hover {
  border-color: var(--color-red);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.recruit-job > img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}

.recruit-job__body {
  position: relative;
  flex: 1;
  padding: 16px 14px 34px;
}

.recruit-job h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.recruit-job p {
  margin: 0;
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.75;
}

.recruit-job__teams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-top: 14px;
}

.recruit-job__teams h4 {
  margin: 0 0 4px;
  color: var(--color-black);
  font-size: .86rem;
}

.recruit-job__body > span {
  position: absolute;
  right: 14px;
  bottom: 9px;
  color: var(--color-red);
  font-weight: 800;
}

.recruit-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  width: min(280px, 100%);
  min-height: 48px;
  margin: 28px auto 0;
  border: 1px solid var(--color-gray-700);
  font-size: .86rem;
  font-weight: 800;
  transition: color var(--transition), border-color var(--transition);
}

.recruit-more span {
  color: var(--color-red);
}

.recruit-more:hover {
  color: var(--color-red);
  border-color: var(--color-red);
}

.recruit-voices {
  padding-top: 10px;
}

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

.recruit-voice {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  border: 1px solid var(--color-gray-300);
  background: #fff;
}

.recruit-voice > img {
  width: 100%;
  height: 100%;
  min-height: 205px;
  object-fit: cover;
}

.recruit-voice__body {
  padding: 18px 16px;
}

.recruit-voice__meta {
  margin: 0 0 10px;
  font-size: .72rem;
  font-weight: 800;
}

.recruit-voice h3 {
  margin: 0 0 12px;
  font-size: .91rem;
  line-height: 1.7;
}

.recruit-voice__body > p:last-child {
  margin: 0;
  color: #444;
  font-size: .73rem;
  line-height: 1.75;
}

.recruit-voices__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.recruit-voices__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gray-300);
}

.recruit-voices__dots span:first-child {
  background: var(--color-red);
}

.recruit-entry {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.recruit-entry__bg {
  position: absolute;
  inset: 0;
  opacity: .55;
  background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.32)), url("assets/recruit/recruit-cta.jpg") center / cover no-repeat;
  filter: saturate(.75);
}

.recruit-entry__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  min-height: 245px;
  padding-block: 30px;
}

.recruit-entry__message h2 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.55;
}

.recruit-entry__message p {
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
}

.recruit-entry__card {
  padding: 28px 40px;
  color: var(--color-ink);
  background: rgba(255,255,255,.97);
}

.recruit-entry__card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.recruit-entry__card p {
  margin: 0 0 18px;
  font-size: .8rem;
}

.recruit-entry__card a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 48px;
  color: #fff;
  background: var(--color-red);
  font-size: .88rem;
  font-weight: 800;
  transition: background var(--transition);
}

.recruit-entry__card a:hover {
  background: var(--color-red-dark);
}

@media (max-width: 1100px) {
  .recruit-jobs__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .recruit-job > img {
    aspect-ratio: 1.5;
  }

  .recruit-voices__grid {
    grid-template-columns: 1fr;
  }

  .recruit-voice {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .recruit-hero,
  .recruit-hero__inner {
    min-height: 470px;
  }

  .recruit-hero__media {
    inset: 0;
  }

  .recruit-hero__media::after {
    background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 48%, rgba(255,255,255,.15) 100%);
  }

  .recruit-hero__copy {
    width: min(72%, 520px);
  }

  .recruit-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 42px;
  }

  .recruit-entry__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 46px;
  }

  .recruit-entry__message {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .recruit-hero,
  .recruit-hero__inner {
    min-height: 520px;
  }

  .recruit-hero__media img {
    object-position: 58% center;
  }

  .recruit-hero__media::after {
    background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.89) 70%, rgba(255,255,255,.38) 100%);
  }

  .recruit-hero__copy {
    width: 92%;
    padding-block: 38px;
  }

  .recruit-hero__lead br {
    display: none;
  }

  .recruit-section {
    padding-block: 44px;
  }

  .recruit-heading p br {
    display: none;
  }

  .recruit-values,
  .recruit-jobs__grid {
    grid-template-columns: 1fr;
  }

  .recruit-value p br {
    display: none;
  }

  .recruit-job > img {
    aspect-ratio: 1.8;
  }

  .recruit-voice {
    grid-template-columns: 38% minmax(0, 1fr);
  }

  .recruit-voice > img {
    min-height: 230px;
  }

  .recruit-entry__card {
    padding: 24px 20px;
  }
}

/* Temporary vertical jobs layout: remove the --vertical class to restore the card grid. */
.recruit-jobs__grid--vertical {
  grid-template-columns: 1fr;
  gap: 8px;
  width: min(100%, 1060px);
  margin-inline: auto;
}

.recruit-jobs__grid--vertical .recruit-job {
  display: grid;
  grid-template-columns: 34% 1fr;
  align-items: center;
  transition: none;
}

.recruit-jobs__grid--vertical .recruit-job:hover {
  border-color: var(--color-gray-300);
  box-shadow: none;
  transform: none;
}

.recruit-jobs__grid--vertical .recruit-job > img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.recruit-jobs__grid--vertical .recruit-job__body {
  padding: 18px 30px;
}

@media (max-width: 1100px) {
  .recruit-jobs__grid--vertical .recruit-job {
    grid-template-columns: 38% 1fr;
  }
}

@media (max-width: 560px) {
  .recruit-jobs__grid--vertical .recruit-job {
    grid-template-columns: 1fr;
  }

  .recruit-jobs__grid--vertical .recruit-job__body {
    padding: 14px 16px 16px;
  }

  .recruit-job__teams {
    grid-template-columns: 1fr;
  }
}
.partner-items-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-gray-300);
  background: var(--color-white);
  -webkit-overflow-scrolling: touch;
}

.partner-items-section {
  padding-top: 64px;
}

.partner-items-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.partner-items-table th,
.partner-items-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-gray-300);
  font-size: 0.88rem;
  line-height: 1.75;
  text-align: left;
  vertical-align: middle;
}

.partner-items-table th[scope="row"] {
  width: 180px;
  border-right: 1px solid var(--color-gray-300);
  background: var(--color-gray-100);
  font-weight: 800;
  white-space: nowrap;
}

.partner-items-table tbody tr:last-child th,
.partner-items-table tbody tr:last-child td {
  border-bottom: 0;
}

.partner-items-table tbody tr {
  transition: background var(--transition);
}

.partner-items-table tbody tr:hover td {
  background: #fafafa;
}

@media (max-width: 560px) {
  .partner-items-table {
    min-width: 680px;
  }

  .partner-items-table th,
  .partner-items-table td {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .partner-items-table th[scope="row"] {
    width: 160px;
  }
}

.partner-support-section {
  padding-block: 32px;
  background: var(--color-gray-100);
}

.partner-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 48px;
  padding: 36px 48px;
  border: 1px solid var(--color-gray-200);
  background: var(--color-white);
  text-align: center;
}

.partner-contact-card__copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.5;
}

.partner-contact-card__copy p {
  margin: 0;
}

.partner-contact-card__tagline {
  color: var(--color-red);
  font-size: 0.9rem;
  font-weight: 800;
}

.partner-contact-card__actions {
  display: grid;
  gap: 12px;
}

.partner-contact-card__actions a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.partner-contact-card__actions b {
  margin-left: auto;
  font-size: 1rem;
}

.partner-contact-card__primary {
  color: var(--color-white);
  border: 1px solid var(--color-red);
  background: var(--color-red);
}

.partner-contact-card__primary:hover {
  border-color: var(--color-red-dark);
  background: var(--color-red-dark);
}

.partner-contact-card__secondary {
  border: 1px solid var(--color-gray-300);
  background: var(--color-white);
}

.partner-contact-card__secondary:hover {
  color: var(--color-red);
  border-color: var(--color-red);
}

.partner-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.partner-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 24px 26px;
  border: 1px solid var(--color-gray-300);
  background: var(--color-white);
  text-align: center;
}

.partner-benefit h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.5;
}

.partner-benefit p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.9;
}

.partner-benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-bottom: 14px;
  color: var(--color-red);
}

.partner-benefit__icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.partner-items-section + .partner-flow-section {
  margin-top: 64px;
}

.partner-flow-section {
  padding-bottom: 64px;
}

.partner-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  margin-top: 32px;
  list-style: none;
}

.partner-flow__item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 150px;
  padding: 24px 20px;
  border: 1px solid var(--color-gray-300);
  background: var(--color-white);
}

.partner-flow__item:not(:last-child)::after {
  content: "〉";
  position: absolute;
  top: 50%;
  right: -30px;
  color: var(--color-red);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.partner-flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
}

.partner-flow__icon svg {
  width: 48px;
  height: 48px;
}

.partner-flow__content {
  min-width: 0;
}

.partner-flow__title {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 8px;
}

.partner-flow__title span {
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.partner-flow__title h3 {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.partner-flow__content p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.8;
}

@media (max-width: 820px) {
  .partner-contact-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 28px;
  }

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

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

  .partner-flow__item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .partner-contact-card {
    padding: 26px 18px;
  }

  .partner-benefits {
    grid-template-columns: 1fr;
  }

  .partner-flow {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .partner-flow__item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .partner-flow__item:not(:last-child)::after,
  .partner-flow__item:nth-child(2)::after {
    display: block;
    top: auto;
    right: 50%;
    bottom: -34px;
    transform: translateX(50%) rotate(90deg);
  }
}

/* ==========================================================================
   11. Contact Page (merged from contact.css)
   ========================================================================== */
/* Contact page */
.page--contact {
  background: #fff;
}

.contact-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #fff;
}

.contact-hero__media {
  position: absolute;
  inset: 0 0 0 35%;
}

.contact-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 18%, rgba(255,255,255,.25) 48%, transparent 70%);
}

.contact-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 360px;
}

.contact-hero__copy {
  width: min(48%, 520px);
  padding-block: 38px;
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.25;
}

.contact-hero__catch {
  margin: 22px 0 16px;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  font-weight: 800;
  line-height: 1.6;
}

.contact-hero__lead {
  margin: 0;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.9;
}

.contact-content {
  padding-block: 56px 50px;
}

.contact-content__grid {
  display: block;
}

.contact-kinds {
  width: min(100%, 780px);
  margin-inline: auto;
}

.contact-heading {
  margin-bottom: 24px;
}

.contact-heading h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.45;
}

.contact-heading .section-line {
  width: 32px;
  height: 2px;
  margin-top: 9px;
}

.contact-heading p {
  margin: 10px 0 0;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.75;
}

.contact-kind-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.contact-kind {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 128px;
  padding: 26px 26px;
  border: 1px solid var(--color-gray-300);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.contact-kind:hover {
  border-color: var(--color-red);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.contact-kind__icon {
  color: var(--color-red);
}

.contact-kind__icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-kind__copy strong,
.contact-kind__copy small {
  display: block;
}

.contact-kind__copy strong {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.contact-kind__copy small {
  font-size: .77rem;
  line-height: 1.8;
}

.contact-kind__arrow {
  position: absolute;
  right: 20px;
  bottom: 13px;
  color: var(--color-red);
  font-size: 1.1rem;
}

.contact-kind--partner {
  grid-template-columns: 58px minmax(0, 1fr) 104px;
}

.contact-kind__partner-link {
  display: grid;
  place-content: center;
  justify-self: start;
  width: 80px;
  aspect-ratio: 1;
  color: #fff;
  border-radius: 50%;
  background: var(--color-red);
  font-size: .7rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-kind__partner-link:hover {
  color: #fff;
  box-shadow: 0 7px 18px rgba(229, 0, 18, .24);
  transform: scale(1.05);
}

.contact-phone {
  margin-top: 42px;
}

.contact-phone .contact-heading {
  margin-bottom: 18px;
}

.contact-phone .contact-heading h2 {
  font-size: 1.05rem;
}

.contact-phone__number {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-ink);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.3;
}

.contact-phone__number > svg {
  width: 27px;
  height: 27px;
  color: var(--color-red);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-phone__number small {
  font-size: .75rem;
}

.contact-phone > p {
  margin: 12px 0 0 42px;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.9;
}

.contact-support {
  --contact-support-width: 780px;
  --contact-banner-list-width: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, var(--contact-banner-list-width));
  align-items: stretch;
  gap: 32px;
  width: min(100%, var(--contact-support-width));
  margin: 42px auto 0;
}

.contact-support .contact-phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
  padding: 28px 32px;
  border: 1px solid var(--color-gray-300);
  background: var(--color-gray-100);
}

/* Trial: equal left and right indents in the phone card. */
.contact-support .contact-phone {
  text-align: center;
}

.contact-support .contact-phone .section-line {
  margin-inline: auto;
}

.contact-support .contact-phone__number {
  justify-content: center;
}

.contact-support .contact-phone > p {
  margin-left: 0;
}

.contact-banner-list {
  display: grid;
  justify-self: end;
  gap: 16px;
  width: 100%;
  max-width: var(--contact-banner-list-width);
}

.contact-banner {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 1;
  border: 1px solid var(--color-gray-300);
  background: var(--color-gray-100);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.contact-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-banner:hover {
  border-color: var(--color-red);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.contact-banner:focus-visible {
  outline: 3px solid rgba(213, 0, 18, .28);
  outline-offset: 3px;
}

.contact-privacy {
  padding-block: 0 50px;
}

.contact-privacy__inner {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(270px, 330px);
  align-items: center;
  gap: 24px;
  padding: 28px 34px;
  background: var(--color-gray-100);
}

.contact-privacy__icon {
  color: var(--color-red);
}

.contact-privacy__icon svg {
  width: 56px;
  height: 64px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-privacy__copy h2 {
  margin: 0 0 7px;
  font-size: 1rem;
}

.contact-privacy__copy p {
  margin: 0;
  font-size: .75rem;
  line-height: 1.8;
}

.contact-privacy__inner > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  min-height: 52px;
  padding: 10px 18px;
  border: 1px solid var(--color-gray-700);
  background: #fff;
  font-size: .8rem;
  font-weight: 800;
  transition: color var(--transition), border-color var(--transition);
}

.contact-privacy__inner > a span {
  color: var(--color-red);
}

.contact-privacy__inner > a:hover {
  color: var(--color-red);
  border-color: var(--color-red);
}

@media (max-width: 900px) {
  .contact-hero__media {
    inset: 0;
  }

  .contact-hero__media::after {
    background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 52%, rgba(255,255,255,.15) 100%);
  }

  .contact-hero__copy {
    width: min(68%, 520px);
  }

  .contact-phone {
    text-align: center;
  }

  .contact-phone .section-line {
    margin-inline: auto;
  }

  .contact-phone__number {
    justify-content: center;
  }

  .contact-phone > p {
    margin-left: 0;
  }

  .contact-privacy__inner {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .contact-privacy__inner > a {
    grid-column: 1 / -1;
    width: min(100%, 360px);
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .contact-hero,
  .contact-hero__inner {
    min-height: 440px;
  }

  .contact-hero__media img {
    object-position: 62% center;
  }

  .contact-hero__media::after {
    background: linear-gradient(90deg, rgba(255,255,255,.97), rgba(255,255,255,.88) 74%, rgba(255,255,255,.35));
  }

  .contact-hero__copy {
    width: 94%;
  }

  .contact-hero__lead br {
    display: none;
  }

  .contact-content {
    padding-block: 42px;
  }

  .contact-kind-list {
    grid-template-columns: 1fr;
  }

  .contact-support {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 36px;
  }

  .contact-banner-list {
    justify-self: center;
  }

  .contact-support .contact-phone {
    padding: 26px 20px;
  }

  .contact-kind {
    grid-template-columns: 58px minmax(0, 1fr);
    justify-items: initial;
    min-height: 138px;
    text-align: left;
  }

  .contact-kind--partner {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .contact-kind__partner-link {
    grid-column: 2;
    justify-self: end;
    width: 70px;
    margin: 2px 28px 10px 0;
    font-size: .63rem;
  }

  .contact-privacy__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 28px 20px;
    text-align: center;
  }

  .contact-privacy__copy p br {
    display: none;
  }

}


/* ==========================================================================
   12. Partners Page (merged from partners.css)
   ========================================================================== */
/* Partners page */
.partners-hero{position:relative;min-height:390px;overflow:hidden;background:#fff}.partners-hero__media{position:absolute;inset:0 0 0 34%}.partners-hero__media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.9) 18%,rgba(255,255,255,.16) 48%,transparent 68%)}.partners-hero__media img{width:100%;height:100%;object-fit:cover}.partners-hero__inner{position:relative;z-index:1;display:flex;align-items:center;min-height:390px}.partners-hero__copy{width:min(60%,700px);padding-block:40px}.partners-hero h1{margin:0;font-size:clamp(2rem,3.4vw,3rem);line-height:1.3;white-space:nowrap}.partners-hero__catch{margin:23px 0 16px;font-size:clamp(1.25rem,2.2vw,1.8rem);font-weight:800;line-height:1.65}.partners-hero__lead{margin:0;font-size:.88rem;font-weight:600;line-height:2}
.partners-section{padding-block:46px}.partners-heading{text-align:center;margin-bottom:28px}.partners-heading h2,.partners-subheading h2{margin:0;font-size:clamp(1.5rem,2.4vw,1.9rem);line-height:1.4}.partners-heading .section-line{width:38px;height:2px;margin:10px auto 0}.partners-heading p{margin:14px 0 0;font-size:.82rem;font-weight:600}.partner-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}.partner-benefit{display:flex;flex-direction:column;align-items:center;padding:25px 20px 22px;border:1px solid var(--color-gray-300);text-align:center}.partner-benefit__icon{display:flex;align-items:center;justify-content:center;min-height:54px;margin-bottom:12px;color:var(--color-red)}.partner-benefit__icon svg{width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.partner-benefit h3{margin:0 0 9px;font-size:.96rem}.partner-benefit p{margin:0;font-size:.76rem;line-height:1.9}
.partner-items-section{padding:10px 0 20px}.partner-items-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,.9fr);align-items:stretch}.partner-items-table-wrap{overflow-x:auto;border:1px solid var(--color-gray-300)}.partner-items-table{width:100%;height:100%;border-collapse:collapse;table-layout:fixed}.partner-items-table th,.partner-items-table td{padding:9px 14px;border-bottom:1px solid var(--color-gray-300);font-size:.76rem;line-height:1.55;text-align:left}.partner-items-table th{width:170px;border-right:1px solid var(--color-gray-300);background:var(--color-gray-100);font-weight:800;white-space:nowrap}.partner-items-table tr:last-child th,.partner-items-table tr:last-child td{border-bottom:0}.partner-items-photo{margin:0;overflow:hidden}.partner-items-photo img{width:100%;height:100%;object-fit:cover}
.partner-flow-section{margin-top:0;padding:12px 0 46px}.partner-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:38px;margin:0;list-style:none}.partner-flow__item{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:14px;min-height:120px;padding:18px 16px;border:1px solid var(--color-gray-300)}.partner-flow__item:not(:last-child):after{content:"›";position:absolute;top:50%;right:-27px;color:var(--color-red);font-size:2rem;line-height:1;transform:translateY(-50%)}.partner-flow__icon{color:var(--color-red)}.partner-flow__icon svg{width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.partner-flow__title{display:flex;align-items:baseline;gap:8px;margin-bottom:6px}.partner-flow__title span{font-size:.7rem;font-weight:800}.partner-flow__title h3{margin:0;font-size:.86rem}.partner-flow__content p{margin:0;font-size:.7rem;line-height:1.65}
.partner-support-section{padding:18px 0 46px;background:#fff}.partner-support-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:stretch}.partners-subheading{margin-bottom:18px}.partners-subheading .section-line{width:34px;height:2px;margin-top:8px}.faq-list{border-top:1px solid var(--color-gray-300)}.faq-list details{border-bottom:1px solid var(--color-gray-300)}.faq-list summary{display:grid;grid-template-columns:32px minmax(0,1fr) 24px;align-items:center;min-height:48px;padding:8px 12px;cursor:pointer;list-style:none;font-size:.76rem;font-weight:700}.faq-list summary::-webkit-details-marker{display:none}.faq-q{color:var(--color-red);font-size:1rem}.faq-plus{text-align:right;font-size:1.05rem}.faq-list details[open] .faq-plus{transform:rotate(45deg)}.faq-list details p{margin:0;padding:0 44px 14px;color:var(--color-gray-700);font-size:.73rem;line-height:1.7}.faq-more{display:flex;align-items:center;justify-content:center;gap:30px;width:min(240px,100%);min-height:44px;margin:20px auto 0;border:1px solid var(--color-gray-700);font-size:.75rem;font-weight:800}.faq-more span{color:var(--color-red)}.partner-contact-card{display:flex;flex-direction:column;justify-content:center;padding:38px 48px;background:var(--color-gray-100);text-align:left}.partner-contact-card h2{margin:0 0 12px;font-size:1.35rem}.partner-contact-card>p{margin:0 0 20px;font-size:.8rem}.partner-contact-card a{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 18px;font-size:.78rem;font-weight:800}.partner-contact-card a+a{margin-top:12px}.partner-contact-card a b{margin-left:auto}.partner-contact-card__primary{color:#fff;background:var(--color-red)}.partner-contact-card__secondary{border:1px solid var(--color-gray-400,#aaa);background:#fff}.partners-bottom-cta{padding-block:18px;background:var(--color-gray-100)}.partners-bottom-cta__inner{display:flex;align-items:center;justify-content:center;gap:70px}.partners-bottom-cta p{margin:0;font-size:1.05rem;font-weight:700}.partners-bottom-cta a{display:flex;align-items:center;gap:14px;width:320px;min-height:52px;padding:10px 18px;color:#fff;background:var(--color-red);font-size:.78rem;font-weight:800}.partners-bottom-cta a b{margin-left:auto}
@media(max-width:900px){.partners-hero__media{inset:0}.partners-hero__media:after{background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.88) 55%,rgba(255,255,255,.18))}.partners-hero__copy{width:68%}.partners-hero h1{white-space:normal}.partner-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.partner-items-layout{grid-template-columns:1fr}.partner-items-photo{max-height:300px}.partner-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.partner-flow__item:nth-child(2):after{display:none}.partner-support-grid{grid-template-columns:1fr}.partners-bottom-cta__inner{gap:30px}}
@media(max-width:560px){.partners-hero,.partners-hero__inner{min-height:470px}.partners-hero__copy{width:94%}.partners-hero__lead br{display:none}.partners-section{padding-block:38px}.partner-benefits{grid-template-columns:1fr}.partner-benefit p br{display:none}.partner-items-table{min-width:680px}.partner-flow{grid-template-columns:1fr;gap:38px}.partner-flow__item:not(:last-child):after,.partner-flow__item:nth-child(2):after{display:block;top:auto;right:50%;bottom:-31px;transform:translateX(50%) rotate(90deg)}.partner-contact-card{padding:30px 22px}.partners-bottom-cta__inner{flex-direction:column;gap:14px;text-align:center}.partners-bottom-cta a{width:100%}}

/* Stabilize the partner items table/photo grid across browser engines. */
.partner-items-layout,
.partner-items-table-wrap,
.partner-items-photo {
  min-width: 0;
}

.partner-items-table {
  height: auto;
}

.partner-items-photo {
  position: relative;
  min-height: 0;
  align-self: stretch;
}

.partner-items-photo img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .partner-items-photo {
    height: 300px;
    max-height: none;
  }
}

@media (max-width: 560px) {
  .partner-items-photo {
    height: 220px;
  }
}

/* Unified contact banner */
.partner-support-section {
  padding: 32px 0;
  background: var(--color-gray-100);
}

.partner-contact-card.partners-bottom-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  align-items: center;
  gap: 48px;
  padding: 36px 48px;
  border: 1px solid var(--color-gray-200);
  background: var(--color-white);
  text-align: center;
}

.partner-contact-card__copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.partner-contact-card__copy p {
  margin: 0;
}

.partner-contact-card__tagline {
  color: var(--color-red);
  font-size: .9rem;
  font-weight: 800;
}

.partner-contact-card__actions {
  display: grid;
  gap: 12px;
}

.partner-contact-card__actions a+a {
  margin-top: 0;
}

@media (max-width: 900px) {
  .partner-contact-card.partners-bottom-cta__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 28px;
  }
}

@media (max-width: 560px) {
  .partner-contact-card.partners-bottom-cta__inner {
    padding: 26px 18px;
  }
}

/* ========================================================================== 
   13. Home Page - 2026 design
   ========================================================================== */
.top-page{--top-red:#e50012;--top-hero-art:url("assets/top/top-hero.png");margin:0;color:#111;background:#fff;font-family:"Noto Sans JP","Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;font-size:clamp(12px,.95vw,16px);line-height:1.8}.top-page a,.top-page button{transition:.2s ease}.top-page a:hover{opacity:.78}.top-page :focus-visible{outline:2px solid var(--top-red);outline-offset:3px}
.top-header{position:relative;z-index:30;height:clamp(58px,5.66vw,90px);background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.12)}.top-header__inner{display:flex;align-items:center;height:100%;padding-left:clamp(32px,3.3vw,54px)}.top-brand{display:flex;align-items:center;gap:clamp(10px,1.1vw,18px);white-space:nowrap}.top-brand__logo{display:block;color:var(--top-red);font-size:clamp(22px,2.3vw,37px);font-weight:900;letter-spacing:.025em;line-height:.78}.top-brand__logo small{display:block;margin-top:7px;font-size:clamp(5px,.4vw,7px);letter-spacing:.06em}.top-brand__name{font-size:clamp(12px,1.35vw,21px);font-weight:800}.top-nav{display:flex;align-self:stretch;margin-left:auto}.top-nav ul{display:flex;height:100%;list-style:none}.top-nav li{display:flex}.top-nav a{display:flex;align-items:center;padding:0 clamp(10px,1.45vw,24px);font-size:clamp(9px,.78vw,13px);font-weight:700;white-space:nowrap}.top-nav a:hover{color:var(--top-red);opacity:1}.top-header__contact{display:flex;align-items:center;justify-content:center;gap:14px;align-self:stretch;min-width:clamp(162px,15.8vw,250px);margin-left:clamp(8px,1vw,16px);color:#fff;background:var(--top-red);font-weight:700}.top-header__contact svg{width:21px;fill:none;stroke:currentColor;stroke-width:1.7}.top-menu{display:none}
.top-hero{position:relative;min-height:clamp(464px,45.3vw,720px);overflow:hidden;color:#fff;background:#000}.top-hero__visual{position:absolute;inset:0 0 0 57%;background-image:linear-gradient(90deg,#000 0,rgba(0,0,0,.3) 18%,transparent 48%),var(--top-art);background-repeat:no-repeat;background-size:100% 100%,100vw auto;background-position:0,right calc(-5.66vw)}.top-hero__inner{position:relative;width:min(100% - 8vw,1450px);min-height:clamp(464px,45.3vw,720px);margin:auto}.top-hero__copy{position:absolute;top:48%;left:2%;width:59%;padding-left:clamp(24px,2.8vw,45px);transform:translateY(-50%)}.top-hero__copy:before{content:"";position:absolute;top:0;bottom:19%;left:0;width:3px;background:var(--top-red)}.top-hero h1{margin:0 0 clamp(19px,2.1vw,34px);font-size:clamp(27px,3vw,48px);line-height:1.65;letter-spacing:.045em}.top-hero__copy p{margin:0 0 clamp(18px,2.1vw,34px);font-size:clamp(11px,1.2vw,19px);font-weight:600;line-height:1.95}.top-hero__copy>a{display:flex;align-items:center;justify-content:space-between;width:clamp(214px,21vw,335px);min-height:clamp(46px,4.6vw,73px);padding:0 clamp(18px,2vw,31px);background:var(--top-red);font-size:clamp(10px,.85vw,14px);font-weight:700}.top-hero__copy>a span{font-size:20px}.top-scroll{position:absolute;bottom:4%;left:0;display:grid;justify-items:center;font-size:clamp(8px,.75vw,12px);line-height:1.1}.top-scroll b{margin-bottom:5px;font-size:20px;font-weight:300}.top-hero__pager{position:absolute;right:0;bottom:3%;display:flex;align-items:center;gap:clamp(14px,1.5vw,24px);font-size:clamp(10px,.95vw,15px)}.top-hero__pager b{color:#fff}.top-hero__pager span{width:34px;height:1px;background:#fff}.top-hero__pager i{color:#aaa;font-style:normal}.top-hero__pager:after{content:"";position:absolute;bottom:-8px;left:0;width:27px;height:2px;background:var(--top-red)}
.top-strengths{padding:clamp(30px,3.4vw,55px) max(4.8vw,calc((100% - 1450px)/2)) clamp(25px,3vw,48px);background:radial-gradient(circle at 50% 35%,#fff 0,#fff 45%,#f4f4f4 100%)}.top-section-intro{display:flex;align-items:end;justify-content:space-between;margin-bottom:clamp(23px,2.6vw,42px)}.top-section-intro span,.top-products__head>div>span{color:var(--top-red);font-size:clamp(10px,.9vw,14px);font-weight:800;letter-spacing:.22em}.top-section-intro h2,.top-products__head h2{margin:4px 0 0;font-size:clamp(25px,2.9vw,45px);line-height:1.35}.top-section-intro i{display:block;width:30px;height:2px;margin-top:13px;background:var(--top-red)}.top-section-intro>p{margin:0 2% 7px 30px;font-size:clamp(10px,1vw,16px)}.top-strength-list{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(8px,1.35vw,22px)}.top-strength{min-width:0;border:1px solid #d8d8d8;background:#fff}.top-sprite-frame{position:relative;height:clamp(114px,11.2vw,178px);overflow:hidden}.top-sprite-frame img,.top-product>div img,.top-link>img{position:absolute;display:block;width:100vw;max-width:none;height:auto}.top-sprite-frame img{top:-63.3vw}.top-strength--1 img{left:-4.7vw}.top-strength--2 img{left:-27.8vw}.top-strength--3 img{left:-51vw}.top-strength--4 img{left:-74.1vw}.top-strength__body{position:relative;min-height:clamp(200px,19.7vw,313px);padding:clamp(39px,3.8vw,60px) 10px 17px;text-align:center}.top-strength__body>span{position:absolute;top:10px;left:16px;color:var(--top-red);font-size:clamp(16px,1.7vw,27px);font-weight:800}.top-strength__body svg{width:clamp(37px,4vw,63px);height:clamp(37px,4vw,63px);margin:0 auto 9px;fill:none;stroke:var(--top-red);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}.top-strength h3{margin:0;font-size:clamp(16px,1.45vw,23px);line-height:1.4}.top-strength__body i{display:block;width:44%;height:1px;margin:8px auto;background:#ddd}.top-strength p{margin:0;font-size:clamp(10px,.94vw,15px);font-weight:500;line-height:1.85}.top-outline-button{display:flex;align-items:center;justify-content:center;gap:clamp(30px,4vw,64px);width:clamp(250px,24.3vw,385px);min-height:clamp(47px,4.6vw,73px);margin:clamp(18px,2vw,32px) auto 0;border:1px solid #aaa;background:#fff;font-weight:700}.top-outline-button span{color:var(--top-red);font-size:20px}.top-outline-button:hover{color:#fff;border-color:var(--top-red);background:var(--top-red);opacity:1}.top-outline-button:hover span{color:#fff}
.top-products{padding:clamp(12px,1.5vw,24px) max(4.8vw,calc((100% - 1450px)/2)) clamp(27px,2.8vw,44px)}.top-products__head{display:grid;grid-template-columns:auto 1fr auto;align-items:end;gap:3.5vw;margin-bottom:clamp(20px,2vw,32px)}.top-products__head p{margin:0 0 5px;font-size:clamp(10px,1vw,16px)}.top-products__head>a{display:flex;align-items:center;justify-content:space-between;min-width:clamp(143px,14vw,222px);min-height:clamp(38px,3.8vw,60px);padding:0 20px;border:1px solid #ddd;font-size:clamp(9px,.75vw,12px);font-weight:700}.top-products__head>a b,.top-product>b{color:var(--top-red);font-size:17px}.top-product-list{display:grid;grid-template-columns:repeat(5,1fr);gap:clamp(8px,1vw,16px)}.top-product{position:relative;min-width:0;padding-bottom:12px;border:1px solid #eee;background:#fff}.top-product:hover{border-color:var(--top-red);opacity:1;transform:translateY(-2px)}.top-product>div{position:relative;height:clamp(99px,9.8vw,155px);overflow:hidden;background:#f5f5f5}.top-product>div img{top:-110.2vw}.top-product--1 img{left:-4.8vw}.top-product--2 img{left:-23.1vw}.top-product--3 img{left:-41.4vw}.top-product--4 img{left:-59.7vw}.top-product--5 img{left:-78vw}.top-product h3{min-height:2.9em;margin:0;padding:clamp(8px,.9vw,14px) 14px 0;font-size:clamp(9px,.82vw,13px);line-height:1.4}.top-product small{padding:0 14px;font-size:clamp(7px,.56vw,9px)}.top-product>b{position:absolute;right:12px;bottom:7px}
.top-trust{padding:clamp(28px,3.2vw,51px) max(4.8vw,calc((100% - 1450px)/2));color:#fff;background:radial-gradient(circle at 52% 45%,#292929,#080808 70%)}.top-trust__inner{display:grid;grid-template-columns:25% 1fr;align-items:center;gap:3.8vw}.top-trust__copy h2{margin:0;font-size:clamp(18px,1.8vw,29px)}.top-trust__copy i{display:block;width:31px;height:2px;margin:7px 0 12px;background:var(--top-red)}.top-trust__copy p{margin:0 0 14px;font-size:clamp(8px,.72vw,12px);line-height:2}.top-trust__copy a{display:flex;align-items:center;justify-content:space-between;width:clamp(180px,17.8vw,282px);min-height:clamp(38px,3.8vw,60px);padding:0 17px;border:1px solid #aaa;font-size:clamp(8px,.68vw,11px);font-weight:700}.top-trust__copy a span{color:var(--top-red)}.top-clients{display:grid;grid-template-columns:1.2fr 1.2fr 1.2fr 1.2fr .75fr;min-height:clamp(80px,8.1vw,128px);color:#222;background:#fff}.top-clients>strong,.top-clients>small{display:flex;align-items:center;justify-content:center;min-width:0;padding:8px;border-right:1px solid #555;text-align:center}.top-clients>small{border-right:0;font-size:clamp(6px,.54vw,9px);font-weight:700}.top-clients .yanmar{color:#e00012;font-size:clamp(13px,1.45vw,23px);font-style:italic}.top-clients .komatsu{color:#173891;font-size:clamp(14px,1.5vw,24px)}.top-clients .mitsubishi{flex-wrap:wrap;font-size:clamp(11px,1.2vw,19px)}.top-clients .mitsubishi b{margin-right:5px;color:#e00012}.top-clients strong small{display:block;width:100%;font-size:.45em}.top-clients .yamaha{flex-direction:column;color:#c90013;font-size:clamp(13px,1.35vw,21px)}.top-clients .yamaha small{color:#111;font-family:serif;font-size:.48em;font-style:italic}
.top-links{display:grid;grid-template-columns:repeat(4,1fr)}.top-link{position:relative;height:clamp(230px,22.5vw,357px);overflow:hidden;color:#fff;border-right:1px solid #fff}.top-link:last-child{border-right:0}.top-link>img{z-index:0;width:100%;height:100%;object-fit:cover}.top-link--company>img,.top-link--csr>img{width:100vw;height:auto;object-fit:initial;top:-144.3vw}.top-link--company>img{left:0}.top-link--csr>img{left:-25.1vw}.top-link>i{position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.44))}.top-link>span{position:absolute;z-index:2;inset:14% 11%;display:flex;flex-direction:column;align-items:flex-start}.top-link strong{font-size:clamp(17px,1.7vw,27px);line-height:1.5}.top-link small{margin-top:clamp(12px,1.5vw,24px);font-size:clamp(9px,.8vw,13px);font-weight:600;line-height:1.85}.top-link span>b{margin-top:auto;min-width:clamp(108px,10.6vw,168px);padding:clamp(8px,.9vw,14px);color:#111;background:#fff;font-size:clamp(8px,.66vw,11px);text-align:center}.top-link span>b span{padding-left:8px;color:var(--top-red)}
.top-footer{position:relative;padding:clamp(25px,2.7vw,43px) max(2vw,calc((100% - 1510px)/2)) 14px;color:#fff;background:radial-gradient(circle at 50% 40%,#171717,#050505 70%)}.top-footer__main{display:grid;grid-template-columns:20% 1fr;gap:clamp(25px,4vw,64px)}.top-footer__brand{padding-right:20px;border-right:1px solid #292929}.top-footer__brand .top-brand__logo{margin-bottom:15px}.top-footer__brand>strong{display:block;font-size:clamp(10px,.9vw,14px)}.top-footer__brand p{margin:13px 0 0;font-size:clamp(7px,.6vw,10px);line-height:2}.top-footer__nav{display:grid;grid-template-columns:1.2fr 1.2fr 1.4fr 1.15fr 1.15fr;gap:clamp(16px,2.4vw,38px)}.top-footer__nav div{display:flex;flex-direction:column}.top-footer__nav strong{margin-bottom:8px;font-size:clamp(8px,.72vw,12px)}.top-footer__nav a{font-size:clamp(7px,.6vw,10px);line-height:1.85}.top-footer__bottom{display:flex;align-items:center;justify-content:space-between;margin-top:clamp(25px,3vw,48px);font-size:clamp(7px,.55vw,9px)}.top-footer__bottom nav{display:flex;flex-wrap:wrap;gap:clamp(18px,3vw,48px)}.top-footer__bottom p{margin:0 28px 0 20px;color:#999}.top-pagetop{position:absolute;right:12px;bottom:25px;display:grid;place-items:center;width:clamp(39px,4vw,58px);aspect-ratio:1;border-radius:50%;background:#262626;font-size:18px}
@media(min-width:1600px){.top-sprite-frame img,.top-product>div img,.top-link--company>img,.top-link--csr>img{width:1600px}.top-sprite-frame img{top:-1013px}.top-strength--1 img{left:-75px}.top-strength--2 img{left:-445px}.top-strength--3 img{left:-816px}.top-strength--4 img{left:-1186px}.top-product>div img{top:-1763px}.top-product--1 img{left:-77px}.top-product--2 img{left:-370px}.top-product--3 img{left:-662px}.top-product--4 img{left:-955px}.top-product--5 img{left:-1248px}.top-link--company>img,.top-link--csr>img{top:-2309px}.top-link--csr>img{left:-402px}}
@media(max-width:1100px){.top-brand__name{display:none}.top-nav a{padding-inline:10px}.top-header__contact{min-width:140px}.top-strength__body{padding-inline:6px}.top-strength p{font-size:10px}.top-clients{grid-template-columns:repeat(4,1fr)}.top-clients>small{display:none}}
@media(max-width:780px){.top-page{font-size:14px}.top-header{height:68px}.top-header__inner{justify-content:space-between;padding:0 16px}.top-brand__name{display:inline;font-size:11px}.top-brand__logo{font-size:25px}.top-header__contact{display:none}.top-menu{display:grid;grid-template-columns:27px;gap:5px;justify-items:center;padding:5px;border:0;color:#111;background:transparent}.top-menu i{width:27px;height:2px;background:currentColor}.top-menu span{font-size:8px}.top-nav{position:absolute;top:68px;right:0;left:0;display:none;height:auto;margin:0;background:#fff;box-shadow:0 10px 20px rgba(0,0,0,.15)}.top-nav.is-open{display:block}.top-nav ul{display:grid;grid-template-columns:repeat(2,1fr);height:auto;padding:10px 16px 20px}.top-nav a{min-height:48px;border-bottom:1px solid #ddd;font-size:12px}.top-hero,.top-hero__inner{min-height:610px}.top-hero__visual{inset:0;background-size:100% 100%,280vw auto;background-position:0,72% -16vw;opacity:.72}.top-hero__copy{top:47%;left:0;width:100%;padding:0 24px 0 31px}.top-hero__copy:before{left:16px;bottom:16%}.top-hero h1{font-size:clamp(23px,6.5vw,32px);line-height:1.65}.top-hero h1 br{display:none}.top-hero__copy p{font-size:11px}.top-hero__copy p br{display:none}.top-scroll{left:20px}.top-hero__pager{right:18px}.top-strengths,.top-products{padding:42px 16px}.top-section-intro{display:block;text-align:center}.top-section-intro i{margin-inline:auto}.top-section-intro>p{margin:15px 0 0}.top-strength-list{grid-template-columns:1fr;gap:18px}.top-sprite-frame{height:48vw}.top-sprite-frame img{width:400vw;top:-253.2vw}.top-strength--1 img{left:-18.8vw}.top-strength--2 img{left:-111.2vw}.top-strength--3 img{left:-204vw}.top-strength--4 img{left:-296.4vw}.top-strength__body{min-height:270px;padding-top:58px}.top-strength__body>span{font-size:22px}.top-strength__body svg{width:55px;height:55px}.top-strength h3{font-size:21px}.top-strength p{font-size:12px}.top-products__head{grid-template-columns:1fr;text-align:center}.top-products__head p{margin:0}.top-products__head>a{width:190px;margin:auto}.top-product-list{grid-template-columns:repeat(2,1fr);gap:9px}.top-product>div{height:32vw}.top-product>div img{width:250vw;top:-275.5vw}.top-product--1 img{left:-12vw}.top-product--2 img{left:-57.8vw}.top-product--3 img{left:-103.5vw}.top-product--4 img{left:-149.2vw}.top-product--5 img{left:-195vw}.top-product h3{font-size:10px}.top-trust{padding:40px 18px}.top-trust__inner{grid-template-columns:1fr;gap:28px}.top-trust__copy{text-align:center}.top-trust__copy i{margin-inline:auto}.top-trust__copy a{margin:auto}.top-clients{grid-template-columns:repeat(2,1fr)}.top-clients>strong{min-height:75px;border-bottom:1px solid #777}.top-links{grid-template-columns:1fr}.top-link{height:72vw;min-height:280px;border-right:0;border-bottom:1px solid #fff}.top-link--company>img,.top-link--csr>img{width:400vw;top:-577.2vw}.top-link--company>img{left:0}.top-link--csr>img{left:-100.4vw}.top-link strong{font-size:23px}.top-link small{font-size:11px}.top-footer{padding:35px 20px 18px}.top-footer__main{grid-template-columns:1fr}.top-footer__brand{padding:0 0 25px;border-right:0;border-bottom:1px solid #292929}.top-footer__nav{grid-template-columns:repeat(2,1fr);gap:28px 22px}.top-footer__nav strong{font-size:11px}.top-footer__nav a{font-size:9px}.top-footer__bottom{align-items:flex-start;flex-direction:column;gap:20px}.top-footer__bottom nav{gap:10px 22px}.top-footer__bottom p{margin:0}.top-pagetop{right:16px;bottom:16px}}
@media(max-width:420px){.top-brand{gap:8px}.top-brand__name{font-size:9px}.top-product-list{gap:7px}.top-clients{grid-template-columns:1fr}.top-footer__nav{grid-template-columns:1fr}}

/* index.html のヘッダーメニューを共通ページの文字装飾に統一 */
.top-page .global-nav__list a {
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.9;
  transition: none;
}

.top-page .global-nav__list a:hover {
  opacity: 1;
}

/* Desktop height and artwork refinements */
.top-hero__pager{display:none}
.top-link--company>i,.top-link--csr>i{background:linear-gradient(90deg,rgba(0,0,0,.86),rgba(0,0,0,.68))}
@media(min-width:901px){.top-brand__name{display:inline}}
@media(min-width:781px){
  .top-strengths{padding-top:clamp(26px,2.9vw,46px);padding-bottom:clamp(12px,1.8vw,29px)}
  .top-strength__body{min-height:clamp(190px,18.7vw,297px);padding:clamp(31px,3.1vw,49px) 10px 10px}
  .top-strength__body svg{width:clamp(37px,3.7vw,59px);height:clamp(37px,3.7vw,59px);margin-bottom:5px}
  .top-strength__body i{margin-block:5px}
  .top-strength p{font-size:clamp(10px,.9vw,14px);line-height:1.65}
  .top-products{padding-top:clamp(8px,1.1vw,18px);padding-bottom:clamp(18px,2vw,32px)}
  .top-products__head{margin-bottom:clamp(14px,1.5vw,24px)}
  .top-trust{padding-block:clamp(19px,2vw,32px)}
  .top-trust__copy p{margin-bottom:8px;line-height:1.7}
  .top-link--company>i,.top-link--csr>i{background:transparent}
  .top-link--company>span,.top-link--csr>span{opacity:0}
}
@media(max-width:780px){
  .top-hero__visual{background-image:linear-gradient(90deg,#000 0,#000 62%,rgba(0,0,0,.82) 78%,rgba(0,0,0,.28) 100%),var(--top-art)}
  .top-product>div{height:24vw}
}

/* ========================================================================== 
   Strengths / Technology page
   ========================================================================== */
.page--strengths {
  --strengths-red: #e50012;
}

.strengths-hero {
  position: relative;
  min-height: 303px;
  overflow: hidden;
  background: #fff url("assets/strengths/hero.jpg") center / cover no-repeat;
}

.strengths-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0 51%, rgba(255,255,255,.94) 55%, rgba(255,255,255,0) 65%);
}

.strengths-hero__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 120px), var(--container));
  min-height: 303px;
}

.strengths-hero__copy {
  width: 54%;
  padding-top: 32px;
}

.strengths-hero .eyebrow {
  margin-bottom: 7px;
  color: var(--strengths-red);
  font-size: 12px;
  letter-spacing: .1em;
}

.strengths-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.25;
  letter-spacing: -.035em;
}

.strengths-rule {
  display: block;
  width: 44px;
  height: 2px;
  margin: 15px 0 17px;
  background: var(--strengths-red);
}

.strengths-hero__catch {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .01em;
}

.strengths-hero__lead {
  margin: 8px 0 0;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.9;
}

.strengths-overview {
  padding: 17px 35px 21px;
  background: #fff;
}

.strengths-section-heading {
  text-align: center;
}

.strengths-section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  line-height: 1.35;
  letter-spacing: -.03em;
}

.strengths-section-heading > span,
.strength-card__line {
  display: block;
  width: 38px;
  height: 2px;
  margin: 6px auto 7px;
  background: var(--strengths-red);
}

.strengths-section-heading p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
}

.strengths-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 1180px);
  margin: 6px auto 0;
}

.strength-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d7d7d7;
  background: #fff;
  text-align: center;
}

.strength-card > img {
  width: 100%;
  height: 101px;
  object-fit: cover;
}

.strength-card__body {
  position: relative;
  min-height: 166px;
  padding: 35px 10px 12px;
}

.strength-card__icon {
  position: absolute;
  top: -28px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--strengths-red);
  transform: translateX(-50%);
  box-shadow: 0 1px 5px rgba(0,0,0,.13);
}

.strength-card__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.strength-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  line-height: 1.5;
}

.strength-card h3.strength-card__title--lined {
  margin-bottom: 0;
}

.strength-card p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
}

.production {
  padding: 15px 0 18px;
  background: linear-gradient(120deg, #f5f6f7, #eef0f2);
}

.production__inner {
  width: min(calc(100% - 114px), 1060px);
}

.production .strengths-section-heading p {
  font-size: .9rem;
}

.production-list {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 11px;
  margin-left: 52px;
}

.production-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -7px;
  left: -35px;
  width: 1px;
  background: var(--strengths-red);
}

.production-step {
  position: relative;
  display: grid;
  grid-template-columns: 34% 1fr;
  align-items: center;
  background: rgba(255,255,255,.95);
}

.production-step__number {
  position: absolute;
  z-index: 2;
  left: -52px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  border-radius: 50%;
  background: var(--strengths-red);
  font-size: 12px;
  font-weight: 800;
}

.production-step img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.production-step p {
  margin: 0;
  padding: 18px 30px;
  color: #252525;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: .02em;
}

@media (max-width: 900px) {
  .strengths-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 650px;
  }

  .strength-card > img {
    height: 150px;
  }

  .production__inner {
    width: min(calc(100% - 64px), 760px);
  }

  .production-step {
    grid-template-columns: 38% 1fr;
  }

}

@media (max-width: 780px) {
  .strengths-hero {
    min-height: 470px;
    background-image: url("assets/strengths/hero-machine.jpg");
    background-position: 64% bottom;
  }

  .strengths-hero::before {
    background: linear-gradient(180deg, #fff 0 52%, rgba(255,255,255,.88) 65%, rgba(255,255,255,.12) 100%);
  }

  .strengths-hero__inner {
    width: min(calc(100% - 32px), var(--container));
    min-height: 470px;
  }

  .strengths-hero__copy {
    width: 100%;
    padding-top: 35px;
  }

  .strengths-hero h1 {
    font-size: 32px;
  }

  .strengths-hero__catch {
    font-size: 19px;
  }

  .strengths-overview {
    padding: 40px 16px;
  }

  .production {
    padding-block: 35px;
  }

  .production-step {
    grid-template-columns: 40% 1fr;
  }

  .production-step p {
    padding: 12px 18px;
  }
}

@media (max-width: 560px) {
  .strengths-hero {
    min-height: 500px;
    background-size: auto 300px;
    background-position: 67% bottom;
  }

  .strengths-hero__inner {
    min-height: 500px;
  }

  .strengths-hero__lead br {
    display: none;
  }

  .strengths-cards {
    grid-template-columns: 1fr;
  }

  .strength-card > img {
    height: 48vw;
  }

  .production__inner {
    width: min(calc(100% - 32px), 520px);
  }

  .production-list {
    margin-left: 0;
  }

  .production-list::before,
  .production-step__number {
    display: none;
  }

  .production-step {
    grid-template-columns: 1fr;
  }

  .production-step p {
    padding: 14px 16px 16px;
    font-size: .88rem;
    line-height: 1.7;
  }

  .production-step p br {
    display: none;
  }

}

/* Match the shared 1180px content width used by the other pages */
@media(min-width:781px){
  .top-header{height:var(--header-height)}
  .top-header__inner{
    width:min(calc(100% - 48px),var(--container));
    margin-inline:auto;
    padding-left:0;
  }
  .top-hero__inner{
    width:min(calc(100% - 48px),var(--container));
  }
  .top-hero__copy{width:65%}
  .top-hero h1{white-space:nowrap}
  .top-strengths,
  .top-products,
  .top-trust{
    padding-right:max(24px,calc((100% - var(--container))/2));
    padding-left:max(24px,calc((100% - var(--container))/2));
  }
  .top-footer{
    padding-right:max(24px,calc((100% - var(--container))/2));
    padding-left:max(24px,calc((100% - var(--container))/2));
  }
}

/* Dedicated hero artwork */
.top-hero__visual{
  background-image:
    linear-gradient(90deg,#000 0,rgba(0,0,0,.3) 18%,transparent 48%),
    var(--top-hero-art),
    url("assets/contact/contact-hero.jpg");
  background-size:100% 100%,105vw auto,cover;
  background-position:0,right calc(-8.2vw),center;
  background-repeat:no-repeat;
}
@media(max-width:780px){
  .top-hero__visual{
    background-image:
      linear-gradient(90deg,#000 0,#000 62%,rgba(0,0,0,.82) 78%,rgba(0,0,0,.28) 100%),
      var(--top-hero-art),
      url("assets/contact/contact-hero.jpg");
    background-size:100% 100%,360vw auto,cover;
    background-position:0,72% -28vw,center;
  }
}

/* Show the hero image softly behind the main copy */
.top-hero::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:0;
  background-image:
    linear-gradient(90deg,rgba(0,0,0,.68),rgba(0,0,0,.72)),
    url("assets/contact/contact-hero.jpg");
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  pointer-events:none;
}
.top-hero__visual{z-index:1}
.top-hero__inner{z-index:2}
@media(max-width:780px){
  .top-hero::before{
    background-image:
      linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.72)),
      url("assets/contact/contact-hero.jpg");
  }
}

/* ========================================================================== 
   History page
   ========================================================================== */
.page--history {
  --history-red: #d50012;
}

.history-hero {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background: #fff url("assets/history/history-hero.jpg") center / cover no-repeat;
}

.history-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0 51%, rgba(255,255,255,.95) 56%, rgba(255,255,255,0) 68%);
}

.history-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 350px;
}

.history-hero__copy {
  width: 54%;
}

.history-hero__copy .eyebrow {
  color: var(--history-red);
}

.history-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 3.4vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: -.035em;
}

.history-hero__line {
  display: block;
  width: 52px;
  height: 3px;
  margin: 20px 0 25px;
  background: var(--history-red);
}

.history-hero__copy > p:last-child {
  margin: 0;
  font-size: clamp(1.18rem, 1.7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.65;
}

.history-section {
  padding: 42px 0 58px;
}

.history-timeline {
  position: relative;
  margin: 0;
  list-style: none;
}

.history-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 100px 50px minmax(0, 1fr);
  align-items: stretch;
  min-height: 44px;
}

.history-timeline li::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 124px;
  width: 1px;
  background: #c9c9c9;
}

.history-timeline li:first-child::before {
  top: 16px;
}

.history-timeline li:last-child::before {
  bottom: calc(100% - 17px);
}

.history-timeline time {
  align-self: start;
  padding: 8px 0;
  color: var(--history-red);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.history-timeline__dot {
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: center;
  width: 9px;
  height: 9px;
  margin-top: 15px;
  border-radius: 50%;
  background: #888;
}

.history-timeline li:first-child .history-timeline__dot {
  background: var(--history-red);
}

.history-timeline__events {
  display: grid;
  min-width: 0;
}

.history-timeline__events--double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.history-timeline__events p {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 9px 15px;
  border-bottom: 1px solid var(--color-gray-300);
  font-size: .9rem;
  line-height: 1.65;
}

.history-timeline__events--double p + p {
  border-left: 1px solid var(--color-gray-200);
}

@media (max-width: 900px) {
  .history-timeline__events--double {
    grid-template-columns: 1fr;
  }

  .history-timeline__events--double p + p {
    border-left: 0;
  }
}

@media (max-width: 820px) {
  .history-hero {
    min-height: 470px;
    background-image: url("assets/history/history-hero-machine.jpg");
    background-size: auto 250px;
    background-position: center bottom;
    background-repeat: no-repeat;
  }

  .history-hero::before {
    background: linear-gradient(180deg, #fff 0 49%, rgba(255,255,255,.9) 62%, rgba(255,255,255,0) 80%);
  }

  .history-hero__inner {
    align-items: flex-start;
    min-height: 470px;
  }

  .history-hero__copy {
    width: 100%;
    padding-top: 44px;
  }

  .history-hero__line {
    margin-block: 16px 18px;
  }

  .history-timeline li {
    grid-template-columns: 76px 34px minmax(0, 1fr);
  }

  .history-timeline li::before {
    left: 92px;
  }

  .history-timeline time {
    font-size: .9rem;
  }

  .history-timeline__events p {
    padding-inline: 10px 4px;
    font-size: .82rem;
  }
}

@media (max-width: 560px) {
  .history-section {
    padding-block: 36px 44px;
  }

  .history-timeline li {
    grid-template-columns: 67px 24px minmax(0, 1fr);
  }

  .history-timeline li::before {
    left: 78px;
  }

  .history-timeline time {
    padding-top: 10px;
    font-size: .78rem;
  }

  .history-timeline__dot {
    width: 7px;
    height: 7px;
    margin-top: 17px;
  }

  .history-timeline__events p {
    padding-block: 10px;
    font-size: .78rem;
  }
}

/* ========================================================================== 
   Philosophy / President message page
   ========================================================================== */
.page--philosophy {
  --philosophy-red: #d50012;
}

.page--philosophy .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.philosophy-hero {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background: #fff url("assets/company/company-hero-kinki-01.jpg") center / cover no-repeat;
}

.philosophy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0 44%, rgba(255,255,255,.94) 50%, rgba(255,255,255,0) 66%);
}

.philosophy-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 350px;
}

.philosophy-hero__copy {
  width: 60%;
}

.philosophy-hero__copy .eyebrow {
  color: var(--philosophy-red);
}

.philosophy-hero__line {
  display: block;
  width: 58px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--philosophy-red);
}

.philosophy-hero__line--short {
  width: 48px;
  margin: 22px 0 24px;
}

.philosophy-hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 3.15vw, 3.15rem);
  line-height: 1.3;
  letter-spacing: -.035em;
}

.philosophy-title-break {
  display: none;
}

.philosophy-hero__copy > p:last-child {
  margin: 0;
  font-size: clamp(1.18rem, 1.7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.65;
}

.philosophy-section {
  padding-top: 42px;
}

.philosophy-visual {
  max-width: 523px;
  margin: 0 auto;
}

.philosophy-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.philosophy-statement {
  max-width: none;
  margin: 26px auto 0;
  text-align: center;
  white-space: nowrap;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 1.02rem;
  line-height: 1.9;
}

.philosophy-statement p {
  margin: 0;
}

.president-message {
  padding-bottom: 58px;
}

.president-message__layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 54px;
  align-items: stretch;
}

.president-message__photo {
  align-self: start;
  width: 100%;
  height: auto;
  min-height: 0;
  object-position: center top;
}

.president-message__body {
  display: flex;
  flex-direction: column;
  padding-top: 2px;
}

.president-message__body h3 {
  margin: 0;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  line-height: 1.45;
  letter-spacing: -.02em;
}

.president-message__line {
  display: block;
  width: 52px;
  height: 3px;
  margin: 20px 0 22px;
  background: var(--philosophy-red);
}

.president-message__text {
  font-size: .96rem;
  line-height: 1.95;
}

.president-message__text p {
  margin: 0;
}

.president-message__text p + p {
  margin-top: 26px;
}

.president-signature {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-top: auto;
  padding-top: 28px;
}

.president-signature span {
  font-size: .9rem;
}

.president-signature strong {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", cursive;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: .12em;
}

@media (max-width: 900px) {
  .president-message__layout {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 34px;
  }

  .president-message__photo {
    min-height: 0;
  }

  .president-message__text {
    font-size: .88rem;
  }

  .president-message__text br {
    display: none;
  }
}

@media (max-width: 820px) {
  .philosophy-hero {
    min-height: 500px;
    background-image: url("assets/company/company-hero-kinki-01.jpg");
    background-size: auto 250px;
    background-position: center bottom;
    background-repeat: no-repeat;
  }

  .philosophy-hero::before {
    background: linear-gradient(180deg, #fff 0 50%, rgba(255,255,255,.9) 62%, rgba(255,255,255,0) 80%);
  }

  .philosophy-hero__inner {
    align-items: flex-start;
    min-height: 500px;
  }

  .philosophy-hero__copy {
    width: 100%;
    padding-top: 44px;
  }

  .philosophy-hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.55rem);
  }

  .philosophy-hero__line--short {
    margin-block: 17px 18px;
  }

  .philosophy-statement {
    font-size: .95rem;
    white-space: normal;
  }

  .philosophy-statement br {
    display: none;
  }
}

@media (max-width: 680px) {
  .philosophy-section {
    padding-top: 36px;
  }

  .philosophy-visual {
    margin-inline: -16px;
  }

  .philosophy-visual img {
    height: auto;
    min-height: 0;
    object-fit: contain;
  }

  .philosophy-statement {
    text-align: left;
    white-space: normal;
  }

  .philosophy-statement p + p {
    margin-top: 12px;
  }

  .president-message__layout {
    grid-template-columns: 1fr;
  }

  .president-message__photo {
    width: min(100%, 340px);
    min-height: 0;
    margin-inline: auto;
  }

  .president-message__body h3 {
    font-size: 1.55rem;
  }

  .president-message__text {
    font-size: .93rem;
  }

  .president-signature {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}

@media (max-width: 560px) {
  .philosophy-hero h1 {
    font-size: 1.55rem;
    overflow-wrap: anywhere;
  }

  .philosophy-title-break {
    display: block;
  }

  .president-signature {
    align-items: flex-end;
    flex-direction: column;
  }
}

/* ========================================================================== 
   Company page
   ========================================================================== */
.page--company {
  --company-red: #d50012;
}

.company-hero {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background: #fff url("assets/company/company-hero-kinki-01.jpg") center / cover no-repeat;
}

.company-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0 43%, rgba(255,255,255,.93) 49%, rgba(255,255,255,0) 64%);
}

.company-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 350px;
}

.company-hero__copy {
  width: 50%;
}

.company-hero__copy .eyebrow {
  color: var(--company-red);
}

.company-hero__copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 3.3vw, 3.25rem);
  line-height: 1.25;
  letter-spacing: -.035em;
}

.company-heading-line {
  display: block;
  width: 52px;
  height: 3px;
  margin: 22px 0 26px;
  background: var(--company-red);
}

.company-hero__copy > p:last-child {
  margin: 0;
  font-size: clamp(1.2rem, 1.75vw, 1.55rem);
  font-weight: 600;
  line-height: 1.65;
}

.company-local-nav {
  border-bottom: 1px solid var(--color-gray-200);
  background: #fff;
}

.company-local-nav__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.company-local-nav a {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--color-gray-300);
  font-size: .92rem;
  font-weight: 700;
}

.company-local-nav a + a {
  margin-left: 28px;
}

.company-local-nav a:hover,
.company-local-nav a[aria-current="page"] {
  color: var(--company-red, var(--color-red));
}

.company-local-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--company-red, var(--color-red));
}

.company-section {
  padding-top: 42px;
}

.company-section-heading {
  margin-bottom: 22px;
}

.company-section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.4;
}

.company-section-heading span {
  display: block;
  width: 45px;
  height: 3px;
  margin-top: 9px;
  background: var(--company-red, var(--color-red));
}

.company-profile__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(310px, .96fr);
  gap: 30px;
  align-items: start;
}

.company-table-wrap {
  overflow-x: auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--color-gray-300);
  font-size: .88rem;
  line-height: 1.65;
}

.company-table th,
.company-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--color-gray-300);
  text-align: left;
  vertical-align: middle;
}

.company-table th {
  width: 27%;
  background: #f3f3f3;
  font-weight: 700;
  white-space: nowrap;
}

.company-profile__aside > img {
  width: 100%;
  min-height: 245px;
  object-fit: cover;
}

.company-message {
  margin-top: 22px;
  padding: 36px 38px;
  background: linear-gradient(135deg, #fff 0%, #fff1f2 100%);
}

.company-message h3 {
  position: relative;
  margin: 0 0 24px;
  padding-left: 22px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.5;
}

.company-message h3::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 4px;
  background: var(--company-red);
}

.company-message p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.9;
}

.company-access__layout {
  display: grid;
  grid-template-columns: 1fr .78fr 1.3fr;
  gap: 30px;
  align-items: stretch;
}

.company-access__photo,
.company-access__map {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.company-access__address {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.company-access__address h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.company-access__address p {
  margin: 0 0 14px;
  font-size: .86rem;
  line-height: 1.65;
}

.company-access__address a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--company-red);
  background: #fff;
  font-size: .84rem;
  font-weight: 700;
  transition: color var(--transition), background var(--transition);
}

.company-access__address a > span {
  position: relative;
  width: 14px;
  margin-right: 10px;
  color: var(--company-red);
  font-size: .72rem;
}

.company-access__address a b {
  margin-left: auto;
  color: var(--company-red);
  font-size: 1rem;
}

.company-access__address a:hover {
  color: #fff;
  background: var(--company-red);
}

.company-access__address a:hover > span,
.company-access__address a:hover b {
  color: #fff;
}

.company-group {
  padding-bottom: 52px;
}

.company-group__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.company-group-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-gray-300);
  background: #fff;
}

.company-group-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  transition: transform 300ms ease;
}

.company-group-card h3 {
  min-height: 56px;
  margin: 0;
  padding: 17px 34px 12px 14px;
  font-size: .86rem;
  line-height: 1.45;
}

.company-group-card > span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: var(--company-red);
  font-size: 1.6rem;
  line-height: 1;
}

.company-group-card:hover img {
  transform: scale(1.03);
}

@media (max-width: 980px) {
  .company-profile__layout {
    grid-template-columns: 1fr;
  }

  .company-profile__aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .company-message {
    margin-top: 0;
  }

  .company-access__layout {
    grid-template-columns: 1fr 1fr;
  }

  .company-access__address {
    order: 3;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 30px;
    align-items: end;
  }

  .company-access__address h3,
  .company-access__address p {
    grid-column: 1;
  }

  .company-access__address a {
    grid-column: 2;
    grid-row: 1 / 3;
    min-width: 250px;
  }

  .company-group__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-group-card img {
    height: 180px;
  }
}

@media (max-width: 820px) {
  .company-hero {
    min-height: 470px;
    background-image: url("assets/company/company-hero-kinki-01.jpg");
    background-size: auto 250px;
    background-position: center bottom;
    background-repeat: no-repeat;
  }

  .company-hero::before {
    background: linear-gradient(180deg, #fff 0 48%, rgba(255,255,255,.9) 60%, rgba(255,255,255,0) 78%);
  }

  .company-hero__inner {
    align-items: flex-start;
    min-height: 470px;
  }

  .company-hero__copy {
    width: 100%;
    padding-top: 45px;
  }

  .company-heading-line {
    margin-block: 16px 18px;
  }

  .company-local-nav a {
    min-height: 58px;
    padding-inline: 8px;
    text-align: center;
    font-size: .78rem;
  }

  .company-local-nav a + a {
    margin-left: 8px;
  }
}

@media (max-width: 620px) {
  .company-local-nav__list {
    width: 100%;
  }

  .company-local-nav a {
    padding-inline: 4px;
    font-size: .7rem;
  }

  .company-local-nav a + a {
    margin-left: 0;
    border-left: 1px solid var(--color-gray-200);
  }

  .company-section {
    padding-top: 36px;
  }

  .company-profile__aside {
    grid-template-columns: 1fr;
  }

  .company-profile__aside > img {
    min-height: 0;
  }

  .company-message {
    padding: 28px 24px;
  }

  .company-message p br {
    display: none;
  }

  .company-table {
    min-width: 610px;
  }

  .company-access__layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .company-access__map {
    grid-row: 2;
  }

  .company-access__address {
    grid-column: auto;
    display: block;
  }

  .company-access__address a {
    width: 100%;
    min-width: 0;
  }

  .company-group__grid {
    grid-template-columns: 1fr;
  }

  .company-group-card img {
    height: 48vw;
  }
}

/* Standalone images for the strengths cards */
.top-sprite-frame img{
  position:static;
  width:100%;
  max-width:100%;
  height:100%;
  object-fit:cover;
}

/* Standalone images for the product cards */
.top-product>div img{
  position:static;
  width:100%;
  max-width:100%;
  height:100%;
  object-fit:cover;
}

/* CSR card: nature scene from the supplied CSR page artwork */
.top-link--csr>img{
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transform:none;
  filter:saturate(1.08) brightness(.8);
}
.top-link--csr>i{
  background:linear-gradient(90deg,rgba(4,42,13,.86),rgba(2,28,9,.58));
}

/* Supplied YANMAR logo */
.top-clients .yanmar img{
  display:block;
  width:min(82%,190px);
  height:auto;
  object-fit:contain;
}
.top-clients .komatsu img{
  display:block;
  width:min(70%,150px);
  height:auto;
  object-fit:contain;
}
.top-clients .mitsubishi img{
  display:block;
  width:min(90%,180px);
  height:auto;
  object-fit:contain;
}
.top-clients .yamaha img{
  display:block;
  width:min(82%,180px);
  height:auto;
  object-fit:contain;
  transform:translateY(9%);
}

/* Four-column client logo area with the note below the frame */
.top-clients-wrap{
  min-width:0;
}
.top-clients>strong>a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
}
.top-clients{
  grid-template-columns:repeat(4,1fr);
}
.top-clients>strong:last-child{
  border-right:0;
}
.top-clients-note{
  display:block;
  margin-top:7px;
  color:#bdbdbd;
  font-size:clamp(8px,.62vw,10px);
  font-weight:600;
  line-height:1.5;
  text-align:right;
}
@media(max-width:780px){
  .top-clients>strong:nth-child(2n){border-right:0}
  .top-clients-note{margin-top:6px}
}
@media(max-width:420px){
  .top-clients>strong{border-right:0}
}

/* Products list button aligned with the strengths button */
.top-products__more{
  margin-right:auto;
  margin-left:auto;
}

/* Related information cards: shared container and HTML text overlays */
.top-links{
  width:min(calc(100% - 48px),var(--container));
  margin:clamp(28px,3vw,48px) auto;
}
.top-link{
  height:clamp(260px,22vw,320px);
}
.top-link>img,
.top-link--company>img,
.top-link--csr>img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
}
.top-link--company>img{object-position:100% center}
.top-link--csr>img{
  object-position:78% center;
  filter:saturate(.75) hue-rotate(35deg) brightness(.82);
}
.top-link>i,
.top-link--company>i{
  background:linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.46));
}
.top-link--csr>i{
  background:linear-gradient(90deg,rgba(5,48,16,.82),rgba(2,26,9,.48));
}
.top-link--company>span,
.top-link--csr>span{
  opacity:1;
}
.top-link>span{
  inset:12% 9%;
}
.top-link strong{
  font-size:clamp(17px,1.4vw,22px);
}
.top-link small{
  font-size:clamp(9px,.72vw,12px);
}
@media(max-width:780px){
  .top-links{
    width:calc(100% - 32px);
    margin:32px auto;
  }
  .top-link{
    height:72vw;
    min-height:280px;
  }
}

/* Replacement hero image supplied for the top page */
.top-hero::before{
  background-image:
    linear-gradient(90deg,rgba(0,0,0,.12),rgba(0,0,0,.04) 55%,transparent 78%),
    var(--top-hero-art),
    url("assets/contact/contact-hero.jpg");
  background-position:center,center,center;
  background-size:100% 100%,cover,cover;
}
.top-hero__visual{display:none}
@media(max-width:780px){
  .top-hero::before{
    background-image:
      linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.58)),
      var(--top-hero-art),
      url("assets/contact/contact-hero.jpg");
    background-position:center,68% center,center;
    background-size:100% 100%,auto 100%,cover;
  }
}

/* Circular strengths design experiment */
.top-page .top-strength-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 40px);
  justify-items: center;
}

.top-page .top-strength {
  display: grid;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: var(--top-red);
}

.top-page .top-sprite-frame {
  display: none;
}

.top-page .top-strength__body {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 14%;
  text-align: center;
}

.top-page .top-strength__body > span {
  position: static;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.35vw, 21px);
  line-height: 1;
}

.top-page .top-strength h3 {
  color: #fff;
  font-size: clamp(16px, 1.35vw, 22px);
}

.top-page .top-strength__body i {
  width: 42px;
  margin-block: 10px;
  background: rgba(255, 255, 255, 0.6);
}

.top-page .top-strength p {
  color: #fff;
  font-size: clamp(10px, 0.82vw, 13px);
  line-height: 1.75;
}

@media (max-width: 1050px) {
  .top-page .top-strength-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .top-page .top-strength-list {
    grid-template-columns: 1fr;
  }

  .top-page .top-strength {
    max-width: 280px;
  }
}

/* Align the strengths introduction with the products heading */
.top-page .top-section-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  justify-content: normal;
  gap: 3.5vw;
}

.top-page .top-section-intro > p {
  margin: 0 0 5px;
}

@media (max-width: 780px) {
  .top-page .top-section-intro {
    display: block;
    text-align: center;
  }

  .top-page .top-section-intro > p {
    margin: 15px 0 0;
  }
}

.top-product--1 > div img,
.top-product--2 > div img,
.top-product--3 > div img,
.top-product--4 > div img,
.top-product--5 > div img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top-product-list .top-product > div {
  background: #fff;
}

/* ==========================================================================
   Q&A Page
   ========================================================================== */
.page--qa { background: #fff; }

.qa-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(340px, 30vw, 520px);
  border-bottom: 1px solid var(--color-gray-200);
  background: url("assets/qa/qa-hero.png") center 57% / cover no-repeat;
}

.qa-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.18) 0 42%, transparent 68%);
  pointer-events: none;
}

.qa-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: inherit; padding-block: 72px; }
.qa-hero h1 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.3; letter-spacing: -.035em; }
.qa-hero .section-line { margin-bottom: 24px; }
.qa-hero__lead { margin: 0; font-size: .9rem; font-weight: 600; line-height: 2; }

.qa-local-nav { border-bottom: 1px solid var(--color-gray-200); background: #fff; }
.qa-local-nav__list { display: grid; grid-template-columns: repeat(3, 1fr); }
.qa-local-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 28px;
  border-left: 1px solid var(--color-gray-200);
  font-size: .9rem;
  font-weight: 800;
  transition: color var(--transition), background var(--transition);
}
.qa-local-nav a:last-child { border-right: 1px solid var(--color-gray-200); }
.qa-local-nav a span { color: var(--color-red); font-size: 1.1rem; }
.qa-local-nav a:hover { color: var(--color-red); background: var(--color-gray-100); }

.qa-section { padding-block: clamp(64px, 7vw, 100px); scroll-margin-top: 20px; }
.qa-section--muted { background: var(--color-gray-100); }
.qa-section__heading { margin-bottom: 38px; text-align: center; }
.qa-section__heading > p { margin: 0 0 5px; color: var(--color-red); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.qa-section__heading h2 { margin: 0; font-size: clamp(1.55rem, 2.4vw, 2.15rem); line-height: 1.4; }
.qa-section__heading h2::after { content: ""; display: block; width: 44px; height: 2px; margin: 18px auto 0; background: var(--color-red); }

.qa-list { max-width: 1000px; margin: 0 auto; }
.qa-item { overflow: hidden; border: 1px solid var(--color-gray-200); background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.025); }
.qa-item + .qa-item { margin-top: 18px; }
.qa-item dt,
.qa-item dd { display: grid; grid-template-columns: 62px 1fr; align-items: start; margin: 0; padding: 22px 30px; }
.qa-item dt { font-size: 1.04rem; font-weight: 800; line-height: 1.7; }
.qa-item dt > span { color: var(--color-red); font-size: 1.15rem; font-weight: 900; }
.qa-item dd { border-top: 1px solid var(--color-gray-200); color: var(--color-gray-700); background: #fafafa; line-height: 1.9; }
.qa-item dd > span { color: var(--color-ink); font-size: 1.05rem; font-weight: 900; }
.qa-item dd p { margin: 0; }

@media (max-width: 780px) {
  .qa-hero { min-height: 320px; background-position: 64% center; }
  .qa-hero::after { background: linear-gradient(90deg, rgba(255,255,255,.92) 0 42%, rgba(255,255,255,.65) 67%, rgba(255,255,255,.12) 100%); }
  .qa-hero__inner { padding-block: 56px; }
  .qa-local-nav__list { width: 100%; }
  .qa-local-nav a { min-height: 64px; padding: 0 16px; font-size: .78rem; }
  .qa-item dt,
  .qa-item dd { grid-template-columns: 52px 1fr; padding: 19px 20px; }
}

@media (max-width: 520px) {
  .qa-local-nav__list { grid-template-columns: 1fr; }
  .qa-local-nav a,
  .qa-local-nav a:last-child { min-height: 54px; border-right: 1px solid var(--color-gray-200); border-bottom: 1px solid var(--color-gray-200); }
  .qa-local-nav a:last-child { border-bottom: 0; }
  .qa-section__heading { margin-bottom: 28px; }
  .qa-item dt,
  .qa-item dd { display: block; padding: 17px 18px; }
  .qa-item dt > span,
  .qa-item dd > span { display: block; margin-bottom: 4px; }
  .qa-item + .qa-item { margin-top: 14px; }
}

/* ==========================================================================
   Products Page
   ========================================================================== */
.page--products {
  background: #fff;
}

.products-hero {
  min-height: 330px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #fff 0 39%, rgba(255, 255, 255, .96) 48%, rgba(255, 255, 255, .32) 65%, transparent 76%),
    url("assets/products/products-hero.png") calc(50% + 300px) center / 604px 330px no-repeat,
    #f8f8f8;
}

.products-hero__inner {
  display: flex;
  align-items: center;
  min-height: 330px;
}

.products-hero__copy {
  position: relative;
  z-index: 1;
  width: 56%;
  padding-block: 34px;
}

.products-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.products-heading-line {
  display: block;
  width: 58px;
  height: 3px;
  margin-block: 16px 18px;
  background: var(--color-red);
}

.products-hero__catch {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 800;
  line-height: 1.65;
  letter-spacing: .015em;
}

.products-hero__lead {
  margin: 12px 0 0;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.85;
}

.product-categories {
  padding-block: 28px 42px;
}

.products-section-heading {
  margin-bottom: 24px;
  text-align: center;
}

.products-section-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.4;
}

.products-section-heading > span {
  display: block;
  width: 50px;
  height: 2px;
  margin: 10px auto 12px;
  background: var(--color-red);
}

.products-section-heading p {
  margin: 0;
  color: #454545;
  font-size: .86rem;
}

.product-category-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
}

.product-category-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 236px;
  padding: 14px 13px 17px;
  flex-direction: column;
  border: 1px solid #ddd;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.product-category-card:hover,
.product-category-card:focus-visible {
  border-color: var(--color-red);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

.product-category-card:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.product-category-card__image {
  display: grid;
  height: 150px;
  place-items: center;
}

.product-category-card__image img {
  width: 100%;
  height: 138px;
  object-fit: contain;
}

.product-category-card strong {
  padding-right: 18px;
  font-size: .89rem;
  line-height: 1.45;
}

.product-category-card small {
  margin-top: 5px;
  color: #565656;
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .025em;
}

.product-category-card__arrow {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: var(--color-red);
  font-size: 1.15rem;
  line-height: 1;
}

.product-detail {
  padding-block: 50px 62px;
  scroll-margin-top: 24px;
  border-top: 1px solid var(--color-gray-200);
}

.product-detail:nth-child(even) {
  background: #fafafa;
}

.product-detail__heading {
  margin-bottom: 24px;
}

.product-detail__heading p {
  margin: 0 0 3px;
  color: var(--color-red);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.product-detail__heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.45;
}

.product-detail__heading h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 11px;
  background: var(--color-red);
}

.product-gallery {
  display: grid;
  margin-bottom: 28px;
  gap: 24px;
}

.product-gallery--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-gallery--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 900px;
}

.product-gallery--single {
  grid-template-columns: minmax(220px, 280px);
}

.product-gallery figure {
  min-width: 0;
  margin: 0;
}

.product-gallery figure > div {
  display: grid;
  height: 180px;
  padding: 8px;
  place-items: center;
  background: #fff;
}

.product-gallery img {
  width: 100%;
  height: 164px;
  object-fit: contain;
}

.product-gallery figcaption {
  margin-top: 8px;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.45;
}

.product-gallery--four figcaption,
.product-gallery--three figcaption,
.product-gallery--single figcaption {
  text-align: center;
}

.product-detail__info {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(520px, 1.42fr);
  align-items: start;
  gap: 42px;
}

.product-detail__description {
  margin: 0;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.75;
}

.product-spec-wrap {
  min-width: 0;
  overflow-x: auto;
  background: #fff;
}

.product-spec-wrap:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.product-spec {
  width: 100%;
  min-width: 570px;
  border-collapse: collapse;
  color: #242424;
  background: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: .85rem;
  line-height: 1.4;
  text-align: center;
}

.product-spec caption {
  padding: 7px 10px;
  border: 1px solid #222;
  border-bottom: 0;
  font-size: 1.13rem;
}

.product-spec th,
.product-spec td {
  padding: 8px 9px;
  border: 1px solid #222;
  font-weight: 400;
  white-space: nowrap;
}

.product-spec thead th {
  background: #fdfdfd;
}

.product-spec thead span {
  font-size: .76rem;
}

.product-spec tbody th {
  min-width: 82px;
}

@media (max-width: 980px) {
  .products-hero {
    background-position: calc(50% + 240px) center;
  }

  .products-hero__copy {
    width: 62%;
  }

  .product-category-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail__info {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-detail__description {
    max-width: 780px;
  }
}

@media (max-width: 720px) {
  .products-hero {
    min-height: 520px;
    background:
      linear-gradient(180deg, #fff 0 47%, rgba(255, 255, 255, .92) 57%, rgba(255, 255, 255, .18) 76%, transparent 100%),
      url("assets/products/products-hero.png") 65% bottom / auto 300px no-repeat,
      #f8f8f8;
  }

  .products-hero__inner {
    align-items: flex-start;
    min-height: 520px;
  }

  .products-hero__copy {
    width: 100%;
    padding-top: 38px;
  }

  .products-hero__lead {
    max-width: 570px;
  }

  .products-hero__lead br {
    display: none;
  }

  .product-category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-gallery--four,
  .product-gallery--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-gallery--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .products-hero {
    min-height: 500px;
    background-size: auto 270px;
  }

  .products-hero__inner {
    min-height: 500px;
  }

  .products-hero__catch {
    font-size: 1.08rem;
  }

  .products-hero__lead {
    font-size: .78rem;
  }

  .product-categories {
    padding-top: 32px;
  }

  .products-section-heading {
    text-align: left;
  }

  .products-section-heading > span {
    margin-left: 0;
  }

  .product-category-list {
    grid-template-columns: 1fr;
  }

  .product-category-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    grid-template-rows: 1fr auto;
    min-height: 112px;
    padding: 10px 34px 10px 8px;
    align-items: end;
  }

  .product-category-card__image {
    grid-row: 1 / 3;
    height: 90px;
  }

  .product-category-card__image img {
    height: 88px;
  }

  .product-category-card strong {
    align-self: end;
    padding-right: 0;
  }

  .product-category-card small {
    align-self: start;
  }

  .product-category-card__arrow {
    bottom: 45px;
  }

  .product-detail {
    padding-block: 42px 50px;
  }

  .product-gallery--four,
  .product-gallery--three {
    grid-template-columns: 1fr;
  }

  .product-gallery figure > div {
    height: 210px;
  }

  .product-gallery img {
    height: 194px;
  }

  .product-detail__description br {
    display: none;
  }

  .product-spec {
    font-size: .8rem;
  }
}

/* ==========================================================================
   11A. Contact form flow
   ========================================================================== */
.contact-kind__form-link {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
}

.contact-kind__form-link:focus-visible {
  outline: 3px solid rgba(213, 0, 18, .38);
  outline-offset: 3px;
}

.contact-kind__partner-link {
  position: relative;
  z-index: 2;
}

.contact-form-hero {
  border-bottom: 1px solid var(--color-gray-200);
  background:
    linear-gradient(90deg, rgba(255,255,255,.99) 0 44%, rgba(255,255,255,.84) 62%, rgba(255,255,255,.3) 100%),
    url("assets/contact/contact-hero.jpg") center 53% / cover no-repeat;
}

.contact-form-hero__inner {
  min-height: 250px;
  padding-block: 52px;
}

.contact-form-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 2.8rem);
  line-height: 1.3;
}

.contact-form-hero p:last-child {
  margin: 18px 0 0;
  font-size: .9rem;
  font-weight: 600;
}

.contact-form-hero--compact .contact-form-hero__inner {
  min-height: 210px;
  padding-block: 42px;
}

.contact-form-section {
  padding-block: 52px 64px;
  background: #fafafa;
}

.contact-form-shell {
  width: min(calc(100% - 48px), 920px);
}

.form-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 34px;
  list-style: none;
  border: 1px solid var(--color-gray-300);
  background: #fff;
}

.form-steps li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  color: var(--color-gray-500);
  font-size: .82rem;
  font-weight: 800;
}

.form-steps li + li {
  border-left: 1px solid var(--color-gray-300);
}

.form-steps span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--color-gray-300);
  border-radius: 50%;
  font-size: .72rem;
}

.form-steps .is-current {
  color: var(--color-ink);
  background: #fff6f7;
}

.form-steps .is-current::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--color-red);
}

.form-steps .is-current span,
.form-steps .is-done span {
  color: #fff;
  border-color: var(--color-red);
  background: var(--color-red);
}

.form-steps .is-done {
  color: var(--color-gray-700);
}

.kinki-contact-form,
.contact-confirm-list,
.contact-complete-card {
  border: 1px solid var(--color-gray-300);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.kinki-form-row {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  border-bottom: 1px solid var(--color-gray-200);
}

.kinki-form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 26px 24px;
  background: var(--color-gray-100);
  font-size: .9rem;
  font-weight: 800;
}

.kinki-form-row--textarea .kinki-form-label {
  align-items: flex-start;
}

.kinki-form-field {
  padding: 20px 24px;
}

.kinki-form-field input,
.kinki-form-field textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  background: #fff;
  color: var(--color-ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.kinki-form-field input {
  min-height: 48px;
  padding: 10px 13px;
}

.kinki-form-field textarea {
  min-height: 210px;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.8;
}

.kinki-form-field input:focus,
.kinki-form-field textarea:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(213, 0, 18, .1);
}

.form-static-value {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 13px;
  border-left: 3px solid var(--color-red);
  background: #fff7f8;
  font-weight: 800;
}

.form-required,
.form-optional {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 20px;
  padding: 2px 7px;
  font-size: .65rem;
  line-height: 1;
  white-space: nowrap;
}

.form-required {
  color: #fff;
  background: var(--color-red);
}

.form-optional {
  color: var(--color-gray-700);
  border: 1px solid var(--color-gray-300);
  background: #fff;
}

.form-help {
  margin: 7px 0 0;
  color: var(--color-gray-700);
  font-size: .74rem;
}

.field-error {
  margin: 8px 0 0;
  color: var(--color-red-dark);
  font-size: .78rem;
  font-weight: 700;
}

.form-error-summary {
  margin-bottom: 24px;
  padding: 18px 22px;
  border: 1px solid #e8aeb4;
  border-left: 4px solid var(--color-red);
  background: #fff7f8;
}

.form-error-summary strong {
  display: block;
  margin-bottom: 5px;
}

.form-error-summary ul {
  margin: 6px 0 0 1.2rem;
  padding: 0;
}

.form-error-summary li {
  font-size: .82rem;
}

.form-privacy-consent {
  padding: 26px 28px;
  border-bottom: 1px solid var(--color-gray-200);
  text-align: center;
}

.form-privacy-consent label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: .84rem;
  font-weight: 700;
}

.form-privacy-consent input {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  accent-color: var(--color-red);
}

.form-privacy-consent a {
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.turnstile-wrap {
  display: flex;
  justify-content: center;
  padding: 24px 24px 0;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.kinki-form-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 34px 24px;
}

.kinki-form-actions form {
  margin: 0;
}

.kinki-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-width: 260px;
  min-height: 54px;
  padding: 12px 24px;
  border: 1px solid var(--color-gray-700);
  background: #fff;
  color: var(--color-ink);
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.kinki-button:hover {
  transform: translateY(-1px);
}

.kinki-button--primary {
  color: #fff;
  border-color: var(--color-red);
  background: var(--color-red);
}

.kinki-button--primary:hover {
  color: #fff;
  border-color: var(--color-red-dark);
  background: var(--color-red-dark);
}

.kinki-button--back:hover {
  color: var(--color-red);
  border-color: var(--color-red);
}

.contact-confirm-list {
  margin: 0;
}

.contact-confirm-list > div {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  border-bottom: 1px solid var(--color-gray-200);
}

.contact-confirm-list > div:last-child {
  border-bottom: 0;
}

.contact-confirm-list dt {
  padding: 22px 24px;
  background: var(--color-gray-100);
  font-size: .88rem;
  font-weight: 800;
}

.contact-confirm-list dd {
  margin: 0;
  padding: 22px 24px;
  overflow-wrap: anywhere;
  font-size: .88rem;
}

.prewrap {
  white-space: pre-wrap;
}

.contact-confirm-list + .kinki-form-actions {
  border: 1px solid var(--color-gray-300);
  border-top: 0;
  background: #fff;
}

.contact-complete-card {
  padding: 52px 40px;
  text-align: center;
}

.contact-complete-card h2 {
  margin: 0 0 18px;
  font-size: 1.5rem;
}

.contact-complete-card p {
  margin: 0 0 30px;
  font-size: .9rem;
  line-height: 2;
}

@media (max-width: 720px) {
  .contact-form-hero {
    background:
      linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.76)),
      url("assets/contact/contact-hero.jpg") 68% center / cover no-repeat;
  }

  .contact-form-hero__inner,
  .contact-form-hero--compact .contact-form-hero__inner {
    min-height: 200px;
    padding-block: 38px;
  }

  .contact-form-shell {
    width: min(calc(100% - 32px), 920px);
  }

  .form-steps li {
    min-height: 52px;
    gap: 6px;
    font-size: .72rem;
  }

  .form-steps span {
    width: 22px;
    height: 22px;
  }

  .kinki-form-row,
  .contact-confirm-list > div {
    grid-template-columns: 1fr;
  }

  .kinki-form-label,
  .contact-confirm-list dt {
    padding: 14px 18px;
  }

  .kinki-form-field,
  .contact-confirm-list dd {
    padding: 16px 18px 20px;
  }

  .kinki-form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 28px 18px;
  }

  .kinki-form-actions form {
    width: 100%;
  }

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

  .contact-complete-card {
    padding: 38px 22px;
  }
}

/* ==========================================================================
   Subpage hero image size normalization
   ----------------------------------------------------------------------------
   Revert: remove this entire block to restore each page's original hero size.
   index.html (.top-hero) is intentionally excluded.
   ========================================================================== */
:root {
  --subpage-hero-height: 430px;
}

.page-hero,
.recruit-hero,
.contact-hero,
.partners-hero,
.strengths-hero,
.history-hero,
.philosophy-hero,
.company-hero,
.products-hero,
.qa-hero,
.page-hero__inner,
.page-hero__visual,
.recruit-hero__inner,
.contact-hero__inner,
.partners-hero__inner,
.strengths-hero__inner,
.history-hero__inner,
.philosophy-hero__inner,
.company-hero__inner,
.products-hero__inner,
.qa-hero__inner {
  min-height: var(--subpage-hero-height);
}

.page-hero--csr,
.page-hero--privacy,
.strengths-hero,
.history-hero,
.philosophy-hero,
.company-hero,
.qa-hero {
  background-size: cover;
}

.products-hero {
  background-size: auto, auto 100%;
}

@media (max-width: 820px) {
  :root {
    --subpage-hero-height: 470px;
  }
}

@media (max-width: 560px) {
  :root {
    --subpage-hero-height: 520px;
  }
}
