:root {
  --navy: #082c59;
  --navy-deep: #041c39;
  --blue: #114c86;
  --gold: #b88a2d;
  --gold-light: #d6b668;
  --cream: #f7f3e8;
  --paper: #fffdf8;
  --ink: #1c2938;
  --muted: #667384;
  --line: #dce2e8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(8, 44, 89, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 9999;
  padding: 10px 16px; background: var(--navy); color: white;
}
.skip-link:focus { top: 12px; }
.section-inner { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(860px, calc(100% - 40px)); }
.section { padding: 104px 0; }
.section-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
}
.section-kicker.light { color: var(--gold-light); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: "Noto Serif JP", serif;
  letter-spacing: .02em;
}
h2 { margin-bottom: 20px; color: var(--navy); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.25; }
p { color: #4d5a68; }
.large-copy { color: var(--ink); font-size: 1.18rem; line-height: 2; }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 14px; color: var(--navy); font-weight: 700; }
.text-link span { color: var(--gold); }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid rgba(8,44,89,.08);
  background: rgba(255,253,248,.93);
  backdrop-filter: blur(15px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: min(1240px, calc(100% - 40px)); min-height: 82px; margin-inline: auto;
}
.brand { display: flex; gap: 12px; align-items: center; color: var(--navy); }
.brand-mark {
  display: grid; width: 46px; height: 46px; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%;
  color: var(--gold); font-family: "Noto Serif JP", serif; font-size: 1.45rem; font-weight: 700;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.35; }
.brand-copy strong { font-family: "Noto Serif JP", serif; font-size: 1.06rem; }
.brand-copy small { color: var(--muted); font-size: .7rem; letter-spacing: .14em; }
.global-nav { display: flex; gap: 28px; align-items: center; font-size: .9rem; font-weight: 600; }
.global-nav a { position: relative; }
.global-nav a:not(.nav-cta)::after {
  position: absolute; left: 0; bottom: -9px; width: 0; height: 2px;
  background: var(--gold); content: ""; transition: width .25s;
}
.global-nav a:hover::after { width: 100%; }
.nav-cta { padding: 11px 18px; border-radius: 999px; background: var(--navy); color: white; }
.menu-button { display: none; width: 46px; height: 46px; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px auto; background: var(--navy); }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 15% 5%, rgba(214,182,104,.22), transparent 30%),
    linear-gradient(135deg, #fffdf8 0%, #f5f7f9 52%, #e9eff5 100%);
}
.hero::after {
  position: absolute; right: -160px; bottom: -250px; width: 620px; height: 620px;
  border: 1px solid rgba(184,138,45,.23); border-radius: 50%; content: "";
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center;
  width: min(1240px, calc(100% - 40px)); min-height: 740px; margin-inline: auto; padding: 76px 0 88px;
}
.eyebrow { color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .2em; }
.hero h1 { margin-bottom: 28px; color: var(--navy); font-size: clamp(3rem, 5.5vw, 5.5rem); line-height: 1.25; }
.hero h1 em { color: var(--gold); font-style: normal; font-size: .58em; }
.hero-lead { font-size: 1.1rem; line-height: 2; }
.hero-actions { display: flex; gap: 14px; margin: 34px 0 28px; flex-wrap: wrap; }
.button {
  display: inline-flex; min-height: 52px; padding: 13px 24px; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 999px; font-weight: 700; transition: transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: white; box-shadow: 0 10px 25px rgba(8,44,89,.2); }
.button-outline { border-color: var(--navy); color: var(--navy); background: rgba(255,255,255,.55); }
.button-outline-dark { border-color: var(--navy); color: var(--navy); }
.button-small { min-height: 44px; padding: 9px 18px; font-size: .88rem; }
.button-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-deep); }
.button-ghost { border-color: rgba(255,255,255,.4); color: white; }
.hero-points { display: flex; gap: 26px; padding: 0; list-style: none; color: var(--muted); font-size: .88rem; }
.hero-points li::before { margin-right: 8px; color: var(--gold); content: "◆"; font-size: .65rem; }
.hero-card {
  overflow: hidden; border: 8px solid rgba(255,255,255,.92); border-radius: 30px;
  background: white; box-shadow: 0 30px 70px rgba(8,44,89,.2); transform: rotate(1deg);
}
.hero-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero-card-caption { display: flex; padding: 18px 22px; align-items: center; justify-content: space-between; gap: 20px; }
.hero-card-caption span { color: var(--muted); font-size: .78rem; }
.hero-card-caption strong { color: var(--navy); font-family: "Noto Serif JP", serif; }

.quick-links { position: relative; z-index: 4; margin-top: -38px; }
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); background: white; border-radius: 18px; box-shadow: var(--shadow); }
.quick-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 15px; padding: 26px 25px; align-items: center;
  border-right: 1px solid var(--line); transition: background .2s;
}
.quick-card:first-child { border-radius: 18px 0 0 18px; }
.quick-card:last-child { border-right: 0; border-radius: 0 18px 18px 0; }
.quick-card:hover { background: var(--cream); }
.quick-number { color: var(--gold); font-family: "Noto Serif JP", serif; font-size: .83rem; }
.quick-card div { display: flex; flex-direction: column; }
.quick-card strong { color: var(--navy); }
.quick-card small { color: var(--muted); font-size: .74rem; }

.about-section { background: var(--paper); }
.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.four-poisons { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.four-poisons article {
  min-height: 190px; padding: 28px; border: 1px solid #e4dfd2; border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, #f8f4e9); box-shadow: 0 10px 30px rgba(8,44,89,.06);
}
.four-poisons .icon {
  display: grid; width: 50px; height: 50px; margin-bottom: 18px; place-items: center;
  border: 1px solid #b24e45; border-radius: 50%; color: var(--navy); font-family: "Noto Serif JP", serif; font-weight: 700;
}
.four-poisons h3 { margin-bottom: 6px; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 1.25rem; }
.four-poisons p { margin: 0; font-size: .85rem; }

.directory-section { background: #f2f5f8; }
.shops-section { background: var(--paper); }
.events-section { background: #f7f3e8; }
.section-heading { display: flex; margin-bottom: 38px; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2 { margin-bottom: 8px; }
.section-heading p { margin-bottom: 0; }
.status-badge {
  flex: 0 0 auto; padding: 7px 12px; border: 1px solid #d6b668; border-radius: 999px;
  color: #88620d; background: #fff9e7; font-size: .74rem; font-weight: 700;
}
.filter-bar {
  display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 14px; margin-bottom: 30px;
  padding: 20px; border-radius: 18px; background: white; box-shadow: 0 8px 25px rgba(8,44,89,.06);
}
.filter-bar label { display: flex; flex-direction: column; gap: 7px; }
.filter-bar label span { color: var(--navy); font-size: .75rem; font-weight: 700; }
.filter-bar input, .filter-bar select, .contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); outline: none;
}
.filter-bar input, .filter-bar select { min-height: 48px; padding: 8px 12px; }
.filter-bar input:focus, .filter-bar select:focus, .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,138,45,.12);
}
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.directory-card {
  overflow: hidden; border: 1px solid rgba(8,44,89,.08); border-radius: var(--radius); background: white;
  box-shadow: 0 10px 35px rgba(8,44,89,.07); transition: transform .2s, box-shadow .2s;
}
.directory-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-image {
  display: grid; aspect-ratio: 16/10; place-items: center;
  background: linear-gradient(145deg, #eaf0f5, #f9f6ed); color: var(--navy);
}
.avatar {
  display: grid; width: 92px; height: 92px; place-items: center; border: 4px solid white; border-radius: 50%;
  background: var(--navy); color: white; font-family: "Noto Serif JP", serif; font-size: 2rem; box-shadow: 0 10px 30px rgba(8,44,89,.2);
}
.shop-symbol {
  display: grid; width: 82px; height: 82px; place-items: center; border: 2px solid var(--gold); border-radius: 22px;
  color: var(--gold); font-family: "Noto Serif JP", serif; font-size: 1.35rem; font-weight: 700;
}
.card-body { padding: 24px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.tag { padding: 5px 9px; border-radius: 999px; background: #eef3f7; color: var(--navy); font-size: .7rem; font-weight: 700; }
.tag.gold { background: #fff5d9; color: #8a620d; }
.card-body h3 { margin-bottom: 6px; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 1.35rem; }
.card-body p { margin-bottom: 16px; font-size: .88rem; }
.card-footer { display: flex; padding-top: 16px; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: .74rem; }
.empty-message { padding: 40px; text-align: center; color: var(--muted); background: white; border-radius: var(--radius); }

.event-list { display: grid; gap: 14px; }
.event-card {
  display: grid; grid-template-columns: 160px 1fr auto; gap: 25px; padding: 25px 28px; align-items: center;
  border: 1px solid rgba(184,138,45,.2); border-radius: 18px; background: white;
}
.event-date {
  width: 145px; min-height: 145px; padding: 18px 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; flex-shrink: 0; box-sizing: border-box;
  color: var(--navy); background: var(--paper); border: 1px solid rgba(184,138,45,.35);
  border-radius: 20px; text-align: center; line-height: 1;
}
.event-date__year { margin-bottom: 11px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; }
.event-date strong {
  display: block; font-family: "Noto Serif JP", serif; font-size: 1.7rem;
  line-height: 1.15; white-space: nowrap;
}
.event-date__weekday {
  margin-top: 11px; padding: 5px 12px; color: white; background: var(--navy);
  border-radius: 999px; font-size: .7rem; font-weight: 700;
}
.event-info h3 { margin-bottom: 7px; color: var(--navy); font-size: 1.12rem; }
.event-info p { margin: 0; font-size: .84rem; }
.event-type { padding: 8px 12px; border-radius: 999px; background: var(--navy); color: white; font-size: .72rem; font-weight: 700; }

.course-section { padding: 90px 0; background: var(--navy-deep); }
.course-panel { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 30px; background: var(--navy); box-shadow: 0 35px 80px rgba(0,0,0,.25); }
.course-copy { padding: 64px; }
.course-copy h2, .course-copy p { color: white; }
.course-copy h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.check-list { display: grid; gap: 10px; padding: 0; margin: 28px 0 34px; color: white; list-style: none; }
.check-list li::before { margin-right: 10px; color: var(--gold-light); content: "✓"; font-weight: 700; }
.course-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.course-image { margin: 0; min-height: 540px; }
.course-image img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }

.faq-section { background: var(--paper); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { padding: 24px 8px; color: var(--navy); font-weight: 700; cursor: pointer; }
.accordion details p { padding: 0 8px 24px; margin: 0; }

.contact-section { background: #eef2f5; }
.contact-panel { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; padding: 54px; border-radius: 28px; background: white; box-shadow: var(--shadow); }
.contact-form { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; color: var(--navy); font-size: .8rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { padding: 11px 12px; }
.contact-form .full { grid-column: 1/-1; }
.form-note { display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 20px !important; }
.form-note p { margin: 0; font-size: .75rem; font-weight: 400; }

.site-footer { padding: 48px 0; background: var(--navy-deep); color: white; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand .brand-mark { border-color: var(--gold-light); color: var(--gold-light); }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { font-family: "Noto Serif JP", serif; }
.footer-brand small { color: rgba(255,255,255,.6); font-size: .7rem; }
.site-footer nav { display: flex; gap: 22px; font-size: .8rem; }
.copyright { grid-column: 1/-1; margin: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); font-size: .72rem; }

@media (max-width: 1000px) {
  .menu-button { display: block; }
  .global-nav {
    position: absolute; top: 82px; left: 20px; right: 20px; display: none; flex-direction: column; padding: 24px;
    align-items: stretch; border-radius: 16px; background: white; box-shadow: var(--shadow);
  }
  .global-nav.open { display: flex; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { text-align: center; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-card { max-width: 760px; margin-inline: auto; transform: none; }
  .quick-grid { grid-template-columns: repeat(2,1fr); }
  .quick-card:nth-child(2) { border-right: 0; }
  .quick-card:first-child { border-radius: 18px 0 0 0; }
  .quick-card:nth-child(2) { border-radius: 0 18px 0 0; }
  .quick-card:nth-child(3) { border-top: 1px solid var(--line); border-radius: 0 0 0 18px; }
  .quick-card:last-child { border-top: 1px solid var(--line); border-radius: 0 0 18px 0; }
  .split-layout, .course-panel, .contact-panel { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .course-image { min-height: 390px; }
  .contact-panel { gap: 35px; }
}

@media (max-width: 680px) {
  .section { padding: 72px 0; }
  .section-inner, .header-inner, .hero-inner { width: min(100% - 28px, 1160px); }
  .brand-copy small { display: none; }
  .hero-inner { padding: 52px 0 75px; gap: 42px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-lead br { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-points { flex-direction: column; gap: 6px; align-items: center; }
  .quick-links { margin-top: -22px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-card, .quick-card:first-child, .quick-card:nth-child(2), .quick-card:nth-child(3), .quick-card:last-child {
    border-right: 0; border-top: 1px solid var(--line); border-radius: 0;
  }
  .quick-card:first-child { border-top: 0; border-radius: 16px 16px 0 0; }
  .quick-card:last-child { border-radius: 0 0 16px 16px; }
  .split-layout { gap: 45px; }
  .four-poisons { grid-template-columns: 1fr 1fr; }
  .four-poisons article { min-height: 160px; padding: 20px; }
  .section-heading { align-items: start; flex-direction: column; }
  .filter-bar, .card-grid, .contact-form { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
  .event-date {
    width: fit-content; min-height: auto; padding: 10px 14px; flex-direction: row;
    gap: 8px; border-radius: 999px;
  }
  .event-date__year, .event-date__weekday { margin: 0; }
  .event-date strong { font-size: 1.25rem; }
  .event-type { grid-column: 1; width: fit-content; }
  .course-copy { padding: 38px 28px; }
  .course-actions { flex-direction: column; }
  .course-actions .button { width: 100%; }
  .course-image { min-height: 260px; }
  .contact-panel { padding: 30px 22px; }
  .contact-form .full { grid-column: auto; }
  .form-note { flex-direction: column !important; align-items: stretch !important; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; }
}

/* ===== YONDOKU v2 additions ===== */
.brand-mark-word {
  background: linear-gradient(145deg, #fffdf8, #f4ead0);
  font-size: 1.25rem;
  letter-spacing: -.04em;
}
.brand-copy strong { letter-spacing: .12em; }
.language-link {
  padding: 6px 10px;
  border: 1px solid rgba(8,44,89,.18);
  border-radius: 999px;
  color: var(--gold);
  font-size: .74rem;
  letter-spacing: .08em;
}
.hero-brand {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
}
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 4.2rem); }
.hero h1 em { display: inline-block; margin-top: 12px; font-size: .72em; }
.hero-visual { position: relative; padding-top: 38px; }
.global-badge {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 22px;
  display: flex;
  min-width: 305px;
  padding: 16px 22px;
  flex-direction: column;
  border: 1px solid rgba(184,138,45,.28);
  border-radius: 17px;
  background: rgba(255,253,248,.96);
  box-shadow: 0 16px 40px rgba(8,44,89,.14);
}
.global-badge span { color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .16em; }
.global-badge strong { color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 1.05rem; }
.global-badge small { color: var(--muted); font-size: .72rem; }
.vision-strip { background: var(--navy-deep); color: white; padding-bottom: 46px; }
.vision-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.vision-inner p { margin: 0; color: rgba(255,255,255,.92); font-family: "Noto Serif JP", serif; }
.vision-inner p span { margin-right: 18px; color: var(--gold-light); font-family: "Noto Sans JP", sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .16em; }
.vision-inner a { color: white; font-size: .84rem; font-weight: 700; }
.vision-inner a span { margin-left: 8px; color: var(--gold-light); }
.impact-section { padding: 58px 0 18px; background: var(--paper); }
.impact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.impact-grid article {
  padding: 25px 20px;
  border-left: 1px solid rgba(184,138,45,.32);
  text-align: center;
}
.impact-grid article:last-child { border-right: 1px solid rgba(184,138,45,.32); }
.impact-grid strong { display: block; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 2rem; line-height: 1.2; }
.impact-grid span { color: var(--muted); font-size: .78rem; }
@media (max-width: 1000px) {
  .hero-visual { max-width: 780px; margin-inline: auto; }
  .impact-grid { grid-template-columns: repeat(2,1fr); }
  .impact-grid article:nth-child(2) { border-right: 1px solid rgba(184,138,45,.32); }
}
@media (max-width: 680px) {
  .hero-brand { font-size: clamp(2.8rem, 16vw, 4.5rem); letter-spacing: .08em; }
  .global-badge { position: relative; top: auto; right: auto; min-width: 0; margin: 0 0 14px; }
  .hero-visual { padding-top: 0; }
  .vision-inner { padding: 18px 0; align-items: flex-start; flex-direction: column; }
  .vision-inner p span { display: block; margin: 0 0 5px; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid article { padding: 20px 10px; }
  .impact-grid strong { font-size: 1.55rem; }
}


/* Keep the square course artwork fully visible on every screen */
.course-image { min-height: 0; align-self: center; width: 100%; aspect-ratio: 1 / 1; }
.course-image a { display: block; width: 100%; height: 100%; }
.course-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }


/* Enlarge the course promotion card in the desktop hero */
@media (min-width: 1001px) {
  .hero-inner { width: min(1320px, calc(100% - 40px)); grid-template-columns: .95fr 1.15fr; gap: 40px; }
  .hero-visual { width: 100%; }
}

/* ===== YONDOKU certification and endorsement system ===== */
.certification-system-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 8%, rgba(184,138,45,.12), transparent 28%),
    linear-gradient(180deg, #eef3f6 0%, #f8f6f0 100%);
}
.certification-system-section::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy));
  content: "";
}
.system-intro {
  max-width: 880px;
  margin-bottom: 46px;
}
.system-intro h2 {
  margin-bottom: 22px;
  color: var(--navy);
}
.system-intro p:last-child { margin-bottom: 0; }
.system-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.system-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(8,44,89,.1);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 38px rgba(8,44,89,.08);
}
.system-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 5px;
  background: var(--gold);
  content: "";
}
.system-card-number {
  position: absolute;
  top: 22px;
  right: 26px;
  color: rgba(8,44,89,.1);
  font-family: "Noto Serif JP", serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}
.system-card-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.system-card h3 {
  position: relative;
  margin: 0 0 18px;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.4;
}
.system-card > p:not(.system-card-label):not(.system-card-point) {
  margin-bottom: 18px;
  font-size: .91rem;
  line-height: 1.9;
}
.system-card-point {
  padding: 15px 17px;
  margin: 0;
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: #f8f4e9;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.8;
}
.system-paths {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 44px;
  padding: 42px;
  margin-top: 30px;
  align-items: center;
  border-radius: 24px;
  background: var(--navy-deep);
  box-shadow: 0 22px 48px rgba(8,44,89,.16);
}
.system-paths-copy h3 {
  margin: 0 0 15px;
  color: white;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.system-paths-copy p:not(.section-kicker) {
  margin: 0;
  color: rgba(255,255,255,.86);
  line-height: 1.9;
}
.system-paths .section-kicker { color: var(--gold-light); }
.system-path-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 0;
  color: white;
  list-style: none;
}
.system-path-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.7;
}
.system-path-list li::before {
  position: absolute;
  left: 0;
  color: var(--gold-light);
  content: "✓";
  font-weight: 700;
}
.system-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.system-note {
  max-width: 960px;
  padding: 18px 20px;
  margin: 26px auto 0;
  border: 1px solid rgba(8,44,89,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.8;
}
@media (min-width: 1001px) {
  .global-nav { gap: 15px; }
  .global-nav > a { font-size: .78rem; }
}
@media (max-width: 760px) {
  .system-intro { margin-bottom: 32px; }
  .system-card-grid { grid-template-columns: 1fr; }
  .system-card { padding: 28px 24px; }
  .system-card-number { top: 18px; right: 20px; font-size: 2.7rem; }
  .system-paths { grid-template-columns: 1fr; gap: 26px; padding: 30px 24px; }
  .system-actions { flex-direction: column; }
  .system-actions .button { width: 100%; }
  .system-note { padding: 15px; font-size: .68rem; }
}


/* Books */
.books-section {
  background: #f4f1e8;
  border-top: 1px solid rgba(20, 54, 49, .08);
}
.books-heading {
  align-items: end;
  margin-bottom: 34px;
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 24px 18px;
}
.book-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 13px;
  color: #173a35;
  text-decoration: none;
}
.book-card img {
  width: 100%;
  aspect-ratio: 3 / 4.25;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 9px 24px rgba(17, 43, 39, .14);
  transition: transform .25s ease, box-shadow .25s ease;
}
.book-card span {
  font-size: .83rem;
  font-weight: 700;
  line-height: 1.65;
}
.book-card:hover img,
.book-card:focus-visible img {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(17, 43, 39, .21);
}
.book-card:focus-visible {
  outline: 3px solid #b99043;
  outline-offset: 5px;
  border-radius: 3px;
}

@media (max-width: 1100px) {
  .book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .books-heading { margin-bottom: 24px; }
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .book-card span { font-size: .78rem; }
}


/* Practitioner publishing preparation */
.status-badge-preparing {
  background: #fff7df;
  color: #8a5c00;
  border-color: #d9b45f;
}
.practitioner-preparing {
  max-width: 820px;
  margin: 8px auto 0;
  padding: 52px 46px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(18, 52, 47, .09);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(17, 43, 39, .08);
}
.practitioner-preparing-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 23px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #063c68;
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  box-shadow: 0 10px 24px rgba(6, 60, 104, .2);
}
.practitioner-preparing h3 {
  margin: 0 0 14px;
  color: #073b68;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.55;
}
.practitioner-preparing p {
  margin: 0 auto;
  max-width: 610px;
  color: var(--muted);
  line-height: 1.9;
}
.practitioner-preparing-actions {
  display: flex;
  justify-content: center;
  gap: 13px;
  margin-top: 30px;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .practitioner-preparing {
    padding: 38px 20px;
    border-radius: 16px;
  }
  .practitioner-preparing-actions {
    flex-direction: column;
  }
  .practitioner-preparing-actions .button {
    width: 100%;
  }
}


/* Certified places preparation */
.place-preparing-mark {
  color: #8a5c00;
  background: #fff8e6;
  border: 1px solid #d5a53d;
  box-shadow: 0 10px 24px rgba(166, 116, 15, .14);
}


/* Larger responsive book grid */
.book-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 24px;
}
.book-card {
  gap: 15px;
}
.book-card span {
  font-size: .96rem;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 18px;
  }
}
@media (max-width: 700px) {
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }
  .book-card span {
    font-size: .86rem;
    line-height: 1.65;
  }
}

/* Activity reports */
.reports-section{background:linear-gradient(180deg,#fff 0%,#f7f3ea 100%)}
.report-feature{overflow:hidden;border:1px solid rgba(31,43,35,.12);border-radius:24px;background:#fff;box-shadow:0 18px 48px rgba(31,43,35,.10)}
.report-gallery{display:grid;grid-template-columns:1.42fr 1fr;gap:8px;padding:8px;background:#eee8dc}
.report-photo{margin:0;min-height:280px;overflow:hidden;border-radius:17px}
.report-photo img{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover}
.report-copy{max-width:900px;padding:34px 38px 40px}
.report-label{display:inline-flex;margin:0 0 14px;padding:7px 12px;border-radius:999px;background:var(--accent-soft,#f2e5c4);color:var(--ink,#1f2b23);font-size:.78rem;font-weight:700;letter-spacing:.08em}
.report-copy h3{margin:0 0 16px;font-family:"Noto Serif JP",serif;font-size:clamp(1.35rem,2.3vw,2rem);line-height:1.45}
.report-copy p{max-width:760px;line-height:1.9}
.report-thanks{margin-bottom:0;font-weight:700;color:var(--accent-dark,#765b16)}
@media (max-width:760px){.report-gallery{grid-template-columns:1fr}.report-photo{min-height:0}.report-copy{padding:26px 22px 30px}}
