﻿/* ===== DESIGN 15: BOLD NUMBERS ===== */
/* design05ベース — 大きな数字・ゆとりあるスペース / Work Sans */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --charcoal: #2c3e50;
  --blue: #3498db;
  --blue-pale: #eaf4fb;
  --text: #2c3e50;
  --text-muted: #7f8c8d;
  --bg: #ffffff;
  --bg2: #f8f9fa;
  --bg3: #f0f3f7;
  --border: #dee3eb;
}

body {
  font-family: 'Work Sans', 'Noto Sans JP', system-ui, sans-serif;
  font-size: 15px; line-height: 1.8; color: var(--text); background: var(--bg);
}

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

.design-badge {
  position: fixed; bottom: 16px; right: 16px; z-index: 9999;
  background: var(--charcoal); padding: 6px 14px; font-size: 0.65rem;
  letter-spacing: 0.1em; color: #fff; display: flex; gap: 16px; align-items: center;
}
.design-badge a { color: #95a5b8; text-decoration: none; }
.design-badge a:hover { color: #fff; }

/* Header */
#header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
#header .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo {
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--charcoal); text-decoration: none;
}
nav { display: flex; gap: 0; }
nav a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em;
  padding: 6px 16px;
}
nav a:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
#hero {
  height: 65vh; min-height: 420px;
  background: url('../img/hero.png') center/cover no-repeat;
  display: flex; align-items: center; justify-content: flex-start;
  position: relative; border-bottom: 1px solid var(--border);
}
.hero-content { max-width: 700px; padding: 0 40px 0 60px; }
.hero-content::before {
  content: '';
  display: block; width: 48px; height: 4px;
  background: var(--blue); margin-bottom: 28px;
}
.hero-content h1 {
  font-size: 2.5rem; font-weight: 300; line-height: 1.35;
  color: #ffffff; margin-bottom: 24px; letter-spacing: -0.02em;
}
.hero-content h1 strong { font-weight: 600; }
@media (min-width: 769px) { .nowrap { white-space: nowrap; } }
.hero-content p { font-size: 0.82rem; color: rgba(255,255,255,0.75); letter-spacing: 0.08em; }

/* Section */
section { padding: 96px 0; }
section:nth-child(even) { background: var(--bg2); }
.section-label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.25em; color: var(--blue); margin-bottom: 8px; }
.section-title {
  font-size: 1.7rem; font-weight: 300; color: var(--charcoal);
  margin-bottom: 48px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px;
}
.section-title::before {
  content: ''; display: inline-block;
  width: 4px; height: 28px; background: var(--blue); flex-shrink: 0;
}

/* Message */
.message-grid { display: grid; grid-template-columns: 1fr 240px; gap: 64px; align-items: start; }
.message-text h3 { font-size: 1.2rem; font-weight: 500; color: var(--charcoal); margin-bottom: 20px; line-height: 1.6; }
.message-text p { color: var(--text-muted); margin-bottom: 16px; font-weight: 300; }
.message-photo { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.img-placeholder {
  width: 100%; height: 290px;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: #bbb; font-size: 0.75rem; letter-spacing: 0.1em;
}
.signature { font-size: 0.82rem; color: var(--text-muted); text-align: center; line-height: 1.7; }
.signature strong { color: var(--charcoal); }

/* Strengths */
.strengths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strength-card {
  background: var(--bg); border: 1px solid var(--border); padding: 40px 28px 0;
  position: relative;
}
.strength-number {
  font-size: 5.5rem; font-weight: 200; color: var(--blue);
  opacity: 0.12; line-height: 0.9; margin-bottom: 24px;
  font-variant-numeric: tabular-nums; letter-spacing: -0.04em;
}
.strength-card h3 { font-size: 1rem; font-weight: 500; color: var(--charcoal); margin-bottom: 14px; line-height: 1.55; }
.strength-card p { font-size: 0.87rem; color: var(--text-muted); font-weight: 300; line-height: 1.8; }
.strength-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: transparent;
}
.strength-card:hover::after { background: var(--blue); }

/* Strength image */
.strength-img {
  margin-top: 24px;
  margin-left: -28px;
  margin-right: -28px;
  margin-bottom: 0;
  height: 160px;
  overflow: hidden;
  background: var(--bg3);
  border-top: 1px solid var(--border);
}
.strength-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Services */
.services-wrapper { }
.service-block { padding: 40px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.service-block:last-child { border-bottom: none; }
.service-block h3 { font-size: 1.05rem; font-weight: 500; color: var(--charcoal); padding-top: 2px; }
.service-block ul { list-style: none; }
.service-block ul li {
  font-size: 0.88rem; color: var(--text-muted);
  padding: 8px 0 8px 16px; position: relative;
  border-bottom: 1px solid var(--border); font-weight: 300;
}
.service-block ul li:last-child { border-bottom: none; }
.service-block ul li::before { content: "—"; position: absolute; left: 0; color: var(--blue); }

/* Services more link */
.services-more { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); text-align: right; }
.services-more-link {
  display: inline-block; color: var(--blue); text-decoration: none;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em;
}
.services-more-link:hover { color: var(--charcoal); }

/* Company */
.company-table-wrap { overflow-x: auto; }
.company-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.company-table th, .company-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); vertical-align: top; text-align: left; }
.company-table th { color: var(--charcoal); font-weight: 500; width: 260px; white-space: nowrap; background: none; }
.company-table td { color: var(--text-muted); font-weight: 300; }
.company-table tr:first-child th, .company-table tr:first-child td { border-top: 1px solid var(--border); }

/* Contact */
.contact-lead { color: var(--text-muted); margin-bottom: 28px; max-width: 600px; font-weight: 300; line-height: 1.8; }
.contact-email {
  display: inline-block; font-size: 0.87rem;
  padding: 12px 18px; background: var(--blue-pale);
  border: 1px solid var(--border); color: var(--text); margin-bottom: 36px;
}
.contact-email a { color: var(--blue); text-decoration: none; font-weight: 600; }
.contact-form { max-width: 600px; padding: 40px; background: var(--bg2); border: 1px solid var(--border); }
.contact-form h3 { font-size: 1rem; font-weight: 500; color: var(--charcoal); margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.72rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.1em; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text); font-family: inherit; font-size: 0.88rem; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 2px solid var(--blue); background: #fff; }
.form-group textarea { height: 130px; resize: vertical; }
.btn-submit {
  padding: 14px 48px; background: var(--charcoal); color: #fff;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; border: none; cursor: pointer;
}
.btn-submit:hover { background: var(--blue); }

/* Footer */
#footer { background: var(--charcoal); }

.footer-nav-wrap {
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}

.footer-nav a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 4px 28px 4px 0;
  transition: color 0.2s;
}

.footer-nav a:hover { color: #fff; }

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer-legal {
  display: flex;
  gap: 28px;
}

.footer-legal a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.65); }

.footer-copy {
  color: rgba(255,255,255,0.3);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

@media (max-width: 600px) {
  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Contact 2-column layout */
#contact .container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  column-gap: 64px;
  align-items: start;
}
#contact .section-label,
#contact .section-title { grid-column: 1 / -1; }
.contact-lead { max-width: none; }
.contact-form { grid-column: 2; grid-row: 3 / span 2; max-width: none; }

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  #header .container { height: 56px; }
  .nav-toggle { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 8px 0;
    z-index: 99;
  }
  nav.open { display: flex; }
  nav a { padding: 12px 24px; font-size: 0.78rem; }
  #contact .container { display: block; }
  .contact-form { grid-column: auto; grid-row: auto; }
  .hero-content { padding: 0 24px; }
  .hero-content h1 { font-size: 1.8rem; }
  section { padding: 64px 0; }
  .message-grid { grid-template-columns: 1fr; }
  .message-photo { flex-direction: row; }
  .img-placeholder { width: 160px; height: 200px; flex-shrink: 0; }
  .strengths-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 16px; }
  .contact-form { padding: 28px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  #hero { height: auto; padding: 60px 0; }
  .hero-content h1 { font-size: 1.5rem; }
  section { padding: 52px 0; }
  .message-photo { flex-direction: column; }
  .img-placeholder { width: 100%; height: 200px; }
  .company-table, .company-table tbody, .company-table tr, .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { border-bottom: none; }
  .btn-submit { width: 100%; }
}

/* フォーム バリデーション */
.field-error {
  display: none;
  color: #cc3333;
  font-size: 0.8rem;
  margin-top: 6px;
}
.form-privacy .field-error { margin-top: 4px; }
