:root{
  --blue:#118fbd;
  --blue-deep:#0b6f95;
  --ink:#1e2528;
  --text:#5e676b;
  --pale:#f4f7f6;
  --line:#dfe5e5;
  --serif:"Noto Serif JP","Yu Mincho",serif;
  --sans:"Noto Sans JP","Yu Gothic",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:var(--sans);background:#fff}
img{display:block;width:100%;height:auto}
a{color:inherit;text-decoration:none}
.hm-lp{overflow:hidden}
.hm-container{width:min(1180px,calc(100% - 64px));margin:auto}
.hm-narrow{width:min(820px,calc(100% - 64px));margin:auto}
.hm-space{padding:120px 0}
.hm-label{margin:0 0 22px;color:var(--blue);font-size:10px;letter-spacing:.25em;font-weight:700}
.hm-sp{display:none}
.sp {
    display: none;
}

/* Header over photo */
.hm-header{position:fixed;z-index:1000;top:0;left:0;width:100%;height:90px;padding:0 46px;display:flex;align-items:center;justify-content:space-between;color:#fff;border-bottom:1px solid rgba(255,255,255,.22);background:rgba(18,46,55,0);transition:background .3s ease,box-shadow .3s ease,border-color .3s ease;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0)}
.hm-header.is-scrolled{background:rgba(18,46,55,.94);border-bottom-color:rgba(255,255,255,.08);box-shadow:0 6px 24px rgba(0,0,0,.12);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.admin-bar .hm-header{top:32px}
.hm-logo{display:flex;flex-direction:column;line-height:1.1;text-shadow:0 1px 12px rgba(0,0,0,.18)}
.hm-logo small{font-size:9px;letter-spacing:.18em;margin-bottom:5px}
.hm-logo strong{font-family:var(--serif);font-size:28px;letter-spacing:.12em}
.hm-header__right{display:flex;align-items:center;gap:24px}
.hm-header__tel{font-size:18px;font-weight:700;letter-spacing:.04em}
.hm-header__contact{border:1px solid rgba(255,255,255,.8);padding:12px 22px;font-size:12px;transition:.25s}
.hm-header__contact:hover{background:#fff;color:var(--ink)}

/* Hero */
.hm-hero{position:relative;height:100svh;min-height:720px;color:#fff;background:#54635f}
.hm-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 52%}
.hm-hero__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,25,25,.48) 0%,rgba(14,25,25,.2) 42%,rgba(14,25,25,.05) 72%),linear-gradient(0deg,rgba(0,0,0,.22),transparent 45%)}
.hm-hero__content{position:absolute;z-index:2;left:8.5vw;top:50%;transform:translateY(-45%);max-width:650px}
.hm-hero__eyebrow{font-size:12px;letter-spacing:.25em;margin:0 0 24px}
.hm-hero h1{font-family:var(--serif);font-weight:600;font-size:clamp(48px,5.2vw,78px);line-height:1.35;letter-spacing:.05em;margin:0 0 24px;text-shadow:0 3px 18px rgba(0,0,0,.22)}
.hm-hero h1 em{font-style:normal}
.hm-hero__lead{font-family:var(--serif);font-size:17px;line-height:2;margin:0 0 34px}
.hm-hero__cta{display:inline-flex;align-items:center;gap:38px;padding:16px 21px 16px 24px;background:rgba(255,255,255,.92);color:var(--ink);font-size:12px;font-weight:600;letter-spacing:.05em;transition:.25s}
.hm-hero__cta span{font-size:19px;color:var(--blue)}
.hm-hero__cta:hover{background:#fff;transform:translateY(-2px)}
.hm-hero__price{position:absolute;z-index:2;right:5vw;bottom:54px;width:290px;padding:23px 27px;background:rgba(255,255,255,.9);color:var(--ink);backdrop-filter:blur(8px)}
.hm-hero__price>small{display:block;font-size:10px;letter-spacing:.12em;margin-bottom:6px;color:#667074}
.hm-hero__price strong{display:block;font-family:var(--serif);color:var(--blue-deep);font-size:38px;line-height:1.2}
.hm-hero__price strong em{font-family:var(--sans);font-size:11px;font-style:normal;color:var(--ink);margin-left:5px}
.hm-hero__price>span{font-size:10px;color:#767f82}
.hm-scroll{position:absolute;z-index:2;left:46px;bottom:36px;font-size:8px;letter-spacing:.26em;display:flex;align-items:center;gap:12px;writing-mode:vertical-rl}
.hm-scroll i{display:block;width:1px;height:54px;background:rgba(255,255,255,.75)}

/* Intro */
.hm-intro{text-align:center;background:#fff}
.hm-intro h2,.hm-section-title h2{font-family:var(--serif);font-size:clamp(32px,3vw,48px);font-weight:500;line-height:1.75;letter-spacing:.04em;margin:0}
.hm-intro__text{max-width:680px;margin:36px auto 0;font-size:14px;line-height:2.25;color:var(--text)}
.hm-intro__facts{margin:64px auto 0;display:grid;grid-template-columns:repeat(3,1fr);max-width:680px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.hm-intro__facts div{padding:26px 14px;border-right:1px solid var(--line)}
.hm-intro__facts div:last-child{border-right:0}
.hm-intro__facts strong{display:block;font-family:var(--serif);font-size:25px;color:var(--blue-deep)}
.hm-intro__facts span{font-size:14px;color:#7b8487}

.hm-intro__banner{max-width:980px;margin:56px auto 0}
.hm-intro__banner img{width:100%;height:auto;display:block}

/* Big visual band */
.hm-photo-band{position:relative;height:460px;background:#c9d2d3;overflow:hidden}
.hm-photo-band img{width:100%;height:100%;object-fit:cover;transform:scale(1.03)}
.hm-photo-band:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,23,23,.46),rgba(13,23,23,.02) 62%)}
.hm-photo-band__copy{position:absolute;z-index:2;left:9vw;top:50%;transform:translateY(-50%);color:#fff}
.hm-photo-band__copy p{font-family:var(--serif);font-size:clamp(30px,3vw,44px);line-height:1.75;letter-spacing:.06em;margin:0}

/* Section title */
.hm-section-title{margin-bottom:54px;max-width:760px}
.hm-section-title--center{text-align:center;margin-left:auto;margin-right:auto}
.hm-section-title>p:last-child:not(.hm-label){font-size:13px;color:var(--text);margin:18px 0 0}

/* Worries */
.hm-worries{background:#f8faf9}
.hm-worries__grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.hm-worries__grid article{min-height:170px;padding:34px 32px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;display:flex;flex-direction:column;justify-content:center}
.hm-worry__heading{display:flex;align-items:center;gap:18px;margin:0 0 0px}
.hm-worry__icon{width:58px;height:58px;flex:0 0 58px;border-radius:50%;background-color:#f1f4f4;border:1px solid #dfe6e5;background-repeat:no-repeat;background-position:center;background-size:cover;overflow:hidden}
.hm-worries__grid h3{font-family:var(--serif);font-size:22px;font-weight:500;margin:0;line-height:1.55}
.hm-worries__grid p{font-size:13px;color:var(--text);line-height:1.9;margin:0;padding-left:76px}
.hm-worries__note{text-align:center;font-family:var(--serif);font-size:18px;margin:54px 0 0}
.hm-worry-card--inherit .hm-worry__icon{background-image:url("../image/hakajimai/icon-inherit.jpg")}
.hm-worry-card--distance .hm-worry__icon{background-image:url("../image/hakajimai/icon-distance.jpg")}
.hm-worry-card--after .hm-worry__icon{background-image:url("../image/hakajimai/icon-after.jpg")}

/* Choice split */
.hm-choice{display:grid;grid-template-columns:1.05fr .95fr;min-height:720px;background:#edf2f1}
.hm-choice__image{min-height:720px;overflow:hidden}
.hm-choice__image img{width:100%;height:100%;object-fit:cover}
.hm-choice__body{padding:100px clamp(50px,7vw,120px);display:flex;flex-direction:column;justify-content:center}
.hm-choice__body h2{font-family:var(--serif);font-size:clamp(32px,3.1vw,46px);font-weight:500;line-height:1.7;margin:0 0 45px}
.hm-choice__list{border-top:1px solid #cfd8d7}
.hm-choice__list>div{display:grid;grid-template-columns:54px 1fr;gap:20px;padding:23px 0;border-bottom:1px solid #cfd8d7}
.hm-choice__list b{font-family:var(--serif);font-size:13px;color:var(--blue)}
.hm-choice__list p{margin:0}
.hm-choice__list strong{display:block;font-family:var(--serif);font-size:17px;font-weight:600;margin-bottom:5px}
.hm-choice__list span{display:block;font-size:14px;color:var(--text)}

/* Price */
.hm-price{background:#fff}
.hm-price__hero{position:relative;display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center;background:#163541;color:#fff;padding:46px 54px}
.hm-price__hero>div:first-child small{font-size:10px;letter-spacing:.15em;color:#b8cbd2}
.hm-price__hero h3{font-family:var(--serif);font-size:24px;font-weight:500;margin:9px 0 0}
.hm-price__amount{text-align:right;padding-right:65px}
.hm-price__amount strong{font-family:var(--serif);font-size:52px;line-height:1;color:#fff}
.hm-price__amount span{font-size:13px;margin-left:8px}
.hm-price__amount small{display:block;font-size:10px;color:#b8cbd2;margin-top:8px}
.hm-price__hero>i{position:absolute;right:22px;top:-22px;width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:var(--blue);font-size:12px;font-style:normal;text-align:center;font-weight:700;box-shadow:0 12px 30px rgba(0,0,0,.16)}
.hm-price__rows{border-left:1px solid var(--line);border-right:1px solid var(--line)}
.hm-price__rows>div{display:grid;grid-template-columns:170px 1fr auto;align-items:center;gap:30px;padding:25px 30px;border-bottom:1px solid var(--line)}
.hm-price__rows span{font-family:var(--serif);font-size:17px}
.hm-price__rows small{font-size:14px;color:var(--text)}
.hm-price__rows strong{font-size:15px;color:var(--blue-deep)}
.hm-price__note{font-size:10px;color:#7d878a;line-height:1.9;margin:22px 0 0}

/* Photo gallery */
.hm-after{background:#f5f7f6}
.hm-gallery{display:grid;grid-template-columns:1.2fr .8fr;grid-template-rows:1fr 1fr;gap:16px;height:780px}
.hm-gallery article{position:relative;overflow:hidden;background:#ddd}
.hm-gallery__large{grid-row:1/3}
.hm-gallery img{width:100%;height:100%;object-fit:cover;transition:.6s}
.hm-gallery article:hover img{transform:scale(1.035)}
.hm-gallery article:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.46),transparent 55%)}
.hm-gallery article>div{position:absolute;z-index:2;left:28px;bottom:26px;color:#fff}
.hm-gallery span{font-size:9px;letter-spacing:.2em}
.hm-gallery h3{font-family:var(--serif);font-size:22px;font-weight:500;margin:7px 0 0}

/* Flow */
.hm-flow{background:#fff}
.hm-flow__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.hm-flow__grid li{min-height:210px;padding:34px 28px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.hm-flow__grid span{font-family:var(--serif);color:var(--blue);font-size:13px}
.hm-flow__grid h3{font-family:var(--serif);font-size:20px;font-weight:500;margin:44px 0 10px}
.hm-flow__grid p{font-size:14px;color:var(--text);margin:0}

/* Hourin split */
.hm-hourin{display:grid;grid-template-columns:1fr 1fr;background:#1c343c;color:#fff;min-height:670px}
.hm-hourin__photo{min-height:670px;overflow:hidden}
.hm-hourin__photo img{width:100%;height:100%;object-fit:cover}
.hm-hourin__copy{padding:95px clamp(50px,7vw,110px);display:flex;flex-direction:column;justify-content:center}
.hm-hourin__copy .hm-label{color:#8dcde2}
.hm-hourin__copy h2{font-family:var(--serif);font-size:clamp(30px,3vw,44px);font-weight:500;line-height:1.7;margin:0 0 28px}
.hm-hourin__copy>p:not(.hm-label){font-size:13px;line-height:2.1;color:#dce5e7;margin:0 0 24px}
.hm-hourin__copy ul{list-style:none;margin:0 0 32px;padding:0;border-top:1px solid rgba(255,255,255,.18)}
.hm-hourin__copy li{padding:13px 0;border-bottom:1px solid rgba(255,255,255,.18);font-size:14px;color:#dce5e7}
.hm-hourin__copy>a{align-self:flex-start;border-bottom:1px solid rgba(255,255,255,.55);padding:0 0 8px;font-size:11px;letter-spacing:.06em}
.hm-hourin__copy>a span{margin-left:28px;color:#8dcde2}

/* FAQ */
.hm-faq{background:#fff}
.hm-faq__list{border-top:1px solid var(--line)}
.hm-faq details{border-bottom:1px solid var(--line)}
.hm-faq summary{list-style:none;cursor:pointer;padding:22px 44px 22px 0;position:relative;font-family:var(--serif);font-size:16px}
.hm-faq summary::-webkit-details-marker{display:none}
.hm-faq summary:after{content:"＋";position:absolute;right:6px;top:19px;font-family:var(--sans);color:var(--blue);font-size:19px;font-weight:300}
.hm-faq details[open] summary:after{content:"−"}
.hm-faq details p{margin:0 0 24px;padding:0 44px 0 0;font-size:14px;line-height:2;color:var(--text)}

/* Final photo CTA */
.hm-final{position:relative;height:680px;color:#fff;background:#4d5c58;overflow:hidden}
.hm-final>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 50%}
.hm-final__shade{position:absolute;inset:0;background:rgba(10,22,21,.46)}
.hm-final__body{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:0 24px}
.hm-final .hm-label{color:#d9f0f7}
.hm-final h2{font-family:var(--serif);font-size:clamp(38px,4vw,58px);line-height:1.55;font-weight:500;letter-spacing:.05em;margin:0 0 20px}
.hm-final__body>p:not(.hm-label){font-size:14px;margin:0 0 34px}
.hm-final__buttons{display:flex;gap:10px}
.hm-final__buttons>a{min-width:240px;min-height:64px;padding:12px 22px;display:flex;align-items:center;justify-content:center;background:#fff;color:var(--ink);font-size:13px;font-weight:600}
.hm-final__buttons>a:nth-child(2){background:transparent;color:#fff;border:1px solid rgba(255,255,255,.75);flex-direction:column;font-size:18px}
.hm-final__buttons small{display:block;font-size:8px;font-weight:400;margin-top:2px}

.hm-footer{min-height:160px;padding:46px 6vw;display:flex;align-items:flex-end;justify-content:space-between;background:#fff}
.hm-footer>div{display:flex;flex-direction:column}
.hm-footer small{font-size:8px;letter-spacing:.16em}
.hm-footer strong{font-family:var(--serif);font-size:23px;letter-spacing:.14em}
.hm-footer p{margin:0;font-size:14px;color:#7d8588}
.hm-mobile-bar{display:none}

@media(max-width:900px){
  .hm-space{padding:90px 0}
  .hm-header{padding:0 28px}
  .hm-choice,.hm-hourin{grid-template-columns:1fr}
  .hm-choice__image,.hm-hourin__photo{min-height:520px}
  .hm-choice__body,.hm-hourin__copy{padding:78px 9vw}
  .hm-cases__grid{grid-auto-rows:250px}
  .hm-case{grid-column:span 6}
  .hm-case--wide{grid-column:span 12}
  .hm-gallery{height:680px}
  .hm-flow__grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:640px){
  body{padding-bottom:64px}
  .hm-container,.hm-narrow{width:calc(100% - 36px)}
  .hm-space{padding:72px 0}
  .hm-sp{display:block}
  .sp{display:block}
  .hm-header{height:66px;padding:0 18px}
  .hm-logo small{font-size:7px}
  .hm-logo strong{font-size:21px}
  .hm-header__tel{display:none}
  .hm-header__contact{font-size:10px;padding:9px 13px}
  .hm-hero{height:86svh;min-height:620px}
  .hm-hero__bg{object-position:62% center}
  .hm-hero__shade{background:linear-gradient(0deg,rgba(11,21,21,.56) 0%,rgba(11,21,21,.1) 70%)}
  .hm-hero__content{left:24px;right:24px;top:auto;bottom:140px;transform:none}
  .hm-hero__eyebrow{font-size:9px;margin-bottom:15px}
  .hm-hero h1{font-size:38px;line-height:1.45;margin-bottom:14px}
  .hm-hero__lead{font-size:13px;line-height:1.8;margin-bottom:21px}
  .hm-hero__cta{font-size:10px;padding:13px 15px;gap:25px}
  .hm-hero__price{right:18px;left:18px;bottom:18px;width:auto;padding:14px 18px;display:grid;grid-template-columns:1fr auto;align-items:end;gap:0 10px}
  .hm-hero__price>small{grid-column:1/2;margin:0}
  .hm-hero__price strong{grid-column:2/3;grid-row:1/3;font-size:28px}
  .hm-hero__price>span{grid-column:1/2}
  .hm-scroll{display:none}
  .hm-intro h2,.hm-section-title h2{font-size:7vw;line-height:1.7}
  .hm-intro__text{font-size:12px;line-height:2.1;margin-top:24px}
  .hm-intro__facts{margin-top:42px}
  .hm-intro__facts div{padding:20px 7px}
  .hm-intro__facts strong{font-size:20px}
  .hm-intro__facts span{font-size:8px}

  .hm-intro__banner{margin-top:34px;width:100%}
  .hm-photo-band{height:330px}
  .hm-photo-band img{object-position:center}
  .hm-photo-band__copy{left:24px}
  .hm-photo-band__copy p{font-size:26px}
  .hm-section-title{margin-bottom:34px}
  .hm-worries__grid{grid-template-columns:1fr}
  .hm-worries__grid article{min-height:0;padding:25px 22px}
  .hm-worry__heading{gap:14px;margin-bottom:0px}
  .hm-worry__icon{width:48px;height:48px;flex-basis:48px;background-size:cover;position:relative;top:30px}
  .hm-worries__grid h3{font-size:19px}
  .hm-worries__grid p{padding-left:62px}
  .hm-worries__note{font-size:15px;margin-top:36px}
  .hm-choice__image,.hm-hourin__photo{min-height:360px}
  .hm-choice__body,.hm-hourin__copy{padding:58px 24px}
  .hm-choice__body h2,.hm-hourin__copy h2{font-size:28px;line-height:1.7;margin-bottom:28px}
  .hm-choice__list>div{grid-template-columns:38px 1fr;gap:10px;padding:18px 0}
  .hm-choice__list strong{font-size:15px}
  .hm-price__hero{grid-template-columns:1fr;padding:28px 22px;gap:14px}
  .hm-price__amount{text-align:left;padding:0}
  .hm-price__amount strong{font-size:38px}
  .hm-price__hero>i{width:60px;height:60px;right:12px;top:-18px;font-size:10px}
  .hm-price__rows>div{grid-template-columns:1fr;gap:4px;padding:19px 18px}
  .hm-price__rows strong{margin-top:8px}
  .hm-cases__grid{grid-template-columns:1fr;grid-auto-rows:250px;gap:12px}
  .hm-case,.hm-case--wide{grid-column:auto}
  .hm-case--tall{grid-row:auto}
  .hm-case figcaption{left:17px;right:17px;bottom:16px}
  .hm-case figcaption strong{font-size:15px}
  .hm-case figcaption span{font-size:9px;padding:4px 7px}
  .hm-gallery{grid-template-columns:1fr;grid-template-rows:repeat(3,270px);height:auto}
  .hm-gallery__large{grid-row:auto}
  .hm-gallery article>div{left:20px;bottom:18px}
  .hm-gallery h3{font-size:18px}
  .hm-flow__grid{grid-template-columns:repeat(2,1fr)}
  .hm-flow__grid li{min-height:170px;padding:23px 18px}
  .hm-flow__grid h3{margin:28px 0 8px;font-size:18px}
  .hm-hourin__copy>p:not(.hm-label){font-size:12px}
  .hm-faq summary{font-size:14px;padding:18px 34px 18px 0}
  .hm-faq summary:after{top:16px}
  .hm-final{height:610px}
  .hm-final>img{object-position:64% center}
  .hm-final h2{font-size:7vw}
  .hm-final__buttons{display:grid;width:100%;max-width:330px}
  .hm-final__buttons>a{min-width:0;min-height:58px}
  .hm-footer{padding:34px 18px 82px;display:block}
  .hm-footer p{margin-top:18px}
  .hm-mobile-bar{position:fixed;z-index:99;left:0;right:0;bottom:0;height:64px;display:grid;grid-template-columns:1fr 1fr;background:#fff;box-shadow:0 -4px 22px rgba(0,0,0,.12)}
  .hm-mobile-bar a{display:grid;place-items:center;font-size:12px;font-weight:700}
  .hm-mobile-bar a:first-child{color:var(--blue-deep)}
  .hm-mobile-bar a:last-child{background:var(--blue);color:#fff}
}

/* WORKS / 施工事例 */
.hm-cases{background:#f6f5f1}
.hm-cases__grid{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:280px;gap:18px}
.hm-case{position:relative;overflow:hidden;margin:0;grid-column:span 4;background:#ddd}
.hm-case--wide{grid-column:span 8}
.hm-case--tall{grid-row:span 2}
.hm-case img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .7s ease}
.hm-case:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(5,12,12,.58) 100%);pointer-events:none}
.hm-case:hover img{transform:scale(1.025)}
.hm-case figcaption{position:absolute;z-index:2;left:24px;right:24px;bottom:21px;color:#fff;display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.hm-case figcaption span{font-size:10px;letter-spacing:.13em;border:1px solid rgba(255,255,255,.65);padding:5px 9px;white-space:nowrap}
.hm-case figcaption strong{font-family:"Noto Serif JP",serif;font-size:18px;font-weight:600;text-align:right;line-height:1.45}
.hm-cases__note{margin:24px 0 0;font-size:11px;line-height:1.8;color:#777;text-align:center}



/* Price accordion */
.hm-price-accordion{margin-top:26px;border-top:1px solid var(--line)}
.hm-price-group{border-bottom:1px solid var(--line);background:#fff}
.hm-price-group summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:52px minmax(240px,1fr) minmax(200px,.85fr) 34px;align-items:center;gap:18px;padding:25px 28px;transition:background .2s ease}
.hm-price-group summary::-webkit-details-marker{display:none}
.hm-price-group summary:hover{background:#f7faf9}
.hm-price-group__no{font-family:var(--serif);font-size:12px;color:var(--blue);letter-spacing:.1em}
.hm-price-group__title{font-family:var(--serif);font-size:19px;font-weight:600;line-height:1.6}
.hm-price-group summary small{font-size:11px;color:var(--text);line-height:1.7}
.hm-price-group summary i{position:relative;width:28px;height:28px;border:1px solid #cbd8dc;border-radius:50%}
.hm-price-group summary i:before,.hm-price-group summary i:after{content:"";position:absolute;left:50%;top:50%;width:10px;height:1px;background:var(--blue-deep);transform:translate(-50%,-50%);transition:.2s}
.hm-price-group summary i:after{transform:translate(-50%,-50%) rotate(90deg)}
.hm-price-group[open] summary{background:#f7faf9}
.hm-price-group[open] summary i:after{transform:translate(-50%,-50%) rotate(0deg)}
.hm-price-group__body{padding:0 28px 22px;background:#fff}
.hm-price-group__lead{margin:0;padding:15px 18px;background:#f4f8f8;color:var(--text);font-size:11px;line-height:1.8}
.hm-price-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center;padding:20px 18px;border-bottom:1px solid #edf0f0}
.hm-price-item:last-child{border-bottom:0}
.hm-price-item>div:first-child strong{display:block;font-family:var(--serif);font-size:16px;font-weight:600;line-height:1.6}
.hm-price-item>div:first-child span{display:block;margin-top:4px;font-size:11px;color:var(--text);line-height:1.7}
.hm-price-item__price{text-align:right;min-width:230px}
.hm-price-item__price b{display:block;color:var(--blue-deep);font-size:16px;line-height:1.5}
.hm-price-item__price small{display:block;margin-top:4px;color:#879095;font-size:10px}
.hm-price__source{margin:20px 0 0;font-size:10px;color:#7d878a;line-height:1.9;text-align:right}

@media(max-width:640px){
  .hm-price-accordion{margin-top:18px}
  .hm-price-group summary{grid-template-columns:34px 1fr 28px;gap:10px;padding:19px 14px}
  .hm-price-group__no{font-size:10px}
  .hm-price-group__title{font-size:16px}
  .hm-price-group summary small{grid-column:2/3;font-size:10px;margin-top:-7px}
  .hm-price-group summary i{grid-column:3/4;grid-row:1/3;width:26px;height:26px}
  .hm-price-group__body{padding:0 14px 14px}
  .hm-price-item{grid-template-columns:1fr;gap:10px;padding:17px 10px}
  .hm-price-item>div:first-child strong{font-size:15px}
  .hm-price-item__price{text-align:left;min-width:0}
  .hm-price-item__price b{font-size:15px}
  .hm-price__source{text-align:left;font-size:9px}
}

/* WORKS / smartphone: one case per row */
@media(max-width:640px){
  .hm-cases__grid{
    display:grid;
    grid-template-columns:1fr;
    grid-auto-rows:auto;
    gap:14px;
  }
  .hm-case,
  .hm-case--wide,
  .hm-case--tall{
    grid-column:1 / -1;
    grid-row:auto;
    width:100%;
    min-height:0;
    aspect-ratio:4 / 3;
  }
  .hm-case img{
    width:100%;
    height:100%;
    object-fit:cover;
  }
}


@media(max-width:782px){
  .admin-bar .hm-header{top:46px}
}


/* WORKS / Before & After */
.hm-ba-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:26px;
}
.hm-ba-card{
  padding:22px;
  background:#fff;
  border:1px solid var(--line);
}
.hm-ba-card__head{
  display:flex;
  align-items:baseline;
  gap:14px;
  margin:0 0 16px;
}
.hm-ba-card__head span{
  flex:0 0 auto;
  padding:5px 9px;
  border:1px solid #bfd0d5;
  color:var(--blue-deep);
  font-size:9px;
  font-weight:700;
  letter-spacing:.12em;
  line-height:1.4;
}
.hm-ba-card__head h3{
  margin:0;
  font-family:var(--serif);
  font-size:18px;
  font-weight:600;
  line-height:1.55;
}
.hm-ba-pair{
  display:grid;
  grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);
  align-items:center;
  gap:8px;
}
.hm-ba-photo{
  position:relative;
  margin:0;
  overflow:hidden;
  background:#e9eceb;
  aspect-ratio:4 / 3;
}
.hm-ba-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .45s ease;
}
.hm-ba-card:hover .hm-ba-photo img{transform:none}
.hm-ba-photo figcaption{
  position:absolute;
  left:10px;
  bottom:10px;
  min-width:62px;
  padding:6px 9px;
  background:rgba(26,38,42,.82);
  color:#fff;
  font-size:9px;
  font-weight:700;
  letter-spacing:.12em;
  text-align:center;
}
.hm-ba-photo--after figcaption{background:rgba(17,143,189,.92)}
.hm-ba-arrow{
  width:28px;
  height:28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#edf5f6;
  color:var(--blue-deep);
  font-size:15px;
  line-height:1;
}

@media(max-width:900px){
  .hm-ba-grid{grid-template-columns:1fr;gap:18px}
}

@media(max-width:640px){
  .hm-ba-card{padding:14px}
  .hm-ba-card__head{gap:10px;margin-bottom:12px;align-items:center}
  .hm-ba-card__head h3{font-size:15px}
  .hm-ba-card__head span{font-size:8px;padding:4px 7px}
  .hm-ba-pair{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:5px}
  .hm-ba-arrow{width:20px;height:20px;font-size:12px}
  .hm-ba-photo{aspect-ratio:1 / 1}
  .hm-ba-photo figcaption{left:6px;bottom:6px;min-width:0;padding:4px 6px;font-size:7px}
}


/* WORKS lightbox */
.hm-lightbox-trigger{
  display:block;
  width:100%;
  height:100%;
  padding:0;
  margin:0;
  border:0;
  background:transparent;
  cursor:zoom-in;
  overflow:hidden;
  appearance:none;
  -webkit-appearance:none;
}
.hm-lightbox-trigger img{transition:transform .35s ease}
.hm-lightbox-trigger:hover img{transform:scale(1.025)}
.hm-ba-photo figcaption{pointer-events:none}
.hm-lightbox{
  position:fixed;
  z-index:99999;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px;
  opacity:0;
  visibility:hidden;
  transition:opacity .2s ease,visibility .2s ease;
}
.hm-lightbox.is-open{opacity:1;visibility:visible}
.hm-lightbox__backdrop{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:rgba(7,14,16,.88);
  cursor:zoom-out;
}
.hm-lightbox__stage{
  position:relative;
  z-index:2;
  max-width:min(1200px,94vw);
  max-height:92vh;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hm-lightbox__image{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:88vh;
  object-fit:contain;
  box-shadow:0 20px 60px rgba(0,0,0,.4);
  background:#fff;
}
.hm-lightbox__close{
  position:absolute;
  top:-18px;
  right:-18px;
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,.6);
  border-radius:50%;
  background:rgba(20,35,40,.9);
  color:#fff;
  font-size:30px;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
}
body.hm-lightbox-open{overflow:hidden}
@media(max-width:640px){
  .hm-lightbox{padding:14px}
  .hm-lightbox__stage{max-width:96vw;max-height:90vh}
  .hm-lightbox__image{max-height:84vh}
  .hm-lightbox__close{top:-12px;right:-8px;width:38px;height:38px;font-size:26px}
}
