/* ========================================
   DoAI SEO Lab - LP Prototype
   白基調 / ブルー系CTA / ダイナミック演出
   ======================================== */

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

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

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: 1.9;
  color: #222;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.underline {
  background: linear-gradient(transparent 60%, #dbeafe 60%);
  font-weight: 700;
}

.sp-only {
  display: none;
}

/* ---------- Scroll Animation ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
  padding: 18px 48px;
  font-size: 17px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45);
  transform: translateY(-3px);
}

.btn-large {
  padding: 26px 72px;
  font-size: 20px;
  border-radius: 12px;
}

.btn-header {
  background: #2563eb;
  color: #fff;
  padding: 11px 28px;
  font-size: 14px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-header:hover {
  background: #1d4ed8;
}

.btn-submit {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: block;
  font-size: 18px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 0;
}

.nav-list a {
  display: block;
  padding: 8px 22px;
  font-size: 15px;
  font-weight: 500;
  color: #444;
  transition: color 0.2s;
}

.nav-list a:hover {
  color: #2563eb;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

.hamburger.active span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding: 200px 0 140px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #93c5fd;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  padding: 8px 24px;
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-title {
  font-size: 49px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}

.hero-accent {
  color: #60a5fa;
  font-size: 61px;
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 48px;
  line-height: 1.8;
}

/* ---------- Hero (Image Version) ---------- */
.hero-image {
  padding-top: 76px;
  background: #0f172a;
  text-align: center;
}

.hero-image-main {
  width: 100%;
  height: auto;
  display: block;
}

.hero-image-cta {
  padding: 56px 0;
  background: linear-gradient(180deg, #0f172a 0%, #1e3a5f 40%, #1e40af 100%);
}

/* ---------- Section Common ---------- */
.section-title {
  font-size: 37px;
  font-weight: 700;
  text-align: center;
  color: #1a1a2e;
  margin-bottom: 20px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.section-lead {
  text-align: center;
  color: #555;
  margin-bottom: 56px;
  font-size: 18px;
  line-height: 1.9;
}

.section-cta {
  text-align: center;
  margin-top: 56px;
}

/* ---------- Problems ---------- */
.problems {
  padding: 120px 0;
  background: #fff;
}

.problems .section-title {
  margin-bottom: 56px;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.problem-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.problem-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  transform: translateY(-4px);
}

.problem-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.problem-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.problem-text {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}

.problem-text strong {
  color: #1a1a2e;
  font-weight: 700;
}

.problems-message {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  line-height: 2.1;
  color: #333;
}

.problems-message p {
  margin-bottom: 20px;
}

.problems-message p:last-child {
  margin-bottom: 0;
}

/* ---------- Philosophy ---------- */
.philosophy {
  padding: 120px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}

.philosophy .section-title {
  font-size: 41px;
  margin-bottom: 56px;
  color: #fff;
}

.philosophy-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 19px;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.85);
}

.philosophy-body strong {
  color: #fff;
}

.philosophy .underline {
  background: linear-gradient(transparent 60%, rgba(96, 165, 250, 0.3) 60%);
  color: #fff;
}

.philosophy-body p {
  margin-bottom: 28px;
}

.philosophy-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Direction ---------- */
.direction {
  padding: 80px 0;
  background: #f0f7ff;
  text-align: center;
}

.direction .section-title {
  font-size: 36px;
  margin-bottom: 32px;
  color: #0f172a;
}

.direction .section-title .quote {
  color: #1e40af;
}

.direction-body {
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 2.1;
  color: #334155;
}

.direction-body p {
  margin-bottom: 20px;
}

.direction-body p:last-child {
  margin-bottom: 0;
}

.direction .underline {
  background: linear-gradient(transparent 60%, rgba(59, 130, 246, 0.25) 60%);
  color: #0f172a;
}

.direction .emphasis {
  font-weight: 700;
  color: #1e40af;
}

/* ---------- Services ---------- */
.services {
  padding: 120px 0;
  background: #fff;
}

.services .section-title {
  margin-bottom: 12px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-bottom: 48px;
}

.service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #2563eb;
  border-radius: 20px;
  padding: 48px 36px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.service-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  background: #eff6ff;
  padding: 6px 16px;
  border-radius: 20px;
}

.service-name {
  font-size: 27px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.service-price {
  font-size: 18px;
  color: #333;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: #f8fafc;
  border-radius: 12px;
}

.price-num {
  font-size: 43px;
  font-weight: 700;
  color: #2563eb;
}

.price-tax {
  font-size: 14px;
  color: #888;
  margin-left: 4px;
}

.service-desc {
  font-size: 17px;
  color: #444;
  margin-bottom: 28px;
  line-height: 1.8;
}

.service-features {
  list-style: none;
}

.service-features li {
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}

.service-features li:last-child {
  border-bottom: none;
}

.feature-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
  padding-left: 28px;
  position: relative;
}

.feature-title::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2563eb;
  font-weight: 700;
  font-size: 16px;
}

.feature-desc {
  display: block;
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

.service-note {
  text-align: center;
  background: #eff6ff;
  border-radius: 14px;
  padding: 32px 36px;
  font-size: 17px;
  color: #333;
  line-height: 1.9;
}

/* ---------- Profile ---------- */
.profile {
  padding: 120px 0;
  background: #f8fafc;
}

.profile .section-title {
  font-size: 34px;
  margin-bottom: 56px;
}

.profile-content {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 96px;
}

.profile-photo {
  flex-shrink: 0;
  width: 220px;
}

.profile-img {
  width: 220px;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.profile-text {
  flex: 1;
  font-size: 19px;
  line-height: 2.2;
  color: #333;
}

.profile-text p {
  margin-bottom: 24px;
}

.profile-text p:last-child {
  margin-bottom: 0;
}

.reasons-title {
  font-size: 29px;
  font-weight: 700;
  text-align: center;
  color: #1a1a2e;
  margin-bottom: 48px;
}

.reason-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.reason-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.reason-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.reason-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.reason-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reason-num {
  font-size: 40px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 16px;
  line-height: 1;
}

.reason-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
}

.reason-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

/* ---------- Flow ---------- */
.flow {
  padding: 120px 0;
  background: #fff;
}

.flow .section-title {
  margin-bottom: 64px;
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.flow-step {
  flex: 1;
  max-width: 220px;
  text-align: center;
}

.step-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding: 6px 20px;
  border: 1px solid #93c5fd;
  border-radius: 100px;
  background: #eff6ff;
}

.flow-step h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
}

.flow-step p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

.flow-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 2px;
  background: #cbd5e1;
  margin-top: 26px;
  position: relative;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -5px;
  width: 0;
  height: 0;
  border-left: 10px solid #cbd5e1;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 120px 0;
  background: #f8fafc;
}

.faq .section-title {
  margin-bottom: 56px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.faq-question {
  padding: 24px 28px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 60px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: #2563eb;
  transition: transform 0.2s;
}

details[open] .faq-question::after {
  content: "\2212";
}

.faq-answer {
  padding: 0 28px 24px;
  font-size: 17px;
  color: #444;
  line-height: 1.9;
}

/* ---------- Contact ---------- */
.contact {
  padding: 120px 0;
  background: #fff;
}

.contact .section-title {
  margin-bottom: 16px;
}

.contact-lead {
  text-align: center;
  color: #555;
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 56px;
}

.contact-form {
  max-width: 580px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.required {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #ef4444;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  font-size: 17px;
  font-family: "Noto Sans JP", sans-serif;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #f9fafb;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-privacy {
  margin-bottom: 36px;
  font-size: 16px;
  color: #444;
  text-align: center;
}

.form-privacy input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
}

.form-privacy a {
  color: #2563eb;
  text-decoration: underline;
}

/* ---------- Company Profile ---------- */
.company-hero {
  padding-top: 76px;
  background: #0f172a;
  position: relative;
  overflow: hidden;
}

.company-hero-image-wrap {
  position: relative;
  width: 100%;
  height: 56vh;
  min-height: 420px;
  max-height: 620px;
  overflow: hidden;
}

.company-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.company-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.55) 50%, rgba(15, 23, 42, 0.92) 100%);
  padding: 140px 32px 56px;
  text-align: center;
  color: #fff;
}

.company-hero-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #93c5fd;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  padding: 6px 20px;
  border: 1px solid rgba(147, 197, 253, 0.4);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
}

.company-hero-overlay h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.company-hero-overlay p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
}

/* Story (philosophy的な語り口) */
.company-story {
  padding: 120px 0;
  background: #fff;
}

.company-story .container {
  max-width: 720px;
}

.company-story .section-title {
  margin-bottom: 56px;
}

.company-story-body {
  font-size: 19px;
  line-height: 2.2;
  color: #333;
}

.company-story-body p {
  margin-bottom: 28px;
}

.company-story-body p:last-child {
  margin-bottom: 0;
}

.company-story-body strong {
  color: #1a1a2e;
  font-weight: 700;
}

/* Numbers (3つの数字) */
.company-numbers {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}

.company-numbers .section-title {
  color: #fff;
  margin-bottom: 56px;
}

.company-numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.company-number-item {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.company-number-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.company-number-figure {
  font-size: 60px;
  font-weight: 700;
  color: #60a5fa;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.company-number-unit {
  font-size: 20px;
  color: #93c5fd;
  margin-left: 4px;
  font-weight: 500;
}

.company-number-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* Message (代表メッセージ) */
.company-message {
  padding: 120px 0;
  background: #f8fafc;
}

.company-message .container {
  max-width: 720px;
}

.company-message .section-title {
  margin-bottom: 48px;
}

.company-message-body {
  font-size: 18px;
  line-height: 2.1;
  color: #333;
}

.company-message-body p {
  margin-bottom: 22px;
}

.company-message-body p:last-child {
  margin-bottom: 0;
}

.company-message-body strong {
  color: #1a1a2e;
  font-weight: 700;
}

.company-message-sign {
  text-align: right;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 40px;
  letter-spacing: 0.02em;
}

.company-message-sign .sign-name {
  font-size: 22px;
  display: inline-block;
  margin-left: 8px;
}

/* Info table */
.company-info {
  padding: 120px 0;
  background: #fff;
}

.company-info .container {
  max-width: 820px;
}

.company-info .section-title {
  margin-bottom: 56px;
}

.company-info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #e2e8f0;
}

.company-info-table th,
.company-info-table td {
  padding: 22px 24px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  font-size: 16px;
  line-height: 1.75;
  vertical-align: top;
}

.company-info-table th {
  width: 200px;
  font-weight: 700;
  color: #1a1a2e;
  background: #f8fafc;
  letter-spacing: 0.02em;
}

.company-info-table td {
  color: #333;
}

.company-info-table td a {
  color: #2563eb;
  text-decoration: underline;
  word-break: break-all;
}

.company-info-table td a:hover {
  color: #1d4ed8;
}

/* CTA */
.company-cta {
  padding: 100px 0;
  background: #f0f7ff;
  text-align: center;
}

.company-cta h2 {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.company-cta p {
  font-size: 17px;
  color: #555;
  margin-bottom: 36px;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .company-hero-image-wrap {
    height: 44vh;
    min-height: 300px;
  }

  .company-hero-overlay {
    padding: 80px 20px 36px;
  }

  .company-hero-overlay h1 {
    font-size: 24px;
  }

  .company-hero-overlay p {
    font-size: 14px;
  }

  .company-hero-label {
    font-size: 11px;
    padding: 5px 14px;
    margin-bottom: 14px;
  }

  .company-story {
    padding: 80px 0;
  }

  .company-story-body {
    font-size: 16px;
  }

  .company-numbers {
    padding: 70px 0;
  }

  .company-numbers-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .company-number-item {
    padding: 32px 24px;
  }

  .company-number-figure {
    font-size: 48px;
  }

  .company-number-unit {
    font-size: 18px;
  }

  .company-message {
    padding: 80px 0;
  }

  .company-message-body {
    font-size: 16px;
  }

  .company-message-sign {
    text-align: left;
    margin-top: 32px;
  }

  .company-message-sign .sign-name {
    font-size: 19px;
  }

  .company-info {
    padding: 80px 0;
  }

  .company-info-table {
    border-top: none;
  }

  .company-info-table th,
  .company-info-table td {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border-bottom: none;
  }

  .company-info-table th {
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 14px;
  }

  .company-info-table td {
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
  }

  .company-cta {
    padding: 70px 0;
  }

  .company-cta h2 {
    font-size: 22px;
  }

  .company-cta p {
    font-size: 15px;
  }
}

/* ---------- Legal Pages (Privacy Policy / Terms) ---------- */
.legal-hero {
  padding: 140px 0 60px;
  background: #f8fafc;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.legal-hero h1 {
  font-size: 38px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.legal-hero .legal-meta {
  font-size: 14px;
  color: #64748b;
  letter-spacing: 0.04em;
}

.legal-content {
  padding: 80px 0 100px;
  background: #fff;
}

.legal-content .container {
  max-width: 820px;
}

.legal-intro {
  font-size: 17px;
  line-height: 1.95;
  color: #333;
  margin-bottom: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid #e2e8f0;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 21px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  padding-left: 18px;
  border-left: 4px solid #2563eb;
  line-height: 1.5;
}

.legal-section p {
  font-size: 16px;
  line-height: 1.95;
  color: #333;
  margin-bottom: 16px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.legal-section ul li {
  font-size: 16px;
  line-height: 1.85;
  color: #333;
  padding: 6px 0 6px 22px;
  position: relative;
}

.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  width: 6px;
  height: 6px;
  background: #2563eb;
  border-radius: 50%;
}

.legal-contact {
  background: #f8fafc;
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 14px;
}

.legal-contact p {
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 4px;
  color: #333;
}

.legal-contact p:last-child {
  margin-bottom: 0;
}

.legal-back {
  text-align: center;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}

.legal-back a {
  display: inline-block;
  font-size: 15px;
  color: #2563eb;
  font-weight: 700;
  padding: 10px 24px;
  border: 1px solid #93c5fd;
  border-radius: 100px;
  background: #eff6ff;
  transition: all 0.2s;
}

.legal-back a:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 110px 0 40px;
  }

  .legal-hero h1 {
    font-size: 26px;
  }

  .legal-content {
    padding: 56px 0 72px;
  }

  .legal-intro {
    font-size: 15px;
    margin-bottom: 40px;
    padding-bottom: 28px;
  }

  .legal-section {
    margin-bottom: 36px;
  }

  .legal-section h2 {
    font-size: 18px;
    padding-left: 14px;
    border-left-width: 3px;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 15px;
  }

  .legal-contact {
    padding: 22px 24px;
  }

  .legal-contact p {
    font-size: 14px;
  }

  .legal-back {
    margin-top: 48px;
    padding-top: 32px;
  }
}

/* ---------- Thanks Page ---------- */
.thanks-hero {
  padding: 140px 0 60px;
  background: #f8fafc;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.thanks-icon {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
}

.thanks-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 24px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.thanks-lead {
  font-size: 18px;
  color: #555;
  line-height: 1.9;
}

.thanks-content {
  padding: 80px 0 100px;
  background: #fff;
}

.thanks-content .container {
  max-width: 640px;
}

.thanks-message {
  font-size: 16px;
  line-height: 2.0;
  color: #333;
  text-align: center;
  margin-bottom: 56px;
}

.thanks-message p {
  margin-bottom: 16px;
}

.thanks-message p:last-child {
  margin-bottom: 0;
}

.thanks-action {
  text-align: center;
}

@media (max-width: 768px) {
  .thanks-hero {
    padding: 110px 0 40px;
  }

  .thanks-icon svg {
    width: 52px;
    height: 52px;
  }

  .thanks-title {
    font-size: 24px;
  }

  .thanks-lead {
    font-size: 16px;
  }

  .thanks-content {
    padding: 56px 0 72px;
  }

  .thanks-message {
    font-size: 15px;
    text-align: left;
    margin-bottom: 40px;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-company {
  font-size: 14px;
  margin-bottom: 4px;
}

.footer-rep {
  font-size: 14px;
}

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

.footer-links a {
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.2s;
}

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

.copyright {
  text-align: center;
  font-size: 12px;
  color: #475569;
  padding-top: 28px;
  border-top: 1px solid #1e293b;
}

/* ========================================
   Responsive
   ======================================== */

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

  /* Header */
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
  }

  .nav-list a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid #f1f5f9;
  }

  .btn-header {
    text-align: center;
    padding: 14px;
    font-size: 16px;
  }

  .hamburger {
    display: block;
  }

  /* Hero */
  .hero {
    padding: 140px 0 100px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-accent {
    font-size: 38px;
  }

  .hero-sub {
    font-size: 16px;
  }

  /* Section Common */
  .section-title {
    font-size: 26px;
  }

  /* Problems */
  .problems {
    padding: 80px 0;
  }

  .problem-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .problem-card {
    padding: 24px 20px;
  }

  .problems-message {
    font-size: 16px;
    text-align: left;
  }

  /* Philosophy */
  .philosophy {
    padding: 80px 0;
  }

  .philosophy .section-title {
    font-size: 28px;
  }

  .philosophy-body {
    font-size: 16px;
  }

  /* Direction */
  .direction {
    padding: 60px 0;
  }

  .direction .section-title {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .direction-body {
    font-size: 16px;
    line-height: 2.0;
    text-align: left;
    padding: 0 4px;
  }

  /* Services */
  .services {
    padding: 80px 0;
  }

  .service-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    padding: 36px 28px;
  }

  .service-name {
    font-size: 22px;
  }

  .price-num {
    font-size: 34px;
  }

  /* Profile */
  .profile {
    padding: 80px 0;
  }

  .profile .section-title {
    font-size: 26px;
  }

  .profile-content {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .profile-photo {
    width: 180px;
  }

  .profile-img {
    width: 180px;
  }

  .profile-text {
    font-size: 16px;
  }

  .reason-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reason-card {
    padding: 32px 24px;
  }

  /* Flow */
  .flow {
    padding: 80px 0;
  }

  .flow-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .flow-step {
    max-width: 100%;
    width: 100%;
    padding: 0 16px;
  }

  .flow-arrow {
    width: 2px;
    height: 36px;
    margin: 10px auto;
  }

  .flow-arrow::after {
    right: auto;
    left: -5px;
    top: auto;
    bottom: -1px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid #cbd5e1;
  }

  /* FAQ */
  .faq {
    padding: 80px 0;
  }

  .faq-question {
    font-size: 15px;
    padding: 20px 24px;
    padding-right: 52px;
  }

  /* Contact */
  .contact {
    padding: 80px 0;
  }

  .contact-lead {
    text-align: left;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 28px;
  }

  .footer-links {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-accent {
    font-size: 32px;
  }

  .section-title {
    font-size: 23px;
  }

  .btn-large {
    padding: 18px 36px;
    font-size: 16px;
    width: 100%;
  }
}
