/* ============================================================
   Morning Hill — Landing Page
   テーマ: 朝の光、ベージュ＋オレンジ、ミニマル＆温かみ
   ============================================================ */

:root {
  --bg: #FFFCF7;
  --bg-alt: #F7F1E8;
  --bg-deep: #2A2520;
  --text: #2A2520;
  --text-muted: #6B5F52;
  --text-light: #9B8E80;
  --accent: #E8804A;
  --accent-dark: #C76636;
  --accent-soft: #FCEDDF;
  --border: #E8DFD2;
  --white: #FFFFFF;

  --font-serif: 'Playfair Display', 'Noto Serif JP', serif;
  --font-sans: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 3px rgba(42, 37, 32, 0.06), 0 1px 2px rgba(42, 37, 32, 0.04);
  --shadow-md: 0 4px 16px rgba(42, 37, 32, 0.08);
  --shadow-lg: 0 12px 40px rgba(42, 37, 32, 0.12);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  --container: 1120px;
  --header-h: 72px;
  --banner-h: 36px;
}

/* デザインモック告知バー（最上部・固定） */
.demo-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-deep);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0 16px;
  z-index: 101;
  white-space: nowrap;
  overflow: hidden;
}
.demo-banner b {
  color: var(--accent);
  font-weight: 600;
  margin: 0 4px;
}
.demo-banner__short { display: none; }
.demo-banner__full { display: inline; }
@media (max-width: 640px) {
  .demo-banner__full { display: none; }
  .demo-banner__short { display: inline; }
  .demo-banner { font-size: 11px; padding: 0 12px; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--banner-h));
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 日本語の禁則処理を強める（長音「ー」「。」などが行頭に来ない） */
  line-break: strict;
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Header / Navigation ============ */

.site-header {
  position: fixed;
  top: var(--banner-h); left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 252, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.brand-mark svg {
  width: 100%;
  height: 100%;
}

.nav-list {
  display: flex;
  gap: 32px;
}
.nav-list a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-list a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}

/* ============ Hero ============ */

.hero {
  min-height: 100vh;
  padding-top: calc(var(--header-h) + var(--banner-h));
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 80% 25%, rgba(232, 128, 74, 0.22), transparent 70%),
    linear-gradient(90deg, rgba(255, 252, 247, 0.92) 0%, rgba(255, 252, 247, 0.55) 45%, rgba(255, 252, 247, 0.1) 100%),
    url('images/hero.png') center/cover no-repeat;
  z-index: -1;
}
.hero-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px 120px;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.2em;
  color: var(--accent-dark);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.meta-chip .icon {
  width: 15px;
  height: 15px;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232, 128, 74, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 128, 74, 0.45);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  opacity: 0.6;
}
.hero-scroll-hint span {
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  margin-top: 6px;
  animation: scrollHint 1.6s infinite;
}
@keyframes scrollHint {
  0%, 20% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(12px); }
}

/* ============ Sections (shared) ============ */

.section {
  padding: 120px 0;
  position: relative;
}
.section-alt { background: var(--bg-alt); }

.section-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--accent-dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 64px;
}

/* 階段状の改行（前の行の終わりから少しズラして次の行を始める） */
.title-line {
  display: block;
  text-wrap: balance;  /* 自然な折り返しで「空間」のような熟語の分割を回避 */
}
.title-line + .title-line { padding-left: 1.8em; }

/* 3段目の補助 span（モバイルで block 化 + さらに字下げ） */
.title-line__sub { display: inline; }

@media (max-width: 640px) {
  .title-line + .title-line { padding-left: 0.8em; }

  /* モバイルでは熟語（時間 等）を割らない */
  .hero-title .title-line,
  .section-title .title-line {
    word-break: keep-all;
    overflow-wrap: anywhere;  /* それでも収まらない時のフォールバック */
  }

  /* 3段目を独立行にして、2段目よりさらに右へ */
  .title-line__sub {
    display: block;
    padding-left: 1.4em;  /* 2段目の 0.8em より深く */
  }
}
.section-lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 56px;
  max-width: 720px;
}

/* ============ About ============ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text p {
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 15.5px;
}
.about-image {
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.feature p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============ Menu ============ */

.menu-group { margin-bottom: 80px; }
.menu-group:last-of-type { margin-bottom: 32px; }

.menu-group-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.menu-card-feature {
  border-color: var(--accent);
  border-width: 2px;
}
.menu-thumb {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--accent-soft) 100%);
}
.menu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.menu-card:hover .menu-thumb img {
  transform: scale(1.05);
}
.menu-body {
  padding: 24px;
  position: relative;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent);
  color: var(--white);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.menu-body h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.menu-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.menu-price {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-dark);
}
.menu-note {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}

/* ============ Space ============ */

.space-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.space-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.space-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.space-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(42, 37, 32, 0.55) 100%);
  pointer-events: none;
}
.space-visual-caption {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 1;
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  letter-spacing: 0.1em;
  opacity: 0.98;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.space-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.space-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: center;
}
.space-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}
.space-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.space-list h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.space-list p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============ Community ============ */

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.event-card {
  padding: 40px 32px;
  background: var(--white);
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.event-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.event-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.event-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.community-cta {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
}
.link-accent {
  color: var(--accent-dark);
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
}

/* ============ Access ============ */

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.info-list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.info-list > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.info-list dt {
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  color: var(--accent-dark);
  letter-spacing: 0.05em;
}
.info-list dd {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
}
.access-map {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.access-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.map-label-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 12px 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-family: var(--font-serif);
  font-weight: 600;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
}

/* ============ Footer ============ */

.site-footer {
  background: var(--bg-deep);
  color: var(--white);
  padding: 80px 0 40px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
}
.footer-social {
  display: flex;
  gap: 32px;
}
.footer-social a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color .2s;
}
.footer-social a:hover { color: var(--accent); }
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

/* ============ Fade-in on scroll ============ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */

@media (max-width: 900px) {
  .about-grid,
  .space-grid,
  .access-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 80px 0; }
  .section-title { margin-bottom: 48px; }
  .space-visual { max-width: 480px; margin: 0 auto; }
  .access-map { max-width: 480px; margin: 0 auto; width: 100%; }
}

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

  .nav {
    position: fixed;
    inset: calc(var(--header-h) + var(--banner-h)) 0 0 0;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav.open { transform: translateX(0); }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 32px 24px;
  }
  .nav-list a {
    display: block;
    padding: 20px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--border);
  }
  body.nav-open { overflow: hidden; }

  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .menu-grid { grid-template-columns: 1fr; }
  .info-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hide-sp { display: none; }
  .hero-content { padding: 60px 24px 80px; }
  .container { padding: 0 20px; }
}
