:root{color-scheme:light;--ink:#10283f;--green:#279731}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font-family:'Yu Gothic','Meiryo',sans-serif}a{color:inherit}header{height:112px;display:flex;align-items:center;gap:26px;padding:8px 4.2%;background:white} .brand{display:flex;align-items:center;gap:20px;text-decoration:none;flex-shrink:0}.logo{width:116px;height:104px;overflow:hidden;position:relative;flex-shrink:0}.logo img{position:absolute;width:1536px;max-width:none;left:-73px;top:-9px}.brand strong{display:block;font-size:32px;letter-spacing:3px}.brand small{display:block;font-size:14px;margin-top:3px}nav{display:flex;align-items:center;justify-content:flex-end;gap:26px;flex:1;font-size:15px;white-space:nowrap}nav a{text-decoration:none;padding:12px 0}nav a[aria-current=page]{color:var(--green);border-bottom:2px solid}nav .contact{background:var(--green);color:white;padding:17px 27px;border-radius:5px;font-size:20px}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;z-index:9;background:white;padding:15px}.art{position:relative;overflow:hidden}.art>img{display:block;width:100%;height:auto;margin-top:calc(var(--cut) * -1%)}.hotspot{position:absolute;display:block;border-radius:8px;text-decoration:none}.hotspot:hover{background:#168a2920;box-shadow:0 0 0 2px #279731}.hotspot:focus-visible{outline:4px solid #0095db;outline-offset:2px;background:#ffffff44}.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}footer{padding:22px 5%;font-size:14px;border-top:1px solid #e3e9e5;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}footer a{text-decoration:none}.contact-main{max-width:1200px;margin:auto;padding:42px 35px}.contact-main h1{font-family:'Yu Mincho',serif;font-size:64px;font-weight:500;margin:0 0 32px}.contact-main h1:after{content:'';display:block;background:var(--green);width:55px;height:2px;margin-top:18px}.intro{font-family:'Yu Mincho',serif;font-size:28px;line-height:1.6}.description{font-size:18px;line-height:1.7}.columns{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;margin:34px -20px}.panel{padding:28px 32px;border:1px solid #dce5eb;border-radius:5px}.form-panel{background:#f7fbf9}.panel h2{font-size:27px;margin:4px 0 26px}label{display:block;margin:22px 0 10px;font-size:18px;font-weight:bold}.required{background:#f56857;color:#fff;font-size:13px;padding:3px 7px;margin-left:14px;border-radius:3px}input,textarea{width:100%;padding:13px 16px;border:1px solid #c9d2de;border-radius:5px;background:white;font:18px 'Yu Gothic','Meiryo',sans-serif;color:var(--ink)}textarea{min-height:120px;resize:vertical}button,.button{cursor:pointer;font:inherit;background:var(--green);border:0;color:white;border-radius:40px;padding:16px 30px;text-align:center;text-decoration:none}form button{width:100%;font-size:24px;margin-top:24px}.note{font-size:14px;line-height:1.6;color:#526271}.phone{font-size:36px;text-decoration:none;white-space:nowrap}.info{font-size:18px;line-height:1.7;overflow-wrap:anywhere}.info hr{border:0;border-top:1px solid #d8dfe5;margin:28px 0}.info a{ text-decoration:none}.closing{padding:28px;background:#f3faf6;text-align:center;margin-top:24px}.closing p{font-size:23px}.closing .button{display:inline-block;font-size:23px;min-width:330px}dialog{border:1px solid #ddd;border-radius:10px;width:min(850px,92vw);padding:28px;color:var(--ink)}dialog::backdrop{background:#10283fb0}dialog h2{margin-top:0}.detail-picture{width:100%;aspect-ratio:1.45;background-repeat:no-repeat;margin:20px 0}.dialog-close{float:right;padding:8px 18px}.detail-copy{font-size:18px;line-height:1.8}.zoom{display:block;text-align:right;padding:8px 4%;font-size:14px;color:#526271}.mobile-copy{display:none}
@media(min-width:1700px){body{max-width:1700px;margin:auto}}@media(max-width:1200px){header{gap:12px;padding:8px 2%;height:100px}.brand{gap:8px}.brand strong{font-size:24px}.brand small{font-size:12px}nav{gap:16px;font-size:14px}nav .contact{font-size:16px;padding:15px}.logo{transform:scale(.85);width:116px;margin-left:-8px}}@media(max-width:900px){header{height:auto;flex-wrap:wrap;padding:8px 16px}.brand strong{font-size:25px}nav{flex-basis:100%;justify-content:space-between;gap:12px;overflow:auto}.columns{grid-template-columns:1fr;margin:24px 0}.contact-main{padding:30px 20px}.contact-main h1{font-size:42px}.intro{font-size:22px}.panel{padding:24px}.phone{font-size:30px}.closing .button{min-width:0}.mobile-copy{display:block;padding:20px}.mobile-copy a{display:inline-block;padding:12px;color:#16852d}.zoom{font-size:14px}}
.home-portrait{position:absolute;left:30.14%;top:33.22%;width:7.55%;height:13.38%;border-radius:50%;overflow:hidden;background:#fff;pointer-events:none}.portrait-window{position:absolute;left:12%;top:0;width:76%;height:100%;overflow:hidden}.portrait-window img{position:absolute;width:124.83%;height:auto;max-width:none;left:0;top:-44%;}
.home-news{position:absolute;left:57.88%;top:64.25%;bottom:0;right:0;background:#fff;border-left:1px solid #e3e9e5;padding:2.15% 2.3%;display:flex;flex-direction:column;align-items:flex-start}.home-news h2{font-size:clamp(15px,1.6vw,24px);margin:0 0 1em}.home-news h2:after{content:"";display:inline-block;vertical-align:middle;width:40px;height:1px;background:#279731;margin-left:20px}.news-message{font-size:clamp(13px,1.3vw,19px);line-height:1.8;white-space:pre-wrap;margin:0;overflow:auto;flex:1;width:100%}.social-links{display:flex;gap:12px;margin-top:12px;flex-wrap:wrap}.social-link{font-size:clamp(12px,1.1vw,17px);text-decoration:none;border:1px solid #dce5e1;border-radius:5px;padding:9px 16px}.social-link.line{color:#248b35}.social-link.instagram{color:#8a426f}a.social-link:hover{background:#f3faf6}@media(max-width:600px){.home-news{padding:2%}.home-news h2{margin-bottom:5px;font-size:12px}.home-news h2:after{width:20px;margin-left:10px}.news-message{font-size:10px;line-height:1.4}.social-links{gap:5px;margin-top:5px}.social-link{padding:4px;font-size:9px}}
.home-news .social-links{flex-wrap:nowrap;margin-top:8px;gap:22px;width:100%;height:65%;flex-shrink:0}.social-qr{display:flex;flex-direction:column;align-items:center;min-width:0;width:40%;height:100%;text-decoration:none;gap:3px;font-size:clamp(10px,1vw,16px)}.social-qr img{height:calc(100% - 22px);width:100%;object-fit:contain}.social-qr:focus-visible{outline:3px solid #0095db}.home-news h2{margin-bottom:8px}.home-news .news-message{flex:1;font-size:clamp(10px,1.1vw,17px)}@media(max-width:600px){.home-news .social-links{gap:6px;margin-top:3px;height:65%}.social-qr{gap:1px;font-size:8px}.social-qr img{height:calc(100% - 13px)}.home-news h2{margin-bottom:3px}}
.home-news .social-links{justify-content:flex-end}
.home-news{left:0;border-left:0;border-top:1px solid #e3e9e5;display:grid;grid-template-columns:1fr 38%;grid-template-rows:auto 1fr;column-gap:5%;padding:2.15% 4.5%}.home-news h2{grid-column:1;grid-row:1}.home-news .news-message{grid-column:1;grid-row:2;align-self:start;font-size:clamp(13px,1.3vw,20px)}.home-news .social-links{grid-column:2;grid-row:1 / 3;height:100%;margin:0;align-self:stretch;gap:20px}.home-news .social-qr{width:44%}.home-news .social-qr img{height:calc(100% - 24px)}@media(max-width:600px){.home-news{grid-template-columns:1fr 45%;column-gap:3%;padding:2% 4%}.home-news .news-message{font-size:11px}.home-news .social-links{gap:6px;height:100%;margin:0}.home-news .social-qr img{height:calc(100% - 13px)}}
.art{container-type:inline-size}.siding-copy{position:absolute;left:27.06%;top:39.06%;width:22.33%;height:4.8%;margin:0;padding:.3% .3%;background:#fff;color:#222;font-family:"Yu Gothic","Meiryo",sans-serif;font-size:1.14cqw;line-height:1.85;}
.restaurant-repair{position:absolute;left:51.07%;top:62.82%;width:21.58%;height:16.47%;background:#fff;border-radius:5px;overflow:hidden;color:#161616}.restaurant-photo{display:block;width:100%;height:42%;object-fit:cover;object-position:center}.restaurant-repair h2{font-family:"Yu Gothic","Meiryo",sans-serif;font-size:1.36cqw;font-weight:700;margin:7% 7% 5%;line-height:1.4}.restaurant-repair p{font-family:"Yu Gothic","Meiryo",sans-serif;font-size:1.27cqw;line-height:1.6;margin:0 7%}
.art>.older-house-photo{position:absolute;left:27.44%;top:62.82%;width:21.49%;height:6.89%;margin:0;object-fit:cover;object-position:center;border-radius:5px 5px 0 0}
.about-no-sales-photo{position:absolute;left:60.9%;top:41.55%;width:35.7%;height:14.25%;background:#fff}
.home-repair-copy{position:absolute;left:4.8%;top:73.06%;width:19%;height:5.7%;margin:0;padding:.3%;background:#fff;color:#161616;font-family:"Yu Gothic","Meiryo",sans-serif;font-size:1.27cqw;line-height:1.6}
.voices-art{container-type:inline-size}.voice-location{position:absolute;left:16.2%;top:27.44%;width:48%;height:2.4%;margin:0;background:#fff;color:#10283f;font-family:"Yu Mincho",serif;font-size:1.76cqw;line-height:1.65;padding:0;white-space:nowrap}
.voice-second-title{position:absolute;left:16.4%;top:45.05%;width:50%;height:3%;margin:0;background:#fff;color:#10283f;font-family:"Yu Gothic","Meiryo",sans-serif;font-size:2.65cqw;font-weight:700;line-height:1.5;padding:0}.voice-second-location{position:absolute;left:16.7%;top:48.1%;width:48%;height:2.4%;margin:0;background:#fff;color:#10283f;font-family:"Yu Mincho",serif;font-size:1.76cqw;line-height:1.65;padding:0;white-space:nowrap}
.voice-third-location{position:absolute;left:16.9%;top:68.14%;width:48%;height:2.4%;margin:0;background:#fff;color:#10283f;font-family:"Yu Mincho",serif;font-size:1.76cqw;line-height:1.65;padding:0;white-space:nowrap}
.voice-second-body{position:absolute;left:16.7%;top:51.02%;width:77.7%;height:9%;margin:0;background:#fff;color:#10283f;font-family:"Yu Mincho",serif;font-size:1.76cqw;line-height:1.55;padding:0}
.voice-motto{position:absolute;left:72%;top:1.4%;width:23%;height:7.1%;margin:0;padding:1cqw 0;background:#fff;color:#10283f;text-align:center;font-family:"Yu Mincho","Meiryo",serif;font-size:2.05cqw;line-height:1.65;letter-spacing:.12em}
.voice-motto{left:71.5%;width:24%;height:11%;top:1.4%;padding-top:.5cqw}.voice-motto:after{content:"";position:absolute;left:5%;right:0;bottom:.4cqw;height:2.8cqw;border-top:solid .3cqw #008bb5;border-radius:70% 60% 0 0;transform:rotate(-12deg)}
nav a.contact[aria-current="page"]{color:#fff;border-bottom:0}
.free-estimate{display:block;font-size:clamp(26px,3vw,36px);font-weight:700;line-height:1.5;color:var(--green);margin:0 0 16px}
.contact-heading{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-bottom:28px}.contact-main .contact-heading h1{margin:0}.contact-heading .free-estimate{display:inline-block;margin:0 0 18px;padding:10px 20px;border-radius:28px;background:#f0f6ed;color:#64835b;font-size:clamp(18px,2vw,23px);font-weight:500;line-height:1.6;letter-spacing:.04em}@media(max-width:600px){.contact-heading{gap:12px}.contact-heading .free-estimate{margin:0}}

/* お問い合わせ：やわらかな色合いと余白 */
.contact-main{color:#40564b;background:linear-gradient(180deg,#fff 0%,#fcfdfb 100%)}
.contact-main h1{color:#344e40}.contact-main h1:after{background:#a4bd99;border-radius:3px}
.contact-main .intro{color:#526657;line-height:1.85}
.contact-main .description{color:#667369;line-height:1.9}
.contact-main .panel{border-color:#e0e9dc;border-radius:18px;padding:30px 32px;box-shadow:0 3px 16px #50674906}
.contact-main .form-panel{background:#f6f9f3}
.contact-main .panel h2{color:#425c48;font-weight:600}
.contact-main label{color:#52624f;font-weight:600}
.contact-main .required{background:#c88878;border-radius:7px;font-weight:500}
.contact-main input,.contact-main textarea{border-color:#d7e0d1;border-radius:10px;color:#40564b;line-height:1.6}
.contact-main input::placeholder,.contact-main textarea::placeholder{color:#99a394}
.contact-main input:focus,.contact-main textarea:focus{outline:2px solid #a7c497;outline-offset:2px}
.contact-main button,.contact-main .button{background:#6c925e;color:#fff}
.contact-main .info{background:#fff}.contact-main .info hr{border-color:#e1e8dc}
.contact-main .closing{background:#f0f5ec;border-radius:18px;padding:28px}
.contact-main .closing p{color:#5c7153}
@media(max-width:600px){.contact-main .panel{padding:24px 20px}}

.contact-heading .free-estimate{font-size:clamp(26px,3vw,34px);font-weight:600;padding:12px 24px}
.contact-heading .free-estimate{background:#eaf7dd;color:#4e8737}
.contact-heading .free-estimate{font-family:"UD Digi Kyokasho NP-R","UD Digi Kyokasho N-R","Yu Gothic","Meiryo",sans-serif;font-weight:500;letter-spacing:.06em}

/* 全ページ共通のリンク・ボタン色 */
:root{--action:#4e8737;--action-hover:#3f702c;--green:var(--action)}
nav a,.zoom,.mobile-copy a,footer a,.info a,.social-qr{color:var(--action)}
nav .contact,nav a.contact[aria-current="page"],button,.button,.contact-main button,.contact-main .button{background:var(--action);color:#fff}
.art{container-type:inline-size}
.hotspot{background:var(--action);color:#fff;display:flex;align-items:center;justify-content:center;border-radius:999px;text-align:center;font-size:1.2cqw;font-weight:600;padding:0 .6cqw}
.hotspot .sr{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}
.hotspot:hover,button:hover,.button:hover,nav .contact:hover{background:var(--action-hover);color:#fff;box-shadow:none}
a:focus-visible,button:focus-visible{outline:3px solid #9bc67d;outline-offset:3px}


/* 共通の操作色：ライトブルー */
:root{--action:#b9e3f5;--action-hover:#9ed5ed;--green:#28799f}
nav a,.zoom,.mobile-copy a,footer a,.info a,.social-qr{color:#28799f}
nav .contact,nav a.contact[aria-current="page"],button,.button,.contact-main button,.contact-main .button,.hotspot{background:var(--action);color:#174e69}
.hotspot:hover,button:hover,.button:hover,nav .contact:hover{background:var(--action-hover);color:#174e69}
a:focus-visible,button:focus-visible{outline-color:#63b8dc}

:root{--action:#deeff9;--action-hover:#cce5f4}

/* 名刺に合わせた社名の文字 */
.brand strong{font-family:"Arial Black","Yu Gothic","Meiryo",sans-serif;font-weight:900;color:#061276;letter-spacing:.015em;text-shadow:.35px 0 currentColor,-.35px 0 currentColor}


/* 社名の下線を名刺の淡い水色に */
.brand strong{border-bottom:3px solid #b8e8e1;padding-bottom:4px}


/* 社名のある上段を名刺色の帯に */
header{height:auto;flex-wrap:wrap;padding:0;background:#fff;gap:0}
header .brand{width:100%;padding:10px 4.2%;background:#b8e8e1}
.brand strong{border-bottom:0;padding-bottom:0}
header nav{flex-basis:100%;padding:12px 4.2%;background:#fff}
@media(max-width:900px){header .brand{padding:10px 16px}header nav{padding:8px 16px}}


/* 帯の右側に大きなキャッチコピー */
header .brand>span:last-child{display:flex;align-items:center;justify-content:space-between;gap:28px;flex:1;min-width:0}
header .brand strong{flex-shrink:0}
header .brand small{font-size:clamp(18px,2.1vw,30px);line-height:1.6;margin:0 0 0 auto;color:#163e55;font-family:"UD Digi Kyokasho NP-R","Yu Gothic","Meiryo",sans-serif;font-weight:500}
@media(max-width:650px){header .brand>span:last-child{flex-wrap:wrap;gap:8px}header .brand small{margin-left:0;font-size:18px}}


header .brand small{font-family:"UD Digi Kyokasho NP-R","UD Digi Kyokasho N-R","Yu Gothic","Meiryo",sans-serif;font-size:clamp(26px,3vw,40px);font-weight:400;line-height:1.65;letter-spacing:.06em;white-space:nowrap;text-align:left;color:#36586a}
@media(max-width:650px){header .brand small{font-size:24px;white-space:normal}}


/* 下部も上部と同じ帯・文字色 */
footer{background:#b8e8e1;color:#36586a;border-top:0}
footer a,footer a:visited{color:#36586a}


/* 上部の帯：中央にまとまりを持たせた配置 */
header .brand{justify-content:center;gap:24px;padding:16px max(24px,calc((100% - 1200px)/2))}
header .brand>span:last-child{flex:0 1 1060px;justify-content:space-between;gap:clamp(28px,5vw,80px)}
header .brand strong{font-size:clamp(26px,3.1vw,44px)}
header .brand small{margin-left:0;font-size:clamp(25px,2.7vw,38px);line-height:1.45}
@media(max-width:900px){header .brand{padding:14px 20px;gap:16px}header .brand>span:last-child{gap:22px}header .brand strong{font-size:26px}header .brand small{font-size:25px}}
@media(max-width:650px){header .brand>span:last-child{flex:1;gap:10px}header .brand strong{font-size:24px}header .brand small{font-size:22px}}


/* 下部の書体・太さを上部のキャッチコピーに統一 */
footer,footer a{font-family:"UD Digi Kyokasho NP-R","UD Digi Kyokasho N-R","Yu Gothic","Meiryo",sans-serif;font-weight:400;letter-spacing:.06em;line-height:1.65}


footer .footer-brand{font-family:"Arial Black","Yu Gothic","Meiryo",sans-serif;font-weight:900;color:#061276;letter-spacing:.015em;text-shadow:.35px 0 currentColor,-.35px 0 currentColor;font-size:clamp(26px,3.1vw,44px)}
@media(max-width:900px){footer .footer-brand{font-size:26px}}@media(max-width:650px){footer .footer-brand{font-size:24px}}


/* 下部の会社情報を読みやすく配置 */
footer{align-items:center;justify-content:space-between;gap:24px 40px;padding:28px max(24px,calc((100% - 1200px)/2));font-size:17px;font-weight:600;line-height:1.9;letter-spacing:.03em}
footer a{font-size:18px;font-weight:600;line-height:1.9;letter-spacing:.03em}
footer .footer-brand{display:inline-block;margin-bottom:8px;line-height:1.4}
footer>span{min-width:0;overflow-wrap:anywhere}
@media(max-width:650px){footer{align-items:flex-start;flex-direction:column;gap:14px;padding:24px 20px;font-size:16px}footer a{font-size:17px}}


/* 無料案内も共通の青に統一 */
.contact-heading .free-estimate{background:var(--action);color:#174e69}


/* お問い合わせの会社情報をコンパクトに */
.contact-main .info{line-height:1.55}
.contact-main .info p{margin:12px 0}
.contact-main .info h2{margin:4px 0 16px}
.contact-main .info hr{margin:20px 0}
.contact-main .info a[href^="tel:"],.contact-main .info a[href^="mailto:"]{font-size:clamp(20px,2vw,25px);font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.contact-main .info a.phone{font-size:clamp(27px,3vw,38px);font-weight:700}


/* 会社情報と電話案内を横並びに */
.contact-main .columns{grid-template-columns:1fr}
.contact-main .contact-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.contact-main .telephone-details{border-left:1px solid #dce7eb;padding-left:28px}
@media(max-width:700px){.contact-main .contact-info-grid{grid-template-columns:1fr;gap:20px}.contact-main .telephone-details{border-left:0;border-top:1px solid #dce7eb;padding:20px 0 0}}


.company-info-heading{display:flex;align-items:center;gap:24px;margin-bottom:12px}
.contact-main .company-info-heading h2{margin:0}
.company-info-heading .logo{display:block;transform:none;width:116px;height:104px;margin:0;flex-shrink:0}


/* ロゴの英字を一色に統一 */
.logo:after{content:"lifepartner";position:absolute;left:0;top:43px;width:116px;height:23px;display:flex;align-items:center;justify-content:center;background:#fff;color:#08bfae;font-family:Arial,sans-serif;font-size:20px;font-weight:700;line-height:23px;letter-spacing:-.5px}


/* 会社名を途中で改行しない */
.company-info-heading{gap:12px;flex-wrap:wrap}
.contact-main .company-info-heading h2{white-space:nowrap;flex-shrink:0;font-size:clamp(22px,2.2vw,27px)}


.service-banner{position:relative;aspect-ratio:1227/224;overflow:hidden}.service-banner img{display:block;width:100%;margin-top:-7.66%}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:24px 3%}.service-grid article{border:1px solid #e0e8eb;border-radius:12px;padding:16px;display:flex;flex-direction:column;align-items:stretch}.service-grid h2{margin:0 0 14px;font-size:26px}.service-card-photo{aspect-ratio:270/186;background-image:url(assets/services-projects-final.png);background-size:454.444% auto;background-repeat:no-repeat}.service-grid p{line-height:1.8;flex:1}.service-grid .button{font-size:16px}.service-contact{text-align:center;padding:24px 20px 40px}.service-contact .button{display:inline-block}@media(max-width:750px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.service-grid{grid-template-columns:1fr}}

.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:480px){.service-grid{grid-template-columns:1fr}}
.service-card-photo.end-house-photos{background:none;display:grid;grid-template-columns:1fr 1fr;gap:4px}.end-house-photos span{background-image:url(assets/services-projects-final.png);background-repeat:no-repeat;background-size:943.846% auto}.end-house-exterior{background-position:42.66% 35.77%}.end-house-interior{background-position:97.36% 68.43%}
.end-house-photos .end-house-exterior{background-image:url(assets/block-house-1970s.png);background-size:contain;background-position:center;background-color:#f5f8f8}

