/* Typography on the specialist pages, including diagrams and industry-specific copy. */
:root {--lp-font:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;--copy-ink:#181817;}
body#top, #top #main :is(h1,h2,h3,h4,p,li,dt,dd,summary,button,a,span,b,strong,small,figcaption,th,td),
body#top dialog {font-family:var(--lp-font)!important;}
#top #main :is(h2,h3), #top #main .queue-skin .section-heading h2 {font-family:var(--lp-font)!important;line-height:1.28!important;}
#top #main :is(.scene-copy,.step-copy,.pickup-copy,.moment-copy,.concept-body,.salon-review-scenes-grid,.flow-intro,.flow-card,.why-line-legacy) p:not(.eyebrow,.kicker),
#top #main .queue-skin :is(dd,.scene-lead,.scene-intro) {color:var(--copy-ink);}
#main .hero-offer {max-width:1000px;margin-inline:auto;}
#main .hero-offer-price {color:#24344a;}
#main .hero-offer-price p, #main .hero-offer-price small {font-weight:700;}
/* Match the photograph and handset geometry on the service top. */
#main .service-hero-visual {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 1320px;
  height: 560px;
  margin: 0 auto;
  padding: 0 42px;
}
.service-hero-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 65px 140px 75px 120px / 80px 100px 110px 100px;
  object-fit: cover;
  object-position: center 48%;
}
.service-hero-handset {
  --handset-width: clamp(170px, 18vw, 236px);
  box-sizing: border-box;
  position: absolute;
  z-index: 4;
  bottom: -48px;
  left: 6%;
  width: var(--handset-width);
  border: 3px solid #161719;
  border-radius: calc(var(--handset-width) * .13);
  background: #f5f5f5;
  box-shadow: 0 0 0 1px #a5a6a8, 12px 20px 32px #10101030;
  transform: rotate(7deg);
}
.service-hero-display {
  width: 100%;
  aspect-ratio: 443 / 835;
  border-radius: calc(var(--handset-width) * .13 - 3px);
  overflow: hidden;
  background: white;
}
.service-hero-display > :is(img, svg) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Keep the original notification card on the service-top handset. */
#main .service-hero-handset.lp-handset-group {height: auto;}
#main .service-hero-handset > .lp-hero-notification {
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
@media (min-width: 801px) and (max-width: 1020px) {
  #main .hero-offer-price {margin-block-start: 60px;}
}
@media (max-width: 800px) {
  #main .service-hero-visual {height: 320px; padding-inline: 16px;}
  .service-hero-visual > img {
    border-radius: 35px 60px 22% 28% / 35px 60px 14% 15%;
    object-position: 62% center;
  }
  .service-hero-handset {--handset-width: 132px; left: 23px; bottom: -20px; transform: none;}
}

#main .feature-overview {background:transparent;}
#experience > #why-line {border-top: 0;}
#main .feature-overview__header h2 {font-weight:800;}
#main .feature-overview__grid li {background:#fff;}
#main .feature-panels {
  --service-wave-height: clamp(16px, 2.1vw, 30px);
  position: relative;
  isolation: isolate;
  border-radius: 0;
  background: linear-gradient(var(--lp-beige), var(--lp-beige)) center / 100% calc(100% - 2 * var(--service-wave-height) + 2px) no-repeat;
}

#main .feature-panels::before,
#main .feature-panels::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline: 0;
  height: var(--service-wave-height);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 28' preserveAspectRatio='none'%3E%3Cpath fill='%23f2e9dc' d='M0 11C121 2 216 25 358 18S596 1 754 10s166 10 246-4V28H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

#main .feature-panels::before { inset-block-start: 0; }
#main .feature-panels::after { inset-block-end: 0; transform: rotate(180deg); }

.hero-offer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 6vw, 80px);
  margin-inline: 42px;
  padding-inline: clamp(12px, 3vw, 42px);
}

.hero-offer-price {
  min-width: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.hero-offer-price p {
  margin: 0;
}

.hero-offer-price span,
.hero-offer-price small {
  font-size: clamp(11px, 1.2vw, 15px);
}

.hero-offer-price .hero-monthly-rate {
  display: inline-block;
  white-space: nowrap;
}

.hero-monthly-rate strong {
  font-size: clamp(18px, 2.1vw, 28px);
}

.hero-offer .hero-demo-button {
  position: relative;
  z-index: 5;
  display: grid;
  flex: 0 0 auto;
  place-content: center;
  width: clamp(84px, 13vw, 148px);
  aspect-ratio: 1;
  margin-block-start: clamp(-52px, -5vw, -26px);
  border-radius: 49% 51% 47% 53% / 49% 46% 54% 51%;
  background: #a95834;
  color: #fff;
  font-size: clamp(16px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.26;
  text-align: center;
  text-decoration: none;
}

.hero-offer .hero-demo-button:hover {
  background: #934727;
}

.hero-demo-button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

@media (max-width:800px) {
  .hero-offer {
    justify-content: space-between;
    gap: 12px;
    margin-inline: 16px;
    padding-inline: 8px;
  }

  .hero-offer-price {
    margin-block-start: 26px;
  }

  .hero-offer .hero-demo-button {
    margin-block-start: -27px;
  }
}


@media (max-width:800px) {
  #main .hero-offer {margin-inline:16px;}
}

/* Use the same inset silhouette for the reception guide and the industry problems. */
#main > .salon-review-scenes {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin: 0;
  padding: clamp(18px, 2.5vw, 32px) 0 !important;
  background: #fdfcfb;
}

#main .inset-panel {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  width: min(calc(100% - 40px), 1000px);
  margin-inline: auto;
  padding: clamp(48px, 5.5vw, 78px) clamp(16px, 3vw, 38px) clamp(54px, 6vw, 86px);
}

#main .inset-panel::before {
  content: "";
  position: absolute;
  inset: 0 -20px;
  z-index: -1;
  pointer-events: none;
  border-image: url("journey-panel.svg?v=20261129-shared-beige") 18.8% 12.5% fill /
    clamp(48px, 5vw, 70px) clamp(40px, 7vw, 94px) stretch;
}

@media (max-width: 800px) {
  #main .inset-panel {width: 88%; padding-inline: clamp(3px, 1vw, 8px);}
  #main .inset-panel::before {inset-inline: max(-20px, -6.81818%);}
}

#main .inset-panel :is(h2, h3),
#main .salon-review-scenes-grid p,
#main .journey-frame .step-copy > p:last-child {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

@media (max-width: 800px) {
  #main .salon-review-scenes .inset-panel {container-type: inline-size;}
  #main .salon-review-scenes #salon-scenes-title {
    font-size: clamp(20px, 5.74vw, 28px) !important;
    text-wrap: balance;
  }
}

/* Start each feature with its headline. */
#main #concept .concept-story > h2:first-child,
#main #experience .moment-copy > h3:first-child,
#main #why-line #why-line-title,
#main .queue-skin #flow #flow-title,
#main .queue-skin #scenes #scenes-title,
#main .queue-skin .scene-copy > h3:first-child {
  margin-block-start: 0 !important;
}

/* Display the salon feature photographs in their original landscape format. */
#main #concept .concept-photo,
#main #experience .moment .moment-photo {
  aspect-ratio: 3 / 2;
}

#main #concept .concept-photo > img,
#main #experience .moment .moment-photo > img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

@media (min-width: 768px) {
  #main .salon-review-scenes #salon-scenes-title {
    max-width: none;
    margin-bottom: 20px !important;
    text-align: center;
  }
  #salon-scenes-title br { display: none; }
}
