@charset "UTF-8";

/* =========================================================
  JTEKT SERVICE mockup stylesheet
  - Reset: destyle.css is loaded in index.html
  - Theme: black / red / white corporate style
  - Content: JTEKT Group shared services
========================================================= */

:root {
  --color-black: #111111;
  --color-charcoal: #222222;
  --color-gray: #62666d;
  --color-light-gray: #f6f6f6;
  --color-panel: #fbfbfb;
  --color-border: #dedede;
  --color-red: #d90000;
  --color-red-dark: #a80000;
  --color-white: #ffffff;
  --shadow-card: 0 16px 40px rgba(17, 17, 17, 0.08);
  --shadow-button: 0 12px 24px rgba(217, 0, 0, 0.22);
  --radius-large: 18px;
  --radius-medium: 14px;
  --radius-pill: 999px;
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-black);
  background:
    linear-gradient(135deg, rgba(217, 0, 0, 0.06) 0 8%, transparent 8% 100%),
    var(--color-white);
  font-family: var(--font-base);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

.pc-only {
  display: inline;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(10px);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 38vw);
  height: 8px;
  background: linear-gradient(90deg, var(--color-red), var(--color-red-dark));
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.header-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.12;
  padding-top: 8px;
}

/* .brand-mark {
  position: relative;
  display: inline-block;
  width: fit-content;
  color: var(--color-black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
} */

/* .brand-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 46px;
  height: 6px;
  background: var(--color-red);
  transform: translate(-50%, -50%) skewX(-18deg);
} */

img.bland-mark {
  margin-top: 10px;
}

.brand-service {
  margin-top: 7px;
  color: var(--color-black);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-sub {
  margin-top: 2px;
  text-align: center;
  color: var(--color-black);
  font-size: 0.78rem;
  font-weight: 700;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 0.93rem;
  font-weight: 800;
}

.global-nav a {
  position: relative;
  padding: 10px 0;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width 0.24s ease;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  width: 100%;
}

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

.section {
  padding: 72px 0;
}

.section-heading h2,
.recruit-copy h2 {
  color: var(--color-black);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 900;
  line-height: 1.35;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--color-red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.section-kicker.inverse {
  color: var(--color-white);
  opacity: 0.76;
}

.section-heading-center {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: 40px;
  text-align: center;
}

.accent-line {
  display: block;
  width: 44px;
  height: 4px;
  margin-top: 20px;
  background: var(--color-red);
  border-radius: var(--radius-pill);
}

.accent-line.center {
  margin-top: 0;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 20%, rgba(17, 17, 17, 0.08), transparent 32%),
    linear-gradient(115deg, #fff 0%, #fff 48%, #f3f3f3 48.2%, #fff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -170px;
  bottom: -220px;
  width: 600px;
  height: 600px;
  background: rgba(217, 0, 0, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  min-height: 610px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr minmax(420px, 0.9fr);
  align-items: center;
  gap: 46px;
  padding: 54px 0 64px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero h1 {
  color: var(--color-black);
  font-size: clamp(2.35rem, 4vw, 3rem);
  font-weight: 950;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.lead {
  margin-top: 24px;
  color: var(--color-charcoal);
  font-size: clamp(0.98rem, 1.45vw, 1.1rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-width: 218px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 900;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--color-white);
  background: linear-gradient(135deg, #e30000, var(--color-red-dark));
  box-shadow: var(--shadow-button);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #ef1717, #bf0000);
}

.button-outline {
  color: var(--color-black);
  background: var(--color-white);
  border: 2px solid var(--color-black);
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--color-white);
  background: var(--color-black);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.14);
}

.button-icon {
  font-size: 1.25rem;
}

.button-arrow {
  margin-left: 6px;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-visual {
  position: relative;
  /* width: 100%;
  height: 500px;
  overflow: hidden; */
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 30px 45px rgba(17, 17, 17, 0.13));
}

/* Values */
.section-values {
  padding-top: 64px;
  padding-bottom: 66px;
  background: var(--color-white);
}

.value-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: center;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-item {
  min-height: 210px;
  padding: 30px 24px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.04);
}

.value-number {
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.value-item h3 {
  margin-top: 12px;
  font-size: 1.2rem;
  font-weight: 900;
}

.value-item p {
  margin-top: 12px;
  color: var(--color-charcoal);
  font-size: 0.92rem;
  font-weight: 650;
}

/* Services */
.section-services {
  padding-top: 56px;
  background: var(--color-panel);
}

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

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 178px;
  padding: 34px 36px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.04);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(217, 0, 0, 0.45);
  box-shadow: var(--shadow-card);
}

.service-icon {
  width: 82px;
  height: 82px;
}

.service-text h3 {
  margin-bottom: 12px;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  font-weight: 900;
  line-height: 1.35;
}

.service-text p {
  color: var(--color-charcoal);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.75;
}

.card-arrow,
.news-arrow,
.mini-arrow {
  color: var(--color-red);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

.card-arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
}

/* Guide */
.section-guide {
  padding-top: 54px;
  padding-bottom: 48px;
  background: linear-gradient(180deg, #f6f6f6 0%, #fff 100%);
}

.procedure-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.procedure-list a {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-weight: 900;
  box-shadow: 0 5px 20px rgba(17, 17, 17, 0.04);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.procedure-list a:hover,
.procedure-list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(217, 0, 0, 0.5);
}

/* News */
.section-news {
  padding-top: 44px;
  padding-bottom: 48px;
  background: var(--color-white);
}

.news-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  align-items: start;
}

.news-heading .accent-line {
  margin-top: 16px;
}

.news-list {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-white);
}

.news-item {
  display: grid;
  grid-template-columns: 112px 98px 1fr 24px;
  gap: 22px;
  align-items: center;
  min-height: 72px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.96rem;
  font-weight: 700;
  transition: background 0.2s ease;
}

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

.news-item:hover,
.news-item:focus-visible {
  background: #f9f9f9;
}

.news-item time {
  color: var(--color-charcoal);
  font-variant-numeric: tabular-nums;
}

.news-tag {
  display: inline-flex;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 4px;
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 900;
}

.tag-black {
  background: var(--color-black);
}

.tag-red {
  background: var(--color-red);
}

/* Recruit */
.recruit {
  padding: 20px 0 78px;
  background: var(--color-white);
}

.recruit-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 308px;
  border-radius: var(--radius-large);
  background:
    linear-gradient(112deg, #111 0%, #111 47%, rgba(17, 17, 17, 0.88) 47.3%, rgba(17, 17, 17, 0.04) 100%),
    #f5f5f5;
  box-shadow: var(--shadow-card);
}

.recruit-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-top: 96px solid var(--color-red);
  border-right: 54px solid transparent;
  z-index: 2;
}

.recruit-copy {
  position: relative;
  z-index: 3;
  padding: 54px 58px;
  color: var(--color-white);
}

.recruit-copy h2 {
  color: var(--color-white);
}

.recruit-copy .accent-line {
  margin-top: 14px;
}

.recruit-copy p {
  margin-top: 22px;
  font-weight: 700;
}

.recruit-button {
  margin-top: 26px;
  min-height: 56px;
}

.recruit-visual {
  position: relative;
  min-height: 308px;
  background: #f7f7f7;
}

.recruit-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.site-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  width: min(1120px, calc(100% - 48px));
  min-height: 112px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 42px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-brand span {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.footer-brand small {
  margin-top: 3px;
  font-size: 0.8rem;
  font-weight: 800;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--color-red);
}

.copyright {
  position: relative;
  min-height: 66px;
  display: grid;
  place-items: center;
  color: var(--color-white);
  background: var(--color-black);
  text-align: center;
}

.page-top {
  position: absolute;
  right: 28px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--color-red);
  background: var(--color-white);
  border-radius: 50%;
  font-weight: 900;
}

/* Responsive */
@media (max-width: 1080px) {
  .value-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 112px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: 18px 0 16px;
  }

  .global-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 52px 0 58px;
  }

  .hero-visual {
    max-width: 680px;
    margin-inline: auto;
  }

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

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

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

  .news-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-item {
    grid-template-columns: 104px 90px 1fr 18px;
    gap: 14px;
    padding: 18px;
  }

  .recruit-panel {
    grid-template-columns: 1fr;
    background: var(--color-black);
  }

  .recruit-visual {
    min-height: 240px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    letter-spacing: 0;
  }

  .container,
  .header-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 32px, 1120px);
  }

  .pc-only {
    display: none;
  }

  .brand-mark {
    font-size: 2rem;
  }

  .brand-service {
    font-size: 1.05rem;
  }

  .global-nav {
    font-size: 0.6rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
  }

  .service-card {
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 26px 22px 34px;
  }

  .service-icon {
    width: 64px;
    height: 64px;
  }

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

  .procedure-list a {
    justify-content: space-between;
  }

  .news-item {
    grid-template-columns: 1fr 1fr 18px;
    gap: 10px;
  }

  .news-title {
    grid-column: 1 / -2;
  }

  .recruit-copy {
    padding: 46px 28px 34px;
  }

  .copyright {
    padding: 0 54px 0 18px;
  }

  .page-top {
    right: 16px;
  }
}