
:root{--ink:#172b3a;--green:#17675f;--cream:#f8f6f0;--line:#dadfd8;--serif:"Yu Mincho","Hiragino Mincho ProN",serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.85 "Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif}a{color:inherit}a:focus-visible{outline:3px solid #cb842f;outline-offset:4px}img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.9) brightness(1.04)}h1,h2{font-family:var(--serif);line-height:1.5;letter-spacing:.025em;margin:0 0 .6em}h2{font-size:clamp(26px,3.4vw,40px)}h3,p{margin:0 0 .65em}.wrap{width:min(1180px,calc(100% - 64px));margin:auto}.bar{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{text-decoration:none;font-family:var(--serif);font-weight:bold;display:grid;line-height:1.25;font-size:27px}.brand small{font-size:12px;letter-spacing:.08em}.nav{display:flex;align-items:center;gap:25px;font-size:14px;font-weight:bold}.nav a{text-decoration:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:48px;border-radius:5px;padding:10px 22px;background:var(--green);color:white;text-decoration:none;font-weight:bold}.btn:hover{background:#104e48}.hero{background:var(--cream);padding:64px 0}.split{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center}.hero h1{font-size:clamp(30px,3.08vw,46px);line-height:1.5}.eyebrow{color:var(--green);font-size:14px;font-weight:bold;letter-spacing:.08em;margin-bottom:18px}.hero p:not(.eyebrow){margin-bottom:24px}.photo{margin:0;overflow:hidden;border-radius:5px;aspect-ratio:1.23}.photo img{object-position:center 44%}.section{padding:76px 0}.section.tint{background:#f1f5f1}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}.card{display:block;border:1px solid var(--line);border-radius:5px;background:white;padding:22px;text-decoration:none}.card:hover{border-color:var(--green);background:#f8fcfa}.card strong{display:block;font-size:17px}.card p{font-size:14px;margin:8px 0 0}.arrow{color:var(--green);float:right}.profile{grid-template-columns:.85fr 1fr}.profile .photo{aspect-ratio:1.45}.textlink{color:var(--green);font-weight:bold;text-underline-offset:4px}.steps{list-style:none;padding:0;counter-reset:steps}.steps li{counter-increment:steps}.steps strong::before{content:counter(steps,decimal-leading-zero);display:block;color:var(--green);font-size:13px;letter-spacing:.08em;margin-bottom:6px}.news{margin:24px 0 0;padding:0;list-style:none}.news li{border-top:1px solid var(--line);padding:14px 0;display:flex;gap:24px}.news li:last-child{border-bottom:1px solid var(--line)}.news time{color:#4e6269}.contact{background:var(--green);color:white}.contact .btn{background:white;color:var(--green)}.contact .btn:hover{background:#e7f0eb}.contact p{margin-bottom:20px}.contact-actions{display:flex;gap:18px;flex-wrap:wrap}.contact-actions .phone{background:transparent;color:white;border:1px solid #b6d2cb}.foot{padding:35px 0;background:var(--cream);font-size:14px}.foot p{margin:10px 0 0}
@media(max-width:870px){.split{gap:28px}.nav{gap:12px}.grid{gap:12px}.card{padding:16px}}
@media(max-width:650px){.wrap{width:calc(100% - 36px)}.bar{min-height:66px}.brand{font-size:21px}.brand small{font-size:10px}.nav>a:not(.btn){display:none}.nav .btn{min-height:42px;padding:8px 12px;font-size:12px}.hero{padding:39px 0}.split,.grid{grid-template-columns:minmax(0,1fr)}.hero h1{font-size:clamp(21px,6.25vw,39px)}.section{padding:49px 0}.profile .photo{order:2}.news li{gap:12px}.contact-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{background:#fff}.wrap{width:min(1320px,calc(100% - 96px))}.bar{min-height:90px}.nav{gap:28px}.hero{padding:0;background:#f6f2e9;position:relative;isolation:isolate;overflow:hidden}.hero-inner{min-height:clamp(490px,36vw,580px);display:flex;align-items:center}.hero-copy{width:61%;padding:46px 0;position:relative}.hero h1{font-size:clamp(30px,3.55vw,61px);letter-spacing:0;line-height:1.52;margin-bottom:.4em}.hero h1>span{display:block}.hero .eyebrow{font-family:var(--serif);font-size:clamp(15px,1.55vw,23px);color:var(--ink);letter-spacing:.04em}.hero .eyebrow::after,#needs h2::after{content:"";display:block;width:58px;height:2px;background:var(--green);margin-top:15px}.hero p:not(.eyebrow){font-size:clamp(14px,1.36vw,20px);margin-bottom:27px}.hero .btn{padding-inline:35px;background:#085452}.hero-image{position:absolute;inset:0 0 0 50%;z-index:-1;background:#eae4d5}.hero-image img{object-position:55% top;filter:none}.hero::before{content:"";position:absolute;z-index:-1;right:46%;top:-88%;height:285%;width:100%;border-radius:0 48% 48% 0;background:#eae4d5}.hero::after{content:"";position:absolute;z-index:-1;right:49%;top:-75%;height:260%;width:100%;border-radius:0 48% 48% 0;background:#f6f2e9}.hero::before,.hero::after{pointer-events:none}
#needs{padding-top:46px}#needs h2{text-align:center}#needs h2::after{margin-inline:auto}#needs .card{padding:28px 22px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:154px}#needs .card strong{font-family:var(--serif);font-size:clamp(17px,1.65vw,24px)}#needs .arrow{float:none;margin-left:5px}#needs .card p{color:#42555c}
@media(max-width:1100px){.hero-copy{width:61%}.hero h1{font-size:clamp(29px,3.6vw,45px)}.hero-image{left:51%}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.bar{min-height:68px}.nav>a:not(.btn){display:none}.nav .btn{min-height:42px;padding:8px 12px;font-size:12px}.hero{display:flex;flex-direction:column}.hero-inner{min-height:0}.hero-copy{width:100%;padding:33px 0}.hero-image{position:static;order:1;aspect-ratio:1.35}.hero::before,.hero::after{display:none}.hero h1{font-size:clamp(24px,6vw,43px)}.hero p:not(.eyebrow) br{display:none}}
.hero-image{z-index:-3;left:46%}.hero::before{z-index:-2}.hero::after{z-index:-1}
.hero h1{font-size:clamp(28px,2.83vw,52px)}.hero h1 .phrase{white-space:nowrap}
#needs .card::before{content:"";display:block;width:52px;height:52px;margin-bottom:10px;background:url('proposal-icons.webp') no-repeat 0 center/156px 52px}
#needs .card:nth-child(2)::before{background-position:-52px center}#needs .card:nth-child(3)::before{background-position:-104px center}
@media(max-width:760px){.hero h1{font-size:clamp(24px,6vw,43px)}}
@media(min-width:761px){
  .hero-inner{min-height:clamp(460px,36vw,620px)}
  .hero-image{overflow:hidden}
  .hero-image img{position:absolute;right:0;bottom:0;width:auto;max-width:none;height:100%;object-fit:contain}
  .hero-image::before{content:"";position:absolute;top:0;bottom:0;right:calc(clamp(460px,36vw,620px) * 655 / 553 - 1px);width:220px;background:url("hero-composite.webp") left center / auto 100% no-repeat;transform:scaleX(-1)}
}
#services { background: #edf2ed; }
.service-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:26px; }
.service-heading h2 { margin:0; }
.service-heading .textlink { font-size:14px; }
.service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.service-card {
  position:relative;
  min-width:0;
  padding:27px 28px 25px;
  border:1px solid #dce5de;
  border-radius:12px;
  background:white;
  box-shadow:0 3px 12px #193d2820;
  scroll-margin-top:18px;
}
.service-card:target { outline:2px solid var(--green); outline-offset:3px; }
.service-card img {
  width:56px;
  height:56px;
  padding:12px;
  margin:0 0 15px;
  object-fit:contain;
  border-radius:16px;
  background:#e5efea;
  filter:none;
}
.service-card h3 {
  margin:0 0 9px;
  font:700 clamp(17px,1.6vw,23px)/1.5 var(--serif);
}
.service-card p { margin:0; color:#42555c; font-size:14px; line-height:1.8; }
@media (max-width:850px) { .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:540px) {
  .service-grid { grid-template-columns:1fr; gap:12px; }
  .service-card { display:grid; grid-template-columns:48px minmax(0,1fr); column-gap:14px; padding:17px; }
  .service-card img { grid-row:span 2; width:48px; height:48px; padding:10px; margin:0; border-radius:13px; }
  .service-card h3 { margin-bottom:4px; }
  .service-heading { margin-bottom:18px; }
}

.service-card { padding:0; overflow:hidden; }
.service-card .service-visual { display:block; width:100%; height:clamp(118px,11vw,155px); padding:0; margin:0; border-radius:0; object-fit:cover; object-position:center; }
.service-card .service-copy { padding:19px 24px 23px; }
@media(max-width:540px){ .service-card { display:block; } .service-card .service-copy { padding:15px 18px 18px; } }

.foot { padding:52px 0 20px; }
.footer-grid { display:grid; grid-template-columns:1.45fr 1fr 1fr; gap:32px; }
.foot address { margin-top:16px; font-style:normal; }
.footer-cert { display:inline-flex; align-items:center; gap:10px; margin-top:14px; color:var(--green); }
.footer-cert img { width:58px; height:58px; object-fit:contain; filter:none; }
.foot h2 { font-size:19px; margin:0 0 11px; }
.foot ul { list-style:none; margin:0; padding:0; display:grid; gap:5px; }
.foot nav a { text-decoration:none; }
.foot nav a:hover { text-decoration:underline; }
.footer-copyright { display:block; margin-top:30px; padding-top:15px; border-top:1px solid var(--line); color:#42555c; }
@media(max-width:680px) {
  .foot { padding-top:34px; }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 16px; }
  .footer-grid>div { grid-column:1/-1; }
  .foot nav li { padding-block:2px; }
}
#about .photo { aspect-ratio:4/3; }
#about .photo img {
  object-position:center 50%;
  filter:brightness(1.17) contrast(.95) saturate(.92);
}
#flow .steps { gap:20px; }
#flow .steps li {
  padding:22px 24px 24px;
  border:1px solid #d8e3dc;
  border-top:3px solid var(--green);
  border-radius:9px;
}
#flow .steps strong {
  display:flex;
  align-items:center;
  gap:15px;
  font:700 clamp(19px,2vw,27px)/1.45 var(--serif);
}
#flow .steps strong::before {
  flex:none;
  display:grid;
  place-items:center;
  width:57px;
  height:57px;
  margin:0;
  border-radius:50%;
  background:var(--green);
  color:white;
  font:400 25px/1 Georgia,serif;
  letter-spacing:0;
}
#flow .steps p { margin:13px 0 0; }
.contact h2 { margin-bottom:24px; }
.footer-grid { grid-template-columns:1.65fr 1fr 1fr; }
.footer-address-row { display:flex; gap:14px; align-items:center; margin-top:16px; }
.footer-address-row address { margin:0; }
.footer-cert { flex:none; flex-direction:column; gap:3px; margin:0; font-size:11px; text-decoration:none; }
.footer-cert:hover { text-decoration:underline; }
.footer-cert img { width:80px; height:80px; }
@media(max-width:850px) {
  #flow .steps { grid-template-columns:1fr; gap:12px; }
  #flow .steps li { padding:16px 18px; }
}
@media (min-width:681px) and (max-width:1000px) {
  .footer-grid { grid-template-columns:1.8fr 1fr 1fr; gap:18px; }
  .footer-address-row { gap:8px; }
  .footer-cert img { width:68px; height:68px; }
}
@media(max-width:680px) {
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-address-row { justify-content:space-between; max-width:370px; }
}
@media(max-width:390px) {
  .footer-address-row { gap:8px; }
  .footer-cert img { width:70px; height:70px; }
}
.brand-image { display:block; width:clamp(170px,23vw,290px); }
.brand-image img { width:100%; height:auto; object-fit:contain; filter:none; }
.contact-actions { align-items:center; }
.contact-actions .phone { display:grid; justify-items:start; gap:4px; padding:13px 22px; line-height:1.4; }
.contact-actions .phone strong { font-size:clamp(22px,2.5vw,32px); font-variant-numeric:tabular-nums; }
.contact-actions .phone small { font-size:13px; font-weight:normal; }
.footer-cert img { width:104px; height:104px; }
@media(max-width:420px) {
  .footer-cert img { width:91px; height:91px; }
}
.contact { text-align:center; } .contact h2 span { display:block; text-wrap:balance; }
.contact-actions { justify-content:center; align-items:stretch; }
.contact-actions .contact-form { gap:15px; padding:13px 22px; min-height:94px; }
.contact-form-copy { display:grid; gap:4px; text-align:left; line-height:1.4; }
.contact-form-copy small { font-size:13px; font-weight:normal; }
.mail-mark { position:relative; width:25px; height:17px; border:2px solid currentColor; border-radius:3px; overflow:hidden; flex:none; }
.mail-mark::after { content:""; position:absolute; top:-8px; left:3px; width:13px; height:13px; border:solid currentColor; border-width:0 2px 2px 0; transform:rotate(45deg); }
@media(max-width:650px) {
  .contact-actions .phone { justify-items:center; }
  .contact-actions .contact-form { min-height:76px; }
}
.contact-actions {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  width:min(100%,720px);
  margin:32px auto 0;
}
.contact-actions .contact-form,.contact-actions .phone {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:144px;
  width:100%;
  padding:25px 30px;
  border-radius:9px;
}
.contact-actions .phone { flex-direction:column; gap:6px; }
.contact-actions .contact-form { gap:18px; }
.contact-form-copy { gap:6px; }
.contact-form-copy strong { font-size:clamp(19px,2vw,25px); line-height:1.35; }
.contact-form-copy small,.contact-actions .phone small { font-size:14px; }
.contact-actions .mail-mark { width:32px; height:22px; }
.contact-actions .mail-mark::after { width:17px; height:17px; top:-10px; left:5px; }
#flow .steps {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  padding:29px 0;
  background:white;
  border:1px solid #d8e3dc;
  border-radius:14px;
}
#flow .steps li {
  padding:8px clamp(18px,2.7vw,38px);
  border:0;
  border-radius:0;
  background:transparent;
}
#flow .steps li+li { border-left:1px solid #d8e3dc; }
#flow .steps p { margin:14px 0 0; font-size:15px; }
@media(max-width:680px) {
  .contact-actions { grid-template-columns:1fr; gap:14px; margin-top:24px; max-width:420px; }
  .contact-actions .contact-form,.contact-actions .phone { min-height:126px; padding:21px 22px; }
  #flow .steps { grid-template-columns:1fr; padding:0 20px; }
  #flow .steps li { padding:20px 0; }
  #flow .steps li+li { border-left:0; border-top:1px solid #d8e3dc; }
}
.site-header { position:relative; z-index:2; border-bottom:1px solid #e5e9e3; }
.site-header .bar { min-height:100px; gap:24px; }
.site-header .brand-image { width:clamp(260px,28vw,380px); flex:none; }
.desktop-nav { gap:12px; }
.desktop-nav .nav-link {
  position:relative;
  padding:12px clamp(10px,1.25vw,19px);
  font-size:15px;
  white-space:nowrap;
  border-radius:5px;
}
.desktop-nav .nav-link:hover { background:#edf4ef; color:var(--green); }
.desktop-nav .btn { margin-left:10px; padding:13px 19px; white-space:nowrap; }
.mobile-menu { display:none; }
@media(max-width:1160px) {
  .site-header .bar { min-height:78px; gap:12px; }
  .site-header .brand-image { width:clamp(190px,62vw,330px); max-width:calc(100% - 94px); }
  .desktop-nav { display:none; }
  .mobile-menu { display:block; }
  .mobile-menu summary {
    display:flex; align-items:center; gap:6px; min-height:44px; padding:6px 9px;
    list-style:none; cursor:pointer; border:1px solid #cadaD1; border-radius:6px;
    background:#edf4ef; color:var(--green); font-size:12px; font-weight:bold; white-space:nowrap;
  }
  .mobile-menu summary::-webkit-details-marker { display:none; }
  .mobile-menu summary:focus-visible { outline:3px solid #cb842f; outline-offset:3px; }
  .menu-lines { width:13px; height:10px; border-block:1px solid currentColor; background:linear-gradient(currentColor,currentColor) center/100% 1px no-repeat; }
  .mobile-menu nav { position:absolute; inset:100% 0 auto; display:grid; gap:4px; padding:12px 20px 18px; background:white; border-bottom:1px solid #dce5de; box-shadow:0 8px 12px #193d2815; }
  .mobile-menu nav a { display:block; padding:9px 13px; text-decoration:none; font-weight:bold; }
  .mobile-menu nav .btn { display:flex; margin-top:5px; }
}
#flow { background:#f5f1e9; }
#flow .steps { border-color:#e4dbcf; }
#flow .steps li { position:relative; padding-inline:clamp(18px,2.8vw,39px); }
#flow .steps li+li { border:0; }
#flow .steps li+li::before {
  content:"";
  position:absolute;
  inset:5px auto 5px -9px;
  width:18px;
  background:#b89272;
  clip-path:polygon(0 0, 2px 0, 100% 50%, 2px 100%, 0 100%, calc(100% - 2px) 50%);
}
#flow .steps strong { gap:14px; }
#flow .steps strong::before {
  display:block;
  width:auto;
  height:auto;
  background:transparent;
  color:#916549;
  font:400 clamp(36px,3.8vw,54px)/1 Georgia,serif;
  font-variant-numeric:lining-nums tabular-nums;
}
@media(max-width:680px) {
  #flow .steps li { padding:19px 4px; }
  #flow .steps li+li { padding-top:31px; }
  #flow .steps li+li::before {
    inset:0 auto auto 50%;
    width:20px;
    height:20px;
    background:none;
    border:solid #b89272;
    border-width:0 2px 2px 0;
    clip-path:none;
    transform:translate(-50%,-44%) rotate(45deg);
  }
}
.header-contact { display:flex; align-items:center; gap:18px; padding-left:18px; border-left:1px solid #dce5de; }
.header-contact .btn { white-space:nowrap; gap:12px; padding-inline:16px; }
.header-phone { display:grid; line-height:1.3; color:var(--ink); text-decoration:none; white-space:nowrap; }
.header-phone:hover strong { color:var(--green); }
.header-phone span,.header-phone small { font-size:12px; }
.header-phone strong { font-size:24px; font-variant-numeric:tabular-nums; }
.mobile-menu nav .mobile-phone { margin-top:4px; background:#edf4ef; border-radius:6px; }
.mobile-phone strong { margin-left:8px; white-space:nowrap; }
.mobile-phone small { display:block; font-size:12px; font-weight:normal; }
@media(max-width:1160px) { .header-contact { display:none; } }
.brand-location {
  display:block;
  margin-bottom:4px;
  color:var(--ink);
  font:700 14px/1.3 "Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  white-space:nowrap;
}
.brand-location span { margin-inline:.38em; color:#607870; }
.foot .brand-location { font-size:12px; }
@media(max-width:680px){ .site-header .brand-location { font-size:12px; } }
@media(min-width:1050px) {
  .footer-grid {
    grid-template-columns:minmax(350px,1.18fr) minmax(250px,.9fr) minmax(265px,1fr);
    column-gap:clamp(30px,4vw,60px);
    align-items:start;
  }
  .foot nav h2 {
    padding:0 0 9px;
    margin:0 0 12px;
    border-bottom:1px solid var(--line);
  }
  .foot nav ul {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px 14px;
  }
  .foot nav[aria-label="サービス一覧"] ul { grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr); align-items:start; }
  .foot nav a { display:inline-block; }
}

.sub-hero { background:#f5f1e9; padding:39px 0 48px; }
.crumb { font-size:14px; margin-bottom:16px; }
.crumb a { color:var(--green); text-underline-offset:4px; }
.sub-hero h1 { font-size:clamp(29px,4.1vw,52px); margin:0; }
.sub-hero p { max-width:47em; margin:13px 0 0; }
.content-wrap { width:min(960px,calc(100% - 64px)); margin:auto; }
.content-wrap a,.service-detail a { text-underline-offset:4px; }
.content-wrap p { margin:0 0 1.1em; }
.content-wrap h2:not(:first-child) { margin-top:1.15em; }
.jump-list { display:flex; flex-wrap:wrap; gap:10px; list-style:none; padding:0; margin:0 0 38px; }
.jump-list a { display:block; padding:7px 13px; border:1px solid var(--line); border-radius:4px; text-decoration:none; }
.jump-list a:hover { background:#edf4ef; }
.service-detail { display:grid; grid-template-columns:1fr 1.1fr; align-items:center; gap:36px; padding:26px 0; border-top:1px solid var(--line); scroll-margin-top:16px; }
.service-detail h2 { font-size:clamp(21px,3vw,32px); }
.service-detail img { aspect-ratio:1.8; object-fit:cover; border-radius:9px; filter:none; }
.service-detail:nth-of-type(even) img { order:2; }
.info-table { width:100%; border-collapse:collapse; margin:0 0 34px; }
.info-table tr { border-top:1px solid var(--line); }
.info-table tr:last-child { border-bottom:1px solid var(--line); }
.info-table th,.info-table td { text-align:left; padding:11px 8px; vertical-align:top; }
.info-table th { width:25%; }
.office-map { width:100%; border:0; aspect-ratio:2.4; min-height:270px; border-radius:8px; margin:12px 0 24px; }
.article-list { list-style:none; padding:0; margin:0; }
.article-list li { border-top:1px solid var(--line); }
.article-list li:last-child { border-bottom:1px solid var(--line); }
.article-list a { display:grid; grid-template-columns:8.5em 1fr auto; gap:10px; padding:16px 0; text-decoration:none; }
.article-list a:hover .article-title { text-decoration:underline; }
.article-list time { font-size:14px; color:#42555c; }
.archive-pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:9px; margin-top:32px; }
.archive-pagination a,.archive-pagination span { display:grid; place-items:center; min-width:40px; min-height:40px; padding:0 7px; border:1px solid var(--line); border-radius:5px; }
.archive-pagination [aria-current] { background:var(--green); color:white; }
.article-body { font-size:17px; overflow-wrap:anywhere; }
.article-body img { max-width:100%; width:auto; height:auto; object-fit:contain; filter:none; }
.article-body iframe,.article-body video { max-width:100%; }
.article-body table { display:block; overflow-x:auto; }
.article-body blockquote { margin:24px 0; border-left:3px solid #9dbab0; padding:10px 18px; background:#f4f7f4; }
.article-nav { display:flex; gap:18px; justify-content:space-between; flex-wrap:wrap; border-top:1px solid var(--line); padding-top:22px; margin-top:36px; }
.faq-item { border:1px solid var(--line); border-radius:8px; margin-bottom:18px; }
.faq-item summary { cursor:pointer; padding:18px 21px; color:var(--green); font-weight:700; }
.faq-item div { padding:0 21px 15px; }
.contact-panel { background:#edf4ef; border-radius:12px; padding:clamp(22px,4vw,42px); }
.site-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; list-style:none; padding:0; }
.site-list a { display:block; padding:13px 17px; border:1px solid var(--line); border-radius:5px; }
@media(max-width:650px) {
 .sub-hero { padding:27px 0 32px; }
 .content-wrap { width:calc(100% - 40px); }
 .service-detail { grid-template-columns:1fr; gap:18px; }
 .service-detail:nth-of-type(even) img { order:0; }
 .article-list a { grid-template-columns:1fr auto; }
 .article-list time { grid-column:1/-1; }
 .site-list { grid-template-columns:1fr; }
}

.office-intro .photo { aspect-ratio:4/3; }
.office-intro .photo img { object-position:center; filter:brightness(1.17) contrast(.95) saturate(.92); }
@media(max-width:650px) {
  .office-intro .photo { order:-1; }
}
/* Reserve one title-band height per breakpoint, including article pages. */
.sub-hero {
  display:flex;
  align-items:center;
  height:208px;
  padding:0;
  border-bottom:1px solid #e1dbcf;
  background:#eee8dc url("page-header-office.webp") right 52% / cover no-repeat;
  position:relative;
  isolation:isolate;
}
.sub-hero::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,#fbf8f0 0%,#fbf8f0f0 40%,#fbf8f0a8 66%,#fbf8f010 100%);
}
.sub-hero .wrap { min-width:0; }
.sub-hero .crumb { display:flex; align-items:baseline; gap:6px; margin-bottom:8px; }
.sub-hero .crumb a { flex:none; }
.sub-hero .crumb [aria-current] { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sub-hero h1 { color:#142c39; font-size:clamp(26px,3.6vw,48px); line-height:1.32; overflow-wrap:anywhere; }
.sub-hero-long h1 { max-width:30em; font-size:clamp(21px,2.65vw,36px); }
.sub-hero h1::after {
  content:"";
  display:block;
  width:42px;
  height:3px;
  margin-top:10px;
  background:var(--green);
}
.sub-hero p { margin-top:9px; line-height:1.55; }
@media(max-width:650px) {
  .sub-hero { height:190px; background-position:74% 48%; }
  .sub-hero::before { background:linear-gradient(90deg,#fbf8f0f7 0%,#fbf8f0eb 42%,#fbf8f0a6 100%); }
  .sub-hero h1 { font-size:27px; }
  .sub-hero-long h1 { font-size:19px; }
  .sub-hero p { font-size:14px; }
}
.office-map {
  display:block;
  width:100%;
  height:clamp(300px,42vw,530px);
  aspect-ratio:auto;
  border-radius:0;
  margin:0;
}
main:has(> .office-map) > .section:has(+ .office-map) { padding-bottom:24px; }