/* AMILI 新瀬戸 - 下層ページ共通スタイル */

html { scroll-behavior: smooth; font-size: 17px; }
@media (min-width: 768px) { html { font-size: 18px; } }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1f2a1a;
  background: #fdfbf3;
  letter-spacing: .04em;
  line-height: 2;
  font-weight: 500;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
p { font-weight: 500; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #8ec43e; outline-offset: 2px;
}
.tnum { font-variant-numeric: tabular-nums; font-family: 'Manrope', sans-serif; }
.shadow-soft {
  box-shadow:
    0 1px 2px rgba(60,80,40,.05),
    0 14px 36px -10px rgba(60,80,40,.13);
}
.shadow-card {
  box-shadow:
    0 1px 2px rgba(60,80,40,.04),
    0 8px 24px -8px rgba(60,80,40,.1);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #8ec43e 0%, #6b932f 100%);
  color: #fff; font-weight: 700;
  box-shadow: 0 8px 22px -6px rgba(110,150,40,.5);
  transition: transform .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(110,150,40,.6); }
.btn-primary::after {
  content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 30% 0%, rgba(255,255,255,.35), transparent 60%);
  pointer-events: none;
}

/* SP menu */
.spmenu { transform: translateX(100%); transition: transform .3s ease; }
.spmenu.open { transform: translateX(0); }
.sp-overlay { display:none; }
.sp-overlay.open { display:block; }

/* Page hero */
.page-hero {
  background: radial-gradient(1000px 380px at 90% 10%, #e8f5d8 0%, transparent 60%),
              linear-gradient(135deg, #faf7ed 0%, #f4eed7 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path d='M40 12 c -12 0 -20 8 -20 20 c 0 12 8 20 20 20 c 0 -12 -8 -20 -20 -20' fill='%238ec43e' opacity='0.06'/></svg>");
  background-size: 120px 120px;
  pointer-events: none;
}

/* Section common */
.sec-eyebrow {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: #5d8228;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.sec-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  color: #1f2a1a;
  letter-spacing: .02em;
  line-height: 1.4;
}
.sec-divider {
  margin-top: 1rem;
  color: #8ec43e;
}
.sec-divider svg { width: 22px; height: 22px; }
.sec-lead {
  text-align: center;
  color: #3d4a35;
  margin-top: 1.5rem;
  font-size: 1.05rem;
  line-height: 2;
  max-width: 760px;
  margin-left: auto; margin-right: auto;
}
@media (min-width: 768px) { .sec-lead { font-size: 1.125rem; } }

/* Cards / lists shared from index */
.info-card {
  background: #fff; border-radius: 24px; padding: 1.75rem;
  border: 1px solid #e8e2d4;
  position: relative;
}
.info-card::before {
  content:""; position:absolute; top: -1px; left: 24px; right: 24px; height: 3px;
  background: #8ec43e; border-radius: 2px;
}

.gallery-img { overflow: hidden; border-radius: 18px; margin: 0; }
.gallery-img img { transition: transform .6s ease; }
.gallery-img:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(31,42,26,.75) 0%, rgba(31,42,26,0) 100%);
  color: #fff; font-weight: 700;
  padding: 1.4rem .9rem .7rem;
  font-size: .92rem;
  letter-spacing: .04em;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
  transition: padding .35s ease;
}
.gallery-img:hover .gallery-caption { padding-bottom: 1rem; }

.num-list { counter-reset: num; }
.num-list li { counter-increment: num; position: relative; padding-left: 2.4rem; margin-bottom: .65rem; }
.num-list li::before {
  content: counter(num); position: absolute; left: 0; top: .15em;
  width: 1.6rem; height: 1.6rem; border-radius: 9999px;
  background: #fff; color: #4a7c2a; font-weight: 800;
  font-family: 'Manrope', sans-serif; font-size: .85rem;
  border: 2px solid #8ec43e;
  display: flex; align-items: center; justify-content: center;
}

/* Timeline (daily-life) */
.timeline { position: relative; }
.timeline::before {
  content:""; position:absolute; left: 13px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, #bcdd84, #e8e2d4);
}
.timeline-item { position: relative; padding-left: 2.75rem; }
.timeline-item::before {
  content:""; position:absolute; left:4px; top:.55rem; width:20px; height:20px;
  border-radius:9999px; background:#fdfbf3;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #8ec43e;
}
.timeline-item::after {
  content:""; position:absolute; left:11px; top:1rem; width:6px; height:6px;
  border-radius:9999px; background:#8ec43e;
}

/* FAQ */
details { transition: background .25s; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] summary .faq-arrow { transform: rotate(180deg); }
details[open] { background: #fff; }
.faq-arrow { transition: transform .25s ease; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 20, 12, .88);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  cursor: zoom-out;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 95vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  transform: scale(.92);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.lightbox.active .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.18); color: #fff;
  border: 0; border-radius: 9999px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
  padding: 0;
}
.lightbox-close:hover { background: rgba(255,255,255,.32); transform: rotate(90deg); }
.lightbox-caption {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: .95rem; font-weight: 500;
  background: rgba(0,0,0,.4); padding: .4rem 1rem; border-radius: 9999px;
  max-width: 90vw; text-align: center;
}
.zoomable-trigger { cursor: zoom-in; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
