/* ============================================
   つながるカフェ Momo — style.css
   モバイルファースト・LP用スタイルシート
   ============================================ */

/* ── リセット & ベース ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* カラーパレット */
  --ivory:          #FAF8F3;
  --ivory-warm:     #F5EDE0;
  --apricot-pale:   #FDF0E8;
  --apricot:        #E8A882;
  --terracotta:     #C8673E;
  --terracotta-dk:  #A34D2A;
  --sage:           #8A9E7A;
  --sage-pale:      #EDF2EA;
  --brown:          #3A2416;
  --brown-mid:      #6B4C38;
  --brown-light:    #9C7A65;
  --white:          #FFFFFF;

  /* タイポグラフィ */
  --font-sans:   'Noto Sans JP', sans-serif;
  --font-serif:  'Noto Serif JP', serif;

  /* スペーシング */
  --section-py:  72px;
  --container:   680px;

  /* シャドウ */
  --shadow-sm:  0 2px 10px rgba(58, 36, 22, 0.07);
  --shadow-md:  0 4px 20px rgba(58, 36, 22, 0.11);

  /* ボーダー半径 */
  --radius:     14px;
  --radius-lg:  22px;
  --radius-pill: 100px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--ivory);
  color: var(--brown);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* モバイルでスティッキーバーの高さ分確保 */
@media (max-width: 639px) {
  body { padding-bottom: 76px; }
}

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

address { font-style: normal; }

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

/* ── スティッキーCTAバー（モバイルのみ） ── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid rgba(200, 103, 62, 0.18);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
}

.sticky-bar.visible {
  transform: translateY(0);
}

.sticky-btn {
  display: block;
  width: 100%;
  max-width: 420px;
  background: var(--terracotta);
  color: var(--white);
  text-align: center;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

@media (min-width: 640px) {
  .sticky-bar { display: none; }
}

/* ── 共通ボタン ── */
.btn-primary {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  padding: 18px 52px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 24px rgba(200, 103, 62, 0.38);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--terracotta-dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(200, 103, 62, 0.45);
  outline: none;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary.large {
  padding: 20px 60px;
  font-size: 1.2rem;
}

/* ── 共通セクション ── */
section {
  padding: var(--section-py) 24px;
}

.section-inner-wrap {
  max-width: var(--container);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 700;
  text-align: center;
  color: var(--brown);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.section-title.light { color: var(--white); }

.section-lead {
  text-align: center;
  color: var(--brown-mid);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 40px;
}

.section-lead.light { color: rgba(255, 255, 255, 0.88); }

/* ── ウェーブ仕切り ── */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 48px;
}

.wave-top-terra  { background: var(--terracotta); }
.wave-bottom-terra { background: var(--terracotta); }
.wave-top-apricot  { background: var(--apricot-pale); }
.wave-bottom-apricot { background: var(--apricot-pale); }

/* ── ① ヒーロー ── */
#hero {
  background: linear-gradient(160deg, #FEF7F1 0%, #F9EDE0 55%, #F2E2CE 100%);
  text-align: center;
  padding: 56px 24px 80px;
  position: relative;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.hero-eyebrow {
  font-size: 0.95rem;
  color: var(--terracotta);
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.hero-sub-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--brown-mid);
  letter-spacing: 0.18em;
  margin-bottom: 2px;
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: 4.2rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.0;
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--brown);
  line-height: 2.0;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-bottom: 36px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--brown-mid);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
}

.meta-icon { font-size: 1rem; }

.hero-note {
  margin-top: 16px;
  font-size: 0.84rem;
  color: var(--brown-light);
}

/* ── ② できること ── */
#features {
  background: var(--white);
  padding-top: 64px;
  padding-bottom: 72px;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: var(--container);
  margin: 0 auto;
}

.feature-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--sage-pale);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 0.88rem;
  color: var(--brown-mid);
  line-height: 1.8;
}

/* ── ③ 初めての方へ ── */
#first-time {
  background: var(--terracotta);
  padding: 52px 24px 60px;
}

.reassure-list {
  list-style: none;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.reassure-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.reassure-check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 2px;
}

.reassure-item strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.5;
}

.reassure-item p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  line-height: 1.78;
}

/* ── ④ 開催案内 ── */
#info {
  background: var(--ivory);
  padding-top: 68px;
  padding-bottom: 72px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: var(--container);
  margin: 0 auto 40px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.info-big {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.4;
  margin-bottom: 6px;
}

.info-note {
  font-size: 0.82rem;
  color: var(--brown-light);
  line-height: 1.7;
}

.menu-list {
  list-style: none;
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.88rem;
  color: var(--brown);
  border-bottom: 1px dashed rgba(107, 76, 56, 0.2);
}

.menu-list li:last-child { border-bottom: none; }

.menu-list li span small {
  display: block;
  font-size: 0.76rem;
  color: var(--brown-light);
}

.menu-list strong {
  flex-shrink: 0;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sage-pale);
  color: var(--sage);
  border: 1.5px solid var(--sage);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-map:hover { background: #e3ede0; }

/* 看板犬ヤマト */
.yamato-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  max-width: var(--container);
  margin: 0 auto;
  border-left: 4px solid var(--apricot);
}

.yamato-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--apricot-pale);
  box-shadow: 0 2px 10px rgba(200, 103, 62, 0.15);
}

.yamato-title {
  font-size: 1rem;
  color: var(--brown-mid);
  margin-bottom: 8px;
}

.yamato-title strong {
  color: var(--brown);
  font-size: 1.1rem;
}

.yamato-desc {
  font-size: 0.87rem;
  color: var(--brown-mid);
  line-height: 1.8;
}

.yamato-paw {
  font-size: 1.2rem;
  margin-top: 8px;
}

/* ── ⑤ よくある質問 ── */
#faq {
  background: var(--apricot-pale);
  padding: 60px 24px 68px;
}

.faq-list {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 20px;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brown);
  cursor: pointer;
  text-align: left;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

.faq-q:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: -2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}

.faq-a p {
  padding: 2px 20px 20px;
  font-size: 0.9rem;
  color: var(--brown-mid);
  line-height: 1.85;
  border-top: 1px solid rgba(107, 76, 56, 0.1);
  padding-top: 14px;
}

/* ── ⑥ お申し込み ── */
#contact {
  background: var(--white);
  text-align: center;
  padding-top: 68px;
  padding-bottom: 0;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
  -webkit-tap-highlight-color: transparent;
}

.contact-card:hover,
.contact-card:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-line  { background: #06C755; color: var(--white); }
.card-form  { background: var(--terracotta); color: var(--white); }
.card-tel   { background: var(--sage); color: var(--white); }
.card-mail  { background: var(--apricot-pale); color: var(--brown); border: 1.5px solid var(--apricot); }
.card-insta {
  background: linear-gradient(135deg, #F9A825 0%, #E64A19 45%, #C62828 100%);
  color: var(--white);
}

.contact-icon {
  font-size: 1.65rem;
  flex-shrink: 0;
}

.contact-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.3;
}

.contact-note {
  font-size: 0.78rem;
  opacity: 0.88;
  line-height: 1.4;
}

.contact-arrow {
  font-size: 1.6rem;
  opacity: 0.7;
  flex-shrink: 0;
}

/* 最終CTA */
.final-cta {
  background: linear-gradient(160deg, #FEF7F1 0%, #F5EDE0 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 52px 28px 56px;
  margin-top: 56px;
  text-align: center;
}

.final-cta-copy {
  font-size: 1.08rem;
  color: var(--brown);
  line-height: 2.0;
  margin-bottom: 32px;
}

.final-cta-note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--brown-light);
}

/* フッター */
.site-footer {
  background: var(--brown);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 40px 24px 48px;
  font-size: 0.82rem;
  line-height: 2.1;
}

.footer-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

/* ── デスクトップ対応 ── */
@media (min-width: 640px) {

  .section-title { font-size: 1.6rem; }

  .hero-main-title { font-size: 5rem; }

  .hero-meta {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .feature-card {
    flex-direction: column;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    max-width: var(--container);
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .card-insta {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  :root { --section-py: 96px; }

  .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── アクセシビリティ：動き軽減 ── */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
