.yp-starter-page,
.yp-starter {
  --yp-color-bg: #F8F5EF;
  --yp-color-bg-soft: #EFE6DC;
  --yp-color-text: #3B332D;
  --yp-color-subtext: #746960;
  --yp-color-accent: #8FA184;
  --yp-color-accent-soft: #DDE6D8;
  --yp-color-subaccent: #D8B8AA;
  --yp-color-border: #E6DDD2;
  --yp-color-white: #FFFFFF;
  --yp-shadow-card: 0 18px 44px rgba(59, 51, 45, 0.09);
  --yp-radius-card: 22px;
  --yp-radius-button: 999px;
  --yp-container-width: 1160px;

  color: var(--yp-color-text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
}

/* v0.3.6 final overrides */
body.yp-starter-generated-page {
  background: #fffaf4;
  overflow-x: hidden;
}

body.yp-starter-generated-page #container,
body.yp-starter-generated-page .container,
body.yp-starter-generated-page .content,
body.yp-starter-generated-page .content-in,
body.yp-starter-generated-page .main,
body.yp-starter-generated-page .main-in,
body.yp-starter-generated-page .article,
body.yp-starter-generated-page .entry-content {
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
  background: #fffaf4;
}

body.yp-starter-generated-page .yp-starter-hero {
  width: min(1220px, calc(100% - 72px));
  max-width: 1220px;
  min-height: 560px;
  grid-template-columns: minmax(320px, 0.62fr) minmax(520px, 1.18fr);
  margin: 0 auto;
  padding: 50px 0 64px;
}

body.yp-starter-generated-page .yp-starter-hero__copy {
  max-width: 500px;
  padding: 54px 0 48px;
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
  max-width: 450px;
  font-size: clamp(2.15rem, 3.45vw, 3.75rem);
  line-height: 1.42;
}

body.yp-starter-generated-page .yp-starter-hero__visual {
  margin-left: 0;
}

body.yp-starter-generated-page .yp-starter-news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

body.yp-starter-generated-page .yp-starter-news-card {
  min-height: 214px;
  grid-template-columns: minmax(0, 1fr) 118px;
  border: 1px solid rgba(230, 221, 210, 0.96);
  box-sizing: border-box;
}

body.yp-starter-generated-page .yp-starter-profile-schedule {
  display: grid;
  max-width: 980px;
  grid-template-columns: 1fr;
  gap: 74px;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__profile {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__schedule {
  width: 100%;
  padding-left: 0;
  border-left: 0;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__schedule .yp-starter-section-heading {
  justify-content: center;
  text-align: center;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__schedule .yp-starter-lesson-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body.yp-starter-generated-page .yp-starter-gallery-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.yp-starter-generated-page .yp-starter-gallery-grid .yp-starter-sample-photo,
body.yp-starter-generated-page .yp-starter-gallery-grid .yp-starter-photo,
body.yp-starter-generated-page .yp-starter-gallery-grid .wp-block-image,
body.yp-starter-generated-page .yp-starter-gallery-grid figure,
body.yp-starter-generated-page .yp-starter-gallery-grid img {
  aspect-ratio: 1 / 1;
}

body.yp-starter-generated-page .yp-starter-cta {
  margin-top: 82px;
  margin-bottom: 54px;
}

body.yp-starter-generated-page .yp-starter-sns {
  margin-top: 0;
  margin-bottom: 72px;
}

body.yp-starter-generated-page .yp-starter-site-footer,
body.yp-starter-generated-page .footer,
body.yp-starter-generated-page .footer-in {
  margin-bottom: 0;
  padding-bottom: 0;
}

body.yp-starter-related-archive #sidebar,
body.yp-starter-related-archive .sidebar,
body.yp-starter-related-archive .side,
body.yp-starter-related-archive .widget-area,
body.yp-starter-related-archive .sidebar-wrapper {
  display: none;
}

body.yp-starter-related-archive .content,
body.yp-starter-related-archive .content-in,
body.yp-starter-related-archive .main,
body.yp-starter-related-archive .main-in {
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
}

body.yp-starter-related-archive .entry-card-thumb img,
body.yp-starter-related-archive .eye-catch img,
body.yp-starter-related-post .eye-catch img,
body.yp-starter-related-post .entry-content img {
  border-radius: 16px;
  object-fit: cover;
}

@media (max-width: 900px) {
  body.yp-starter-generated-page .yp-starter-hero {
    width: min(100% - 44px, 720px);
    grid-template-columns: 1fr;
  }

  body.yp-starter-generated-page .yp-starter-profile-schedule__profile,
  body.yp-starter-generated-page .yp-starter-profile-schedule__schedule .yp-starter-lesson-grid,
  body.yp-starter-generated-page .yp-starter-news-grid {
    grid-template-columns: 1fr;
  }

  body.yp-starter-generated-page .yp-starter-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.yp-starter-generated-page .yp-starter-hero {
    width: min(100% - 32px, 420px);
    min-height: 630px;
    padding: 16px 0 32px;
  }

  body.yp-starter-generated-page .yp-starter-hero__copy {
    min-height: 630px;
    padding: 44px 18px 24px;
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
    font-size: 2rem;
    line-height: 1.5;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo,
  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo img {
    min-height: 630px;
  }

  body.yp-starter-generated-page .yp-starter-news-card {
    grid-template-columns: 1fr;
  }
}

/* Final hero override: keep PC/mobile split after all legacy v0.3.6 overrides. */
body.yp-starter-generated-page .yp-starter-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
  width: min(100%, 1180px);
  max-width: 1180px;
  min-height: 560px;
  margin: 0 auto 110px;
  padding: clamp(48px, 6vw, 86px);
  overflow: hidden;
  background: #F7F2EA;
  box-sizing: border-box;
  border-radius: 0;
  isolation: isolate;
}

body.yp-starter-generated-page .yp-starter-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(248, 245, 239, 0.96) 0%, rgba(248, 245, 239, 0.82) 34%, rgba(248, 245, 239, 0.26) 58%, rgba(248, 245, 239, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08));
  pointer-events: none;
  border-radius: inherit;
}

body.yp-starter-generated-page .yp-starter-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 440px;
  min-height: auto;
  padding: 0;
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
  max-width: 440px;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.52;
  letter-spacing: 0;
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-lead {
  max-width: 34em;
  margin-bottom: 34px;
  line-height: 2;
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

body.yp-starter-generated-page .yp-starter-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo,
body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo,
body.yp-starter-generated-page .yp-starter-hero__visual figure {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: #EFE6DC;
  border-radius: inherit;
}

body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo--hero-mobile {
  display: none;
}

body.yp-starter-generated-page .yp-starter-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

body.yp-starter-generated-page .yp-starter-hero__visual .wp-element-caption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  width: auto;
  max-width: min(420px, calc(100% - 44px));
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: rgba(59, 51, 45, 0.62);
  font-size: 0.72rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  body.yp-starter-generated-page .yp-starter-hero {
    display: block;
    width: min(100% - 28px, 680px);
    min-height: 620px;
    margin-bottom: 76px;
    padding: 0;
    border-radius: 28px;
  }

  body.yp-starter-generated-page .yp-starter-hero::before {
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(248, 245, 239, 0.90) 0%, rgba(248, 245, 239, 0.64) 34%, rgba(248, 245, 239, 0.34) 66%, rgba(248, 245, 239, 0.78) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08));
  }

  body.yp-starter-generated-page .yp-starter-hero__copy {
    display: flex;
    min-height: 620px;
    max-width: none;
    padding: 52px 24px 32px;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.48;
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-lead {
    margin-bottom: 24px;
    line-height: 1.9;
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  body.yp-starter-generated-page .yp-starter-hero .wp-block-button,
  body.yp-starter-generated-page .yp-starter-hero .wp-block-button__link {
    width: 100%;
    box-sizing: border-box;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo--hero {
    display: none;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo--hero-mobile {
    display: block;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual img {
    object-position: center bottom;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual .wp-element-caption {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    font-size: 0.66rem;
  }
}

@media (max-width: 560px) {
  body.yp-starter-generated-page .yp-starter-hero {
    width: min(100% - 24px, 420px);
    min-height: 600px;
    border-radius: 24px;
  }

  body.yp-starter-generated-page .yp-starter-hero__copy {
    min-height: 600px;
    padding: 40px 18px 26px;
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
    font-size: clamp(2rem, 8vw, 2.55rem);
  }
}

/* v0.3.7 terminal overlay alignment. */
body.yp-starter-generated-page .yp-starter-hero {
  overflow: hidden;
  isolation: isolate;
}

body.yp-starter-generated-page .yp-starter-hero::before {
  inset: 0;
  border-radius: inherit;
}

body.yp-starter-generated-page .yp-starter-hero__visual,
body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo,
body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo,
body.yp-starter-generated-page .yp-starter-hero__visual figure,
body.yp-starter-generated-page .yp-starter-hero__visual img {
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: inherit;
}

body.yp-starter-generated-page .yp-starter-hero__visual {
  overflow: hidden;
}

/* v0.3.7 terminal overlay alignment. */
body.yp-starter-generated-page .yp-starter-hero {
  overflow: hidden;
  isolation: isolate;
}

body.yp-starter-generated-page .yp-starter-hero::before {
  inset: 0;
  border-radius: inherit;
}

body.yp-starter-generated-page .yp-starter-hero__visual,
body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo,
body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo,
body.yp-starter-generated-page .yp-starter-hero__visual figure,
body.yp-starter-generated-page .yp-starter-hero__visual img {
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: inherit;
}

body.yp-starter-generated-page .yp-starter-hero__visual {
  overflow: hidden;
}

/* v0.3.7: align hero media, overlay, and rounded frame exactly. */
body.yp-starter-generated-page .yp-starter-hero {
  border-radius: 0;
  isolation: isolate;
}

body.yp-starter-generated-page .yp-starter-hero::before {
  border-radius: inherit;
}

body.yp-starter-generated-page .yp-starter-hero__visual,
body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo,
body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo,
body.yp-starter-generated-page .yp-starter-hero__visual figure,
body.yp-starter-generated-page .yp-starter-hero__visual img {
  border-radius: inherit;
}

body.yp-starter-generated-page .yp-starter-hero__visual {
  overflow: hidden;
}

@media (max-width: 900px) {
  body.yp-starter-generated-page .yp-starter-hero {
    border-radius: 28px;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual,
  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo,
  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo,
  body.yp-starter-generated-page .yp-starter-hero__visual figure,
  body.yp-starter-generated-page .yp-starter-hero__visual img {
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
  }
}

@media (max-width: 560px) {
  body.yp-starter-generated-page .yp-starter-hero {
    border-radius: 24px;
  }
}

/* v0.3.7: starter news archive layout. */
body.yp-starter-news-archive-page {
  background: #fffaf4;
}

body.yp-starter-news-archive-page .yp-starter-news-archive {
  background: #fffaf4;
}

body.yp-starter-news-archive-page .yp-starter-news-archive__inner {
  width: min(100% - 72px, 1120px);
  margin: 0 auto 96px;
  padding: clamp(56px, 7vw, 92px) 0 0;
}

body.yp-starter-news-archive-page .yp-starter-news-grid--archive {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body.yp-starter-news-archive-page .yp-starter-news-card {
  min-height: 100%;
  background: rgba(255, 255, 255, 0.88);
}

body.yp-starter-news-archive-page .yp-starter-empty-news {
  max-width: 720px;
  margin: 42px auto 0;
  padding: 34px;
  border: 1px solid rgba(230, 221, 210, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--yp-color-subtext);
  text-align: center;
}

body.yp-starter-news-archive-page .pagination,
body.yp-starter-news-archive-page .page-numbers {
  margin-top: 44px;
  text-align: center;
}

body.yp-starter-news-archive-page .page-numbers {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  margin: 0 4px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(230, 221, 210, 0.92);
  border-radius: 999px;
  color: var(--yp-color-text);
  text-decoration: none;
}

body.yp-starter-news-archive-page .page-numbers.current {
  background: var(--yp-color-accent);
  color: #fff;
}

@media (max-width: 900px) {
  body.yp-starter-news-archive-page .yp-starter-news-archive__inner {
    width: min(100% - 36px, 720px);
    margin-bottom: 72px;
  }

  body.yp-starter-news-archive-page .yp-starter-news-grid--archive {
    grid-template-columns: 1fr;
  }
}

/* v0.3.6 hero image split: desktop uses the wide visual, mobile uses the vertical visual. */
body.yp-starter-generated-page .yp-starter-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
  width: min(100%, 1180px);
  min-height: 560px;
  margin: 0 auto 110px;
  padding: clamp(48px, 6vw, 86px);
  overflow: hidden;
  background: #F7F2EA;
  box-sizing: border-box;
  border-radius: 0;
  isolation: isolate;
}

body.yp-starter-generated-page .yp-starter-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(248, 245, 239, 0.96) 0%, rgba(248, 245, 239, 0.82) 34%, rgba(248, 245, 239, 0.26) 58%, rgba(248, 245, 239, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08));
  pointer-events: none;
  border-radius: inherit;
}

body.yp-starter-generated-page .yp-starter-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 440px;
  padding: 0;
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.52;
  letter-spacing: 0;
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-lead {
  max-width: 34em;
  margin-bottom: 34px;
  line-height: 2;
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

body.yp-starter-generated-page .yp-starter-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo,
body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo,
body.yp-starter-generated-page .yp-starter-hero__visual figure {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: #EFE6DC;
  border-radius: inherit;
}

body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo--hero-mobile {
  display: none;
}

body.yp-starter-generated-page .yp-starter-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

body.yp-starter-generated-page .yp-starter-hero__visual .wp-element-caption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  width: auto;
  max-width: min(420px, calc(100% - 44px));
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: rgba(59, 51, 45, 0.62);
  font-size: 0.72rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  body.yp-starter-generated-page .yp-starter-hero {
    display: block;
    width: min(100% - 28px, 680px);
    min-height: 620px;
    margin-bottom: 76px;
    padding: 0;
    border-radius: 28px;
  }

  body.yp-starter-generated-page .yp-starter-hero::before {
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(248, 245, 239, 0.90) 0%, rgba(248, 245, 239, 0.64) 34%, rgba(248, 245, 239, 0.34) 66%, rgba(248, 245, 239, 0.78) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08));
  }

  body.yp-starter-generated-page .yp-starter-hero__copy {
    display: flex;
    min-height: 620px;
    max-width: none;
    padding: 52px 24px 32px;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.48;
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-lead {
    margin-bottom: 24px;
    line-height: 1.9;
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  body.yp-starter-generated-page .yp-starter-hero .wp-block-button,
  body.yp-starter-generated-page .yp-starter-hero .wp-block-button__link {
    width: 100%;
    box-sizing: border-box;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo--hero {
    display: none;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo--hero-mobile {
    display: block;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual img {
    object-position: center bottom;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual .wp-element-caption {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    font-size: 0.66rem;
  }
}

@media (max-width: 560px) {
  body.yp-starter-generated-page .yp-starter-hero {
    width: min(100% - 24px, 420px);
    min-height: 600px;
    border-radius: 24px;
  }

  body.yp-starter-generated-page .yp-starter-hero__copy {
    min-height: 600px;
    padding: 40px 18px 26px;
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
    font-size: clamp(2rem, 8vw, 2.55rem);
  }
}

.yp-starter-page {
  background: linear-gradient(180deg, var(--yp-color-bg) 0%, #fffaf4 48%, var(--yp-color-white) 100%);
  overflow: hidden;
}

.yp-starter-shell,
.yp-starter-page-content {
  width: 100%;
}

body.yp-starter-generated-page #sidebar,
body.yp-starter-generated-page .sidebar,
body.yp-starter-generated-page .side,
body.yp-starter-generated-page .widget-area,
body.yp-starter-generated-page .sidebar-wrapper,
body.yp-starter-generated-page .sidebars,
body.yp-starter-generated-page .sidebar-scroll,
body.yp-starter-generated-page .side-widget {
  display: none;
}

body.yp-starter-generated-page #main,
body.yp-starter-generated-page .main,
body.yp-starter-generated-page .main-in,
body.yp-starter-generated-page .content,
body.yp-starter-generated-page .content-in,
body.yp-starter-generated-page .article,
body.yp-starter-generated-page .entry-content {
  width: 100%;
  max-width: none;
}

body.yp-starter-generated-page .content-in,
body.yp-starter-generated-page .main-in {
  display: block;
}

body.yp-starter-generated-page .article {
  float: none;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

body.yp-starter-generated-page .entry-content {
  margin-right: auto;
  margin-left: auto;
}

body.yp-starter-generated-page .breadcrumb,
body.yp-starter-generated-page .under-entry-content {
  display: none;
}

body.yp-starter-generated-page .mobile-menu-buttons,
body.yp-starter-generated-page .mobile-footer-menu-buttons,
body.yp-starter-generated-page .footer-mobile-buttons,
body.yp-starter-generated-page .navi-footer,
body.yp-starter-generated-page #navi-footer,
body.yp-starter-generated-page .mobile-footer-menu,
body.yp-starter-generated-page .footer-bottom-mobile,
body.yp-starter-generated-page .go-to-top-button,
body.yp-starter-generated-page .sidebar-menu-button {
  display: none;
}

body.yp-starter-generated-page .site-name-text,
body.yp-starter-generated-page .site-name,
body.yp-starter-generated-page .logo-header,
body.yp-starter-generated-page .site-title,
body.yp-starter-generated-page .tagline,
body.yp-starter-generated-page .site-description,
body.yp-starter-generated-page .header-container-in > .navi,
body.yp-starter-generated-page .header-container-in > .navi-in,
body.yp-starter-generated-page .header-container-in > .navi-header,
body.yp-starter-generated-page .navi-header,
body.yp-starter-generated-page #navi,
body.yp-starter-generated-page .footer-menu,
body.yp-starter-generated-page .footer-bottom,
body.yp-starter-generated-page .footer-bottom-content,
body.yp-starter-generated-page .copyright {
  display: none;
}

.yp-starter-site-header,
.yp-starter-site-footer {
  color: var(--yp-color-text, #3B332D);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
}

.yp-starter-site-header {
  position: relative;
  z-index: 2;
  padding: 18px 28px 22px;
  border-bottom: 1px solid rgba(230, 221, 210, 0.9);
  background: rgba(255, 250, 244, 0.94);
}

.yp-starter-site-header__tagline {
  margin: 0 0 12px;
  color: var(--yp-color-subtext, #746960);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.yp-starter-site-header__inner,
.yp-starter-site-footer__inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.yp-starter-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.yp-starter-brand,
.yp-starter-site-footer__brand {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  color: var(--yp-color-text, #3B332D);
  text-decoration: none;
}

.yp-starter-brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 999px 999px 999px 0;
  background: linear-gradient(135deg, #A8B7A2 0%, #D8B8AA 100%);
  transform: rotate(-24deg);
}

.yp-starter-brand__name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.yp-starter-brand__sub {
  display: block;
  grid-column: 2;
  color: var(--yp-color-subtext, #746960);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.yp-starter-site-nav,
.yp-starter-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.yp-starter-site-nav a,
.yp-starter-footer-nav a {
  color: var(--yp-color-text, #3B332D);
  text-decoration: none;
}

.yp-starter-site-nav a {
  display: grid;
  gap: 2px;
  min-width: 72px;
  text-align: center;
}

.yp-starter-site-nav span {
  font-size: 0.86rem;
  font-weight: 700;
}

.yp-starter-site-nav small {
  color: var(--yp-color-subtext, #746960);
  font-size: 0.68rem;
}

.yp-starter,
.yp-starter *,
.yp-starter *::before,
.yp-starter *::after {
  box-sizing: border-box;
}

.yp-starter {
  width: 100%;
  line-height: 1.85;
}

.yp-starter-main-title,
.yp-starter-lead,
.yp-starter-body-text,
.yp-starter-card-title,
.yp-starter-card-text,
.yp-starter-kicker {
  margin-top: 0;
}

.yp-starter-main-title {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--yp-color-text);
  font-size: clamp(2.25rem, 4.8vw, 4.45rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.22;
}

.yp-starter-lead {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--yp-color-subtext);
  font-size: 1.08rem;
  line-height: 2;
}

.yp-starter-kicker,
.yp-starter-heading-en,
.yp-starter-card-label,
.yp-starter-cta__label {
  color: var(--yp-color-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.yp-starter-hero {
  position: relative;
  display: grid;
  max-width: 1240px;
  min-height: 680px;
  margin: 0 auto;
  padding: 110px 32px 96px;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 28px;
  align-items: center;
}

.yp-starter-hero::before {
  position: absolute;
  inset: 56px 0 auto auto;
  width: 56%;
  height: 74%;
  border-radius: 42px 0 0 42px;
  background: linear-gradient(135deg, rgba(221, 230, 216, 0.75) 0%, rgba(248, 241, 231, 0.9) 100%);
  content: "";
}

.yp-starter-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 28px 0;
}

.yp-starter-hero__visual {
  position: relative;
  z-index: 1;
  margin-left: 0;
}

.yp-starter-hero__visual .yp-starter-sample-photo {
  border-radius: 36px;
  box-shadow: 0 24px 70px rgba(59, 51, 45, 0.16);
}

.yp-starter-hero__visual .yp-starter-sample-photo img {
  object-position: center center;
}

.yp-starter-actions,
.yp-starter-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.yp-starter-actions--center,
.yp-starter-section-action {
  justify-content: center;
}

.yp-starter-actions--compact {
  margin-top: 22px;
}

.yp-starter .wp-block-button.yp-starter-button,
.yp-starter .wp-block-button.yp-starter-button--sub,
.yp-starter .wp-block-button.yp-starter-soft-link {
  display: inline-flex;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

.yp-starter .wp-block-button.yp-starter-button .wp-block-button__link,
.yp-starter .wp-block-button.yp-starter-soft-link .wp-block-button__link,
.yp-starter-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.yp-starter .wp-block-button.yp-starter-button .wp-block-button__link {
  min-height: 50px;
  padding: 13px 26px;
  border: 1px solid var(--yp-color-accent);
  border-radius: var(--yp-radius-button);
  background: var(--yp-color-accent);
  color: var(--yp-color-white);
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 12px 24px rgba(143, 161, 132, 0.28);
}

.yp-starter .wp-block-button.yp-starter-button--sub .wp-block-button__link {
  border-color: var(--yp-color-border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--yp-color-text);
  box-shadow: none;
}

.yp-starter-text-link {
  margin-top: 18px;
  color: var(--yp-color-accent);
  font-weight: 700;
}

.yp-starter-section,
.yp-starter-cta,
.yp-starter-sub-hero {
  max-width: var(--yp-container-width);
  margin: 0 auto;
  padding: 82px 32px;
}

.yp-starter-sub-hero {
  padding-top: 100px;
  padding-bottom: 58px;
  text-align: center;
}

.yp-starter-sub-hero .yp-starter-main-title,
.yp-starter-sub-hero .yp-starter-lead {
  margin-right: auto;
  margin-left: auto;
}

.yp-starter-section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 32px;
  text-align: center;
}

.yp-starter-section-heading--left {
  text-align: left;
}

.yp-starter-heading-ja {
  color: var(--yp-color-text);
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  font-weight: 600;
  line-height: 1.45;
}

.yp-starter-body-text,
.yp-starter-card-text,
.yp-starter-cta__text,
.yp-starter-list {
  color: var(--yp-color-subtext);
  font-size: 1rem;
  line-height: 1.95;
}

.yp-starter-center-text {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.yp-starter-news-grid,
.yp-starter-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.yp-starter-page .yp-starter-news-grid > *,
.yp-starter-page .yp-starter-card-grid > *,
.yp-starter-page .yp-starter-gallery-grid > * {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
}

.yp-starter-page .yp-starter-news-grid,
.yp-starter-page .yp-starter-card-grid,
.yp-starter-page .yp-starter-gallery-grid {
  margin-block-start: 0;
  margin-block-end: 0;
}

.yp-starter-news-card,
.yp-starter-lesson-card,
.yp-starter-price-card {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  align-self: stretch;
  padding: 30px;
  border: 1px solid rgba(230, 221, 210, 0.9);
  border-radius: var(--yp-radius-card);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--yp-shadow-card);
  overflow-wrap: anywhere;
}

.yp-starter-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--yp-color-accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.yp-starter-news-link {
  color: inherit;
  text-decoration: none;
}

.yp-starter-card-title {
  margin-bottom: 12px;
  color: var(--yp-color-text);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.yp-starter-card-text {
  min-width: 0;
  margin-bottom: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.yp-starter-profile-block {
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1.16fr);
  gap: 54px;
  align-items: center;
}

.yp-starter-profile-schedule {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: 42px;
  align-items: stretch;
}

.yp-starter-profile-schedule__profile,
.yp-starter-profile-schedule__schedule {
  min-width: 0;
}

.yp-starter-profile-schedule__profile {
  display: grid;
  gap: 28px;
}

.yp-starter-profile-schedule__profile .yp-starter-profile-copy,
.yp-starter-profile-schedule__schedule {
  padding: 34px;
  border: 1px solid rgba(230, 221, 210, 0.92);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--yp-shadow-card);
}

.yp-starter-profile-schedule__profile .yp-starter-photo--portrait,
.yp-starter-profile-schedule__profile .yp-starter-sample-photo {
  min-height: 360px;
}

.yp-starter-photo {
  position: relative;
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 1px solid rgba(143, 161, 132, 0.26);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.72) 0 16%, transparent 17%),
    linear-gradient(135deg, #E4ECDf 0%, #F8F1E7 54%, #FFFFFF 100%);
  color: var(--yp-color-subtext);
  text-align: center;
  box-shadow: var(--yp-shadow-card);
  overflow: hidden;
}

.yp-starter-sample-photo {
  position: relative;
  min-height: 320px;
  margin: 0;
  border: 1px solid rgba(143, 161, 132, 0.2);
  border-radius: 28px;
  background: linear-gradient(135deg, #E4ECDF 0%, #F8F1E7 100%);
  box-shadow: var(--yp-shadow-card);
  overflow: hidden;
}

.yp-starter-sample-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.yp-starter-sample-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 8px 12px;
  border-radius: var(--yp-radius-button);
  background: rgba(255, 255, 255, 0.74);
  color: var(--yp-color-subtext);
  font-size: 0.78rem;
  line-height: 1.4;
}

.yp-starter-sample-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 11px;
  border-radius: var(--yp-radius-button);
  background: rgba(59, 51, 45, 0.38);
  color: var(--yp-color-white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.yp-starter-photo::before,
.yp-starter-photo::after {
  position: absolute;
  display: block;
  content: "";
  border-radius: 999px 999px 999px 0;
  background: rgba(143, 161, 132, 0.18);
  transform: rotate(-24deg);
}

.yp-starter-photo::before {
  width: 74px;
  height: 34px;
  right: 34px;
  bottom: 42px;
}

.yp-starter-photo::after {
  width: 42px;
  height: 20px;
  right: 88px;
  bottom: 78px;
  background: rgba(216, 184, 170, 0.2);
}

.yp-starter-photo--hero {
  min-height: 520px;
}

.yp-starter-photo--portrait {
  min-height: 430px;
}

.yp-starter-photo--lesson {
  min-height: 360px;
}

.yp-starter-photo--gallery {
  min-height: 230px;
}

.yp-starter-photo__text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 10px 16px;
  border-radius: var(--yp-radius-button);
  background: rgba(255, 255, 255, 0.62);
  color: var(--yp-color-subtext);
  font-size: 0.9rem;
}

.yp-starter-photo__mark {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
}

.yp-starter-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 22px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.yp-starter-gallery {
  max-width: 1240px;
}

.yp-starter-page .yp-starter-gallery-item,
.yp-starter-page .yp-starter-gallery-grid .yp-starter-sample-photo,
.yp-starter-page .yp-starter-gallery-grid .wp-block-image,
.yp-starter-page .yp-starter-gallery-grid figure,
.yp-starter-page .yp-starter-gallery-grid .yp-starter-photo {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  margin: 0;
  aspect-ratio: 4 / 3;
  align-self: stretch;
  box-sizing: border-box;
  overflow: hidden;
}

.yp-starter-page .yp-starter-gallery-grid img,
.yp-starter-page .yp-starter-gallery-grid .yp-starter-sample-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.yp-starter-section-action {
  margin-top: 34px;
  text-align: center;
}

.yp-starter-sns {
  border-top: 1px solid var(--yp-color-border);
  border-bottom: 1px solid var(--yp-color-border);
}

.yp-starter-link-row {
  justify-content: center;
}

.yp-starter .wp-block-button.yp-starter-soft-link .wp-block-button__link {
  gap: 10px;
  min-width: 132px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--yp-color-border);
  border-radius: var(--yp-radius-button);
  background: rgba(255, 255, 255, 0.7);
  color: var(--yp-color-text);
  font-weight: 700;
}

.yp-starter .wp-block-button.yp-starter-soft-link .wp-block-button__link::before {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--yp-color-accent-soft);
  color: var(--yp-color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.yp-starter .wp-block-button.yp-starter-soft-link--instagram .wp-block-button__link::before {
  content: "I";
}

.yp-starter .wp-block-button.yp-starter-soft-link--youtube .wp-block-button__link::before {
  content: "Y";
}

.yp-starter .wp-block-button.yp-starter-soft-link--line .wp-block-button__link::before {
  content: "L";
}

.yp-starter .wp-block-button.yp-starter-soft-link--note .wp-block-button__link::before {
  content: "n";
}

.yp-starter-card-icon {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 44px;
  margin: 0 0 18px;
  border-radius: 50%;
  background: var(--yp-color-accent-soft);
  color: var(--yp-color-accent);
  font-size: 0;
  line-height: 0;
}

.yp-starter-card-icon::before,
.yp-starter-card-icon::after {
  position: absolute;
  display: block;
  content: "";
}

.yp-starter-card-icon--leaf::before {
  width: 20px;
  height: 12px;
  top: 15px;
  left: 12px;
  border: 2px solid currentColor;
  border-radius: 999px 999px 999px 0;
  transform: rotate(-28deg);
}

.yp-starter-card-icon--lotus::before {
  width: 18px;
  height: 18px;
  top: 13px;
  left: 13px;
  border: 2px solid currentColor;
  border-radius: 999px 999px 999px 0;
  transform: rotate(45deg);
}

.yp-starter-card-icon--lotus::after {
  width: 20px;
  height: 8px;
  right: 12px;
  bottom: 12px;
  border-bottom: 2px solid currentColor;
  border-radius: 50%;
}

.yp-starter-card-icon--mat::before {
  width: 22px;
  height: 14px;
  top: 15px;
  left: 11px;
  border: 2px solid currentColor;
  border-radius: 6px;
}

.yp-starter-card-icon--mat::after {
  width: 8px;
  height: 14px;
  top: 15px;
  right: 11px;
  border-left: 2px solid currentColor;
}

.yp-starter-cta {
  max-width: 980px;
  margin-bottom: 92px;
  padding: 58px 34px;
  border: 1px solid rgba(230, 221, 210, 0.9);
  border-radius: 30px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5EFE6 100%);
  text-align: center;
  box-shadow: var(--yp-shadow-card);
}

.yp-starter-cta__title {
  max-width: 680px;
  margin: 0 auto 14px;
  color: var(--yp-color-text);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.5;
}

.yp-starter-cta__text {
  max-width: 680px;
  margin: 0 auto;
}

.yp-starter-form-placeholder {
  display: grid;
  min-height: 190px;
  place-items: center;
  gap: 12px;
  padding: 32px;
  border: 1px dashed rgba(143, 161, 132, 0.5);
  border-radius: var(--yp-radius-card);
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.yp-starter-form-placeholder code {
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--yp-color-bg);
  white-space: normal;
}

.yp-starter-list {
  display: grid;
  max-width: 820px;
  gap: 12px;
  margin: 0 auto;
  padding-left: 1.2em;
}

.yp-starter-price-text {
  margin: 8px 0 10px;
  color: var(--yp-color-text);
  font-size: 1.55rem;
  font-weight: 700;
}

.yp-starter-site-footer {
  padding: 54px 28px 34px;
  background: linear-gradient(135deg, #DDE6D8 0%, #F8F1E7 100%);
}

.yp-starter-site-footer__inner {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}

.yp-starter-site-footer__brand {
  grid-template-columns: 1fr;
}

.yp-starter-site-footer__brand .yp-starter-brand__sub {
  grid-column: auto;
}

.yp-starter-footer-nav {
  justify-content: center;
  gap: 14px 22px;
}

.yp-starter-site-footer__copy {
  margin: 0;
  color: var(--yp-color-subtext, #746960);
  font-size: 0.82rem;
}

body.yp-starter-generated-page {
  background: #fffaf4;
}

body.yp-starter-generated-page .yp-starter-page {
  background:
    linear-gradient(180deg, rgba(248, 245, 239, 0.96) 0%, rgba(255, 255, 255, 0.98) 42%, #fffaf4 100%),
    radial-gradient(circle at 84% 8%, rgba(221, 230, 216, 0.7) 0 18%, transparent 32%);
}

body.yp-starter-generated-page .yp-starter-site-header {
  padding: 0;
  border-bottom: 1px solid rgba(230, 221, 210, 0.88);
  background: rgba(255, 255, 255, 0.88);
}

body.yp-starter-generated-page .yp-starter-site-header__tagline {
  margin: 0;
  padding: 11px 20px;
  background: rgba(239, 230, 220, 0.72);
  color: var(--yp-color-text, #3B332D);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

body.yp-starter-generated-page .yp-starter-site-header__inner {
  width: min(1280px, calc(100% - 72px));
  min-height: 112px;
  gap: 48px;
}

body.yp-starter-generated-page .yp-starter-brand {
  column-gap: 14px;
}

body.yp-starter-generated-page .yp-starter-brand__mark {
  width: 34px;
  height: 42px;
  border: 1px solid rgba(143, 161, 132, 0.54);
  background: transparent;
}

body.yp-starter-generated-page .yp-starter-brand__name {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 400;
}

body.yp-starter-generated-page .yp-starter-brand__sub {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

body.yp-starter-generated-page .yp-starter-site-nav {
  gap: clamp(22px, 4vw, 58px);
}

body.yp-starter-generated-page .yp-starter-site-nav a {
  min-width: 84px;
}

body.yp-starter-generated-page .yp-starter-site-nav span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 400;
}

body.yp-starter-generated-page .yp-starter-site-nav small {
  font-size: 0.7rem;
}

body.yp-starter-generated-page .yp-starter-hero {
  max-width: 1360px;
  min-height: 620px;
  padding: 70px 40px 78px;
  grid-template-columns: minmax(360px, 0.72fr) minmax(520px, 1.28fr);
  gap: 0;
}

body.yp-starter-generated-page .yp-starter-hero::before {
  inset: 34px 16px 36px 34%;
  width: auto;
  height: auto;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(221, 230, 216, 0.24) 46%, rgba(255, 255, 255, 0) 100%);
}

body.yp-starter-generated-page .yp-starter-hero__copy {
  z-index: 2;
  max-width: 560px;
  padding: 56px 0 56px 34px;
}

body.yp-starter-generated-page .yp-starter-main-title {
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(2.8rem, 5vw, 5.1rem);
  font-weight: 400;
  line-height: 1.32;
}

body.yp-starter-generated-page .yp-starter-hero__visual {
  margin-left: 0;
}

body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo {
  min-height: 560px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo img {
  object-position: center center;
}

body.yp-starter-generated-page .yp-starter-news {
  max-width: 1240px;
  padding-top: 64px;
}

body.yp-starter-generated-page .yp-starter-news .yp-starter-section-heading {
  justify-content: space-between;
  align-items: end;
  grid-template-columns: 1fr auto;
  text-align: left;
}

body.yp-starter-generated-page .yp-starter-news-grid {
  gap: 26px;
}

body.yp-starter-generated-page .yp-starter-news-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 112px;
  gap: 22px;
  padding: 24px;
  min-height: 170px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

body.yp-starter-generated-page .yp-starter-news-thumb {
  grid-column: 2;
  grid-row: 1;
  width: 112px;
  height: 112px;
  align-self: center;
  border-radius: 2px;
  background: var(--yp-color-accent-soft);
  overflow: hidden;
}

body.yp-starter-generated-page .yp-starter-news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.yp-starter-generated-page .yp-starter-news-thumb span {
  display: grid;
  height: 100%;
  place-items: center;
  color: var(--yp-color-accent);
  font-family: Georgia, "Times New Roman", serif;
}

body.yp-starter-generated-page .yp-starter-news-body {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

body.yp-starter-generated-page .yp-starter-news-meta span:last-child {
  padding: 2px 10px;
  border: 1px solid var(--yp-color-border);
  background: rgba(248, 245, 239, 0.88);
  color: var(--yp-color-subtext);
  font-size: 0.72rem;
}

body.yp-starter-generated-page .yp-starter-profile-schedule {
  max-width: 1240px;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.46fr);
  gap: 64px;
  padding-top: 50px;
  align-items: center;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__profile {
  grid-template-columns: minmax(180px, 0.86fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__profile .yp-starter-profile-copy,
body.yp-starter-generated-page .yp-starter-profile-schedule__schedule {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__profile .yp-starter-sample-photo {
  min-height: 300px;
  border-radius: 0;
  box-shadow: none;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__schedule {
  border-left: 1px solid var(--yp-color-border);
  padding-left: 42px;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__schedule .yp-starter-lesson-grid {
  gap: 18px;
}

body.yp-starter-generated-page .yp-starter-lesson-card {
  position: relative;
  align-items: center;
  padding: 32px 22px 0;
  border-radius: 0;
  text-align: center;
  box-shadow: none;
}

body.yp-starter-generated-page .yp-starter-card-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border: 0;
  background: transparent;
}

body.yp-starter-generated-page .yp-starter-card-icon--leaf::before {
  width: 36px;
  height: 22px;
  top: 22px;
  left: 14px;
  border-width: 2px;
}

body.yp-starter-generated-page .yp-starter-card-icon--leaf::after {
  width: 26px;
  height: 1px;
  top: 38px;
  left: 34px;
  background: currentColor;
  transform: rotate(-34deg);
}

body.yp-starter-generated-page .yp-starter-card-icon--lotus::before {
  width: 34px;
  height: 34px;
  top: 17px;
  left: 19px;
}

body.yp-starter-generated-page .yp-starter-card-icon--lotus::after {
  width: 48px;
  height: 18px;
  right: 12px;
  bottom: 12px;
  border-bottom-width: 2px;
}

body.yp-starter-generated-page .yp-starter-card-icon--mat::before {
  width: 42px;
  height: 26px;
  top: 23px;
  left: 12px;
  border-radius: 8px;
}

body.yp-starter-generated-page .yp-starter-card-icon--mat::after {
  width: 14px;
  height: 26px;
  top: 23px;
  right: 15px;
}

body.yp-starter-generated-page .yp-starter-gallery {
  max-width: 1280px;
}

body.yp-starter-generated-page .yp-starter-gallery .yp-starter-section-heading {
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: end;
  text-align: left;
}

body.yp-starter-generated-page .yp-starter-gallery-grid {
  grid-template-columns: 1.35fr 0.85fr 0.95fr 0.7fr 1fr 1fr;
  gap: 10px;
}

body.yp-starter-generated-page .yp-starter-gallery-grid .yp-starter-sample-photo,
body.yp-starter-generated-page .yp-starter-gallery-grid .yp-starter-photo {
  min-height: 150px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.yp-starter-generated-page .yp-starter-sns {
  position: relative;
  display: grid;
  max-width: 1240px;
  grid-template-columns: minmax(180px, 0.65fr) minmax(260px, 1.2fr) minmax(360px, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 36px 34px;
  border: 0;
  background: linear-gradient(90deg, rgba(248, 245, 239, 0.96) 0%, rgba(239, 230, 220, 0.64) 100%);
  overflow: hidden;
}

body.yp-starter-generated-page .yp-starter-sns::after {
  position: absolute;
  right: 28px;
  bottom: -28px;
  width: 180px;
  height: 120px;
  border: 1px solid rgba(143, 161, 132, 0.34);
  border-radius: 999px 999px 999px 0;
  content: "";
  transform: rotate(-24deg);
}

body.yp-starter-generated-page .yp-starter-sns .yp-starter-section-heading {
  margin-bottom: 0;
  text-align: left;
}

body.yp-starter-generated-page .yp-starter-sns-copy {
  position: relative;
  z-index: 1;
  margin: 0;
}

body.yp-starter-generated-page .yp-starter-sns .yp-starter-link-row {
  position: relative;
  z-index: 1;
  justify-content: flex-start;
  margin-top: 0;
}

body.yp-starter-generated-page .yp-starter-site-footer {
  padding: 58px 0 0;
  background: #fffaf4;
}

body.yp-starter-generated-page .yp-starter-site-footer__inner {
  width: min(1240px, calc(100% - 72px));
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.7fr);
  align-items: center;
  justify-items: stretch;
  text-align: left;
}

body.yp-starter-generated-page .yp-starter-site-footer__brand {
  display: inline-grid;
  width: fit-content;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
}

body.yp-starter-generated-page .yp-starter-site-footer__brand .yp-starter-brand__sub {
  grid-column: 2;
}

body.yp-starter-generated-page .yp-starter-footer-nav {
  justify-content: space-between;
  gap: 20px;
}

body.yp-starter-generated-page .yp-starter-site-footer__bottom {
  margin-top: 46px;
  padding: 18px 24px;
  background: #7E8D73;
  text-align: center;
}

body.yp-starter-generated-page .yp-starter-site-footer__bottom .yp-starter-site-footer__copy {
  color: rgba(255, 255, 255, 0.88);
}

/* v0.3.6 layout refinement */
body.yp-starter-generated-page {
  background: #fffaf4;
  overflow-x: hidden;
}

body.yp-starter-generated-page #container,
body.yp-starter-generated-page .container,
body.yp-starter-generated-page .content,
body.yp-starter-generated-page .content-in,
body.yp-starter-generated-page .main,
body.yp-starter-generated-page .main-in,
body.yp-starter-generated-page .article,
body.yp-starter-generated-page .entry-content {
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
  background: #fffaf4;
}

body.yp-starter-generated-page .yp-starter-page,
body.yp-starter-generated-page .yp-starter-shell,
body.yp-starter-generated-page .yp-starter-page-content,
body.yp-starter-generated-page .yp-starter-home {
  width: 100%;
  max-width: none;
  overflow-x: clip;
}

body.yp-starter-generated-page .yp-starter-site-header,
body.yp-starter-generated-page .yp-starter-page,
body.yp-starter-generated-page .yp-starter-site-footer {
  margin-right: 0;
  margin-left: 0;
}

body.yp-starter-generated-page .yp-starter-site-footer,
body.yp-starter-generated-page .footer,
body.yp-starter-generated-page .footer-in {
  margin-bottom: 0;
  padding-bottom: 0;
}

body.yp-starter-generated-page .yp-starter-site-footer__bottom {
  margin-bottom: 0;
}

body.yp-starter-generated-page .yp-starter-hero {
  width: min(1220px, calc(100% - 72px));
  max-width: 1220px;
  min-height: 560px;
  grid-template-columns: minmax(320px, 0.62fr) minmax(520px, 1.18fr);
  margin: 0 auto;
  padding: 50px 0 64px;
}

body.yp-starter-generated-page .yp-starter-hero__copy {
  max-width: 500px;
  padding: 54px 0 48px;
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
  max-width: 450px;
  font-size: clamp(2.15rem, 3.45vw, 3.75rem);
  line-height: 1.42;
}

body.yp-starter-generated-page .yp-starter-hero__visual {
  margin-left: 0;
}

body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo {
  min-height: 500px;
}

body.yp-starter-generated-page .yp-starter-news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

body.yp-starter-generated-page .yp-starter-news-card {
  min-width: 0;
  min-height: 214px;
  grid-template-columns: minmax(0, 1fr) 118px;
  align-content: start;
  border: 1px solid rgba(230, 221, 210, 0.96);
  box-sizing: border-box;
}

body.yp-starter-generated-page .yp-starter-news-card .yp-starter-card-title {
  margin: 12px 0 12px;
  font-size: 1rem;
  line-height: 1.65;
}

body.yp-starter-generated-page .yp-starter-news-card .yp-starter-card-text {
  margin: 0;
  color: var(--yp-color-subtext);
  font-size: 0.86rem;
  line-height: 1.85;
}

body.yp-starter-generated-page .yp-starter-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: 0.72rem;
}

body.yp-starter-generated-page .yp-starter-profile-schedule {
  display: grid;
  max-width: 980px;
  grid-template-columns: 1fr;
  gap: 74px;
  align-items: stretch;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__profile {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__schedule {
  width: 100%;
  padding-left: 0;
  border-left: 0;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__schedule .yp-starter-section-heading {
  justify-content: center;
  text-align: center;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__schedule .yp-starter-lesson-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body.yp-starter-generated-page .yp-starter-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

body.yp-starter-generated-page .yp-starter-gallery-grid .yp-starter-sample-photo,
body.yp-starter-generated-page .yp-starter-gallery-grid .yp-starter-photo,
body.yp-starter-generated-page .yp-starter-gallery-grid .wp-block-image,
body.yp-starter-generated-page .yp-starter-gallery-grid figure {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

body.yp-starter-generated-page .yp-starter-gallery-grid img,
body.yp-starter-generated-page .yp-starter-gallery-grid .yp-starter-sample-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

body.yp-starter-generated-page .yp-starter-cta {
  margin-top: 82px;
  margin-bottom: 54px;
}

body.yp-starter-generated-page .yp-starter-sns {
  margin-top: 0;
  margin-bottom: 72px;
}

body.yp-starter-related-archive {
  background: #f8f5ef;
}

body.yp-starter-related-archive #sidebar,
body.yp-starter-related-archive .sidebar,
body.yp-starter-related-archive .side,
body.yp-starter-related-archive .widget-area,
body.yp-starter-related-archive .sidebar-wrapper {
  display: none;
}

body.yp-starter-related-archive .content,
body.yp-starter-related-archive .content-in,
body.yp-starter-related-archive .main,
body.yp-starter-related-archive .main-in {
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
}

body.yp-starter-related-archive .article,
body.yp-starter-related-archive .entry-card,
body.yp-starter-related-archive .list {
  background: #fffaf4;
}

body.yp-starter-related-archive .entry-card,
body.yp-starter-related-archive .entry-card-wrap,
body.yp-starter-related-archive .article {
  border-radius: 18px;
}

body.yp-starter-related-archive .entry-card-thumb img,
body.yp-starter-related-archive .eye-catch img {
  width: 100%;
  max-height: 420px;
  border-radius: 16px;
  object-fit: cover;
}

/* v0.3.5 visual refinement */
body.yp-starter-generated-page,
body.yp-starter-generated-page #container,
body.yp-starter-generated-page .container {
  background: #fffaf4;
}

body.yp-starter-generated-page .content,
body.yp-starter-generated-page .content-in,
body.yp-starter-generated-page .main,
body.yp-starter-generated-page .article {
  margin-top: 0;
  padding-top: 0;
}

body.yp-starter-generated-page .yp-starter-site-header {
  background: rgba(255, 255, 255, 0.94);
}

body.yp-starter-generated-page .yp-starter-site-header__inner {
  min-height: 104px;
}

body.yp-starter-generated-page .yp-starter-site-nav span {
  font-size: 1.12rem;
  letter-spacing: 0.02em;
}

body.yp-starter-generated-page .yp-starter-site-nav small {
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

body.yp-starter-generated-page .yp-starter-mobile-nav {
  display: none;
}

body.yp-starter-generated-page .yp-starter-hero {
  max-width: 1360px;
  min-height: 590px;
  padding-top: 46px;
  padding-bottom: 64px;
  grid-template-columns: minmax(330px, 0.62fr) minmax(560px, 1.38fr);
}

body.yp-starter-generated-page .yp-starter-hero__copy {
  padding-left: 18px;
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
  max-width: 500px;
  margin-bottom: 26px;
  font-size: clamp(2.35rem, 4.1vw, 4.2rem);
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-lead {
  max-width: 470px;
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-actions {
  margin-top: 44px;
  flex-direction: row;
}

body.yp-starter-generated-page .yp-starter-hero__visual {
  margin-left: 0;
}

body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo {
  min-height: 520px;
  aspect-ratio: 16 / 9;
}

body.yp-starter-generated-page .yp-starter-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

body.yp-starter-generated-page .yp-starter-section-head .yp-starter-section-heading {
  margin-bottom: 0;
}

body.yp-starter-generated-page .yp-starter-view-all {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--yp-color-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  text-decoration: none;
}

body.yp-starter-generated-page .yp-starter-view-all::after {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(143, 161, 132, 0.65);
  border-radius: 50%;
  color: var(--yp-color-accent);
  content: "→";
  font-size: 0.78rem;
}

body.yp-starter-generated-page .yp-starter-news .yp-starter-section-heading {
  display: grid;
  justify-content: start;
  grid-template-columns: 1fr;
  text-align: left;
}

body.yp-starter-generated-page .yp-starter-profile-schedule {
  align-items: start;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__profile,
body.yp-starter-generated-page .yp-starter-profile-schedule__schedule {
  align-self: start;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__schedule .yp-starter-section-heading {
  margin-bottom: 28px;
  text-align: left;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__schedule .yp-starter-section-action {
  margin-top: 26px;
}

body.yp-starter-generated-page .yp-starter-lesson-card {
  padding-bottom: 28px;
}

body.yp-starter-generated-page .yp-starter-lesson-card::after {
  display: none;
}

body.yp-starter-generated-page .yp-starter-gallery-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.yp-starter-generated-page .yp-starter-gallery-grid .yp-starter-sample-photo,
body.yp-starter-generated-page .yp-starter-gallery-grid .yp-starter-photo,
body.yp-starter-generated-page .yp-starter-gallery-grid .wp-block-image,
body.yp-starter-generated-page .yp-starter-gallery-grid figure {
  aspect-ratio: 1 / 1;
}

body.yp-starter-generated-page .yp-starter-gallery-grid img {
  aspect-ratio: 1 / 1;
}

body.yp-starter-generated-page .yp-starter-sns {
  grid-template-columns: minmax(190px, 0.55fr) minmax(280px, 1.1fr) minmax(360px, 1fr);
}

body.yp-starter-generated-page .yp-starter-sns .yp-starter-link-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 12px;
}

body.yp-starter-generated-page .yp-starter .wp-block-button.yp-starter-soft-link .wp-block-button__link {
  min-height: 48px;
  border-color: rgba(230, 221, 210, 0.78);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 18px rgba(59, 51, 45, 0.04);
}

body.yp-starter-generated-page .yp-starter .wp-block-button.yp-starter-soft-link .wp-block-button__link::before {
  background: #8FA184;
  color: #FFFFFF;
  font-family: Arial, sans-serif;
}

body.yp-starter-generated-page .yp-starter .wp-block-button.yp-starter-soft-link--instagram .wp-block-button__link::before {
  content: "◎";
}

body.yp-starter-generated-page .yp-starter .wp-block-button.yp-starter-soft-link--youtube .wp-block-button__link::before {
  content: "▶";
}

body.yp-starter-generated-page .yp-starter .wp-block-button.yp-starter-soft-link--line .wp-block-button__link::before {
  content: "●";
}

body.yp-starter-generated-page .yp-starter .wp-block-button.yp-starter-soft-link--note .wp-block-button__link::before {
  content: "n";
}

body.yp-starter-related-post .main,
body.yp-starter-related-post .article,
body.yp-starter-related-post .entry-content {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
}

body.yp-starter-related-post .eye-catch img,
body.yp-starter-related-post .entry-content img {
  width: 100%;
  max-height: 560px;
  border-radius: 18px;
  object-fit: cover;
}

body.yp-starter-related-post .article {
  border-radius: 22px;
  background: #fffaf4;
}

@media (max-width: 900px) {
  .yp-starter-hero,
  .yp-starter-profile-block,
  .yp-starter-news-grid,
  .yp-starter-card-grid,
  .yp-starter-gallery-grid {
    grid-template-columns: 1fr;
  }

  .yp-starter-site-header__inner {
    flex-direction: column;
  }

  .yp-starter-site-nav {
    justify-content: center;
  }

  .yp-starter-hero {
    min-height: auto;
    padding: 72px 22px 62px;
    gap: 32px;
  }

  .yp-starter-hero::before {
    inset: auto 0 38px 0;
    width: 100%;
    height: 42%;
    border-radius: 36px;
  }

  .yp-starter-hero__visual {
    margin-left: 0;
  }

  .yp-starter-section,
  .yp-starter-sub-hero {
    padding: 58px 22px;
  }

  .yp-starter-profile-schedule {
    grid-template-columns: 1fr;
  }

  .yp-starter-photo--hero,
  .yp-starter-photo--portrait,
  .yp-starter-photo--lesson {
    min-height: 340px;
  }

  .yp-starter-photo--hero,
  .yp-starter-sample-photo.yp-starter-photo--hero {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .yp-starter-sample-photo.yp-starter-photo--hero img {
    object-position: center center;
  }

  .yp-starter-sample-photo img {
    min-height: 340px;
  }

  .yp-starter-page .yp-starter-gallery-grid .yp-starter-sample-photo,
  .yp-starter-page .yp-starter-gallery-grid .yp-starter-photo,
  .yp-starter-page .yp-starter-gallery-grid img {
    min-height: 0;
  }

  .yp-starter-section-heading--left {
    text-align: center;
  }

  body.yp-starter-generated-page .yp-starter-site-header__inner,
  body.yp-starter-generated-page .yp-starter-site-footer__inner {
    width: min(100% - 44px, 720px);
  }

  body.yp-starter-generated-page .yp-starter-hero {
    grid-template-columns: 1fr;
    padding: 64px 22px 58px;
  }

  body.yp-starter-generated-page .yp-starter-hero__copy {
    padding: 0;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual {
    margin-left: 0;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo {
    min-height: 420px;
    border-radius: 28px;
  }

  body.yp-starter-generated-page .yp-starter-news-card {
    grid-template-columns: minmax(0, 1fr) 120px;
  }

  body.yp-starter-generated-page .yp-starter-profile-schedule,
  body.yp-starter-generated-page .yp-starter-profile-schedule__profile,
  body.yp-starter-generated-page .yp-starter-sns,
  body.yp-starter-generated-page .yp-starter-site-footer__inner {
    grid-template-columns: 1fr;
  }

  body.yp-starter-generated-page .yp-starter-profile-schedule__schedule {
    border-left: 0;
    padding-left: 0;
  }

  body.yp-starter-generated-page .yp-starter-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.yp-starter-generated-page .yp-starter-footer-nav {
    justify-content: center;
  }

  body.yp-starter-generated-page .yp-starter-sns .yp-starter-link-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .yp-starter-site-header {
    padding: 16px 18px 18px;
  }

  .yp-starter-page {
    overflow-x: hidden;
  }

  .yp-starter-hero {
    padding: 58px 18px 52px;
    gap: 28px;
  }

  .yp-starter-main-title {
    margin-bottom: 18px;
    font-size: 2.1rem;
    line-height: 1.32;
  }

  .yp-starter-lead {
    font-size: 1rem;
    line-height: 1.9;
  }

  .yp-starter-actions,
  .yp-starter-link-row {
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .yp-starter .wp-block-button.yp-starter-button,
  .yp-starter .wp-block-button.yp-starter-button--sub,
  .yp-starter .wp-block-button.yp-starter-soft-link,
  .yp-starter .wp-block-button.yp-starter-button .wp-block-button__link,
  .yp-starter .wp-block-button.yp-starter-button--sub .wp-block-button__link,
  .yp-starter .wp-block-button.yp-starter-soft-link .wp-block-button__link {
    width: 100%;
  }

  .yp-starter-news-card,
  .yp-starter-lesson-card,
  .yp-starter-price-card {
    padding: 24px;
  }

  .yp-starter-section,
  .yp-starter-sub-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .yp-starter-profile-schedule__profile .yp-starter-profile-copy,
  .yp-starter-profile-schedule__schedule {
    padding: 26px 22px;
  }

  .yp-starter-sample-photo.yp-starter-photo--hero,
  .yp-starter-photo--hero {
    min-height: 300px;
    aspect-ratio: 3 / 4;
  }

  .yp-starter-sample-photo.yp-starter-photo--hero img {
    min-height: 300px;
    object-position: center top;
  }

  .yp-starter-sample-photo figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
    text-align: center;
  }

  body.yp-starter-generated-page .yp-starter-site-header__tagline {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 0.72rem;
  }

  body.yp-starter-generated-page .yp-starter-site-header__inner {
    display: grid;
    min-height: auto;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 18px 0;
  }

  body.yp-starter-generated-page .yp-starter-brand__name {
    font-size: 2rem;
  }

  body.yp-starter-generated-page .yp-starter-site-nav {
    display: none;
  }

  body.yp-starter-generated-page .yp-starter-mobile-nav {
    position: relative;
    display: block;
    justify-self: end;
  }

  body.yp-starter-generated-page .yp-starter-mobile-nav summary {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(230, 221, 210, 0.9);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    color: transparent;
    cursor: pointer;
    list-style: none;
  }

  body.yp-starter-generated-page .yp-starter-mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  body.yp-starter-generated-page .yp-starter-mobile-nav summary::before,
  body.yp-starter-generated-page .yp-starter-mobile-nav summary::after,
  body.yp-starter-generated-page .yp-starter-mobile-nav summary span::before {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--yp-color-text);
    content: "";
  }

  body.yp-starter-generated-page .yp-starter-mobile-nav summary {
    gap: 5px;
  }

  body.yp-starter-generated-page .yp-starter-mobile-nav summary span {
    display: grid;
    gap: 5px;
  }

  body.yp-starter-generated-page .yp-starter-mobile-nav nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 10;
    display: grid;
    width: min(76vw, 260px);
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--yp-color-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--yp-shadow-card);
  }

  body.yp-starter-generated-page .yp-starter-mobile-nav:not([open]) nav {
    display: none;
  }

  body.yp-starter-generated-page .yp-starter-mobile-nav a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: baseline;
    padding: 10px 4px;
    color: var(--yp-color-text);
    text-decoration: none;
  }

  body.yp-starter-generated-page .yp-starter-mobile-nav a + a {
    border-top: 1px solid var(--yp-color-border);
  }

  body.yp-starter-generated-page .yp-starter-mobile-nav span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
  }

  body.yp-starter-generated-page .yp-starter-mobile-nav small {
    color: var(--yp-color-subtext);
    font-size: 0.68rem;
  }

  body.yp-starter-generated-page .yp-starter-main-title {
    font-size: 2.35rem;
  }

  body.yp-starter-generated-page .yp-starter-hero {
    position: relative;
    display: grid;
    min-height: 650px;
    padding: 18px 18px 34px;
    align-items: stretch;
  }

  body.yp-starter-generated-page .yp-starter-hero::before {
    display: none;
  }

  body.yp-starter-generated-page .yp-starter-hero__copy,
  body.yp-starter-generated-page .yp-starter-hero__visual {
    grid-column: 1;
    grid-row: 1;
  }

  body.yp-starter-generated-page .yp-starter-hero__copy {
    z-index: 2;
    display: flex;
    min-height: 650px;
    flex-direction: column;
    justify-content: flex-start;
    padding: 48px 20px 26px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.92) 0%, rgba(255, 250, 244, 0.72) 40%, rgba(255, 250, 244, 0.18) 72%, rgba(255, 250, 244, 0.72) 100%);
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-actions {
    width: 100%;
    margin-top: auto;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo {
    min-height: 650px;
    border-radius: 28px;
    aspect-ratio: auto;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo img {
    min-height: 650px;
    object-position: center bottom;
  }

  body.yp-starter-generated-page .yp-starter-news-card {
    grid-template-columns: 1fr;
  }

  body.yp-starter-generated-page .yp-starter-news-thumb {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  body.yp-starter-generated-page .yp-starter-news-body {
    grid-column: auto;
    grid-row: auto;
  }

  body.yp-starter-generated-page .yp-starter-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.yp-starter-generated-page .yp-starter-sns {
    grid-template-columns: 1fr;
    padding: 30px 22px;
  }

  body.yp-starter-generated-page .yp-starter-sns .yp-starter-link-row {
    grid-template-columns: 1fr;
  }

  body.yp-starter-generated-page .yp-starter-site-footer__inner {
    width: min(100% - 36px, 420px);
    text-align: center;
  }
}

/* v0.3.6 terminal overrides */
body.yp-starter-generated-page #container,
body.yp-starter-generated-page .container,
body.yp-starter-generated-page .content,
body.yp-starter-generated-page .content-in,
body.yp-starter-generated-page .main,
body.yp-starter-generated-page .main-in,
body.yp-starter-generated-page .article,
body.yp-starter-generated-page .entry-content {
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
  background: #fffaf4;
}

body.yp-starter-generated-page .yp-starter-hero {
  width: min(1220px, calc(100% - 72px));
  max-width: 1220px;
  min-height: 560px;
  grid-template-columns: minmax(320px, 0.62fr) minmax(520px, 1.18fr);
  margin: 0 auto;
  padding: 50px 0 64px;
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
  max-width: 450px;
  font-size: clamp(2.15rem, 3.45vw, 3.75rem);
  line-height: 1.42;
}

body.yp-starter-generated-page .yp-starter-news-card {
  min-height: 214px;
  grid-template-columns: minmax(0, 1fr) 118px;
  border: 1px solid rgba(230, 221, 210, 0.96);
  box-sizing: border-box;
}

body.yp-starter-generated-page .yp-starter-profile-schedule {
  max-width: 980px;
  grid-template-columns: 1fr;
  gap: 74px;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__profile {
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__schedule {
  padding-left: 0;
  border-left: 0;
}

body.yp-starter-generated-page .yp-starter-profile-schedule__schedule .yp-starter-lesson-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body.yp-starter-generated-page .yp-starter-gallery-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.yp-starter-generated-page .yp-starter-gallery-grid .yp-starter-sample-photo,
body.yp-starter-generated-page .yp-starter-gallery-grid .yp-starter-photo,
body.yp-starter-generated-page .yp-starter-gallery-grid .wp-block-image,
body.yp-starter-generated-page .yp-starter-gallery-grid figure,
body.yp-starter-generated-page .yp-starter-gallery-grid img {
  aspect-ratio: 1 / 1;
}

body.yp-starter-generated-page .yp-starter-cta {
  margin-top: 82px;
  margin-bottom: 54px;
}

body.yp-starter-generated-page .yp-starter-sns {
  margin-top: 0;
  margin-bottom: 72px;
}

body.yp-starter-generated-page .yp-starter-site-footer,
body.yp-starter-generated-page .footer,
body.yp-starter-generated-page .footer-in {
  margin-bottom: 0;
  padding-bottom: 0;
}

body.yp-starter-generated-page .yp-starter-site-footer__bottom {
  margin-bottom: 0;
  background: #7E8D73;
}

body.yp-starter-related-archive #sidebar,
body.yp-starter-related-archive .sidebar,
body.yp-starter-related-archive .side,
body.yp-starter-related-archive .widget-area,
body.yp-starter-related-archive .sidebar-wrapper {
  display: none;
}

body.yp-starter-related-archive .content,
body.yp-starter-related-archive .content-in,
body.yp-starter-related-archive .main,
body.yp-starter-related-archive .main-in {
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 900px) {
  body.yp-starter-generated-page .yp-starter-hero {
    width: min(100% - 44px, 720px);
    grid-template-columns: 1fr;
  }

  body.yp-starter-generated-page .yp-starter-profile-schedule__profile,
  body.yp-starter-generated-page .yp-starter-profile-schedule__schedule .yp-starter-lesson-grid,
  body.yp-starter-generated-page .yp-starter-news-grid {
    grid-template-columns: 1fr;
  }

  body.yp-starter-generated-page .yp-starter-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.yp-starter-generated-page .yp-starter-hero {
    width: min(100% - 32px, 420px);
    min-height: 630px;
    padding: 16px 0 32px;
  }

  body.yp-starter-generated-page .yp-starter-hero__copy {
    min-height: 630px;
    padding: 44px 18px 24px;
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
    font-size: 2rem;
    line-height: 1.5;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo,
  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo img {
    min-height: 630px;
  }

  body.yp-starter-generated-page .yp-starter-news-card {
    grid-template-columns: 1fr;
  }
}

/* Final hero override: keep PC/mobile split after all legacy v0.3.6 overrides. */
body.yp-starter-generated-page .yp-starter-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
  width: min(100%, 1180px);
  max-width: 1180px;
  min-height: 560px;
  margin: 0 auto 110px;
  padding: clamp(48px, 6vw, 86px);
  overflow: hidden;
  background: #F7F2EA;
  box-sizing: border-box;
}

body.yp-starter-generated-page .yp-starter-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(248, 245, 239, 0.96) 0%, rgba(248, 245, 239, 0.82) 34%, rgba(248, 245, 239, 0.26) 58%, rgba(248, 245, 239, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

body.yp-starter-generated-page .yp-starter-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 440px;
  min-height: auto;
  padding: 0;
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
  max-width: 440px;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.52;
  letter-spacing: 0;
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-lead {
  max-width: 34em;
  margin-bottom: 34px;
  line-height: 2;
}

body.yp-starter-generated-page .yp-starter-hero .yp-starter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

body.yp-starter-generated-page .yp-starter-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo,
body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo,
body.yp-starter-generated-page .yp-starter-hero__visual figure {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: #EFE6DC;
}

body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo--hero-mobile {
  display: none;
}

body.yp-starter-generated-page .yp-starter-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

body.yp-starter-generated-page .yp-starter-hero__visual .wp-element-caption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  width: auto;
  max-width: min(420px, calc(100% - 44px));
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: rgba(59, 51, 45, 0.62);
  font-size: 0.72rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  body.yp-starter-generated-page .yp-starter-hero {
    display: block;
    width: min(100% - 28px, 680px);
    min-height: 620px;
    margin-bottom: 76px;
    padding: 0;
    border-radius: 28px;
  }

  body.yp-starter-generated-page .yp-starter-hero::before {
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(248, 245, 239, 0.90) 0%, rgba(248, 245, 239, 0.64) 34%, rgba(248, 245, 239, 0.34) 66%, rgba(248, 245, 239, 0.78) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08));
  }

  body.yp-starter-generated-page .yp-starter-hero__copy {
    display: flex;
    min-height: 620px;
    max-width: none;
    padding: 52px 24px 32px;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.48;
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-lead {
    margin-bottom: 24px;
    line-height: 1.9;
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  body.yp-starter-generated-page .yp-starter-hero .wp-block-button,
  body.yp-starter-generated-page .yp-starter-hero .wp-block-button__link {
    width: 100%;
    box-sizing: border-box;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo--hero {
    display: none;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo--hero-mobile {
    display: block;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual img {
    object-position: center bottom;
  }

  body.yp-starter-generated-page .yp-starter-hero__visual .wp-element-caption {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    font-size: 0.66rem;
  }
}

@media (max-width: 560px) {
  body.yp-starter-generated-page .yp-starter-hero {
    width: min(100% - 24px, 420px);
    min-height: 600px;
    border-radius: 24px;
  }

  body.yp-starter-generated-page .yp-starter-hero__copy {
    min-height: 600px;
    padding: 40px 18px 26px;
  }

  body.yp-starter-generated-page .yp-starter-hero .yp-starter-main-title {
    font-size: clamp(2rem, 8vw, 2.55rem);
  }
}

/* v0.3.7 terminal overlay alignment. */
body.yp-starter-generated-page .yp-starter-hero {
  overflow: hidden;
  isolation: isolate;
}

body.yp-starter-generated-page .yp-starter-hero::before {
  inset: 0;
  border-radius: inherit;
}

body.yp-starter-generated-page .yp-starter-hero__visual,
body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo,
body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo,
body.yp-starter-generated-page .yp-starter-hero__visual figure,
body.yp-starter-generated-page .yp-starter-hero__visual img {
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: inherit;
}

body.yp-starter-generated-page .yp-starter-hero__visual {
  overflow: hidden;
}

/* v0.3.8 true final override. This block is intentionally last. */
body.yp-starter-generated-page .yp-starter-brand__image-wrap{display:flex;align-items:center;max-width:100%;}
body.yp-starter-generated-page .yp-starter-brand__image{display:block;width:auto;max-width:230px;max-height:72px;object-fit:contain;}
body.yp-starter-generated-page .yp-starter-site-footer__brand .yp-starter-brand__image{max-width:210px;max-height:62px;}
body.yp-starter-generated-page .yp-starter-hero{--yp-hero-radius:0px;position:relative;overflow:hidden;isolation:isolate;border-radius:var(--yp-hero-radius);}
body.yp-starter-generated-page .yp-starter-hero::before{content:"";position:absolute;inset:0;z-index:1;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,rgba(248,245,239,.96) 0%,rgba(248,245,239,.82) 34%,rgba(248,245,239,.26) 58%,rgba(248,245,239,.06) 100%),linear-gradient(180deg,rgba(255,255,255,.26),rgba(255,255,255,.08));pointer-events:none;}
body.yp-starter-generated-page .yp-starter-hero::after,body.yp-starter-generated-page .yp-starter-hero__visual::before,body.yp-starter-generated-page .yp-starter-hero__visual::after{display:none;content:none;}
body.yp-starter-generated-page .yp-starter-hero__visual,body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-sample-photo,body.yp-starter-generated-page .yp-starter-hero__visual .yp-starter-photo,body.yp-starter-generated-page .yp-starter-hero__visual figure,body.yp-starter-generated-page .yp-starter-hero__visual img{position:absolute;inset:0;width:100%;max-width:none;height:100%;min-height:100%;margin:0;border-radius:inherit;box-sizing:border-box;overflow:hidden;}
body.yp-starter-generated-page .yp-starter-hero__visual img{display:block;object-fit:cover;object-position:center center;}
body.yp-starter-generated-page .yp-starter-news-archive__inner{width:min(100% - 72px,1120px);max-width:1120px;margin-right:auto;margin-left:auto;}
body.yp-starter-generated-page .yp-starter-news-grid,body.yp-starter-news-archive-page .yp-starter-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
body.yp-starter-generated-page .yp-starter-news-card,body.yp-starter-news-archive-page .yp-starter-news-card{display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:18px;align-items:start;min-width:0;height:100%;padding:30px;box-sizing:border-box;}
body.yp-starter-generated-page .yp-starter-news-body,body.yp-starter-news-archive-page .yp-starter-news-body{display:grid;grid-template-rows:auto auto 1fr;align-content:start;gap:12px;min-width:0;}
body.yp-starter-generated-page .yp-starter-news-thumb,body.yp-starter-news-archive-page .yp-starter-news-thumb{width:128px;max-width:100%;aspect-ratio:4/3;align-self:start;margin:0;overflow:hidden;}
body.yp-starter-generated-page .yp-starter-news-thumb img,body.yp-starter-news-archive-page .yp-starter-news-thumb img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;}
body.yp-starter-generated-page .yp-starter-profile-copy .yp-starter-actions,body.yp-starter-generated-page .yp-starter-cta .yp-starter-actions,body.yp-starter-generated-page .yp-starter-cta .yp-starter-section-action{margin-top:1.5rem;}
body.yp-starter-generated-page .yp-starter-gallery .yp-starter-section-heading{display:flex;flex-direction:column;align-items:flex-start;gap:6px;}
body.yp-starter-generated-page .yp-starter-sns{display:grid;grid-template-columns:minmax(150px,.55fr) minmax(220px,1fr) minmax(320px,1.25fr);align-items:center;gap:clamp(22px,4vw,54px);}
body.yp-starter-generated-page .yp-starter-sns .yp-starter-section-heading{align-items:flex-start;margin:0;}
body.yp-starter-generated-page .yp-starter-sns-copy{margin:0;}
body.yp-starter-generated-page .yp-starter-sns .yp-starter-link-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;}
body.yp-starter-generated-page .yp-starter-soft-link .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;white-space:nowrap;}
body.yp-starter-generated-page .yp-starter-social-icon-image{display:block;width:18px;height:18px;object-fit:contain;}
body.yp-starter-generated-page .yp-starter-social-icon{display:inline-grid;width:18px;height:18px;border-radius:999px;place-items:center;background:var(--yp-color-accent);color:var(--yp-color-white);font-size:.58rem;font-weight:700;line-height:1;}
body.yp-starter-generated-page .yp-starter-social-icon--instagram::before{content:"I";}body.yp-starter-generated-page .yp-starter-social-icon--youtube::before{content:"Y";}body.yp-starter-generated-page .yp-starter-social-icon--line::before{content:"L";}body.yp-starter-generated-page .yp-starter-social-icon--note::before{content:"n";}body.yp-starter-generated-page .yp-starter-social-icon--x::before{content:"X";}body.yp-starter-generated-page .yp-starter-social-icon--threads::before{content:"T";}
@media (max-width:900px){body.yp-starter-generated-page .yp-starter-brand__image{max-width:170px;max-height:54px;}body.yp-starter-generated-page .yp-starter-hero{--yp-hero-radius:28px;}body.yp-starter-generated-page .yp-starter-hero::before{background:linear-gradient(180deg,rgba(248,245,239,.88) 0%,rgba(248,245,239,.58) 38%,rgba(248,245,239,.28) 68%,rgba(248,245,239,.78) 100%),linear-gradient(90deg,rgba(255,255,255,.38),rgba(255,255,255,.08));}body.yp-starter-generated-page .yp-starter-hero__visual img{object-position:center bottom;}body.yp-starter-generated-page .yp-starter-news-grid,body.yp-starter-news-archive-page .yp-starter-news-grid{grid-template-columns:1fr;}body.yp-starter-generated-page .yp-starter-news-card,body.yp-starter-news-archive-page .yp-starter-news-card{grid-template-columns:1fr;padding:24px;}body.yp-starter-generated-page .yp-starter-news-thumb,body.yp-starter-news-archive-page .yp-starter-news-thumb{width:100%;aspect-ratio:16/10;order:-1;}body.yp-starter-generated-page .yp-starter-sns{grid-template-columns:1fr;gap:18px;}body.yp-starter-generated-page .yp-starter-sns .yp-starter-link-row{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:560px){body.yp-starter-generated-page .yp-starter-hero{--yp-hero-radius:24px;}body.yp-starter-generated-page .yp-starter-news-archive__inner{width:min(100% - 32px,420px);}}
