/* お客様の声：共通ヘッダー・フッターはトップページのスタイルを継承。 */
.voice-page { color: #39352f; background: #f9f5f1; }
.voice-page .mainmenu > ul > li:focus-within > ul { display: block; }
.voice-page .voice-wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
#voice-main { line-height: 1.9; }
#voice-main a { color: inherit; }
#voice-main a:focus-visible, .voice-viewer :focus-visible { outline: 3px solid #984150; outline-offset: 5px; }
#voice-main section[id] { scroll-margin-top: 28px; }
.voice-breadcrumb { display: flex; gap: 16px; padding-block: 22px; font-size: 12px; color: #6c655e; }
.voice-breadcrumb a { text-underline-offset: 4px; }

.voice-hero h1 { font-size: clamp(32px, 3.3vw, 46px); font-weight: 600; letter-spacing: .12em; line-height: 1.5; }
.voice-intro { font-size: 14px; margin-top: 22px; }
.voice-text-link { display: inline-flex; gap: 26px; align-items: center; font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid #a79c8c; padding-block: 8px; }
.voice-hero .voice-text-link { margin-top: 20px; }
.voice-sections { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid #dcd2c6; }
.voice-sections a { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 23px 25px; font-size: 14px; font-weight: 600; }
.voice-sections a + a { border-left: 1px solid #dcd2c6; }
.voice-sections a span:first-child { color: #8c3545; font-size: 11px; letter-spacing: .1em; }
.voice-sections a span:last-child { margin-left: auto; }
.voice-sections a:hover { background: #efe8df; }
.voice-section { padding-block: 44px; }
.voice-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 24px; }
.voice-heading h2, .voice-google h2, .voice-consult h2 { font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif; font-weight: 600; font-size: clamp(24px, 2.4vw, 31px); line-height: 1.7; letter-spacing: .04em; }
.voice-heading > p { font-size: 14px; color: #686057; }
.voice-questionnaire-heading { margin-bottom: 14px; }
.voice-questionnaire-heading h2 { font-family: inherit; font-size: 18px; font-weight: 500; line-height: 1.8; letter-spacing: 0; }
.voice-hero { padding-block: 12px 28px; }
.voice-hero .voice-intro { margin-top: 10px; }
.voice-hero .voice-text-link { margin-top: 8px; }
.voice-photo-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x proximity; scrollbar-color: #a99c8d #eee7df; }
.voice-photo-controls { display: flex; justify-content: center; gap: 16px; margin-top: 16px; }
.voice-photo-controls button { width: 52px; height: 44px; border: 1px solid #843849; border-radius: 3px; background: #fff; color: #843849; font: inherit; font-size: 22px; cursor: pointer; }
.voice-photo-controls button:hover:not(:disabled) { background: #843849; color: #fff; }
.voice-photo-controls button:disabled { opacity: .3; cursor: default; }
.voice-photo-controls button:focus-visible { outline: 3px solid #984150; outline-offset: 4px; }
.voice-photo { scroll-snap-align: start; }
.voice-photo-grid:focus-visible { outline: 2px solid #843849; outline-offset: 5px; }
.voice-letter-grid { columns: 3; column-gap: 30px; padding-top: 6px; }
.voice-more { margin-top: 26px; }
.voice-more > summary { width: fit-content; margin: 0 auto; padding: 14px 30px; border: 1px solid #843849; border-radius: 3px; background: #fff; color: #843849; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.voice-more > summary::-webkit-details-marker { display: none; }
.voice-more > summary:hover { background: #f1e8e7; }
.voice-more > summary:focus-visible { outline: 3px solid #984150; outline-offset: 4px; }
.voice-more > summary span span { margin-left: 20px; }
.voice-more-open, .voice-more[open] .voice-more-closed { display: none; }
.voice-more[open] .voice-more-open { display: inline; }
.voice-more[open] > .voice-letter-grid { margin-top: 24px; animation: voice-reveal .3s ease-out; }
@keyframes voice-reveal { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .voice-more[open] > .voice-letter-grid { animation: none; } }
.voice-letter { display: flow-root; break-inside: avoid; padding-block: 18px; border-bottom: 1px solid #dcd2c6; }
.voice-paper { float: right; width: 80px; margin: 2px 0 8px 14px; }
.voice-paper img { width: 100%; height: 104px; object-fit: contain; }
.voice-paper figcaption { margin-top: 5px; font-size: 10px; color: #74695e; text-align: center; }
.voice-letter h3 { margin-top: 0; }
.voice-letter blockquote { line-height: 1.85; }
.voice-consult h2 { font-family: inherit; font-size: 23px; }
.voice-mobile-break { display: none; }
.voice-photo a { display: block; background: #eee7df; }
.voice-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.voice-photo figcaption { padding-top: 16px; }
.voice-photo-label { font-size: 11px; letter-spacing: .04em; color: #8c3545; }
.voice-photo p { margin-top: 5px; font-size: 14px; line-height: 1.8; }
.voice-google { background: #48544f; color: #fff; padding-block: 34px; }
.voice-google-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 50px; }
.voice-google h2 { font-size: clamp(24px, 2.3vw, 30px); }
.voice-google h2 + p { margin-top: 22px; font-size: 14px; color: #f0eee9; }
.voice-google-action { padding-left: 45px; border-left: 1px solid #7a8580; }
#voice-main .voice-button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; background: #843849; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.6; padding: 18px 26px; text-decoration: none; border-radius: 3px; }
#voice-main .voice-button-light { background: #fff; color: #35433c; }
#voice-main .voice-button:hover { filter: brightness(.93); }
.voice-google-action > p { font-size: 12px; margin-top: 13px; color: #e2e5df; }
.voice-google-reviews { padding-top: 30px; }
.voice-google-reviews > h3 { font-size: 16px; font-weight: 500; margin-bottom: 20px; }
.voice-google-review-grid { columns: 3; column-gap: 20px; }
.voice-google-review { break-inside: avoid; margin-bottom: 20px; padding: 22px; background: #f9f5f1; color: #39352f; border-radius: 3px; }
.voice-google-review blockquote { font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.voice-google-review figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; padding-top: 12px; border-top: 1px solid #ddd5cb; font-size: 12px; }
.voice-google-review figcaption > span { font-weight: 600; }
.voice-google-review figcaption a { text-underline-offset: 4px; }
.voice-google-review-note { font-size: 12px; color: #e2e5df; }
.voice-note { color: #6c655d; font-size: 12px; border-bottom: 1px solid #dcd2c6; padding-bottom: 24px; }
.voice-letter h3 { font-size: 15px; margin-block: 6px 13px; font-weight: 600; }
.voice-letter blockquote { font-size: 14px; line-height: 1.95; overflow-wrap: anywhere; }
.voice-paper a { display: block; background: #fff; padding: 6px; border: 1px solid #e0d8ce; }
.voice-consult { padding-block: 44px; text-align: center; }
.voice-consult > p { font-size: 14px; margin-top: 22px; }
.voice-consult .voice-button { margin: 30px auto 14px; }
.voice-consult .voice-text-link { display: flex; width: fit-content; margin-inline: auto; }
.voice-viewer { position: fixed; inset: 0; margin: auto; border: 0; border-radius: 4px; padding: 16px; width: min(1000px, calc(100% - 24px)); max-height: 94dvh; background: #f9f5f1; color: #39352f; }
.voice-viewer::backdrop { background: rgb(20 24 22 / 82%); }
.voice-viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; position: sticky; top: 0; background: #f9f5f1; padding: 6px 0; }
.voice-viewer-original { color: #39352f; font-size: 13px; text-underline-offset: 4px; }
.voice-viewer-close { font: inherit; cursor: pointer; padding: 9px 15px; border: 1px solid #b9afa2; background: #fff; border-radius: 3px; white-space: nowrap; }
.voice-viewer-image { margin: auto; width: auto; max-width: 100%; height: auto; }
.voice-page:has(.voice-viewer[open]) { overflow: hidden; }
.voice-page [hidden] { display: none !important; }
@media (max-width: 1000px) {
  .voice-google-review-grid { columns: 2; }
  .voice-letter-grid { columns: 2; }
  
  .voice-sections a { padding: 18px 12px; font-size: 12px; gap: 8px; }
  .voice-google-action { padding-left: 28px; }
}
@media (max-width: 700px) {
  .voice-google-review-grid { columns: 1; }
  .voice-google-review { padding: 18px; margin-bottom: 16px; }
  .voice-photo-grid { grid-auto-columns: 220px; gap: 16px; }
  .voice-letter-grid { columns: 1; }
  .voice-letter { padding-block: 16px; }
  .voice-page .voice-wrap { width: calc(100% - 40px); }
  .voice-breadcrumb { padding-block: 16px; font-size: 11px; }
  
  .voice-hero h1 { font-size: 34px; }
  .voice-intro { font-size: 13px; margin-top: 16px; }
  .voice-hero .voice-text-link { margin-top: 12px; }
  .voice-sections { grid-template-columns: 1fr; }
  .voice-sections a { font-size: 13px; padding: 14px 2px; gap: 18px; }
  .voice-sections a + a { border-left: 0; border-top: 1px solid #dcd2c6; }
  .voice-section { padding-block: 32px; }
  .voice-heading { display: block; margin-bottom: 26px; }
  .voice-heading > p { margin-top: 16px; font-size: 13px; }
  .voice-mobile-break { display: inline; }
  .voice-desktop-break { display: none; }
  .voice-photo figcaption { padding-top: 10px; }
  .voice-photo-label { font-size: 10px; }
  .voice-photo p { font-size: 13px; }
  .voice-google { padding-block: 44px; }
  .voice-google-inner { grid-template-columns: 1fr; gap: 28px; }
  .voice-google-action { padding: 24px 0 0; border-left: 0; border-top: 1px solid #7a8580; }
  #voice-main .voice-button { padding: 17px 19px; font-size: 13px; gap: 15px; }
  .voice-note { font-size: 11px; }
  .voice-letter h3 { font-size: 14px; }
  .voice-letter blockquote { font-size: 13px; }
  .voice-consult { padding-block: 36px; }
  .voice-consult h2 { font-size: 23px; }
  .voice-consult > p { font-size: 13px; }
}
@media (max-width: 360px) {
  .voice-page .voice-wrap { width: calc(100% - 32px); }
}
