/*
Theme Name: BRIDGE Corporate Theme
Theme URI: https://1bridge.jp/
Author: BRIDGE Inc.
Description: Corporate theme for BRIDGE Inc. (BtoB Focused)
Version: 1.1.0
*/

:root {
  --ink: #17202B;
  --ink-soft: #3A4452;
  --paper: #FFFFFF;
  --panel: #EFF1EC;
  --line: #DADDD5;
  --accent: #8B5E34;
  --accent-deep: #6E4A28;
  --muted: #6B7480;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink-soft);
  background-color: var(--paper);
  line-height: 1.85;
  font-size: 16px;
}

h1, h2, h3, .brand-mark {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  color: var(--ink);
}

a {
  color: inherit;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}
.site-logo {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.site-nav a.btn-nav {
  border: 1px solid var(--ink);
  padding: 9px 20px;
  color: var(--ink);
}
.site-nav a.btn-nav:hover {
  background: var(--ink);
  color: var(--paper);
  border-bottom-color: var(--ink);
}

/* Hero */
.hero {
  background: var(--paper);
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-copy .kicker {
  display: block;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}
.hero h1 {
  font-size: 2.55rem;
  line-height: 1.55;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-copy p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 36px;
}
.btn-main {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 15px 34px;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-main:hover {
  background: var(--paper);
  color: var(--ink);
}
.hero-figure {
  display: flex;
  justify-content: center;
}
.hero-figure img {
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 896 / 1200;
  object-fit: cover;
  filter: grayscale(8%) contrast(1.02);
}

/* Sections */
.section {
  padding: 96px 0;
}
.section-bg {
  background: var(--panel);
}
.section-title {
  margin-bottom: 56px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title span {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.section-title h2 {
  font-size: 1.7rem;
  font-weight: 500;
}

/* Services — editorial row list, not card grid */
.service-list {
  display: flex;
  flex-direction: column;
}
.service-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-row:first-child {
  padding-top: 0;
}
.service-row:last-child {
  border-bottom: none;
}
.service-head {
  display: flex;
  flex-direction: column;
}
.service-thumb {
  width: 280px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(8%) contrast(1.02);
}
.service-row h3 {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-body p {
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 60ch;
}
.service-body ul {
  list-style: none;
}
.service-body ul li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 9px 0 9px 20px;
  border-left: 2px solid var(--line);
  margin-bottom: 2px;
}

/* Company */
.company-figure {
  margin-bottom: 44px;
  overflow: hidden;
}
.company-figure img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  filter: grayscale(8%) contrast(1.02);
}

.company-table {
  width: 100%;
  max-width: 760px;
  border-collapse: collapse;
}
.company-table th, .company-table td {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}
.company-table th {
  width: 26%;
  color: var(--ink);
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  vertical-align: top;
  padding-right: 24px;
}
.company-table td {
  color: var(--ink-soft);
}
.company-table a {
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-deep);
}

/* Contact */
.contact-section {
  text-align: left;
}
.contact-section .section-title {
  border-bottom: 1px solid var(--line);
}
.contact-inner {
  max-width: 560px;
}
.contact-inner p {
  color: var(--muted);
  margin-bottom: 32px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #A9B0B9;
  padding: 44px 0 36px;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-logo {
  height: 54px;
  width: auto;
  opacity: 0.92;
}

/* Responsive */
@media (max-width: 780px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-figure {
    order: -1;
    margin-bottom: 8px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .service-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 40px;
  }
  .service-head {
    flex-direction: column;
  }
  .service-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    order: -1;
    margin-bottom: 20px;
  }
  .service-row h3 {
    margin-bottom: 14px;
  }
  .site-header .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 18px 24px 16px;
    row-gap: 14px;
  }
  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .site-nav a {
    font-size: 0.82rem;
  }
  .site-nav a.btn-nav {
    padding: 8px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
