/* =====================================================
   Yasuragi no Sato - お客様の声 (Guest Voice) Page
   Based on Figma Design Data
   ===================================================== */

/* =====================================================
   CSS Variables
   ===================================================== */
:root {
  --color-primary: #4a9255;
  --color-primary-dark: #3d7a47;
  --color-bg-cream: #fffbf1;
  --color-bg-light: #fffcf8;
  --color-bg-beige: #faf4ec;
  --color-btn-orange: #d67c3d;
  --color-btn-orange-hover: #c26a2d;
  --color-text-dark: #352304;
  --color-text-body: #5a5a5a;
  --color-text-light: #666666;
  --color-text-brown: #604D44;
  --color-border: #d4c4b0;
  --color-border-light: #e0d5c8;
  --color-white: #ffffff;
  --font-mincho: 'Shippori Mincho B1', 'YuMincho', 'Yu Mincho', serif;
  --font-gothic: 'YuGothic', 'Yu Gothic', 'Hiragino Sans', sans-serif;
  --font-italiana: 'Italiana', serif;
  --container-max: 1000px;
  --container-wide: 1200px;
}

/* =====================================================
   Reset & Base
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-gothic);
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-body);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 720px;
  margin-top: clamp(60px, 5.56vw, 80px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 626px;
  height: 100%;
  background: linear-gradient(263deg, rgba(255, 255, 255, 0.00) 11.54%, rgba(176, 167, 157, 0.40) 29.37%, rgba(100, 81, 63, 0.50) 69.65%);
  pointer-events: none;
}

.hero__title-area--center {
  position: absolute;
  left: 157px;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  z-index: 1;
}

.hero__title {
  font-family: var(--font-mincho);
  font-size: 64px;
  font-weight: 600;
  color: #fffbf1;
  letter-spacing: 6.4px;
  line-height: 70px;
}

.hero__subtitle {
  font-family: var(--font-italiana);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.9px;
  color: var(--color-white);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  margin-top: 8px;
}

/* =====================================================
   Voice Section (お客様の声)
   ===================================================== */
.voice-section {
  background: var(--color-bg-cream);
  padding: 120px 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.voice-section__title {
  font-family: 'FOT-TsukuAntiqueLMin Std', var(--font-mincho);
  font-size: 64px;
  font-weight: 300;
  color: var(--color-text-dark);
  line-height: 94px;
  text-align: center;
}

/* Testimonial Cards */
.voice-testimonials {
  max-width: 902px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.voice-card {
  display: flex;
  align-items: flex-start;
}

.voice-card--reverse {
  flex-direction: row-reverse;
}

.voice-card__illustration {
  flex-shrink: 0;
  width: 322px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.voice-card__illust-img {
  width: 322px;
  height: 343px;
  object-fit: contain;
}

.voice-card__bottom {
  display: none;
}

.voice-card__label {
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text-brown);
  line-height: 54px;
  margin-top: 8px;
}

.voice-card__separator {
  display: inline-block;
  margin: 0 4px;
}

.voice-card__photo {
  flex-shrink: 0;
  width: 600px;
  background: var(--color-bg-cream);
  border: 0.5px solid rgba(96, 77, 68, 0.5);
  padding: 10px 9px;
  margin-left: -20px;
  position: relative;
  z-index: 1;
  align-self: center;
}

.voice-card--reverse .voice-card__photo {
  margin-left: 0;
  margin-right: -20px;
}

.voice-card__photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* =====================================================
   "すべて見る" Button
   ===================================================== */
.voice-btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 375px;
  height: 73px;
  background: var(--color-text-dark);
  color: white;
  font-family: var(--font-gothic);
  font-size: 18px;
  font-weight: 700;
  line-height: 36px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.voice-btn-more:hover {
  opacity: 0.9;
}

/* =====================================================
   Video Section (動画)
   ===================================================== */
.voice-video-section {
  background: var(--color-bg-cream);
  padding: 100px 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.voice-video-section__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1180px;
  max-width: 100%;
}

.voice-section-decoration {
  position: absolute;
  width: 440px;
  height: 121px;
  z-index: 0;
}

.voice-video-section__title,
.voice-blog-section__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-mincho);
  font-size: 42px;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 62px;
  text-align: center;
}

.voice-video-cards {
  display: flex;
  gap: 60px;
  max-width: 1180px;
  width: 100%;
}

.voice-video-card {
  width: 560px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.voice-video-card__thumb {
  width: 560px;
  height: 315px;
  overflow: hidden;
  border-radius: 0;
  position: relative;
}

.voice-video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.voice-video-card:hover .voice-video-card__play {
  opacity: 0.8;
}

.voice-video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-video-card__title {
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text-brown);
  line-height: 54px;
}

.voice-video-card__divider {
  width: 100%;
  height: 1px;
  background: var(--color-text-dark);
}

/* =====================================================
   Blog Section (滞在記)
   ===================================================== */
.voice-blog-section {
  background: var(--color-bg-cream);
  padding: 100px 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.voice-blog-section__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1180px;
  max-width: 100%;
}

.voice-blog-cards {
  display: flex;
  gap: 50px;
  max-width: 1181px;
  width: 100%;
  justify-content: center;
}

.voice-blog-card {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.voice-blog-card:hover {
  opacity: 0.8;
}

.voice-blog-card__thumb {
  width: 300px;
  height: 216px;
  overflow: hidden;
}

.voice-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-blog-card__text {
  display: contents;
}

.voice-blog-card__title {
  font-family: var(--font-gothic);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-dark);
  line-height: 30px;
  height: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  text-overflow: ellipsis;
}

.voice-blog-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 5px;
}

.voice-blog-card__divider {
  width: 100%;
  height: 1px;
  background: var(--color-text-dark);
}

.voice-blog-card__date {
  font-family: 'FOT-TsukuAntiqueLMin Std', var(--font-mincho);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 1.5px;
  color: var(--color-text-dark);
  text-align: right;
}

/* =====================================================
   CTA Section
   ===================================================== */
.cta-new {
  background: #FFFFFF;
  padding: 61px 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.cta-new__buttons {
  display: flex;
  gap: 60px;
}

.cta-new__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 470px;
  height: 120px;
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 600;
  line-height: 54px;
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.cta-new__btn:hover {
  opacity: 0.9;
}

.cta-new__btn--web {
  background: #d67c3d;
}

.cta-new__btn--phone {
  background: #4a9255;
}

.cta-new__btn-icon {
  width: 26px;
  height: 26px;
}

.cta-new__btn-icon--phone {
  width: 34px;
  height: 26px;
}

.cta-new__download {
  width: calc(470px + 60px + 470px);
  background: #352304;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 64px;
  height: 148px;
}

.cta-new__download-label {
  font-family: var(--font-gothic);
  font-size: 24px;
  font-weight: 500;
  line-height: 44px;
  color: white;
  text-align: center;
  margin-bottom: 0;
}

.cta-new__download-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 600;
  line-height: 54px;
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.cta-new__download-link:hover {
  opacity: 0.8;
}

.cta-new__download-icon {
  width: 26px;
  height: 26px;
}

/* =====================================================
   Utility Classes
   ===================================================== */
.sp-only { display: none !important; }
.pc-only { display: inline !important; }

/* =====================================================
   SP Responsive (max-width: 768px)
   ===================================================== */
@media (max-width: 768px) {
  .sp-only { display: inline !important; }
  .pc-only { display: none !important; }
  img.sp-only { display: block !important; }

  /* ===== Hero SP ===== */
  .hero {
    height: 570px !important;
    margin-top: 80px !important;
  }

  .hero__overlay {
    width: 256px !important;
    opacity: 0.5;
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(176, 167, 157, 0.8) 32.9%, #64513F 64.8%) !important;
  }

  .hero__title-area--center {
    left: 41px !important;
    top: auto !important;
    bottom: 20px !important;
    transform: none !important;
  }

  .hero__title {
    font-size: 50px !important;
    font-weight: 600;
    letter-spacing: 5px !important;
    line-height: 70px !important;
  }

  .hero__subtitle {
    font-size: 16px !important;
    letter-spacing: 0.8px !important;
  }

  /* ===== Voice Section SP ===== */
  .voice-section {
    padding: 50px 30px !important;
    gap: 50px !important;
  }

  .voice-section__title {
    font-family: 'FOT-TsukuAntiqueLMin Std', var(--font-mincho) !important;
    font-size: 36px !important;
    line-height: 55px !important;
    font-weight: 300;
    letter-spacing: 1.08px !important;
  }

  .voice-testimonials {
    max-width: 330px !important;
    gap: 30px !important;
  }

  .voice-card {
    flex-direction: column !important;
    align-items: center !important;
  }

  .voice-card--reverse {
    flex-direction: column !important;
  }

  /* SP: hide PC illustration, show bottom area */
  .voice-card__illustration {
    display: none !important;
  }

  .voice-card__photo {
    width: 330px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 5.5px 5px !important;
    background: var(--color-bg-cream) !important;
    border: 0.5px solid rgba(96, 77, 68, 0.5) !important;
  }

  .voice-card--reverse .voice-card__photo {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .voice-card__bottom {
    display: flex !important;
    align-items: center;
    gap: 0;
    margin-top: -24px;
    width: 330px;
    position: relative;
    z-index: 2;
  }

  .voice-card__bottom-illust {
    width: 140px;
    flex-shrink: 0;
  }

  .voice-card__bottom-illust-img {
    width: 140px;
    height: 139px;
    object-fit: contain;
  }

  .voice-card__bottom-label {
    font-family: var(--font-mincho);
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    color: #604D44;
    white-space: nowrap;
  }

  /* Reverse: illustration right, label left */
  .voice-card__bottom--reverse {
    flex-direction: row-reverse;
  }

  .voice-btn-more {
    width: 310px !important;
    height: 73px !important;
    font-size: 18px !important;
  }

  /* ===== Video Section SP ===== */
  .voice-video-section {
    padding: 50px 40px !important;
    gap: 50px !important;
  }

  .voice-video-section__header {
    width: 310px !important;
  }

  .voice-section-decoration {
    width: 225px !important;
    height: 61px !important;
  }

  .voice-video-section__title,
  .voice-blog-section__title {
    font-size: 36px !important;
    line-height: 55px !important;
    font-weight: 500;
    letter-spacing: 1.08px !important;
  }

  .voice-video-cards {
    flex-direction: column !important;
    gap: 30px !important;
    max-width: 310px !important;
  }

  .voice-video-card {
    width: 310px !important;
  }

  .voice-video-card__thumb {
    width: 310px !important;
    height: 174px !important;
  }

  .voice-video-card__title {
    font-size: 18px !important;
    line-height: 36px !important;
    font-weight: 600;
  }

  /* ===== Blog Section SP ===== */
  .voice-blog-section {
    padding: 50px 40px !important;
    gap: 50px !important;
  }

  .voice-blog-section__header {
    width: 310px !important;
  }

  .voice-blog-cards {
    flex-direction: column !important;
    gap: 30px !important;
    max-width: 310px !important;
  }

  .voice-blog-card {
    width: 310px !important;
    flex-direction: row !important;
    gap: 10px !important;
    height: 93px !important;
  }

  .voice-blog-card__thumb {
    width: 130px !important;
    height: 93px !important;
    flex-shrink: 0;
  }

  .voice-blog-card__text {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    width: 170px !important;
    height: 93px !important;
  }

  .voice-blog-card__title {
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 28px !important;
    height: 56px !important;
    overflow: hidden !important;
    align-items: flex-start !important;
  }

  .voice-blog-card__bottom {
    margin-top: 0 !important;
    gap: 10px !important;
  }

  .voice-blog-card__divider {
    width: 170px !important;
  }

  .voice-blog-card__date {
    font-family: 'FOT-TsukuAntiqueLMin Std', var(--font-mincho) !important;
    font-size: 12px !important;
    font-weight: 300 !important;
    letter-spacing: 1.2px !important;
    line-height: 22px !important;
    text-align: right !important;
  }

  /* ===== CTA SP ===== */
  .section.cta-new {
    padding: 50px 0 !important;
    margin: 0 !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .cta-new__buttons {
    flex-direction: column;
    gap: 10px !important;
    width: 100%;
  }

  .cta-new__btn {
    width: 100% !important;
    max-width: none !important;
    height: 120px !important;
    font-size: 24px !important;
    line-height: 54px !important;
  }

  .cta-new__download {
    width: 100% !important;
    max-width: none !important;
    height: 148px !important;
    padding: 18px 30px !important;
  }

  .cta-new__download-label {
    font-size: 20px !important;
    line-height: 30px !important;
    font-weight: 500;
  }

  .cta-new__download-link {
    font-size: 24px !important;
    line-height: 54px !important;
    white-space: nowrap;
  }

  .cta-new__download-icon {
    width: 21px !important;
    height: 26px !important;
  }
}
