/* ===================================
   三鷹記帳代行センター - Stylesheet
   =================================== */

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

:root {
  --color-primary: #1a4a7a;
  --color-primary-light: #2a6aaa;
  --color-primary-dark: #0e2e50;
  --color-accent: #e8963a;
  --color-accent-light: #f0ad5a;
  --color-bg: #f8f9fc;
  --color-bg-alt: #eef1f6;
  --color-text: #2d2d2d;
  --color-text-light: #5a5a5a;
  --color-text-muted: #8a8a8a;
  --color-white: #ffffff;
  --color-border: #ddd;
  --color-border-light: #e8eaf0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s, opacity 0.3s;
}

a:hover {
  color: var(--color-primary-light);
}

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

.sp-only { display: none; }
.pc-only { display: inline; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
  height: var(--header-height);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.05em;
}

.logo-sub {
  font-size: 10px;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  padding: 6px 0;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-external {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  color: var(--color-accent) !important;
  font-weight: 500 !important;
  border: 1px solid var(--color-accent);
  padding: 6px 16px !important;
  border-radius: var(--radius-sm);
  font-size: 13px !important;
  transition: all 0.3s !important;
}

.nav-external:hover {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
}

.nav-external::after { display: none !important; }

.nav-cta {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm);
  font-weight: 500 !important;
  transition: background 0.3s !important;
}

.nav-cta:hover {
  background: var(--color-primary-light) !important;
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-full { width: 100%; }

.btn-large {
  padding: 18px 40px;
  font-size: 17px;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0e2e50 0%, #1a4a7a 40%, #2a5a90 100%);
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232, 150, 58, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="p" patternUnits="userSpaceOnUse" width="40" height="40"><path d="M0 20h40M20 0v40" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect fill="url(%23p)" width="100" height="100"/></svg>');
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 28px;
  border-radius: 30px;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 12px rgba(232, 150, 58, 0.3);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.6;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.9;
}

.hero-subtitle strong {
  color: var(--color-white);
}

.hero-subtitle .accent {
  color: var(--color-accent-light);
}

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

.hero-actions .btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 700;
}

.hero-actions .btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
}

.hero-actions .btn-outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
  color: var(--color-white);
}

/* --- Section Common --- */
section {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--color-primary-dark);
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.section-title .accent { color: var(--color-accent); }

.section-lead {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 48px;
  font-size: 15px;
}

/* --- Worries --- */
.worries {
  background: var(--color-white);
}

.worries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.worry-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--color-border-light);
  transition: transform 0.3s, box-shadow 0.3s;
}

.worry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.worry-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--color-primary);
}

.worry-icon svg { width: 100%; height: 100%; }

.worry-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
}

.worry-card strong { color: var(--color-text); }

.worries-lead {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-primary);
}

/* --- Reasons --- */
.reasons {
  background: var(--color-bg);
}

.reasons-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.reason-card {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: var(--color-white);
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: box-shadow 0.3s;
}

.reason-card:hover { box-shadow: var(--shadow-md); }

.reason-number {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  opacity: 0.7;
}

.reason-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.reason-content p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.9;
}

.reason-content strong { color: var(--color-primary); }

/* --- Flow --- */
.flow {
  background: var(--color-white);
}

.flow-timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.flow-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 19px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
}

.flow-item {
  position: relative;
  display: flex;
  gap: 24px;
  padding-bottom: 36px;
}

.flow-item:last-child { padding-bottom: 0; }

.flow-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  position: relative;
  left: -40px;
  margin-right: -40px;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--color-white);
}

.flow-icon svg { width: 20px; height: 20px; }

.flow-content {
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  flex-grow: 1;
  transition: box-shadow 0.3s;
}

.flow-content:hover { box-shadow: var(--shadow-md); }

.flow-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-primary);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.flow-role {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(232, 150, 58, 0.1);
  padding: 2px 10px;
  border-radius: 10px;
  margin-left: 8px;
  margin-bottom: 6px;
}

.flow-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.flow-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.flow-cta {
  text-align: center;
  margin-top: 48px;
}

/* --- Pricing --- */
.pricing {
  background: var(--color-bg);
}

.pricing-block {
  max-width: 800px;
  margin: 0 auto 40px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.pricing-block:hover { box-shadow: var(--shadow-md); }

.pricing-block-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--color-border-light);
}

.pricing-block-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(26, 74, 122, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.pricing-block-badge--accent {
  background: rgba(232, 150, 58, 0.12);
  color: #8a5a10;
}

.pricing-block-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.pricing-block-desc {
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 6px;
}

.pricing-table-wrapper { overflow-x: auto; }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pricing-table thead { background: var(--color-bg); }

.pricing-table th {
  padding: 12px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: var(--color-text-muted);
  border-bottom: 2px solid var(--color-border-light);
  white-space: nowrap;
}

.pricing-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text);
  vertical-align: middle;
}

.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:hover { background: rgba(26, 74, 122, 0.02); }

.price-cell {
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: 15px;
  white-space: nowrap;
}

.pricing-includes {
  padding: 20px 28px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-light);
}

.pricing-includes h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.pricing-includes ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
}

.pricing-includes li {
  font-size: 13px;
  color: var(--color-text-light);
  padding-left: 20px;
  position: relative;
}

.pricing-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(-45deg);
}

.pricing-payment {
  max-width: 600px;
  margin: 32px auto 0;
  padding: 24px 28px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
}

.pricing-payment h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.payment-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.payment-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: var(--radius-sm);
}

.payment-info strong {
  font-size: 14px;
  color: var(--color-text);
  display: block;
  margin-bottom: 2px;
}

.payment-info p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.pricing-cta {
  text-align: center;
  margin-top: 16px;
}

.pricing-cta p {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

/* --- FAQ --- */
.faq {
  background: var(--color-white);
}

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

.faq-item {
  border-bottom: 1px solid var(--color-border-light);
}

.faq-question {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
}

.faq-question::before {
  content: 'Q';
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
}

.faq-question::after {
  content: '';
  margin-left: auto;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  transition: transform 0.3s;
}

.faq-item[open] .faq-question::after {
  transform: rotate(-135deg);
}

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

.faq-answer {
  padding: 0 0 20px 48px;
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.9;
}

/* --- Profile --- */
.profile {
  background: var(--color-bg);
}

.profile-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.profile-photo img {
  border-radius: var(--radius-md);
  width: 100%;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}

.profile-label {
  font-size: 12px;
  color: var(--color-primary);
  background: rgba(26, 74, 122, 0.08);
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.profile-name h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-top: 8px;
  margin-bottom: 20px;
}

.profile-message {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 28px;
  padding: 20px 24px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-accent);
}

.profile-details {
  display: flex;
  flex-direction: column;
}

.profile-detail-row {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.profile-detail-row:last-child { border-bottom: none; }

.profile-detail-row dt {
  flex-shrink: 0;
  width: 120px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.profile-detail-row dd {
  font-size: 14px;
  color: var(--color-text);
}

/* --- Contact --- */
.contact {
  background: var(--color-bg-alt);
}

.contact-free-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 24px;
  padding: 14px 24px;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--color-text);
}

.contact-free-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.contact-free-icon svg { width: 100%; height: 100%; }

.contact-free-banner strong {
  color: var(--color-primary);
  font-size: 18px;
}

.contact-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.9;
}

.contact-lead strong { color: var(--color-primary); }

.contact-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text);
}

.required {
  font-size: 11px;
  color: var(--color-white);
  background: #c0392b;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

.optional {
  font-size: 11px;
  color: var(--color-text-muted);
  background: var(--color-bg);
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 74, 122, 0.1);
}

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

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  padding: 10px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s, background 0.3s;
}

.radio-label:hover { border-color: var(--color-primary); }

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.radio-label input[type="radio"]:checked + span {
  color: var(--color-primary);
  font-weight: 500;
}

.form-privacy {
  margin-bottom: 24px;
  padding: 16px 18px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
}

.privacy-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-text);
}

.privacy-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.privacy-checkbox-custom {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-white);
  position: relative;
  transition: all 0.2s;
}

.privacy-checkbox-label input[type="checkbox"]:checked + .privacy-checkbox-custom {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.privacy-checkbox-label input[type="checkbox"]:checked + .privacy-checkbox-custom::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid var(--color-white);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.privacy-checkbox-text a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}

/* --- Footer --- */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-white);
}

.footer-sub { font-size: 11px; margin-bottom: 8px; }
.footer-address { font-size: 12px; }

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-nav a:hover { color: var(--color-white); }

.footer-external {
  color: var(--color-accent-light) !important;
}

.footer-external:hover {
  color: var(--color-accent) !important;
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Privacy Page --- */
.privacy-page {
  margin-top: var(--header-height);
  padding: 60px 0 80px;
  min-height: calc(100vh - var(--header-height));
}

.privacy-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: 48px;
}

.privacy-content {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.privacy-intro {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-light);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border-light);
}

.privacy-section { margin-bottom: 32px; }

.privacy-section h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--color-primary);
}

.privacy-section p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-light);
}

.privacy-section ul {
  list-style: none;
  margin-top: 10px;
}

.privacy-section li {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
  padding: 4px 0 4px 20px;
  position: relative;
}

.privacy-section li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.4;
}

.privacy-section a {
  color: var(--color-primary);
  text-decoration: underline;
}

.privacy-contact {
  margin-top: 16px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.privacy-contact-row { display: flex; padding: 6px 0; }

.privacy-contact-row dt {
  flex-shrink: 0;
  width: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.privacy-contact-row dd { font-size: 14px; color: var(--color-text); }

.privacy-date {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: right;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-light);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 900;
  text-decoration: none;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-light);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 768px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }

  .header-inner { padding: 0 16px; }
  .hamburger { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .nav.open { opacity: 1; visibility: visible; }

  .nav ul {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .nav a { font-size: 18px; }
  .nav-cta { margin-top: 10px; }

  .hero { min-height: 500px; }
  .hero-content { padding: 60px 0; }
  .hero-title { font-size: 26px; }
  .hero-subtitle { font-size: 14px; }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  section { padding: 60px 0; }
  .section-title { font-size: 22px; }

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

  .reason-card {
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px;
  }

  .reason-number { font-size: 32px; }

  .flow-timeline { padding-left: 32px; }
  .flow-timeline::before { left: 15px; }

  .flow-icon {
    width: 32px;
    height: 32px;
    left: -32px;
    margin-right: -32px;
    box-shadow: 0 0 0 3px var(--color-white);
  }

  .flow-icon svg { width: 16px; height: 16px; }
  .flow-content { padding: 20px; }
  .flow-title { font-size: 15px; }
  .flow-text { font-size: 13px; }

  .pricing-block-header { padding: 20px 20px 16px; }

  .pricing-table th,
  .pricing-table td { padding: 10px 14px; font-size: 13px; }

  .price-cell { font-size: 14px; }

  .pricing-includes ul { grid-template-columns: 1fr; }
  .pricing-includes { padding: 16px 20px; }

  .faq-question { font-size: 14px; }
  .faq-answer { padding-left: 48px; font-size: 14px; }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .profile-photo {
    max-width: 320px;
    margin: 0 auto;
  }

  .profile-detail-row {
    flex-direction: column;
    gap: 4px;
  }

  .profile-detail-row dt { width: auto; }

  .form-row { grid-template-columns: 1fr; }
  .radio-group { grid-template-columns: 1fr; }

  .contact-form-wrapper { padding: 28px 20px; }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .privacy-content { padding: 28px 20px; }
  .privacy-title { font-size: 24px; }

  .privacy-contact-row {
    flex-direction: column;
    gap: 2px;
  }

  .privacy-contact-row dt { width: auto; }

  /* Back to top Mobile */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 22px; }
  .container { padding: 0 16px; }
}
