:root {
  --white: #ffffff;
  --sub-bg: #f8fafc;
  --neutral-bg: #f1f5f9;
  --primary-terracotta: #c2410c;
  --terracotta-hover: #9a3412;
  --dark-navy: #1e3a5f;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --border-gray: #e2e8f0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-dark);
  background: var(--white);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", sans-serif;
  line-height: 1.8;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-gray);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  gap: 1px;
  line-height: 1.1;
}

.logo-ja {
  color: var(--dark-navy);
  font-family: "M PLUS 1p", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-align: justify;
  text-align-last: justify;
}

.logo-en {
  color: var(--text-gray);
  font-family: "Barlow", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-align: justify;
  text-align-last: justify;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
}

.global-nav a {
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.global-nav a:hover {
  color: var(--dark-navy);
}

.nav-contact {
  padding: 10px 16px;
  border-radius: 6px;
  color: var(--white) !important;
  background: var(--primary-terracotta);
}

.nav-contact:hover {
  background: var(--terracotta-hover);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--dark-navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  min-height: min(860px, 92vh);
  padding: 132px 0 116px;
  background: var(--dark-navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 22, 38, 0.94) 0%, rgba(11, 22, 38, 0.78) 40%, rgba(11, 22, 38, 0.34) 72%, rgba(11, 22, 38, 0.12) 100%),
    linear-gradient(0deg, rgba(11, 22, 38, 0.82) 0%, rgba(11, 22, 38, 0) 46%);
}

.hero-watermark {
  position: absolute;
  right: -1.5vw;
  bottom: -2.2vh;
  z-index: -1;
  color: transparent;
  font-family: "Barlow", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(88px, 19vw, 300px);
  line-height: 0.78;
  letter-spacing: 0.01em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  max-width: 780px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--primary-terracotta);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  color: var(--dark-navy);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.22;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--dark-navy);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.4;
  letter-spacing: 0;
}

h3 {
  color: var(--text-dark);
  font-size: 22px;
  line-height: 1.45;
}

.hero-statement {
  margin-bottom: 18px;
  color: var(--dark-navy);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.55;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 24px;
  color: var(--text-gray);
  font-size: 17px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.22em;
}

.hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--primary-terracotta);
}

.hero h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(42px, 6.2vw, 74px);
  line-height: 1.14;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.hero .hero-statement {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(19px, 2.4vw, 27px);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.3);
}

.hero .hero-lead {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.84);
}

.hero .trust-badges li {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Barlow", "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}

.trust-badges li {
  padding: 8px 12px;
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  color: var(--dark-navy);
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.4;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--primary-terracotta);
}

.button-primary:hover {
  background: var(--terracotta-hover);
}

.button-secondary {
  color: var(--dark-navy);
  border-color: var(--border-gray);
  background: var(--white);
}

.button-secondary:hover {
  border-color: var(--dark-navy);
  background: var(--sub-bg);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.photo-frame {
  display: grid;
  width: 100%;
  min-height: 360px;
  padding: 18px;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--neutral-bg), rgba(255, 255, 255, 0.74)),
    var(--white);
  box-shadow: 0 14px 36px rgba(30, 58, 95, 0.05);
}

.photo-frame.has-image {
  padding: 0;
  overflow: hidden;
  background: var(--neutral-bg);
}

.photo-frame.has-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.photo-frame.has-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-photo-frame {
  min-height: 500px;
}

.delivery-photo-frame {
  min-height: 520px;
}

.about-photo-frame,
.company-photo-frame {
  min-height: 260px;
}

.photo-empty {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 24px;
  border: 1px dashed var(--border-gray);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.78)),
    repeating-linear-gradient(135deg, rgba(30, 58, 95, 0.04) 0 10px, rgba(255, 255, 255, 0.06) 10px 20px);
}

.photo-empty span {
  margin-bottom: 8px;
  color: var(--text-gray);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.photo-empty strong {
  color: var(--dark-navy);
  font-size: 21px;
  line-height: 1.5;
}

.photo-empty small {
  color: var(--text-gray);
}

.section {
  padding: 88px 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.about-copy {
  max-width: 680px;
}

.brand-statement {
  margin-bottom: 22px;
  padding: 20px 22px;
  border-left: 4px solid var(--primary-terracotta);
  border-radius: 0 6px 6px 0;
  color: var(--dark-navy);
  background: var(--sub-bg);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.7;
}

.about-copy p:last-child {
  margin-bottom: 0;
  color: var(--text-gray);
}

.about-side {
  display: grid;
  gap: 16px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  padding: 28px 24px;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  background: var(--white);
}

.trust-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--primary-terracotta);
}

.trust-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.trust-title {
  margin: 0 0 10px;
  color: var(--dark-navy);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.trust-desc {
  margin: 0;
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.75;
}

.main-business {
  background: var(--neutral-bg);
}

.main-business-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.main-business-copy p {
  color: var(--text-gray);
}

.business-note {
  display: inline-block;
  margin: 4px 0 0;
  padding: 8px 12px;
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  color: var(--dark-navy) !important;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.use-case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 28px 0 30px;
  list-style: none;
}

.use-case-list li {
  padding: 12px 14px;
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--dark-navy);
  font-weight: 700;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  color: var(--text-gray);
}

.business-group-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border-gray);
  border-left: 1px solid var(--border-gray);
}

.business-group {
  min-height: 320px;
  padding: 30px 26px 28px;
  border-right: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
  background: var(--white);
}

.business-group:nth-child(odd) {
  background: var(--sub-bg);
}

.group-index {
  display: block;
  color: var(--primary-terracotta);
  font-family: "Barlow", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.group-en {
  margin: 4px 0 0;
  color: rgba(30, 58, 95, 0.28);
  font-family: "Barlow", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.group-ja {
  margin: 2px 0 26px;
  color: var(--dark-navy);
  font-size: 24px;
  line-height: 1.3;
}

.business-group ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.business-group li {
  position: relative;
  padding-left: 16px;
  color: var(--text-dark);
  font-weight: 700;
}

.business-group li::before {
  content: "";
  position: absolute;
  top: 0.85em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dark-navy);
}

.stats-band {
  padding: 40px 0;
  background: var(--dark-navy);
}

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

.stat {
  position: relative;
  padding-left: 22px;
}

.stat::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 3px;
  height: calc(100% - 12px);
  background: var(--primary-terracotta);
}

.stat-num {
  display: block;
  color: #fff;
  font-family: "Barlow", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(46px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: 0.01em;
}

.stat-num small {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--primary-terracotta);
}

.stat-label {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.company-section {
  background: var(--sub-bg);
}

.company-layout {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 48px;
  align-items: start;
}

.company-intro p {
  color: var(--text-gray);
}

.company-photo-frame {
  margin-top: 28px;
  box-shadow: none;
}

.company-list {
  margin: 0;
  border-top: 1px solid var(--border-gray);
  background: var(--white);
}

.company-list div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 18px 22px;
  border-right: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
  border-left: 1px solid var(--border-gray);
}

.company-list dt {
  color: var(--dark-navy);
  font-weight: 800;
}

.company-list dd {
  margin: 0;
  color: var(--text-dark);
}

.company-list a {
  color: var(--dark-navy);
  font-weight: 800;
}

.news-section {
  background: var(--white);
}

.news-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 0;
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
}

.news-box h2 {
  margin-bottom: 0;
}

.news-box p:last-child {
  margin-bottom: 0;
  color: var(--text-gray);
}

.contact-section {
  padding: 78px 0;
  background: var(--neutral-bg);
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 38px;
  align-items: center;
  padding: 38px;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  background: var(--white);
}

.contact-copy h2 {
  margin-bottom: 10px;
}

.contact-copy p {
  margin-bottom: 0;
  color: var(--text-gray);
}

.contact-panel {
  padding: 24px;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  background: var(--sub-bg);
}

.contact-panel span {
  display: block;
  color: var(--text-gray);
  font-size: 13px;
  font-weight: 800;
}

.contact-phone {
  display: inline-block;
  margin: 4px 0 6px;
  color: var(--dark-navy);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.2;
}

.contact-hours {
  margin: 0 0 18px;
  color: var(--text-gray);
  font-size: 13px;
  font-weight: 700;
}

.contact-panel .contact-actions {
  flex-direction: column;
}

.contact-panel .button {
  width: 100%;
}

.site-footer {
  padding: 46px 0 24px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--dark-navy);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  gap: 2px;
  margin-bottom: 10px;
  line-height: 1.15;
}

.footer-logo .logo-ja {
  color: var(--white);
  font-family: "M PLUS 1p", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.footer-logo .logo-en {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Barlow", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.site-footer p {
  margin-bottom: 4px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

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

.copyright {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.66);
}

.sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: none;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border-gray);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px rgba(30, 58, 95, 0.1);
}

.sticky-cta a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 62px;
  padding: 8px 12px;
  font-weight: 800;
}

.sticky-cta-call {
  color: var(--dark-navy);
}

.sticky-cta-call-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-gray);
}

.sticky-cta-call-num {
  font-family: "Barlow", "Noto Sans JP", sans-serif;
  font-size: 19px;
  letter-spacing: 0.01em;
}

.sticky-cta-contact {
  color: var(--white);
  background: var(--primary-terracotta);
}

@media (max-width: 980px) {
  .business-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .menu-toggle {
    display: block;
  }

  body {
    padding-bottom: 62px;
  }

  .sticky-cta {
    display: grid;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 42px rgba(30, 58, 95, 0.12);
  }

  .menu-open .global-nav {
    display: flex;
  }

  .global-nav a {
    padding: 14px 12px;
    border-radius: 6px;
  }

  .nav-contact {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: min(760px, 88vh);
    padding: 116px 0 92px;
  }

  .about-layout,
  .main-business-grid,
  .company-layout,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .business-photo,
  .photo-frame {
    min-height: 340px;
  }

  .delivery-photo-frame {
    min-height: 380px;
  }

  .section {
    padding: 64px 0;
  }

  .news-box,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 68px;
  }

  .site-logo .logo-ja {
    font-size: 19px;
  }

  .site-logo .logo-en {
    font-size: 9px;
  }

  .global-nav {
    top: 68px;
  }

  .hero {
    min-height: min(680px, 86vh);
    padding: 104px 0 84px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-statement {
    font-size: 18px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .trust-badges,
  .trust-grid,
  .use-case-list,
  .business-group-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .trust-badges {
    display: grid;
  }

  .photo-empty {
    padding: 18px;
  }

  .photo-empty strong {
    font-size: 17px;
  }

  .brand-statement {
    padding: 18px;
    font-size: 17px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px;
  }

  .contact-box {
    padding: 26px;
  }

  .contact-phone {
    font-size: 30px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}
