/* ===== voice.css — voice.html 専用スタイル ===== */

/* ----- Head inline ----- */
.offcanvas__menu-wrapper.mean-container { padding-bottom: 0 !important; }

/* ===== Customer Voices ===== */
.kc-voices-section {
  padding: 120px 0 100px;
  background: #e8e8e8;
}
.kc-voices-header {
  text-align: center;
  margin-bottom: 70px;
}
.kc-voices-sub {
  font-family: 'Kanit', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.kc-voices-title {
  font-family: 'Kanit', 'Noto Sans JP', sans-serif;
  font-size: 80px;
  font-weight: 500;
  color: var(--black-2);
  line-height: 1;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 1200px) and (max-width: 1399px) and (pointer: fine) {
  .kc-voices-title { font-size: 60px; }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px) {
  .kc-voices-title { font-size: 48px; }
}

.kc-voices-list {
  max-width: 1000px;
  margin: 0 auto;
}

/* Each voice card */
.kc-voice {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-bottom: 60px;
  background: #fafafa;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.kc-voice:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.25);
}
/* Alternate photo side */
.kc-voice:nth-child(even) {
  direction: rtl;
}
.kc-voice:nth-child(even) > * {
  direction: ltr;
}

/* Case number badge */
.kc-voice__case {
  display: block;
  font-family: 'Kanit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}

/* Photo column */
.kc-voice__photo {
  position: relative;
  overflow: hidden;
  background: #f7cae1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 30px 80px;
}
.kc-voice__photo img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

/* Text column */
.kc-voice__body {
  padding: 32px 36px 32px 0;
}
.kc-voice:nth-child(even) .kc-voice__body {
  padding: 32px 0 32px 36px;
}

.kc-voice__name {
  font-family: 'Kanit', 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--black-2);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.kc-voice__item {
  margin-bottom: 16px;
}
.kc-voice__item:last-child {
  margin-bottom: 0;
}
.kc-voice__q {
  font-family: 'Kanit', 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}
.kc-voice__a {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  margin: 0;
  text-align: justify;
}

/* ===== Mobile voices ===== */
@media only screen and (max-width: 767px) {
  .service__hero-2 { display: none !important; }
  .kc-voices-section { padding: 120px 0 20px; }
  .kc-voices-title { font-size: 36px; }
  .kc-voices-header { margin-bottom: 40px; }

  .kc-voice {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 40px;
  }
  .kc-voice:nth-child(even) {
    direction: ltr;
  }
  .kc-voice__photo {
    padding: 24px;
  }
  .kc-voice__body {
    padding: 24px 20px !important;
  }
  .kc-voice__name { font-size: 22px; }
  .kc-voice__q { font-size: 18px; }
  .kc-voice__a { font-size: 16px; }
}

/* Tablet (576px – 1024px) */
@media only screen and (min-width: 576px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 576px) and (max-width: 1199px) {
  .service__hero-2 { display: none !important; }
  .kc-voices-section { padding: 160px 0 60px; }
  .kc-voice__name { font-size: 22px; }
  .kc-voice__q { font-size: 18px; }
  .kc-voice__a { font-size: 16px; line-height: 1.7; text-align: justify; }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px) {
  .kc-voice {
    grid-template-columns: 220px 1fr;
    gap: 30px;
  }
}

/* ===== Closing ===== */
.kc-voice-closing {
  background: #fff;
  padding: 60px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.kc-voice-closing__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}
.kc-voice-closing__label {
  font-family: 'Kanit', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}
.kc-voice-closing__heading {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--black-2);
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0,0,0,0.25);
}
.kc-voice-closing__body p {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 26px;
  line-height: 2.2;
  color: #666;
  margin-bottom: 2em;
}
.kc-voice-closing__body p br { display: inline !important; }
@media only screen and (max-width: 767px) {
  .kc-voice-closing { padding: 80px 0; }
  .kc-voice-closing__inner { padding: 0 20px; }
  .kc-voice-closing__label { font-size: 16px; letter-spacing: 3px; }
  .kc-voice-closing__heading { font-size: 26px; margin-bottom: 40px; }
  .kc-voice-closing__heading br { display: inline !important; }
  .kc-voice-closing__body p { font-size: 16px; line-height: 2; text-align: justify; }
  .kc-voice-closing__body p br { display: none !important; }
}
@media only screen and (max-width: 575px) {
  .kc-voice-closing { padding: 50px 0 20px; }
  .kc-voice-closing__inner { padding: 0 20px; }
  .kc-voice-closing__label { font-size: 16px; letter-spacing: 3px; margin-bottom: 12px; }
  .kc-voice-closing__heading { font-size: 32px; margin-bottom: 28px; padding-bottom: 24px; }
  .kc-voice-closing__heading br { display: inline !important; }
  .kc-voice-closing__body { max-width: 320px; margin: 0 auto; }
  .kc-voice-closing__body p { font-size: 16px; line-height: 2; text-align: justify; margin-bottom: 1.5em; }
  .kc-voice-closing__body p br { display: none !important; }
}

/* ----- Tablet Closing (576px – 1024px) ----- */
@media only screen and (min-width: 576px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 576px) and (max-width: 1199px) {
  .kc-voice-closing { padding: 20px 0 30px; }
  .kc-voice-closing__heading { font-size: 48px; }
  .kc-voice-closing__body p { font-size: 18px; line-height: 2; }
}

/* ----- 小PC shape位置調整 ----- */
@media only screen and (min-width: 1400px) and (max-width: 1599px) {
  .service__hero-2 .shape-1 {
    top: 400px !important;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .service__hero-2 .shape-1 {
    top: 100px !important;
  }
}
