/* ===== Base ===== */
:root {
  --color-primary: #1a5c9e;
  --color-primary-dark: #10406f;
  --color-accent: #f0a232;
  --color-text: #2b3440;
  --color-muted: #6b7683;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f7fa;
  --max-width: 1080px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  font-size: 16px;
}

img { max-width: 100%; }

a { color: var(--color-primary); text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 860px; }
.center { text-align: center; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e3e8ee;
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-weight: 700;
  font-size: 18px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), #2e86c9);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.global-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.global-nav a {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.global-nav a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.header-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
  color: var(--color-primary-dark);
}

.tel-label {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--color-muted);
}

.tel-number {
  font-size: 19px;
  font-weight: 700;
}

/* ===== Hero ===== */
.hero {
  background:
    linear-gradient(120deg, rgba(16, 64, 111, .92), rgba(26, 92, 158, .82)),
    radial-gradient(circle at 80% 20%, rgba(240, 162, 50, .35), transparent 55%),
    #10406f;
  color: #fff;
  padding: 110px 0 120px;
}

.hero-sub {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.45;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-lead {
  max-width: 620px;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 36px;
}

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

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: opacity .2s, transform .2s;
}

.btn:hover { opacity: .88; transform: translateY(-1px); }

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

.btn-outline {
  border: 2px solid rgba(255, 255, 255, .85);
  color: #fff;
}

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--color-bg-alt); }

.section-en {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 14px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-primary);
}

.center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-lead {
  color: var(--color-muted);
  margin-bottom: 44px;
  max-width: 700px;
}

/* ===== Services ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 2px 10px rgba(20, 40, 70, .05);
  transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(20, 40, 70, .1);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), #2e86c9);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.service-card p {
  font-size: 14.5px;
  color: var(--color-muted);
}

/* ===== Greeting ===== */
.greeting-body p { margin-bottom: 20px; }

.greeting-sign {
  text-align: right;
  font-weight: 700;
  margin-top: 32px;
}

/* ===== Company table ===== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  background: #fff;
}

.company-table th,
.company-table td {
  border: 1px solid #dfe5ec;
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}

.company-table th {
  width: 180px;
  background: var(--color-bg-alt);
  font-weight: 700;
  white-space: nowrap;
}

.about-list {
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}

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

/* ===== Access ===== */
.access { margin-top: 56px; }

.access h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.access > p {
  color: var(--color-muted);
  margin-bottom: 18px;
}

.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dfe5ec;
}

.map-wrap iframe { display: block; }

/* ===== Contact ===== */
.section-contact {
  background:
    linear-gradient(120deg, rgba(16, 64, 111, .94), rgba(26, 92, 158, .88)),
    #10406f;
  color: #fff;
}

.section-en.light { color: var(--color-accent); }
.section-title.light { color: #fff; }
.section-title.light::after { background: var(--color-accent); }

.contact-lead {
  color: rgba(255, 255, 255, .9);
  margin-bottom: 28px;
}

.contact-tel {
  display: inline-block;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: .03em;
  margin-bottom: 10px;
}

.contact-tel:hover { opacity: .85; }

.contact-hours {
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
}

/* ===== Footer ===== */
.site-footer {
  background: #0c2a47;
  color: rgba(255, 255, 255, .85);
  padding: 48px 0 28px;
  font-size: 14px;
}

.footer-brand {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.copyright {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .6);
}

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .global-nav { display: none; }
  .header-inner {
    justify-content: space-between;
    gap: 12px;
  }
  .brand {
    gap: 8px;
    font-size: 15px;
    white-space: nowrap;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
  .header-tel { flex-shrink: 0; }
  .tel-label { font-size: 9px; }
  .tel-number { font-size: 15px; }
  .hero { padding: 80px 0 90px; }
  .section { padding: 64px 0; }
  .company-table th { width: 120px; white-space: normal; }
  .company-table th, .company-table td { padding: 14px 14px; }
}
