/* ============================================
   介護者カフェ 希望のあかり — style.css
   カラー：アイボリー × あずき色 × カスタード
   ============================================ */

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

:root {
  /* カラーパレット：深みある紫実のあずき色 */
  --ivory:          #FAF8F3;
  --ivory-warm:     #F5EDE0;
  --azuki:          #6E3252;
  --azuki-dk:       #521E3C;
  --azuki-pale:     #F5EEF3;
  --custard:        #EDE898;
  --custard-pale:   #FDFBE8;
  --custard-dk:     #C8C240;
  --sage:           #8A9E7A;
  --sage-pale:      #EDF2EA;
  --momo-salmon:    #B8706A;
  --momo-salmon-dk: #9A5650;
  --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;
}

@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(122, 59, 64, 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(--azuki);
  color: var(--white);
  text-align: center;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  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(--azuki);
  color: var(--white);
  padding: 18px 52px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 24px rgba(122, 59, 64, 0.35);
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--azuki-dk);
  transform: translateY(-2px);
  outline: none;
}
.btn-primary.large { padding: 20px 60px; font-size: 1.2rem; }

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

.section-title {
  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-azuki  { background: var(--azuki); }
.wave-bottom-azuki { background: var(--azuki); }
.wave-top-pale   { background: var(--azuki-pale); }
.wave-bottom-pale { background: var(--azuki-pale); }

/* ── ① ヒーロー ── */
#hero {
  background: linear-gradient(160deg, #FDFBE8 0%, #F8F3D0 50%, #F2EBB8 100%);
  text-align: center;
  padding: 48px 24px 0;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding-bottom: 48px;
}

/* ロゴ画像 */
.hero-logo-wrap {
  margin: 0 auto 24px;
}
.hero-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(192, 32, 32, 0.15);
}

.badge {
  display: inline-block;
  background: var(--azuki);
  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(--azuki);
  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: 1rem;
  font-weight: 400;
  color: var(--brown-mid);
  letter-spacing: 0.18em;
  margin-bottom: 4px;
}

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

.hero-tagline {
  font-size: 1.15rem;
  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);
}

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

.hero-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.btn-flyer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--azuki);
  border: 1.5px solid var(--azuki);
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
}

/* ── ② できること ── */
#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(--custard-pale);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  border-left: 4px solid var(--custard);
}

.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(--azuki);
  padding: 52px 24px 60px;
}

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

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

.reassure-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--custard);
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  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;
}

/* カフェ写真 */
.first-time-photo {
  max-width: var(--container);
  margin: 36px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.first-time-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
@media (min-width: 640px) {
  .first-time-photo img { height: 300px; }
}

/* ── ④ 開催案内 ── */
#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(--azuki);
  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: center;
  gap: 10px;
  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(--azuki); font-weight: 700; }

.menu-photo {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.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;
}

/* 在宅介護あんしん塾バナー */
.anshin-banner {
  max-width: var(--container);
  margin: 0 auto;
}

.anshin-banner-inner {
  background: linear-gradient(135deg, var(--custard-pale) 0%, #FFF8E7 100%);
  border: 2px solid var(--custard);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}

.anshin-badge {
  display: inline-block;
  background: var(--custard);
  color: var(--brown);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.anshin-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 4px;
}

.anshin-sub {
  font-size: 0.85rem;
  color: var(--brown-mid);
  margin-bottom: 10px;
  font-weight: 500;
}

.anshin-desc {
  font-size: 0.88rem;
  color: var(--brown-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}

.btn-anshin {
  display: inline-block;
  background: var(--azuki);
  color: var(--white);
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(122, 59, 64, 0.3);
}

/* ── ⑤ FAQ ── */
#faq {
  background: var(--azuki-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;
  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-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--azuki);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  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: 14px 20px 20px;
  font-size: 0.9rem;
  color: var(--brown-mid);
  line-height: 1.85;
  border-top: 1px solid rgba(107, 76, 56, 0.1);
}

/* ── スタッフ紹介 ── */
#staff {
  background: var(--white);
  padding-top: 64px;
  padding-bottom: 64px;
}

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

@media (min-width: 640px) {
  .staff-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.staff-card {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.staff-card--coming {
  opacity: 0.5;
}

.staff-photo-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
}

.staff-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--azuki-pale);
}

.staff-initial {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--azuki-pale);
  border: 3px solid var(--azuki);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--azuki);
  margin: 0 auto;
}

.staff-nickname {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--azuki);
  margin-bottom: 2px;
  font-family: var(--font-serif);
}

.staff-name {
  font-size: 0.78rem;
  color: var(--brown-mid);
  margin-bottom: 6px;
}

.coming-soon {
  color: var(--brown-light);
  font-style: italic;
}

.staff-role {
  font-size: 0.75rem;
  color: var(--azuki);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 8px;
  min-height: 2.4em;
}

.staff-desc {
  font-size: 0.8rem;
  color: var(--brown-mid);
  line-height: 1.7;
  text-align: left;
  min-height: 3em;
}

/* ── 他の介護者カフェ（Momoはサーモンピンク） ── */
.other-cafe-wrap {
  background: var(--white);
  padding: 0 24px 48px;
}

.other-cafe-card {
  max-width: var(--container);
  margin: 0 auto;
  background: #FDF0EE;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  border-left: 4px solid var(--momo-salmon);
}

.other-cafe-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--momo-salmon);
  margin-bottom: 12px;
}

.other-cafe-body { display: flex; align-items: center; gap: 16px; }

.other-cafe-bubble {
  display: inline-block;
  background: var(--momo-salmon);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  position: relative;
}
.other-cafe-bubble::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 0 5px 8px;
  border-style: solid;
  border-color: transparent transparent transparent var(--momo-salmon);
}

.other-cafe-info { flex: 1; }
.other-cafe-name { font-size: 0.95rem; font-weight: 700; color: var(--brown); margin-bottom: 3px; }
.other-cafe-desc { font-size: 0.82rem; color: var(--brown-mid); line-height: 1.7; margin-bottom: 8px; }
.other-cafe-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--momo-salmon);
  border-bottom: 1px solid var(--momo-salmon);
  padding-bottom: 1px;
}

/* LINEカードのアイコン画像 */
.contact-line-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Instagramカード */
.card-insta {
  background: linear-gradient(135deg, #F9A825 0%, #E64A19 45%, #C62828 100%);
  color: var(--white);
}

/* Threadsカード（削除・念のため残す） */
.card-threads { background: var(--brown); color: var(--white); }

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

.contact-title-sub {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--azuki);
  margin-top: 6px;
}

#contact .section-title { font-size: 1.2rem; line-height: 1.7; }

.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(--azuki); color: var(--white); }
.card-tel   { background: var(--sage); color: var(--white); }
.card-mail  { background: var(--azuki-pale); color: var(--brown); border: 1.5px solid #D4AAAD; }

.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; }
.contact-arrow { font-size: 1.6rem; opacity: 0.7; flex-shrink: 0; }

/* LINE友だち追加ボタン */
.line-add-btn { display: flex; justify-content: center; margin-top: -4px; }
.line-add-btn img { display: block; height: 40px; width: auto; }

/* 最終CTA */
.final-cta {
  background: linear-gradient(160deg, #FBF8F0 0%, #F6EFE0 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(--azuki-dk);
  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; }

/* venue写真：ヒーロー下部の帯 */
.hero-venue-photo {
  width: 100%;
  line-height: 0;
}
.hero-venue-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
@media (min-width: 640px) {
  .hero-venue-photo img { height: 260px; }
}

/* Threadsカード */
.card-threads {
  background: var(--brown);
  color: var(--white);
}

/* ── デスクトップ対応 ── */
@media (min-width: 640px) {
  .section-title { font-size: 1.6rem; }
  .hero-main-title { font-size: 4rem; }
  .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;
  }
}

@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; }
}
