@charset "UTF-8";
/* ============================================
   W.O.W ご活用ガイド ページ専用スタイル
   （video-library / uservoice-library のトーン＆マナーに準拠）
   ============================================ */

@font-face {
  font-family: "GenShinGothic P";
  src: url("../fonts/GenShinGothic-P-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GenShinGothic P";
  src: url("../fonts/GenShinGothic-P-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GenShinGothic P";
  src: url("../fonts/GenShinGothic-P-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Seravek Basic";
  src: url("../fonts/fonnts.com-Seravek_Basic.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.ug-body {
  background-color: #FFFFFF;
  color: #1A1A1A;
  font-family: "GenShinGothic P", "GenShinGothic", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.ug-body a {
  text-decoration: none;
  color: inherit;
}

/* ---------- ヒーロー（既存2ページと同一構造） ---------- */
.ug-hero {
  position: relative;
  padding: 90px 20px 70px;
  text-align: center;
  overflow: hidden;
  background-color: #FFFFFF;
}

.ug-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../image/home/fv-wave.gif");
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  filter: grayscale(1) invert(1) contrast(0.9);
}

.ug-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 45%, #FFFFFF 100%);
}

.ug-hero-inner {
  position: relative;
  z-index: 1;
}

.ug-hero-title {
  font-size: 40px;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.ug-hero-sub {
  margin-top: 14px;
  font-family: "Seravek Basic", "GenShinGothic P", sans-serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: #00acc1;
  text-transform: uppercase;
}

.ug-hero-lead {
  margin-top: 22px;
  font-size: 14px;
  line-height: 2;
  color: rgba(26, 26, 26, 0.75);
}

@media screen and (max-width: 767px) {
  .ug-hero {
    padding: 60px 16px 46px;
  }
  .ug-hero-title {
    font-size: 26px;
  }
  .ug-hero-lead {
    font-size: 12px;
  }
}

/* ---------- カテゴリータブ ---------- */
.ug-tabs-wrapper {
  position: sticky;
  top: 0;
  z-index: 9000;
  background-color: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.ug-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 20px;
  max-width: 1200px;
  margin-inline: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 172, 193, 0.4) transparent;
  -webkit-overflow-scrolling: touch;
}
.ug-tabs::-webkit-scrollbar {
  height: 4px;
}
.ug-tabs::-webkit-scrollbar-thumb {
  background: rgba(0, 172, 193, 0.4);
  border-radius: 2px;
}

.ug-tab {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: transparent;
  color: #1A1A1A;
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.ug-tab:hover {
  border-color: #00acc1;
  color: #00acc1;
}
.ug-tab._active {
  background-color: #1A1A1A;
  border-color: #1A1A1A;
  color: #fff;
  font-weight: 700;
}

.ug-tab-count {
  margin-left: 5px;
  font-size: 10px;
  opacity: 0.7;
}

/* ---------- コンテンツ（ご活用ガイド本体） ---------- */
.ug-main {
  max-width: 1200px;
  margin-inline: auto;
  padding: 30px 20px 80px;
  display: grid;
  gap: 28px;
}

.ug-slide {
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 24px;
}
.ug-slide._hidden {
  display: none;
}

.ug-use-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 24px;
}

.ug-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 24px;
}

.ug-panel,
.ug-photo {
  min-width: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ug-panel {
  background-color: #FFFFFF;
  padding: 34px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ug-photo {
  background-color: #f2f3f5;
  position: relative;
  /* 高さはテキスト量（.ug-panel）に依存させず、常に同じ比率で自己完結させる */
  align-self: center;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.ug-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- セクション扉 ----- */
.ug-section-kicker {
  color: #00acc1;
  font-family: "Seravek Basic", "GenShinGothic P", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.ug-section-title {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 20px;
  position: relative;
  padding-left: 16px;
}

.ug-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(to bottom, #7af5f9, #00bcd4);
}

.ug-section-lead {
  color: rgba(26, 26, 26, 0.75);
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}

/* ----- 活用シーン ----- */
.ug-use-title {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 16px;
}

.ug-description {
  color: rgba(26, 26, 26, 0.75);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
  margin: 0;
}

.ug-change-box {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 10px;
  background: rgba(0, 172, 193, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.ug-change-label {
  color: #00acc1;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.ug-change-text {
  color: #1A1A1A;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

.ug-divider {
  height: 2px;
  background: linear-gradient(to right, #7af5f9, #00bcd4);
  border-radius: 1px;
  width: 100%;
  margin: 22px 0 14px;
}

.ug-scene-label {
  color: #00acc1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.ug-scene-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: baseline;
  margin-top: 10px;
}

.ug-scene-key {
  color: #00acc1;
  font-size: 12px;
  font-weight: 700;
}

.ug-scene-key.sleep { color: #0097a7; }
.ug-scene-key.fem { color: #26c6da; }

.ug-scene-value {
  color: #1A1A1A;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

/* ---------- レスポンシブ ---------- */
@media screen and (max-width: 900px) {
  .ug-main {
    gap: 20px;
    padding: 24px 16px 60px;
  }
  .ug-slide {
    padding: 16px;
  }
  .ug-use-grid,
  .ug-section-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ug-panel {
    padding: 24px 22px;
  }
  .ug-section-title {
    font-size: 24px;
  }
  .ug-use-title {
    font-size: 21px;
  }
  .ug-scene-row {
    grid-template-columns: 120px 1fr;
    gap: 12px;
  }
  .ug-scene-value {
    font-size: 15px;
  }
}
