:root {
  --bg: #fbfdfa;
  --surface: #ffffff;
  --surface-alt: #f7fbf9;
  --text: #1f2524;
  --muted: #565f5c;
  --accent: #1e8b78;
  --accent-strong: #157061;
  --accent-soft: #e4f6f1;
  --accent-warm: #f7ddbf;
  --border: #eef3f1;
  --shadow: 0 18px 40px rgba(20, 75, 63, 0.1);
  --shadow-soft: 0 8px 18px rgba(20, 75, 63, 0.06);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", "Meiryo", "Noto Sans CJK JP", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

h1,
h2,
h3,
h4 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS Mincho", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

p,
li {
  letter-spacing: 0.01em;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 56px 0 46px;
  border-bottom: 1px solid var(--border);
  background: url("img/hero.jpg") left 20%/cover no-repeat;
  color: #f7fbf9;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 18, 18, 0.15) 0%, rgba(9, 18, 18, 0.45) 52%, rgba(9, 18, 18, 0.6) 100%);
}

.hero::after {
  content: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fade-up 0.8s ease both;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.sub {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.75;
  max-width: 480px;
  text-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.hero .btn {
  padding: 14px 36px;
  font-size: 16px;
  background: linear-gradient(120deg, #27a58e, #1a6b5e);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(20, 75, 63, 0.15);
  box-shadow: 0 14px 26px rgba(20, 75, 63, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(20, 75, 63, 0.22);
}

.home .btn-floating {
  display: none;
}

@media (max-width: 768px) {
  .home {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .home .btn-floating {
    display: inline-flex;
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(92vw, 320px);
    justify-content: center;
    z-index: 9999;
  }

  .home .hero .container {
    animation: none;
    transform: none;
  }

  .home .hero .btn {
    display: none;
  }
}

.section {
  padding: 64px 0;
  border-bottom: 1px solid rgba(238, 243, 241, 0.9);
  background: var(--surface);
  position: relative;
}

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

.section.alt {
  background: #ffffff;
}

.section.alt::before {
  content: none;
}

.section.cta {
  background: #ffffff;
  text-align: center;
}

.section.cta .container {
  padding: 28px 28px 32px;
  border: 1px solid rgba(238, 243, 241, 0.9);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-soft);
  background: #ffffff;
}

.section h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.page-title {
  margin: 0 0 12px;
  font-size: 30px;
  letter-spacing: 0.3px;
}

.policy p,
.policy li {
  color: var(--muted);
  line-height: 1.8;
}

.policy ul {
  margin: 0 0 14px;
  padding-left: 18px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid rgba(20, 75, 63, 0.12);
  background:
    linear-gradient(#1c8a76, #1c8a76) 7px 13px/3px 8px no-repeat,
    linear-gradient(#69c6b1, #69c6b1) 12px 9px/3px 12px no-repeat,
    linear-gradient(#f0946b, #f0946b) 17px 6px/3px 14px no-repeat,
    linear-gradient(180deg, #ffffff, var(--surface-alt));
  box-shadow: var(--shadow-soft);
}

.title-icon.trend {
  background:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23146c5c'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpolyline%20points='3,16%209,12%2013,15%2021,6'/%3E%3C/svg%3E")
      4px 4px/18px 18px no-repeat,
    linear-gradient(180deg, #ffffff, var(--surface-alt));
  box-shadow: var(--shadow-soft);
}

.title-icon.robot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(20, 75, 63, 0.12);
  color: var(--accent);
  font-size: 16px;
  box-shadow: var(--shadow-soft);
}

.title-icon.voice {
  background:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Ccircle%20cx='8.5'%20cy='8'%20r='2.6'%20stroke='%23146c5c'%20stroke-width='1.7'/%3E%3Cpath%20d='M4.7%2016.3c.6-2.2%202.3-3.5%203.8-3.5h.1c1.7%200%203.3%201.3%203.9%203.5'%20stroke='%23146c5c'%20stroke-width='1.7'%20stroke-linecap='round'/%3E%3Ccircle%20cx='16.8'%20cy='14.7'%20r='3.6'%20stroke='%23146c5c'%20stroke-width='1.7'/%3E%3Cpath%20d='M15.2%2014.8l1.1%201.1%202-2'%20stroke='%23146c5c'%20stroke-width='1.7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E")
      4px 4px/18px 18px no-repeat,
    linear-gradient(180deg, #ffffff, var(--surface-alt));
  box-shadow: var(--shadow-soft);
}

.title-icon.scene {
  background:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Crect%20x='3.5'%20y='4.5'%20width='17'%20height='15'%20rx='2.5'%20stroke='%23146c5c'%20stroke-width='1.6'/%3E%3Crect%20x='6.5'%20y='7'%20width='5'%20height='4'%20rx='1'%20stroke='%23146c5c'%20stroke-width='1.6'/%3E%3Crect%20x='12.5'%20y='7'%20width='5'%20height='4'%20rx='1'%20stroke='%23146c5c'%20stroke-width='1.6'/%3E%3Crect%20x='6.5'%20y='12'%20width='11'%20height='4'%20rx='1'%20stroke='%23146c5c'%20stroke-width='1.6'/%3E%3C/svg%3E")
      4px 4px/18px 18px no-repeat,
    linear-gradient(180deg, #ffffff, var(--surface-alt));
  box-shadow: var(--shadow-soft);
}

.title-icon.contact {
  background:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Crect%20x='3'%20y='6'%20width='18'%20height='12'%20rx='2.5'%20stroke='%23146c5c'%20stroke-width='1.8'/%3E%3Cpath%20d='M4%207l8%206%208-6'%20stroke='%23146c5c'%20stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      4px 4px/18px 18px no-repeat,
    linear-gradient(180deg, #ffffff, var(--surface-alt));
  box-shadow: var(--shadow-soft);
}

.title-icon.line {
  background:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cpath%20d='M5%207h14a3%203%200%200%201%203%203v4a3%203%200%200%201-3%203h-6l-4%203v-3H5a3%203%200%200%201-3-3v-4a3%203%200%200%201%203-3z'%20stroke='%23146c5c'%20stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath%20d='M8%2012h8'%20stroke='%23146c5c'%20stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")
      4px 4px/18px 18px no-repeat,
    linear-gradient(180deg, #ffffff, var(--surface-alt));
  box-shadow: var(--shadow-soft);
}

.title-icon.disclaimer {
  background:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cpath%20d='M12%203l7%203v6c0%204.4-3%207.2-7%209-4-1.8-7-4.6-7-9V6l7-3z'%20stroke='%23146c5c'%20stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath%20d='M12%208.5v5.5'%20stroke='%23146c5c'%20stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle%20cx='12'%20cy='16.8'%20r='1'%20fill='%23146c5c'/%3E%3C/svg%3E")
      4px 4px/18px 18px no-repeat,
    linear-gradient(180deg, #ffffff, var(--surface-alt));
  box-shadow: var(--shadow-soft);
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.bullets {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.85;
}

.note {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.safety-note {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(20, 75, 63, 0.12);
  background: #f7fbf9;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.7;
  position: relative;
  padding-left: 40px;
}

.safety-note::before {
  content: "🛡";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #1e8b78;
}

.safety-panel {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(20, 75, 63, 0.12);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 75, 63, 0.06);
}

.safety-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.safety-head h2 {
  margin: 0;
  font-size: 22px;
}

.safety-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(20, 75, 63, 0.14);
  background:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cpath%20d='M12%203l7%203v6c0%204.4-3%207.2-7%209-4-1.8-7-4.6-7-9V6l7-3z'%20stroke='%23146c5c'%20stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath%20d='M9.2%2012.3l2%202.2%203.6-4' stroke='%23146c5c'%20stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      6px 6px/22px 22px no-repeat,
    #fbfdfa;
  box-shadow: var(--shadow-soft);
}

.safety-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.85;
}


.fineprint {
  margin-top: 12px;
  font-size: 12px;
  text-align: center;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #ffffff;
  border: 1px solid rgba(238, 243, 241, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fade-up 0.7s ease both;
}

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

.card img {
  width: 100%;
  /* height: 210px; */
  object-fit: cover;
  display: block;
}

.card h3 {
  margin: 16px 18px 6px;
  font-size: 18px;
}

.card p {
  margin: 0 18px 20px;
  color: var(--muted);
  line-height: 1.75;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: #ffffff;
  border: 1px solid rgba(238, 243, 241, 0.9);
  border-radius: var(--radius);
  padding: 18px;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fade-up 0.7s ease both;
}

.feature-media {
  width: 100%;
  /* height: 190px; */
  margin-bottom: 12px;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  background: #f3f6f5;
}

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

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

.feature h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.title-icon.faq {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 55%),
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Crect%20x='3.5'%20y='4.5'%20width='17'%20height='13'%20rx='4'%20stroke='%23155f53'%20stroke-width='1.6'/%3E%3Cpath%20d='M9%2017.5L8%2020l3-2.5h5.5'%20stroke='%23155f53'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M10%209.5a2.3%202.3%200%201%201%203.6%201.9c-.5.4-.8.8-.8%201.4'%20stroke='%23155f53'%20stroke-width='1.6'%20stroke-linecap='round'/%3E%3Ccircle%20cx='12.8'%20cy='15.5'%20r='.9'%20fill='%23155f53'/%3E%3Cpath%20d='M17.7%206.3l.7%201.3%201.4.2-1%20.9.2%201.4-1.3-.6-1.2.6.2-1.4-1.1-.9%201.5-.2.6-1.3z'%20fill='%232aa18e'/%3E%3C/svg%3E")
      4px 4px/18px 18px no-repeat,
    linear-gradient(180deg, #ffffff 0%, #f2f8f6 100%);
  border-color: rgba(20, 75, 63, 0.2);
  box-shadow: 0 6px 14px rgba(20, 75, 63, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(20, 75, 63, 0.12);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item::before {
  content: none;
}

.faq-q {
  font-weight: 600;
  margin: 0;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-a {
  color: var(--muted);
  line-height: 1.75;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(20, 75, 63, 0.12);
}

.qa-label {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent-strong);
  flex-shrink: 0;
  box-shadow: 0 6px 12px rgba(20, 75, 63, 0.08);
}

.faq-a .qa-label {
  background: #f4f6f5;
  color: var(--muted);
}


.disclaimer-card {
  margin-top: 16px;
  padding: 26px 28px;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(20, 75, 63, 0.12);
  background: linear-gradient(135deg, #ffffff 0%, #fdfefe 65%, #f9fbfa 100%);
  box-shadow: 0 18px 36px rgba(20, 75, 63, 0.1);
  text-align: left;
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.disclaimer-card::before {
  content: none;
  display: none;
}

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

.disclaimer-card h3 {
  margin: 0 0 16px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.disclaimer-card h3::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(20, 75, 63, 0.16);
  background:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cpath%20d='M12%203l7%203v6c0%204.4-3%207.2-7%209-4-1.8-7-4.6-7-9V6l7-3z'%20stroke='%23146c5c'%20stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath%20d='M12%208.5v5.5'%20stroke='%23146c5c'%20stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle%20cx='12'%20cy='16.8'%20r='1'%20fill='%23146c5c'/%3E%3C/svg%3E")
      6px 6px/16px 16px no-repeat,
    #ffffff;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.disclaimer-card .disclaimer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.disclaimer-card .disclaimer-list li {
  background: #ffffff;
  border: 1px solid rgba(20, 75, 63, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 10px 18px rgba(20, 75, 63, 0.06);
}

.disclaimer-card.warning {
  border-color: rgba(20, 75, 63, 0.12);
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(20, 75, 63, 0.1);
}

.disclaimer-card.warning p {
  margin: 0 0 14px;
  color: #6d4733;
  line-height: 1.85;
}

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

.disclaimer-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 600;
}

.disclaimer-tag.emphasis {
  background: var(--accent-warm);
  color: #8b5a2b;
}

.disclaimer-tag.tone-sky {
  background: #e7f2ff;
  color: #2a6bbf;
}

.disclaimer-tag.tone-rose {
  background: #ffe9ef;
  color: #b0486b;
}

.disclaimer-text {
  color: var(--muted);
  line-height: 1.7;
}

blockquote {
  margin: 0;
  padding: 16px 18px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
  border: 1px solid rgba(238, 243, 241, 0.9);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  color: var(--text);
  line-height: 1.8;
  box-shadow: var(--shadow-soft);
  animation: fade-up 0.7s ease both;
}

blockquote span {
  color: var(--muted);
}

.footer {
  padding: 28px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), var(--surface-alt));
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(238, 243, 241, 0.9);
}

.footer p {
  margin: 6px 0;
  line-height: 1.7;
}

.operator-info p {
  margin: 4px 0;
  font-size: 13px;
  color: var(--muted);
}

.footer .copyright {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.footer-links {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  border-bottom: 1px solid rgba(238, 243, 241, 0.9);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-strong);
}

.contact-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(20, 75, 63, 0.12);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 75, 63, 0.06);
}

.page-intro {
  margin-bottom: 22px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fcfa 100%);
  border: 1px solid rgba(20, 75, 63, 0.12);
  box-shadow: 0 12px 26px rgba(20, 75, 63, 0.08);
}

.page-intro-heading {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.contact-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-route {
  border-radius: 16px;
  border: 1px solid rgba(20, 75, 63, 0.12);
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(20, 75, 63, 0.06);
}

.contact-route-label {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.contact-route h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text);
}

.contact-route p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-route-cta {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(20, 75, 63, 0.2);
  background: #f4fbf8;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-route-cta:hover {
  background: #e9f7f2;
  transform: translateY(-1px);
}

.contact-route-line {
  background: linear-gradient(165deg, #ffffff 0%, #f5fbf8 100%);
}

.contact-route-line .contact-route-label {
  background: #e8f3ff;
  color: #28609a;
}

.contact-route-line-cta {
  margin-top: 12px;
  background: #e8f3ff;
  border-color: rgba(40, 96, 154, 0.28);
  color: #28609a;
}

.contact-route-line-cta:hover {
  background: #deedff;
}

.success-line-action {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.success-line-btn {
  padding: 9px 18px;
  font-size: 14px;
}

.success-card p {
  text-align: center;
}

.success-line-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.notice-box {
  background: var(--accent-soft);
  border: 1px solid rgba(20, 75, 63, 0.12);
  border-radius: 16px;
  padding: 18px 18px 14px;
  margin-bottom: 18px;
  color: var(--text);
}

.notice-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.notice-head h3 {
  margin: 0;
  font-size: 18px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS Mincho", serif;
}

.notice-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d9efe8;
  color: var(--accent-strong);
  font-size: 18px;
}

.notice-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-weight: 600;
  color: var(--text);
}

.required {
  color: #b94a48;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(20, 75, 63, 0.16);
  background: #fdfefd;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6f817c 50%),
    linear-gradient(135deg, #6f817c 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 1px),
    calc(100% - 14px) calc(50% - 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.form-field input.input-error,
.form-field textarea.input-error {
  border-color: #b94a48;
  box-shadow: 0 0 0 3px rgba(185, 74, 72, 0.12);
}

.field-error {
  display: none;
  position: relative;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px 8px 10px;
  font-size: 12px;
  color: #8f3230;
  background: linear-gradient(180deg, #ffffff 0%, #fff7f6 100%);
  border: 1px solid rgba(185, 74, 72, 0.4);
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(185, 74, 72, 0.12);
  margin-top: 6px;
}

.field-error.show {
  display: inline-flex;
}

.field-error::after {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  border-radius: 50%;
  background: #b94a48;
  color: #ffffff;
  font-weight: 700;
  font-size: 11px;
  box-shadow: 0 4px 10px rgba(185, 74, 72, 0.25);
  order: -1;
}

.field-error::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 18px;
  width: 10px;
  height: 10px;
  background: #fff9f8;
  border-left: 1px solid rgba(185, 74, 72, 0.4);
  border-top: 1px solid rgba(185, 74, 72, 0.4);
  transform: rotate(45deg);
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 139, 120, 0.14);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-status {
  font-size: 13px;
  color: var(--muted);
}

.form-status.error {
  color: #b94a48;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.secondary-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(20, 75, 63, 0.12);
  background: var(--accent-soft);
  color: var(--text);
}

.grid3 .card:nth-child(2),
.features .feature:nth-child(2),
.quotes blockquote:nth-child(2) {
  animation-delay: 0.08s;
}

.grid3 .card:nth-child(3),
.features .feature:nth-child(3),
.quotes blockquote:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .container,
  .card,
  .feature,
  blockquote,
  .btn {
    animation: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .grid3,
  .features {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .disclaimer-card .disclaimer-list {
    grid-template-columns: 1fr;
  }

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

  .contact-route-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 46px 0 36px;
    background-position: left center;
    background-size: cover;
  }

  .hero .container {
    width: 100%;
  }

  .sub {
    margin-left: auto;
    margin-right: auto;
  }

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

  .section {
    padding: 52px 0;
  }

  /* Prevent iOS Safari focus-zoom that can cause horizontal scrolling. */
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }

  /* .card img {
    height: 220px;
  } */
}


/* Added for compliance-first layout */
.btn.secondary{
  background: transparent;
  color: var(--accent-strong);
  border: 1px solid rgba(20, 75, 63, 0.25);
  box-shadow: 0 10px 18px rgba(20, 75, 63, 0.08);
}

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

.mini-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.mini-card h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.mini-card p{
  margin: 0;
  color: var(--muted);
}

@media (max-width: 860px){
  .card-grid{ grid-template-columns: 1fr; }
}
