:root {
  --bg: #f6f8fc;
  --bg-soft: #eef4ff;
  --bg-accent: #fff6ee;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --line: #dce5f0;
  --line-strong: #c9d7e8;

  --text: #142033;
  --text-soft: #1f2a39;
  --text-muted: #2e353e;

  --primary: #1f5eff;
  --primary-dark: #1847c7;
  --primary-soft: #eaf1ff;

  --accent: #ff7a1a;
  --accent-dark: #e45e00;
  --accent-soft: #fff0e5;

  --success: #12a150;
  --success-soft: #e8f8ef;

  --danger: #dc4d41;
  --danger-soft: #fff0ef;

  --shadow-sm: 0 10px 30px rgba(20, 32, 51, 0.06);
  --shadow-md: 0 20px 50px rgba(20, 32, 51, 0.08);
  --shadow-lg: 0 30px 80px rgba(20, 32, 51, 0.12);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-xl: 40px;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 24px;
  line-height: 1.8;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 26, 0.14) 0, transparent 26%),
    radial-gradient(circle at top right, rgba(31, 94, 255, 0.12) 0, transparent 30%),
    linear-gradient(180deg, #f9fbff 0%, #f6f8fc 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-title {
  margin: 0 0 14px;
  text-align: center;
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--text);
}

.section-subtitle {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
  font-size: 28px;
  line-height: 1.9;
  color: var(--text-soft);
}

.btn-wrap {
  margin-top: 30px;
  text-align: center;
}

.btn,
.cta-button,
.btn-secondary,
.form-button button,
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 32px;
  border: none;
  border-radius: 9999px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.btn:hover,
.cta-button:hover,
.btn-secondary:hover,
.form-button button:hover,
.back-button:hover {
  transform: translateY(-2px);
}

.btn,
.cta-button {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(255, 122, 26, 0.28);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(31, 94, 255, 0.24);
}

.back-button {
  background: #8b97a6;
  color: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 78px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.82) 48%, rgba(234, 241, 255, 0.82) 100%);
  pointer-events: none;
}

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

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
  text-align: center;
}

.hero-inner > div:first-child {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  white-space: nowrap;
  font-size: 62px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 22px;
  margin-bottom: 22px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 122, 26, 0.28);
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-dark);
  font-size: 36px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.hero-lead {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.5;
  font-weight: 800;
  color: #1c2f46;
}

.hero-inner > div:first-child > p:last-of-type {
  margin: 0 auto;
  max-width: 760px;
  font-size: 22px;
  color: var(--text-soft);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 12px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d6e2f2;
  color: #1c2f46;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(20, 32, 51, 0.05);
}

.hero .btn-wrap,
.hero .btn-wrap[style] {
  margin-top: 30px;
  text-align: center !important;
}

.hero-card {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 38px 40px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(248,251,255,0.96) 100%);
  border: 1px solid #dfe7f2;
  box-shadow: var(--shadow-lg);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
}

.hero-card h2 {
  margin: 0 0 24px;
  padding-left: 4px;
  font-size: 34px;
  line-height: 1.35;
  color: var(--text);
  font-weight: 900;
}

.hero-card p {
  position: relative;
  margin: 0 0 16px;
  padding-left: 24px;
  font-size: 22px;
  line-height: 1.9;
  color: var(--text-soft);
}

.hero-card p::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.hero-card p:last-child {
  margin-bottom: 0;
}

.summary-box,
.feature-item,
.benefit-card,
.coverage-card-modern,
.step-card-modern,
.contact-form-section,
.form-form-section,
.table-wrap {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.summary-box {
  max-width: 960px;
  margin: 0 auto;
  padding: 42px 44px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(249,252,255,0.98) 100%);
}

.summary-box p {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--text-soft);
}

.summary-box p:last-child {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.feature-item {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: #cbd8ea;
  box-shadow: 0 26px 56px rgba(20, 32, 51, 0.1);
}

.feature-item h3 {
  margin: 8px 0 12px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 900;
  color: var(--text);
}

.feature-item p {
  margin: 0;
  font-size: 22px;
  color: var(--text-soft);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 26px;
  background: #ffffff;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 20px;
  white-space: nowrap;
}

th {
  background: linear-gradient(180deg, #eff5ff 0%, #f6f9ff 100%);
  font-weight: 800;
  color: var(--text);
}

td {
  color: var(--text-soft);
  background: #ffffff;
}

tbody tr:hover td {
  background: #fbfdff;
}

tr:last-child td {
  border-bottom: none;
}

.note {
  margin-top: 14px;
  font-size: 20px;
  color: var(--text-muted);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.benefit-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.benefit-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.benefit-card h3 {
  margin: 10px 0 12px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 900;
  color: var(--text);
}

.benefit-card p {
  margin: 0;
  font-size: 22px;
  color: var(--text-soft);
}

.coverage-section {
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.coverage-grid-modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.coverage-card-modern {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 28px;
}

.coverage-card-modern::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
}

.coverage-card-modern.is-ok::before {
  background: linear-gradient(180deg, var(--success) 0%, #108043 100%);
}

.coverage-card-modern.is-ng::before {
  background: linear-gradient(180deg, var(--accent) 0%, var(--danger) 100%);
}

.coverage-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.coverage-card-modern.is-ok .coverage-badge {
  background: var(--success-soft);
  color: #0f7d3f;
}

.coverage-card-modern.is-ng .coverage-badge {
  background: var(--accent-soft);
  color: #9b3f00;
}

.coverage-card-modern h3 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 900;
  color: var(--text);
}

.coverage-list-modern {
  list-style: none;
  margin: 0;
  padding: 0;
}

.coverage-list-modern li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 15px;
  font-size: 20px;
  color: var(--text-soft);
}

.coverage-list-modern li:last-child {
  margin-bottom: 0;
}

.coverage-card-modern.is-ok .coverage-list-modern li::before,
.coverage-card-modern.is-ng .coverage-list-modern li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
}

.coverage-card-modern.is-ok .coverage-list-modern li::before {
  content: "✓";
  background: var(--success-soft);
  color: var(--success);
}

.coverage-card-modern.is-ng .coverage-list-modern li::before {
  content: "!";
  background: var(--danger-soft);
  color: var(--danger);
}

.steps-modern {
  display: grid;
  gap: 24px;
  margin-top: 18px;
}

.step-card-modern {
  padding: 32px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.step-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  height: 44px;
  padding: 0 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 24px rgba(31, 94, 255, 0.22);
}

.step-title-wrap h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 900;
  color: var(--text);
}

.step-title-wrap p {
  margin: 6px 0 0;
  font-size: 24px;
  color: var(--text-muted);
}

.flow-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.flow-role-card {
  height: 100%;
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fbfcfe;
}

.flow-role-card.owner {
  background: #fff8f1;
  border-color: #ffdcbc;
}

.flow-role-card.hotel {
  background: #f2f7ff;
  border-color: #cfe0ff;
}

.flow-role-card.assoc {
  background: #f1fbf4;
  border-color: #cfeeda;
}

.flow-role-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  margin-bottom: 14px;
  border-radius: 9999px;
  font-size: 24px;
  font-weight: 800;
}

.flow-role-card.owner .flow-role-label {
  background: #ffe8d5;
  color: #9a3412;
}

.flow-role-card.hotel .flow-role-label {
  background: #dceaff;
  color: #1d4ed8;
}

.flow-role-card.assoc .flow-role-label {
  background: #dcf5e5;
  color: #166534;
}

.flow-role-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.flow-role-card li {
  margin-bottom: 10px;
  font-size: 24px;
  color: var(--text-soft);
}

.flow-role-card li:last-child {
  margin-bottom: 0;
}

.step-highlight-modern {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #edf4ff 0%, #dbeafe 100%);
  border: 1px solid #c7dafc;
  color: #1e3a8a;
  font-size: 24px;
  font-weight: 800;
}

.step-arrow {
  margin: -2px 0;
  text-align: center;
  font-size: 24px;
  color: #9db0c5;
  font-weight: 800;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 62px 28px;
  border-radius: 40px;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.12) 0, transparent 26%),
    linear-gradient(135deg, #142033 0%, #163152 50%, #1f5eff 100%);
  box-shadow: var(--shadow-lg);
}

.cta::before {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.cta p {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 24px;
  color: rgba(255,255,255,0.86);
}

footer {
  padding: 32px 0 44px;
  text-align: center;
  font-size: 24px;
  color: var(--text-muted);
}

.contact-page,
.form-page {
  padding: 72px 20px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef4fb 100%);
}

.contact-form-section,
.form-form-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 44px;
  border-radius: 30px;
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-lg);
}

.contact-form-section h1,
.form-form-section h1 {
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 900;
  color: var(--text);
}

.contact-form-section p,
.form-form-section p {
  margin: 0 0 28px;
  font-size: 24px;
  color: var(--text-soft);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #ffffff;
  font-size: 20px;
  line-height: 1.6;
  color: var(--text);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #9dc0ff;
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.12);
}

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

.form-button {
  margin-top: 32px;
  text-align: center;
}

.confirm-group {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.confirm-group h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.confirm-group p {
  margin: 0;
  font-size: 20px;
  color: var(--text-soft);
  line-height: 1.8;
}

.contact-info {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: left;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text-soft);
}

.contact-info p {
  margin: 4px 0;
}

.contact-title {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 56px;
  }

  .hero-lead {
    font-size: 26px;
  }

  .benefit-grid,
  .flow-grid-modern {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .section {
    padding: 78px 0;
  }

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

  .section-subtitle {
    margin-bottom: 36px;
    font-size: 20px;
  }

  .hero {
    padding: 60px 0 48px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 22px;
  }

  .feature-grid,
  .coverage-grid-modern {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .summary-box,
  .coverage-card-modern,
  .step-card-modern,
  .contact-form-section,
  .form-form-section {
    padding: 26px;
  }

  .cta {
    padding: 46px 22px;
    border-radius: 28px;
  }

  .cta h2 {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section {
    padding: 58px 0;
  }

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

  .hero-badge {
    font-size: 18px;
    min-height: 40px;
    padding: 8px 16px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .hero-lead {
    font-size: 22px;
  }

  .hero-inner > div:first-child > p:last-of-type,
  .summary-box p,
  .feature-item p,
  .benefit-card p,
  .coverage-list-modern li,
  .flow-role-card li,
  .contact-form-section p,
  .form-form-section p,
  .confirm-group p,
  .hero-card p {
    font-size: 20px;
  }

  .hero-points li {
    font-size: 18px;
    padding: 10px 13px;
  }

  .hero-card h2,
  .coverage-card-modern h3,
  .step-title-wrap h3 {
    font-size: 24px;
  }

  .feature-item h3,
  .benefit-card h3 {
    font-size: 24px;
  }

  th,
  td {
    font-size: 13px;
    padding: 14px 12px;
  }

  .cta h2 {
    font-size: 25px;
  }

  .cta p {
    font-size: 18px;
  }

  .btn,
  .cta-button,
  .btn-secondary,
  .form-button button,
  .back-button {
    width: 100%;
    min-height: 54px;
    font-size: 18px;
    padding: 15px 20px;
  }
}