:root {
  --ink: #3b2d35;
  --muted: #755f6b;
  --rose: #d85f91;
  --rose-deep: #b94573;
  --blush: #fff0f6;
  --ivory: #fffaf1;
  --paper: #fffdf8;
  --lavender: #8d78c9;
  --sage: #6d9276;
  --gold: #c39b4a;
  --line: #ead6dd;
  --shadow: 0 24px 70px rgba(92, 47, 70, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
  background:
    linear-gradient(rgba(255, 214, 229, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 214, 229, 0.28) 1px, transparent 1px),
    var(--ivory);
  background-size: 28px 28px;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(234, 214, 221, 0.9);
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #e8c5d2;
  border-radius: 50%;
  color: var(--rose-deep);
  background: #fff;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(216, 95, 145, 0.14);
}

.brand strong,
h1,
h2 {
  font-family: "Shippori Mincho", serif;
}

.hand-note {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--rose-deep);
  font-family: "Yomogi", "Noto Sans JP", cursive;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.6;
  transform: rotate(-1deg);
}

.section-heading .hand-note {
  margin-bottom: 10px;
  color: #a85f7c;
  font-size: clamp(15px, 1.6vw, 19px);
}

.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
}

.main-nav a:hover {
  color: var(--rose-deep);
  background: var(--blush);
}

.main-nav .nav-cta {
  color: #fff;
  background: var(--rose-deep);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 74px));
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: clamp(46px, 8vw, 108px) clamp(20px, 5vw, 68px);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(255, 250, 241, 0.92) 0%, rgba(255, 250, 241, 0.76) 40%, rgba(255, 250, 241, 0.08) 72%),
    url("assets/hero-preparation-room.png");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  content: "";
  background: linear-gradient(transparent, var(--ivory));
}

.hero-content {
  width: min(680px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--rose-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

h1 {
  max-width: 11em;
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 32em;
  margin: 22px 0 0;
  color: #604955;
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 700;
}

.hero-actions,
.studio-layout {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: var(--rose-deep);
  box-shadow: 0 14px 30px rgba(185, 69, 115, 0.24);
}

.button.secondary {
  color: var(--rose-deep);
  border-color: #e6bdcb;
  background: rgba(255, 255, 255, 0.7);
}

.class-card {
  position: absolute;
  right: clamp(20px, 5vw, 76px);
  bottom: clamp(28px, 7vw, 96px);
  width: min(270px, calc(100% - 40px));
  padding: 20px;
  border: 1px solid rgba(214, 160, 179, 0.65);
  border-radius: 8px;
  background:
    linear-gradient(rgba(217, 95, 145, 0.08) 1px, transparent 1px),
    #fffefb;
  background-size: 100% 34px;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}

.class-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.class-card ol {
  margin: 0;
  padding-left: 1.3em;
  font-weight: 700;
}

.section,
.band {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 68px);
}

.band {
  background: rgba(255, 253, 248, 0.82);
  border-block: 1px solid rgba(234, 214, 221, 0.72);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: 0;
}

.intro p,
.studio p {
  max-width: 850px;
  margin: 0;
  color: #604955;
  font-size: 17px;
  font-weight: 500;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.lesson-card {
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(76, 54, 65, 0.08);
}

.period {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 4px 10px;
  border: 1px solid #e8c5d2;
  border-radius: 999px;
  color: var(--rose-deep);
  background: var(--blush);
  font-size: 12px;
  font-weight: 900;
}

.lesson-card h3 {
  min-height: 2.7em;
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.lesson-card p {
  color: var(--muted);
}

.lesson-card a,
.article-list a,
.keyword-card {
  color: var(--rose-deep);
  font-weight: 900;
}

.keyword-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.keyword-card {
  display: block;
  min-height: 214px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(216, 95, 145, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(216, 95, 145, 0.08) 1px, transparent 1px),
    #fffefb;
  background-size: 22px 22px;
  box-shadow: 0 18px 42px rgba(76, 54, 65, 0.08);
}

.keyword-card span {
  display: block;
  color: var(--gold);
  font-size: 12px;
}

.keyword-card h3 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.35;
}

.keyword-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.color-board {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.swatch {
  display: grid;
  min-height: 112px;
  place-items: end start;
  padding: 14px;
  border: 1px solid rgba(59, 45, 53, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(76, 54, 65, 0.07);
}

.swatch span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.pink { background: #ffd9e8; }
.white { background: #fffefa; }
.red { background: #e35d65; color: #fff; }
.blue { background: #b8d9f7; }
.purple { background: #d8c9ff; }
.yellow { background: #ffe78e; }
.green { background: #c6e2c7; }
.black { background: #2e2930; color: #fff; }

.studio-layout {
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.visual-split img,
.article-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(76, 54, 65, 0.1);
}

.area-grid,
.inline-link-grid {
  display: grid;
  gap: 12px;
}

.area-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.area-grid a,
.inline-link-grid a {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--rose-deep);
  background: #fffefb;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(76, 54, 65, 0.08);
}

.area-grid span {
  color: var(--muted);
  font-size: 12px;
}

.studio-layout > div:first-child {
  max-width: 760px;
}

.store-list {
  display: grid;
  width: min(420px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.store-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 86px;
  border: 1px solid #e6bdcb;
  border-radius: 8px;
  color: var(--rose-deep);
  background: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(76, 54, 65, 0.08);
}

.store-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.disclosure {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.article-list {
  display: grid;
  max-width: 980px;
  gap: 10px;
}

.article-list a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
}

.faq-list {
  display: grid;
  max-width: 980px;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefb;
  box-shadow: 0 14px 32px rgba(76, 54, 65, 0.07);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--rose-deep);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.site-footer {
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
  background: #fffdf8;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 900;
}

.footer-nav a {
  color: var(--rose-deep);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hub-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 18px 42px rgba(76, 54, 65, 0.08);
}

.hub-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hub-card div {
  padding: 20px;
}

.hub-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.hub-card h2 {
  margin: 8px 0 10px;
  font-size: 24px;
}

.hub-card p {
  margin: 0;
  color: var(--muted);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.compare-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefb;
}

.compare-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.compare-card p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 18px 42px rgba(76, 54, 65, 0.08);
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.gallery-card div {
  padding: 18px;
}

.gallery-card h2 {
  margin: 0 0 8px;
  font-size: 23px;
}

.gallery-card p {
  margin: 0;
  color: var(--muted);
}

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

.policy-list div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefb;
}

.policy-list h2 {
  font-size: 24px;
}

.article-page {
  background:
    linear-gradient(rgba(255, 214, 229, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 214, 229, 0.2) 1px, transparent 1px),
    var(--ivory);
  background-size: 28px 28px;
}

.article-hero {
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 68px) clamp(32px, 6vw, 64px);
  background: rgba(255, 253, 248, 0.82);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.article-hero h1 {
  max-width: 980px;
  font-size: clamp(34px, 5vw, 64px);
}

.article-lead {
  max-width: 840px;
  color: #604955;
  font-size: 18px;
  font-weight: 700;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  padding: clamp(42px, 6vw, 76px) clamp(20px, 5vw, 68px);
}

.article-main,
.article-side {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 18px 42px rgba(76, 54, 65, 0.08);
}

.article-main {
  padding: clamp(24px, 4vw, 42px);
}

.article-main h2 {
  margin-top: 42px;
  font-size: clamp(24px, 3vw, 34px);
}

.article-main h2:first-child {
  margin-top: 0;
}

.article-main ul,
.article-main ol {
  padding-left: 1.35em;
}

.article-main li {
  margin: 8px 0;
}

.article-side {
  align-self: start;
  padding: 22px;
  position: sticky;
  top: 96px;
}

.article-side h2 {
  font-size: 24px;
}

.article-side a {
  color: var(--rose-deep);
  font-weight: 900;
}

.article-visual {
  margin: 0 0 34px;
}

.article-visual img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.article-visual figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.note-box {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid #e6bdcb;
  border-radius: 8px;
  background: var(--blush);
}

.study-table {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.study-table div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefb;
}

.study-table strong {
  color: var(--rose-deep);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.check-grid span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--rose-deep);
  background: #fffefb;
  font-weight: 900;
}

.subtle-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--rose-deep);
  font-weight: 900;
}

.inline-link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.inline-link-grid a {
  min-height: 88px;
  font-size: 16px;
}

@media (max-width: 980px) {
  .main-nav a:not(.nav-cta) {
    display: none;
  }

  .lesson-grid,
  .keyword-grid,
  .color-board,
  .hub-grid,
  .compare-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .class-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 38px;
  }

  .article-body {
    grid-template-columns: 1fr;
  }

  .article-side {
    position: static;
  }

  .visual-split {
    grid-template-columns: 1fr;
  }

  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
  }

  .brand {
    min-width: 0;
  }

  .main-nav .nav-cta {
    padding-inline: 12px;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero-media {
    background-image:
      linear-gradient(rgba(255, 250, 241, 0.9), rgba(255, 250, 241, 0.72)),
      url("assets/hero-preparation-room.png");
    background-position: center top;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .lesson-grid,
  .keyword-grid,
  .hub-grid,
  .compare-grid,
  .gallery-grid,
  .color-board,
  .store-list,
  .area-grid,
  .inline-link-grid {
    grid-template-columns: 1fr;
  }

  .lesson-card {
    min-height: auto;
  }

  .study-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }
}
