:root {
  --theme-green: rgb(111, 188, 44);
  --theme-green-dark: rgb(88, 150, 35);
  --theme-green-soft: rgba(111, 188, 44, 0.12);
  --theme-green-soft-strong: rgba(111, 188, 44, 0.18);
  --theme-border-soft: rgba(111, 188, 44, 0.28);

  --color-text: #1d1d1f;
  --color-text-soft: #4b5563;
  --color-text-muted: #6b7280;
  --color-bg: #f6f7fb;
  --color-surface: #ffffff;
  --color-surface-soft: #f9fafb;
  --color-border: #e7eaf2;
  --color-border-strong: #d7ddea;

  --shadow-card: 0 10px 24px rgba(18, 24, 40, 0.06);
  --shadow-button: 0 10px 18px rgba(88, 150, 35, 0.22);

  --radius-card: 24px;
  --radius-card-lg: 28px;
  --radius-pill: 999px;
  --radius-md: 16px;
  --radius-sm: 14px;

  --container-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(var(--container-width), calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.site-logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

/* Hero */
.hero {
  padding: 64px 0 40px;
  background:
    linear-gradient(135deg, var(--theme-green-soft), rgba(255, 255, 255, 0.7)),
    var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--theme-green-dark);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
}

.hero-copy {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--color-text-soft);
  font-size: 1.05rem;
}

/* Common layout */
.page-main {
  padding: 40px 0 72px;
}

.section {
  margin-bottom: 48px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
}

.section-heading p {
  margin: 0;
  color: var(--color-text-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* Shared surfaces */
.article-card,
.article-main,
.sidebar-box,
.submit-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.article-card,
.submit-form {
  border-radius: var(--radius-card);
}

.article-main {
  border-radius: var(--radius-card-lg);
}

.sidebar-box {
  border-radius: 22px;
}

/* Article cards */
.article-card {
  overflow: hidden;
}

.article-card__link {
  display: block;
  height: 100%;
}

.article-card__image {
  height: 220px;
  background: linear-gradient(135deg, var(--theme-green-dark), var(--theme-green));
}

.article-card__image--sample {
  position: relative;
}

.article-card__image--sample::after {
  content: "Sample";
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 700;
}

.article-card__body {
  padding: 22px;
}

.article-card__meta,
.article-meta {
  margin: 0 0 8px;
  color: var(--color-text-muted);
}

.article-card__meta {
  font-size: 0.83rem;
}

.article-meta {
  font-size: 0.9rem;
}

.article-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.4;
}

.article-card__excerpt {
  margin: 0 0 18px;
  color: var(--color-text-soft);
}

.article-card__cta {
  font-weight: 700;
  color: var(--theme-green-dark);
}

.article-card--ghost {
  display: flex;
  align-items: center;
  min-height: 100%;
  background: #fafbff;
  border-style: dashed;
}

.article-card__body code {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--theme-green-soft);
  color: var(--theme-green-dark);
  font-size: 0.82rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.article-card__actions {
  margin-top: 16px;
}

/* Buttons / links */
.primary-button,
.inline-link-button {
  display: inline-block;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.primary-button {
  appearance: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--theme-green-dark), var(--theme-green));
  color: #fff;
}

.inline-link-button {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: var(--theme-green-soft);
  color: var(--theme-green-dark);
}

/* Article layout */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  padding: 36px 0 72px;
}

.article-main {
  padding: 32px;
}

.article-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.2;
}

.article-lead {
  margin: 18px 0 28px;
  color: var(--color-text-soft);
  font-size: 1.06rem;
}

.article-hero {
  height: 340px;
  margin-bottom: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--theme-green-dark), var(--theme-green));
}

.article-body h2 {
  margin: 40px 0 12px;
  font-size: 1.45rem;
  line-height: 1.35;
}

.article-body p {
  margin: 0 0 18px;
  color: #333b48;
}

/* Ad blocks */
.ad-block {
  margin: 28px 0;
  padding: 18px;
  border-radius: 20px;
  background: var(--theme-green-soft);
  border: 1px solid var(--theme-border-soft);
}

.ad-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
}

.ad-banner,
.ad-banner--secondary {
  display: block;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: var(--shadow-button);
}

.ad-banner {
  background: linear-gradient(135deg, var(--theme-green-dark), var(--theme-green));
}

.ad-banner--secondary {
  background: linear-gradient(135deg, rgb(75, 128, 30), rgb(132, 198, 76));
}

/* Embed blocks */
.embed-block {
  margin: 28px 0;
  padding: 20px;
  border-radius: 20px;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
}

.embed-block__header h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.embed-block__header p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.embed-placeholder {
  display: grid;
  place-items: center;
  min-height: 340px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, var(--theme-green-soft), rgba(255, 255, 255, 0.7)),
    #fff;
  border: 1px dashed var(--theme-border-soft);
  color: var(--color-text-soft);
  font-weight: 700;
}

.embed-placeholder--map {
  min-height: 280px;
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-box {
  padding: 22px;
}

.sidebar-box h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.meta-list,
.link-list {
  margin: 0;
  padding-left: 18px;
  color: var(--color-text-soft);
}

/* Forms */
.submit-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
}

.submit-result {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--theme-green-soft);
  border: 1px solid var(--theme-border-soft);
  color: #1f2937;
  white-space: pre-wrap;
}

/* Footer */
.site-footer {
  padding: 28px 0 40px;
  color: var(--color-text-muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-main {
    padding: 24px;
  }

  .article-hero {
    height: 240px;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 60px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 48px 0 32px;
  }

  .embed-placeholder {
    min-height: 220px;
  }
}
.embed-toggle-group {
  display: grid;
  gap: 16px;
}

.embed-toggle-card {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
}

.conditional-field {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.conditional-field.is-hidden {
  display: none;
}

.field-note {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.embed-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 18px;
  background: #fff;
}

.embed-frame--map {
  min-height: 320px;
}
.panorama-viewer-block {
  margin-bottom: 28px;
}

.panorama-viewer {
  width: 100%;
  height: 520px;
  border-radius: 22px;
  overflow: hidden;
  background: #dfe6d6;
}

.panorama-viewer.is-loading {
  display: grid;
  place-items: center;
  color: var(--color-text-soft);
  font-weight: 700;
}
.panorama-viewer-block {
  margin-bottom: 28px;
}

.panorama-viewer {
  width: 100%;
  height: 520px;
  border-radius: 22px;
  overflow: hidden;
  background: #dfe6d6;
}

.panorama-viewer.is-loading {
  display: grid;
  place-items: center;
  color: var(--color-text-soft);
  font-weight: 700;
}