/* ヘッダー部分 */
#headerContainer {
  padding: 0;
}

#headerRow {
  display: grid;
  grid-template-columns: 1fr;
  grid-column-gap: 10px;
  padding: 0 20px;
}

.Header__one {
  grid-column: 1;
  margin-right: auto;
}

.Header__two {
  grid-column: 2;
}

.Header__theww {
  grid-column: 3;
}

.Header__four {
  grid-column: 4;
}

/* ブランドロゴ */
.Header__brandLogo {
  display: flex !important;
}

.Header__headerNav {
  margin: 0;
}

/* ブランドロゴ・ログインとログアウト, 検索, 右側のHeader */
.Header__brandLogo,
#logoutDetails,
#Header__headerSearch,
.Header__right,
.Header__brandLogo {
  display: flex;
  align-items: center;
}

/* 検索 */
.Input__searchPanelInput {
  font-size: 14px;
}

/* 検索アイコン */
.Icon__searchColor {
  width: 18px;
  height: 18px;
}

.Header__headerSigninWrapper {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 4px;
}

.Header__headerSigninWrapper img {
  width: auto;
  height: 18px;
}

.LogInDetailsContainer__signIn {
  text-wrap: nowrap;
}

.Header__brandLogoImg {
  min-width: 200px !important;
}

/* タブ */
.Header__tabsTab {
  padding: 4px 16px !important;
}

.Header__tabsLink {
  font-weight: normal;
}

/* 選択されたタブ */
.Header__tabsTab.Header__tabsTabActive {
  border: none;
}

/* 検索ボックス */
.Header__headerSearch {
  width: 300px;
}

#searchContainer {
  max-width: 300px;
  background: #393d39 0% 0% no-repeat padding-box;
  border-radius: 5px;
}

.searchPanelSections {
  display: none !important;
}

.Search__searchPanelIcon {
  line-height: 38px;
}

/* 登録するボタンを消す　*/
.LogInDetailsContainer__signUp {
  display: none;
}

/*
  Footer
*/
.Footer__footer {
  padding: 0;
}

.Footer__brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 50px;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  padding: 40px 0;
  margin: 0 auto;
  border-top: solid 1px #e1e1e1;
}

.Footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.Footer__brand img {
  max-width: 100%;
  height: auto;
}

.Footer__copyright {
  padding: 10px;
  font: normal normal normal 12px/18px Meiryo;
  color: #fff;
  text-align: center;
  background-color: #212721;
}

@media (width <= 1023px) {
  #searchContainer {
    background: rgb(0 0 0 / 0%);
  }

  .Header__headerSearch {
    width: auto;
  }

  .Header__tabsList {
    padding: 0;
  }

  #headerRow {
    display: grid;
    grid-template-rows: auto auto;
    grid-gap: 0px;
    padding: 20px 20px 0;
  }

  .Header__one {
    grid-row: 1;
    grid-column: 1 / 2;
  }

  .Header__two {
    grid-row: 2;
    grid-column: 1 / 4;
  }

  .Header__theww {
    grid-row: 1;
    grid-column: 2 / 3;
    padding-right: 0px;
  }

  .Header__four {
    grid-row: 1;
    grid-column: 3 / 4;
  }
  
  .Footer__brands {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    padding: 40px 20px;
    gap: 25px;
  }
  
  .Footer__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }
}

/* よくある質問のアイコンサイズ */
.Avatar__medium {
  width: 46px;
  height: 46px;
}
.CategoryList__kbSubcategoryImg {
  padding: 0px;
}
.CategoryList__articleCard .MediaObject__mediaObject {
      align-items: center;
}
