/* Landing pages use the public font, line, colour and button tokens. */
.home-hero-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px}
.home-hero-links .hero-apply{width:min(252px,100%)}
.home-examples-link,.ad-line{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 4px;font-size:1rem;font-weight:600;color:var(--main);text-underline-offset:.3em}
.home-examples-link:hover,.ad-line:hover{color:#704e2a}
.home-v2 .jump{box-shadow:inset 0 1px 0 #fff}
.home-v2 .hero-terms{max-width:42em}
.home-v2 .mid-stage-copy{border-top:2px solid #e2d1ba}
.adpage{color:var(--ink);background:var(--paper);font-size:1rem;line-height:1.85;letter-spacing:.025em}
.adpage *, .og-preview *{box-sizing:border-box}
.ad-bound{width:min(1088px,calc(100% - clamp(40px,10vw,160px)));margin-inline:auto}
.adpage h1,.adpage h2,.og-card h1{font-family:var(--serif);font-feature-settings:"palt";color:var(--main-dark);font-weight:500;letter-spacing:.055em}
.adpage h2{font-size:clamp(1.65rem,3.5vw,2.45rem);line-height:1.5;margin:4px 0 12px}
.adpage h3{font-size:1.12rem;color:var(--main-dark);line-height:1.5}
.ad-eyebrow{font-size:.875rem;line-height:1.45;letter-spacing:.1em;font-weight:700;color:var(--gold-text);display:flex;align-items:center;gap:12px}
.ad-eyebrow:before{content:"";width:28px;height:1px;background:var(--gold)}
.ad-hero{background:linear-gradient(112deg,#fbf8f4 28%,#f4e8df 100%);border-bottom:1px solid var(--line)}
.ad-hero-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"intro visual" "action visual";gap:0 clamp(32px,7vw,90px);align-items:center;padding-block:clamp(40px,5.5vw,76px)}
.ad-top-copy{grid-area:intro;align-self:end}
.ad-hero h1{font-size:clamp(2.25rem,4vw,3.55rem);line-height:1.35;margin:16px 0}
.ad-hero h1 span{display:inline-block}
.ad-intro{max-width:31em}
.ad-hero-action{grid-area:action;align-self:start;margin-top:24px}
.ad-visual{position:relative;grid-area:visual;align-self:center;min-width:0}
.ad-notification,.ad-portrait{height:clamp(250px,29vw,370px);overflow:hidden;background:#ddc9b7}
.ad-notification{border-radius:80px 18px 18px 18px}
.ad-notification>img,.ad-portrait>img,.ad-beforeafter img{width:100%;height:100%;object-fit:cover}
.ad-notification:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#20161d66,transparent 65%)}
.ad-alert{position:absolute;display:flex;align-items:center;gap:10px;left:6%;right:6%;bottom:17%;padding:16px;background:#fffaf5f5;border-radius:14px;box-shadow:var(--shadow);line-height:1.5;color:var(--main-dark)}
.ad-alert>.icon{height:32px;width:32px;padding:5px;background:var(--main);color:white;border-radius:8px}
.ad-alert small,.ad-alert strong,.ad-beforeafter span{display:block}
.ad-alert small{font-size:.75rem}.ad-alert strong{font-size:1rem}
.ad-sample-caption{position:absolute;right:7%;bottom:7%;color:white;font-size:.75rem;text-shadow:0 1px 2px #000;background:#382e27;padding:0 8px;border-radius:4px}
.ad-beforeafter{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ad-beforeafter figure{position:relative;min-width:0;overflow:hidden;border-radius:16px;height:clamp(235px,26vw,350px)}
.ad-beforeafter figure:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#172329e8,transparent 72%)}
.ad-beforeafter figure:first-child img{filter:grayscale(1)}
.ad-beforeafter figcaption{position:absolute;z-index:1;bottom:16px;left:14px;right:6px;font-size:.875rem;color:white}
.ad-beforeafter figcaption span{font-size:1rem;font-weight:700}
.ad-c .ad-hero{background:linear-gradient(120deg,#f9f3e9 8%,#ede0d2)}
.ad-portrait{border-radius:52% 52% 18% 52% / 55% 49% 30% 49%;border:1px solid #a88c62}
.ad-d .ad-hero{background:linear-gradient(125deg,#2d4a54,#213841);color:#fbf8f4}
.ad-d .ad-hero :is(h1,.ad-eyebrow,.ad-charge,.ad-note,.ad-benefits li){color:#fff6e4}
.ad-d .ad-hero .ad-cta .btn{background:var(--main);border-color:#f0dcc1}
.ad-d .ad-hero .ad-cta .btn:hover{background:var(--main-dark)}
.ad-dashboard{background:#142b32;padding:9px;border:1px solid #778789;border-radius:16px;box-shadow:var(--shadow)}
.ad-dashboard div{overflow:hidden;border-radius:10px;aspect-ratio:1.45;background:#fbf8f4}
.ad-dashboard img{width:100%;height:100%;object-fit:cover;object-position:center 18%}
.ad-dashboard figcaption{padding:4px 4px 0;text-align:right;color:#fff;font-size:.75rem}
.ad-benefits{list-style:none;padding:0;margin:0 0 10px;display:flex;align-items:center;gap:0}
.ad-benefits li{font-size:.875rem;color:var(--main-dark);line-height:1.3;font-weight:700;white-space:nowrap;padding:0 12px;border-left:1px solid #b6a38a}
.ad-benefits li:first-child{padding-left:0;border:0}.ad-benefits li:last-child{padding-right:0}
.ad-cta .btn{min-width:min(100%,280px)}
.ad-page .btn,.adpage .btn{max-width:100%}
.ad-note,.ad-charge,.ad-disclaimer{font-size:.75rem;line-height:1.65;color:var(--muted);letter-spacing:.015em}
.ad-cta .ad-note{margin-top:5px}
.ad-charge{margin:3px 0 0;font-weight:700}
.ad-pain,.ad-answers,.ad-price,.ad-how,.ad-close{padding-block:clamp(36px,5vw,68px)}
.ad-pain{background:#f4ece6}.ad-pain-inner,.ad-answers-grid,.ad-price-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:clamp(32px,8vw,96px);align-items:center}
.ad-pain-inner h2{font-size:clamp(1.4rem,2.8vw,2rem);max-width:14em}
.ad-pain ul{list-style:none;padding:0}
.ad-pain li{position:relative;padding:2px 0 2px 17px}.ad-pain li:before{content:"";width:5px;height:5px;position:absolute;top:1.02em;left:0;background:#b4a08f;border-radius:50%}.ad-pain li:nth-child(2):before{background:#a7817d}.ad-pain li:nth-child(3):before{background:#9c6b68}
.ad-steps{list-style:none;padding:0;margin:20px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ad-steps li{min-width:0;display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);border-radius:16px;padding:16px}
.ad-step-screen{flex:none;width:58px;height:112px;padding:2px;border:2px solid #37464a;background:#344348;border-radius:9px;overflow:hidden}
.ad-step-screen img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:5px}
.ad-steps li p{font-size:1rem;line-height:1.85;margin-top:4px}
.ad-screen-note{margin:6px 0 16px}
.ad-answers{background:#f4eee8}.ad-answers-grid{align-items:start}
.ad-faq details,.ad-plans{border-top:1px solid #cfc2b3}
.ad-faq details:last-child{border-bottom:1px solid #cfc2b3}
.ad-faq summary,.ad-plans summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;min-height:50px;font-size:1rem;font-weight:600;line-height:1.65;padding:12px 0;cursor:pointer;color:var(--main-dark)}
.ad-faq summary::-webkit-details-marker,.ad-plans summary::-webkit-details-marker{display:none}
.ad-faq summary:after,.ad-plans summary:after{content:"";flex:none;width:9px;height:9px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-right:4px}
.ad-faq details[open] summary:after,.ad-plans[open] summary:after{transform:rotate(225deg)}
.ad-faq details p{padding:0 22px 16px 0;max-width:37em}
.ad-supervisor{padding-block:24px;border-block:1px solid var(--line);background:#fffdfa}
.ad-profile{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:20px 24px;align-items:center}
.ad-profile h2{font-size:1.5rem;margin:2px 0}.ad-profile .ad-eyebrow:before{display:none}
.ad-profile-mark{width:68px;height:68px;display:grid;place-items:center;border:1px solid #dfcfbd;border-radius:50%;background:#f7eee7}
.ad-profile-mark img{width:42px}.ad-role{font-size:.875rem}.ad-profile>p{max-width:33em}
.ad-price-grid{align-items:start}
.ad-pricecard{background:#fffefc;padding:clamp(20px,4vw,36px);border:1px solid #b09262;border-radius:16px}
.ad-plan{font-size:1.13rem;font-weight:700;color:var(--main-dark)}
.ad-amount{display:flex;align-items:baseline;gap:8px;color:var(--main-dark);margin:5px 0 10px}
.ad-amount small,.ad-amount span{font-size:.875rem}.ad-amount strong{font:500 clamp(2.5rem,5vw,3.6rem)/1.2 Georgia,var(--serif);font-variant-numeric:tabular-nums}
.ad-pricecard>.ad-cta{margin-top:16px}.ad-plans{margin-top:15px}.ad-plans dl>div{padding:12px 0;border-top:1px solid var(--line)}.ad-plans dt{font-weight:700}
.ad-close{text-align:center;background:#eaded4}.ad-close h2{margin-top:0}.ad-close>.ad-bound>.ad-note{margin-top:7px}.ad-line{margin-top:10px}.ad-disclaimer{margin-top:12px}
.og-preview{max-width:1200px;width:100%;container-type:inline-size;margin:auto}
.og-card{box-sizing:border-box;position:relative;isolation:isolate;aspect-ratio:1200 / 630;width:100%;overflow:hidden;display:flex;align-items:center;padding:5.33%;background:linear-gradient(105deg,#fbf8f4 32%,#f0e5dc)}
.og-copy{width:61%;position:relative;z-index:1}.og-copy>img{width:54%;height:auto;margin-bottom:8%}
.og-card h1{font-size:clamp(13px,3.6vw,44px);font-size:3.6cqw;line-height:1.5;letter-spacing:.035em;margin:0 0 6%}
.og-copy>span{display:inline-block;border-radius:999px;padding:2% 6%;line-height:1.35;background:#2f4f5a;color:white;font-weight:700;font-size:clamp(11px,2vw,24px);font-size:2cqw}
.og-image{width:34.5%;position:absolute;right:4.2%;top:7%;bottom:7%;border-radius:50% 50% 4% 4% / 38% 38% 4% 4%;border:1px solid var(--gold);padding:4px;overflow:hidden}
.og-image img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
@media(max-width:850px){.ad-steps{gap:8px}.ad-steps li{display:block}.ad-step-screen{margin-bottom:12px}}
@media(max-width:720px){
 .home-hero-links{display:grid;grid-template-columns:1fr;gap:4px}.home-hero-links .hero-apply{width:100%}.home-examples-link{justify-self:center}.home-v2 .hero-terms{margin-inline:auto}
 .ad-bound{width:calc(100% - 36px);max-width:520px}.ad-hero-grid{grid-template-columns:1fr;grid-template-areas:"intro" "visual" "action";padding-block:22px}
 .ad-hero h1{font-size:clamp(1.85rem,7vw,2.45rem);margin:8px 0;line-height:1.35}.ad-intro{line-height:1.85}
 .ad-visual{margin:12px 0 0}.ad-notification,.ad-portrait,.ad-beforeafter figure{height:clamp(105px,26vw,146px)}.ad-notification{border-radius:42px 12px 12px 12px}
 .ad-alert{left:7%;right:7%;bottom:20%;padding:7px 10px;gap:6px}.ad-alert strong{font-size:.875rem}.ad-alert>.icon{width:26px;height:26px}.ad-sample-caption{bottom:1%}
 .ad-beforeafter figcaption{bottom:6px;left:8px;line-height:1.45}.ad-beforeafter figure{border-radius:12px}.ad-portrait{border-radius:54px 54px 14px 54px}.ad-portrait>img{object-position:center 49%}
 .ad-dashboard{padding:4px}.ad-dashboard div{aspect-ratio:auto;height:90px}.ad-dashboard img{object-position:center 27%}.ad-dashboard figcaption{padding:2px 4px}
 .ad-hero-action{margin-top:13px}.ad-benefits{justify-content:center;margin-bottom:9px}.ad-benefits li{padding:0 8px}.ad-cta .btn{width:100%}
 .ad-hero-action .ad-cta,.ad-charge,.ad-how .ad-cta,.ad-pricecard .ad-cta{text-align:center}
 .ad-pain,.ad-answers,.ad-price,.ad-how,.ad-close{padding-block:28px}.ad-pain-inner,.ad-answers-grid,.ad-price-grid{display:grid;grid-template-columns:1fr;gap:12px;align-items:start}
 .adpage h2{font-size:1.5rem;line-height:1.45}.ad-pain-inner h2{max-width:none;margin:0}.ad-steps{grid-template-columns:1fr;margin-top:12px}.ad-steps li{display:flex;padding:12px;align-items:center}.ad-step-screen{width:45px;height:82px;margin-bottom:0}.ad-screen-note{margin:4px 0 12px}
 .ad-profile{grid-template-columns:auto 1fr;gap:8px 12px}.ad-profile>p{grid-column:1/-1}.ad-profile-mark{width:56px;height:56px}.ad-profile-mark img{width:35px}
 .ad-faq summary{min-height:48px}.ad-pricecard{padding:16px}.ad-beforeafter figcaption span{font-size:.875rem}
}
@media(max-width:360px){
 .home-v2 .wrap{width:calc(100% - 32px)}.home-v2 .head-brand{min-width:0;flex:1}.home-v2 .head-brand>span{font-size:.75rem;letter-spacing:-.03em;max-width:100%;white-space:normal}.home-v2 .head-brand img{width:172px}.home-v2 .head-menu summary{min-width:44px;padding:5px}
 .home-v2 .mid-table :is(th,td){overflow-wrap:anywhere;padding:8px 4px}.home-v2 .hero-title{font-size:2rem}
 .home-v2 .hero-benefits li{padding-inline:7px}.ad-benefits li{font-size:.875rem;padding-inline:5px}.ad-bound{width:calc(100% - 32px)}.ad-faq summary{gap:6px}
}
.ad-diptych{display:block;overflow:hidden;border-radius:16px}.ad-diptych>img{width:100%;height:clamp(235px,26vw,350px);object-fit:cover}.ad-diptych>div{position:absolute;inset:0;display:flex;align-items:flex-end;gap:6px}.ad-diptych>div>span{width:50%;color:white;padding:32px 12px 12px;font-size:.875rem;line-height:1.45;background:linear-gradient(transparent,#172329f2)}.ad-diptych strong{display:block;font-size:1rem}
@media(max-width:720px){.ad-diptych>img{height:clamp(105px,26vw,146px);object-position:center 47%}.ad-diptych>div>span{padding:20px 8px 6px}.ad-diptych strong{font-size:.875rem}}
@media(max-width:720px){.home-v2 .hero-action{display:flex;flex-direction:column}.home-v2 .home-hero-links{display:contents}.home-v2 .hero-benefits{order:0}.home-v2 .hero-apply{order:1}.home-v2 .hero-terms{order:2}.home-v2 .home-examples-link{order:3;align-self:center;margin-top:3px}}
.ad-faq, .ad-faq details, .ad-question-copy {min-width:0;}
.ad-question-copy {display:block;flex:1 1 auto;}
/* Keep the audience label together when Japanese no-wrap spans are injected. */
.home-v2 .hero-label,.adpage .ad-eyebrow{display:block}
.home-v2 .hero-label>span:empty,.adpage .ad-eyebrow:before{display:inline-block;vertical-align:middle;margin:0 12px 4px 0}
.adpage .ad-profile .ad-eyebrow:before{display:none}

/* Show the salon's work, followed by one legible, unmodified excerpt from the app. */
.home-v2 .hero-workflow{width:100%;padding:0 0 20px;margin:0;isolation:isolate}
.hero-work-photo{position:relative;margin-left:clamp(0px,2vw,32px);overflow:hidden;border-radius:64px 18px 18px 18px;outline:1px solid #e0d3c5;outline-offset:-1px;background:#e8d9c9}
.hero-work-photo>img,.ad-context-photo>img{display:block;width:100%;height:100%;object-fit:cover}
.hero-work-photo>img{aspect-ratio:1.42;object-position:50% 49%}
.hero-photo-label{position:absolute;left:14px;top:15px;display:inline-flex;align-items:center;gap:7px;font-size:.875rem;line-height:1.3;padding:8px 12px;color:#273f44;background:#fffcf7;border:1px solid #e0d4c6;border-radius:999px}
.hero-photo-label .icon{width:18px;height:18px}
.hero-work-screen{position:relative;margin:-35px 12% 0 0;width:min(410px,87%);padding:11px 14px 9px;border:1px solid #d4c4af;background:#fffdf8;border-radius:15px;box-shadow:0 9px 28px #3e30251c}
.hero-screen-label{display:flex;align-items:center;gap:8px;color:var(--main-dark);font-size:.875rem;line-height:1.4;font-weight:700;letter-spacing:.04em}
.hero-screen-label:before{content:"";width:24px;height:1px;background:var(--gold)}
.hero-screen-window{position:relative;margin-top:5px;overflow:hidden;border:1px solid #e0d8cc;border-radius:10px;background:#fffdfa}
.hero-screen-window img{display:block;width:100%;height:auto}
.home-v2 .hero-workflow figcaption{left:4px;right:auto;bottom:0}
.ad-context{position:relative;min-width:0;padding:0}
.ad-context-photo{overflow:hidden;background:#e9d9c7;border-radius:28px 60px 20px 20px;aspect-ratio:1.44;outline:1px solid #e1d5c7;outline-offset:-1px}
.ad-context-alert .ad-context-photo{margin-right:5%}
.ad-context-alert .ad-context-photo img{object-position:50% 48%}
.ad-context-message{position:relative;display:flex;align-items:center;gap:13px;width:min(86%,365px);margin:-43px 0 0 auto;line-height:1.45;background:#fffdf8;color:var(--main-dark);padding:14px 18px;border:1px solid #d5c6b1;border-radius:16px;box-shadow:0 9px 28px #3e30251c}
.ad-context-message>.icon{width:34px;height:34px;padding:7px;color:white;background:var(--main);border-radius:9px}
.ad-context-message small,.ad-context-message strong{display:block}.ad-context-message small{font-size:.75rem;color:#5c6260}.ad-context-message strong{font-size:1rem}
.ad-context-shift .ad-context-photo{border-radius:18px 60px 0 0;aspect-ratio:1.68}
.ad-context-shift figcaption{display:grid;grid-template-columns:1fr 1fr;border:1px solid #d8cbb9;border-top:0;background:#fffaf4;border-radius:0 0 16px 16px;padding:12px 16px;gap:12px}
.ad-context-shift figcaption span{font-size:.75rem;color:#5c6260;line-height:1.5}.ad-context-shift figcaption span+span{padding-left:17px;border-left:1px solid #ccbaa1}.ad-context-shift figcaption strong{display:block;color:var(--main-dark);font-size:1rem}
.ad-context-salon .ad-context-photo{border-radius:70px 24px 70px 24px;aspect-ratio:1.36}
.ad-context-salon img{object-position:50% 53%}
.ad-proof{width:min(100%,430px);justify-self:center;line-height:1.5}
.ad-proof-window{border:1px solid #8b9c9d;border-radius:18px;padding:8px;background:#142930;box-shadow:0 9px 28px #10282c33}
.ad-proof-label{display:flex;justify-content:space-between;gap:8px;padding:2px 6px 8px;color:#fffaf1;font-size:.875rem;font-weight:600}
.ad-proof-label span{display:none}
.ad-proof picture{display:block;width:100%;border-radius:10px;overflow:hidden;background:#f8f6ee}
.ad-proof img{width:100%;height:auto}
.ad-proof figcaption{margin-top:6px;text-align:right;font-size:.75rem;color:#f9f4e9}
@media(max-width:760px){
 .home-v2 .hero-workflow{width:min(100%,475px);margin:12px auto 0;padding-bottom:16px}
 .hero-work-photo{margin:0;border-radius:24px 42px 14px 14px}
 .hero-work-photo>img{height:clamp(125px,33vw,180px);aspect-ratio:auto;object-position:50% 49%}
 .hero-photo-label{left:8px;top:8px;padding:5px 9px;font-size:.75rem}
 .hero-work-screen{margin:-8px 0 0 auto;width:min(100%,410px);padding:6px 8px 5px;border-radius:10px;box-shadow:0 4px 12px #3e302516}
 .hero-screen-label,.hero-screen-label span{font-size:.875rem;letter-spacing:.01em}
 .hero-screen-label:before{width:15px}.hero-screen-window{margin-top:3px;border-radius:7px}.hero-screen-window img{width:100%;height:auto;object-fit:contain}
 .home-v2 .hero-workflow figcaption{text-align:right;left:auto;right:3px;font-size:.75rem}
}
@media(max-width:720px){
 .ad-context-photo{border-radius:15px 36px 12px 12px;aspect-ratio:auto;height:clamp(110px,31vw,155px)}
 .ad-context-alert .ad-context-photo{margin:0 4% 0 0}.ad-context-message{margin:-18px 0 0 auto;padding:7px 12px;gap:8px;width:auto;max-width:90%;border-radius:10px}
 .ad-context-message small{font-size:.75rem}.ad-context-message strong{font-size:.875rem}.ad-context-message>.icon{width:26px;height:26px;padding:5px}
 .ad-context-shift .ad-context-photo,.ad-context-salon .ad-context-photo{aspect-ratio:auto;height:clamp(105px,31vw,158px)}
 .ad-context-shift .ad-context-photo{border-radius:12px 32px 0 0}.ad-context-shift figcaption{padding:6px 12px;gap:8px}.ad-context-shift figcaption span+span{padding-left:12px}.ad-context-shift figcaption strong{font-size:.875rem}
 .ad-context-salon .ad-context-photo{border-radius:32px 12px 32px 12px;height:clamp(136px,36vw,186px)}
 .ad-proof{width:min(100%,370px);margin-inline:auto}.ad-proof-window{padding:6px;border-radius:12px}.ad-proof-label{padding:1px 5px 6px}.ad-proof-label span{display:block;font-size:.75rem}.ad-proof figcaption{margin-top:3px}
}
.home-v2 .foot-legal>p:last-child{max-width:25em;white-space:normal}
@media(max-width:720px){.ad-context-salon .ad-context-photo{height:clamp(156px,44vw,207px)}.ad-context-salon img{object-position:center 36%}}

/* 1200×630の共有カード。横長の撮影写真はスマホとお客さまの指先が同時に入る位置で表示する。 */
.og-capture{padding:5.15%;background:linear-gradient(111deg,#fbf8f4 30%,#eee4d7)}
.og-capture .og-copy{width:55.5%}
.og-capture .og-copy>img{width:55%;margin:0 0 7.3%}
.og-capture .og-copy h1{font-size:clamp(13px,3.55vw,43px);font-size:3.55cqw;line-height:1.5;letter-spacing:.015em;margin:0}
.og-capture .og-copy p{font-size:clamp(8px,1.94vw,24px);font-size:1.94cqw;color:#455a5b;letter-spacing:.035em;line-height:1.65;margin:3.6% 0 6%}
.og-capture .og-image{width:40.8%;right:3.8%;top:7.3%;bottom:7.3%;border-radius:49% 49% 5% 5% / 30% 30% 5% 5%;border-color:#ab8554}
.og-capture .og-image>img{object-position:48% 50%}

@media(max-width:760px) and (max-height:700px){.home-v2 .hero-grid{grid-template-areas:"intro" "action" "art"}.home-v2 .hero-workflow{margin-top:16px}}

/* Use the live demo's photo picker for the upload step. Its mobile crop isolates the actual control. */
.home-v2 .mid-upload-visual {
  display:grid;
  place-items:center;
  padding:12px 18px;
  background:#e9e1d8;
}
.home-v2 .mid-upload-device {
  display:block;
  width:min(100%,240px);
  height:100%;
  min-height:0;
}
.home-v2 .mid-upload-device img { display:block;width:100%;height:100%;object-fit:contain; }
.home-v2 .mid-story-photo img { object-position:51% 51%; }
.home-v2 .end-contact-intro>img { object-position:62% 48%; }
@media(max-width:700px) {
  .home-v2 .mid-upload-visual { padding:8px 4px; }
  .home-v2 .mid-upload-device { width:100%;height:auto;border-radius:6px;overflow:hidden; }
  .home-v2 .mid-upload-device img { width:100%;height:auto; }
}

/* 広告は美容誌の見開きに合わせ、写真・見出し・登録条件を読み順でつなぐ。 */
.ad-editorial {
  --ad-ink:#193f42;
  --ad-paper:#faf8f0;
  --ad-rule:#c3b28e;
  --ad-brass:#80693f;
  --main:var(--ad-ink);
  --main-dark:#173b3d;
  color:#2c4140;
  background:var(--ad-paper);
}
.ad-editorial .ad-hero{background:var(--ad-paper);border-bottom:1px solid #d6cbb4;overflow:hidden}
.ad-editorial .ad-hero-grid{width:min(1200px,calc(100% - 10%));padding-block:clamp(46px,5.2vw,86px);column-gap:clamp(28px,4.2vw,76px);grid-template-columns:1fr 1.07fr}
.ad-editorial .ad-top-copy{min-width:0}
.ad-editorial .ad-eyebrow{color:var(--ad-brass);font-weight:600;letter-spacing:.11em}
.ad-editorial .ad-eyebrow:before{width:32px;background:var(--ad-rule)}
.ad-editorial .ad-hero h1{font-size:clamp(2.2rem,4.3vw,4.45rem);font-weight:500;line-height:1.29;letter-spacing:.025em;margin:.31em 0 .35em}
.ad-editorial .ad-intro{line-height:1.9;color:#3e5450}
.ad-editorial .ad-hero-action{margin-top:24px}
.ad-editorial .ad-benefits{margin-bottom:12px}
.ad-editorial .ad-benefits li{font-weight:600;border-color:var(--ad-rule)}
.ad-editorial .ad-cta .btn,.ad-editorial .ad-bar .btn{background:var(--ad-ink);border:1px solid var(--ad-ink);color:#fffdf6;box-shadow:none;border-radius:3px}
.ad-editorial .ad-cta .btn:hover,.ad-editorial .ad-bar .btn:hover{background:#285354}
.ad-editorial .ad-cta .btn{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;text-align:left;padding-inline:22px}
.ad-editorial .ad-cta .btn:after{content:"";display:block;flex:none;width:9px;height:9px;border:solid currentColor;border-width:1px 1px 0 0;transform:rotate(45deg)}
.ad-editorial .ad-hero-action .ad-note{margin-top:9px}
.ad-editorial .ad-charge{font-weight:500}
.ad-editorial .ad-context-photo{border:0;outline:0;border-radius:1px;background:#d4c7b4}
.ad-editorial .ad-context-alert{padding-bottom:17px}
.ad-editorial .ad-context-alert .ad-context-photo{margin:0;width:100%;aspect-ratio:1.24}
.ad-editorial .ad-context-alert img{object-position:53% 52%}
.ad-editorial .ad-context-message{position:absolute;left:-16px;bottom:0;margin:0;width:max-content;max-width:95%;padding:14px 19px 14px 15px;border:1px solid #d7cdbb;border-left:3px solid #a58c58;border-radius:4px;background:#fffdf7;box-shadow:0 6px 19px #223a3820}
.ad-editorial .ad-context-message>.icon{background:var(--ad-ink);border-radius:50%}
.ad-editorial.ad-b .ad-hero-grid{grid-template-areas:"visual intro" "visual action";grid-template-columns:1.06fr 1fr;column-gap:clamp(28px,5vw,78px)}
.ad-editorial .ad-context-shift .ad-context-photo{aspect-ratio:1.39}
.ad-editorial .ad-context-shift .ad-context-photo img{object-position:48% 47%}
.ad-editorial .ad-context-shift figcaption{border:0;border-bottom:1px solid var(--ad-rule);border-radius:0;background:transparent;padding:12px 0;column-gap:18px}
.ad-editorial .ad-context-shift figcaption span+span{position:relative;padding-left:22px;border-left:0}
.ad-editorial .ad-context-shift figcaption span+span:before{position:absolute;left:-9px;top:37%;content:"→";color:var(--ad-brass);font:1.1rem/1 Georgia,serif}
.ad-editorial .ad-context-shift figcaption span:first-child strong{color:#586963;font-weight:500}
.ad-editorial.ad-c .ad-hero{position:relative;background:#eee9dc;--ad-brass:#6c552e}
.ad-editorial.ad-c .ad-hero-grid{min-height:clamp(480px,45vw,625px);grid-template-columns:44% 1fr;column-gap:6%}
.ad-editorial.ad-c .ad-hero h1{font-size:clamp(2.6rem,5.2vw,5rem)}
.ad-editorial .ad-context-salon{position:absolute;inset:0 0 0 51%;margin:0;align-self:stretch;display:flex;align-items:stretch;grid-area:auto}
.ad-editorial .ad-context-salon .ad-context-photo{height:100%;width:100%;aspect-ratio:auto}
.ad-editorial .ad-context-salon img{object-position:50% 50%}
.ad-editorial .ad-story-caption{position:absolute;left:0;bottom:0;width:100%;padding:12px clamp(14px,2.5vw,40px) 14px;background:#234442;color:#fffdf8}
.ad-editorial .ad-story-caption small,.ad-editorial .ad-story-caption strong{display:block;line-height:1.6}
.ad-editorial .ad-story-caption small{font-size:.75rem;font-weight:600;letter-spacing:.1em}
.ad-editorial .ad-story-caption strong{font-family:var(--serif);font-weight:500;font-size:clamp(1rem,1.7vw,1.45rem)}
.ad-editorial.ad-d .ad-hero{background:#1d3f40}
.ad-editorial.ad-d .ad-hero :is(h1,.ad-intro,.ad-benefits li,.ad-charge,.ad-note){color:#f4f2e7}
.ad-editorial.ad-d .ad-hero .ad-eyebrow,.ad-editorial.ad-d .ad-hero .ad-eyebrow:before{color:#dfcea8}
.ad-editorial.ad-d .ad-hero .ad-cta .btn{border-color:#c9b68c}
.ad-editorial .ad-proof{width:96%;max-width:530px;justify-self:end}
.ad-editorial .ad-proof-window{padding:clamp(16px,2.5vw,36px);border:0;border-top:3px solid #b29b69;border-radius:1px;background:#fffefa;box-shadow:none}
.ad-editorial .ad-proof-label{align-items:center;border-bottom:1px solid #d6d4c8;color:var(--ad-ink);font-weight:600;padding:0 0 10px}
.ad-editorial .ad-proof-label span{display:block;color:#536760;font-size:.75rem;font-weight:500}
.ad-editorial .ad-proof-total{display:flex;align-items:baseline;gap:.28em;margin:12px 0;color:var(--ad-ink)}
.ad-editorial .ad-proof-total span{margin-right:auto;font-size:.875rem}
.ad-editorial .ad-proof-total strong{font:400 clamp(2.6rem,5.4vw,5.8rem)/1 Georgia,serif;letter-spacing:-.055em}
.ad-editorial .ad-proof-total small{font-size:.875rem}
.ad-editorial .ad-proof picture{background:white;border-radius:0}
.ad-editorial .ad-proof figcaption{margin-top:8px;color:#eee8d7}
.ad-editorial .ad-pain{background:#eeeee4}
.ad-editorial .ad-pain li:before{width:9px;height:1px;top:1.05em;border-radius:0;background:#8e7952}
.ad-editorial .ad-how,.ad-editorial .ad-price{background:#fffef9}
.ad-editorial .ad-steps{gap:clamp(16px,2.3vw,34px)}
.ad-editorial .ad-steps li{padding:17px 0;border:0;border-top:1px solid var(--ad-rule);border-radius:0;background:transparent}
.ad-editorial .ad-answers{background:#f1eee4}
.ad-editorial .ad-supervisor{border-color:#d5ccb9;background:var(--ad-paper)}
.ad-editorial .ad-pricecard{border:1px solid #c2b69b;border-top:3px solid #927c50;border-radius:1px;background:#faf8f0}
.ad-editorial .ad-close{background:#e6e8dd}
@media(min-width:721px) and (max-width:949px){
 .ad-editorial .ad-hero h1{font-size:3.9vw}
 .ad-editorial.ad-c .ad-hero-grid{min-height:460px}
}
@media(max-width:720px){
 .ad-editorial .ad-hero-grid,.ad-editorial.ad-b .ad-hero-grid,.ad-editorial.ad-c .ad-hero-grid{width:calc(100% - 36px);min-height:0;grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "visual" "action";padding-block:17px 22px;gap:0}
 .ad-editorial .ad-hero h1,.ad-editorial.ad-c .ad-hero h1{font-size:clamp(1.95rem,8.15vw,2.7rem);line-height:1.24;letter-spacing:.018em;margin:.2em 0 .3em}
 .ad-editorial .ad-intro{line-height:1.65}
 .ad-editorial .ad-visual{width:100%;margin:11px auto 0}
 .ad-editorial .ad-context-alert{padding-bottom:9px}
 .ad-editorial .ad-context-alert .ad-context-photo,.ad-editorial .ad-context-shift .ad-context-photo,.ad-editorial .ad-context-salon .ad-context-photo{height:clamp(110px,33vw,172px);aspect-ratio:auto}
 .ad-editorial .ad-context-alert img{object-position:center 40%}
 .ad-editorial .ad-context-message{left:8px;max-width:95%;gap:8px;padding:5px 10px;border-left-width:2px}
 .ad-editorial .ad-context-message>.icon{width:26px;height:26px}
 .ad-editorial .ad-context-shift figcaption{padding:5px 0;gap:6px}
 .ad-editorial .ad-context-shift figcaption span{font-size:.75rem}
 .ad-editorial .ad-context-shift figcaption strong{font-size:.875rem}
 .ad-editorial .ad-context-shift figcaption span+span{padding-left:15px}
 .ad-editorial .ad-context-salon{position:relative;inset:auto;grid-area:visual}
 .ad-editorial .ad-context-salon .ad-context-photo{height:clamp(132px,38vw,190px)}
 .ad-editorial .ad-context-salon img{object-position:center 39%}
 .ad-editorial .ad-story-caption{padding:5px 12px 7px}
 .ad-editorial .ad-story-caption strong{font-size:1rem}
 .ad-editorial .ad-proof{margin-top:11px;max-width:460px}
 .ad-editorial .ad-proof-window{padding:8px 13px;border-top-width:2px}
 .ad-editorial .ad-proof-label{border-bottom:0;padding:0}
 .ad-editorial .ad-proof-total{margin:3px 0 5px}
 .ad-editorial .ad-proof-total strong{font-size:1.65rem}
 .ad-editorial .ad-proof figcaption{margin-top:2px}
 .ad-editorial .ad-hero-action{margin-top:12px}
 .ad-editorial .ad-benefits{margin-bottom:7px}
 .ad-editorial .ad-hero-action .ad-note{margin-top:5px}
 .ad-editorial .ad-cta .btn{justify-content:center;position:relative}
 .ad-editorial .ad-cta .btn:after{position:absolute;right:16px}
 .ad-editorial .ad-steps{gap:0}
 .ad-editorial .ad-steps li{padding:10px 0}
}
@media(max-width:360px){
 .ad-editorial .ad-hero-grid,.ad-editorial.ad-b .ad-hero-grid,.ad-editorial.ad-c .ad-hero-grid{width:calc(100% - 28px)}
}
@media(max-width:720px) and (max-height:640px){
 .ad-editorial .ad-hero-grid,.ad-editorial.ad-b .ad-hero-grid,.ad-editorial.ad-c .ad-hero-grid{padding-top:12px}
 .ad-editorial .ad-context-alert .ad-context-photo,.ad-editorial .ad-context-shift .ad-context-photo,.ad-editorial .ad-context-salon .ad-context-photo{height:100px}
 .ad-editorial .ad-visual{margin-top:8px}
}
.og-editorial{padding:4.8%;background:#f8f6eb}
.og-editorial .og-copy{width:55.1%}
.og-editorial .og-copy>img{width:57%;margin:0 0 8%}
.og-editorial .og-copy h1{font-size:3.5cqw;color:#173e40;line-height:1.54;letter-spacing:.005em}
.og-editorial .og-copy p{margin:3.5% 0 6%;font-size:1.85cqw;line-height:1.6;color:#415653}
.og-editorial .og-copy>span{display:inline-flex;align-items:center;gap:.65em;border-radius:0;background:transparent;color:#244949;padding:0;font-size:1.9cqw;letter-spacing:.055em}
.og-editorial .og-copy>span:before{content:"";width:2em;height:1px;background:#947e50}
.og-editorial .og-image{right:0;top:0;bottom:0;width:44%;padding:0;border:0;border-left:2px solid #ad996d;border-radius:0}
.og-editorial .og-image>img{object-position:49% 50%}
@media(max-width:360px) and (max-height:640px){
 .ad-editorial.ad-b .ad-context-shift .ad-context-photo{height:73px}
 .ad-editorial.ad-d .ad-proof-total{display:none}
 .ad-editorial.ad-d .ad-proof-window{padding:5px 12px}
 .ad-editorial.ad-d .ad-proof-label{padding-bottom:2px;line-height:1.3}
 .ad-editorial.ad-d .ad-proof figcaption{margin:0;line-height:1.35}
}
