/* This round's approved homepage changes, scoped to the existing home page. */
.page-home .hero { min-height: max(880px, 100svh); }
.page-home .hero__inner { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-height: inherit; padding-top: calc(var(--header-h) + 180px); padding-bottom: 36px; padding-inline: var(--gutter); }
.page-home .hero__panel { width: 100%; max-width: 620px; padding: 18px 24px 14px; }
.page-home .hero__panel .hero__lead { margin-top: 8px; }
.page-home .hero__panel .hero__ctas { margin-top: 12px; }
html[lang="ja"] .page-home .hero__title { font-size: clamp(36px,3.8vw,50px); letter-spacing: .025em; }
.page-home .proof__list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.page-home .proof__item { min-width: 0; border-left: 0; padding-inline: 0; border-image: none; }
.page-home .proof__num { font-size: clamp(48px,6.8vw,80px); white-space: nowrap; }
.page-home .proof__num .proof__plus { font: inherit; font-size: .42em; line-height: 0; color: inherit; vertical-align: super; margin-left: .03em; }
.page-home .proof__label { font-size: 13px; }
.page-home .home-brands .store__area { display: flex; align-items: baseline; gap: 12px; line-height: 1.65; font-size: 12px; }
.page-home .home-brands .store__area > span:last-child { font-family: var(--wk-font-body); ;--wk-emphasis-weight:var(--wk-body-strong-weight);--wk-medium-weight:var(--wk-body-medium-weight);--wk-semibold-weight:var(--wk-body-strong-weight);--wk-heavy-weight:var(--wk-body-strong-weight);}
.page-home .home-brands .store__body,.page-home .road__item { container-type: inline-size; }
.page-home .home-salon-line { display: flex; flex-wrap: nowrap; align-items: baseline; gap: clamp(5px,1.8cqi,10px); min-width: 0; width: 100%; white-space: nowrap; }
.page-home .home-salon-line .store__brand-name { flex: 0 0 auto; font-family: var(--wk-font-latin); font-size: clamp(16px,6.5cqi,28px); line-height: 1.3; font-weight:var(--wk-medium-weight); letter-spacing: -.035em; ;--wk-emphasis-weight:700;--wk-medium-weight:500;--wk-semibold-weight:600;--wk-heavy-weight:800;}
.page-home .home-salon-line .store__station { flex: 0 0 auto; font-family: var(--wk-font-body); font-size: clamp(11px,4cqi,14px); line-height: 1.5; font-weight: 400; color: var(--wk-ink-2); letter-spacing: 0; white-space: nowrap; ;--wk-emphasis-weight:var(--wk-body-strong-weight);--wk-medium-weight:var(--wk-body-medium-weight);--wk-semibold-weight:var(--wk-body-strong-weight);--wk-heavy-weight:var(--wk-body-strong-weight);}
.page-home .road__item .road__name { grid-column: 1/-1; }
.page-home .road__item .road__state { grid-row: 2; }
.page-home .road__scope { margin-left: 12px; font: 400 13px/1.5 var(--wk-font-body); color: var(--wk-ink-2); ;--wk-emphasis-weight:var(--wk-body-strong-weight);--wk-medium-weight:var(--wk-body-medium-weight);--wk-semibold-weight:var(--wk-body-strong-weight);--wk-heavy-weight:var(--wk-body-strong-weight);}
.page-home .road__candidates { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.page-home .road__candidates > span { white-space: nowrap; }
.page-home .brand-marquee { padding-block: 22px; }
.page-home .brand-marquee__track { width: max-content; animation-duration: 68s; }
.page-home .brand-marquee__group { display: inline-flex; align-items: baseline; gap: 30px; padding-right: 30px; }
.page-home .brand-marquee__group > span { white-space: nowrap; }
.page-home .brand-marquee__group > i { color: var(--wk-gold); font-size: 17px; font-style: normal; }
.page-home .brand-marquee__phrase { font-style: italic; }
/* Restore the original framed cards using layered backgrounds. The frame is
   kept independent of pseudo-element masks and the card's intrinsic height. */
.page-home .join__card { --frame: 12px; padding: var(--frame); border-radius: 32px; position: relative; isolation: isolate; overflow: hidden; }
.page-home .join__card--recruit { background: repeating-linear-gradient(135deg,transparent 0 8px,var(--wk-white) 8px 10px),linear-gradient(120deg,var(--wk-petal-100),var(--wk-lemon-100)); }
.page-home .join__card--partner { background: repeating-linear-gradient(135deg,transparent 0 8px,var(--wk-white) 8px 10px),linear-gradient(120deg,var(--wk-aqua-100),var(--wk-lilac-100)); }
.page-home .join__card::before { content: none; }
.page-home .join__inner { height: 100%; padding: 30px; border-radius: 21px; background: var(--wk-white); gap: 20px; }
.page-home .join__heading { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.page-home .join__heading .ribbon { align-self: flex-start; }
/* Existing course-banner lettering from the approved Academy/Briefing component. */
.page-home .join__inner .course-banner__latin { width: 100%; font-size: clamp(56px,17cqi,96px); background: var(--wk-iris); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; opacity: .9; text-align: right; }
.page-home .join__title { margin: 0; }
.page-home .join__text { font-size: 15px; line-height: 1.85; }
.page-home .join__bottom { gap: 22px; }
.page-home .products__grid { grid-template-columns: minmax(0,1fr); }
.page-home .products__photos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px 16px; }
.page-home .products__photos .photo { min-width: 0; }
.page-home .products .products__photos .photo .photo__frame { aspect-ratio: 1; }
.page-home .products__tile--course { margin-top: 12px; padding: 25px 30px; }
.page-home .products__goods { margin-top: 34px; }
.page-home .product-card__concept { font-size: 11px; line-height: 1.5; }
.page-home .contact-cards--home .contact-cards__primary { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.page-home .contact-card { min-width: 0; }
.page-home .contact-card--learn { background: linear-gradient(125deg,var(--wk-lilac-100),var(--wk-lemon-100)); }
.page-home .contact-card p { font-size: 15px; line-height: 1.85; margin-bottom: 20px; }
.page-home .contact-card__cta { white-space: nowrap; }
/* Editorial rhythm follows the published Journal: ruled masthead, serif title,
   arched image tops, square panels and smaller dated article columns. */
.page-home .home-editorial { background: linear-gradient(180deg,var(--wk-white),var(--wk-lemon-50)); }
.home-editorial__mast { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; border-bottom: 1px solid var(--wk-rule-gold); padding-bottom: 18px; margin-bottom: 30px; }
.home-editorial__wordmark { font:var(--wk-medium-weight) clamp(70px,12vw,150px)/.9 var(--wk-font-latin); letter-spacing: -.055em; color: var(--wk-ink); ;--wk-emphasis-weight:700;--wk-medium-weight:500;--wk-semibold-weight:600;--wk-heavy-weight:800;}
.home-editorial__issue { display: grid; gap: 8px; font: italic 32px/1.1 var(--wk-font-latin); color: var(--wk-gold-deep); text-align: right; ;--wk-emphasis-weight:700;--wk-medium-weight:500;--wk-semibold-weight:600;--wk-heavy-weight:800;}
.home-editorial__issue > span { font: 11px/1.65 var(--wk-font-body); letter-spacing: .09em; color: var(--wk-ink-2); ;--wk-emphasis-weight:var(--wk-body-strong-weight);--wk-medium-weight:var(--wk-body-medium-weight);--wk-semibold-weight:var(--wk-body-strong-weight);--wk-heavy-weight:var(--wk-body-strong-weight);}
.home-editorial__heading { align-items: flex-end; margin-bottom: 28px; }
.home-editorial__heading .sec-head { margin-bottom: 0; }
.home-editorial__heading .sec-title { font-size: clamp(26px,3.2vw,42px); }
.home-editorial__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; }
.home-editorial__feature-link { display: grid; grid-template-columns: 136px minmax(0,1fr); gap: 20px; align-items: start; text-decoration: none; }
.home-editorial__visual,.home-editorial__thumb { position: relative; min-width: 0; }
.home-editorial .photo__frame { border-radius: 50% 50% 0 0 / 26% 26% 0 0; overflow: hidden; }
.home-editorial .photo__frame img { transition: transform .35s var(--ease); }
.home-editorial .photo figcaption { display: none; }
.home-editorial__feature h3,.home-editorial__article h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font:var(--wk-emphasis-weight) 23px/1.5 var(--wk-font-display); letter-spacing: .04em; color: var(--wk-ink); ;--wk-emphasis-weight:700;--wk-medium-weight:400;--wk-semibold-weight:700;--wk-heavy-weight:700;}
.home-editorial__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; font: 11px/1.65 var(--wk-font-body); letter-spacing: .05em; color: var(--wk-ink-3); margin-bottom: 12px; ;--wk-emphasis-weight:var(--wk-body-strong-weight);--wk-medium-weight:var(--wk-body-medium-weight);--wk-semibold-weight:var(--wk-body-strong-weight);--wk-heavy-weight:var(--wk-body-strong-weight);}
.home-editorial__meta > span { color: var(--wk-gold-deep); }
.home-editorial__description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 14px/1.75 var(--wk-font-body); color: var(--wk-ink-2); margin-top: 10px; ;--wk-emphasis-weight:var(--wk-body-strong-weight);--wk-medium-weight:var(--wk-body-medium-weight);--wk-semibold-weight:var(--wk-body-strong-weight);--wk-heavy-weight:var(--wk-body-strong-weight);}
.home-editorial__feature .text-link { margin-top: 12px; font-size: 13px; }
.home-editorial__list { display: grid; align-content: start; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--wk-rule-gold-soft); }
.home-editorial__list > li { border-bottom: 1px solid var(--wk-rule-gold-soft); }
.home-editorial__article { display: grid; grid-template-columns: minmax(0,1fr) 112px; gap: 16px; padding-block: 20px; align-items: center; text-decoration: none; }
.home-editorial__article h3 { font-size: 19px; }
.home-editorial__article .home-editorial__description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; font-size: 13px; }
.home-editorial__read { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; margin-top: 14px; color: var(--wk-aqua-700); min-height: 32px; }
.home-editorial__read .ico { width: 16px; height: 16px; }
.home-editorial__identity { position: absolute; bottom: 0; left: 0; background: var(--wk-white); font-size: 10px; line-height: 1.5; padding: 3px 6px; color: var(--wk-ink-2); }
.home-editorial__end { margin-top: 32px; padding-top: 14px; border-top: 1px solid var(--wk-rule-gold); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--wk-ink-3); letter-spacing: .08em; }
.home-editorial__end a { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; }
@media (hover:hover) { .home-editorial a:hover h3 { color: var(--wk-aqua-700); } .home-editorial a:hover .photo__frame img { transform: scale(1.025); } }
@media (max-width: 1023px) { .home-editorial__grid { grid-template-columns: minmax(0,1fr); } .home-editorial__feature-link { align-items: center; } .page-home .contact-cards--home .contact-cards__primary { grid-template-columns: minmax(0,1fr); } }
/* Keep the panel in short desktop viewports without changing the hero crop. */
@media (min-width: 768px) {
.page-home .hero__inner { padding-top: calc(var(--header-h) + 48px); padding-bottom: max(36px,calc(916px - 100svh)); }
}
@media (max-width: 767px) {
 .page-home .hero { min-height: max(730px,100svh); }
 .page-home .hero__inner { padding-top: calc(var(--header-h) + 175px); padding-bottom: 40px; }
 .page-home .hero__panel { padding: 16px 20px 12px; }
 html[lang="ja"] .page-home .hero__title { font-size: clamp(20px,6.7vw,32px); letter-spacing: .02em; }
 .page-home .hero__ctas .btn { min-height: 48px; font-size: 14px; padding: 12px 10px; }
 .page-home .hero__booking { font-size: 13px; }
 .page-home .proof { padding-block: 32px; }
 .page-home .proof__list { gap: 8px; }
 .page-home .proof__num { font-size: clamp(42px,12vw,58px); }
 .page-home .proof__num small { font-size: .31em; margin-left: 3px; }
 .page-home .proof__label { font-size: 12px; }
 .page-home .home-brands .store__area { gap: 10px; font-size: 11px; }
 .page-home .brand-marquee { padding-block: 18px; }
 .page-home .brand-marquee__group { gap: 24px; padding-right: 24px; }
 .page-home .join__inner { padding: 23px; }
 .page-home .join__heading { align-items: flex-start; flex-direction: column; }
 .page-home .join__inner .course-banner__latin { font-size: clamp(56px,20cqi,78px); text-align: left; }
 .page-home .products__photos { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 12px; }
 .page-home .products__photos figcaption { font-size: 12px; }
 .page-home .products__tile--course { padding: 24px; }
 .home-editorial__mast { gap: 16px; padding-bottom: 16px; margin-bottom: 24px; }
 .home-editorial__wordmark { font-size: clamp(62px,19vw,90px); }
 .home-editorial__issue { font-size: 25px; }
 .home-editorial__heading { gap: 18px; align-items: flex-start; }
 .home-editorial__heading .btn { font-size: 12px; }
 .home-editorial__feature-link { grid-template-columns: minmax(0,1fr) 112px; gap: 16px; align-items: center; }
 .home-editorial__visual { grid-column: 2; grid-row: 1; }
 .home-editorial__feature-copy { grid-column: 1; grid-row: 1; min-width: 0; }
 .home-editorial__visual .photo__frame { aspect-ratio: 4/5; }
 .home-editorial__feature h3 { font-size: 21px; }
 .home-editorial__article { grid-template-columns: minmax(0,1fr) 112px; gap: 12px; align-items: center; }
 .home-editorial__article h3 { font-size: 18px; }
 .home-editorial__end { font-size: 11px; letter-spacing: .03em; }
}
@media (max-width: 359px) { .page-home .hero__panel { padding-inline: 16px; } .page-home .hero__ctas .btn { font-size: 13px; } .home-editorial__article,.home-editorial__feature-link { grid-template-columns: minmax(0,1fr) 96px; gap: 12px; } .home-editorial__article h3 { font-size: 17px; } }
@media (prefers-reduced-motion:reduce) { .page-home .brand-marquee__track { animation: none; } .home-editorial .photo__frame img { transition: none; } }

/* Size the long Latin word from the card content width, including narrow zoom layouts. */
.page-home .join__card--partner .course-banner__latin { font-size: min(96px, 15cqi); }
.page-home .join__plan { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; padding-top: 32px; margin-top: 40px; border-top: 1px solid var(--wk-rule-gold-soft); }
.page-home .join__plan-title { margin: 0 0 16px; font: 700 22px/1.5 var(--wk-font-display); }
@media (max-width: 899px) { .page-home .join__plan { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Keep the existing frames; partnership and its store plan share one card. */
.page-home #join .join__grid { grid-template-columns:minmax(0,1fr); }
.page-home .home-partnership__copy { display:grid; gap:20px; min-width:0; container-type:inline-size; }
.page-home .home-partnership__plan { min-width:0; }
.page-home .home-partnership .join__inner { display:grid; justify-items:stretch; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:32px; align-items:center; }
.page-home .home-partnership .road { margin:0; }
@media(max-width:899px) { .page-home .home-partnership .join__inner { grid-template-columns:minmax(0,1fr); gap:24px; } }
