/* Blossom More inspired refinement: spacious, quiet and editorial */
:root {
  --bm-ink: #34363b;
  --bm-paper: #fffdfa;
  --bm-blush: #f8e9ec;
  --bm-gray: #f3f2f1;
  --bm-rose: #b86578;
  --bm-line: #e9e1de;
  --bm-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --bm-sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

html { background: var(--bm-paper); }
body {
  color: var(--bm-ink);
  background: var(--bm-paper);
  font-family: var(--bm-sans) !important;
  font-weight: 400;
  line-height: 2;
}

h1, h2, h3, h4, .brand, .result-head h2, .course-copy h2 {
  font-family: var(--bm-serif) !important;
  font-weight: 500 !important;
}

header {
  min-height: 76px;
  height: auto;
  padding: 12px clamp(22px, 5vw, 72px);
  background: rgba(255, 253, 250, .94);
  border-bottom: 1px solid rgba(233, 225, 222, .85);
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand { letter-spacing: .08em !important; font-size: 17px; }
.brand-mark { border-color: var(--bm-rose); color: var(--bm-rose); }
.academy-logo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  flex: 0 0 auto;
}
.brand small { color: var(--bm-rose); letter-spacing: .22em; }
header nav { font-family: var(--bm-sans); font-size: 11px; letter-spacing: .08em; }
header nav a { padding: 7px 0; border-bottom: 1px solid transparent; }
header nav a:hover { color: var(--bm-rose); border-bottom-color: var(--bm-rose); }
.header-contact {
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  padding: 7px 0 !important;
}
.header-contact:hover {
  color: var(--bm-rose);
  background: transparent;
  border-bottom-color: var(--bm-rose);
}

.hero {
  min-height: clamp(520px, calc(100svh - 76px), 620px);
  padding: clamp(72px, 9vw, 115px) clamp(28px, 9vw, 135px);
  border-radius: 0 0 clamp(90px, 20vw, 260px) 0;
}
main .home-hero {
  background-image: linear-gradient(90deg, rgba(255,253,250,.98) 0%, rgba(255,253,250,.9) 42%, rgba(255,253,250,.25) 76%), url(../images/academy-hero-new.png) !important;
  background-size: 100% 100%, auto 100% !important;
  background-position: center, right center !important;
  background-repeat: no-repeat;
}
.hero h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.55; letter-spacing: .06em !important; }
.hero .lead { font-family: var(--bm-serif); font-size: 15px; }
.eyebrow { color: var(--bm-rose); letter-spacing: .25em; }
.hero .down {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  margin-top: 42px;
  padding: 17px 28px;
  color: #fff;
  background: var(--bm-rose);
  border: 1px solid var(--bm-rose);
  border-radius: 2px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .12em;
  box-shadow: 0 12px 30px rgba(184, 101, 120, .24);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.hero .down:hover {
  color: var(--bm-ink);
  background: #fff;
  transform: translateY(-3px);
}

.intro, .form-section, .home-blog, .star-directory, .keywords { padding-top: clamp(85px, 9vw, 125px); padding-bottom: clamp(85px, 9vw, 125px); }
.intro { max-width: 1040px; gap: 24px 90px; }
.about-copy { display: grid; gap: 18px; }
.about-copy p { margin: 0; font-size: 14px; line-height: 2.15; }
.intro h2, .section-title h2, .keywords > h2, .home-blog > h2, .star-directory > h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.65;
  letter-spacing: .06em;
}

.form-section { background: #f3f2f1 !important; }
.form-section form {
  border: 0;
  border-radius: 10px;
  padding: clamp(30px, 5vw, 55px);
  box-shadow: 0 18px 50px rgba(52,54,59,.07) !important;
}
.site-guidance {
  max-width: 720px;
  margin: 24px auto 0;
  color: #756b70;
  font-size: 11px;
  line-height: 1.9;
  text-align: center;
}
.form-section button, .course-copy > a, .guide-nav .back, .blog-home {
  background: var(--bm-ink) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  transition: background .25s ease, transform .25s ease;
}
.form-section button:hover, .course-copy > a:hover, .guide-nav .back:hover, .blog-home:hover {
  background: var(--bm-rose) !important;
  transform: translateY(-2px);
}

.star-directory { background: #fff; }
.directory-groups { gap: 22px; }
.directory-groups > section, .guide-grid section, .guide .wide, .result-block {
  border: 1px solid var(--bm-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 38px rgba(52,54,59,.055) !important;
}
.directory-groups a, .star-grid article, .home-blog > div > a {
  border-radius: 10px;
  border-color: var(--bm-line);
  background: #fff;
}
.directory-groups a:hover, .home-blog > div > a:hover {
  border-color: #d9a9b4;
  box-shadow: 0 16px 34px rgba(91,61,70,.10);
}

.keywords { background: var(--bm-blush); }
.keywords article { border-radius: 6px; }
.keywords article::before { height: 62px; filter: saturate(.72); }
.home-blog img, .blog-hero img, .post-visual, .star-symbol { border-radius: 10px; }
.home-blog img { filter: saturate(.82); }
.foundation-reading { background: linear-gradient(180deg, #fff, #fffaf2); }
.foundation-lead { max-width: 680px; margin: -28px auto 42px; color: #756b70; text-align: center; font-size: 13px; }

/* FAQ is offered after the full star directory, where questions naturally arise. */
.faq-cta {
  max-width: 1100px;
  margin: 0 auto 105px;
  padding: 38px 42px;
  border-radius: 28px;
  background: linear-gradient(120deg, #fff0f5, #f4f0ff 55%, #fff9dc);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.faq-cta .eyebrow { margin-bottom: 8px; }
.faq-cta h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 30px); }
.faq-cta p:last-child { margin: 0; font-size: 12px; }
.faq-cta > a {
  flex: 0 0 auto;
  color: #fff;
  background: #34363b;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 12px;
}
@media (max-width: 700px) {
  .faq-cta { margin: 0 18px 75px; padding: 28px 22px; align-items: flex-start; flex-direction: column; }
}

/* Accessible mobile navigation shared by every static page. */
.mobile-menu-button { display: none; }
.note-link { display: inline-flex; align-items: center; gap: 6px; }
.note-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: url(../images/social-official/note-official-square.png) center / contain no-repeat;
  flex: 0 0 auto;
}
footer .note-link { color: #f6d6df; }
.academy-sns {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}
.academy-sns a,
header nav .academy-sns a,
.footer-links .academy-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  line-height: 1;
}
.academy-sns .instagram-icon,
.academy-sns .note-icon {
  width: 30px;
  height: 30px;
  display: block;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.academy-sns .instagram-icon {
  background-image: url(../images/instagram-icon-square.png);
}
.academy-sns .note-icon {
  background-image: url(../images/note-icon-square.png);
}
.footer-links .academy-sns a {
  color: inherit;
  border-bottom: 0;
}
@media (max-width: 700px) {
  header { position: relative; }
  .mobile-menu-button {
    display: flex;
    width: 48px;
    height: 48px;
    padding: 10px 9px 7px;
    margin-left: auto;
    border: 1px solid #eadfe2;
    border-radius: 50%;
    background: #fff;
    color: #945164;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: none;
  }
  .mobile-menu-button span { width: 20px; height: 1px; background: currentColor; transition: .2s; }
  .mobile-menu-button em { margin-top: 1px; font-size: 6px; font-style: normal; letter-spacing: .12em; }
  header.menu-open .mobile-menu-button span:first-child { transform: translateY(5px) rotate(45deg); }
  header.menu-open .mobile-menu-button span:nth-child(2) { opacity: 0; }
  header.menu-open .mobile-menu-button span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  header > nav {
    display: none !important;
    position: absolute;
    z-index: 100;
    top: calc(100% - 1px);
    left: 14px;
    right: 14px;
    padding: 14px;
    border: 1px solid #eadfe2;
    border-radius: 0 0 22px 22px;
    background: rgba(255,253,250,.98);
    box-shadow: 0 18px 35px rgba(72,45,58,.14);
    flex-direction: column;
    gap: 0;
  }
  header.menu-open > nav { display: flex !important; }
  header > nav > a { width: 100%; padding: 12px 10px; border-bottom: 1px solid #f0e7e9; }
  header > nav > a:last-child { border-bottom: 0; }
  header > nav > .academy-sns--header {
    align-self: flex-start;
    padding: 12px 10px;
  }
}

.guide, .kanshi-page, .blog-page, .courses-page, .faq-page { background: var(--bm-paper); }
.guide > article, .kanshi-page > article { padding-top: clamp(52px, 7vw, 90px); }
.guide-hero, .kanshi-hero {
  border-radius: clamp(55px, 10vw, 125px) 0 !important;
  background: linear-gradient(135deg, var(--pale, #f8e9ec), #fff) !important;
  box-shadow: none;
}
.guide-hero::after { opacity: .12; }
.guide h1, .kanshi-hero h1 { letter-spacing: .06em !important; }
.keyword-row span { border-radius: 3px; box-shadow: none; }
.guide-grid { gap: 14px; }
.guide-grid section { border-top-width: 3px !important; }
.character-summary {
  margin: 38px 0 18px;
  padding: clamp(28px, 5vw, 48px);
  background: linear-gradient(135deg, var(--pale, var(--bm-blush)), #fff);
  border: 0 !important;
  border-radius: 14px;
}
.character-summary > span { color: var(--accent, var(--bm-rose)); font: 700 10px Georgia, serif; letter-spacing: .2em; }
.character-summary h2 { margin: 8px 0 12px; font-size: clamp(24px, 3vw, 32px); }
.character-summary p { font-size: 15px !important; line-height: 2.1; }
.star-name-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.star-name-link strong {
  display: block;
  color: #945164;
  font-size: clamp(19px, 2.1vw, 23px);
  font-weight: 600;
  line-height: 1.5;
}
.star-cell.follower .star-name-link strong { color: #66539f; }
.result-block#insen .block-heading > span { background: #8065c7; }
.result-block#yosen .block-heading > span { background: #4faa7b; }
.result .day-stem-guide {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: min(100%, 520px);
  margin: -30px auto 34px;
  padding: 20px 24px;
  border: 1px solid var(--bm-line);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  text-align: center;
  box-shadow: 0 10px 28px rgba(52,54,59,.045);
}
.result .day-stem-guide p {
  margin: 0;
  color: #756b70;
  font-size: 11px;
  letter-spacing: .08em;
}
.result .day-stem-guide strong {
  color: var(--bm-ink);
  font-family: var(--bm-serif);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  line-height: 1.5;
}
.result .day-stem-guide strong span {
  font-size: .62em;
  white-space: nowrap;
}
.result .day-stem-guide a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 18px;
  color: #945164;
  border-bottom: 1px solid rgba(148,81,100,.42);
  font-size: 12px;
}
.result .day-stem-guide a:hover,
.result .day-stem-guide a:focus-visible {
  color: var(--bm-rose);
  border-color: currentColor;
}
@media (max-width: 700px) {
  .result .day-stem-guide {
    width: 100%;
    margin: -20px auto 26px;
    padding: 18px 14px;
  }
}
.star-name-link:hover,
.star-name-link:focus-visible {
  color: var(--bm-rose);
  background: rgba(255,255,255,.7);
  transform: translateY(-1px);
  outline: none;
}
.feature-first { margin-top: 18px; }
.guide .wide { padding: clamp(28px, 5vw, 46px); }
.faq-banner { border-radius: 8px; }
.star-symbol { box-shadow: 0 18px 45px rgba(52,54,59,.1); }

/* Jikkan detail pages: shared hero layout and image frame. */
.stem-guide .stem-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  align-items: center;
  gap: clamp(30px, 5vw, 56px);
}
.stem-guide .stem-hero__copy,
.stem-guide .stem-hero__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.stem-guide .stem-hero .guide-lead {
  margin: 28px 0;
  font-size: 16px;
}
.stem-guide .stem-hero .keyword-row {
  margin-bottom: 0;
}
.stem-guide .stem-hero__visual {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.stem-guide .stem-hero__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(52,54,59,.1);
}
.stem-guide .stem-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.stem-guide .stem-hero__image--kinoe {
  object-position: center center;
}
.stem-guide .stem-hero__image--kanoe {
  object-position: center 46%;
}
.stem-guide .stem-hero__image--kanoto {
  object-position: center 52%;
}
.stem-guide .stem-hero__visual figcaption {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--bm-ink);
  line-height: 1.6;
}
.stem-guide .stem-hero__visual figcaption span {
  color: var(--accent, var(--bm-rose));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}
.stem-guide .stem-hero__visual figcaption span::after {
  content: "｜";
  margin-left: 8px;
  color: #cfc2c7;
}
.stem-guide .stem-hero__visual figcaption b {
  font-family: var(--bm-serif);
  font-size: 17px;
  font-weight: 500;
}
.stem-guide .stem-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 18px;
  padding: 0;
  border: 0;
}
.stem-guide .stem-facts > div {
  min-width: 0;
  padding: 22px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid #eee0e4;
  border-radius: 10px;
}
.stem-guide .stem-facts small,
.stem-guide .stem-facts span {
  display: block;
  color: #8a7b80;
  font-size: 10px;
}
.stem-guide .stem-facts b {
  display: block;
  margin: 4px 0;
  color: var(--accent, var(--bm-rose));
  font-size: 28px;
}
.stem-guide .stem-kanshi-section h3 {
  margin: 32px 0 16px;
}
.stem-guide .stem-kanshi-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.stem-guide .stem-kanshi-links a {
  display: flex;
  min-width: 0;
  padding: 18px 14px;
  flex-direction: column;
  align-items: center;
  background: var(--pale, var(--bm-blush));
  border: 1px solid #eee0e4;
  border-radius: 10px;
  transition: transform .2s ease, border-color .2s ease;
}
.stem-guide .stem-kanshi-links a:hover,
.stem-guide .stem-kanshi-links a:focus-visible {
  border-color: var(--accent, var(--bm-rose));
  transform: translateY(-2px);
  outline: none;
}
.stem-guide .stem-kanshi-links b {
  font-size: 20px;
}
.stem-guide .stem-kanshi-links small {
  color: #81747a;
  font-size: 10px;
}
.stem-guide .stem-guide-nav {
  display: flex !important;
  justify-content: center;
}

@media (max-width: 700px) {
  .stem-guide .stem-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .stem-guide .stem-hero__visual {
    max-width: 360px;
  }
  .stem-guide .stem-facts {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .stem-guide .stem-facts > div {
    padding: 16px 14px;
  }
  .stem-guide .stem-kanshi-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.blog-hero { max-width: 1100px; margin-top: 70px; gap: clamp(35px, 7vw, 85px); }
.blog-content > section { padding: 82px 0; }
.blog-index a { border-radius: 8px; background: var(--bm-blush); }
.post-lead { font-family: var(--bm-serif); }

.kanshi-image b { color: var(--bm-rose); font: 700 10px var(--bm-sans); letter-spacing: .16em; }
.kanshi-profile { margin: 22px 0 46px; padding: clamp(28px, 5vw, 46px); background: #fff; border: 1px solid var(--bm-line); border-radius: 14px; }
.kanshi-profile > h2, .kanshi-tips > h2 { margin: 4px 0 24px; font-size: clamp(23px, 3vw, 31px); }
.kanshi-profile > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kanshi-profile article { padding: 20px; background: linear-gradient(145deg, #fff7f8, #fff); border-left: 3px solid var(--bm-rose); }
.kanshi-profile small { display: block; color: #81757a; font-size: 9px; letter-spacing: .14em; }
.kanshi-profile b { display: block; margin: 4px 0 8px; color: var(--bm-rose); font: 500 22px var(--bm-serif); }
.kanshi-profile p { margin: 0; font-size: 11px; line-height: 1.8; }
.kanshi-tips { margin: 52px 0 18px; padding: clamp(28px, 5vw, 46px); background: var(--bm-blush); border-radius: 14px; }
.kanshi-tips ol { display: grid; gap: 12px; padding: 0; list-style: none; }
.kanshi-tips li { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 18px; padding: 16px 20px; background: #fff; }
.kanshi-tips li b { color: var(--bm-rose); font-family: var(--bm-serif); }
.kanshi-tips li span { font-size: 12px; }

.courses-hero { background: linear-gradient(135deg, var(--bm-blush), #fff 64%); }
.course-list > article { border-radius: 12px; box-shadow: 0 18px 50px rgba(52,54,59,.08); }
.course-list > article > img { filter: saturate(.82); }
.course-columns section { border-radius: 6px; }

footer { background: #303238; padding-top: 82px; padding-bottom: 82px; }
.footer-links a { border-color: rgba(255,255,255,.25); }

@media (max-width: 900px) {
  header { align-items: center; }
  header nav { max-width: 62%; }
}

@media (max-width: 700px) {
  header { position: relative; display: block; padding: 15px 18px 13px; }
  .brand { justify-content: center; margin-bottom: 12px; }
  .academy-logo { width: 42px; height: 42px; }
  header nav, .blog-page > header nav {
    max-width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px 2px 6px;
    scrollbar-width: thin;
  }
  header nav a { flex: 0 0 auto; }
  .hero {
    min-height: 500px;
    padding-top: 72px;
    padding-bottom: 72px;
    border-radius: 0 0 78px 0;
  }
  main .home-hero {
    background-size: 100% 100%, auto 65% !important;
    background-position: center, right bottom !important;
  }
  .star-name-link strong { font-size: 17px; }
  .guide-hero, .kanshi-hero { border-radius: 52px 0 !important; }
  .guide-grid section, .guide .wide, .result-block { border-radius: 10px !important; }
  .kanshi-profile > div { grid-template-columns: 1fr; }
  .kanshi-tips li { grid-template-columns: 1fr; gap: 2px; }
}

/* Clean white foundation: colour is reserved for meaningful sections and cards. */
:root { --bm-paper: #ffffff; }
html,
body,
main,
.guide,
.kanshi-page,
.blog-page,
.courses-page,
.faq-page,
.star-directory,
.home-blog {
  background-color: #ffffff !important;
}
header { background: rgba(255, 255, 255, .96); }
.intro,
.guide > article,
.kanshi-page > article,
.blog-content,
.faq-page > article { background-color: #ffffff; }

/* Preserve gentle colour only where it improves grouping and navigation. */
.form-section { background: linear-gradient(135deg, #fff7fa, #fffdf0 52%, #f8fdeb) !important; }
.keywords { background: #fff7fa; }
.foundation-reading { background: linear-gradient(180deg, #ffffff, #fffaf2) !important; }
.star-directory { background: linear-gradient(180deg, #ffffff 0%, #fff8fa 100%) !important; }

/* Top page pathways, learning, BLOG and reference directories. */
main .home-pathways,
main .home-learning,
main .home-blog-live,
main .home-star-search {
  padding: clamp(85px, 9vw, 125px) clamp(24px, 6vw, 72px);
  background: var(--bm-paper);
}

main .home-pathways .home-pathways__grid,
main .home-learning .home-learning__grid,
main .home-blog-live .home-blog-live__grid,
main .home-star-search .home-star-search__grid {
  width: min(1100px, 100%);
  margin-right: auto;
  margin-left: auto;
  display: grid;
  gap: 18px;
}

main .home-pathways .home-pathways__grid,
main .home-star-search .home-star-search__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

main .home-learning .home-learning__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
}

main .home-blog-live .home-blog-live__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

main .home-blog-live .home-blog-live__grid:empty {
  margin-top: 0;
}

main .home-pathways .home-pathways__item,
main .home-learning .home-learning__item,
main .home-blog-live .home-blog-live__card,
main .home-star-search .home-star-search__item {
  min-width: 0;
  background: var(--bm-paper);
  border: 1px solid var(--bm-line);
  border-radius: 12px;
  box-shadow: none;
  overflow-wrap: anywhere;
  transition: border-color .2s ease, transform .2s ease;
}

main .home-pathways .home-pathways__item,
main .home-learning .home-learning__item,
main .home-star-search .home-star-search__item {
  min-height: 150px;
  padding: 28px;
}

main .home-pathways .home-pathways__item:hover,
main .home-pathways .home-pathways__item:focus-visible,
main .home-learning .home-learning__item:hover,
main .home-star-search .home-star-search__item:hover,
main .home-star-search .home-star-search__item:focus-visible,
main .home-blog-live .home-blog-live__card:hover,
main .home-blog-live .home-blog-live__card:focus-within {
  border-color: var(--bm-rose);
  transform: translateY(-2px);
}

main .home-pathways .home-pathways__title,
main .home-learning .home-learning__title,
main .home-blog-live .home-blog-live__title,
main .home-star-search .home-star-search__title,
main .home-learning .home-learning__inner > h2,
main .home-blog-live .home-blog-live__inner > h2,
main .home-star-search .home-star-search__inner > h2 {
  color: var(--bm-ink);
  font-family: var(--bm-serif);
  font-weight: 500;
}

main .home-pathways .home-pathways__title,
main .home-learning .home-learning__title,
main .home-blog-live .home-blog-live__title,
main .home-star-search .home-star-search__title {
  font-size: 20px;
  line-height: 1.65;
}

main .home-pathways .home-pathways__description,
main .home-learning .home-learning__description,
main .home-blog-live .home-blog-live__lead,
main .home-blog-live .home-blog-live__meta,
main .home-star-search .home-star-search__description,
main .home-learning .home-learning__lead,
main .home-star-search .home-star-search__lead {
  color: #756b70;
  font-family: var(--bm-sans);
}

main .home-pathways .home-pathways__description,
main .home-learning .home-learning__description,
main .home-star-search .home-star-search__description {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.9;
}

main .home-learning .home-learning__inner,
main .home-blog-live .home-blog-live__inner,
main .home-star-search .home-star-search__inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  text-align: center;
}

main .home-learning .home-learning__inner > h2,
main .home-blog-live .home-blog-live__inner > h2,
main .home-star-search .home-star-search__inner > h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.65;
  letter-spacing: .06em;
}

main .home-learning .home-learning__lead,
main .home-blog-live .home-blog-live__lead,
main .home-star-search .home-star-search__lead {
  max-width: 680px;
  margin: 22px auto 0;
  font-size: 14px;
  line-height: 2;
}

main .home-learning .home-learning__item {
  text-align: left;
}

main .home-learning .home-learning__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 34px;
  padding: 12px 24px;
  color: var(--bm-paper);
  background: var(--bm-ink);
  border: 1px solid var(--bm-ink);
  border-radius: 2px;
  font-family: var(--bm-sans);
  font-size: 13px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

main .home-learning .home-learning__button:hover,
main .home-learning .home-learning__button:focus-visible {
  background: var(--bm-rose);
  border-color: var(--bm-rose);
  transform: translateY(-2px);
}

main .home-blog-live .home-blog-live__card {
  display: flex;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
}

main .home-blog-live .home-blog-live__card-link {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
}

main .home-blog-live .home-blog-live__image {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  background: var(--bm-blush);
}

main .home-blog-live .home-blog-live__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

main .home-blog-live .home-blog-live__category {
  color: var(--bm-rose);
  font-family: var(--bm-sans);
  font-size: 10px;
  letter-spacing: .14em;
}

main .home-blog-live .home-blog-live__title {
  margin: 10px 0 0;
  overflow-wrap: anywhere;
}

main .home-blog-live .home-blog-live__meta {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.7;
}

main .home-blog-live .home-blog-live__status {
  max-width: 680px;
  min-height: 48px;
  margin: 30px auto 0;
  padding: 13px 18px;
  color: #756b70;
  background: var(--bm-blush);
  border: 1px solid var(--bm-line);
  border-radius: 10px;
  font-family: var(--bm-sans);
  font-size: 12px;
  line-height: 1.8;
}

main .home-blog-live .home-blog-live__fallback {
  display: inline-block;
  min-height: 44px;
  margin-top: 18px;
  padding: 10px 0;
  color: var(--bm-rose);
  border-bottom: 1px solid var(--bm-rose);
  font-family: var(--bm-sans);
}

main .home-blog-live .home-blog-live__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 32px;
}

main .home-blog-live .home-blog-live__actions a {
  min-height: 44px;
  padding: 10px 0;
  color: var(--bm-rose);
  border-bottom: 1px solid var(--bm-rose);
  font-family: var(--bm-sans);
}

main .home-star-search .home-star-search__item {
  text-align: left;
}

main .home-star-search .home-star-search__item:nth-child(1) { border-top: 3px solid var(--green); }
main .home-star-search .home-star-search__item:nth-child(2) { border-top: 3px solid var(--bm-rose); }
main .home-star-search .home-star-search__item:nth-child(3) { border-top: 3px solid var(--violet); }
main .home-star-search .home-star-search__item:nth-child(4) { border-top: 3px solid var(--yellow); }

@media (max-width: 900px) {
  main .home-pathways .home-pathways__grid,
  main .home-star-search .home-star-search__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  main .home-pathways,
  main .home-learning,
  main .home-blog-live,
  main .home-star-search {
    padding-right: 18px;
    padding-left: 18px;
  }

  main .home-pathways .home-pathways__grid,
  main .home-star-search .home-star-search__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  main .home-learning .home-learning__grid,
  main .home-blog-live .home-blog-live__grid {
    grid-template-columns: 1fr;
  }

  main .home-pathways .home-pathways__item,
  main .home-star-search .home-star-search__item {
    min-height: 138px;
    padding: 20px 18px;
  }

  main .home-learning .home-learning__item {
    min-height: 0;
    padding: 24px;
  }

  main .home-blog-live .home-blog-live__body {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  main .home-pathways .home-pathways__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  main .home-pathways .home-pathways__item,
  main .home-learning .home-learning__item,
  main .home-learning .home-learning__button,
  main .home-blog-live .home-blog-live__card,
  main .home-star-search .home-star-search__item {
    transition: none;
  }
}

/* Free chart: grouped birth date fields. */
.form-section form .chart-birthday-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-section form .chart-birthday-fields > legend {
  margin-bottom: 10px;
  color: var(--bm-ink);
  font-family: var(--bm-sans);
  font-size: 13px;
  line-height: 1.7;
}

.form-section form .chart-birthday-fields > legend span {
  margin-left: 8px;
  color: var(--bm-rose);
  font-size: 10px;
}

.form-section form .chart-birthday-fields__group {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  width: 100%;
}

.form-section form .chart-birthday-fields__field {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: var(--bm-ink);
  font-family: var(--bm-sans);
  font-size: 12px;
  line-height: 1.5;
}

.form-section form .chart-birthday-fields__field input,
.form-section form .chart-birthday-fields__field select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--bm-ink);
  background-color: #ffffff;
  border: 1px solid var(--bm-line);
  border-radius: 2px;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}

.form-section form .chart-birthday-fields__field select {
  appearance: auto;
  padding-right: 30px;
}

.form-section form .chart-birthday-fields__field input:focus,
.form-section form .chart-birthday-fields__field select:focus {
  border-color: var(--bm-rose);
  outline: 2px solid rgba(184, 101, 120, .18);
  outline-offset: 1px;
}

.form-section form .chart-birthday-fields__help {
  margin: 8px 0 0;
  color: #756b70;
  font-family: var(--bm-sans);
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .form-section form .chart-birthday-fields__group {
    gap: 10px;
  }

  .form-section form .chart-birthday-fields__field input,
  .form-section form .chart-birthday-fields__field select {
    min-height: 48px;
    padding-right: 9px;
    padding-left: 9px;
  }

  .form-section form .chart-birthday-fields__field select {
    padding-right: 24px;
  }
}

@media (max-width: 480px) {
  .form-section form .chart-birthday-fields__group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-section form .chart-birthday-fields__field:first-child {
    grid-column: 1 / -1;
  }
}

/* Top page form, course images and BLOG state refinements. */
.form-section form .chart-birthday-fields__group {
  grid-template-columns: minmax(7.5ch, 1.4fr) repeat(2, minmax(0, 1fr));
}

.form-section form .chart-birthday-fields__field input {
  min-height: 48px;
  text-align: center;
}

.form-section form #chart-birth-year {
  letter-spacing: .08em;
}

main .home-learning .home-learning__item {
  padding: 0;
  overflow: hidden;
}

main .home-learning .home-learning__image {
  display: block;
  width: 100%;
  max-height: 300px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

main .home-learning .home-learning__item .home-learning__title {
  margin: 24px 28px 0;
}

main .home-learning .home-learning__item .home-learning__description {
  margin: 10px 28px 28px;
}

main .home-blog-live .home-blog-live__grid:empty {
  display: none;
}

main .home-blog-live .home-blog-live__status {
  min-height: 0;
  margin-top: 22px;
  padding: 10px 16px;
}

main .home-blog-live .home-blog-live__actions {
  gap: 8px 24px;
  margin-top: 22px;
}

main .home-blog-live .home-blog-live__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 700px) {
  main .home-learning .home-learning__item .home-learning__title {
    margin: 22px 24px 0;
  }

  main .home-learning .home-learning__item .home-learning__description {
    margin: 10px 24px 24px;
  }
}

@media (max-width: 480px) {
  .form-section form .chart-birthday-fields__group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Editorial layout for the academy top page. */
main .home-hero {
  min-height: clamp(500px, 72svh, 580px);
  padding-top: clamp(72px, 9vw, 108px);
  padding-bottom: clamp(64px, 8vw, 94px);
}

main .home-hero .home-hero__eyebrow {
  margin-bottom: 18px;
  font-size: 10px;
  letter-spacing: .3em;
}

main .home-hero .home-hero__title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.48;
}

main .home-hero .home-hero__lead {
  max-width: 560px;
  margin-top: 24px;
  line-height: 2;
}

main .home-hero .home-hero__cta {
  min-height: 48px;
  margin-top: 34px;
  box-shadow: none;
}

main .home-pathways {
  padding-top: clamp(62px, 7vw, 92px);
  padding-bottom: clamp(74px, 8vw, 108px);
}

main .home-pathways .home-pathways__visual {
  width: min(1100px, 100%);
  max-height: 410px;
  margin: 0 auto clamp(30px, 4vw, 46px);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--bm-line);
  border-radius: 10px;
}

main .home-pathways .home-pathways__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

main .home-pathways .home-pathways__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(155px, auto));
  gap: 18px;
}

main .home-pathways .home-pathways__item {
  position: relative;
  min-height: 0;
  justify-content: flex-end;
  padding: 28px;
  text-align: left;
}

main .home-pathways .home-pathways__item--featured {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  min-height: 328px;
  padding: clamp(32px, 4vw, 48px);
}

main .home-pathways .home-pathways__item--learn {
  grid-column: 3;
  grid-row: 1;
}

main .home-pathways .home-pathways__item--read {
  grid-column: 4;
  grid-row: 1;
}

main .home-pathways .home-pathways__item--directory {
  grid-column: 3 / 5;
  grid-row: 2;
}

main .home-pathways .home-pathways__number {
  position: absolute;
  top: 22px;
  left: 26px;
  color: var(--bm-rose);
  font-family: var(--bm-sans);
  font-size: 10px;
  letter-spacing: .18em;
}

main .home-pathways .home-pathways__item--featured .home-pathways__title {
  max-width: 420px;
  font-size: clamp(24px, 3vw, 34px);
}

main .intro#about {
  max-width: 1040px;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
  grid-template-areas:
    "eyebrow visual"
    "title visual"
    "copy visual";
  grid-template-rows: auto auto 1fr;
  align-items: start;
  gap: 32px clamp(54px, 8vw, 112px);
  padding-top: clamp(92px, 10vw, 138px);
  padding-bottom: clamp(86px, 9vw, 124px);
}

main .intro#about > .eyebrow {
  grid-area: eyebrow;
  align-self: end;
  margin-bottom: 4px;
  font-size: 10px;
}

main .intro#about > h2 {
  grid-area: title;
  max-width: 520px;
  margin: 0;
}

main .intro#about .about-copy {
  grid-area: copy;
  max-width: 610px;
}

main .intro#about .home-about__visual {
  grid-area: visual;
  width: 100%;
  margin: 0;
  overflow: hidden;
  align-self: center;
  aspect-ratio: 3 / 2;
  border-radius: 10px;
}

main .intro#about .home-about__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

main .form-section#form {
  padding-top: clamp(92px, 10vw, 132px);
  padding-bottom: clamp(92px, 10vw, 132px);
}

main .form-section#form .section-title {
  margin-bottom: 34px;
}

main .form-section#form .section-title .eyebrow {
  font-size: 10px;
}

main .form-section#form > form {
  background: var(--bm-paper);
  border: 1px solid var(--bm-line);
  box-shadow: none;
}

main .personal-reading-home {
  padding-top: clamp(88px, 9vw, 126px);
  padding-bottom: clamp(88px, 9vw, 126px);
}

main .personal-reading-home .personal-reading-inner {
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  align-items: center;
}

main .personal-reading-home .personal-reading-visual {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
}

main .personal-reading-home .personal-reading-actions a {
  min-height: 48px;
}

main .home-learning {
  background: var(--bm-blush);
}

main .home-learning .home-learning__grid {
  align-items: stretch;
}

main .home-learning .home-learning__item {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

main .home-learning .home-learning__image {
  flex: 0 0 auto;
}

main .home-learning .home-learning__title {
  order: 1;
}

main .home-learning .home-learning__description {
  order: 2;
}

main .home-learning .home-learning__button {
  min-height: 48px;
}

main .home-blog-live .home-blog-live__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  text-align: left;
}

main .home-blog-live .home-blog-live__heading {
  max-width: 720px;
}

main .home-blog-live .home-blog-live__heading > h2 {
  margin: 0;
  color: var(--bm-ink);
  font-family: var(--bm-serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .06em;
}

main .home-blog-live .home-blog-live__heading .home-blog-live__lead {
  margin: 20px 0 0;
}

main .home-blog-live .home-blog-live__all-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  color: var(--bm-paper);
  background: var(--bm-ink);
  border: 1px solid var(--bm-ink);
  border-radius: 2px;
  font-family: var(--bm-sans);
  font-size: 12px;
}

main .home-blog-live .home-blog-live__all-link:hover,
main .home-blog-live .home-blog-live__all-link:focus-visible {
  color: var(--bm-paper);
  background: var(--bm-rose);
  border-color: var(--bm-rose);
}

main .home-blog-live .home-blog-live__grid:has(> .home-blog-live__card:only-child) {
  grid-template-columns: minmax(0, 600px);
}

main .home-blog-live .home-blog-live__grid:has(> .home-blog-live__card:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

main .home-blog-live .home-blog-live__grid:empty {
  display: none;
}

main .home-blog-live .home-blog-live__status {
  margin-top: 22px;
}

main .home-blog-live .home-blog-live__actions {
  justify-content: flex-start;
}

main .home-star-search {
  background: var(--bm-blush);
}

main .home-star-search .home-star-search__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

main .home-star-search .home-star-search__item {
  position: relative;
  min-height: 132px;
  padding: 26px 24px 22px;
  border-top-width: 1px;
}

main .home-star-search .home-star-search__item::before {
  width: 8px;
  height: 8px;
  margin-bottom: 16px;
  background: var(--bm-rose);
  border-radius: 50%;
  content: "";
}

main .home-star-search .home-star-search__item--main-stars::before {
  background: var(--green);
}

main .home-star-search .home-star-search__item--follow-stars::before {
  background: var(--bm-rose);
}

main .home-star-search .home-star-search__item--tenchusatsu::before {
  background: var(--violet);
}

main .home-star-search .home-star-search__item--kanshi::before {
  background: var(--yellow);
}

main .faq-cta {
  max-width: 1100px;
  margin-top: clamp(72px, 8vw, 110px);
  margin-bottom: clamp(72px, 8vw, 110px);
  padding: clamp(34px, 5vw, 54px);
  background: var(--bm-blush);
  border: 1px solid var(--bm-line);
  border-radius: 12px;
  box-shadow: none;
}

main .faq-cta > a {
  min-height: 48px;
}

main .home-pathways .eyebrow,
main .intro#about .eyebrow,
main .form-section#form .eyebrow,
main .personal-reading-home .eyebrow,
main .home-learning .eyebrow,
main .home-blog-live .eyebrow,
main .home-star-search .eyebrow,
main .faq-cta .eyebrow {
  font-size: 10px;
  letter-spacing: .25em;
}

@media (max-width: 900px) {
  main .home-pathways .home-pathways__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  main .home-pathways .home-pathways__item,
  main .home-pathways .home-pathways__item--featured,
  main .home-pathways .home-pathways__item--learn,
  main .home-pathways .home-pathways__item--read,
  main .home-pathways .home-pathways__item--directory {
    grid-column: auto;
    grid-row: auto;
    min-height: 180px;
  }

  main .home-pathways .home-pathways__item--featured,
  main .home-pathways .home-pathways__item--directory {
    grid-column: 1 / -1;
  }

  main .intro#about {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "copy"
      "visual";
    grid-template-rows: auto;
    gap: 24px;
  }

  main .intro#about .about-copy {
    justify-self: start;
  }

  main .intro#about .home-about__visual {
    margin-top: 12px;
  }
}

@media (max-width: 760px) {
  main .personal-reading-home .personal-reading-inner {
    grid-template-columns: 1fr;
  }

  main .home-blog-live .home-blog-live__header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  main .home-blog-live .home-blog-live__all-link {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  main .home-blog-live .home-blog-live__grid,
  main .home-blog-live .home-blog-live__grid:has(> .home-blog-live__card:only-child),
  main .home-blog-live .home-blog-live__grid:has(> .home-blog-live__card:nth-child(2):last-child) {
    grid-template-columns: 1fr;
  }

  main .home-star-search .home-star-search__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  main .home-pathways .home-pathways__visual {
    max-height: none;
    aspect-ratio: 3 / 2;
  }

  main .home-pathways .home-pathways__grid {
    grid-template-columns: 1fr;
  }

  main .home-pathways .home-pathways__item,
  main .home-pathways .home-pathways__item--featured,
  main .home-pathways .home-pathways__item--directory {
    grid-column: auto;
    min-height: 164px;
  }

  main .home-pathways .home-pathways__item--featured .home-pathways__title {
    font-size: 22px;
  }

  main .home-hero {
    min-height: 500px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 480px) {
  main .home-star-search .home-star-search__grid {
    grid-template-columns: 1fr;
  }

  main .faq-cta {
    margin-right: 18px;
    margin-left: 18px;
  }
}
/* Keyboard focus for course cards. */
main .home-learning .home-learning__item:focus-visible {
	border-color: #b86578;
	outline: 2px solid #b86578;
	outline-offset: 3px;
	transform: translateY(-2px);
}
