:root {
  --text: #554236;
  --pink: #e79198;
  --pink-light: #f7c8d0;
  --cream: #f9efea;
  --paper: #fffaf7;
  --footer: #505050;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 73px;
  padding: 8px clamp(20px, 4.8vw, 70px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(85, 66, 54, 0.08);
}

.logo-crop {
  position: relative;
  display: block;
  overflow: hidden;
  flex: 0 0 auto;
}

.logo-crop img {
  position: absolute;
  max-width: none;
}

.logo-crop--header {
  width: 119px;
  height: 43px;
}

.logo-crop--header img {
  width: 114%;
  height: 392%;
  left: -6%;
  top: -140%;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 32px);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.global-nav a {
  transition: color 0.2s ease;
}

.global-nav a:hover {
  color: var(--pink);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-button span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 7px auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button.is-open span:first-child {
  transform: translateY(4.5px) rotate(32deg);
}

.menu-button.is-open span:last-child {
  transform: translateY(-4.5px) rotate(-32deg);
}

.hero {
  min-height: 650px;
  display: grid;
  place-items: center;
  padding: 120px 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    url("assets/hero-sweets.png") center 42% / cover no-repeat;
}

.hero__copy {
  width: min(760px, calc(100vw - 40px));
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.hero__copy p {
  margin: 0 0 12px;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 400;
}

.hero__copy h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.55;
}

.hero__copy h1 span {
  white-space: nowrap;
}

.concept {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
  padding: clamp(80px, 8vw, 100px) 20px;
  text-align: center;
  background: url("assets/concept-bg.png") center / cover no-repeat;
}

.section-title {
  text-align: center;
}

.section-title span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--pink);
  font-family: "Dancing Script", cursive;
  font-size: 24px;
  font-weight: 700;
}

.section-title span::before,
.section-title span::after {
  content: "";
  width: 57px;
  height: 1px;
  background: rgba(231, 145, 152, 0.5);
}

.section-title h2 {
  margin: 8px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.048em;
  line-height: 1.55;
}

.section-title em {
  color: var(--pink);
  font-style: normal;
}

.section-title--left {
  text-align: left;
}

.concept__text {
  max-width: 840px;
  margin: 0;
  font-size: 16px;
  line-height: 2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(500px, 100%);
  min-height: 64px;
  padding: 18px 42px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(85, 66, 54, 0.13);
}

.button--small {
  min-width: 344px;
  min-height: 58px;
  padding: 16px 36px;
}

.about-raw {
  position: relative;
  z-index: 2;
  overflow: visible;
  padding: 230px 20px 180px;
  background: var(--cream);
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.wave--top {
  top: 0;
  height: 174px;
  background-image: url("assets/wave-to-about.png");
}

.about-raw__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 433px) minmax(0, 675px);
  align-items: center;
  gap: 32px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.about-raw__image {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 433 / 439;
}

.about-raw__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-raw__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  font-size: 16px;
}

.about-raw__content .section-title h2 {
  white-space: nowrap;
}

.about-raw__content p {
  margin: 0;
}

.about-raw__decor {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - var(--max)) / 2 - 130px));
  top: 610px;
  width: 265px;
  height: auto;
  pointer-events: none;
}

.service {
  position: relative;
  z-index: 1;
  padding: 0 20px 130px;
  background: var(--cream);
  text-align: center;
}

.service__lead {
  margin: 18px 0 54px;
  font-size: 16px;
}

.service__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  width: min(980px, 100%);
  margin: 0 auto;
}

.service-card {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--pink);
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(85, 66, 54, 0.08);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.service-card span {
  position: absolute;
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-card__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.service-card__text small,
.service-card__text strong {
  display: block;
  font: inherit;
}

.service-card__text small {
  color: var(--text);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
}

.service-card:hover img {
  transform: scale(1.06);
  opacity: 0.72;
}

.message {
  position: relative;
  padding: 95px 20px 320px;
  background: #fff8f5;
}

.message__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.message__content {
  position: relative;
  font-size: 16px;
}

.message__content::before {
  content: "";
  position: absolute;
  left: -44px;
  top: -26px;
  width: 170px;
  height: 320px;
  opacity: 0.12;
  border-left: 1px solid var(--pink);
  border-bottom: 1px solid var(--pink);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.message__content p {
  position: relative;
  margin: 24px 0 0;
}

.message__image {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 500 / 431;
}

.message__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.footer {
  position: relative;
  overflow: visible;
  padding: 80px 20px 20px;
  background: var(--footer);
  color: #fff;
}

.wave--footer {
  top: -173px;
  z-index: 2;
  height: 174px;
  background-image: url("assets/wave-to-footer.png");
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 295px 1fr;
  gap: clamp(54px, 9vw, 128px);
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.logo-crop--footer {
  width: 295px;
  height: 101px;
}

.logo-crop--footer img {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: contain;
}

.footer__brand p {
  margin: 21px 0 18px;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer__social svg {
  display: block;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.footer__social a:hover {
  background: rgba(232, 137, 151, 0.24);
  transform: translateY(-3px);
}

.footer__social a:hover svg {
  transform: scale(1.08);
}

.footer__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 295px);
  min-height: 95px;
  border-radius: 24px;
  background: #fff;
  color: var(--pink);
  font-size: 20px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer__contact:hover {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(232, 137, 151, 0.24);
  transform: translateY(-3px);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  align-content: start;
}

.footer__nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.footer__nav a::after {
  content: "›";
  font-size: 24px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.footer__nav a:hover {
  color: var(--pink);
  border-color: rgba(232, 137, 151, 0.75);
  padding-left: 8px;
}

.footer__nav a:hover::after {
  transform: translateX(5px);
}

.footer__legal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 28px 0 0;
  color: #fff;
  font-family: Inter, "Zen Maru Gothic", sans-serif;
  font-size: 11px;
  line-height: 1.5;
}

.footer__legal a {
  border-bottom: 1px solid transparent;
  opacity: 0.92;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.footer__legal a:hover {
  color: var(--pink);
  border-color: currentColor;
  opacity: 1;
}

.copyright {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 11px;
}

.sweets-page,
.voice-page,
.about-page,
.lesson-page,
.legal-page,
.privacy-page {
  background: #fdf4ef;
}

.sweets-intro,
.voice-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 100px clamp(20px, 6vw, 100px);
  background: #fdf4ef;
}

.sweets-intro .section-title h1,
.voice-intro .section-title h1,
.contact-panel .section-title h2 {
  margin: 8px 0 0;
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  line-height: 1.45;
}

.sweets-intro .section-title h1,
.voice-intro .section-title h1 {
  font-size: clamp(34px, 4vw, 48px);
}

.sweets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 100px 18px;
  width: min(1240px, 100%);
}

.sweet-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.sweet-card img {
  width: 100%;
  aspect-ratio: 401 / 340;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.sweet-card h2 {
  margin: 0;
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 700;
  line-height: 1.45;
}

.sweet-card span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 35px;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.sweet-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.pagination a,
.pagination span,
.pagination .page-numbers {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 34px;
  text-align: center;
  line-height: 1;
}

.pagination .is-current,
.pagination .current {
  color: var(--pink);
}

.pagination .is-current::after,
.pagination .current::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transform: translateX(-50%);
}

.pagination__next {
  font-size: 31px;
  line-height: 1;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: min(1220px, 100%);
}

.voice-card {
  min-height: 520px;
  padding: 40px 41px;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.voice-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 40px;
}

.voice-card h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
}

.voice-card span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 35px;
  background: var(--pink);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.voice-card p,
.voice-card__body {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 400;
  line-height: 1.55;
}

.voice-card__body p {
  margin: 0 0 1em;
}

.voice-card__body p:last-child {
  margin-bottom: 0;
}

.legal-hero {
  display: flex;
  justify-content: center;
  padding: 100px 20px 48px;
  background: #fdf4ef;
  text-align: center;
}

.legal-hero .section-title h1 {
  margin: 8px 0 0;
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.45;
}

.privacy-hero {
  display: flex;
  justify-content: center;
  padding: 100px 20px 64px;
  background: #fdf4ef;
  text-align: center;
}

.privacy-hero .section-title h1 {
  margin: 8px 0 0;
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.45;
}

.privacy-section {
  padding: 0 clamp(20px, 6vw, 100px) 80px;
  background: #fdf4ef;
}

.privacy-section__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.privacy-content {
  color: #000;
  font-size: clamp(16px, 1.65vw, 24px);
  font-weight: 400;
  line-height: 1.75;
}

.privacy-content h2 {
  margin: 0 0 32px;
  color: #000;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.75;
}

.privacy-content h3 {
  margin: 34px 0 8px;
  color: #000;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.75;
}

.privacy-content p {
  margin: 0 0 1.35em;
}

.privacy-content ol,
.privacy-content ul {
  margin: 0 0 1.35em;
  padding-left: 1.35em;
}

.privacy-content li {
  margin: 0 0 0.2em;
}

.privacy-content__date {
  margin-top: 34px;
}

.legal-section {
  padding: 0 clamp(20px, 6vw, 100px) 110px;
  background: #fdf4ef;
}

.legal-section__inner {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  background: #fff;
}

.legal-section__inner h2 {
  margin: 0 0 28px;
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.45;
}

.legal-table {
  margin: 0;
  border-top: 1px solid rgba(231, 145, 152, 0.42);
}

.legal-table__row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  border-bottom: 1px solid rgba(231, 145, 152, 0.32);
}

.legal-table dt,
.legal-table dd {
  margin: 0;
  padding: 22px 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.legal-table dt {
  padding-right: 28px;
  font-weight: 500;
}

.legal-table dd {
  padding-left: 28px;
  border-left: 1px solid rgba(231, 145, 152, 0.22);
}

.legal-table dd p {
  margin: 0 0 0.45em;
}

.legal-table dd p:last-child {
  margin-bottom: 0;
}

.legal-table dd h3 {
  margin: 18px 0 8px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

.legal-table dd h3:first-child {
  margin-top: 0;
}

.legal-table dd ul {
  margin: 8px 0 10px;
  padding-left: 1.4em;
}

.legal-table dd li {
  margin: 0 0 0.35em;
  line-height: 1.8;
}

.about-school {
  position: relative;
  overflow: hidden;
  padding: 250px clamp(20px, 10.4vw, 150px);
  background: #f9efea;
}

.about-school__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 180px;
  width: min(1140px, 100%);
  margin: 0 auto;
}

.about-school__wave {
  position: absolute;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 174px;
  background: url("assets/wave-to-about.png") center / 100% 100% no-repeat;
  pointer-events: none;
}

.about-school__wave--top {
  top: 0;
}

.about-school__wave--bottom {
  bottom: 0;
  transform: rotate(180deg);
}

.about-school__row {
  display: grid;
  grid-template-columns: 433px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.about-school__main-image {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
}

.about-school__main-image img {
  width: 100%;
  aspect-ratio: 433 / 531;
  object-fit: cover;
  object-position: center;
}

.about-school__text,
.about-school__copy {
  color: #000;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.about-school__text {
  position: relative;
}

.about-school__text .section-title,
.about-school__block .section-title {
  margin-bottom: 48px;
}

.about-school__text .section-title h1,
.about-school__block .section-title h2,
.reason-section .section-title h2 {
  margin: 8px 0 0;
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(30px, 3.3vw, 40px);
  font-weight: 700;
  line-height: 1.45;
}

.about-school__text p,
.about-school__copy p {
  margin: 0 0 0.9em;
}

.about-school__text p:last-child,
.about-school__copy p:last-child {
  margin-bottom: 0;
}

.about-school__block {
  position: relative;
  width: 100%;
}

.about-school__copy {
  width: 100%;
}

.about-school__floating {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.about-school__floating--choco {
  right: -60px;
  top: 735px;
  width: 398px;
}

.about-school__floating--cake {
  left: max(24px, calc((100vw - 1140px) / 2 - 42px));
  top: 1218px;
  width: 380px;
  transform: rotate(14deg);
}

.reason-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 100px clamp(20px, 7vw, 103px);
  background: #fdf4ef;
}

.reason-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: min(1239px, 100%);
}

.reason-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 531px;
  align-items: center;
  overflow: hidden;
  min-height: 277px;
  border-radius: 8px;
  background: #fff;
}

.reason-card--reverse {
  grid-template-columns: 531px minmax(0, 1fr);
}

.reason-card__body {
  display: grid;
  grid-template-columns: 57px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 40px;
}

.reason-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 57px;
  height: 57px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.reason-card h3 {
  margin: 0 0 20px;
  color: var(--pink);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.45;
}

.reason-card p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.reason-card img {
  width: 100%;
  height: 277px;
  object-fit: cover;
}

.reason-card--reverse img {
  object-fit: contain;
  background: #fff;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto 80px;
  padding: 44px clamp(24px, 10vw, 237px) 36px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.contact-panel .section-title h2 {
  font-size: clamp(26px, 3vw, 30px);
}

.contact-panel p {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.footer--simple {
  overflow: hidden;
  padding-top: 47px;
}

.lesson-hero,
.lesson-section,
.lesson-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fdf4ef;
}

.lesson-hero {
  gap: 28px;
  padding: 100px clamp(20px, 7vw, 100px) 56px;
  text-align: center;
}

.lesson-hero .section-title h1,
.lesson-section .section-title h2,
.lesson-flow .section-title h2 {
  margin: 8px 0 0;
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.45;
}

.lesson-hero p {
  max-width: 960px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.lesson-anchor-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 12px;
  width: min(1240px, 100%);
}

.lesson-anchor-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 22px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lesson-card {
  scroll-margin-top: 96px;
}

.lesson-anchor-nav a:hover {
  box-shadow: 0 8px 16px rgba(85, 66, 54, 0.12);
  transform: translateY(-2px);
}

.lesson-section {
  gap: 48px;
  padding: 40px clamp(20px, 7vw, 100px) 90px;
}

.lesson-section__lead {
  max-width: 760px;
  margin: -24px 0 18px;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}

.lesson-section--course {
  padding-top: 10px;
}

.lesson-flow-button {
  min-width: min(360px, 100%);
  min-height: 64px;
  margin-top: 18px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.lesson-flow-button:hover {
  background: #dd7f8a;
  box-shadow: 0 12px 26px rgba(85, 66, 54, 0.18);
  transform: translateY(-4px);
}

.lesson-card {
  width: min(1240px, 100%);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(85, 66, 54, 0.06);
}

.lesson-card__image {
  margin: 0;
  aspect-ratio: 1240 / 300;
  overflow: hidden;
}

.lesson-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lesson-card__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 38px 50px 56px;
}

.lesson-card h3 {
  margin: 0;
  padding-bottom: 24px;
  border-bottom: 2px dotted rgba(231, 145, 152, 0.65);
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.45;
}

.lesson-card p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
}

.lesson-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin: 0;
  padding: 0;
}

.lesson-meta div {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lesson-meta dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink);
  font-size: 19px;
  font-weight: 700;
}

.lesson-meta dt::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: currentColor;
  mask: center / contain no-repeat;
  -webkit-mask: center / contain no-repeat;
}

.lesson-meta div:nth-child(1) dt::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Z'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2'/%3E%3Cpath d='M18 14h.01'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Z'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2'/%3E%3Cpath d='M18 14h.01'/%3E%3C/svg%3E");
}

.lesson-meta div:nth-child(2) dt::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
}

.lesson-meta div:nth-child(3) dt::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='3' rx='2'/%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 17v4'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='3' rx='2'/%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 17v4'/%3E%3C/svg%3E");
}

.lesson-meta dd {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
}

.lesson-menu-title {
  margin: 0;
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.45;
}

.lesson-menu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lesson-menu-tags li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.lesson-checks {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.lesson-checks li {
  position: relative;
  padding-left: 30px;
}

.lesson-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1px solid var(--pink);
  color: var(--pink);
  font-size: 13px;
  line-height: 1;
}

.lesson-checks--tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lesson-checks--tags li {
  min-height: 32px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #83915c;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}

.lesson-checks--tags li::before {
  content: none;
}

.button--compact {
  align-self: center;
  min-width: 240px;
  min-height: 46px;
  padding: 12px 34px;
  font-size: 15px;
}

.lesson-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 44px;
  align-items: start;
}

.lesson-benefit {
  display: grid;
  gap: 16px;
  padding: 28px 34px;
  border: 1px solid rgba(231, 145, 152, 0.7);
  border-radius: 8px;
  background: #fff;
}

.lesson-benefit h4 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  line-height: 1.45;
}

.lesson-benefit p {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.lesson-benefit p::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.18em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--text);
  font-size: 12px;
  line-height: 1;
}

.lesson-card__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.lesson-flow {
  gap: 48px;
  padding: 100px clamp(20px, 7vw, 100px);
  background:
    linear-gradient(rgba(253, 244, 239, 0.82), rgba(253, 244, 239, 0.88)),
    url("assets/lesson-flow-bg.png") center / cover no-repeat;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  width: min(1240px, 100%);
}

.flow-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 450px;
  padding: 16px 30px 22px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.flow-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  border-radius: 8px;
  background: var(--pink);
  color: #fff;
  font-family: "Dancing Script", cursive;
  font-size: 24px;
  font-weight: 700;
}

.flow-card h3 {
  min-height: 70px;
  margin: 0;
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.45;
}

.flow-card img {
  width: min(235px, 100%);
  aspect-ratio: 235 / 239;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.flow-card:nth-child(1) img {
  object-position: left center;
}

.flow-card:nth-child(3) img {
  object-position: right center;
}

.flow-card p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
}

.sns-mark {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 64px;
  }

  .menu-button {
    display: block;
  }

  .global-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    gap: 0;
    padding: 8px 20px 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 24px rgba(85, 66, 54, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .global-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .global-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(85, 66, 54, 0.12);
  }

  .hero {
    min-height: 560px;
  }

  .concept__text br {
    display: none;
  }

  .about-raw {
    padding-top: 190px;
  }

  .about-raw__inner,
  .message__inner {
    grid-template-columns: 1fr;
  }

  .about-raw__image,
  .message__image {
    max-width: 560px;
    width: 100%;
    justify-self: center;
  }

  .about-raw__decor {
    display: none;
  }

  .about-raw__content .section-title h2 {
    white-space: normal;
  }

  .service__grid {
    max-width: 720px;
  }

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

  .about-school {
    padding-top: 180px;
    padding-bottom: 180px;
  }

  .about-school__inner {
    gap: 120px;
  }

  .about-school__row {
    grid-template-columns: 1fr;
  }

  .about-school__main-image {
    width: min(433px, 100%);
    justify-self: center;
  }

  .about-school__floating--choco {
    right: -100px;
    opacity: 0.55;
  }

  .about-school__floating--cake {
    left: -80px;
    opacity: 0.55;
  }

  .reason-card,
  .reason-card--reverse {
    grid-template-columns: 1fr;
  }

  .reason-card--reverse img {
    order: 2;
  }

  .reason-card--reverse .reason-card__body {
    order: 1;
  }

  .sweets-grid,
  .voice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px 24px;
  }

  .lesson-detail-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .lesson-card__image {
    aspect-ratio: 960 / 330;
  }

  .flow-card {
    min-height: 0;
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .contact-panel p {
    font-size: 17px;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 500px;
    align-items: end;
    padding-bottom: 48px;
    background-position: center top;
  }

  .section-title span::before,
  .section-title span::after {
    width: 36px;
  }

  .section-title--left {
    text-align: center;
  }

  .concept,
  .service,
  .message {
    padding-left: 18px;
    padding-right: 18px;
  }

  .button,
  .button--small {
    width: 100%;
    min-width: 0;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 15px;
  }

  .about-raw {
    padding: 150px 18px 76px;
  }

  .wave--top {
    height: 120px;
  }

  .service {
    padding-bottom: 84px;
  }

  .service__grid {
    grid-template-columns: 1fr;
    max-width: 310px;
  }

  .message {
    padding-top: 72px;
    padding-bottom: 260px;
  }

  .footer {
    padding-top: 72px;
  }

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

  .about-school {
    padding: 128px 18px;
  }

  .about-school__wave {
    height: 110px;
  }

  .about-school__inner {
    gap: 88px;
  }

  .about-school__text,
  .about-school__copy {
    font-size: 15px;
  }

  .about-school__text .section-title,
  .about-school__block .section-title {
    margin-bottom: 32px;
  }

  .about-school__floating {
    display: none;
  }

  .reason-section {
    gap: 40px;
    padding: 72px 18px;
  }

  .reason-card__body {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 22px;
  }

  .reason-card__number {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .reason-card h3 {
    font-size: 22px;
  }

  .reason-card p {
    font-size: 15px;
  }

  .reason-card img {
    height: auto;
    aspect-ratio: 531 / 277;
  }

  .sweets-intro,
  .voice-intro {
    gap: 48px;
    padding: 72px 18px;
  }

  .sweets-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .sweet-card {
    align-items: center;
    text-align: center;
  }

  .voice-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .voice-card {
    min-height: 0;
    padding: 30px 24px;
  }

  .voice-card__meta {
    margin-bottom: 28px;
  }

  .voice-card h2 {
    font-size: 20px;
  }

  .voice-card span {
    font-size: 13px;
  }

  .voice-card p,
  .voice-card__body {
    font-size: 16px;
  }

  .legal-hero {
    padding: 72px 18px 36px;
  }

  .privacy-hero {
    padding: 72px 18px 40px;
  }

  .privacy-section {
    padding: 0 18px 64px;
  }

  .privacy-content {
    font-size: 15px;
    line-height: 1.8;
  }

  .privacy-content h2 {
    margin-bottom: 24px;
  }

  .privacy-content h3 {
    margin-top: 28px;
  }

  .legal-section {
    padding: 0 18px 72px;
  }

  .legal-section__inner {
    padding: 28px 20px;
  }

  .legal-table__row {
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

  .legal-table dt,
  .legal-table dd {
    padding: 0;
    font-size: 15px;
  }

  .legal-table dt {
    margin-bottom: 6px;
    color: var(--pink);
  }

  .legal-table dd {
    border-left: 0;
  }

  .pagination {
    gap: 18px;
    font-size: 16px;
  }

  .contact-panel {
    width: calc(100% - 36px);
    margin-bottom: 64px;
    padding: 38px 20px;
  }

  .contact-panel p br {
    display: none;
  }

  .lesson-hero {
    gap: 24px;
    padding: 72px 18px 44px;
  }

  .lesson-hero p br {
    display: none;
  }

  .lesson-anchor-nav {
    flex-wrap: wrap;
    max-width: 360px;
  }

  .lesson-anchor-nav a {
    width: 100%;
  }

  .lesson-section {
    gap: 36px;
    padding: 40px 18px 72px;
  }

  .lesson-card__image {
    aspect-ratio: 16 / 9;
  }

  .lesson-card__body {
    padding: 22px 18px 26px;
  }

  .lesson-meta {
    display: grid;
    gap: 8px;
  }

  .lesson-meta div {
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(231, 145, 152, 0.22);
  }

  .lesson-checks,
  .lesson-card p {
    font-size: 14px;
  }

  .lesson-card__buttons {
    display: grid;
    width: 100%;
  }

  .button--compact {
    width: 100%;
    min-width: 0;
  }

  .lesson-flow {
    gap: 36px;
    padding: 72px 18px;
  }

  .flow-grid {
    gap: 24px;
  }

  .flow-card {
    padding: 16px 22px 24px;
  }
}

@media (max-width: 420px) {
  .hero__copy h1 {
    letter-spacing: 0.06em;
  }

  .hero__copy h1 span {
    white-space: normal;
  }

  .section-title h2 {
    letter-spacing: 0.02em;
  }

  .logo-crop--footer {
    width: 240px;
    height: 82px;
  }

  .footer__contact {
    min-height: 76px;
  }
}

/* スイーツ紹介：画像を拡大せずに表示 */
.sweet-card img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  object-position: center;
  align-self: center;
}

/* スイーツ紹介：画像エリアの高さを揃える */
.sweet-card figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 340px;
  margin: 0;
}

.sweet-card img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  object-position: center;
  align-self: center;
}

@media (max-width: 700px) {
  .sweet-card figure {
    min-height: 260px;
  }

  .sweet-card img {
    max-height: 260px;
  }
}

.sweet-card {
  display: grid;
  grid-template-rows: 340px auto auto;
  align-items: start;
  gap: 18px;
}

.sweet-card img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  object-position: center;
  align-self: center;
  justify-self: center;
}

@media (max-width: 700px) {
  .sweet-card {
    grid-template-rows: 260px auto auto;
    justify-items: center;
    text-align: center;
  }

  .sweet-card img {
    max-height: 260px;
  }
}

.sweet-card {
  justify-items: start;
}

.sweet-card span {
  justify-self: start;
  width: fit-content;
  max-width: 100%;
}

.sweet-card__tags {
  justify-self: start;
}

@media (max-width: 700px) {
  .sweet-card {
    justify-items: center;
  }
}
