/*--------------------------------------
 #header 2401自社用に追加css
---------------------------------------*/
@charset "utf-8";

header {
  height: auto;
}

#header {
  height: auto;
}

.header {
  padding: 20px 0;
  text-align: center;
}

@media screen and (max-width: 640px) {
  .header {
    padding: 0 0;
    height: 60px;
  }
}

@media screen and (max-width: 640px) {
  #category_top {
    padding: 0;
  }
}

h1 {
  font-weight: normal;
  font-size: 1.5rem;
}

@media screen and (max-width: 640px) {
  h1 {
    font-size: 1.3rem;
  }
}

.siteLogo {
  margin: 20px 0;
}

@media screen and (max-width: 640px) {
  .siteLogo {
    margin: 10px 0;
  }

  .siteLogo img {
    padding-top: 5px;
    width: 30%;
    height: 30%;
    min-width: 210px;
  }
}

nav ul {
  list-style: none;
  list-style-type: none;
  font-size: 0;
  display: block;
}

nav ul li a {
  padding: 0;
}

.globalNavList li {
  display: inline-block;
  padding: 0 15px;
  font-weight: normal;
  font-size: 16px;
  font-family: "Noto Sans Japanese", "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W6",
    "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic",
    sans-serif;
  letter-spacing: 0.1rem;
}

.globalNavList li + li {
  border-left: 1px solid #000000;
}

/*  globalNav　サイト最上部のグローバルナビゲーション
------------------------*/
.globalNavList li {
  display: inline-block;
  padding: 0 15px;
  /* font-size: 1rem; */
  letter-spacing: 0.1rem;
}

.globalNavList li + li {
  border-left: 1px solid #000000;
}

nav ul li {
  position: static;
  text-align: center;
  border: none;
}

nav ul li a {
  border: none;
}

@media screen and (max-width: 640px) {
  .globalNav {
    position: fixed;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -120%;
    z-index: 2;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    /*ナビの高さ*/

    background: #ebeded;
    /*動き*/
    transition: all 0.6s;
  }

  .globalNav.panelactive {
    right: 0;
  }

  .globalNavList {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .globalNavList li {
    display: block;
    margin-bottom: 20px;
    padding: 0;
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
  }

  nav ul li a {
    display: block;
    margin-bottom: 20px;
    padding: 0;
    font-size: 19.2px;
    letter-spacing: 0.1rem;
  }

  .globalNavList li + li {
    border-left: 0;
  }

  .globalNavList a {
    color: #1e1e1e;
  }
}

@media screen and (max-width: 1250px) {
  nav ul li a {
    font-size: 16px;
  }
}

/* ハンバーガメニュー */
.globalNavBtn {
  display: none;
}

@media screen and (max-width: 640px) {
  .globalNavBtn {
    display: block;
    position: fixed;
    top: 16px;
    right: 10px;
    z-index: 999;
    width: 27px;
    height: 27px;
    cursor: pointer;
  }
}

.globalNavBtn span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #000000;
  transition: 0.35s ease-in-out;

  -webkit-transition: 0.35s ease-in-out;
  -moz-transition: 0.35s ease-in-out;
}

.globalNavBtn span:nth-child(1) {
  top: 0;
}

.globalNavBtn span:nth-child(2) {
  top: 10px;
}

.globalNavBtn span:nth-child(3) {
  top: 20px;
}

.globalNavBtn.open span {
  background: #ffffff;
}

.globalNavBtn.open span:nth-child(1) {
  top: 11px;
  transform: rotate(315deg);

  -webkit-transform: rotate(315deg);
  -moz-transform: rotate(315deg);
}

.globalNavBtn.open span:nth-child(2) {
  left: 50%;
  width: 0;
}

.globalNavBtn.open span:nth-child(3) {
  top: 11px;
  transform: rotate(-315deg);

  -webkit-transform: rotate(-315deg);
  -moz-transform: rotate(-315deg);
}

body.fix {
  position: fixed;
  width: 100%;
}

#header.DownMove {
  animation: DownAnime 0.5s forwards;
  height: fit-content;
  background: rgba(255, 255, 255, 1);
}

/* TOP画像の切り替え */
@media screen and (max-width: 850px) {
  #category_top {
    height: auto;
    flex-direction: column;
  }

  #category_top .cate_top_img,
  #category_top .cate_top_text {
    width: 100%;
  }
  .cate_top_text {
    flex-direction: column;
    padding: 75px 50px;
  }
}

@media screen and (max-width: 850px) {
  .item_list_wrapper .item_list {
    width: calc(100% / 3);
  }
}

@media screen and (max-width: 480px) {
  .item_list_wrapper .item_list {
    width: calc(100% / 2);
  }
}

@media screen and (max-width: 850px) {
  #search_category .cate_item_list_wrapper {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
    width: 90vw;
    white-space: nowrap;
  }
}

@media screen and (max-width: 480px) {
  #search_category .cate_item_list_wrapper {
    grid-template-columns: repeat(2, 1fr);
    width: 95vw;
  }

  #search_category {
    padding-bottom: 8rem;
  }
}

.cate_top_img img {
  width: 100vw;
  height: auto;
}

@media screen and (max-width: 850px) {
  .section_ttl {
    flex-direction: column;
    gap: 1rem;
    padding: 4rem 0 2.2rem;
  }

  .section_ttl h3 {
    font-size: 2rem;
  }

  .section_ttl p {
    font-size: 1.4rem;
  }

  .xscroll_list h6 {
    font-size: 1.6rem;
  }

  .xscroll_list .item_list a {
    min-width: calc((90vw - 60px) / 3.3);
  }

  .xscroll_list .item_list img {
    width: 100%;
    height: auto;
  }

  .ranking .rank_item::before {
    width: 3.5rem;
    height: 3.5rem;
  }

  .ranking .rank_item::after {
    top: 9px;
    left: 17.5px;
    font-size: 2.1rem;
  }

  .ranking .rank_item_last::after {
    left: 10.25px;
  }
}

@media screen and (max-width: 480px) {
  .section_ttl {
    flex-direction: column;
    gap: 1rem;
    padding: 4rem 0 2.2rem;
  }

  .section_ttl h3 {
    font-size: 2rem;
  }

  .section_ttl p {
    font-size: 1.4rem;
  }

  .xscroll_list h6 {
    font-size: 1.6rem;
  }

  .xscroll_list .item_list a {
    min-width: calc((90vw - 2rem) / 2.2);
  }

  .xscroll_list .item_list img {
    width: 100%;
    height: auto;
  }
}

/*===============================
	topへ戻る
================================*/
.pageTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99;
  text-align: center;
  transition: all 0.3s ease;
}

@media screen and (max-width: 640px) {
  .pageTop {
    right: 10px;
    bottom: 10px;
  }
}

.pageTop a {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00000090;
  font-size: 0;
  line-height: 60px;
}

.pageTop:before {
  display: block;
  position: absolute;
  top: 40%;
  right: 0;
  left: 0;
  content: "";
  transform: rotate(-45deg);
  width: 25%;
  height: 25%;
  margin: auto;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.pageTop a:hover {
  opacity: 0.5;
  text-decoration: none;
}
