/* ---------------------------------------------
   Variables
--------------------------------------------- */
:root {
  --ink: #15171b;
  --muted: #6b7280;
  --line: rgba(17,24,39,.12);
  --soft: #f5f7fb;
  --paper: #fff;
  --navy: #0f2d4d;
  --blue: #1f6fbf;
  --radius: 24px;
  --shadow: 0 18px 45px rgba(15,23,42,.12);
  --max: 1160px;
}

/* ---------------------------------------------
   Base
--------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Yu Mincho","YuMincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.8;
}

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

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

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

/* ---------------------------------------------
   Header / Navigation
--------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.logo img {
  width: 122px;
  height: auto;
}

.logo small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  margin-top: -6px;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: "Noto Sans JP",system-ui,sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.global-nav a {
  position: relative;
}

.global-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: .2s;
}

.global-nav a:hover:after, .global-nav a.is-current:after {
  transform: scaleX(1);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 700;
}

/* ---------------------------------------------
   Buttons
--------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 20px;
  font-family: "Noto Sans JP",system-ui,sans-serif;
  font-weight: 800;
  background: #fff;
  transition: .2s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15,23,42,.12);
}

.btn.primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn.white {
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.5);
  color: var(--ink);
}

/* ---------------------------------------------
   Hero
--------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #111;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.15),
    rgba(0,0,0,.15) 45%,
    rgba(0,0,0,0)
  );
  z-index: 1;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 0 78px;
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Noto Sans JP",system-ui,sans-serif;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 13px;
}

.eyebrow:before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  font-size: clamp(2.2rem,3.6vw,4rem);
  line-height: 1.15;
  margin: 22px 0 20px;
  letter-spacing: .03em;
  text-shadow: 0 12px 28px rgba(0,0,0,.35);
}

.hero p {
  font-size: clamp(1rem,1.6vw,1.25rem);
  max-width: 760px;
  margin: 0 0 28px;
}

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

/* ---------------------------------------------
   Intro / About
--------------------------------------------- */
.intro {
  padding: 86px 0 64px;
  background: #fff;
}

.intro-grid{
  display:grid;
  grid-template-columns: 1.45fr 1.15fr;
  gap:48px;
  align-items:center;
}

.section-label {
  font-family: "Noto Sans JP",system-ui,sans-serif;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.intro h2, .page-title h1 {
  font-size: clamp(2rem,4vw,3.6rem);
  line-height: 1.2;
  margin: 12px 0 0;
}

.intro p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------------------------------------------
   Feature Sections
--------------------------------------------- */
.feature-stack {
  display: grid;
  gap: 30px;
  padding: 24px 0 90px;
}

.feature {
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 460px;
}

.feature.reverse {
  grid-template-columns: .86fr 1.14fr;
}

.feature.reverse .feature-media {
  order: 2;
}

.feature.reverse .feature-body {
  order: 1;
}

.feature-media {
  background: #e9eef7;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-num {
  font-family: "Noto Sans JP",system-ui,sans-serif;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .14em;
  font-size: 13px;
}

.feature h2 {
  font-size: clamp(1.8rem,3.2vw,3.1rem);
  line-height: 1.18;
  margin: 12px 0 18px;
}

.feature p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 22px;
}

.points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Noto Sans JP",system-ui,sans-serif;
}

.points li {
  padding-left: 22px;
  position: relative;
  color: #374151;
  font-weight: 600;
}

.points li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------------------------------------------
   Common Sections / Cards
--------------------------------------------- */
.section {
  padding: 88px 0;
}

.section.soft {
  background: var(--soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(1.8rem,3.3vw,3rem);
  line-height: 1.2;
  margin: 8px 0 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 560px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15,23,42,.08);
}

.card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.business-cards .card {
  padding: 28px;
}

.business-cards .card img {
  height: 0;
}

.business-cards h3 {
  font-size: 1.35rem;
}

.cta {
  background: linear-gradient(120deg,var(--navy),#184d7c);
  color: #fff;
  border-radius: 32px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cta h2 {
  font-size: clamp(1.8rem,3vw,2.8rem);
  line-height: 1.2;
  margin: 0 0 12px;
}

.cta p {
  margin: 0;
  color: rgba(255,255,255,.82);
}

/* ---------------------------------------------
   Sub Pages
--------------------------------------------- */
.page-hero {
  padding: 76px 0 48px;
  background: linear-gradient(180deg,#f7f9fc,#fff);
}

.page-title {
  max-width: 850px;
}

.breadcrumb {
  font-family: "Noto Sans JP",system-ui,sans-serif;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.breadcrumb a {
  text-decoration: underline;
}

.lead {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 780px;
}

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

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: block;
}

.info-table tr {
  display: grid;
  grid-template-columns: 170px 1fr;
  border-bottom: 1px solid var(--line);
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table th, .info-table td {
  text-align: left;
  padding: 18px 20px;
}

.info-table th {
  background: var(--soft);
  font-family: "Noto Sans JP",system-ui,sans-serif;
}

/* ---------------------------------------------
   Footer
--------------------------------------------- */
.site-footer {
  background: #101820;
  color: #fff;
  padding: 54px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
}

.site-footer p, .site-footer a {
  color: rgba(255,255,255,.76);
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 0 12px;
}

.footer-nav {
  display: grid;
  gap: 8px;
  font-family: "Noto Sans JP",system-ui,sans-serif;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 38px;
  padding-top: 20px;
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-family: "Noto Sans JP",system-ui,sans-serif;
}

/* ---------------------------------------------
   Responsive
--------------------------------------------- */
@media (max-width:900px) {
  .header-inner {
    height: 70px;
  }

  .global-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px 20px;
    box-shadow: 0 20px 40px rgba(15,23,42,.08);
  }

  .global-nav.is-open {
    display: grid;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    min-height: 72vh;
  }

  .intro-grid, .feature, .feature.reverse, .two-col {
    grid-template-columns: 1fr;
  }

  .feature.reverse .feature-media, .feature.reverse .feature-body {
    order: initial;
  }

  .feature {
    min-height: 0;
  }

  .feature-media {
    min-height: 280px;
  }

  .feature-body {
    padding: 30px;
  }

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

  .section-head, .cta {
    display: block;
  }

  .cta .btn {
    margin-top: 20px;
  }

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

  .info-table tr {
    grid-template-columns: 1fr;
  }

  .info-table th {
    padding-bottom: 6px;
  }

  .info-table td {
    padding-top: 6px;
  }
}


/* ---------------------------------------------
   CTA Fix
--------------------------------------------- */
.cta > div {
  flex: 1;
}

.cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 180px;
  padding: 14px 28px;
}

/* ---------------------------------------------
   Works Category / Gallery
--------------------------------------------- */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.category-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 28px;
  background: #fff;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 800;
  text-align: center;
  transition: .2s;
  white-space: nowrap;
  min-width: 220px;
}

.category-nav a:hover,
.category-nav a.is-current {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-1px);
}

.work-category-card {
  display: grid;
  grid-template-rows: 260px auto;
}

.work-category-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.work-category-card .btn {
  width: fit-content;
  margin-top: auto;
  padding: 10px 18px;
}

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

.gallery-item {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15,23,42,.08);
}

.gallery-item img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.gallery-caption {
  padding: 14px 16px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: #374151;
  font-weight: 700;
  font-size: .95rem;
}

.page-title .lead strong{
    color:#0b3d6d;
    font-weight:700;
}

@media (max-width: 900px) {
  .category-nav {
    grid-template-columns: 1fr;
  }

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

  .gallery-item img {
    height: 300px;
  }

  .cta .btn {
    margin-top: 20px;
    width: fit-content;
    min-width: 0;
  }
}

/* ---------------------------------------------
   Company Page
--------------------------------------------- */
.company-section {
  padding: 56px 0 88px;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(520px, 1.1fr);
  gap: 72px;
  align-items: start;
}

.company-message h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.35;
  margin: 12px 0 22px;
}

.company-message .lead {
  max-width: 520px;
  line-height: 2;
}

.company-table .info-table {
  width: 100%;
}

@media (max-width: 900px) {
  .company-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .company-section {
    padding: 44px 0 64px;
  }
}
