:root {
  --bg: #eaf3f6;
  --card-bg: #ffffff;
  --accent-deep: #1f5b73;
  --accent-mid: #4f8fa8;
  --accent-soft: #cfe6ee;
  --accent-softer: #e4f1f5;
  --text-main: #2b3d44;
  --text-sub: #6b8894;
  --border: #cfe1e7;
  --tag-required-bg: #1f5b73;
  --tag-optional-bg: #9fb9c2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: linear-gradient(180deg, #eef6f8 0%, #dcedf2 100%);
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text-main);
  display: flex;
  justify-content: center;
  padding: 96px 16px 80px;
}

/* ===== 固定ヘッダー ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  box-shadow: 0 2px 12px rgba(31, 91, 115, 0.06);
}

.site-header-inner {
  max-width: 620px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.header-brand {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.5;
  text-decoration: none;
}

.header-brand:hover { opacity: 0.7; }

.header-brand .brand-sub {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  font-weight: 500;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--accent-deep);
}

.header-phone .icon { font-size: 13px; }

.header-phone .number {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ===== ページ全体 ===== */

.page {
  width: 100%;
  max-width: 620px;
}

/* ===== ヒーロー ===== */

.hero {
  text-align: center;
  margin: 0 0 22px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.trust-badge {
  background: var(--accent-softer);
  color: var(--accent-deep);
  font-size: 15px;
  padding: 9px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.trust-badge::before {
  content: "✓";
  color: var(--accent-mid);
}

.hero-plain-text {
  text-align: center;
  font-size: 17px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--accent-deep);
  border-radius: 12px;
  padding: 16px;
}

/* ===== カード共通 ===== */

.card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 32px 26px;
  box-shadow: 0 12px 30px rgba(31, 91, 115, 0.08);
  margin: 30px 0 28px;
}

/* ===== フォーム ===== */

.field-block {
  margin-top: 24px;
}

.field-block:first-of-type {
  margin-top: 0;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 600;
}

.tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.tag.required { background: var(--tag-required-bg); }
.tag.optional { background: var(--tag-optional-bg); }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 14px;
  font-size: 15px;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text-main);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(31, 91, 115, 0.1);
}

input::placeholder, textarea::placeholder {
  color: #a8bcc3;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.hint {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 6px;
}

.divider-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-sub);
  font-size: 12px;
  margin: 30px 0 24px;
}

.divider-label::before, .divider-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-sub);
  margin: 28px 0 20px;
  cursor: pointer;
}

.checkbox-row input {
  margin-top: 2px;
  accent-color: var(--accent-deep);
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  background: var(--accent-deep);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 18px;
  font-size: 15.5px;
  letter-spacing: 0.1em;
  cursor: pointer;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(31, 91, 115, 0.2);
  transition: opacity 0.2s;
}

.submit-btn:hover { opacity: 0.9; }

.submit-note {
  text-align: center;
  font-size: 12px;
  color: var(--accent-deep);
  background: var(--accent-softer);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 14px;
  line-height: 1.7;
}

/* ===== サンクスカード ===== */

.thank-you {
  display: none;
  text-align: center;
  animation: fadeInUp 0.6s ease forwards;
}

.thank-you.show { display: block; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.ty-icon {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  display: block;
}

.ty-title {
  font-size: 1.2rem;
  color: var(--accent-deep);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.ty-body {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 2;
  max-width: 380px;
  margin: 0 auto;
}

.ty-line {
  width: 50px;
  height: 2px;
  background: var(--accent-soft);
  margin: 1.4rem auto;
  border-radius: 2px;
}

.ty-brand {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--accent-deep);
  text-transform: uppercase;
}

/* ===== フッター ===== */

.footer-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 30px 30px 34px;
  box-shadow: 0 12px 30px rgba(31, 91, 115, 0.08);
}

.footer-phone-block {
  background: linear-gradient(135deg, var(--accent-soft), #e4f1f5);
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
  margin-bottom: 24px;
}

.footer-phone-block .label {
  font-size: 12px;
  color: var(--accent-deep);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.footer-phone-block .phone {
  font-size: 30px;
  color: var(--accent-deep);
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-phone-block .hours {
  font-size: 11.5px;
  color: var(--text-sub);
}

.footer-info {
  font-size: 12.5px;
  line-height: 2;
  color: var(--text-sub);
}

.footer-info .name {
  color: var(--text-main);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.pin { color: #c0525a; }

/* ===== MAP SECTION ===== */

.map-section {
  margin-top: 28px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 12px 30px rgba(31, 91, 115, 0.08);
}

.map-info {
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.map-icon-col {
  font-size: 1.4rem;
  padding-top: 2px;
  flex-shrink: 0;
}

.map-text h3 {
  font-size: 0.98rem;
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.map-text p {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.map-frame {
  width: 100%;
  height: 260px;
  border: none;
  display: block;
}
