*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #373737;
  font-family:
    "Noto Sans JP", "Noto Serif JP", "Yu Gothic", "YuGothic", sans-serif;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}
a,
a:active {
  color: inherit;
  text-decoration: none;
}
h1 {
  margin: 0;
}

img,
iframe,
video {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

/*共通ヘッダー*/
.head {
  top: 38px;
  position: fixed;
  left: 0;
  z-index: 9999;
  width: 100%;
  padding: 12px 80px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 37px;
  row-gap: 30px;
  background: transparent;
  isolation: auto;
  transition:
    top 0.35s ease,
    background 0.35s ease,
    backdrop-filter 0.35s ease,
    -webkit-backdrop-filter 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease;
}

.head.is-scrolled {
  top: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding-bottom: 12px;
  row-gap: 0;
}
.head.is-scrolled .bread_crumb {
  display: none;
}

#product_match .head.is-scrolled .logo {
  mix-blend-mode: normal;
}
.logo {
  min-width: 0;
  isolation: auto;
  mix-blend-mode: difference;
}

.logo a {
  mix-blend-mode: normal;
}

.logo img,
.header-image {
  width: auto;
  height: 60px;
  max-width: 400px;
  object-fit: contain;
}

.header-image.user_header_black {
  filter: invert(1);
}
#product_detail .head.is-scrolled .header-image.user_header_black {
  mix-blend-mode: difference;
  filter: none;
}
#product_match .head.is-scrolled .header-image.user_header_black {
  mix-blend-mode: difference;
  filter: none;
}

.header-nav {
  justify-self: end;
  width: auto;
  min-width: max-content;
  margin: 0;
  height: 52px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 0 60px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.header-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  background: transparent;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
  transform: scale(1);
}


.header-search {
  width: 310px;
  min-width: 0;
  margin: 0;
  transform: none;
}

.header-search label {
  display: none;
}

.header-search-row {
  position: relative;
  display: block;
  width: 100%;
  height: 52px;
}
.header-search input.frame {
  width: 100%;
  height: 52px;
  padding: 0 80px 0 18px;
  box-sizing: border-box;
  border-radius: 999px;
  outline: none;
  color: #777;
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.96);
}
.header-search input.frame::placeholder {
  color: rgba(130, 130, 130, 0.62);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header-search input.frame::-webkit-search-decoration,
.header-search input.frame::-webkit-search-cancel-button,
.header-search input.frame::-webkit-search-results-button,
.header-search input.frame::-webkit-search-results-decoration {
  display: none;
}

.header-search button {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 0 999px 999px 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.header-search button::before {
  content: "";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: block;
  width: 80px;
  height: 52px;
  color: rgba(120, 120, 120, 0.58);
  font-size: 16px;
  line-height: 52px;
  text-align: center;
}

/*共通SECTION*/
main section {
  margin: 0 auto 100px;
}
main section .inner {
  max-width: calc(1380px + 40px);
  padding: 0 20px;
  margin: 0 auto;
}

/* =========================
TITLE
========================= */

.title-ja {
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.16em;
  margin-bottom: 17px;
}

.title-en {
  margin-bottom: 60px;
  text-align: center;
  color: #88c1b3;
  font-family: "Times New Roman", "Georgia", serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.18em;
}

/*パンくずリスト*/
.bread_crumb {
  z-index: 10;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
  grid-column: 1 / -1;
  width: 100%;
}

.bread_crumb.user_header_black a,
.bread_crumb.user_header_black span,
.bread_crumb.user_header_black p {
  color: #666666;
}

.bread_crumb a {
  color: #ffffff;
  text-decoration: none;
}
.head.is-scrolled .bread_crumb,
.head.is-scrolled .bread_crumb a,
.head.is-scrolled .bread_crumb span {
  color: #373737;
}

/*右サイドお問い合わせボタン*/
.announce {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  gap: 8px;
  width: 42px;
  padding: 20px 0;
  transform: translateY(-50%);
  background: #88c1b3;
  color: #fff;
  font-weight: normal;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.1em;
}
.announce img {
  width: 22px;
}

/* タグ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  column-gap: 40px;
  row-gap: 40px;
  width: 100%;
}
/* モバイルメニュー　pc時　非表示 */
.mobile-menu-button,
.mobile-menu-cover,
.mobile-menu-panel {
  display: none;
}
/* モバイルメニュー　会社ロゴ（LINEの下） */
.mobile-menu-company-logo {
  display: block;
  margin-top: 20px;
  padding: 20px 20px 0;
  border-top: 1px solid #e5e5e5;
}
.mobile-menu-company-logo img {
  width: 80%;
  max-width: 341px;
}
/* 各種ページhero画像 （ブランド　プロダクト）*/
.brand-catalog-hero {
  position: relative;
  width: 100%;
  height: 512px;
  background-image: url("../image/brand.png?ver=img02");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #444;
  overflow: hidden;
  margin-bottom: 100px;
}

/* サムネイル表示 */
.thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transition: transform 0.35s ease;
  transform: scale(1);
}

.card:hover .thumb img {
  transform: scale(1.08);
}

/* ブランド　プロダクト　共通h1css */

.catalog-hero-title-wrap {
  position: absolute;
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", sans-serif;
  left: 50%;
  top: 52%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.catalog-hero-title {
  margin: 0;
  color: #fff !important;
  font-size: 60px;
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.catalog-hero-sub {
  margin-top: 8px;
  color: #fff !important;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 34px;
  font-style: italic;
  transform: scale(1.5, 1);
  letter-spacing: 0.17em;
}

/*共通部品*/
.card .stock {
  background: #999696;
  border: 1px solid #999696;
  color: #fff;
}

.card .limited {
  background: #595656;
  border: 1px solid #595656;
  color: #fff;
}

.card .others {
  background: #000000;
  border: 1px solid #000000;
  color: #fff;
}
.card .order {
  background: #fff;
  border: 1px solid #000000;
  color: #000 !important;
}
.card .meta {
  margin-bottom: 10px;
}
.card .label {
  display: inline-block;
  min-width: 100px;
  text-align: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
}

.card .brand-name {
  font-size: 16px;
  line-height: 1.7;
}
.card .name {
  font-size: 16px;
  line-height: 1.7;
  min-height: 42px;
  margin-bottom: 5px;
}
.card .product-number {
  font-size: 14px;
  color: #777;
}

.product-point-text ul,
.product-point-text ol {
  margin: 0.8em 0;
  padding-left: 1.5em;
  list-style-position: outside;
}

.product-point-text ul {
  list-style-type: disc;
}

.product-point-text ol {
  list-style-type: decimal;
}

.product-point-text li {
  display: list-item;
  margin: 0.3em 0;
  padding-left: 0.2em;
}

/* ==================================================
   商品一覧・検索結果の商品カードのみ 244px正方形
   ※トップページのカテゴリカードには適用しない
================================================== */
@media (min-width: 1100px) {
  .product-list-page .cards > .card,
  .search-page .cards > .card {
    flex: 0 0 244px;
    width: 244px;
    max-width: 244px;
  }

  .product-list-page .cards > .card .thumb,
  .search-page .cards > .card .thumb {
    width: 244px;
    height: 244px;
    aspect-ratio: 1 / 1;
  }

  .product-list-page .cards > .card .thumb img,
  .search-page .cards > .card .thumb img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }
}
/* product_matchの隙間埋め */
.search-page .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 40px;
  row-gap: 50px;
  width: 100%;
}

.search-page .cards > .card {
  flex: 0 0 244px;
  width: 244px;
  max-width: 244px;
}

.search-page .cards > .card .thumb {
  width: 244px;
  height: 244px;
  aspect-ratio: 1 / 1;
}
/* user_header */
/* user_header */
@media (min-width: 1000px) {
  .header-nav {
    justify-self: end;
    height: auto;
    gap: 20px;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-nav a {
    width: 166px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: rgba(255, 255, 255, 0.94);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
  }


  .header-search {
    width: 320px;
  }

  .header-search-row,
  .header-search input.frame {
    height: 52px;
  }

  .header-search input.frame {
    padding: 0 64px 0 24px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    background: rgba(255, 255, 255, 0.94);
    color: #777;
    font-size: 16px;
  }

  .header-search input.frame::placeholder {
    color: rgba(170, 170, 170, 0.65);
    font-size: 16px;
    font-weight: 500;
  }

  .header-search button {
    width: 64px;
    height: 52px;
  }

  .header-search button::before {
    width: 64px;
    height: 52px;
    font-size: 22px;
    line-height: 52px;
  }
}
