/* ============ F: タイムライン施工フロー型 ============
 * 構造そのものがA〜Eと違う：縦タイムラインがメイン・透明性訴求
 * 配色：ライトベージュ × ブルーグレー × アクアブルー
 * ============================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #2d3748;
  line-height: 1.85;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  font-weight: 500;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

:root {
  --paper: #fbfaf6;          /* ライトベージュ */
  --paper-deep: #f3f0e8;
  --ink: #2d3748;            /* ブルーグレー */
  --ink-soft: #4a5568;
  --ink-light: #a0aec0;
  --aqua: #38b2ac;           /* アクアブルー */
  --aqua-deep: #2c8c87;
  --aqua-light: #e6f7f6;
  --line: #e2e8f0;
  --warm: #ed8936;           /* 強調アクセント */
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only { display: none; }
@media (max-width: 768px) { .sp-only { display: inline; } }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 21px;
  color: var(--ink);
}
.logo-mark svg {
  width: 28px;
  height: 28px;
  color: var(--aqua);
}
.nav-pc {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}
.nav-pc a { transition: color 0.2s; }
.nav-pc a:hover { color: var(--aqua); }
.header-tel {
  background: var(--aqua);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  font-family: monospace;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.header-tel:hover { background: var(--aqua-deep); transform: translateY(-1px); }
.tel-icon svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(180deg, var(--paper) 0%, #fff 100%);
  padding: 88px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero-tag {
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: 3px;
  margin-bottom: 28px;
  font-weight: 700;
}
.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}
.hero-title .accent {
  color: var(--aqua);
}
.hero-lead {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-soft);
  margin-bottom: 48px;
  font-weight: 500;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 48px;
  font-weight: 900;
  color: var(--aqua);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 8px;
}
.stat-num small {
  font-size: 16px;
  color: var(--ink-soft);
  margin-left: 2px;
}
.stat-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 1px;
}
.hero-cta {
  display: inline-block;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  font-weight: 700;
  letter-spacing: 2px;
  transition: opacity 0.2s;
}
.hero-cta:hover { opacity: 0.6; }

/* ============ SECTION COMMON ============ */
section { padding: 96px 0; }
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 5px;
  font-weight: 900;
  color: var(--aqua);
  background: var(--aqua-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-tag.light {
  background: rgba(56, 178, 172, 0.15);
  color: var(--aqua-light);
}
.section-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-lead {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.95;
  font-weight: 500;
}

/* ============ TIMELINE（メイン） ============ */
.timeline-section {
  background: var(--paper);
}
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 80px;
}
/* 縦線 */
.timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--aqua) 0%, var(--aqua-deep) 100%);
}
.tl-step {
  position: relative;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px dashed var(--line);
}
.tl-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.tl-marker {
  position: absolute;
  left: -80px;
  top: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--aqua);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(56, 178, 172, 0.2);
}
.tl-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--aqua);
  letter-spacing: -1px;
}
.tl-step-highlight .tl-marker {
  background: var(--aqua);
  border-color: var(--aqua);
}
.tl-step-highlight .tl-num { color: #fff; }

.tl-content {
  background: #fff;
  border-radius: 14px;
  padding: 32px 36px;
  border: 1px solid var(--line);
  transition: all 0.25s;
}
.tl-step:hover .tl-content {
  border-color: var(--aqua);
  box-shadow: 0 8px 24px rgba(56, 178, 172, 0.1);
}
.tl-step-highlight .tl-content {
  background: linear-gradient(135deg, var(--aqua-light) 0%, #fff 100%);
  border-color: var(--aqua);
}
.tl-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--aqua-deep);
  margin-bottom: 12px;
}
.tl-content h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.tl-content p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 2;
  margin-bottom: 24px;
  font-weight: 500;
}
.tl-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: var(--paper-deep);
  border-radius: 10px;
  padding: 18px 22px;
}
.tl-meta > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  align-items: baseline;
}
.tl-meta dt {
  font-size: 11px;
  font-weight: 900;
  color: var(--aqua-deep);
  letter-spacing: 1px;
}
.tl-meta dd {
  font-size: 13px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.7;
}

.timeline-cta {
  text-align: center;
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.timeline-cta p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-weight: 500;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
  font-family: inherit;
}
.btn-primary {
  background: var(--aqua);
  color: #fff;
  box-shadow: 0 6px 18px rgba(56, 178, 172, 0.35);
}
.btn-primary:hover {
  background: var(--aqua-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(56, 178, 172, 0.45);
}

/* ============ SERVICES ============ */
.services {
  background: #fff;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--paper);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--line);
  transition: all 0.25s;
}
.service-card:hover {
  border-color: var(--aqua);
  background: #fff;
  transform: translateY(-3px);
}
.service-card h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.service-card p {
  font-size: 14px;
  font-weight: 700;
  color: var(--aqua-deep);
}

/* ============ PRICING ============ */
.pricing {
  background: var(--paper);
}
.pricing-table {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(45, 55, 72, 0.06);
}
.pricing-table th {
  background: var(--ink);
  color: #fff;
  padding: 16px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
}
.pricing-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table td:nth-child(2) {
  font-weight: 900;
  color: var(--aqua-deep);
  white-space: nowrap;
}

/* ============ WORKS ============ */
.works { background: #fff; }
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.work-card {
  background: var(--paper);
  border-radius: 12px;
  padding: 18px;
}
.work-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.work-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #d8d8d8;
  border-radius: 8px;
  overflow: hidden;
}
.work-img img { width: 100%; height: 100%; object-fit: cover; }
.work-img span {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(45, 55, 72, 0.85);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}
.work-info {
  font-size: 14px;
  font-weight: 700;
  padding: 4px 8px;
}

/* ============ CONTACT ============ */
.contact {
  background: var(--ink);
  color: #fff;
}
.contact .section-title { color: #fff; }
.contact .section-lead { color: rgba(255,255,255,0.85); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 36px 32px;
  text-align: center;
}
.contact-phone:hover {
  background: rgba(56, 178, 172, 0.15);
  border-color: var(--aqua);
}
.contact-label {
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.contact-value {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--aqua-light);
  font-family: monospace;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.contact-sub {
  display: block;
  font-size: 13px;
  opacity: 0.7;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}
.form input, .form textarea {
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}
.form input::placeholder, .form textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

/* ============ FOOTER ============ */
.site-footer {
  background: #1a202c;
  color: #fff;
  padding: 48px 0 24px;
  font-size: 13px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
}
.footer-info p { margin-bottom: 6px; opacity: 0.75; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a { opacity: 0.75; font-weight: 700; }
.footer-links a:hover { opacity: 1; color: var(--aqua-light); }
.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  opacity: 0.55;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-pc { display: none; }
  .hero { padding: 56px 0 48px; }
  .hero-title { font-size: 32px; }
  .hero-stats { gap: 32px; }
  .stat-num { font-size: 36px; }
  section { padding: 64px 0; }
  .section-title { font-size: 26px; }
  .timeline { padding-left: 60px; }
  .timeline::before { left: 22px; }
  .tl-marker { width: 48px; height: 48px; left: -60px; }
  .tl-num { font-size: 16px; }
  .tl-content { padding: 22px 22px; }
  .tl-meta { grid-template-columns: 1fr; padding: 14px 16px; }
  .tl-meta > div { grid-template-columns: 70px 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
}
