/* ===== Font import ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Roboto+Mono:wght@500;700&display=swap');

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: #1F2937;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
.sp-only { display: none; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E5E7EB;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #1B3A5C;
  color: #FFFFFF;
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text-main {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1F2937;
  letter-spacing: 0.04em;
}
.logo-text-sub {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.66rem;
  color: #6B7280;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.88rem; font-weight: 500; }
.nav a { transition: color .15s; }
.nav a:hover { color: #1B3A5C; }
.nav-cta {
  background: #D9591E;
  color: #FFFFFF !important;
  padding: 9px 18px;
  border-radius: 2px;
  font-weight: 700;
}
.nav-cta:hover { background: #B8470F; color: #FFFFFF; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #FFFFFF;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F1F2F 0%, #1B3A5C 50%, #243B53 100%);
  background-image:
    url('./assets/hero-bg.jpg'),
    linear-gradient(135deg, #0F1F2F 0%, #1B3A5C 50%, #243B53 100%);
  background-size: cover, cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(15, 31, 47, 0.85) 0%, rgba(27, 58, 92, 0.45) 70%, rgba(27, 58, 92, 0.25) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 100px 28px;
  width: 100%;
}
.hero-tag {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  color: #D9591E;
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-title {
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero-num {
  color: #D9591E;
  font-family: 'Roboto Mono', monospace;
  font-size: 1.15em;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.02rem;
  line-height: 2;
  margin-bottom: 38px;
  max-width: 680px;
  opacity: 0.95;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all .2s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: #D9591E;
  color: #FFFFFF;
  border-color: #D9591E;
}
.btn-primary:hover {
  background: #B8470F;
  border-color: #B8470F;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(217, 89, 30, 0.35);
}
.btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #FFFFFF;
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  max-width: 720px;
}
.hero-specs li {
  display: flex;
  flex-direction: column;
}
.spec-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.spec-value {
  font-family: 'Roboto Mono', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* ===== Section common ===== */
.section-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  color: #D9591E;
  text-align: center;
  margin-bottom: 14px;
  font-weight: 500;
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 900;
  text-align: center;
  color: #1F2937;
  margin-bottom: 56px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.section-lead {
  text-align: center;
  color: #4B5563;
  margin: -32px auto 48px;
  max-width: 720px;
  font-size: 0.96rem;
}

/* ===== Strengths ===== */
.strengths { padding: 100px 0; background: #FFFFFF; }
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.strength {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-top: 3px solid #1B3A5C;
  padding: 28px 22px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.strength:hover {
  transform: translateY(-3px);
  border-top-color: #D9591E;
  box-shadow: 0 12px 24px rgba(27, 58, 92, 0.08);
}
.strength-num {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: #D9591E;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.strength h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 12px;
  line-height: 1.5;
}
.strength p {
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.85;
}

/* ===== Tech ===== */
.tech { padding: 100px 0; background: #F9FAFB; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.tech-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  overflow: hidden;
}
.tech-photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #4B5563, #1F2937);
  position: relative;
  overflow: hidden;
}
.tech-photo::before {
  content: 'photo';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  z-index: 0;
}
.tech-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tech-body {
  padding: 28px 28px 32px;
}
.tech-cat {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: #D9591E;
  margin-bottom: 8px;
  font-weight: 700;
}
.tech-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 18px;
}
.tech-spec {
  display: grid;
  grid-template-columns: 110px 1fr;
  row-gap: 12px;
  border-top: 1px solid #E5E7EB;
  padding-top: 18px;
}
.tech-spec dt {
  font-size: 0.82rem;
  font-weight: 700;
  color: #6B7280;
  letter-spacing: 0.04em;
}
.tech-spec dd {
  font-size: 0.92rem;
  color: #1F2937;
}
.tech-note {
  text-align: center;
  font-size: 0.88rem;
  color: #6B7280;
  background: #FFFFFF;
  padding: 18px;
  border-radius: 4px;
  border: 1px dashed #D1D5DB;
}

/* ===== Cases ===== */
.cases { padding: 100px 0; background: #FFFFFF; }
.cases-photo {
  aspect-ratio: 16 / 9;
  margin-bottom: 48px;
  background: linear-gradient(135deg, #4B5563, #1F2937);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.cases-photo::before {
  content: 'product photo';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-family: 'Roboto Mono', monospace;
  letter-spacing: 0.2em;
  font-size: 0.95rem;
  z-index: 0;
}
.cases-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case {
  background: #F9FAFB;
  padding: 26px 24px;
  border-left: 3px solid #D9591E;
}
.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  padding: 3px 10px;
  background: #1B3A5C;
  color: #FFFFFF;
  border-radius: 2px;
  margin-bottom: 12px;
  font-weight: 700;
}
.case h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 10px;
  line-height: 1.5;
}
.case-detail {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.78rem;
  color: #6B7280;
  margin-bottom: 10px;
  padding: 6px 10px;
  background: #FFFFFF;
  border-radius: 2px;
}
.case > p:last-child {
  font-size: 0.88rem;
  color: #4B5563;
  line-height: 1.8;
}

/* ===== Industries ===== */
.industries { padding: 100px 0; background: #F9FAFB; }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.industry {
  text-align: center;
  background: #FFFFFF;
  padding: 32px 20px;
  border-radius: 4px;
  border: 1px solid #E5E7EB;
  transition: transform .2s, border-color .2s;
}
.industry:hover {
  transform: translateY(-3px);
  border-color: #1B3A5C;
}
.industry-icon {
  font-size: 2.4rem;
  color: #1B3A5C;
  margin-bottom: 12px;
}
.industry h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 6px;
}
.industry p {
  font-size: 0.85rem;
  color: #6B7280;
}

/* ===== Message ===== */
.message { padding: 100px 0; background: #FFFFFF; }
.message-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.message-photo {
  text-align: center;
  position: sticky;
  top: 100px;
}
.profile-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #E5E7EB;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 14px 32px rgba(27, 58, 92, 0.15);
}
.profile-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 0;
  background: linear-gradient(180deg, #E5E7EB 0%, #CBD2D9 100%);
  color: #6B7280;
}
.profile-placeholder-icon {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0.55;
}
.profile-placeholder-note {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  opacity: 0.7;
  font-family: 'Roboto Mono', monospace;
}
.message-caption {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.message-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1F2937;
  letter-spacing: 0.06em;
}
.message-title {
  font-size: 0.85rem;
  color: #6B7280;
  letter-spacing: 0.05em;
}
.message-text { padding-top: 8px; }
.message-text .section-label { text-align: left; }
.message-text .section-title { text-align: left; margin-bottom: 32px; }
.message-text p {
  margin-bottom: 18px;
  font-size: 0.96rem;
  color: #374151;
}
.message-bio {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #E5E7EB;
}
.message-bio h3 {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: #1B3A5C;
  margin-bottom: 14px;
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
}
.message-bio ul li {
  padding: 7px 0 7px 18px;
  position: relative;
  font-size: 0.9rem;
  color: #374151;
  border-bottom: 1px dotted #E5E7EB;
}
.message-bio ul li:last-child { border-bottom: none; }
.message-bio ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #D9591E;
  font-size: 0.7rem;
  top: 12px;
}

/* ===== Company ===== */
.company { padding: 100px 0; background: #F9FAFB; }
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.company-photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #4B5563, #1F2937);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.company-photo::before {
  content: 'factory exterior';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-family: 'Roboto Mono', monospace;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  z-index: 0;
}
.company-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-info .section-label,
.company-info .section-title { text-align: left; }
.company-info .section-title { margin-bottom: 28px; }
.info-list {
  display: grid;
  grid-template-columns: 110px 1fr;
  row-gap: 14px;
  font-size: 0.92rem;
}
.info-list dt {
  font-size: 0.82rem;
  font-weight: 700;
  color: #6B7280;
  border-right: 1px solid #E5E7EB;
  padding-right: 12px;
  padding-top: 2px;
}
.info-list dd {
  padding-left: 12px;
  color: #1F2937;
  line-height: 1.7;
}

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: #FFFFFF; }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] {
  border-color: #1B3A5C;
  background: #FFFFFF;
  box-shadow: 0 8px 16px rgba(27, 58, 92, 0.06);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item:not([open]) summary:hover { background: #F3F4F6; }
.faq-q {
  font-size: 1rem;
  color: #1F2937;
  flex: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.55;
}
.faq-q::before {
  content: 'Q.';
  display: inline-block;
  margin-right: 12px;
  color: #1B3A5C;
  font-family: 'Roboto Mono', monospace;
}
.faq-arrow {
  flex-shrink: 0;
  color: #1B3A5C;
  font-size: 1.6rem;
  font-weight: 300;
  transition: transform .25s;
  line-height: 1;
}
.faq-item[open] .faq-arrow { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; }
.faq-a p {
  color: #374151;
  font-size: 0.93rem;
  line-height: 1.95;
  padding-top: 16px;
  border-top: 1px dashed #E5E7EB;
  position: relative;
  padding-left: 26px;
}
.faq-a p::before {
  content: 'A.';
  position: absolute;
  left: 0;
  top: 16px;
  color: #D9591E;
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
}
.faq-a p strong { color: #1B3A5C; font-weight: 700; }

/* ===== Contact ===== */
.contact { padding: 100px 0; background: #1B3A5C; color: #FFFFFF; }
.contact .section-label { color: #FFA572; }
.contact .section-title { color: #FFFFFF; }
.contact-lead {
  text-align: center;
  margin-bottom: 48px;
  opacity: 0.95;
  line-height: 2;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 30px 22px;
  text-align: center;
  transition: background .2s, transform .2s, border-color .2s;
}
.contact-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #D9591E;
  transform: translateY(-3px);
}
.contact-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.contact-label {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  opacity: 0.85;
  margin-bottom: 8px;
}
.contact-value {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}
.contact-note {
  font-size: 0.8rem;
  opacity: 0.75;
}
.contact-promise {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.85;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.contact-promise p { margin: 4px 0; }

/* ===== Footer ===== */
.site-footer {
  background: #0F1F2F;
  color: rgba(255, 255, 255, 0.7);
  padding: 36px 0;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-size: 1.05rem;
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.footer-tag { opacity: 0.85; margin-bottom: 4px; font-size: 0.85rem; }
.footer-addr {
  font-family: 'Roboto Mono', monospace;
  opacity: 0.6;
  font-size: 0.78rem;
}
.footer-copy { opacity: 0.5; font-size: 0.76rem; }

/* ===== Floating call (mobile) ===== */
.floating-call {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 100;
  background: #D9591E;
  color: #FFFFFF;
  padding: 16px 24px;
  border-radius: 2px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(217, 89, 30, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .sp-only { display: inline; }
  .nav { display: none; }
  .hero { min-height: 72vh; }
  .hero-specs { grid-template-columns: repeat(2, 1fr); }
  .strengths-grid,
  .tech-grid,
  .cases-grid,
  .industries-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .message-grid,
  .company-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .message-photo {
    position: static;
    max-width: 260px;
    margin: 0 auto;
  }
  .message-text .section-title,
  .message-text .section-label,
  .company-info .section-title,
  .company-info .section-label {
    text-align: center;
  }
  .floating-call { display: block; }
  body { padding-bottom: 80px; }
}
@media (max-width: 480px) {
  .header-inner { padding: 12px 16px; }
  .logo-mark { width: 36px; height: 36px; font-size: 0.85rem; }
  .logo-text-main { font-size: 0.88rem; }
  .container { padding: 0 20px; }
  .industries-grid { grid-template-columns: 1fr; }
  .hero-specs { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { width: 100%; text-align: center; }
}
