/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2a5080;
  --primary-dark: #1a3a60;
  --primary-light: #e8f0f8;
  --accent: #c07a2a;
  --accent-light: #fdf3e7;
  --warm: #faf8f5;
  --text: #2d3748;
  --text-light: #718096;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0,0,0,0.07);
  --radius: 14px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text); background: var(--white);
  line-height: 1.8; font-size: 15px;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-warm { background: var(--warm); }

/* ===== Fade In ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Section Header ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; color: var(--primary);
  border-bottom: 2px solid var(--primary); padding-bottom: 4px; margin-bottom: 12px;
}
.section-title { font-size: 26px; font-weight: 700; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 50px;
  font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.2s; border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { background: transparent; color: white; border-color: white; }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-line { background: #06C755; color: white; border-color: #06C755; width: 100%; text-align: center; display: block; }
.btn-line:hover { background: #05a847; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.logo a { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 28px; }
.logo-text strong { display: block; font-size: 16px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.logo-text small { font-size: 10px; color: var(--text-light); }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav ul li a { padding: 8px 12px; font-size: 13px; font-weight: 500; border-radius: 6px; transition: background 0.2s; }
.nav ul li a:hover { background: var(--primary-light); color: var(--primary); }
.nav-btn { background: var(--primary) !important; color: white !important; border-radius: 50px !important; }
.nav-btn:hover { background: var(--primary-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(150deg, #0d2340 0%, #1a3a60 30%, #2a5080 65%, #4a7aaa 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 100px 24px 60px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: -120px; left: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,122,42,0.2) 0%, transparent 70%);
}
.hero-deco1 {
  position: absolute; top: 20%; left: 5%;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.hero-deco2 {
  position: absolute; bottom: 15%; right: 8%;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(192,122,42,0.12); border: 1px solid rgba(192,122,42,0.2);
}
.hero-deco3 {
  position: absolute; top: 10%; left: 40%;
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.hero-tag {
  display: inline-block; background: rgba(192,122,42,0.35);
  color: white; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 20px;
  border: 1px solid rgba(192,122,42,0.5);
}
.hero-title {
  font-size: clamp(28px, 5vw, 52px); font-weight: 700;
  color: white; line-height: 1.45; margin-bottom: 20px;
}
.hero-desc { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 2.1; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  display: flex; align-items: center; gap: 0;
  margin-top: 52px; background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px; padding: 20px 40px;
}
.badge { text-align: center; padding: 0 24px; }
.badge-num { font-size: 28px; font-weight: 700; color: white; }
.badge span:nth-child(2) { font-size: 14px; color: rgba(255,255,255,0.85); }
.badge-sub { display: block; font-size: 11px; color: rgba(255,255,255,0.65); margin-top: 2px; }
.badge-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }

/* ===== Trouble ===== */
.trouble-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px;
}
.trouble-item {
  background: white; border-radius: var(--radius); padding: 28px 20px;
  text-align: center; box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.trouble-icon { font-size: 36px; margin-bottom: 12px; }
.trouble-item p { font-size: 14px; line-height: 1.9; }
.trouble-item strong { color: var(--primary); }
.trouble-cta { text-align: center; }
.trouble-cta p { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--primary-dark); }

/* ===== Service ===== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: white; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); position: relative; transition: transform 0.2s;
  border-top: 3px solid var(--border);
}
.service-card:hover { transform: translateY(-4px); }
.service-card.featured { border-top: 3px solid var(--accent); }
.featured-badge {
  position: absolute; top: -12px; left: 20px;
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 50px;
}
.service-icon { font-size: 32px; margin-bottom: 12px; }
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--primary-dark); }
.service-card > p { font-size: 13px; color: var(--text-light); line-height: 1.8; margin-bottom: 14px; }
.service-list { display: flex; flex-direction: column; gap: 6px; }
.service-list li { font-size: 12px; color: var(--text); display: flex; align-items: center; gap: 6px; }
.service-list li::before { content: '✔'; color: var(--primary); font-weight: 700; font-size: 11px; flex-shrink: 0; }

/* ===== Works ===== */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 20px; }
.work-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.2s;
}
.work-card:hover { transform: translateY(-4px); }
.work-photo {
  background: var(--primary-light); height: 180px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.work-photo-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-light); }
.work-photo-icon { font-size: 48px; }
.work-photo-label { font-size: 12px; }
.work-tag-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: white;
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 50px;
}
.work-tag-badge.tag-reform { background: var(--accent); }
.work-tag-badge.tag-zoukai { background: #5a7a2a; }
.work-info { padding: 20px 22px; }
.work-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--primary-dark); }
.work-info p { font-size: 13px; color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }
.work-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.work-meta span { font-size: 12px; color: var(--text-light); }
.works-more { text-align: center; padding-top: 8px; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 56px; }
.about-image .image-placeholder {
  background: var(--primary-light); border-radius: var(--radius);
  aspect-ratio: 4/3; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--text-light); gap: 8px;
  border: 2px dashed var(--border);
}
.img-icon { font-size: 48px; }
.about-text h3 { font-size: 22px; font-weight: 700; line-height: 1.6; margin-bottom: 16px; color: var(--primary-dark); }
.about-text p { color: var(--text-light); line-height: 1.9; margin-bottom: 12px; }
.about-features { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.about-features li { font-size: 14px; font-weight: 500; color: var(--primary-dark); }

/* 強み */
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strength-card {
  background: var(--primary-light); border-radius: var(--radius);
  padding: 28px 24px; border-top: 3px solid var(--primary);
}
.strength-num {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--primary); margin-bottom: 8px;
}
.strength-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--primary-dark); }
.strength-card p { font-size: 13px; color: var(--text-light); line-height: 1.8; }

/* ===== Voice ===== */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice-card { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.voice-stars { color: #f6a623; font-size: 14px; margin-bottom: 12px; }
.voice-text { font-size: 13px; color: var(--text); line-height: 1.9; margin-bottom: 16px; font-style: italic; }
.voice-profile { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--border); padding-top: 12px; }
.voice-avatar { font-size: 28px; }
.voice-name { font-size: 13px; font-weight: 700; }
.voice-menu { font-size: 11px; color: var(--text-light); }

/* ===== Flow ===== */
.flow-steps { display: flex; align-items: flex-start; gap: 0; }
.flow-step {
  flex: 1; background: white; border-radius: var(--radius);
  padding: 28px 20px; box-shadow: var(--shadow); text-align: center;
}
.flow-arrow { font-size: 20px; color: var(--primary); display: flex; align-items: center; padding: 0 8px; flex-shrink: 0; margin-top: 32px; }
.flow-num { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--primary); margin-bottom: 8px; }
.flow-icon { font-size: 32px; margin-bottom: 10px; }
.flow-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--primary-dark); }
.flow-step p { font-size: 12px; color: var(--text-light); line-height: 1.8; }

/* ===== Access ===== */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.access-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.access-table th, .access-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: top; }
.access-table th { font-weight: 700; color: var(--primary); white-space: nowrap; width: 80px; }
.access-table a { color: var(--primary); font-weight: 700; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 8px 6px; border: 1px solid var(--border); text-align: center; font-size: 12px; }
.hours-table thead th { background: var(--primary); color: white; font-weight: 700; }
.hours-table thead th:first-child { background: white; color: var(--text); }
.time-col { font-size: 11px; line-height: 1.5; white-space: nowrap; font-weight: 700; background: var(--warm); }
.hours-note { font-size: 11px; color: var(--text-light); margin-top: 8px; }

/* ===== Contact ===== */
.contact-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 36px; }
.contact-card { background: var(--warm); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--border); }
.contact-icon { font-size: 36px; margin-bottom: 12px; }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--primary-dark); }
.contact-card p { font-size: 12px; color: var(--text-light); margin-top: 10px; }
.phone-num { display: block; font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.contact-form-box { background: var(--warm); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-form-box h3 { font-size: 17px; font-weight: 700; margin-bottom: 24px; color: var(--primary-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.req { background: var(--primary); color: white; font-size: 10px; padding: 2px 6px; border-radius: 4px; margin-left: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 14px; background: white;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(42,80,128,0.12);
}
.btn-submit { width: 100%; padding: 16px; font-size: 16px; border: none; }
.form-thanks {
  display: none; text-align: center; padding: 20px;
  background: var(--primary-light); border-radius: 8px; margin-top: 16px;
  color: var(--primary-dark); font-weight: 700;
}

/* ===== Footer ===== */
.footer { background: #0d2340; padding: 44px 0 24px; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 24px; }
.footer-logo strong { display: block; color: white; font-size: 15px; }
.footer-logo small { color: rgba(255,255,255,0.5); font-size: 11px; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.65); }
.footer-nav a:hover { color: white; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.8; }

/* ===== Mobile CTA ===== */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: white; box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 10px 16px; gap: 10px;
}
.cta-tel, .cta-web {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 12px; border-radius: 8px; font-size: 14px; font-weight: 700; gap: 6px;
}
.cta-tel { background: var(--primary); color: white; }
.cta-web { background: var(--accent); color: white; }

/* ===== Back to Top ===== */
.back-to-top {
  display: none; position: fixed; bottom: 80px; right: 20px; z-index: 90;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: white; border: none; cursor: pointer;
  font-size: 13px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: white; flex-direction: column; padding: 28px 24px; z-index: 200; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul li a { display: block; padding: 14px; font-size: 16px; border-radius: 8px; }
  .hamburger { display: flex; }
  .hero-badges { flex-direction: row; gap: 0; padding: 14px 20px; }
  .badge { padding: 0 12px; }
  .badge-num { font-size: 20px; }
  .trouble-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .strength-grid { grid-template-columns: 1fr; gap: 16px; }
  .voice-grid { grid-template-columns: 1fr; }
  .flow-steps { flex-direction: column; gap: 12px; }
  .flow-arrow { transform: rotate(90deg); margin: 0 auto; }
  .access-grid { grid-template-columns: 1fr; }
  .contact-methods { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  .section { padding: 56px 0; }
}
