/* Match the supplied reference's hero and campaign image proportions. */
html body.hero-graphic #main-img {height:45vw;isolation:isolate;}
html body.hero-graphic #main-img::after {display:none;}
html body.hero-graphic #main-img .main-img {position:absolute;inset:0;width:100%;height:100%;}
html body.hero-graphic #main-img .main-img::before {display:block;background:linear-gradient(90deg,transparent 35%,rgba(37,26,23,.08) 60%,rgba(37,26,23,.18));}
html body.hero-graphic #main-img .main-img_title {display:block;left:65%;top:42.5%;bottom:auto;width:35%;max-width:none;transform:translate(-50%,-50%);mix-blend-mode:normal;}
html body.hero-graphic #main-img .hero-wordmark {display:block;width:100%;height:auto;max-height:none;overflow:hidden;}
html body.hero-graphic #main-img .hero-copy {width:100%;text-align:left;color:#fff;}
html body.hero-graphic #main-img .hero-eyebrow,html body.hero-graphic #main-img .hero-section-label {position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
html body.hero-graphic #main-img .hero-title.page-title {color:#fff;font-size:clamp(16px,1.45vw,26px);font-weight:500;text-align:left;line-height:1.5;letter-spacing:.05em;margin:14px 0 0;text-shadow:0 1px 8px rgba(37,26,23,.2);}
html body.hero-graphic #main-img .hero-title .br-sp {display:none;}
html body.hero-graphic #main-img .hero-caption {font-size:clamp(11px,.9vw,16px);text-align:left;line-height:1.7;letter-spacing:.02em;margin:6px 0 0;color:#fff;text-shadow:0 1px 8px rgba(37,26,23,.25);}

/* Reference: 23.5% of the screen, photograph 440/960, banner ratio 960/364. */
html body #main-img .first-offer {position:absolute;width:23.5%;right:0;bottom:0;margin:0;background:#fff;box-shadow:none;border:0;overflow:visible;container-type:inline-size;}
html body #main-img .first-offer>a {display:block;position:relative;width:100%;height:auto;aspect-ratio:960/364;padding:0;overflow:visible;text-align:center;color:#9d9988;text-decoration:none;background:#fff;}
html body #main-img .first-offer .offer-photo {display:block;position:absolute;left:0;top:0;width:45.8333%;height:87.9121%;min-height:0;background:#eeedef;}
html body #main-img .first-offer .offer-en {position:absolute;display:flex;align-items:center;justify-content:center;left:0;bottom:0;width:100%;height:12.0879%;padding:0;margin:0;background:#9d9988;color:#fff;font-family:'Miravie Display',Georgia,serif;font-size:3cqw;font-weight:500;letter-spacing:.13em;line-height:1;}
html body #main-img .first-offer .offer-name {position:absolute;display:flex;align-items:center;justify-content:center;left:47.5%;right:1.5%;top:21%;height:22%;padding:0 2%;margin:0;font-size:3cqw;font-weight:500;line-height:1.35;color:#a9a28b;}
html body #main-img .first-offer .offer-price {position:absolute;display:flex;align-items:center;justify-content:center;left:47.5%;right:1.5%;top:43%;height:44%;margin:0;padding:0;font-family:'Miravie Display',Georgia,serif;font-size:13cqw;font-style:italic;font-weight:400;line-height:1;letter-spacing:-.05em;color:#9d9988;white-space:nowrap;}
html body #main-img .first-offer .offer-price::before {content:'¥';font-size:.75em;margin-right:.03em;}
html body #main-img .first-offer .offer-price small {display:none;}
html body #main-img .first-offer .banner-tab {position:absolute;display:flex;align-items:center;justify-content:center;left:-14px;top:-14px;width:48px;height:48px;padding:0;transform:none;margin:0;font-size:12px;line-height:1.4;background:#fff;color:#d38c9a;box-shadow:none;z-index:2;}
html body #main-img .first-offer>a::before {content:'CAMPAIGN';position:absolute;display:flex;align-items:center;justify-content:center;left:65%;top:5%;width:16%;height:9%;background:#9d9988;color:#fff;font-family:'Miravie Display',Georgia,serif;font-size:2.4cqw;line-height:1;letter-spacing:0;}
html body #main-img .first-offer>a::after {content:none;display:none;}
html body #main-img .first-offer>a:focus-visible {outline:3px solid #b96c79;outline-offset:3px;}
@media (max-width:1440px) {
 html body.hero-graphic #main-img {height:55vw;}
 html body.hero-graphic #main-img .main-img_title {width:37.5%;}
}
@media (max-width:1024px) {html body.hero-graphic #main-img {height:65vw;}}
@media (max-width:786px) {html body #main-img .first-offer {width:32.5%;}}
@media (max-width:680px) {
 html body.hero-graphic #main-img {height:100vw;}
 html body.hero-graphic #main-img .main-img_title {width:50%;top:50%;left:70%;bottom:auto;transform:translate(-50%,-50%);}
 html body.hero-graphic #main-img .hero-title.page-title {font-size:14px;line-height:1.5;margin-top:10px;}
 html body.hero-graphic #main-img .hero-caption {font-size:11px;line-height:1.7;margin-top:5px;}
 html body #main-img .first-offer {position:absolute;width:45%;}
 html body #main-img .first-offer .banner-tab {width:38px;height:38px;left:-11px;top:-11px;font-size:10px;}
}
@media (max-width:480px) {
 html body.hero-graphic #main-img {height:150vw;}
 html body.hero-graphic #main-img .main-img_title {width:57%;left:67.5%;top:54%;}
 html body #main-img .first-offer {width:65%;}
}

/* スマホの体験バナー：施術名・FIRST VISIT が約 7.7px で読めなかった（2026-11-04）。バナーを少し縦長にして、施術名は 2 行まで折り返す。
   ※体験バナー（.first-offer）は文字拡大（css/text-large.css・管理画面「文字の大きさ」）の対象外。ここの px がそのまま表示の大きさ */
@media (max-width:680px){
  html body #main-img .first-offer>a{aspect-ratio:960/480;}
  html body #main-img .first-offer>a::before{left:58%;top:4%;width:26%;height:11%;font-size:10px;}
  html body #main-img .first-offer .banner-tab{font-size:12px;}
  html body #main-img .first-offer .offer-name{top:17%;height:31%;font-size:13px;line-height:1.3;flex-wrap:wrap;align-content:center;}
  html body #main-img .first-offer .offer-price{top:48%;height:38%;font-size:11cqw;}
  html body #main-img .first-offer .offer-en{height:13%;font-size:11px;}
}
/* 「はじめての方へ」はメイン画像が低く、縦長にしたバナーが説明文に重なるので元の縦横比のまま（施術名は 1 行・表示 12px） */
@media (max-width:680px){
  html body.pg-guide #main-img .first-offer>a{aspect-ratio:960/364;}
  html body.pg-guide #main-img .first-offer>a::before{top:5%;height:13%;}
  html body.pg-guide #main-img .first-offer .offer-name{top:20%;height:24%;font-size:12px;flex-wrap:nowrap;}
  html body.pg-guide #main-img .first-offer .offer-price{top:44%;height:42%;}
}
