:root {
  --green: #0f5a43;
  --green-dark: #0b4535;
  --green-soft: #6f9187;
  --gold: #c6a85c;
  --gold-soft: #dfca8f;
  --beige: #f7f3e8;
  --beige-light: #fbf8f0;
  --text: #1d302b;
  --muted: #66736f;
  --line: #e7dfcf;
  --white: #ffffff;
  --shadow: 0 12px 34px rgba(43, 53, 47, 0.08);
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1370px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Inter", "Zen Kaku Gothic New", system-ui, sans-serif;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(231, 223, 207, 0.55);
}

.header-inner {
  width: min(100%, 1420px);
  height: 78px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--green-dark);
}

.brand-text,
.footer-brand span:last-child {
  font-size: 28px;
  letter-spacing: -0.03em;
}

.site-header .brand-main {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--green-dark);
  line-height: 1;
}

.site-header .brand-sub {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  line-height: 1;
}

.site-header .brand {
  display: block;
  flex-shrink: 0;
}

.nav a.active,
.nav-link.active {
  color: var(--green);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 5px solid var(--green);
  border-right-color: transparent;
  border-radius: 999px;
  display: inline-block;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
}

.brand-mark.light {
  border-color: #fff;
  border-right-color: transparent;
}

.brand-mark.light::after {
  background: #fff;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
}

.nav-link {
  position: relative;
  padding: 28px 0;
}

.nav-link.active {
  color: var(--green);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 52px;
  height: 2px;
  transform: translateX(-50%);
  background: var(--gold);
}

.header-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.header-button {
  height: 48px;
  padding: 0 20px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 90, 67, 0.12);
}

.header-button.contact {
  background: var(--green-dark);
}

.header-button.download {
  background: #cfae24;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: var(--green-dark);
}

.breadcrumb {
  width: min(100% - 72px, var(--container));
  margin: 22px auto 14px;
  display: flex;
  gap: 10px;
  color: #66736f;
  font-size: 13px;
  font-weight: 500;
}

.hero {
  width: min(100% - 72px, var(--container));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 112px) clamp(32px, 5vw, 64px) clamp(96px, 11vw, 148px);
  background:
    radial-gradient(ellipse 70% 55% at 75% 15%, rgba(198, 168, 92, 0.14), transparent),
    linear-gradient(180deg, #fff 0%, #fbf8f0 100%);
  border-radius: 0 0 24px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(231, 223, 207, 0.9);
  border-top: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/company-hero-line-community.png") no-repeat right bottom / min(480px, 50%);
  opacity: 0.22;
  pointer-events: none;
}

.hero-label {
  display: inline-block;
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  padding: 6px 18px;
  border: 1px solid rgba(15, 90, 67, 0.2);
  border-radius: 999px;
  color: var(--green);
  background: rgba(15, 90, 67, 0.06);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  color: #556460;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.1em;
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hero-headline-line2 {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-size: 1.05em;
}

.hero-headline-line2 span {
  color: var(--gold);
}

.hero-lead {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 520px;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 600;
  line-height: 1.9;
  color: #465753;
}

.hero-chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.hero-chip {
  padding: 10px 20px;
  background: #fff;
  border: 1px solid rgba(15, 90, 67, 0.15);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  box-shadow: 0 4px 14px rgba(29, 48, 43, 0.05);
}

.section-label {
  display: inline-block;
  position: relative;
  margin: 0 0 28px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.section-label::after {
  content: "";
  display: block;
  width: 88px;
  height: 2px;
  margin-top: 13px;
  background: var(--gold);
}

.page-section {
  width: min(100% - 72px, var(--container));
  margin: 0 auto 30px;
}

.soft-card {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(247,243,232,0.92), rgba(255,255,255,0.92));
  border: 1px solid rgba(231, 223, 207, 0.8);
  box-shadow: 0 8px 28px rgba(29, 48, 43, 0.05);
  overflow: hidden;
}

.philosophy-section {
  width: min(100% - 72px, 1200px);
  margin: -72px auto 36px;
  position: relative;
  z-index: 2;
}

.philosophy-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(29, 48, 43, 0.08);
  overflow: hidden;
  border: 1px solid rgba(231, 223, 207, 0.9);
}

.philosophy-text {
  padding: clamp(40px, 5vw, 56px) clamp(32px, 4vw, 48px);
}

.philosophy-text .section-label {
  margin-bottom: 20px;
}

.philosophy-text h2 {
  margin: 0 0 24px;
  color: var(--green);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.5;
}

.philosophy-text p {
  margin: 0 0 28px;
  color: #334540;
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
}

.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.philosophy-pillar {
  padding: 14px 10px;
  background: var(--beige);
  border-radius: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
  line-height: 1.5;
}

.philosophy-pillar strong {
  display: block;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 4px;
}

.section-text h2,
.regional-text h2 {
  margin: 0 0 26px;
  color: var(--green);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(26px, 2.2vw, 35px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.05em;
}

.section-text p:not(.section-label) {
  margin: 0;
  color: #334540;
  font-size: 16px;
  font-weight: 600;
  line-height: 2.05;
}

.philosophy-visual {
  padding: 32px;
  background: linear-gradient(180deg, #fbf8f0, #f7f3e8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}

.philosophy-visual img {
  border-radius: 12px;
}

.philosophy-visual .diagram {
  max-width: none;
  margin: 0;
}

.philosophy-visual .landscape {
  opacity: 0.9;
}

.regional-card {
  min-height: 320px;
  padding: 46px 48px;
  display: grid;
  grid-template-columns: 0.82fr 1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.regional-text h2 {
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.regional-map img,
.regional-photos img {
  border-radius: 12px;
}

.regional-photos img {
  box-shadow: 0 8px 20px rgba(29, 48, 43, 0.08);
}

.section-heading {
  margin-bottom: 20px;
}

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

.dx-card {
  min-height: 210px;
  padding: 22px 18px 22px 22px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(231, 223, 207, 0.95);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.dx-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 25px;
  font-weight: 800;
}

.dx-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.dx-card p {
  margin: 0;
  color: #465753;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.9;
}

.dx-photo {
  min-height: 160px;
  height: 100%;
  border-radius: 12px;
  background-image: url("assets/company-dx-initiatives-collage.png");
  background-size: 300% 100%;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}

.dx-photo-1 {
  background-position: left center;
}

.dx-photo-2 {
  background-position: center center;
}

.dx-photo-3 {
  background-position: right center;
}

.education-card {
  min-height: 330px;
  padding: 48px 54px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  align-items: center;
}

.education-list .section-label {
  margin-bottom: 28px;
}

.education-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 26px;
}

.education-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 26px;
  background: #fff;
}

.education-item h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
}

.education-item p {
  margin: 0;
  color: #3d4d49;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.9;
}

.education-visual img {
  max-width: 720px;
  margin-left: auto;
}

.last-section {
  margin-bottom: 0;
}

.history-card {
  padding: 46px 48px 42px;
}

.company-info-card {
  padding: 46px 48px 42px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 15px;
}

.company-table th,
.company-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(228, 226, 216, 0.7);
  vertical-align: top;
  line-height: 1.8;
}

.company-table th {
  width: 160px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  color: #1F4D3A;
  white-space: nowrap;
}

.company-table td {
  color: #3A4A46;
  font-weight: 600;
}

.company-table td a {
  color: #1F4D3A;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
  z-index: 0;
}

.timeline-item {
  position: relative;
  z-index: 1;
  padding: 0 14px;
  border-right: 1px solid rgba(231, 223, 207, 0.95);
}

.timeline-item:last-child {
  border-right: 0;
}

.timeline-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.timeline-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 0;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.timeline-icon {
  width: 100%;
  height: 120px;
  margin-bottom: 18px;
  background-image: url("assets/company-timeline-icons.png");
  background-size: 500% auto;
  background-repeat: no-repeat;
}

.timeline-icon-1 {
  background-position: 0% center;
}

.timeline-icon-2 {
  background-position: 25% center;
}

.timeline-icon-3 {
  background-position: 50% center;
}

.timeline-icon-4 {
  background-position: 75% center;
}

.sokumo-logo {
  height: 120px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sokumo-logo img {
  max-width: 170px;
}

.timeline-item h3 {
  min-height: auto;
  margin: 0;
  color: var(--green);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
}

.timeline-item p {
  margin: 0;
  color: #44534f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.9;
}

.site-footer {
  margin-top: 42px;
  background: linear-gradient(90deg, var(--green-dark), #0e674d);
  color: #fff;
}

.footer-inner {
  width: min(100% - 72px, var(--container));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  color: #fff;
}

.footer-brand span:last-child {
  font-size: 25px;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
}

.footer-inner small {
  font-size: 12px;
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .header-inner {
    padding: 0 24px;
    gap: 20px;
  }

  .global-nav {
    gap: 18px;
    font-size: 13px;
  }

  .header-actions {
    display: none;
  }

  .hero,
  .page-section,
  .philosophy-section,
  .breadcrumb,
  .footer-inner {
    width: min(100% - 40px, var(--container));
  }

  .philosophy-section {
    width: min(100% - 40px, 1200px);
  }

  .philosophy-card,
  .regional-card,
  .education-card,
  .philosophy-visual {
    grid-template-columns: 1fr;
  }

  .philosophy-pillars {
    grid-template-columns: 1fr;
  }

  .regional-card,
  .education-card {
    padding: 42px 34px;
  }

  .regional-map,
  .regional-photos {
    max-width: 760px;
  }

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

  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    border-right: 0;
    border-bottom: 1px solid rgba(231, 223, 207, 0.95);
    padding-bottom: 28px;
  }
}

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

  .brand-text {
    font-size: 24px;
  }

  .menu-button {
    display: block;
  }

  .global-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

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

  .nav-link {
    padding: 14px 0;
  }

  .nav-link.active::after {
    left: 0;
    bottom: 8px;
    transform: none;
  }

  .hero {
    padding: 56px 28px 80px;
  }

  .philosophy-section {
    width: min(100% - 28px, 1200px);
    margin-top: -56px;
  }

  .philosophy-visual .diagram {
    max-width: 330px;
  }

  .dx-card {
    grid-template-columns: 1fr;
  }

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

  .dx-photo {
    min-height: 230px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 26px 0;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero,
  .page-section,
  .philosophy-section,
  .breadcrumb,
  .footer-inner {
    width: min(100% - 28px, var(--container));
  }

  .philosophy-section {
    width: min(100% - 28px, 1200px);
  }

  .hero h1 {
    font-size: 31px;
  }

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

  .philosophy-text {
    padding: 32px 22px;
  }

  .section-text h2,
  .regional-text h2 {
    font-size: 25px;
  }

  .soft-card {
    border-radius: 14px;
  }

  .regional-card,
  .education-card,
  .history-card,
  .company-info-card {
    padding: 32px 22px;
  }

  .company-table th {
    width: 120px;
    font-size: 13px;
  }

  .company-table td {
    font-size: 13px;
  }

  .company-table th,
  .company-table td {
    padding: 12px 14px;
  }

  .education-item {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }

  .education-icon {
    width: 50px;
    height: 50px;
  }
}