/* ============================================================
   タナカ経営サポート 共通スタイルシート
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Shippori+Mincho:wght@500;700&display=swap');

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  /* Colors - Primary */
  --navy-deep: #0F1A30;
  --navy: #1B2A4A;
  --navy-light: #2C4066;

  /* Colors - Accent */
  --gold: #B68D40;
  --gold-light: #D4AF6A;
  --gold-bg: #FBF7F0;

  /* Colors - Neutral */
  --white: #FFFFFF;
  --off-white: #F5F6F8;
  --gray-50: #F8F9FA;
  --gray-100: #E9ECF0;
  --gray-200: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-600: #6B7280;
  --gray-800: #374151;

  /* Colors - Semantic */
  --success: #059669;
  --error: #DC2626;
  --border: #E2E4E8;

  /* Typography */
  --font-heading: 'Shippori Mincho', serif;
  --font-body: 'Noto Sans JP', sans-serif;

  /* Spacing */
  --section-padding: 96px 0;
  --container-max: 1100px;
  --header-height: 72px;
}

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

html {
  /* scroll-behavior は Lenis が管理するため無効化 */
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.4;
  color: var(--navy-deep);
}

h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 700; }
h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 500; }

p {
  font-size: 15px;
  line-height: 1.8;
}

em {
  font-style: normal;
  color: var(--gold-light);
}

/* ============================================================
   Container
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Focus Styles (Accessibility)
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(15, 26, 48, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

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

/* Logo */
.site-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.site-logo .accent {
  color: var(--gold-light);
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
  padding: 4px 0;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width 0.3s ease;
}

.site-nav a:hover {
  color: var(--gold-light);
}

.site-nav a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(15, 26, 48, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--gold-light);
  padding-left: 24px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

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

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(182, 141, 64, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

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

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

.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.3);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================================================
   Section Common
   ============================================================ */
.section {
  padding: var(--section-padding);
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.section-subheading {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 48px;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 24px;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-light) 100%);
  padding-top: var(--header-height);
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  opacity: 0.06;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold-light);
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 28px;
}

.hero-heading .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}

.hero-subtext {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(255, 255, 255, 0.78);
  line-height: 2;
  margin-bottom: 48px;
  white-space: pre-line;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   Services Section
   ============================================================ */
.services {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* サービスカード: コピーして追加可能 */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(24px);
}

.service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--gold-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 12px;
  line-height: 1.5;
}

.service-description {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-price-wrap {
  margin-bottom: 24px;
  padding: 16px;
  background: var(--off-white);
  border-radius: 6px;
}

.service-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-deep);
  font-family: var(--font-heading);
}

.service-price-note {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 4px;
}

/* ============================================================
   About Section
   ============================================================ */
.about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}

.about-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(27, 42, 74, 0.2);
}

.about-avatar-letter {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.about-name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.about-qualification {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.about-bio {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 32px;
  white-space: pre-line;
}

.about-strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.strength-item {
  padding: 20px 16px;
  background: var(--off-white);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}

.strength-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.strength-description {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================================
   Flow Section
   ============================================================ */
.flow {
  background: var(--off-white);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  opacity: 0.4;
}

.flow-step {
  text-align: center;
  position: relative;
}

.flow-step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(15, 26, 48, 0.2);
}

.flow-step-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.flow-step-description {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================================
   Contact Section
   ============================================================ */
.contact {
  background: var(--navy-deep);
  text-align: center;
}

.contact .section-label {
  color: var(--gold-light);
}

.contact .section-heading {
  color: var(--white);
}

.contact-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
}

.contact-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 20px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-info-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-info-detail {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
}

.footer-info-detail a {
  color: var(--gold-light);
  transition: opacity 0.2s;
}

.footer-info-detail a:hover {
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   Legal Pages
   ============================================================ */
.legal-page {
  padding-top: 48px;
  padding-bottom: 96px;
  background: var(--white);
}

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

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--gold);
  transition: opacity 0.2s;
}

.breadcrumb a:hover {
  opacity: 0.8;
}

.breadcrumb-sep {
  color: var(--gray-400);
}

/* Legal Content */
.legal-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

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

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 20px 0 10px;
}

.legal-section p {
  font-size: 14px;
  color: var(--gray-800);
  line-height: 1.9;
  margin-bottom: 12px;
}

.legal-section ol,
.legal-section ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-section ol {
  list-style: decimal;
}

.legal-section ul {
  list-style: disc;
}

.legal-section li {
  font-size: 14px;
  color: var(--gray-800);
  line-height: 1.9;
  margin-bottom: 6px;
}

/* Tokushoho Table */
.tokushoho-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 32px;
}

.tokushoho-table th,
.tokushoho-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.8;
}

.tokushoho-table th {
  width: 200px;
  font-weight: 700;
  color: var(--navy-deep);
  background: var(--off-white);
  font-family: var(--font-heading);
}

.tokushoho-table td {
  color: var(--gray-800);
}

/* ============================================================
   Apply Page
   ============================================================ */
.apply-page {
  padding-top: 48px;
  padding-bottom: 96px;
  background: var(--off-white);
  min-height: 100vh;
}

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

.apply-service-info {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
}

.apply-service-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.apply-service-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.apply-service-details {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.8;
}

.apply-service-details li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.apply-service-details li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.apply-form-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
}

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

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

.form-label .required {
  color: var(--error);
  font-size: 12px;
  margin-left: 4px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.1);
}

.form-input::placeholder {
  color: var(--gray-400);
}

/* Agreement Box */
.agreement-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
}

.agreement-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 16px;
}

.agreement-text-box {
  max-height: 300px;
  overflow-y: auto;
  padding: 20px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 20px;
}

.agreement-text-box h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 16px 0 8px;
  font-family: var(--font-heading);
}

.agreement-text-box h3:first-child {
  margin-top: 0;
}

.agreement-text-box p {
  font-size: 12px;
  margin-bottom: 8px;
}

.agreement-text-box ol {
  list-style: decimal;
  padding-left: 18px;
  margin-bottom: 8px;
}

.agreement-text-box li {
  font-size: 12px;
  margin-bottom: 4px;
  line-height: 1.8;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--navy);
}

.checkbox-label {
  font-size: 14px;
  color: var(--gray-800);
  line-height: 1.7;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--gold);
  text-decoration: underline;
}

.checkbox-label a:hover {
  opacity: 0.8;
}

/* Form Error */
.form-error {
  display: none;
  font-size: 13px;
  color: var(--error);
  margin-top: 6px;
}

.form-error.visible {
  display: block;
}

/* Submit area */
.submit-area {
  text-align: center;
}

.submit-note {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 16px;
  line-height: 1.7;
}

.btn-submit {
  width: 100%;
  max-width: 360px;
  padding: 18px 32px;
  font-size: 16px;
  font-weight: 700;
}

/* ============================================================
   Thanks Page
   ============================================================ */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 96px;
  background: var(--off-white);
}

.thanks-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 64px 48px;
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--success);
}

.thanks-heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 20px;
}

.thanks-message {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 24px;
  white-space: pre-line;
}

.thanks-contact {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 40px;
}

.thanks-contact a {
  color: var(--gold);
}

/* ============================================================
   Responsive — Tablet (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 72px 0;
  }

  .about-inner {
    gap: 40px;
  }

  .about-strengths {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .flow-steps::before {
    display: none;
  }

  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ============================================================
   Responsive — Mobile (max-width: 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --section-padding: 56px 0;
    --header-height: 60px;
  }

  /* Header */
  .site-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  /* Hero */
  .hero-heading {
    font-size: clamp(26px, 7vw, 36px);
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .about-avatar {
    margin: 0 auto;
  }

  .about-strengths {
    grid-template-columns: 1fr;
  }

  .strength-item {
    text-align: left;
  }

  /* Flow */
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    align-items: flex-start;
  }

  /* Tokushoho Table */
  .tokushoho-table th {
    width: 120px;
    font-size: 13px;
    padding: 12px 14px;
  }

  .tokushoho-table td {
    font-size: 13px;
    padding: 12px 14px;
  }

  /* Apply */
  .apply-form-section,
  .agreement-section,
  .apply-service-info {
    padding: 24px 20px;
  }

  /* Thanks */
  .thanks-card {
    padding: 40px 24px;
  }
}

/* ============================================================
   Scroll Animation Helpers
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================================
   Utility
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy-deep); }
