.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;
}

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

.yp-starter-page__article {
  width: 100%;
}

.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 {
  display: grid;
  max-width: 1240px;
  min-height: 680px;
  margin: 0 auto;
  padding: 96px 32px 88px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.yp-starter-hero__copy {
  position: relative;
  z-index: 1;
}

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

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

.yp-starter-button {
  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-button--sub {
  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;
}

.yp-starter-news-card,
.yp-starter-lesson-card,
.yp-starter-price-card {
  min-width: 0;
  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);
}

.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-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 {
  margin-bottom: 0;
}

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

.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-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--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: 1.2fr 0.9fr 0.9fr;
  gap: 22px;
}

.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-soft-link {
  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-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;
}

@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-hero {
    min-height: auto;
    padding: 72px 22px 58px;
  }

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

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

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

@media (max-width: 560px) {
  .yp-starter-actions,
  .yp-starter-link-row {
    flex-direction: column;
  }

  .yp-starter-button,
  .yp-starter-soft-link {
    width: 100%;
  }

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