/* Unified small-work and service guide. Existing links #concerns and #services both remain valid. */
.hibiki-service-guide { position: relative; background: #e9ece3; scroll-margin-top: 100px; }
.hsg-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; scroll-margin-top: 100px; }
.hsg-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.hsg-heading .section-heading { margin: 0; }
.hsg-heading h2 { font-size: clamp(25px,2.5vw,38px); line-height: 1.65; }
.hsg-heading > .text-link { flex-shrink: 0; }
.hsg-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 40px; }
.hsg-item { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 24px; grid-template-rows: 144px auto 1fr; align-content: start; column-gap: 12px; padding: 30px 0 32px; border-top: 1px solid #a2aa98; color: #29312c; text-decoration: none; min-width: 0; }
.hsg-icon { grid-column: 1; width: 144px; height: 144px; background: url('../images/concerns/service-illustrations-color-transparent.png') var(--hsg-position,0% 0%) / 300% 200% no-repeat; -webkit-mask: none; mask: none; }
.hsg-number { grid-column: 2; grid-row: 1; justify-self: end; font: italic 13px Georgia,serif; color: #697264; }
.hsg-item h3 { grid-column: 1 / -1; margin: 22px 0 10px; font-family: var(--sans,sans-serif); font-size: clamp(16px,1.35vw,20px); font-weight: 500; line-height: 1.75; letter-spacing: .025em; }
.hsg-item p { grid-column: 1; margin: 0; color: #596253; font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
.hsg-arrow { grid-column: 2; grid-row: 3; justify-self: end; font-size: 21px; line-height: 1.2; transition: color .2s ease,transform .2s ease; }
.hsg-item:focus-visible { outline: 2px solid #d0161b; outline-offset: 6px; }
.hsg-item:focus-visible .hsg-arrow { color: #d0161b; }
@media(hover:hover) { .hsg-item:hover .hsg-arrow { color: #d0161b; } .hsg-item:hover .hsg-arrow { transform: translate(3px,-3px); } }
@media(max-width:1000px) { .hsg-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 30px; } .hsg-heading { align-items: flex-start; flex-direction: column; gap: 24px; } }
@media(max-width:600px) { .hsg-heading { margin-bottom: 28px; } .hsg-grid { grid-template-columns: 1fr; } .hsg-item { grid-template-columns: 84px minmax(0,1fr) 18px; grid-template-rows: auto auto; gap: 8px 16px; padding: 24px 0; } .hsg-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 84px; height: 84px; } .hsg-number { display: none; } .hsg-item h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 16px; } .hsg-item p { grid-column: 2; grid-row: 2; font-size: 11px; } .hsg-arrow { grid-column: 3; grid-row: 1 / 3; align-self: center; } }
@media(prefers-reduced-motion:reduce) { .hsg-icon,.hsg-arrow { transition: none; } .hsg-item:hover .hsg-arrow { transform: none; } }
.hsg-item--wall { --hsg-position: 0% 0%; }
.hsg-item--floor { --hsg-position: 50% 0%; }
.hsg-item--sheet { --hsg-position: 100% 0%; }
.hsg-item--curtain-blind { --hsg-position: 0% 100%; }
.hsg-item--water { --hsg-position: 50% 100%; }
.hsg-item--other { --hsg-position: 100% 100%; }

/* Centered service cards only; section header and chapter navigation are unchanged. */
.hibiki-service-guide .hsg-grid { gap: 20px; }
.hibiki-service-guide .hsg-item { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0; padding: 24px 24px 64px; border: 1px solid #8a9085; border-radius: 2px; background: #f5f5f0; color: #29312c; text-align: center; transition: background-color .2s ease,border-color .2s ease; }
.hibiki-service-guide .hsg-icon { flex: 0 0 auto; width: 176px; height: 176px; max-width: 100%; margin: 0 auto 12px; mix-blend-mode: multiply; }
.hibiki-service-guide .hsg-item h3 { width: 100%; margin: 0 0 10px; font-family: var(--sans,sans-serif); font-size: clamp(18px,1.55vw,25px); font-weight: 700; line-height: 1.55; letter-spacing: .01em; overflow-wrap: anywhere; }
.hibiki-service-guide .hsg-item p { width: 100%; margin: 0; color: #40483d; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.hibiki-service-guide .hsg-arrow { box-sizing: border-box; position: absolute; right: 18px; bottom: 16px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #29312c; border-radius: 50%; color: #29312c; background: transparent; font-size: 23px; line-height: 1; transform: none; transition: background-color .2s ease,color .2s ease; }
.hibiki-service-guide .hsg-item:focus-visible { background: #e4eadc; border-color: #29312c; outline: 2px solid #29312c; outline-offset: 3px; }
.hibiki-service-guide .hsg-item:focus-visible .hsg-arrow { color: #fff; background: #29312c; transform: none; }
@media(hover:hover) {
.hibiki-service-guide .hsg-item:hover { background: #e4eadc; border-color: #29312c; }
.hibiki-service-guide .hsg-item:hover .hsg-arrow { color: #fff; background: #29312c; transform: none; }
}
@media(max-width:1000px) {
.hibiki-service-guide .hsg-grid { gap: 16px; }
}
@media(max-width:600px) {
.hibiki-service-guide .hsg-item { padding: 20px 20px 60px; }
.hibiki-service-guide .hsg-icon { width: 144px; height: 144px; margin-bottom: 12px; }
.hibiki-service-guide .hsg-item h3 { font-size: 21px; }
.hibiki-service-guide .hsg-item p { font-size: 14px; }
}
@media(prefers-reduced-motion:reduce) {
.hibiki-service-guide .hsg-item,.hibiki-service-guide .hsg-arrow { transition: none; }
}

/* Circular service photography; section heading and surrounding content are unchanged. */
.hibiki-service-guide .hsg-grid { gap: 44px 32px; }
.hibiki-service-guide .hsg-item { padding: 8px 12px 20px; border: 0; border-radius: 0; background: transparent; }
.hibiki-service-guide .hsg-icon { position: relative; display: block; width: min(260px,100%); height: auto; aspect-ratio: 1; margin: 0 auto 24px; border-radius: 50%; overflow: hidden; background: none; mix-blend-mode: normal; isolation: isolate; }
.hibiki-service-guide .hsg-icon::before { content: ''; position: absolute; inset: 0; background: url('../images/concerns/service-photos.svg') var(--hsg-position,0% 0%) / 300% 200% no-repeat; transition: transform .65s cubic-bezier(.2,.65,.3,1); }
.hibiki-service-guide .hsg-icon::after { content: ''; position: absolute; inset: 5px; border: 1px solid transparent; border-radius: 50%; transition: border-color .25s ease; pointer-events: none; }
.hibiki-service-guide .hsg-item h3 { margin-bottom: 8px; }
.hibiki-service-guide .hsg-arrow { position: static; flex: 0 0 auto; margin: 12px auto 0; border-color: transparent; transition: transform .25s ease,background-color .25s ease,color .25s ease; }
.hibiki-service-guide .hsg-item:focus-visible { background: transparent; outline: 2px solid #29312c; outline-offset: 5px; }
.hibiki-service-guide .hsg-item:focus-visible .hsg-icon::after { border-color: #fff; }
.hibiki-service-guide .hsg-item:focus-visible .hsg-arrow { background: #29312c; color: #fff; }
@media(hover:hover) {
.hibiki-service-guide .hsg-item:hover { background: transparent; }
.hibiki-service-guide .hsg-item:hover .hsg-icon::before { transform: scale(1.04); }
.hibiki-service-guide .hsg-item:hover .hsg-icon::after { border-color: #fff; }
.hibiki-service-guide .hsg-item:hover .hsg-arrow { transform: translate(3px,-3px); }
}
@media(max-width:1000px) {
.hibiki-service-guide .hsg-grid { gap: 36px 24px; }
}
@media(max-width:600px) {
.hibiki-service-guide .hsg-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 16px; }
.hibiki-service-guide .hsg-item { padding: 0; }
.hibiki-service-guide .hsg-icon { width: min(180px,100%); height: auto; margin-bottom: 16px; }
.hibiki-service-guide .hsg-item h3 { font-size: 16px; }
.hibiki-service-guide .hsg-item p { font-size: 12px; }
}
@media(max-width:359px) {
.hibiki-service-guide .hsg-grid { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce) {
.hibiki-service-guide .hsg-icon::before,.hibiki-service-guide .hsg-icon::after,.hibiki-service-guide .hsg-arrow { transition: none; }
.hibiki-service-guide .hsg-item:hover .hsg-icon::before,.hibiki-service-guide .hsg-item:hover .hsg-arrow { transform: none; }
}


/* Horizontal circular-photo service cards: desktop 3 columns / tablet 2 / mobile 1. */
.hibiki-service-guide .hsg-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 28px; }
.hibiki-service-guide .hsg-item { display: grid; grid-template-columns: minmax(88px,36%) minmax(0,1fr); grid-template-rows: auto 1fr auto; align-items: start; align-content: stretch; gap: 10px 20px; min-width: 0; padding: 24px 12px 22px; border: 0; border-bottom: 1px solid #929b8c; border-radius: 0; background: transparent; text-align: left; transition: background-color .25s ease,border-color .25s ease; }
.hibiki-service-guide .hsg-icon { grid-column: 1; grid-row: 1 / 4; align-self: center; justify-self: center; width: 100%; max-width: 180px; height: auto; aspect-ratio: 1; margin: 0; }
.hibiki-service-guide .hsg-item h3 { grid-column: 2; grid-row: 1; align-self: end; width: auto; min-width: 0; margin: 4px 0 0; font-family: var(--sans,sans-serif); font-size: clamp(17px,1.2vw,22px); font-weight: 500; line-height: 1.55; letter-spacing: .025em; word-break: normal; overflow-wrap: anywhere; text-wrap: pretty; }
.hibiki-service-guide .hsg-item p { grid-column: 2; grid-row: 2; width: auto; min-width: 0; margin: 0; color: #465044; font-size: clamp(12px,.85vw,14px); line-height: 1.85; letter-spacing: .01em; word-break: normal; overflow-wrap: anywhere; }
.hibiki-service-guide .hsg-arrow { position: relative; inset: auto; grid-column: 2; grid-row: 3; align-self: end; justify-self: end; width: 36px; height: 36px; margin: 8px 0 0; border: 1px solid currentColor; background: transparent; color: #29312c; font-size: 0; transform: none; transition: background-color .25s ease,color .25s ease,transform .25s ease; }
.hibiki-service-guide .hsg-arrow::before { content: ''; width: 14px; height: 0; border-top: 1px solid currentColor; }
.hibiki-service-guide .hsg-arrow::after { content: ''; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translate(-1px,-50%) rotate(45deg); }
.hibiki-service-guide .hsg-item:focus-visible { background: #f5f5ed; border-color: #596253; outline: 2px solid #29312c; outline-offset: 3px; }
.hibiki-service-guide .hsg-item:focus-visible .hsg-arrow { background: #29312c; color: #fff; transform: none; }
@media(hover:hover) { .hibiki-service-guide .hsg-item:hover { background: #f5f5ed; border-color: #596253; } .hibiki-service-guide .hsg-item:hover .hsg-arrow { background: #29312c; color: #fff; transform: translateX(3px); } }
@media(max-width:1100px) { .hibiki-service-guide .hsg-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 24px; } .hibiki-service-guide .hsg-item h3 { font-size: 18px; } .hibiki-service-guide .hsg-item p { font-size: 13px; } }
@media(max-width:700px) { .hibiki-service-guide .hsg-grid { grid-template-columns: minmax(0,1fr); gap: 8px; } .hibiki-service-guide .hsg-item { grid-template-columns: clamp(88px,28vw,132px) minmax(0,1fr); gap: 8px 18px; padding: 20px 8px; } .hibiki-service-guide .hsg-item h3 { margin-top: 0; font-size: 18px; } .hibiki-service-guide .hsg-item p { font-size: 12px; } .hibiki-service-guide .hsg-arrow { width: 32px; height: 32px; margin-top: 4px; } }
@media(prefers-reduced-motion:reduce) { .hibiki-service-guide .hsg-item,.hibiki-service-guide .hsg-arrow { transition: none; } .hibiki-service-guide .hsg-item:hover .hsg-arrow { transform: none; } }

/* Homepage copy: fit descriptive headings without changing service cards. */
.home .promise-editorial .hibiki-strengths__title { font-family: var(--sans,sans-serif); font-size: clamp(18px,1.5vw,24px); line-height: 1.65; letter-spacing: .025em; overflow-wrap: anywhere; }
.home .promise-editorial .hibiki-strengths__desc { font-size: clamp(13px,1vw,15px); line-height: 1.9; }
.home .hibiki-door-contact .hdc-copy h2 { font-size: clamp(27px,3vw,46px); line-height: 1.65; overflow-wrap: anywhere; }
.home .hibiki-door-contact .hdc-door-cta { white-space: normal; flex-wrap: wrap; font-size: clamp(13px,1.1vw,17px); text-align: center; overflow-wrap: anywhere; }
.home .gallery-controls { justify-content: flex-end; }
.home .process-line li p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; }
.home #possibilities h2,.home #small h2 { text-wrap: pretty; overflow-wrap: anywhere; }
