@charset "UTF-8";

/*************************************************************
LINE-UP 商品一覧ページ SP
*************************************************************/

/* body背景 */
body {
  background-image: url("../../images/lineup/lineup-page/bg-top-sp.png");
  background-position: center top;
  background-size: 100%;
  background-repeat: no-repeat;
  /* background-color: white; */
}

/* パンくずリスト（固定ヘッダー下に絶対配置） */
main {
  position: relative;
}

.breadcrumbs {
  position: absolute;
  top: 90px;
  left: 0;
  z-index: 10;
}

/* ヒーローセクション */
.lineup-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.lineup-hero .pc { display: none; }

.lineup-hero-inner {
  width: 100%;
  padding-top: 130px;
  text-align: center;
}

.lineup-hero-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lineup-hero-title {
  width: 226px;
  height: 53px;
  background-image: url("../../images/lineup/lineup-page/title-bg-sp.png");
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 3vw;
}

.lineup-hero-title-text {
  color: white;
  white-space: nowrap;
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
}

.lineup-hero-title-text.font-DIN-C {
  padding-top: 0.1em;
}

.lineup-hero-title .lineup-hero-title-text{
  transform: translateY(-0.1em);
}

.lineup-hero-catch {
  font-size: 22px;
  font-weight: 500;
  color: #000;
  line-height: 1.3;
  white-space: nowrap;
}

.lineup-hero-sub {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin-top: 2vw;
  line-height: 1;
  text-align: center;
}

/* ハッシュタグフィルター */
.lineup-hashtags {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 22px 12px 0;
  box-sizing: border-box;
}

.lineup-hashtags-inner {
  display: flex;
  gap: 8px;
  white-space: nowrap;
  width: max-content;
}

.lineup-hashtag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 9px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 40px;
  font-family: "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #000;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}

.lineup-hashtag:hover,
.lineup-hashtag.active {
  background: #000;
  color: #fff;
}

/* ハッシュタグスクロールバー非表示 */
.lineup-hashtags::-webkit-scrollbar {
  display: none;
}
.lineup-hashtags {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* main下部背景（bodyのtop背景と干渉しないようpseudo要素で背面に配置） */
main::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../../images/common/bg-footer-sp.jpg");
  background-position: center bottom;
  background-size: 100% auto;
  background-repeat: no-repeat;
  z-index: -1;
}

/* 商品カテゴリ一覧 */
.lineup-products {
  width: 100%;
  padding: 50px 0 100px;
}

/* カテゴリセクション */
.lineup-category {
  margin-top: 12vw;
}

.lineup-category:first-child {
  margin-top: 0;
}

.lineup-category-title {
  width: 93.84%;
  margin: 0 auto 7vw;
  border-bottom: 0.9vw solid #000;
  padding-bottom: 1.5vw;
}

.lineup-category-en {
  font-size: 7.18vw;
  font-weight: 300;
  line-height: 1;
  color: #000;
}

.lineup-category-ja {
  font-size: 3.08vw;
  font-weight: 300;
  color: #000;
  margin-top: 0;
  line-height: 1.2;
}

/* 商品グリッド */
.lineup-category-contents {
  display: flex;
  flex-wrap: wrap;
  gap: 2.56vw 1.79vw;
  padding: 0 3.08vw;
}

/* 商品カード（3カラム） */
.lineup-product-card {
  display: block;
  width: calc((100% - 1.79vw * 2) / 3);
  padding: 2vw 1.4vw 2.4vw 1.4vw;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #CCCCCC;
  border-radius: 1.4vw;
  box-sizing: border-box;
  overflow: hidden;
}

.lineup-product-img {
  width: 93%;
  height: 24vw;
  aspect-ratio: 260 / 236;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lineup-category--bonding-bleach .lineup-product-img {
  width: 42%;
}
.lineup-category--bonding-metallics .lineup-product-img {
  width: 42%;
}
.lineup-category--bonding-colormask .lineup-product-img {
  width: 36%;
}
.lineup-category--color-cream .lineup-product-img {
  width: 42%;
}
.lineup-category--toning-color-shampoo .lineup-product-img {
  width: 38%;
}
.lineup-category--bonding-color-shampoo .lineup-product-img {
  width: 38%;
}
.lineup-category--bonding-color-treatment .lineup-product-img {
  width: 40%;
}
.lineup-category--color-shampoo .lineup-product-img {
  width: 38%;
}
.lineup-category--bonding-oil .lineup-product-img {
  width: 40%;
}
.lineup-category--bonding-colormask-clear .lineup-product-img {
  width: 48%;
}

.lineup-product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 商品情報バー */
.lineup-product-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #000;
  padding: 1.28vw 1.54vw;
  margin-top: 1.03vw;
  min-height: 15.13vw;
  box-sizing: border-box;
  background: #fff;
}

.lineup-product-names {
  display: flex;
  flex-direction: column;
  gap: 0.51vw;
  min-width: 0;
  flex: 1;
}

.lineup-product-en {
  font-size: 3.59vw;
  font-weight: 300;
  line-height: 1;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lineup-product-ja {
  transform: translateY(-0.5vw);
  font-size: 2.56vw;
  font-weight: 300;
  color: #000;
  line-height: 1.2;
}

/* 矢印ボタン */
.lineup-product-arrow {
  width: 3.85vw;
  height: 3.85vw;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 1.03vw;
  position: relative;
}

.lineup-product-arrow::after {
  content: '';
  display: block;
  width: 1.28vw;
  height: 1.28vw;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  margin-left: -0.51vw;
}

/*************************************************************
ハッシュタグ検索結果パネル SP
*************************************************************/

.lineup-hashtag-result {
  width: 100%;
  padding: 40px 0 40px;
}

.lineup-hashtag-result-inner {
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

/* キャッチコピー */
.lineup-hashtag-result-catch {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  text-align: center;
  margin: 0 0 25px;
}

/* タイトルバー */
.lineup-hashtag-result-title {
  background: #000;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
}

.lineup-hashtag-result-title-en {
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  color: #fff;
}

.lineup-hashtag-result-title-ja {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.2;
  color: #fff;
}

/* 説明文 */
.lineup-hashtag-result-description {
  background: #EEE;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.2;
  color: #000;
  padding: 17px 20px;
}

/* タイトル・説明の間隔 */
.lineup-hashtag-result-title + .lineup-hashtag-result-description {
  margin-top: 10px;
}

/* 商品カードグリッド（3列） */
.lineup-hashtag-result-products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 7px;
  padding: 14px 12px 0;
  justify-content: flex-start;
  margin: 0 auto;
}

/* 商品カード */
.hashtag-product-card {
  width: calc((100% - 7px * 2) / 3);
  background: #fff;
  border: 1px solid #CCCCCC;
  border-radius: 3px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 4px;
}

.hashtag-product-img {
  width: 100%;
  height: 24vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hashtag-product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hashtag-product-img[data-category="bonding-bleach"],
.hashtag-product-img[data-category="bonding-point-bleach"] { width: 42%; }
.hashtag-product-img[data-category="bonding-metallics"] { width: 42%; }
.hashtag-product-img[data-category="bonding-colormask"] { width: 36%; }
.hashtag-product-img[data-category="color-cream"] { width: 42%; }
.hashtag-product-img[data-category="toning-color-shampoo"],
.hashtag-product-img[data-category="bonding-color-shampoo"] { width: 38%; }
.hashtag-product-img[data-category="bonding-color-treatment"] { width: 40%; }
.hashtag-product-img[data-category="color-shampoo"] { width: 38%; }
.hashtag-product-img[data-category="bonding-oil"] { width: 40%; }
.hashtag-product-img[data-category="bonding-colormask-clear"] { width: 48%; }

.hashtag-product-name {
  display: flex;
  align-items: center;
  min-height: 34px;
  font-size: 10px;
  font-weight: 300;
  color: #000;
  text-align: left;
  margin: 6px 0 0;
  line-height: 1.2;
}

/* SP: 購入・詳細ボタン表示 */
.hashtag-product-buttons {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  align-items: center;
  margin-top: 6px;
}

.hashtag-product-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 22px;
  line-height: 1;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.hashtag-product-btn--buy {
  background: rgb(232, 47, 138);
  color: #fff;
  border: none;
  gap: 4px;
}

.hashtag-product-btn-icon {
  width: 14px;
  height: auto;
}

.hashtag-product-btn--detail {
  background: #fff;
  color: #000;
  border: 1px solid #000;
  position: relative;
}

.hashtag-product-btn-arrow {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.hashtag-product-btn-spacer {
  width: 100%;
  height: 28px;
}

/* 戻るボタン */
.lineup-hashtag-result-back-wrap {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.lineup-hashtag-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  background-image: url("../../images/common/btn-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: transparent;
  color: #fff;
  border: none;
  padding: 11px 24px;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  transition: opacity 0.2s;
}

.lineup-hashtag-back:hover {
  opacity: 0.7;
}

.lineup-hashtag-back-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.lineup-hashtag-back-text {
  line-height: 1;
}

/*************************************************************
ストアポップアップ SP
*************************************************************/

.hashtag-store-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
}

.hashtag-store-popup.active {
  visibility: visible;
  opacity: 1;
}

.hashtag-store-popup-inner {
  background: #fff;
  width: 90%;
  padding: 7.69vw 5.13vw;
  position: relative;
  box-sizing: border-box;
}

.hashtag-store-close {
  position: absolute;
  top: -40px;
  right: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hashtag-store-close img {
  width: 20px;
}

.hashtag-store-heading {
  font-size: 3.59vw;
  text-align: center;
  font-weight: 500;
  margin: 0 0 5.13vw;
}

.hashtag-store-buttons {
  display: flex;
  flex-direction: column;
  gap: 2.56vw;
  align-items: center;
}

.hashtag-store-btn {
  width: 100%;
  height: 15.38vw;
  border: 1px solid #ccc;
  border-radius: 1.03vw;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
}

.hashtag-store-logo {
  width: 30.77vw;
}

.hashtag-store-logo img {
  width: 100%;
  height: auto;
}

.hashtag-store-icon {
  position: absolute;
  right: 2.56vw;
  bottom: 2.56vw;
}

.hashtag-store-icon img {
  width: 4.1vw;
}

.hashtag-store-note {
  font-size: 2.82vw;
  text-align: center;
  color: #333;
  margin: 5.13vw 0 0;
  line-height: 1.8;
}

.hashtag-store-note small {
  font-size: 2.56vw;
  color: #666;
}

.hashtag-store-note .pc {
  display: none;
}

/*************************************************************
SEO用ハッシュタグテキスト（視覚的に非表示・sr-onlyパターン）
*************************************************************/
.lineup-hashtag-seo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lineup-hashtag-result-description small {
  font-size: 0.75em;
  margin: 0 0.5em;
}
