*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; padding: 0 0 96px 0; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; font-size: 1rem; line-height: 1.6; color: #1f2a30; background-color: #ffffff; overflow-wrap: break-word; word-break: break-word; }
.container { width: 100%; padding: 16px; margin: 0 auto; }
@media (min-width: 768px) { .container { max-width: 720px; padding: 24px 16px; } }
.section { padding-top: 28px; padding-bottom: 28px; border-bottom: 1px solid #e4ecee; }
.section:last-of-type { border-bottom: none; }
.hero { padding-top: 12px; }
.site-name { font-size: 0.875rem; color: #3f525c; margin: 0 0 8px 0; font-weight: 600; }
.hero-title { font-size: 1.625rem; line-height: 1.35; margin: 0 0 12px 0; color: #1f2a30; }
.hero-title-chunk { display: inline-block; white-space: nowrap; }
.hero-desc { font-size: 1rem; margin: 0 0 20px 0; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.section-title { font-size: 1.25rem; line-height: 1.4; margin: 0 0 16px 0; padding-left: 10px; border-left: 4px solid #4a9aba; color: #1f2a30; }
.section-lead { font-size: 1rem; margin: 0 0 16px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 10px 14px; font-size: 1rem; font-weight: 700; text-align: center; text-decoration: none; border-radius: 8px; line-height: 1.35; cursor: pointer; }
.btn-primary { background-color: #4a9aba; color: #ffffff; border: 2px solid #4a9aba; }
.btn-secondary { background-color: #ffffff; color: #4a9aba; border: 2px solid #4a9aba; }
.card-list { display: flex; flex-direction: column; gap: 12px; }
.card-link { display: flex; flex-direction: column; justify-content: center; min-height: 68px; padding: 14px 16px; text-decoration: none; color: #1f2a30; background-color: #f6fafb; border: 1px solid #cfe2e9; border-radius: 8px; }
.card-main { font-size: 1.0625rem; font-weight: 700; margin-bottom: 4px; color: #1f2a30; }
.card-sub { font-size: 0.875rem; color: #3f525c; }
.point-list { margin: 0 0 28px 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.point-list-no-bottom { margin-bottom: 0; }
.point-list li { padding: 12px 14px; background-color: #f6fafb; border-left: 4px solid #4a9aba; border-radius: 4px; font-size: 1rem; font-weight: 600; }
.contact-box { padding-top: 28px; border-top: 1px solid #e4ecee; scroll-margin-top: 64px; }
.contact-lead { font-size: 1rem; margin: 0 0 8px 0; }
.dynamic-pricing-note { font-size: 0.875rem; color: #3f525c; margin: 0 0 16px 0; }
.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; flex-direction: column; gap: 6px; }
.contact-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 480px) { .contact-row { grid-template-columns: 1fr 1fr; } }
.contact-note { margin: 0; font-size: 0.875rem; color: #3f525c; }
.services-area { margin-bottom: 16px; }
.status-msg { margin: 0 0 12px 0; padding: 14px; background-color: #f6fafb; border-radius: 8px; font-size: 1rem; }
.service-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.service-item { padding: 14px 16px; border: 1px solid #cfe2e9; border-radius: 8px; background-color: #ffffff; }
.service-category { font-size: 0.875rem; color: #3f525c; margin: 0 0 4px 0; font-weight: 600; }
.service-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.service-name { font-size: 1rem; font-weight: 700; margin: 0; }
.service-price { font-size: 1.125rem; font-weight: 700; color: #1f2a30; margin: 0; }
.service-note { margin: 6px 0 0 0; font-size: 0.875rem; color: #3f525c; }
.services-footer { display: flex; flex-direction: column; gap: 10px; }
.price-note { margin: 0; font-size: 0.875rem; color: #3f525c; }
.step-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.step-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background-color: #f6fafb; border: 1px solid #cfe2e9; border-radius: 8px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background-color: #4a9aba; color: #ffffff; font-size: 0.9375rem; font-weight: 700; line-height: 1; margin-top: 1px; }
.step-text { margin: 0; font-size: 1rem; font-weight: 600; color: #1f2a30; }
.record-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.record-item { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; background-color: #f6fafb; border: 1px solid #cfe2e9; border-radius: 6px; font-size: 1rem; }
.record-label { color: #1f2a30; }
.record-count { font-weight: 700; text-align: right; white-space: nowrap; color: #1f2a30; margin-left: auto; }
.travel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.travel-item { padding: 12px 14px; background-color: #f6fafb; border: 1px solid #cfe2e9; border-radius: 6px; font-size: 1rem; font-weight: 600; color: #1f2a30; }
.travel-fallback { display: flex; flex-direction: column; gap: 12px; }
.tag-list { list-style: none; margin: 0 0 16px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item { display: inline-block; padding: 6px 12px; background-color: #f6fafb; border: 1px solid #cfe2e9; border-radius: 999px; font-size: 0.875rem; font-weight: 600; color: #1f2a30; }
.home-price-action { display: flex; flex-direction: column; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid #cfe2e9; border-radius: 8px; background-color: #ffffff; overflow: hidden; }
.faq-question { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 12px 14px; font-size: 1rem; font-weight: 700; color: #1f2a30; background-color: #f6fafb; cursor: pointer; list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: "＋"; font-size: 1.125rem; font-weight: 700; color: #4a9aba; margin-left: 12px; flex-shrink: 0; }
.faq-item[open] .faq-question::after { content: "－"; }
.faq-answer { margin: 0; padding: 14px; font-size: 1rem; color: #1f2a30; border-top: 1px solid #e4ecee; }
.site-footer { border-top: 2px solid #e4ecee; background-color: #f6fafb; margin-top: 16px; }
.footer-inner { padding-top: 28px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 24px; }
.footer-info { display: flex; flex-direction: column; gap: 4px; }
.footer-brand { margin: 0; font-size: 1rem; font-weight: 700; color: #1f2a30; }
.footer-meta { margin: 0; font-size: 0.875rem; color: #3f525c; }
.footer-sns { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid #cfe2e9; }
.footer-sns-lead { margin: 0; font-size: 1rem; font-weight: 700; color: #1f2a30; }
.footer-sns-actions { display: flex; flex-direction: column; gap: 10px; }
.footer-copy { margin: 0; font-size: 0.875rem; color: #3f525c; text-align: center; padding-top: 12px; border-top: 1px solid #e4ecee; }
.fixed-bar { position: fixed; left: 0; right: 0; bottom: 0; background-color: #ffffff; border-top: 1px solid #cfe2e9; padding: 8px 12px; z-index: 100; }
.fixed-bar-inner { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fixed-bar .btn { font-size: 0.875rem; padding: 8px 6px; }
@media (min-width: 400px) { .fixed-bar .btn { font-size: 0.9375rem; padding: 8px 10px; } }
.area-note {
  margin-bottom: 16px;
}
#home-popular-area .service-list {
  margin-bottom: 16px;
}
.hero-chat { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.hero-chat-note { font-size: 0.9375rem; color: #3f525c; margin: 0; }
.chat-block { margin-bottom: 24px; scroll-margin-top: 64px; }
.chat-title { font-size: 1.0625rem; font-weight: bold; margin: 0 0 4px; }
.chat-note { font-size: 0.875rem; color: #3f525c; margin: 0 0 12px; }
.chat-embed { width: 100%; height: 560px; border: 1px solid #cfe2e9; border-radius: 8px; overflow: hidden; }
.chat-sub-title { font-size: 0.9375rem; font-weight: bold; margin: 12px 0 8px; }
.chat-can-list { margin: 0 0 4px; padding-left: 1.25em; font-size: 0.9375rem; line-height: 1.7; }
.chat-steps { margin-bottom: 12px; }
.contact-sub-title {
  font-size: 0.9375rem;
  font-weight: bold;
  color: #3f525c;
  margin-top: 8px;
  margin-bottom: 8px;
}

.btn-sm {
  min-height: 40px;
  font-size: 0.9375rem;
  padding-top: 8px;
  padding-bottom: 8px;
}
.chatpage-body {
  padding-bottom: 24px;
}

.chatpage-container {
  padding-top: 12px;
  padding-bottom: 12px;
}

.chatpage-heading {
  margin: 0 0 4px 0;
}

.chatpage-lead {
  margin: 0 0 12px 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #1f2a30;
}

.chatpage-embed {
  width: 100%;
  height: calc(100vh - 110px);
  height: calc(100dvh - 110px);
  min-height: 420px;
  border: 1px solid #cfe2e9;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.chatpage-notes {
  margin-top: 16px;
}

.chatpage-note {
  margin: 0 0 8px 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #3f525c;
}

.chatpage-link-wrap {
  margin-top: 16px;
}
.section h3:not(.section-title) { font-size: 1.05rem; line-height: 1.5; margin: 20px 0 10px 0; color: #1f2a30; }

/* ページ内メニュー */
.page-nav { position: sticky; top: 0; z-index: 90; background-color: #ffffff; border-bottom: 1px solid #cfe2e9; overflow-x: auto; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.page-nav::-webkit-scrollbar { display: none; }
.page-nav-inner { display: flex; gap: 8px; width: max-content; min-width: 100%; max-width: none; margin: 0 auto; padding: 8px 16px; }
@media (min-width: 768px) { .page-nav-inner { min-width: 0; width: 720px; max-width: 100%; } }
.page-nav-link { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 36px; padding: 4px 14px; font-size: 0.875rem; font-weight: 700; color: #1f2a30; background-color: #f6fafb; border: 1px solid #cfe2e9; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.section[id], #contact, #chat { scroll-margin-top: 64px; }

/* 右下に浮かぶAIチャット */
.chat-fab { position: fixed; right: 12px; bottom: calc(var(--fixed-bar-h, 64px) + 12px + env(safe-area-inset-bottom, 0px)); z-index: 110; display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 16px; font-size: 0.9375rem; font-weight: 700; font-family: inherit; color: #ffffff; background-color: #4a9aba; border: 0; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: pointer; }
.chat-fab.is-hidden { display: none; }
.chat-panel { position: fixed; left: 8px; right: 8px; top: 8px; bottom: calc(var(--fixed-bar-h, 64px) + 12px + env(safe-area-inset-bottom, 0px)); z-index: 120; display: flex; flex-direction: column; background-color: #ffffff; border: 1px solid #cfe2e9; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.2); overflow: hidden; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(12px); clip-path: inset(50%); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
.chat-panel.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; clip-path: none; }
.chat-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 14px; border-bottom: 1px solid #e4ecee; }
.chat-panel-title { margin: 0; font-size: 1rem; font-weight: 700; color: #1f2a30; }
.chat-panel-close { width: 40px; height: 40px; font-size: 1.5rem; line-height: 1; font-family: inherit; color: #1f2a30; background-color: #f6fafb; border: 1px solid #cfe2e9; border-radius: 999px; cursor: pointer; }
.chat-panel-note { margin: 0; padding: 6px 14px; font-size: 0.8125rem; color: #3f525c; }
.chat-panel-embed { flex: 1; min-height: 0; width: 100%; overflow: hidden; }
@media (min-width: 768px) {
  .chat-fab { right: 20px; }
  .chat-panel { left: auto; top: auto; right: 20px; width: 380px; height: min(600px, calc(100vh - var(--fixed-bar-h, 64px) - 40px)); }
}
@media (prefers-reduced-motion: reduce) { .chat-panel { transition: none; } }
