/* Inspired by unie.jp's three-column feature section; uses Yushin's photo, brand and contact details. */
.home-refresh-v2 .footer-contact.contact-reference{position:relative;padding:0;background:#fff;color:#22251f;isolation:isolate}
.home-refresh-v2 .contact-reference-hero{position:relative;display:grid;place-items:center;min-height:280px;padding:48px 24px 66px;overflow:hidden;background:#253024;clip-path:polygon(0 0,100% 0,100% calc(100% - 32px),58% calc(100% - 32px),50% 100%,42% calc(100% - 32px),0 calc(100% - 32px))}
.home-refresh-v2 .contact-reference-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 66%;transition:transform 1.2s cubic-bezier(.2,.65,.3,1)}
.home-refresh-v2 .contact-reference-hero:after{content:"";position:absolute;inset:0;background:rgba(14,23,18,.52)}
.home-refresh-v2 .contact-reference-title{position:relative;z-index:1;text-align:center;color:#fff}
.home-refresh-v2 .contact-reference-title>span{display:block;font-size:12px;line-height:1.5;letter-spacing:.13em;margin:0 0 10px}
.home-refresh-v2 .contact-reference-title h2{font-size:36px;font-weight:700;line-height:1.5;letter-spacing:.055em;margin:0 0 13px;color:#fff}
.home-refresh-v2 .contact-reference-title p{font-size:13px;line-height:1.9;letter-spacing:.035em;margin:0;color:#fff;text-wrap:balance}
.home-refresh-v2 .contact-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:52px;max-width:1280px;margin:auto;padding:54px 42px 78px}
.home-refresh-v2 .contact-method{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0}
.home-refresh-v2 .contact-method-icon{display:grid;place-items:center;width:80px;height:80px;border:1.5px solid var(--brand-yellow,#f8e900);border-radius:50%;margin-bottom:22px}
.home-refresh-v2 .contact-method-icon:before{content:"";display:block;width:33px;height:33px;background:#22251f;mask-position:center;mask-size:contain;mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;transition:transform .35s}
.home-refresh-v2 .contact-method-icon.is-phone:before{mask-image:url('../image/home-contact-phone.svg');-webkit-mask-image:url('../image/home-contact-phone.svg')}
.home-refresh-v2 .contact-method-icon.is-mail:before{mask-image:url('../image/home-contact-envelope.svg');-webkit-mask-image:url('../image/home-contact-envelope.svg')}
.home-refresh-v2 .contact-method-icon.is-line:before{mask-image:url('../image/home-contact-line.svg');-webkit-mask-image:url('../image/home-contact-line.svg');width:36px;height:36px}
.home-refresh-v2 .contact-method h3{font-size:20px;line-height:1.6;font-weight:600;letter-spacing:.015em;margin:0 0 16px;color:#22251f}
.home-refresh-v2 .contact-method-description{font-size:13px;font-weight:400;line-height:1.9;color:#616a56;margin:0;min-height:50px;display:flex;flex-direction:column;justify-content:center}
.home-refresh-v2 .contact-method-description.footer-contact__hours{font-size:13px;font-weight:400;line-height:1.9;color:#616a56;margin:0;min-height:50px}
.home-refresh-v2 .contact-method-link{display:flex;align-items:center;justify-content:center;gap:15px;margin:23px 0 0;min-height:56px;width:100%;max-width:240px;padding:12px 16px;border:1px solid #bdc5b2;background:transparent;color:#22251f;font-size:13px;line-height:1.6;font-weight:500;text-decoration:none;box-shadow:none;transition:background .25s,border-color .25s}
.home-refresh-v2 .contact-method-link.footer-contact__phone{font-size:23px;font-weight:500;letter-spacing:.025em;line-height:1.3;color:#22251f}
.home-refresh-v2 .contact-method-link.is-primary{background:var(--brand-yellow,#f8e900);border-color:var(--brand-yellow,#f8e900)}
.home-refresh-v2 .contact-method-link>span{display:block;width:16px;height:16px;background:currentColor;mask:url('../image/news-arrow.svg') center/contain no-repeat;-webkit-mask:url('../image/news-arrow.svg') center/contain no-repeat;transition:transform .25s}
.home-refresh-v2 .contact-method-link:hover{background:#eef1e8;border-color:#8c987b;color:#22251f}
.home-refresh-v2 .contact-method-link.is-primary:hover{background:#e6da00;border-color:#e6da00}
.home-refresh-v2 .contact-method-link:hover>span{transform:translateX(4px)}
.home-refresh-v2 .contact-method-link:focus-visible{outline:2px solid #747e62;outline-offset:4px}
@media(hover:hover){.home-refresh-v2 .contact-method:hover .contact-method-icon:before{transform:translateY(-3px)}}
@media(max-width:1000px){.home-refresh-v2 .contact-methods{gap:24px;padding-left:28px;padding-right:28px}.home-refresh-v2 .contact-method h3{font-size:18px}.home-refresh-v2 .contact-method-link{font-size:12px;padding-left:10px;padding-right:10px;gap:8px}.home-refresh-v2 .contact-method-link.footer-contact__phone{font-size:20px}}
@media(max-width:680px){
 .home-refresh-v2 .contact-reference-hero{min-height:245px;padding:40px 24px 62px;clip-path:polygon(0 0,100% 0,100% calc(100% - 22px),62% calc(100% - 22px),50% 100%,38% calc(100% - 22px),0 calc(100% - 22px))}
 .home-refresh-v2 .contact-reference-title h2{font-size:28px;margin-bottom:12px}.home-refresh-v2 .contact-reference-title>span{font-size:10px}.home-refresh-v2 .contact-reference-title p{font-size:12px;line-height:1.9;max-width:320px}.home-refresh-v2 .contact-reference-hero>img{object-position:38% center}
 .home-refresh-v2 .contact-methods{grid-template-columns:1fr;gap:42px;padding:40px 24px 62px}.home-refresh-v2 .contact-method-icon{width:68px;height:68px;margin-bottom:18px}.home-refresh-v2 .contact-method-icon:before{width:28px;height:28px}.home-refresh-v2 .contact-method-icon.is-line:before{width:31px;height:31px}.home-refresh-v2 .contact-method h3{font-size:19px;margin-bottom:9px}.home-refresh-v2 .contact-method-description,.home-refresh-v2 .contact-method-description.footer-contact__hours{font-size:12px;min-height:0;line-height:1.9}.home-refresh-v2 .contact-method-link{max-width:270px;min-height:48px;margin-top:18px;font-size:13px}.home-refresh-v2 .contact-method-link.footer-contact__phone{font-size:24px}
}
@media(prefers-reduced-motion:reduce){.home-refresh-v2 .contact-reference-hero>img,.home-refresh-v2 .contact-method-icon:before,.home-refresh-v2 .contact-method-link,.home-refresh-v2 .contact-method-link>span{transition:none;transform:none!important}}

/* Reference-style parallax: the photograph stays anchored while the banner scrolls. */
.home-refresh-v2 .contact-reference-hero{background-image:url('../image/contact-handshake-20261118.webp?v=20261118');background-size:cover;background-repeat:no-repeat;background-position:center 64%;background-attachment:fixed}
.home-refresh-v2 .contact-reference-hero>img{visibility:hidden}
@media(max-width:680px){
 .home-refresh-v2 .contact-reference-hero{background-image:none;background-attachment:scroll;view-timeline-name:--contact-photo;view-timeline-axis:block}
 .home-refresh-v2 .contact-reference-hero>img{visibility:visible;inset:-22% 0;width:100%;height:144%;object-position:38% center;transition:none}
 @supports(animation-timeline:view()){
  .home-refresh-v2 .contact-reference-hero>img{animation:contact-reference-parallax linear both;animation-timeline:--contact-photo;animation-range:entry 0% exit 100%}
 }
}
@keyframes contact-reference-parallax{from{transform:translateY(-12%)}to{transform:translateY(12%)}}
@media(prefers-reduced-motion:reduce){
 .home-refresh-v2 .contact-reference-hero{background-attachment:scroll}
 .home-refresh-v2 .contact-reference-hero>img{animation:none!important;transform:none!important}
}
/* Clip the decorative edge without creating a nested scroll container. */
.home-refresh-v2 .footer-contact.contact-reference{overflow:clip}
/* Explicit root timeline also works when a mobile layout clips horizontal overflow. */
.home-refresh-v2 .contact-reference-hero{overflow:clip}
@media(max-width:680px){
 @supports(animation-timeline:scroll(root block)){
  .home-refresh-v2 .contact-reference-hero>img{animation-timeline:scroll(root block);animation-range:var(--contact-parallax-start,0px) var(--contact-parallax-end,100%)}
 }
}

/* Mobile contact: compact rows, generous tap targets and left-aligned information. */
@media(max-width:680px){
 .home-refresh-v2 .contact-reference-hero{min-height:210px;padding:34px 24px 52px}
 .home-refresh-v2 .contact-reference-title h2{font-size:27px;margin-bottom:10px}
 .home-refresh-v2 .contact-reference-title p{font-size:12px;line-height:1.85;max-width:300px}
 .home-refresh-v2 .contact-methods{display:block;padding:16px 24px 36px}
 .home-refresh-v2 .contact-method{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:16px;row-gap:7px;text-align:left;align-items:start;padding:26px 0;border-bottom:1px solid #e1e5db}
 .home-refresh-v2 .contact-method:last-child{border-bottom:0}
 .home-refresh-v2 .contact-method-icon{grid-column:1;grid-row:1/3;width:48px;height:48px;margin:0;border-width:1px}
 .home-refresh-v2 .contact-method-icon:before{width:23px;height:23px}
 .home-refresh-v2 .contact-method-icon.is-line:before{width:26px;height:26px}
 .home-refresh-v2 .contact-method h3{grid-column:2;grid-row:1;font-size:16px;line-height:1.6;margin:0;font-weight:600;letter-spacing:0}
 .home-refresh-v2 .contact-method-description,.home-refresh-v2 .contact-method-description.footer-contact__hours{grid-column:2;grid-row:2;display:block;font-size:11px;line-height:1.8;min-height:0;margin:0;color:#68705d}
 .home-refresh-v2 .contact-method-description br{display:none}
 .home-refresh-v2 .contact-method-link{grid-column:1/-1;grid-row:3;width:100%;max-width:none;min-height:48px;justify-content:space-between;padding:13px 17px;margin:11px 0 0;font-size:13px;border-color:#cbd2c0;background:#f7f8f4}
 .home-refresh-v2 .contact-method-link.is-primary{background:var(--brand-yellow,#f8e900);border-color:var(--brand-yellow,#f8e900)}
 .home-refresh-v2 .contact-method-link.footer-contact__phone{font-size:23px;line-height:1.35;justify-content:center;letter-spacing:.045em;min-height:52px}
}
@media(max-width:360px){
 .home-refresh-v2 .contact-methods{padding-left:20px;padding-right:20px}
 .home-refresh-v2 .contact-method{grid-template-columns:44px minmax(0,1fr);column-gap:12px}
 .home-refresh-v2 .contact-method-icon{width:44px;height:44px}
 .home-refresh-v2 .contact-method h3{font-size:15px}
}

/* Mobile handshake composition: keep the hands within the contact band. */
@media(max-width:680px){
 .home-refresh-v2 .contact-reference-hero>img{inset:-18% 0 auto;height:128%;object-position:60% center}
}

/* Two-tone outline icons inspired by the supplied contact reference. */
.home-refresh-v2 .contact-method-icon:before{mask:none!important;-webkit-mask:none!important;background:transparent center/contain no-repeat;width:44px;height:44px}
.home-refresh-v2 .contact-method-icon.is-phone:before{background-image:url('../image/contact-phone-accent.svg?v=20261119gold')}
.home-refresh-v2 .contact-method-icon.is-mail:before{background-image:url('../image/contact-envelope-accent.svg?v=20261119gold')}
.home-refresh-v2 .contact-method-icon.is-line:before{background-image:url('../image/contact-line-accent.svg?v=20261119gold');width:44px;height:44px}
@media(max-width:680px){.home-refresh-v2 .contact-method-icon:before,.home-refresh-v2 .contact-method-icon.is-line:before{width:27px;height:27px}}

/* Match the icon rings to the deeper gold accents. */
.home-refresh-v2 .contact-method-icon{border-color:#b18b00}
