:root {
  --paper: #fffaf1;
  --paper-strong: #fff5e7;
  --surface: rgba(255, 255, 255, 0.88);
  --ink: #4c4038;
  --muted: #796d64;
  --line: #efdccc;
  --pink: #f26073;
  --pink-dark: #d84b60;
  --orange: #ee793a;
  --yellow: #f4bd2f;
  --green: #7da768;
  --shadow: 0 18px 50px rgba(104, 75, 50, 0.08);
  --radius: 26px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(244, 189, 47, 0.14), transparent 26rem),
    radial-gradient(circle at 90% 14%, rgba(242, 96, 115, 0.10), transparent 28rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--pink-dark);
}
.skip-link:focus { transform: translateY(0); }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }

.top-line {
  padding: 10px 20px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #8b7565;
  border-bottom: 1px solid rgba(239, 220, 204, 0.65);
}

.site-header {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.brand-mark { width: 72px; height: auto; flex: none; }
.brand-title {
  display: block;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0.05em;
  color: var(--pink-dark);
}
.brand-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #67594f;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] {
  color: var(--pink-dark);
  background: rgba(242, 96, 115, 0.09);
  outline: none;
}

main { flex: 1; }
.container { width: min(920px, calc(100% - 32px)); margin: 0 auto; }

.hero {
  position: relative;
  overflow: hidden;
  margin: 28px auto 44px;
  padding: clamp(46px, 8vw, 84px) clamp(24px, 8vw, 78px);
  border: 1px solid rgba(239, 220, 204, 0.9);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,247,233,.88)),
    var(--paper-strong);
  box-shadow: var(--shadow);
  text-align: center;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}
.hero::before {
  width: 220px; height: 220px; left: -110px; top: -100px;
  background: radial-gradient(circle, rgba(244,189,47,.17), rgba(244,189,47,0));
}
.hero::after {
  width: 250px; height: 250px; right: -130px; bottom: -150px;
  background: radial-gradient(circle, rgba(242,96,115,.13), rgba(242,96,115,0));
}

.kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  letter-spacing: .04em;
}
h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.35;
  color: #4a3b32;
}
.hero-lead {
  max-width: 610px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 2.2vw, 18px);
}

.lotus-mini { width: 104px; margin: 0 auto 14px; }

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 54px;
}

.card {
  position: relative;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 32px rgba(104, 75, 50, 0.055);
  backdrop-filter: blur(6px);
}
.card::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 0;
  width: 54px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--green));
}
.card h2 {
  margin: 0 0 17px;
  font-size: clamp(23px, 4vw, 30px);
  line-height: 1.45;
}
.card h3 { margin: 28px 0 8px; font-size: 19px; }
.card p { margin: 0 0 13px; }
.card p:last-child { margin-bottom: 0; }

.definition-list { margin: 0; }
.definition-list > div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px dashed #ead8c8;
}
.definition-list > div:last-child { border-bottom: 0; }
.definition-list dt { font-weight: 800; color: #5b4c42; }
.definition-list dd { margin: 0; color: var(--muted); }

.clean-list { margin: 0; padding-left: 1.4em; }
.clean-list li { margin: 7px 0; }

.notice {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 4px solid var(--yellow);
  border-radius: 0 14px 14px 0;
  background: #fff9df;
  color: #665b45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid rgba(242,96,115,.25); outline-offset: 3px; }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), #ea7654);
  box-shadow: 0 10px 24px rgba(216,75,96,.20);
}
.button-secondary { color: var(--pink-dark); border-color: #f0c6cb; background: #fff; }

.meta {
  margin-top: 24px;
  color: #8b7d73;
  font-size: 13px;
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: rgba(255, 247, 233, 0.72);
}
.footer-inner {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 34px;
  text-align: center;
}
.footer-prayer {
  margin: 0 0 16px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  letter-spacing: .06em;
}
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px 18px; margin-bottom: 18px; }
.footer-links a { color: #75665b; font-size: 13px; text-underline-offset: 4px; }
.copyright { margin: 0; color: #9a8b80; font-size: 12px; }

.home-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin-bottom: 54px;
}
.home-link { text-decoration: none; }
.home-link .card { height: 100%; transition: transform .18s ease, box-shadow .18s ease; }
.home-link:hover .card { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(104,75,50,.10); }
.home-link p { color: var(--muted); }
.home-link .arrow { display: inline-block; margin-top: 12px; color: var(--pink-dark); font-weight: 800; }

@media (max-width: 720px) {
  .site-header { align-items: flex-start; padding-top: 18px; }
  .brand-mark { width: 58px; }
  .brand-title { font-size: 21px; }
  .brand-subtitle { display: none; }
  .nav { gap: 0; }
  .nav a { padding: 8px 9px; font-size: 12px; }
  .hero { margin-top: 18px; border-radius: 26px; }
  .home-cards { grid-template-columns: 1fr; }
  .definition-list > div { grid-template-columns: 1fr; gap: 3px; }
}

@media (max-width: 480px) {
  .site-header { width: min(100% - 22px, 1080px); gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 47px; }
  .brand-title { font-size: 18px; }
  .nav a { padding: 7px 7px; }
  .container, .footer-inner { width: min(100% - 22px, 920px); }
  .hero { padding-left: 19px; padding-right: 19px; }
  .card { padding: 24px 20px; border-radius: 21px; }
  .card::before { left: 22px; }
  .actions { align-items: stretch; }
  .button { width: 100%; }
}

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