:root {
  /* 色を変えるときは、まずこの変数だけ見れば大丈夫です。 */
  --color-bg: #f7f5ef;
  --color-surface: #ffffff;
  --color-soft: #eef5f1;
  --color-text: #22302e;
  --color-muted: #64716e;
  --color-primary: #2f7668;
  --color-primary-dark: #224f48;
  --color-accent: #c8864c;
  --color-border: #dce2dc;
  --shadow: 0 18px 42px rgba(34, 48, 46, 0.08);

  /* 余白・幅の基本設定です。 */
  --font-base: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --container: 1120px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 72px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: var(--space-md);
  font-size: clamp(2.1rem, 5.2vw, 4.35rem);
  line-height: 1.15;
}

h2 {
  margin-bottom: var(--space-sm);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.35;
}

h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.05rem;
  line-height: 1.5;
}

p {
  color: var(--color-muted);
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section {
  padding: var(--space-xl) 0;
}

.section-white {
  background: var(--color-surface);
}

.section-kicker,
.card-label {
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 720px;
  margin-bottom: var(--space-lg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 245, 239, 0.94);
  border-bottom: 1px solid rgba(220, 226, 220, 0.85);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: var(--space-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
}

.brand-copy {
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  padding-top: 28px;
}

.hero-showcase {
  display: grid;
  gap: var(--space-md);
  justify-items: center;
}

.hero-main-image {
  width: min(100%, 760px);
  max-height: calc(100vh - 180px);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-actions {
  justify-content: center;
}

.hero-layout,
.split-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: var(--space-xl);
}

.split-layout {
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: var(--space-lg);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: var(--space-sm);
  font-size: 1.08rem;
}

.hero-tagline {
  margin-bottom: var(--space-lg);
  color: var(--color-primary-dark);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.4;
}

.button-primary {
  background: var(--color-primary);
  color: #fff;
}

.button-primary:hover {
  background: var(--color-primary-dark);
}

.button-secondary {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
}

.button-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.button-light {
  background: #fff;
  color: var(--color-primary-dark);
}

.hero-media {
  position: relative;
}

.image-placeholder,
.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(47, 118, 104, 0.14), rgba(200, 134, 76, 0.18)),
    var(--color-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-muted);
  font-weight: 800;
  text-align: center;
}

.image-placeholder-large {
  min-height: 500px;
  box-shadow: var(--shadow);
}

.hero-photo {
  width: 100%;
  min-height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(300px, calc(100% - 48px));
  padding: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(220, 226, 220, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(34, 48, 46, 0.1);
}

.hero-caption strong,
.hero-caption span {
  display: block;
}

.hero-caption span {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.text-block > p {
  font-size: 1.02rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.value-card {
  padding: var(--space-md);
  background: var(--color-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.value-card p,
.activity-card p,
.news-item p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.activity-card {
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(34, 48, 46, 0.05);
}

.card-image {
  width: 100%;
  height: 170px;
  min-height: 170px;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.card-body {
  padding: var(--space-md);
}

.card-label {
  color: var(--color-accent);
}

.gallery-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.gallery-side,
.gallery-grid {
  display: grid;
  gap: var(--space-md);
}

.gallery-grid {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
  margin: 0;
}

.gallery-image {
  min-height: 210px;
}

.gallery-item-large .gallery-image {
  min-height: 450px;
}

.gallery-item img {
  width: 100%;
  height: 210px;
  min-height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery-item-large img {
  height: 450px;
  min-height: 450px;
}

.flyer-image {
  object-fit: contain;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.guide-card,
.recommend-box {
  padding: var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.guide-card p {
  margin-bottom: 0;
}

.recommend-box {
  background: var(--color-soft);
}

.recommend-box ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  padding-left: 1.2em;
  margin: var(--space-sm) 0 0;
  color: var(--color-muted);
}

.join-panel .contact-list {
  gap: 12px;
}

.gallery-item figcaption {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.join-section {
  background: #f1f7f4;
  color: var(--color-text);
}

.join-section .section-kicker {
  color: var(--color-primary);
}

.join-section p {
  color: var(--color-muted);
}

.join-layout {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  align-items: center;
  gap: var(--space-lg);
}

.join-panel {
  padding: var(--space-md);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.join-panel p {
  margin-bottom: var(--space-md);
}

.instagram-qr-link {
  display: block;
  margin-top: var(--space-md);
}

.instagram-qr {
  display: block;
  width: min(100%, 260px);
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.location-block {
  margin-top: var(--space-lg);
}

.location-copy {
  margin-bottom: var(--space-md);
}

.location-copy h3 {
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.location-copy p {
  margin-bottom: 0;
}

.map-embed {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.news-item time {
  color: var(--color-primary);
  font-weight: 800;
}

.contact-layout {
  align-items: stretch;
}

.contact-lead {
  margin-bottom: var(--space-md);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--space-sm);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.contact-list dt {
  color: var(--color-text);
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
  color: var(--color-muted);
  overflow-wrap: normal;
}

.contact-list a {
  white-space: nowrap;
}

.contact-list a {
  color: var(--color-primary);
  font-weight: 800;
}

.map-placeholder {
  min-height: 360px;
}

.site-footer {
  padding: var(--space-lg) 0;
  background: #22302e;
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-md);
  align-items: start;
}

.footer-inner p,
.footer-inner small {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #cce6df;
}

.footer-inner small {
  grid-column: 1 / -1;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-sm);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero-layout,
  .split-layout,
  .contact-layout,
  .join-layout,
  .gallery-feature {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .activity-grid,
  .gallery-grid,
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-placeholder-large,
  .hero-photo {
    min-height: 360px;
  }

  .map-embed iframe {
    height: 360px;
  }
}

@media (max-width: 720px) {
  :root {
    --space-xl: 52px;
    --space-lg: 32px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .hero .container {
    width: min(100% - 16px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-copy {
    display: none;
  }

  .site-nav {
    top: 68px;
    left: 14px;
    right: 14px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-main-image {
    max-height: none;
  }

  .hero-actions {
    width: min(100%, 560px);
  }

  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .value-grid,
  .activity-grid,
  .gallery-grid,
  .guide-grid,
  .recommend-box ul {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-list div {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
  }

  .hero-caption {
    position: static;
    width: auto;
    margin-top: var(--space-sm);
  }

  .image-placeholder-large,
  .hero-photo,
  .map-placeholder,
  .gallery-item-large .gallery-image {
    min-height: 300px;
  }

  .hero-photo,
  .gallery-item-large img,
  .gallery-item img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .map-embed iframe {
    height: 320px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-list a {
    white-space: normal;
  }
}
