/*============================================
HOME
============================================*/

/*======================
FirstView
======================*/

.sec__fvBox__pc {
  height: 800px;
  padding: 0 0 0 !important;
  display: flex;
  align-items: center;
  position: relative;
}

.fv__leftBox_pc {
  width: 40%;
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  z-index: 100;
  transform: translateX(20%);
}

.fv__leftBox__appdlBox_pc {
  display: flex;
  flex-direction: row;
}

.fv__leftBox__appdlBox_pc > a {
  width: 35%;
  padding-right: 10px;
}

.fv__rightBox_pc {
  height: 100%;
  width: 80%;
  position: absolute;
  right: 0;
  display: flex;
  justify-content: flex-end;
}

.fv__rightBox_pc > img {
  height: 100%;
  width: auto;
}

.sec__fvBox__smp {
  display: none !important;
}
@media (max-width: 800px) {
  .sec__fvBox__smp {
    display: block !important;
  }
  .sec__fvBox__pc {
    display: none !important;
  }
}

.fv__appdlBox__smp {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
.fv__appdlBox__smp > a {
  width: 40%;
}

/*======================
TOPIX
======================*/

.cnt__topix {
  max-width: 1200px;
}

.topixBox {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  margin: 10px 0 0;
}

.topix__card {
  flex: 0 0 25%;
  padding: 10px;
}
@media (max-width: 800px) {
  .topix__card {
    flex: 0 0 50%;
    padding: 10px 5px;
  }
}

.topix__card > a > img {
  margin: 0 0 10px;
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 436;
  object-fit: cover;
}
@media (max-width: 800px) {
  .topix__card > a > img {
    width: 100%;
    height: auto;
    aspect-ratio: 640 / 436;
  }
}

.topix__card > a > p {
  white-space: normal;
  font-size: 0.8em;
  line-height: 1.5;
}

/*======================
  Feature
======================*/

.featureBox {
  width: 70%;
}
@media (max-width: 800px) {
  .featureBox {
    width: 100%;
  }
}

.featureBox__card {
  margin: 0 auto 50px;
}

/*======================
  PLACE__スライドショー
======================*/
.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 50px;
}

.carousel {
  display: flex;
  animation: scroll 180s linear infinite;
}

.carousel img {
  width: 30%;
}
@media (max-width: 800px) {
  .carousel img {
    width: 45%;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-500%);
  }
}

/*======================
  How to use
======================*/
.how-to-use {
  margin-bottom: 50px;
}

.useBox {
  display: flex;
  flex-direction: column;
}

.useBox__card {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 auto 20px;
}

.useBox__card__left {
  width: 20%;
}
@media (max-width: 800px) {
  .useBox__card__left {
    width: 25%;
  }
}

.useBox__card__right {
  width: 75%;
}
@media (max-width: 800px) {
  .useBox__card__right {
    width: 70%;
  }
}

.highlight {
  font-weight: bold;
  color: #a0b500;
}

.btn-home-use-appdl {
  margin-top: -10px;
  margin-left: -10px;
  padding: 15px 25px !important;
  width: fit-content !important;
  line-height: 1 !important;
  font-size: 0.8em;
}

/*======================
  App Download
======================*/

.sec-appdl {
  background-image: url("../images/home/app_bg.webp");
  background-size: cover; /* 画像をコンテナに合わせてカバー */
  background-position: center; /* 画像を中央に配置 */
  background-repeat: no-repeat; /* 画像を繰り返さない */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.appdlBox {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.appdlBox__img__text {
  width: 80%;
  margin: -50px auto 30px;
}
@media (max-width: 800px) {
  .appdlBox__img__text {
    width: 100%;
    margin: -50px auto 30px;
  }
}

.appdlBox__img__qr {
  width: 30%;
  margin: 0 auto 30px;
}
@media (max-width: 800px) {
  .appdlBox__img__qr {
    display: none;
  }
}

.appdlBox__appbtnBox {
  display: flex;
  justify-content: space-between;
  width: 80%;
}
@media (max-width: 800px) {
  .appdlBox__appbtnBox {
    width: 100%;
  }
}

.appdlBox__appbtnBox > a > img {
  width: 95%;
}

/*======================
MOVIE
======================*/
@media (max-width: 800px) {
  #movie iframe {
    height: 200px;
  }
}

/*======================
カテゴリ関係
======================*/

.content-wrapper {
  /* display: flex; */
  justify-content: space-between;
  width: 100%;
}

.category-section {
  width: 25%; /* カテゴリセクションの幅を調整 */
  margin-right: 20px; /* ニュースリストとの間隔 */
  font-size: 0.8em;
  color: #888;
  /* margin-top: 30px; */
}

.each-category {
  color: #888 !important;
}

.news__list {
  width: 75%; /* ニュースリストの幅を調整 */
}

@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }

  .category-section,
  .news__list {
    width: 100%;
  }

  .category-section {
    margin-bottom: 20px;
  }
}

.single_title_category {
  display: flex;
  align-items: center;
  color: #888 !important;
}

.post-category {
  align-items: center;
  background-color: #f7f7f7;
  border-radius: 4px;
  font-size: 0.75rem;
  height: 2em;
  justify-content: center;
  padding-left: 0.75em;
  padding-right: 0.75em;
  white-space: nowrap;
  margin-left: 10px;
}

.post-category a {
  color: #888 !important;
}

.post-category-list {
  display: inline-flex;
  align-items: center;
  background-color: #f7f7f7;
  border-radius: 4px;
  font-size: 10px;
  height: 2em;
  justify-content: center;
  padding-left: 0.75em;
  padding-right: 0.75em;
  white-space: nowrap;
  /* width: 120px; */
  /* margin-left: 5px; */
}

.post-category-list a {
  color: #888 !important;
}

.post_list_date_category {
  display: flex;
  align-items: center; /* 中央揃えにする */
  gap: 5px; /* 要素間のスペースを設定（任意） */
  margin-bottom: 10px;
}
