@charset "UTF-8";
/* ============================================
   活用法 ページ専用スタイル
   （evertron-hp / usecase-guide.html の構成を踏襲、Dr.Fryオレンジに配色）
   ============================================ */

/* ---------- ヒーロー ---------- */
.ug-hero {
  position: relative;
  padding: 90px 20px 70px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--df-black) 0%, #241a10 100%);
  isolation: isolate;
}

.ug-hero-bg {
  position: absolute;
  inset: -15%;
  z-index: 0;
  background:
    radial-gradient(42% 38% at 18% 28%, rgba(232, 93, 44, 0.34), transparent 72%),
    radial-gradient(34% 32% at 78% 62%, rgba(224, 165, 39, 0.28), transparent 72%),
    radial-gradient(38% 40% at 55% 10%, rgba(232, 93, 44, 0.22), transparent 72%),
    radial-gradient(30% 30% at 30% 82%, rgba(224, 165, 39, 0.18), transparent 72%);
  filter: blur(70px);
  animation: ug-hero-drift 18s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}
@keyframes ug-hero-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(3%, -4%) scale(1.08); }
  66%      { transform: translate(-4%, 3%) scale(0.94); }
}

.ug-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 0%, rgba(232, 93, 44, 0.14), transparent 60%);
}

.ug-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 760px; margin: 0 auto; }
.ug-hero .df-kicker { color: var(--df-gold); }

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

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

@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: 61px;
  z-index: 150;
  background-color: rgba(255, 248, 240, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--df-line);
}

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

.ug-tab {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid rgba(26, 26, 26, 0.18);
  background: transparent;
  color: var(--df-black);
  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: var(--df-orange); color: var(--df-orange-dark); }
.ug-tab._active {
  background-color: var(--df-orange);
  border-color: var(--df-orange);
  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: var(--df-white);
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(26, 26, 26, 0.05);
  padding: 24px;
}
.ug-slide._hidden { display: none; }

/* セクション扉スライド（左：タイトル／右：画像） */
.ug-slide-section {
  background: linear-gradient(135deg, var(--df-black) 0%, #2a2118 100%);
  border-color: rgba(232, 93, 44, 0.3);
  padding: 0;
  overflow: hidden;
}

.ug-section-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 260px;
}

.ug-section-panel {
  padding: 40px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ug-section-photo {
  position: relative;
  min-height: 220px;
}
.ug-section-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ug-section-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 10, 5, 0.5) 0%, transparent 30%);
}

.ug-section-kicker {
  color: var(--df-gold);
  font-family: var(--df-font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.ug-section-title {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 20px;
  position: relative;
  padding-left: 18px;
  color: #fff;
}
.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, var(--df-gold), var(--df-orange));
}

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

/* 活用シーン（交互グリッド） */
.ug-use-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
}

.ug-photo {
  min-width: 0;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(26, 26, 26, 0.05);
  position: relative;
  align-self: stretch;
  width: 100%;
  min-height: 220px;
}

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

.ug-photo-cat {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(232, 93, 44, 0.88);
  padding: 5px 12px;
  border-radius: 999px;
}

.ug-panel {
  min-width: 0;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(26, 26, 26, 0.05);
  background-color: var(--df-white);
  padding: 34px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ug-use-title {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--df-black);
}

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

/* ---------- レスポンシブ ---------- */
@media screen and (max-width: 900px) {
  .ug-main { gap: 20px; padding: 24px 16px 60px; }
  .ug-slide { padding: 16px; }
  .ug-use-grid { grid-template-columns: 1fr; gap: 16px; }
  .ug-photo { min-height: 160px; }
  .ug-panel { padding: 24px 22px; }
  .ug-section-grid { grid-template-columns: 1fr; }
  .ug-section-photo { min-height: 160px; order: -1; }
  .ug-section-panel { padding: 26px 22px; }
  .ug-section-title { font-size: 24px; }
  .ug-use-title { font-size: 21px; }
}
