:root {
  --ink: #20252b;
  --navy: #172b3d;
  --red: #b82436;
  --gray: #606a73;
  --line: #d9dee2;
  --paper: #f4f5f6;
  --white: #fff;
  --width: 1200px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: #fff;
}
a { color: inherit; text-decoration: none; }

.concept {
  background: #172b3d;
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
  text-align: center;
  padding: 9px;
}
.header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  padding: 0 max(calc((100% - var(--width))/2), 48px);
  margin: auto;
  background: #fff;
}
.brand img { width: 266px; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 600; }
.nav a { white-space: nowrap; }
.nav .contact { background: var(--red); color: #fff; padding: 15px 23px; border-radius: 3px; }

/* Hero Slider */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 2404/1206;
  min-height: 0;
  background: #172b3d;
  display: block;
  color: #fff;
}
.hero-inner { max-width: var(--width); width: 100%; margin: auto; padding: 35px 0; }
.eyebrow { font-size: 13px; letter-spacing: .15em; color: #fff; opacity: .88; margin: 0 0 25px; }
.hero h1 { font-size: 52px; line-height: 1.38; letter-spacing: .015em; font-weight: 700; margin: 0 0 20px; max-width: 760px; }
.hero p { font-size: 17px; line-height: 1.9; max-width: 640px; color: rgba(255,255,255,.92); margin: 0 0 30px; }
.actions { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 17px 24px; font-size: 14px; font-weight: 700; border-radius: 3px; }
.btn.red { background: var(--red); color: #fff; }
.btn.ghost { border: 1px solid rgba(255,255,255,.8); color: #fff; background: rgba(18,38,54,.25); }
.hero-note { font-size: 12px; color: #fff; opacity: .8; margin-top: 18px; }

.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: 100% 100%; background-position: center; opacity: 0; transition: opacity .75s ease; }
.hero-slide:nth-child(1) { background-image: url("../assets/images/hero-slide-01.jpg"); }
.hero-slide:nth-child(2) { background-image: url("../assets/images/steel-processing.jpg"); background-size: cover; background-position: center; }
.hero-slide:nth-child(3) { background-image: url("../assets/images/hero-slide-03.jpg"); }
.hero-slide.is-active { opacity: 1; }

.hero .hero-inner { display: none; }
.hero.text-copy-active .hero-inner {
  display: block; position: absolute; inset: 0; z-index: 1; width: 100%; max-width: none; margin: 0; padding: 36px 26px; color: #fff; display: flex; flex-direction: column; justify-content: center;
}
.hero.text-copy-active .hero-slide:nth-child(2)::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(13,25,36,.82) 0%,rgba(13,25,36,.68) 43%,rgba(13,25,36,.08) 100%);
}
.hero.text-copy-active .eyebrow { font-size: 13px; letter-spacing: .15em; margin: 0 0 25px; }
.hero.text-copy-active h1 { font-size: clamp(36px,3.2vw,64px); line-height: 1.28; max-width: 850px; margin: 0 0 28px; }
.hero.text-copy-active p { font-size: clamp(14px,1.1vw,18px); line-height: 1.9; max-width: 960px; margin: 0 0 30px; }
.hero.text-copy-active .actions { gap: 16px; }
.hero.text-copy-active .btn { min-width: 150px; padding: 17px 24px; font-size: 15px; }
.hero.text-copy-active .hero-note { font-size: 12px; margin-top: 26px; }

.hero-controls { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(16,31,43,.42); color: #fff; font: inherit; font-size: 28px; line-height: 1; cursor: pointer; pointer-events: auto; display: grid; place-items: center; transition: background .2s ease,transform .2s ease;
}
.hero-arrow:hover { background: rgba(184,36,54,.9); transform: translateY(-50%) scale(1.05); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
.hero-dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 9px; pointer-events: auto; }
.hero-dot { width: 10px; height: 10px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dot.is-active { background: #fff; transform: scale(1.15); }
.hero-arrow:focus-visible, .hero-dot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Sections */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner { max-width: var(--width); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); padding: 30px 0; }
.trust-item { padding: 4px 28px; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; color: var(--navy); font-size: 18px; margin-bottom: 6px; }
.trust-item span { font-size: 12px; color: var(--gray); }

.section { padding: 100px 24px; }
.inner { max-width: var(--width); margin: auto; }
.section-head { margin-bottom: 48px; }
.kicker { color: var(--red); font-size: 12px; letter-spacing: .17em; font-weight: 700; margin-bottom: 12px; }
.section h2 { color: var(--navy); font-size: 36px; line-height: 1.45; margin: 0; font-weight: 700; }
.lead { font-size: 16px; color: #5a636c; line-height: 2; margin: 16px 0 0; max-width: 780px; }

.about { background: #f5f6f7; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 68px; align-items: center; }
.about-copy { font-size: 15px; line-height: 2.1; color: #4e5861; }
.about-copy p { margin: 0 0 18px; }
.profile { background: #fff; padding: 30px 32px; border-top: 4px solid var(--red); box-shadow: 0 12px 32px rgba(14,32,47,.06); }
.profile-label { font-size: 11px; letter-spacing: .12em; color: var(--red); font-weight: 700; }
.profile h3 { font-size: 20px; color: var(--navy); margin: 10px 0 18px; }
.profile dl { display: grid; grid-template-columns: 100px 1fr; gap: 12px 18px; font-size: 12px; line-height: 1.7; margin: 0; }
.profile dt { color: #7a8288; }
.profile dd { margin: 0; font-weight: 600; }
.text-link { display: inline-block; color: var(--red); font-size: 13px; font-weight: 700; margin-top: 20px; }
.text-link span { margin-left: 9px; }

.services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { background: #fff; border: 1px solid #e2e5e8; transition: .2s; }
.service .visual { height: 190px; overflow: hidden; background: #e8ecef; position: relative; }
.service .visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); }
.service .num { position: absolute; top: 15px; left: 17px; color: #fff; font-size: 12px; letter-spacing: .1em; text-shadow: 0 1px 6px #243747; }
.service-body { padding: 24px 24px 26px; }
.service h3 { font-size: 19px; color: var(--navy); margin: 0 0 12px; }
.service p { font-size: 13px; color: #67717a; line-height: 1.9; margin: 0; min-height: 50px; }
.service .text-link { margin-top: 18px; }

.group { background: #172b3d; color: #fff; }
.group .section-head h2 { color: #fff; }
.group .kicker { color: #e59aa5; }
.group-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.group-photo { height: 390px; overflow: hidden; position: relative; }
.group-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.group-photo:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(7,18,29,.45),transparent 55%); }
.group-copy h3 { font-size: 25px; line-height: 1.55; margin: 0 0 18px; }
.group-copy p { font-size: 14px; line-height: 2; color: #d4dbe0; }
.proofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.proof { border: 1px solid rgba(255,255,255,.25); padding: 17px 15px; }
.proof strong { font-size: 20px; display: block; margin-bottom: 6px; }
.proof small { font-size: 11px; color: #d3dbe0; }
.group .text-link { color: #f2a3ad; }

.news { background: #f4f5f6; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { background: #fff; padding: 24px; border-top: 2px solid var(--navy); min-height: 158px; }
.news-card time { font-size: 11px; color: #8a9298; }
.news-card h3 { font-size: 15px; color: var(--navy); line-height: 1.7; margin: 14px 0; }

.consult { background: #fff; padding: 70px 24px; }
.consult-inner { max-width: var(--width); margin: auto; background: #f6f2f2; padding: 42px; display: grid; grid-template-columns: 340px 1fr; gap: 42px; border-left: 5px solid var(--red); align-items: start; }
.consult-intro .kicker { margin-bottom: 15px; }
.consult h2 { font-size: 27px; line-height: 1.5; color: var(--navy); margin: 0 0 14px; }
.consult p { font-size: 13px; line-height: 1.9; color: #69737b; margin: 0; }
.contact-form { background: #fff; padding: 26px 28px; box-shadow: 0 8px 24px rgba(14,32,47,.05); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 18px; }
.form-field label { display: block; font-size: 12px; font-weight: 700; color: #344554; margin-bottom: 7px; }
.required { display: inline-block; margin-left: 6px; padding: 2px 5px; border-radius: 2px; background: #b82436; color: #fff; font-size: 9px; vertical-align: 1px; }
.form-control { height: 42px; border: 1px solid #d9dee2; background: #fff; border-radius: 2px; padding: 10px 12px; color: #8a9298; font-size: 12px; }
.form-field.full { grid-column: 1/-1; }
.form-control.select { position: relative; }
.form-control.select:after { content: "⌄"; float: right; color: #707980; font-size: 15px; }
.form-control.textarea { height: 76px; }
.form-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 15px; }
.privacy { font-size: 10px; line-height: 1.6; color: #66717a; }
.submit-mock { min-width: 180px; border: 0; background: var(--red); color: #fff; padding: 14px 20px; border-radius: 2px; font-size: 12px; font-weight: 700; text-align: center; }

.footer { background: #121e28; color: #fff; padding: 38px 24px 24px; }
.footer-inner { max-width: var(--width); margin: auto; display: grid; grid-template-columns: 310px 1.25fr 1.1fr .85fr .8fr; gap: 25px; align-items: start; }
.footer img { width: 230px; filter: brightness(0) invert(1); }
.footcontact { margin: 19px 0 0; text-align: left; font-size: 11px; line-height: 1.9; color: #e0e5e8; }
.footer-nav h3 { font-size: 12px; margin: 2px 0 13px; color: #fff; }
.footer-nav a { display: block; font-size: 10px; line-height: 1.8; color: #cbd3d9; margin: 0 0 5px; }
.source-note { max-width: var(--width); margin: 26px auto 0; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.16); color: #b5bec5; font-size: 10px; display: flex; justify-content: space-between; }
.source-note a { color: #dce2e7; }
.mobile-cta { display: none; }

/* Responsive Media Queries */
@media(max-width: 900px) {
  .header { height: 76px; padding: 0 22px; }
  .brand img { width: 220px; }
  .nav { gap: 16px; font-size: 11px; }
  .nav .contact { padding: 12px 16px; }
  .hero-inner { padding: 40px 28px; }
  .hero h1 { font-size: 42px; }
  .trust-inner { padding: 22px 20px; }
  .section { padding: 74px 24px; }
  .about-grid, .group-grid { gap: 35px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service .visual { height: 150px; }
  .service-body { padding: 20px; }
  .group-photo { height: 330px; }
}
@media(max-width: 700px) {
  .hero-prev { left: 12px; }
  .hero-next { right: 12px; }
  .hero-arrow { width: 38px; height: 38px; font-size: 23px; }
}
@media(max-width: 650px) {
  .concept { font-size: 10px; }
  .header { height: 70px; padding: 0 17px; }
  .brand img { width: 195px; }
  .nav a:not(.contact) { display: none; }
  .nav .contact { font-size: 12px; padding: 12px 14px; }
  .hero { min-height: 600px; background-position: 55% center; }
  .hero-inner { padding: 44px 22px; }
  .hero h1 { font-size: 34px; line-height: 1.5; }
  .hero p { font-size: 14px; }
  .btn { padding: 15px 17px; font-size: 12px; }
  .trust-inner { padding: 17px 9px; }
  .trust-item { padding: 5px 9px; }
  .trust-item strong { font-size: 14px; }
  .trust-item span { font-size: 10px; line-height: 1.6; display: block; }
  .section { padding: 62px 20px; }
  .section-head { margin-bottom: 30px; }
  .section h2 { font-size: 27px; }
  .lead { font-size: 14px; }
  .about-grid, .group-grid { grid-template-columns: 1fr; gap: 25px; }
  .about-copy { font-size: 14px; }
  .profile { padding: 24px; }
  .service-grid { grid-template-columns: 1fr; gap: 15px; }
  .service { display: grid; grid-template-columns: 112px 1fr; }
  .service .visual { height: 100%; min-height: 158px; }
  .service-body { padding: 17px; }
  .service h3 { font-size: 16px; }
  .service p { font-size: 12px; min-height: auto; }
  .service .text-link { font-size: 11px; }
  .group-photo { height: 240px; }
  .group-copy h3 { font-size: 22px; }
  .proofs { gap: 7px; }
  .proof { padding: 13px 8px; }
  .proof strong { font-size: 15px; }
  .proof small { font-size: 9px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { min-height: auto; padding: 19px; }
  .consult { padding: 42px 18px 86px; }
  .consult-inner { padding: 24px 18px; display: block; }
  .consult h2 { font-size: 22px; }
  .contact-form { padding: 20px 16px; margin-top: 23px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .form-field.full { grid-column: auto; }
  .form-bottom { display: block; }
  .submit-mock { width: 100%; margin-top: 14px; }
  .footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 15px; }
  .footer-brand { grid-column: 1/-1; }
  .footer img { width: 200px; }
  .footcontact { text-align: left; margin-top: 15px; }
  .source-note { line-height: 1.6; display: block; }
  .source-note a { display: block; margin-top: 10px; }
  .mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; display: flex; background: var(--red); color: #fff; justify-content: center; padding: 15px; font-weight: 700; font-size: 13px; z-index: 5; }
  
  .hero.text-copy-active { aspect-ratio: auto; min-height: 600px; }
  .hero.text-copy-active .hero-inner { padding: 42px 26px; }
  .hero.text-copy-active .eyebrow { margin-bottom: 18px; }
  .hero.text-copy-active h1 { font-size: 34px; line-height: 1.45; margin-bottom: 20px; }
  .hero.text-copy-active p { font-size: 14px; line-height: 1.8; margin-bottom: 22px; }
  .hero.text-copy-active .actions { gap: 10px; }
  .hero.text-copy-active .btn { min-width: 0; padding: 15px 17px; font-size: 12px; }
  .hero.text-copy-active .hero-note { margin-top: 18px; }
  .hero.text-copy-active .hero-slide:nth-child(2) { background-position: 56% center; }
  .hero.text-copy-active .hero-slide:nth-child(2)::after { background: linear-gradient(90deg,rgba(13,25,36,.82),rgba(13,25,36,.56)); }
}

@media(prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}