@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap");
:root {
  --narasoro-ink: #315b4a;
  --narasoro-muted: #6f7866;
  --narasoro-green: #3d8064;
  --narasoro-green-deep: #49745d;
  --narasoro-mint: #e9f0df;
  --narasoro-soft: #f8f2df;
  --narasoro-yellow: #eddc6a;
  --narasoro-line: rgba(23, 53, 43, 0.14);
  --narasoro-shadow: 0 22px 60px rgba(23, 53, 43, 0.14);
}

.narasoro-pattern {
  color: var(--narasoro-ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

.narasoro-pattern h1,
.narasoro-pattern h2,
.narasoro-pattern h3,
.narasoro-pattern p {
  letter-spacing: 0;
}

.narasoro-pattern h1 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.08;
}

.narasoro-pattern h2 {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.18;
}

.narasoro-eyebrow {
  color: var(--narasoro-green);
  font-size: 14px;
  font-weight: 900;
}

.narasoro-lead {
  color: var(--narasoro-muted);
  font-size: 18px;
}

.narasoro-hero {
  padding: 86px max(24px, calc((100vw - 1160px) / 2)) 64px;
  background: linear-gradient(120deg, rgba(251, 255, 252, 0.96), rgba(229, 245, 236, 0.62));
}

.narasoro-hero__grid,
.narasoro-split {
  align-items: center;
  gap: 48px;
}

.narasoro-buttons {
  gap: 14px;
  margin-top: 28px;
}

.narasoro-button-primary .wp-block-button__link {
  background: var(--narasoro-green);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(8, 115, 79, 0.22);
}

.narasoro-button-outline .wp-block-button__link {
  border-color: var(--narasoro-line);
  border-radius: 999px;
  color: var(--narasoro-ink);
}

.narasoro-badges {
  gap: 12px;
  margin-top: 30px;
}

.narasoro-badges .wp-block-column,
.narasoro-card,
.narasoro-notice-card,
.narasoro-feature-panel {
  background: #fff;
  border: 1px solid var(--narasoro-line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 53, 43, 0.08);
  padding: 24px;
}

.narasoro-badges strong,
.narasoro-price {
  color: var(--narasoro-green);
  font-size: 28px;
  font-weight: 900;
}

.narasoro-logo-card img {
  max-width: 180px;
  margin-inline: auto;
}

.narasoro-section,
.narasoro-page-hero {
  padding: 86px max(24px, calc((100vw - 1160px) / 2));
}

.narasoro-page-hero {
  background: linear-gradient(120deg, rgba(229, 245, 236, 0.96), rgba(251, 255, 252, 0.82));
}

.narasoro-section-soft {
  background: var(--narasoro-soft);
}

.narasoro-section-green {
  background: var(--narasoro-green-deep);
  color: #fff;
}

.narasoro-section-green .narasoro-eyebrow {
  color: var(--narasoro-yellow);
}

.narasoro-section-green .narasoro-lead {
  color: rgba(255, 255, 255, 0.78);
}

.narasoro-card-grid {
  gap: 22px;
}

.narasoro-feature-panel img {
  max-width: 360px;
  margin-inline: auto;
}

.narasoro-table table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border: 1px solid var(--narasoro-line);
}

.narasoro-table th,
.narasoro-table td {
  border-bottom: 1px solid var(--narasoro-line);
  padding: 16px;
  text-align: left;
}

.narasoro-table th {
  background: var(--narasoro-mint);
  color: var(--narasoro-green-deep);
}

.narasoro-timeline {
  display: grid;
  gap: 14px;
}

.narasoro-timeline p,
.narasoro-faq details {
  background: #fff;
  border: 1px solid var(--narasoro-line);
  border-radius: 8px;
  padding: 18px 20px;
}

.narasoro-news-list {
  display: grid;
  gap: 14px;
}

.narasoro-news-list article {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--narasoro-line);
  padding: 18px 0;
}

.narasoro-faq {
  display: grid;
  gap: 14px;
}

.narasoro-faq summary {
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 860px) {
  .narasoro-hero,
  .narasoro-section,
  .narasoro-page-hero {
    padding: 56px 18px;
  }

  .narasoro-hero__grid,
  .narasoro-split,
  .narasoro-card-grid,
  .narasoro-badges {
    display: grid;
    grid-template-columns: 1fr;
  }

  .narasoro-news-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Fixed-page patterns only. These rules deliberately do not alter the TOP. */
.narasoro-subpage .narasoro-page-hero h1 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.3;
}

.narasoro-subpage .narasoro-page-hero,
.narasoro-subpage .narasoro-section {
  box-sizing: border-box;
}

.narasoro-subpage .narasoro-breadcrumb,
.narasoro-subpage .narasoro-related-links,
.narasoro-subpage .narasoro-note {
  font-size: 14px;
}

.narasoro-subpage .narasoro-breadcrumb a,
.narasoro-subpage .narasoro-related-links a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.narasoro-subpage .narasoro-local-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.narasoro-subpage .narasoro-local-nav a {
  color: var(--narasoro-green-deep);
  font-weight: 700;
}

.narasoro-subpage .narasoro-table {
  overflow-x: auto;
}

.narasoro-subpage .narasoro-table table {
  min-width: 600px;
}

.narasoro-subpage .narasoro-table-hint {
  color: var(--narasoro-muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.narasoro-subpage .narasoro-button-outline .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--narasoro-green-deep);
  color: var(--narasoro-green-deep);
}

.narasoro-subpage .narasoro-steps {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding-left: 1.7em;
}

.narasoro-subpage .narasoro-steps li {
  border-bottom: 1px solid var(--narasoro-line);
  padding: 0 0 14px 6px;
  font-weight: 700;
}

.narasoro-subpage .narasoro-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.narasoro-subpage .narasoro-news-list li {
  border-bottom: 1px solid var(--narasoro-line);
  padding: 18px 0;
}

.narasoro-subpage .narasoro-faq-item {
  margin: 0 0 14px;
  background: #fff;
  border: 1px solid var(--narasoro-line);
  border-radius: 8px;
  padding: 18px 20px;
}

.narasoro-subpage .narasoro-faq-item summary {
  cursor: pointer;
  font-weight: 900;
}

.narasoro-subpage a:focus-visible,
.narasoro-subpage summary:focus-visible {
  outline: 3px solid var(--narasoro-yellow);
  outline-offset: 4px;
}

.narasoro-subpage .narasoro-section-green .narasoro-button-outline .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

@media (max-width: 860px) {
  .narasoro-subpage.narasoro-courses .narasoro-table table {
    min-width: 0;
    width: 100%;
    font-size: 13px;
  }

  .narasoro-subpage.narasoro-courses .narasoro-table th,
  .narasoro-subpage.narasoro-courses .narasoro-table td {
    padding: 8px;
  }

  .narasoro-subpage .narasoro-local-nav {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Readable Japanese headings and the expanded homepage, September 2026. */
.narasoro-pattern { line-height: 1.9; }
.narasoro-pattern :is(h1,h2,h3) { line-break: strict; word-break: normal; overflow-wrap: anywhere; text-wrap: balance; }
.narasoro-pattern h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.5; margin-bottom: 24px; }
.narasoro-pattern h3 { font-size: 21px; line-height: 1.6; }
.narasoro-subpage .narasoro-page-hero h1 { font-size: clamp(28px, 3.5vw, 46px); line-height: 1.55; max-width: 24em; }
.narasoro-pattern p { line-break: strict; overflow-wrap: break-word; }
.narasoro-home-rich * { box-sizing: border-box; }
.narasoro-home-rich .narasoro-section-inner { max-width: 1160px; margin-inline: auto; }
.narasoro-home-rich .narasoro-section { padding: 76px 32px; }
.narasoro-home-rich .narasoro-hero { position: relative; overflow: hidden; padding: 64px 32px 68px; background: radial-gradient(circle at 88% 14%, rgba(237,220,106,.42) 0 5px, transparent 6px), radial-gradient(circle at 94% 22%, rgba(61,128,100,.24) 0 9px, transparent 10px), linear-gradient(120deg, #fffdf4, #e9f0df); }
.narasoro-home-rich .narasoro-home-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.narasoro-home-rich .narasoro-hero__title { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.35; margin: 20px 0 24px; letter-spacing: .02em; }
.narasoro-home-rich .narasoro-lead { font-size: 18px; line-height: 1.9; }
.narasoro-home-rich .narasoro-hero-visual { position: relative; isolation: isolate; }
.narasoro-home-rich .narasoro-hero-visual::before { content: ''; position: absolute; z-index: 1; inset: 23% 0 auto; height: 34px; border-top: 4px solid rgba(73,116,93,.34); border-bottom: 4px solid rgba(73,116,93,.34); background: radial-gradient(circle, #eddc6a 0 11px, #3d8064 12px 14px, transparent 15px) center / 41px 34px repeat-x; transform: rotate(-6deg); opacity: .8; }
.narasoro-home-rich .narasoro-hero-visual::after { content: ''; position: absolute; z-index: 3; top: 10%; right: 4%; width: 10px; height: 10px; border-radius: 50%; background: #eddc6a; box-shadow: -22px 25px 0 #eddc6a, 22px 31px 0 #eddc6a; }
.narasoro-home-rich .narasoro-home-logo { position: relative; z-index: 2; }
.narasoro-home-rich .narasoro-home-logo a { display: block; }
.narasoro-home-rich .narasoro-home-logo a:focus-visible { outline: 3px solid #3d8064; outline-offset: 6px; border-radius: 12px; }
.narasoro-home-rich .narasoro-hero-visual::before,
.narasoro-home-rich .narasoro-hero-visual::after { pointer-events: none; }
.narasoro-home-rich .narasoro-home-logo img { display: block; width: min(100%, 390px); height: auto; margin-inline: auto; filter: drop-shadow(0 15px 18px rgba(73,116,93,.16)); }
.narasoro-home-rich .narasoro-home-logo-caption { position: relative; z-index: 2; text-align: center; font-weight: 700; color: #3d8064; font-size: 16px; letter-spacing: .04em; }
.narasoro-home-rich .narasoro-bead-name { position: relative; display: inline-block; font-weight: 900; }
.narasoro-home-rich .narasoro-bead-name::before,
.narasoro-home-rich .narasoro-bead-name::after { content: ''; position: absolute; top: -7px; width: 8px; height: 8px; border-radius: 50%; background: #eddc6a; border: 2px solid #3d8064; box-shadow: 0 1px 0 rgba(255,253,244,.9) inset; }
.narasoro-home-rich .narasoro-bead-name::before { left: 2.72em; }
.narasoro-home-rich .narasoro-bead-name::after { left: 3.3em; }
.narasoro-home-rich .narasoro-home-caption { margin-top: 18px; color: #60746b; font-size: 14px; }
.narasoro-home-rich .narasoro-intro { max-width: 48em; margin-bottom: 32px; }
.narasoro-home-rich .narasoro-card-grid { gap: 24px; align-items: stretch; }
.narasoro-home-rich .narasoro-card { min-width: 0; padding: 28px; box-shadow: none; }
.narasoro-home-rich .narasoro-card h3 { margin-top: 0; }
.narasoro-home-rich .narasoro-card p:last-child { margin-bottom: 0; }
.narasoro-home-rich .narasoro-six-skills { border-left: 4px solid #08734f; padding: 8px 24px; margin-top: 36px; background: #f1faf5; }
.narasoro-home-rich .narasoro-six-skills h3 { margin: 8px 0; }
.narasoro-home-rich .narasoro-home-two-column { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; margin-bottom: 40px; }
.narasoro-home-rich .narasoro-home-character img { display: block; width: min(100%, 150px); margin-inline: auto; }
.narasoro-home-rich .narasoro-home-price { font-size: 17px; color: #08734f; }
.narasoro-home-rich .narasoro-home-price strong { font-size: 36px; line-height: 1.4; }
.narasoro-home-rich .narasoro-home-price span { font-size: 14px; color: #60746b; }
.narasoro-home-rich .narasoro-class-hours { font-size: 15px; }
.narasoro-home-rich .narasoro-home-faq { padding: 22px 24px; margin-block: 16px; background: #fff; border: 1px solid #dce7e0; border-radius: 8px; }
.narasoro-home-rich .narasoro-home-faq summary { font-weight: 700; cursor: pointer; line-height: 1.7; }
.narasoro-home-rich .narasoro-home-step { padding: 20px 24px; border-left: 1px solid #ffffff55; }
.narasoro-home-rich .narasoro-step-number { color: #f4df5f; font-weight: 800; font-size: 24px; margin: 0 0 8px; }
.narasoro-home-rich .narasoro-home-step h3 { font-size: 20px; }
.narasoro-home-rich .narasoro-home-step-photo { margin: 0 0 18px; }
.narasoro-home-rich .narasoro-home-step-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 4px solid #fff9ec; border-radius: 16px; box-shadow: 0 8px 20px rgba(78, 91, 55, .16); }
.narasoro-home-rich .narasoro-section-green a { color: #fff; }
.narasoro-home-rich .narasoro-section-green .wp-block-button__link { border: 1px solid #ffffff99; }
.narasoro-home-rich .narasoro-section-green .narasoro-button-primary .wp-block-button__link { background: #fff; color: #004d3a; }
.narasoro-home-rich .narasoro-section-green .narasoro-button-outline .wp-block-button__link { background: transparent; color: #fff; }
.narasoro-home-rich .narasoro-buttons { flex-wrap: wrap; gap: 12px; }
.narasoro-home-rich .wp-block-button__link { font-size: 15px; font-weight: 700; padding: 14px 22px; }
@media(max-width: 900px) {
 .narasoro-home-rich .narasoro-home-hero-grid { gap: 28px; grid-template-columns: 1.5fr 1fr; }
 .narasoro-home-rich .narasoro-hero__title { font-size: 38px; }
 .narasoro-home-rich .narasoro-card-grid { display: grid; grid-template-columns: 1fr; }
 .narasoro-home-rich .narasoro-home-two-column { gap: 28px; }
}
@media(max-width: 600px) {
 .narasoro-home-rich .narasoro-section, .narasoro-home-rich .narasoro-hero { padding: 46px 22px; }
 .narasoro-home-rich .narasoro-home-hero-grid, .narasoro-home-rich .narasoro-home-two-column { grid-template-columns: 1fr; gap: 28px; }
 .narasoro-home-rich .narasoro-hero__title { font-size: clamp(29px, 8.2vw, 38px); line-height: 1.45; letter-spacing: 0; }
 .narasoro-home-rich .narasoro-lead { font-size: 16px; }
 .narasoro-home-rich .narasoro-home-logo img { width: 180px; }
 .narasoro-home-rich .narasoro-home-character img { width: 180px; }
 .narasoro-home-rich .narasoro-card { padding: 22px; }
 .narasoro-home-rich .narasoro-six-skills { padding: 8px 16px; }
 .narasoro-home-rich .narasoro-buttons .wp-block-button { width: 100%; }
 .narasoro-home-rich .wp-block-button__link { display: block; text-align: center; }
 .narasoro-pattern h2 { font-size: 26px; line-height: 1.55; }
 .narasoro-pattern h3 { font-size: 20px; }
}
.narasoro-home-rich p { font-weight: 500; }
.narasoro-home-rich .narasoro-eyebrow { font-weight: 800; }
.narasoro-home-rich .narasoro-button-outline .wp-block-button__link { background: transparent; border: 1px solid #9db8aa; color: #17352b; }
.narasoro-home-rich .narasoro-section-green .narasoro-button-outline .wp-block-button__link { background: transparent; border-color: #ffffff99; color: #fff; }
.narasoro-home-rich .narasoro-phrase { display: inline-block; }
.narasoro-home-rich .narasoro-skill-label { display: inline-block; margin: 4px 16px 4px 0; }


/* Readable, gentle typography and a logo-only hero. */
body, .narasoro-pattern, .narasoro-theme-header, .narasoro-theme-footer { font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Meiryo", sans-serif; }
.narasoro-pattern p { font-weight: 400; line-height: 1.9; }
.narasoro-pattern h1, .narasoro-pattern h2, .narasoro-pattern h3 { font-weight: 700; }
.narasoro-home-rich .narasoro-hero { background: linear-gradient(120deg, #fffdf4, #e9f0df); }
.narasoro-home-rich .narasoro-hero-visual::before, .narasoro-home-rich .narasoro-hero-visual::after, .narasoro-home-rich .narasoro-bead-name::before, .narasoro-home-rich .narasoro-bead-name::after { content: none; display: none; }

/* Larger, clearer body copy without changing title typography. */
.narasoro-pattern p, .narasoro-pattern li, .narasoro-pattern td, .narasoro-pattern th { font-size: 18px; font-weight: 500; line-height: 1.9; }
.narasoro-pattern .narasoro-eyebrow, .narasoro-pattern .narasoro-home-caption, .narasoro-pattern .narasoro-note, .narasoro-pattern .narasoro-breadcrumbs { font-size: 16px; }
@media (max-width: 767px) { .narasoro-pattern p, .narasoro-pattern li, .narasoro-pattern td, .narasoro-pattern th, .narasoro-home-rich .narasoro-lead { font-size: 17px; } }

/* A cheerful abacus beside fixed-page headings. */
.narasoro-subpage .narasoro-page-hero { position: relative; background: linear-gradient(120deg,#e6f3e8,#fff9e6); }
.narasoro-subpage .narasoro-page-hero::after { content: ''; position: absolute; width: 220px; height: 160px; right: max(24px,calc((100vw - 1160px)/2)); top: 64px; background: url('../images/narasoro-abacus-welcome.svg') center/contain no-repeat; transform: rotate(5deg); pointer-events: none; }
@media(min-width:900px) { .narasoro-subpage .narasoro-page-hero { padding-right: max(290px,calc((100vw - 1160px)/2 + 270px)); } }
@media(max-width:899px) { .narasoro-subpage .narasoro-page-hero { padding-bottom: 150px; } .narasoro-subpage .narasoro-page-hero::after { width: 145px; height: 105px; top:auto; right:24px; bottom:24px; } }

.narasoro-subpage .narasoro-page-hero::after { width: 235px; height: 180px; background-image: url('../images/narasoro-logo-dog.png'),url('../images/narasoro-abacus-welcome.svg'); background-position: right bottom,left top; background-size: 105px auto,170px auto; transform:none; }
@media(max-width:899px) { .narasoro-subpage .narasoro-page-hero::after { width:190px; height:115px; background-size:80px auto,135px auto; } .narasoro-subpage .narasoro-page-hero { padding-bottom:160px; } }
