/* =====================================================
   Yasuragi no Sato - 動画 (Video) Page
   ===================================================== */

:root {
  --color-primary: #4a9255;
  --color-bg-cream: #fffbf1;
  --color-btn-orange: #d67c3d;
  --color-text-dark: #352304;
  --color-text-brown: #604d44;
  --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;
}

*, *::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: #5a5a5a; background: 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; }

/* =====================================================
   Hero Section (shorter, green bg, split image)
   ===================================================== */
.video-hero {
  position: relative;
  width: 100%;
  height: 343px;
  margin-top: clamp(60px, 5.56vw, 80px);
  overflow: hidden;
  background: url('../images/voice-video/hero.webp') center / cover no-repeat;
}

.video-hero__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 157px;
}

.video-hero__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

.video-hero__subtitle {
  font-family: var(--font-italiana);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.9px;
  color: var(--color-white);
  margin-top: 8px;
}

/* =====================================================
   Breadcrumb
   ===================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 130px 0;
  background: var(--color-bg-cream);
}

.breadcrumb__link,
.breadcrumb__current {
  font-family: var(--font-gothic);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-dark);
  line-height: 28px;
}

.breadcrumb__link:hover {
  opacity: 0.7;
}

.breadcrumb__arrow {
  width: 6px;
  height: 9px;
  flex-shrink: 0;
}

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

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 100px;
  max-width: 1180px;
  width: 100%;
}

.video-grid__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.video-grid__card:hover {
  opacity: 0.8;
}

.video-grid__thumb {
  width: 100%;
  aspect-ratio: 560 / 315;
  overflow: hidden;
  position: relative;
}

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

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

.video-grid__card:hover .video-grid__play {
  opacity: 0.8;
}

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

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

/* =====================================================
   Pagination
   ===================================================== */
.video-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
}

.video-pagination__total {
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text-dark);
  line-height: 36px;
}

.video-pagination__pages {
  display: flex;
  align-items: center;
  gap: 20px;
}

.video-pagination__page {
  font-family: 'FOT-TsukuAntiqueLMin Std', var(--font-mincho);
  font-size: 36px;
  font-weight: 300;
  color: var(--color-text-dark);
  opacity: 0.5;
  line-height: 96px;
  text-decoration: none;
  transition: opacity 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.video-pagination__page:hover {
  opacity: 0.8;
}

.video-pagination__page--active {
  opacity: 1;
}

.video-pagination__next {
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.video-pagination__next:hover {
  opacity: 0.8;
}

/* =====================================================
   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; }

  /* ===== Hero SP ===== */
  .video-hero {
    height: 151px !important;
    margin-top: 80px !important;
    background: url('../images/voice-video/hero-sp.webp') center / cover no-repeat !important;
  }

  .video-hero__inner {
    padding: 25px 40px !important;
    align-items: flex-start !important;
  }

  .video-hero__text {
    position: relative !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .video-hero__title {
    font-size: 36px !important;
    font-weight: 600 !important;
    letter-spacing: 3.6px !important;
    line-height: 38px !important;
  }

  .video-hero__subtitle {
    font-size: 14px !important;
    letter-spacing: 0.7px !important;
    margin-top: 0 !important;
  }

  /* ===== Breadcrumb SP ===== */
  .breadcrumb {
    padding: 15px 40px 0 !important;
  }

  .breadcrumb__link,
  .breadcrumb__current {
    font-size: 14px !important;
  }

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

  .video-grid {
    grid-template-columns: 1fr !important;
    row-gap: 30px !important;
    column-gap: 0 !important;
    max-width: 310px !important;
  }

  .video-grid__thumb {
    aspect-ratio: 310 / 174 !important;
  }

  .video-grid__title {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 36px !important;
    height: 72px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    text-overflow: ellipsis !important;
  }

  /* ===== Pagination SP ===== */
  .video-pagination {
    max-width: 310px !important;
  }

  .video-pagination__total {
    font-size: 18px !important;
    line-height: 28px !important;
  }

  .video-pagination__page {
    font-size: 28px !important;
    line-height: 56px !important;
  }

  .video-pagination__pages {
    gap: 10px !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;
  }
}
