/* ======================================
   shindenmirai common.css
   ====================================== */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

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

/* Astra デフォルトヘッダー/フッター非表示 */
#masthead, .main-header-bar, .ast-header-html-markup,
.ast-above-header, .ast-below-header,
#colophon.site-footer, .ast-footer-html-markup,
.ast-builder-layout-element { display: none !important; }

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

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

ul,ol{list-style:none}

:root {
  --yellow: #FFD234;
  --yellow-light: #FFF4C2;
  --yellow-pale: #FFFBE6;
  --orange: #F5A623;
  --orange-dark: #E8951A;
  --pink: #F47FB5;
  --green: #6BBF4E;
  --green-light: #E8F5E0;
  --blue: #4AADE8;
  --blue-light: #E3F2FD;
  --brown: #5C3D2E;
  --brown-light: #7A5A48;
  --text: #333;
  --text-light: #666;
  --white: #FFFFFF;
  --bg: #FFFDF7;
  --max-w: 1100px;
}

html { scroll-behavior: smooth }

body {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  -webkit-font-smoothing: antialiased;
}

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

.color-bar {
  position: fixed; top: 0; left: 0; width: 100%; height: 4px; z-index: 200;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--green), var(--blue));
}

.site-header {
  position: fixed; top: 4px; left: 0; width: 100%; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

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

.logo { display: flex; align-items: center; gap: 12px }

.logo img { height: 48px; width: auto }

.logo-text { font-size: 15px; font-weight: 700; color: var(--brown); line-height: 1.3 }

.logo-text small { display: block; font-size: 11px; font-weight: 400; color: var(--text-light) }

.gnav { display: flex; gap: 20px; align-items: center }

.gnav a {
  font-size: 14px; font-weight: 500; color: var(--text);
  padding: 4px 0; transition: color 0.3s;
  letter-spacing: 0.05em;
  position: relative;
  white-space: nowrap;
}

.gnav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--orange); transition: width 0.3s;
}

.gnav a:hover { color: var(--orange) }

.gnav a:hover::after { width: 100% }

.gnav-item-wrap { position: relative; display: inline-flex; align-items: center }

.gnav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  min-width: 120px; padding: 6px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}

.gnav-item-wrap:hover .gnav-dropdown { opacity: 1; visibility: visible; transform: translateY(0) }

.gnav-dropdown li a {
  display: block; padding: 8px 16px;
  font-size: 14px; font-weight: 600; color: var(--brown);
  white-space: nowrap; transition: background 0.2s;
}

.gnav-dropdown li a:hover { background: var(--yellow-pale); color: var(--orange) }

.gnav-dropdown li a::after { display: none }

.header-right { display: flex; align-items: center; gap: 12px }

.header-tel {
  font-size: 20px; font-weight: 700; color: var(--brown);
  display: flex; align-items: center; gap: 8px;
  letter-spacing: 0.04em;
}

.header-tel svg { width: 20px; height: 20px; color: var(--orange) }

.header-tel-sub {
  display: block; font-size: 10px; font-weight: 500;
  color: var(--text-light); letter-spacing: 0; line-height: 1;
  margin-top: 2px;
}

.header-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700;
  background: var(--orange); color: var(--white);
  padding: 12px 24px; border-radius: 24px;
  transition: background 0.3s;
  letter-spacing: 0.1em;
}

.header-cta:hover { background: var(--orange-dark) }

.mnav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative;
}

.mnav-toggle span {
  display: block; position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--brown); transition: 0.3s;
}

.mnav-toggle span:nth-child(1) { top: 0 }

.mnav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%) }

.mnav-toggle span:nth-child(3) { bottom: 0 }

.mnav-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg) }

.mnav-toggle.active span:nth-child(2) { opacity: 0 }

.mnav-toggle.active span:nth-child(3) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg) }

.mnav-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(92,61,46,0.5); z-index: 98;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}

.mnav-overlay.active { opacity: 1; visibility: visible }

.mnav-panel {
  position: fixed; top: 0; right: -300px; width: 280px; height: 100%;
  background: var(--white); z-index: 99;
  padding: 88px 0 32px; overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
}

.mnav-panel.active { right: 0 }

.mnav-panel a {
  display: block; padding: 16px 32px;
  font-size: 16px; font-weight: 600; color: var(--brown);
  border-bottom: 1px solid var(--yellow-light);
  transition: background 0.2s;
}

.mnav-panel a:hover { background: var(--yellow-pale) }

.mnav-panel .mnav-tel {
  display: flex; align-items: center; gap: 8px;
  padding: 20px 32px; font-size: 20px; font-weight: 700;
  color: var(--orange); border-bottom: none;
}

.mnav-panel .mnav-tel svg { width: 20px; height: 20px }

.mnav-panel .mnav-cta {
  display: block; margin: 16px 24px; padding: 14px;
  background: var(--orange); color: var(--white);
  text-align: center; border-radius: 8px;
  font-size: 16px; font-weight: 700; border-bottom: none;
}

.mnav-panel .mnav-cta:hover { background: var(--orange-dark) }

.wave-separator { display: block; width: 100%; line-height: 0; margin: -1px 0 }

.wave-separator svg { display: block; width: 100%; height: auto }

.wave-separator--flip { transform: scaleY(-1) }

.section { padding: 80px 0 }

.section-header { text-align: center; margin-bottom: 48px }

.section-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  opacity: 1;
  letter-spacing: 0.2em;
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  text-transform: uppercase;
}

.section-title {
  font-size: 30px; font-weight: 700; color: var(--brown);
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block; width: 40px; height: 3px;
  background: var(--yellow); margin: 12px auto 0;
  border-radius: 2px;
}

.section-desc {
  font-size: 18px; color: var(--text-light);
  margin-top: 20px; max-width: 600px; margin-left: auto; margin-right: auto;
  line-height: 1.8;
}

.feature-more-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--orange);
  border: 2px solid var(--orange); padding: 14px 36px;
  border-radius: 8px; transition: background 0.3s, color 0.3s;
  letter-spacing: 0.1em; margin-top: 16px;
}

.feature-more-btn:hover {
  background: var(--orange); color: var(--white);
}

.feature-more-btn svg { flex-shrink: 0 }

.section-divider {
  text-align: center; padding: 40px 0;
}

.section-divider svg { width: 120px; height: auto }

.cta-section {
  background: var(--orange); padding: 160px 0 100px; text-align: center;
  position: relative;
}
.cta-wave {
  position: absolute; top: 0; left: 0; width: 100%;
  height: 80px; overflow: hidden; line-height: 0;
  background-color: var(--white);
}
.cta-wave svg { display: block; width: 100%; height: 100%; }

.cta-section h2 {
  font-size: 42px; font-weight: 700; color: var(--white); margin-bottom: 16px;
  letter-spacing: 0.12em;
}

.cta-section .cta-lead {
  font-size: 18px; color: rgba(255,255,255,0.95); margin-bottom: 48px;
}

.cta-buttons {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 18px; font-weight: 700;
  padding: 22px 48px; border-radius: 16px;
  transition: transform 0.2s, box-shadow 0.2s; letter-spacing: 0.1em;
}

.cta-btn:hover { opacity: 0.92 }

.cta-btn--tel {
  background: var(--white); color: var(--brown);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.cta-btn--tel:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.18) }

.cta-btn--mail {
  background: var(--brown); color: var(--white);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.cta-btn--mail:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.22) }

.cta-btn--tel .tel-num { font-size: 26px; font-weight: 700 }

.cta-btn--tel .tel-sub { font-size: 11px; color: var(--text-light); display: block }

.cta-btn svg { width: 22px; height: 22px; flex-shrink: 0 }

.site-footer {
  background: var(--brown); color: rgba(255,255,255,0.8);
  padding: 48px 0 20px;
}

.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
}

.footer-info h3 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 4px }

.footer-info .corp { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 12px }

.footer-info p { font-size: 13px; line-height: 1.7 }

.footer-info .tel-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 16px; font-weight: 600; color: var(--yellow); margin-top: 10px;
}

.footer-sns { display: flex; gap: 10px; margin-top: 14px }

.footer-sns a {
  width: 36px; height: 36px; background: rgba(255,255,255,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); transition: background 0.3s;
}

.footer-sns a:hover { background: var(--yellow); color: var(--brown) }

.footer-nav h4 {
  font-size: 12px; font-weight: 600; color: var(--yellow);
  margin-bottom: 12px; letter-spacing: 0.1em;
}

.footer-nav a {
  display: block; font-size: 13px; color: rgba(255,255,255,0.7);
  padding: 4px 0; transition: color 0.3s;
}

.footer-nav a:hover { color: var(--yellow) }

.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 32px;
  text-align: center; font-size: 11px; color: rgba(255,255,255,0.35);
}

.fixed-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--white); border-top: 3px solid var(--yellow);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  display: none; justify-content: center; gap: 0;
  transition: transform 0.4s;
}

.fixed-cta.hidden { transform: translateY(100%) }

.fixed-cta-label, .fixed-cta-note { display: none }

.fixed-cta-btn { display: none }

.fixed-cta-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 28px; font-size: 10px; font-weight: 600;
  color: var(--text); transition: color 0.3s;
}

.fixed-cta-item svg { width: 22px; height: 22px; color: var(--orange) }

.fixed-cta-item:hover { color: var(--orange) }

.fixed-cta-item--accent {
  background: var(--orange); color: var(--white);
  padding: 10px 36px; margin: -3px 0 0; border-radius: 0 0 12px 12px;
}

.fixed-cta-item--accent svg { color: var(--white) }

.fixed-cta-item--accent:hover { background: var(--orange-dark); color: var(--white) }

@media (max-width: 768px) {
  .gnav, .header-right { display: none }
  .mnav-toggle { display: block }
  .header-inner { height: 64px }
  .hero { margin-top: 68px }
  .hero::before { background: rgba(255,244,194,0.88) }
  .hero-grid { min-height: auto }
  .hero-copy { padding: 40px 24px 24px; text-align: center; align-items: center; max-width: 100% }
  .hero-copy h1 { font-size: 30px }
  .feature-block-img { min-height: 260px }
  .hero-badges { justify-content: center }
  .hero-ctas { justify-content: center }
  .side-actions { display: none !important }
  .for-you-grid { grid-template-columns: repeat(2, 1fr) }
  .for-you-grid .for-you-card:last-child { grid-column: span 2 }
  .feature-block,
  .feature-block:nth-child(3n+1),
  .feature-block:nth-child(3n+2),
  .feature-block:nth-child(3n+3) { grid-template-columns: 1fr }
  .feature-block:nth-child(even) .feature-block-img { order: 0 }
  .feature-block:nth-child(even) .feature-block-body { order: 0 }
  .feature-block-img { min-height: 220px }
  .feature-block:nth-child(odd) .feature-block-img,
  .feature-block:nth-child(even) .feature-block-img { border-radius: 0 }
  .feature-block-body { padding: 28px 24px }
  .policy-compact .policy-goal-items { gap: 12px }
  .policy-compact .policy-goal-items span { padding: 8px 16px; font-size: 14px }
  .policy-compact .policy-lead { font-size: 16px }
  .access-compact { grid-template-columns: 1fr }
  .access-map iframe { height: 250px }
  .message-inner { grid-template-columns: 1fr; text-align: center }
  .message-photo { margin: 0 auto }
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr) }
  .gallery-mosaic img:nth-child(1) { grid-column: span 2; grid-row: span 1 }
  .footer-inner { grid-template-columns: 1fr }
  .section { padding: 60px 0 }
  .cta-buttons { flex-direction: column; align-items: center }
  body { padding-bottom: 56px }
  .fixed-cta { display: flex }
  .section-label { font-size: 12px }
}

@media (max-width: 480px) {
  .for-you-grid { grid-template-columns: 1fr }
  .for-you-grid .for-you-card:last-child { grid-column: span 1 }
  .hero-copy h1 { font-size: 26px }
  .feature-block-img { min-height: 220px }
  .gallery-mosaic { grid-template-columns: 1fr }
  .gallery-mosaic img:nth-child(1) { grid-column: span 1 }
}

/* ---- Page KV ---- */
.page-kv {
  background: linear-gradient(135deg, var(--yellow-pale) 0%, var(--yellow-light) 100%);
  padding: 80px 0 60px; text-align: center; margin-top: 92px;
}
.page-kv .inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.page-kv-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--orange); margin-bottom: 12px;
}
.page-kv h1 {
  font-size: 36px; font-weight: 700; color: var(--brown);
  letter-spacing: 0.05em; margin-bottom: 16px;
}
.page-kv-desc {
  font-size: 15px; color: var(--text-light); max-width: 540px; margin: 0 auto;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  background: var(--white); border-bottom: 1px solid rgba(0,0,0,0.06);
}
.breadcrumb .inner {
  max-width: var(--max-w); margin: 0 auto; padding: 10px 24px;
  font-size: 13px; color: var(--text-light); display: flex; align-items: center; gap: 6px;
}
.breadcrumb a { color: var(--text-light); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange); }

/* ---- Reveal ---- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0) }

.stagger > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger.visible > * { opacity: 1; transform: translateY(0) }

.stagger.visible > *:nth-child(1) { transition-delay: 0s }

.stagger.visible > *:nth-child(2) { transition-delay: 0.06s }

.stagger.visible > *:nth-child(3) { transition-delay: 0.12s }

.stagger.visible > *:nth-child(4) { transition-delay: 0.18s }

.stagger.visible > *:nth-child(5) { transition-delay: 0.24s }

.stagger.visible > *:nth-child(6) { transition-delay: 0.30s }

.stagger.visible > *:nth-child(7) { transition-delay: 0.36s }

.stagger.visible > *:nth-child(8) { transition-delay: 0.42s }

.stagger.visible > *:nth-child(9) { transition-delay: 0.48s }

.stagger.visible > *:nth-child(10) { transition-delay: 0.54s }

.stagger.visible > *:nth-child(11) { transition-delay: 0.60s }

.stagger.visible > *:nth-child(12) { transition-delay: 0.66s }

.side-actions {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-action {
  width: 120px; height: 120px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.05em;
}

.side-action:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

.side-action svg { width: 28px; height: 28px; margin-bottom: 6px }

.side-action--primary { background: var(--orange); color: var(--white) }

.side-action--green { background: var(--green); color: var(--white) }

.side-action--brown { background: var(--brown); color: var(--white) }

@media (max-width: 900px) { .side-actions { display: none !important } }
