:root {
  color-scheme: light;
  --bg: #fff8d7;
  --surface: #fff;
  --surface-strong: #fff4b8;
  --text: #333;
  --text-muted: #4d4d4d;
  --accent: #f0c21d;
  --accent-dark: #c69511;
  --shadow: 0 24px 60px rgba(146, 107, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Yu Gothic", "ヒラギノ角ゴ ProN", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fff8d7 0%, #fffbe2 45%, #ffffff 100%);
  color: var(--text);
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(146, 107, 0, 0.1);
}

.site-brand a {
  color: var(--accent-dark);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-dark);
}

.hero {
  position: relative;
  padding: 48px 30px;
  border-radius: 32px;
  background: radial-gradient(circle at top left, rgba(240, 194, 29, 0.18), transparent 40%),
    linear-gradient(180deg, #ffeb9a 0%, #ffe56b 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero p {
  margin: 18px 0 0;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 760px;
}

.hero__cta {
  margin-top: 24px;
}

.hero__cta .btn-primary {
  display: inline-flex;
}

.contact-section {
  margin: 40px 0 0;
}

.contact-form label span {
  display: block;
  line-height: 1.4;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 16px;
}

.tab-button {
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tab-button:hover,
.tab-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.tab-button.active {
  background: var(--accent);
  color: #111;
  box-shadow: 0 12px 28px rgba(153, 111, 13, 0.18);
}

.section-header {
  margin-bottom: 20px;
}

.section-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(240, 194, 29, 0.14);
  color: var(--accent-dark);
  font-weight: 700;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.section-header p {
  margin: 12px 0 0;
  color: var(--text-muted);
  max-width: 760px;
}

.intro-text {
  margin: 28px 0 0;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 760px;
}

.service-section {
  margin: 40px 0 0;
}

.contact-section {
  margin: 40px 0 0;
}

.contact-panel {
  border-radius: 32px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(146, 107, 0, 0.12);
}

.contact-notice {
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f5f2e6;
  color: var(--text-muted);
  border: 1px solid #e5d784;
}

.contact-notice strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-dark);
}

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

.contact-form--disabled {
  position: relative;
  opacity: 0.6;
  pointer-events: none;
}

.contact-form--disabled::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.35);
}

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

.contact-form label {
  display: grid;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #e5d784;
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
}

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

.contact-form .required {
  color: var(--accent-dark);
  font-size: 0.95rem;
}

.turnstile-wrapper {
  margin-top: 8px;
}

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

.btn-primary {
  border: none;
  border-radius: 999px;
  padding: 16px 28px;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(153, 111, 13, 0.2);
}

.form-status {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.service-section .section-header {
  margin-bottom: 24px;
}

.service-section .card-grid {
  gap: 18px;
}

.illustration-section {
  margin: 32px 0 0;
}

.illustration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.illustration-card {
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(171, 128, 13, 0.1);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.illustration-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8d46d 0%, #f5bf24 100%);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.illustration-card__icon svg {
  width: 38px;
  height: 38px;
}

.illustration-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.illustration-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card {
  border-radius: 28px;
  padding: 26px;
  background: var(--surface);
  box-shadow: 0 18px 36px rgba(171, 128, 13, 0.12);
  min-height: 220px;
}

.card--accent {
  background: var(--surface-strong);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.card dl {
  margin: 0;
}

.card dt {
  font-weight: 700;
  margin-top: 12px;
}

.card dd {
  margin: 4px 0 0 0;
  color: var(--text-muted);
}

.card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.map-frame {
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  background: #f6e675;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.map-frame iframe {
  width: 100%;
  min-height: 220px;
  border: 0;
}

.map-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 36px;
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 960px) {
  .illustration-grid,
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding: 40px 24px;
  }
}

@media (max-width: 840px) {
  .illustration-grid,
  .card-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 36px 22px;
  }
  .illustration-card,
  .card,
  .contact-panel {
    min-height: auto;
  }
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px;
  }
  .hero {
    padding: 30px 18px;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero p,
  .section-header p,
  .illustration-card p,
  .card p,
  .map-note {
    font-size: 0.98rem;
  }
  .tabs {
    gap: 10px;
  }
  .tab-button {
    width: 100%;
    text-align: center;
  }
  .illustration-grid,
  .card-grid {
    gap: 18px;
  }
  .map-frame iframe {
    min-height: 200px;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
