/* =========================
   XREAL研究所トップ
========================= */

.xreal-lab-main{
  padding-bottom: 40px;
}

/* Hero */
body.page .hero--xreal{
  text-align: center;
  padding: 90px 20px 40px;
  background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
  margin: 0 0 30px;
}

body.page .hero--xreal .hero-inner{
  max-width: 920px;
  margin: 0 auto;
}

body.page .hero--xreal .hero-kicker{
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .06em;
  opacity: .9;
}

body.page .hero--xreal h1{
  margin: 0 0 14px;
  font-size: 38px;
  line-height: 1.25;
}

body.page .hero--xreal .hero-text{
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.9;
  opacity: .9;
}

body.page .hero--xreal .hero-buttons{
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

body.page .hero--xreal .hero-buttons a{
  display: inline-block;
  min-width: 180px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #222;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

body.page .hero--xreal .hero-buttons a.btn-sub{
  background: #6b6b6b;
}

body.page .hero--xreal .hero-buttons a:hover{
  opacity: .9;
}

/* Section titles */
body.page .xreal-tabs > h2,
body.page .latest--xreal > h2,
body.page .recommended-title{
  text-align: center;
  margin: 0 0 18px;
}

/* Tabs */
body.page .xreal-tabs{
  max-width: 920px;
  margin: 50px auto;
  padding: 0 20px;
}

body.page .tab-buttons--xreal{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 22px;
}

body.page .tab-btn--xreal{
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #e6e6e6;
  background: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  transition: .2s ease;
}

body.page .tab-btn--xreal.is-active{
  background: #222;
  color: #fff;
  border-color: #222;
}

body.page .tab-panel{
  display: none;
}

body.page .tab-panel.is-active{
  display: block;
}

body.page .tab-empty{
  text-align: center;
  opacity: .75;
  margin-top: 20px;
}

body.page .tab-more{
  text-align: center;
  margin-top: 10px;
}

body.page .tab-more-link{
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* Latest */
body.page .latest--xreal{
  max-width: 920px;
  margin: 50px auto 0;
  padding: 0 20px;
}

/* responsive */
@media (min-width: 901px){
  body.page .tab-buttons--xreal.cols-6{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px){
  body.page .hero--xreal h1{
    font-size: 32px;
  }
}

@media (max-width: 600px){
  body.page .hero--xreal{
    padding: 72px 16px 30px;
  }

  body.page .hero--xreal h1{
    font-size: 26px;
  }

  body.page .hero--xreal .hero-text{
    font-size: 14px;
    line-height: 1.8;
  }

  body.page .tab-buttons--xreal{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.page .tab-btn--xreal{
    min-height: 52px;
    font-size: 13px;
    padding: 10px 12px;
  }
}

/* =========================
   XREAL研究所 見出しサイズ調整
========================= */

/* セクション見出し共通 */
body.page .xreal-tabs > h2,
body.page .latest--xreal > h2,
body.page .recommended-title{
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  margin: 0 0 26px;
  letter-spacing: .03em;
}

@media (max-width: 600px){
  body.page .hero--xreal .hero-kicker{
    font-size: 15px;
    margin-bottom: 10px;
  }

  body.page .hero--xreal h1{
    font-size: 36px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  body.page .xreal-tabs > h2,
  body.page .latest--xreal > h2,
  body.page .recommended-title{
    font-size: 22px;
    margin-bottom: 18px;
  }
}