:root{--main:#0f7fb8;--main-d:#0b5f8a;--accent:#b95008;--main-text:#0e72a5;--ink:#222;--sub:#5c6670;--line:#e8e6e1;
--sans:"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
*{box-sizing:border-box}html{scroll-padding-top:80px}
body{margin:0;overflow-x:clip;overflow-wrap:break-word;color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.75;letter-spacing:.02em;background:#fff}
img{display:block;max-width:100%;height:auto;border-radius:4px}a{color:var(--main-text)}
.demo main :is(h1,h2,h3,.place,.eyebrow,.quote,.fact span),
.directory :is(h1,h2,.eyebrow,.sample-copy p:last-child){word-break:keep-all;overflow-wrap:anywhere}
.wrap{max-width:1120px;margin:0 auto;padding:0 32px}
.ic{width:1em;height:1em;flex:none}
.sample{background:#f1efea;color:#4a4f55;font-size:12px}.sample .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:6px;padding-bottom:6px}
header{background:#fff;position:sticky;top:0;z-index:9;border-bottom:1px solid var(--line)}
header .wrap{display:flex;align-items:center;gap:40px;height:72px}
.logo{text-decoration:none;color:var(--ink);display:flex;flex-direction:column;line-height:1.15}
.logo b{font-size:22px;letter-spacing:.16em;font-weight:700}.logo small{font-size:10px;letter-spacing:.24em;color:var(--sub);margin-top:4px}
nav{display:flex;gap:32px;margin-left:auto;font-size:14px;font-weight:600}nav a{color:var(--ink);text-decoration:none}
.cta{background:var(--accent);color:#fff;text-decoration:none;font-weight:700;font-size:14px;padding:12px 22px;border-radius:6px;display:flex;gap:8px;align-items:center}
/* はじめの画面 */
.hero{background:#fff;color:var(--ink)}
.hero .place{font-size:14px;letter-spacing:.14em;color:var(--main-text);margin:0 0 14px;font-weight:600}
.hero h1{font-size:44px;line-height:1.35;letter-spacing:.08em;margin:0 0 32px;font-weight:700}
.btns{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 28px;border-radius:6px;font-weight:700;font-size:16px;text-decoration:none;letter-spacing:.08em;white-space:nowrap}
.btn.main{background:var(--main-text);color:#fff}.btn.main:hover{background:var(--main-d)}
.btn.ghost{border:1.5px solid var(--ink);color:var(--ink);background:rgba(255,255,255,.7)}
.btn.accent{background:var(--accent);color:#fff}
/* 情報の帯 */
.facts{border-bottom:1px solid var(--line)}
.facts .wrap{display:grid;grid-template-columns:repeat(3,1fr)}
.fact{padding:28px 0 28px 32px;border-left:1px solid var(--line)}.fact:first-child{border-left:0;padding-left:0}
.fact strong{display:block;font-size:34px;line-height:1.1;color:var(--main);font-weight:700;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.fact strong small{font-size:16px;margin-left:4px;color:var(--ink)}
.fact span{font-size:14px;color:var(--sub)}
/* 区画 */
section,.ask{padding:128px 0}
.eyebrow{font-size:13px;font-weight:700;color:var(--main-text);letter-spacing:.14em;margin:0 0 12px}
h2{font-size:30px;line-height:1.45;letter-spacing:.08em;margin:0 0 24px;font-weight:700}
p{margin:0 0 16px}.lead{font-size:17px;color:#333;max-width:30em}
figcaption{font-size:13px;color:var(--sub);margin-top:10px}
/* 看板の品：写真は左へ断ち落とし、脇役を重ねる */
.feature{display:grid;grid-template-columns:58% 1fr;gap:72px;align-items:center}
.feature .big{margin-left:calc(50% - 50vw);}
.feature .big img{width:100%;height:560px;object-fit:cover}
.feature .side{position:relative}
.feature .sub{width:58%;margin:40px 0 0 auto;position:relative}
.feature .sub img{aspect-ratio:4/5;object-fit:cover;width:100%}
.price-tag{display:inline-block;font-size:15px;font-weight:700;border-top:1px solid var(--line);padding-top:8px;margin-top:8px;font-variant-numeric:tabular-nums}
/* メニュー */
.menu{background:var(--paper)}
.menu .grid{display:grid;grid-template-columns:1fr 380px;gap:80px;align-items:start}
.mgroup{margin-bottom:40px}.mgroup h3{font-size:18px;margin:0 0 4px;letter-spacing:.1em}
.mgroup p.note{font-size:13px;color:var(--sub);margin:0 0 8px}
.row{display:flex;align-items:baseline;gap:12px;padding:10px 0;font-size:16px}
.row .dots{flex:1;border-bottom:1px solid var(--line);transform:translateY(-4px)}.row b{white-space:nowrap;font-variant-numeric:tabular-nums}
.menu figure{margin:0;position:sticky;top:104px}.menu figure img{aspect-ratio:4/5;object-fit:cover;width:100%}
/* 店と人 */
.wide{margin:0}.wide img{width:100%;height:520px;object-fit:cover}.wide figcaption{max-width:1120px;margin:10px auto 0;padding:0 32px}
.owner{display:grid;grid-template-columns:360px 1fr;gap:72px;align-items:end}
.owner img{aspect-ratio:4/5;object-fit:cover;width:100%}
.owner .name{font-size:15px;font-weight:700;margin-top:24px}.owner .name small{display:block;color:var(--sub);font-weight:400;font-size:13px}
.quote{font-size:22px;line-height:1.7;font-weight:700;margin:0 0 24px}
/* 行き方 */
.access{background:var(--paper)}
.access .grid{display:grid;grid-template-columns:1fr 1fr;gap:56px}
table{width:100%;border-collapse:collapse;font-size:15px}th,td{text-align:left;padding:14px 0;border-bottom:1px solid var(--line);vertical-align:top}th{width:7em;font-weight:700}
.map{position:relative;align-self:stretch;width:100%;min-height:460px;aspect-ratio:4/3;background:#e5e9ec}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:inherit}
.tel{display:flex;align-items:center;gap:10px;font-size:26px;font-weight:700;margin:24px 0 4px;color:var(--ink);text-decoration:none}
/* お問い合わせ */
.ask{border-top:1px solid var(--line)}.ask .wrap{display:flex;align-items:center;justify-content:space-between;gap:32px}
.ask h2{margin:0 0 4px}.ask p{margin:0;color:var(--sub)}
footer{background:#f5f3ef;color:#4a4f55;border-top:1px solid var(--line);font-size:13px;padding:40px 0 48px}footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}
.bar{display:none}
a:focus-visible,summary:focus-visible{outline:3px solid var(--main-d);outline-offset:3px}
.hero a:focus-visible,.sample a:focus-visible,footer a:focus-visible{outline-color:var(--main)}
@media(max-width:900px){nav{display:none}.feature,.menu .grid,.owner,.access .grid{grid-template-columns:1fr;gap:40px}.feature .big{margin:0 -32px}.menu figure{position:static}}
@media(max-width:600px){.wrap{padding:0 20px}header .wrap{height:60px}.cta{display:none}
 .hero .wrap{padding-block:32px 40px}.hero h1{font-size:28px;line-height:1.4}
 .hero .btns{flex-direction:column;flex-wrap:nowrap}
 .hero .btn{width:100%}
 .facts .wrap{grid-template-columns:repeat(3,minmax(0,1fr))}.fact{padding:18px 0 18px 12px}.fact strong{font-size:22px;white-space:nowrap}.fact strong small{font-size:12px}.fact span{font-size:12px;display:block;line-height:1.4}
 section,.ask{padding:80px 0}h2{font-size:26px}.feature .big{margin:0 -20px}.feature .big img{height:300px}.feature .sub{width:70%}
 .wide img{height:280px}.ask .wrap{flex-direction:column;align-items:flex-start}.ask h2{font-size:24px}
 .demo{padding-bottom:calc(80px + env(safe-area-inset-bottom))}.bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:10;background:#fff;border-top:1px solid var(--line);padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:8px}.bar .btn{flex:1;min-height:48px}}

/* 写真を使ったはじめの画面 */
.p-cafe{--paper:#f8f6f4;--hero-wide:url(cafe/images/hero-wide.webp);--hero-tall:url(cafe/images/hero-tall.webp)}
.p-reform{--paper:#f6f7f7;--hero-wide:url(reform/images/hero-wide.webp);--hero-tall:url(reform/images/hero-tall.webp)}
.p-salon{--paper:#f7f5f3;--hero-wide:url(salon/images/hero-wide.webp);--hero-tall:url(salon/images/hero-tall.webp)}
@media(width > 600px){
  .hero{
    --copy-left:max(32px, (100% - 1056px) / 2);
    --photo-wash:linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.35) 32%, rgba(255,255,255,0) 52%);
    --copy-wash:linear-gradient(90deg, rgba(255,255,255,.65) calc(var(--copy-left) + 182px), transparent calc(var(--copy-left) + 338px));
    min-height:520px;
    height:min(78vh,680px);
    border-radius:4px;
    background-image:var(--copy-wash),var(--photo-wash),var(--hero-wide);
    background-position:right center;
    background-size:cover;
    background-repeat:no-repeat;
  }
  .hero .wrap{height:100%;display:flex;flex-direction:column;justify-content:center;padding-top:24px}
  .hero .place{max-width:22em}
  .hero h1{max-width:7.7em}
}
@media(600px < width <= 1100px){
  /* Preserve a light area for the copy where cover crops the left of the photo. */
  .hero{--copy-wash:linear-gradient(90deg, #fff, rgba(255,255,255,.92) 245px, rgba(255,255,255,.62) 372px, transparent 460px)}
}
@media(max-width:600px){
  .hero::before{content:"";display:block;aspect-ratio:4/3;border-radius:4px;background:var(--hero-tall) center 78%/cover no-repeat}
}

/* 工務店 */
:where(.p-reform) .cases{background:var(--paper)}
:where(.p-reform) .case{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0 calc(50% - 50vw) 0 0;position:relative}
:where(.p-reform) .case figure{margin:0;position:relative}
:where(.p-reform) .case img{width:100%;aspect-ratio:4/3;object-fit:cover}
:where(.p-reform) .case .tag{position:absolute;left:16px;top:16px;background:#fff;color:var(--ink);font-size:13px;font-weight:700;padding:4px 12px;border-radius:4px;letter-spacing:.1em}
:where(.p-reform) .case-text{display:grid;grid-template-columns:1fr 1fr;gap:56px;margin:28px 0 88px}
:where(.p-reform) .case-text h3{font-size:22px;margin:0 0 8px}
:where(.p-reform) .case-text dl{margin:0;display:grid;grid-template-columns:6em 1fr;row-gap:8px;font-size:15px}
:where(.p-reform) .case-text dt{color:var(--sub)}
:where(.p-reform) .case-text dd{margin:0;font-weight:700}
:where(.p-reform) .flow{display:grid;grid-template-columns:repeat(4,1fr);gap:0;counter-reset:s;margin-top:40px;border-top:1px solid var(--line)}
:where(.p-reform) .flow li{list-style:none;padding:24px 24px 0 0;border-right:1px solid var(--line);margin-right:24px}
:where(.p-reform) .flow li:last-child{border-right:0}
:where(.p-reform) .flow b{display:block;font-size:13px;color:var(--main-text);letter-spacing:.14em;margin-bottom:8px}
:where(.p-reform) .flow strong{display:block;font-size:18px;margin-bottom:6px}
:where(.p-reform) .flow span{font-size:14px;color:var(--sub)}
:where(.p-reform) .people2{display:grid;grid-template-columns:1.2fr 1fr;gap:64px;align-items:center}
:where(.p-reform) .people2 .pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}
:where(.p-reform) .people2 img{aspect-ratio:4/5;object-fit:cover;width:100%}
:where(.p-reform) .people2 .pair figure:nth-child(2){margin-top:64px}
:where(.p-reform) .faq details{border-bottom:1px solid var(--line)}
:where(.p-reform) .faq summary{display:flex;justify-content:space-between;align-items:baseline;gap:16px;list-style:none;padding:18px 0;font-weight:700;cursor:pointer;font-size:17px}
:where(.p-reform) .faq summary::-webkit-details-marker{display:none}
:where(.p-reform) .faq summary::after{content:"＋" / "";flex:none;color:var(--main-d)}
:where(.p-reform) .faq details[open] summary::after{content:"−" / ""}
:where(.p-reform) .faq p{margin:0 0 18px;color:#444;max-width:30em}
:where(.p-reform) .cost{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}
:where(.p-reform) .cost div{padding:24px 24px 24px 0;border-right:1px solid var(--line);margin-right:24px}
:where(.p-reform) .cost div:last-child{border-right:0}
:where(.p-reform) .cost strong{display:block;font-size:28px;font-variant-numeric:tabular-nums}
:where(.p-reform) .cost span{font-size:14px;color:var(--sub)}
:where(.p-reform) .contact2{display:grid;grid-template-columns:1fr 1fr;gap:24px}
:where(.p-reform) .contact2 > div{border:1px solid var(--line);padding:32px}

@media(max-width:900px){
:where(.p-reform) .case,:where(.p-reform) .case-text,:where(.p-reform) .people2,:where(.p-reform) .contact2{grid-template-columns:1fr}
:where(.p-reform) .case{margin:0 -32px}
:where(.p-reform) .flow,:where(.p-reform) .cost{grid-template-columns:1fr 1fr;row-gap:24px}
}
@media(max-width:600px){
:where(.p-reform) .case{margin:0 -20px}
:where(.p-reform) .flow,:where(.p-reform) .cost{grid-template-columns:1fr}
:where(.p-reform) .flow li,:where(.p-reform) .cost div{border-right:0;margin-right:0;border-bottom:1px solid var(--line);padding-bottom:16px}
}

/* 美容室 */
:where(.p-salon) .styles{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:16px;margin-top:40px}
:where(.p-salon) .styles figure{margin:0}
:where(.p-salon) .styles img{width:100%;aspect-ratio:4/5;object-fit:cover}
:where(.p-salon) .styles figure:first-child img{aspect-ratio:auto}
:where(.p-salon) .staff{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:40px}
:where(.p-salon) .staff figure{margin:0}
:where(.p-salon) .staff img{width:100%;aspect-ratio:4/5;object-fit:cover}
:where(.p-salon) .staff .nm{font-size:18px;font-weight:700;margin:16px 0 2px}
:where(.p-salon) .staff .role{font-size:13px;color:var(--sub)}
:where(.p-salon) .staff p{font-size:15px;margin-top:8px}
:where(.p-salon) .staff figure:nth-child(2){margin-top:48px}
:where(.p-salon) .first{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
:where(.p-salon) .first ul{padding:0;margin:0}
:where(.p-salon) .first li{list-style:none;padding:14px 0;border-bottom:1px solid var(--line);font-size:16px}
:where(.p-salon) .first li b{color:var(--main-text);margin-right:8px}
:where(.p-salon) .first img{width:100%;aspect-ratio:3/2;object-fit:cover}
:where(.p-salon) .book{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:24px}
:where(.p-salon) .book .btn{flex-direction:column;min-height:88px}
:where(.p-salon) .access{background:#fff}

@media(max-width:900px){
:where(.p-salon) .styles,:where(.p-salon) .staff,:where(.p-salon) .first{grid-template-columns:1fr}
:where(.p-salon) .staff figure:nth-child(2){margin-top:0}
}

/* モック内に個別に指定されていた余白・注記 */
.feature-photo{margin-block:0}
.flush,.pair figure.flush{margin:0}
.fine-print,.cost-note,.staff-note,.access-note{font-size:13px;color:var(--sub);max-width:38em}
.paper{background:var(--paper)}
.case-text.last-case{margin-bottom:0}
.cost-unit{font-size:16px}
.cost-note{margin-top:16px}
.flow-steps{padding:0}
.faq-wrap{max-width:820px}
.contact-heading{margin:0 0 8px}
.muted,.contact-note{color:var(--sub)}
.contact-phone{margin-top:0}
.contact-note{margin:0}
.staff-note{margin-top:24px}
.booking-note{font-weight:400;font-size:12px}
.access-note{margin-top:8px}
.case-text p,.staff p{max-width:30em}

/* 見本の一覧・個人情報の取り扱い */
.directory,.document{padding:64px 0 96px}
.directory h1,.document h1{font-size:clamp(26px,4vw,40px);line-height:1.4;margin:0 0 16px}
.directory .lead{margin-bottom:32px}
.samples{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:24px}
.sample-card{display:flex;flex-direction:column;min-width:0;color:var(--ink);text-decoration:none;border:1px solid var(--line)}
.sample-card:first-child{grid-row:span 2}
.sample-card img{width:100%;aspect-ratio:2.5;object-fit:cover}
.sample-card:first-child img{aspect-ratio:auto;flex:1;min-height:0;object-fit:cover}
.sample-card:hover h2{text-decoration:underline;text-underline-offset:.15em}
.sample-copy{padding:16px 24px 24px}
.sample-copy .eyebrow{margin:0 0 4px}
.sample-copy h2{font-size:22px;margin:0 0 4px}
.sample-copy p:last-child{margin:0;max-width:30em}
.document .wrap{max-width:784px}
.document h2{font-size:22px;margin:32px 0 8px}
.document p{max-width:36em}

/* ヘッダーや固定帯の後ろに操作対象が隠れないようにする */
nav a,.logo{min-height:48px;justify-content:center}
nav a{display:flex;align-items:center;white-space:nowrap}
.cta{min-height:48px}
@media(max-width:600px){
  html{scroll-padding-top:68px;scroll-padding-bottom:calc(80px + env(safe-area-inset-bottom))}
  .sample a{flex:none}
  .directory,.document{padding:48px 0 64px}
  .directory h1{font-size:28px}
  .samples{grid-template-columns:minmax(0,1fr)}
  .sample-card:first-child{grid-row:auto}
  .sample-card img,.sample-card:first-child img{aspect-ratio:16/9;flex:none}
  .sample-copy{padding:16px}
  .first-heading{font-size:28px}
  :where(.p-salon) .book{grid-template-columns:1fr}
  :where(.p-salon) .book .btn{padding:8px;text-align:center}
  .bar .btn{min-width:0;padding-inline:8px;text-align:center}
}
