:root {
  color-scheme: light;
  --ink: #352d2a;
  --ink-soft: #6b5f59;
  --ink-faint: #9f9088;
  --line: rgba(95, 73, 57, 0.11);
  --line-strong: rgba(95, 73, 57, 0.18);
  --gold: #b78a5f;
  --paper: #fffdfa;
  --paper-soft: #f8f1eb;
  --paper-warm: #f1e6dc;
  --shadow-soft: 0 20px 42px rgba(97, 73, 58, 0.06);
  --shell: min(1240px, calc(100% - 32px));
  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-serif: "Shippori Mincho", "Yu Mincho", serif;
  --section-space: clamp(76px, 9vw, 116px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(74, 61, 50, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(74, 61, 50, 0.014) 1px, transparent 1px),
    linear-gradient(180deg, #fffdfa 0%, #fbf4ee 48%, #f6eee7 100%);
  background-size: 44px 44px, 44px 44px, auto;
  font-family: var(--font-sans);
  line-height: 1.84;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ol,
li,
dl,
dt,
dd,
figure,
blockquote {
  margin: 0;
}

ol {
  padding: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.voice-page {
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.section-label::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.72;
}

.voice-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(129px, 13.6vw, 162px) 0 clamp(84px, 9vw, 116px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(250, 248, 244, 0.96) 0%, rgba(248, 244, 237, 0.88) 40%, rgba(243, 236, 225, 0.28) 62%, rgba(238, 228, 212, 0.08) 100%),
    linear-gradient(180deg, rgba(250, 248, 244, 0.82), rgba(243, 236, 225, 0.28));
}

.voice-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 16%;
  background:
    linear-gradient(90deg, rgba(250, 248, 244, 0.98) 0%, rgba(248, 244, 237, 0.94) 12%, rgba(244, 237, 226, 0.62) 20%, rgba(239, 229, 214, 0.18) 27%, rgba(236, 224, 205, 0) 38%, rgba(236, 224, 205, 0) 100%),
    linear-gradient(180deg, rgba(250, 248, 244, 0.04), rgba(238, 228, 212, 0.12)),
    url("../images/product-hero-anniversary-corporate.jpeg") right center / min(96vw, 1380px) auto no-repeat;
  content: "";
  opacity: 1;
  z-index: -2;
}

.voice-hero::after {
  position: absolute;
  right: clamp(18px, 6vw, 86px);
  bottom: clamp(22px, 5vw, 64px);
  color: rgba(67, 55, 48, 0.1);
  content: "\201C";
  font-family: Georgia, serif;
  font-size: clamp(6rem, 14vw, 13rem);
  line-height: 0.74;
  pointer-events: none;
  z-index: -1;
}

.voice-hero .shell {
  position: relative;
  z-index: 1;
  width: min(1188px, calc(100% - 28px));
}

.voice-hero h1 {
  margin-top: 26px;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5.6vw, 4.62rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

.voice-hero__copy {
  margin-top: 36px;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.2vw, 2.7rem);
  font-weight: 600;
  line-height: 1.45;
}

.voice-hero__lead {
  margin-top: 28px;
  max-width: 680px;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 2.05;
}

.voice-cases {
  padding: var(--section-space) 0 clamp(53px, 6.3vw, 81px);
}

.voice-case__number {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(91, 78, 63, 0.62);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.voice-case__number::after {
  flex: 1;
  max-width: 180px;
  height: 1px;
  background: rgba(91, 78, 63, 0.18);
  content: "";
}

.voice-cases {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.52);
}

.voice-case {
  scroll-margin-top: 120px;
}

.voice-case + .voice-case {
  margin-top: clamp(48px, 5.6vw, 73px);
  padding-top: clamp(60px, 7vw, 92px);
  border-top: 1px solid var(--line);
}

.voice-case,
.voice-case * {
  font-family: "Noto Serif JP", "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.voice-case__number {
  margin-bottom: 24px;
}

.voice-case__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.voice-case__visual {
  min-width: 0;
}

.voice-case__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  box-shadow: var(--shadow-soft);
}

.voice-case__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-case__image img.is-main-zoom {
  transform: scale(1.1);
  transform-origin: center center;
}

.voice-case__image img.is-main-zoom-20 {
  transform: scale(1.2);
  transform-origin: center center;
}

.voice-case__image img.is-contain {
  object-fit: contain;
  transform: none;
}

.voice-case__thumbs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin-top: 12px;
}

.voice-case__thumb {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(95, 73, 57, 0.12);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.voice-case__thumb.is-current {
  border-color: #b78a5f;
}

.voice-case__thumb:focus-visible {
  outline: 2px solid rgba(91, 78, 63, 0.46);
  outline-offset: 2px;
}

.voice-case__thumb img {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.voice-lab-comment {
  margin-top: 24px;
  padding: 22px 24px 24px;
  border-top: 1px solid #7f7b76;
  background: #e8e7e5;
}

.voice-case__visual > .voice-lab-comment:first-child {
  margin-top: 0;
}

.voice-lab-comment__label {
  margin-bottom: 10px;
  color: rgba(91, 78, 63, 0.66);
  font-family: "Noto Serif JP", "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.voice-lab-comment__text {
  color: var(--ink);
  font-family: "Noto Serif JP", "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.9;
}

.voice-lab-comment__date {
  margin-top: 14px;
  color: rgba(91, 78, 63, 0.72);
  font-family: "Noto Serif JP", "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.7;
  text-align: right;
}

.voice-case__content {
  min-width: 0;
  padding: 28px 32px;
  background: rgba(244, 238, 228, 0.52);
  box-sizing: border-box;
}

.voice-info {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(113, 95, 72, 0.16);
}

.voice-info__item {
  display: grid;
  grid-template-columns: minmax(110px, 128px) minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(113, 95, 72, 0.16);
}

.voice-info dt {
  color: rgba(91, 78, 63, 0.62);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.65;
}

.voice-info dt span {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.voice-info dd {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
  min-width: 0;
}

.voice-info__item--company dd {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 500;
  line-height: 1.55;
}

.voice-info__comment {
  padding: 20px 24px;
  border-left: 2px solid rgba(156, 124, 82, 0.32);
  background: rgba(238, 229, 214, 0.48);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  font-weight: 400;
  line-height: 1.95;
}

.voice-info__comment p + p {
  margin-top: 0.85em;
}

.voice-support-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  list-style: none;
  padding: 0;
}

.voice-support-list li {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
}

.voice-brand-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #695846;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
  text-decoration: none;
  white-space: normal;
  text-underline-offset: 0.24em;
  transition: color 0.25s ease;
}

.voice-brand-link__arrow {
  white-space: nowrap;
}

.voice-brand-link:hover,
.voice-brand-link:focus-visible {
  color: #231b16;
  text-decoration: underline;
  outline: none;
}

.page-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

@media (max-width: 820px) {
  .voice-hero {
    padding-top: 116px;
  }

  .voice-hero::before {
    inset: 0;
    background:
      linear-gradient(180deg, rgba(250, 248, 244, 0.98) 0%, rgba(248, 244, 237, 0.88) 48%, rgba(243, 236, 225, 0.36) 100%),
      linear-gradient(90deg, rgba(250, 248, 244, 0.94) 0%, rgba(244, 237, 226, 0.72) 38%, rgba(238, 228, 212, 0.2) 100%),
      url("../images/product-hero-anniversary-corporate.jpeg") right bottom / 140vw auto no-repeat;
    opacity: 1;
  }

  .voice-hero::after {
    right: 12px;
    bottom: 18px;
    font-size: clamp(5rem, 24vw, 8rem);
  }

  .voice-hero__lead br {
    display: none;
  }

  .voice-case__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .voice-case {
    display: flex;
    flex-direction: column;
  }

  .voice-case__grid,
  .voice-case__visual {
    display: contents;
  }

  .voice-case__image {
    order: 1;
  }

  .voice-case__thumbs {
    order: 2;
  }

  .voice-case__content {
    order: 3;
    margin-top: 22px;
    padding: 24px 20px;
  }

  .voice-lab-comment {
    order: 4;
  }

  .voice-info__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .voice-info__item--company dd {
    font-size: clamp(1.25rem, 5vw, 1.38rem);
  }

  .voice-support-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
  }

  .voice-case__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
}

@media (max-width: 560px) {
  body {
    line-height: 1.78;
  }

  .shell {
    width: min(100% - 24px, 1120px);
  }

  .section-label {
    gap: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.13em;
  }

  .section-label::before {
    width: 24px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
