/** Shopify CDN: Minification failed

Line 24:0 Unexpected "}"
Line 908:0 Unexpected "}"
Line 1350:0 Unexpected "}"
Line 1516:0 Expected "}" to go with "{"

**/
.customer:not(.account):not(.order) {
  margin: 0 auto;
  max-width: 33.4rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
}

@media screen and (min-width: 750px) {
  .customer:not(.account):not(.order) .original-badge.badge-new
    max-width: 47.8rem;
  }
  .team-collection-section h2{
      margin-top: 80px;
  }
}

.customer > h1,
.customer__title {
  text-align:center;
  margin-top: 0;
  font-family: inherit;
  color:#333;
  font-weight:600px;
  font-size:20px;
}

.customer form {
  margin-top: 4rem;
}

.customer button {
    margin: 4rem 0 1.5rem;
    width: 100%;
    max-width: 300px;
}

.customer ul {
  line-height: calc(1 + 0.6 / var(--font-body-scale));
  padding-left: 4.4rem;
  text-align: left;
  margin-bottom: 4rem;
}

.customer ul a {
  display: inline;
}

.customer strong {
  font-weight: normal;
  color: rgb(var(--color-foreground));
}

.customer h2.form__message {
  font-size: calc(var(--font-heading-scale) * 1.8rem);
}

@media only screen and (min-width: 750px) {
  .customer h2.form__message {
    font-size: calc(var(--font-heading-scale) * 2.2rem);
  }
}

.customer .field {
  margin: 2rem 0 0 0;
}

.customer .field:first-of-type {
  margin-top: 0;
}

/* Customer Table */
.customer table {
  table-layout: auto;
  border-collapse: collapse;
  border-bottom: 0.01rem solid rgba(var(--color-foreground), 0.08);
  box-shadow: none;
  width: 100%;
  font-size: 1.6rem;
  position: relative;
}

@media screen and (min-width: 750px) {
  .customer table {
    border: none;
    box-shadow: 0 0 0 0.1rem rgba(var(--color-foreground), 0.08);
  }
}

@media screen and (forced-colors: active) {
  .customer table {
    border-top: 0.1rem solid transparent;
    border-bottom: 0.1rem solid transparent;
  }
}

.customer tbody {
  color: rgb(var(--color-foreground));
}

.customer th,
.customer td {
  font-weight: 400;
  line-height: 1;
  border: none;
  padding: 0;
}

@media screen and (min-width: 750px) {
  .customer td {
    padding-right: 2.2rem;
  }
}

.customer tbody td {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.customer td:empty {
  display: initial;
}

.customer thead th {
  font-size: 1.2rem;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
}

.customer tbody td:first-of-type {
  padding-top: 4rem;
}

@media screen and (min-width: 750px) {
  .customer th,
  .customer td:first-of-type {
    text-align: left;
    padding-left: 0;
    padding-right: 2.2rem;
  }

  .customer thead th,
  .customer tbody td {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .customer th:first-of-type,
  .customer td:first-of-type {
    padding-left: 2.2rem;
  }

  .customer tbody td {
    vertical-align: top;
  }

  .customer tbody td:first-of-type {
    padding-top: 2.4rem;
  }
}

.customer tbody td:last-of-type {
  padding-bottom: 4rem;
}

@media screen and (min-width: 750px) {
  .customer tbody td:last-of-type {
    padding-bottom: 0;
  }
}

.customer tbody tr {
  border-top: 0.01rem solid rgba(var(--color-foreground), 0.08);
}

@media screen and (min-width: 750px) {
  .customer tbody tr:first-of-type {
    border-top: none;
  }
}

@media screen and (forced-colors: active) {
  .customer tbody tr {
    border-top: 0.1rem solid transparent;
  }
}

.customer tfoot td:first-of-type,
.customer tfoot td {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.customer tfoot td:first-of-type {
  text-align: left;
}

.customer tfoot tr:first-of-type td {
  padding-top: 4rem;
}

@media screen and (min-width: 750px) {
  .customer tfoot tr:first-of-type td,
  .customer tfoot tr:first-of-type th {
    padding-top: 2.4rem;
  }
}

.customer tfoot tr:last-of-type td {
  padding-bottom: 4rem;
}

@media screen and (min-width: 750px) {
  .customer tfoot tr:last-of-type td,
  .customer tfoot tr:last-of-type th {
    padding-bottom: 2.4rem;
  }
}

/* works around colspan phantom border issues */
.customer thead::after,
.customer tfoot::before {
  content: ' ';
  height: 0.1rem;
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  background: rgba(var(--color-foreground), 0.08);
}

@media screen and (forced-colors: active) {
  .customer thead::after,
  .customer tfoot::before {
    background: CanvasText;
  }
}

/* mobile table overrides */
@media screen and (max-width: 749px) {
  .customer thead,
  .customer th,
  .customer tfoot td:first-of-type {
    display: none;
  }

  .customer td {
    display: flex;
    text-align: right;
  }

  .customer td::before {
    color: rgba(var(--color-foreground), 0.75);
    content: attr(data-label);
    font-size: 1.4rem;
    padding-right: 2rem;
    text-transform: uppercase;
    flex-grow: 1;
    text-align: left;
  }

  .customer td:first-of-type {
    display: flex;
    align-items: center;
  }

  .customer tr {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
  }
      .hide-on-mobile {
      display: none !important;
    }
}

/* Pagination */
.customer .pagination {
  margin-top: 5rem;
  margin-bottom: 7rem;
}

@media screen and (min-width: 990px) {
  .customer .pagination {
    margin-top: 7rem;
    margin-bottom: 10rem;
  }
}

.customer .pagination ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.customer .pagination li {
  flex: 1 1;
  max-width: 4rem;
}

.customer .pagination li:not(:last-child) {
  margin-right: 1rem;
}

.customer .pagination li :first-child {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 4rem;
  width: 100%;
  padding: 0;
  text-decoration: none;
}

.customer .pagination li :first-child .svg-wrapper {
  height: 0.6rem;
}

.customer .pagination li:first-of-type .svg-wrapper {
  margin-left: -0.2rem;
  transform: rotate(90deg);
}

.customer .pagination li:last-of-type .svg-wrapper {
  margin-right: -0.2rem;
  transform: rotate(-90deg);
}

.customer .pagination li [aria-current]::after {
  content: '';
  display: block;
  width: 2rem;
  height: 0.01rem;
  position: absolute;
  bottom: 0.08rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: currentColor;
}

/* Login */
.login a {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

.login a[href='#recover'] {
  margin-left: 0;
  margin-right: 0;
}

.login .field + a {
  margin-top: 1rem;
}

.login p {
  margin: 1.5rem 0;
}

.login h3 {
  margin-top: 1.5rem;
  text-align: left;
  font-size: calc(var(--font-heading-scale) * 1.6rem);
}

#customer_login_guest button {
  margin-top: 0;
}

#recover,
#recover + div {
  display: none;
}

#recover:target {
  display: block;
}

#recover:target + div {
  display: block;
}

#recover:target ~ #login,
#recover:target ~ #login + div {
  display: none;
}

#recover,
#login {
  scroll-margin-top: 20rem;
}

#recover {
  margin-bottom: 0;
}

.activate button[name='decline'],
.addresses li > button,
.addresses form button[type] {
  background-color: rgba(var(--color-background), var(--alpha-button-background));
  color: rgb(var(--color-link));
}

@media only screen and (min-width: 750px) {
  .activate button[name='decline'] {
    margin-top: inherit;
    margin-left: 1rem;
  }
}

/* Account/Order */
:is(.account, .order) {
  margin: 0 auto;
  max-width: var(--page-width);
  padding-left: 2rem;
  padding-right: 2rem;
}

@media screen and (min-width: 750px) {
  :is(.account, .order) {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

@media screen and (min-width: 990px) {
  :is(.account, .order) > div:nth-of-type(2) {
    display: flex;
    margin-top: 5rem;
  }
}

@media screen and (min-width: 990px) {
  :is(.account, .order) > div:nth-of-type(2) > div:first-of-type {
    flex-grow: 1;
    padding-right: 3.2rem;
  }
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .order > div:nth-of-type(2) > div:last-of-type {
    display: flex;
  }

  .order > div:nth-of-type(2) > div:last-of-type div {
    padding-right: 3.2rem;
  }
}

:is(.account, .order) p {
  margin: 0 0 2rem;
  font-size: 1.6rem;
}

:is(.account, .order) h1 {
  margin-bottom: 1rem;
}

:is(.account, .order) h2 {
  margin-top: 4rem;
  margin-bottom: 1rem;
}

@media screen and (min-width: 990px) {
  :is(.account, .order) h2 {
    margin-top: 0;
  }
}

.account h1 + a {
  display: inline-flex;
  align-items: center;
}

.account a .svg-wrapper {
  width: 1.5rem;
  margin-bottom: -0.03rem;
  margin-right: 1rem;
}

@media screen and (min-width: 750px) {
  .account thead th:last-child,
  .account td:last-child {
    text-align: right;
  }

  .account table td:first-of-type {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }
}

.account table td:first-of-type a {
  padding: 1.1rem 1.5rem;
  text-decoration: none;
  box-shadow: 0 0 0 0.1rem rgba(var(--color-link), 0.2);
  border: 0.1rem solid transparent;
  font-size: 1.2rem;
}

.account table td:first-of-type a:hover {
  box-shadow: 0 0 0 0.2rem rgba(var(--color-link), 0.2);
}

.order td:first-of-type {
  align-items: initial;
}

@media screen and (min-width: 750px) {
  .order thead th:nth-last-child(-n + 3),
  .order td:nth-last-child(-n + 3) {
    text-align: right;
  }
}

.order tfoot tr:last-of-type td,
.order tfoot tr:last-of-type th {
  font-size: 2.2rem;
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}

@media screen and (min-width: 750px) {
  .order tfoot tr:last-of-type td,
  .order tfoot tr:last-of-type th {
    padding-bottom: 2.4rem;
  }
}

.order tfoot tr:last-of-type td:before {
  font-size: 2.2rem;
}

.order table p,
.order > div:nth-of-type(2) > div:first-of-type h2,
.order > div:nth-of-type(2) > div:last-of-type h2 + p {
  margin-bottom: 0;
}

.order > div:nth-of-type(2) > div:first-of-type h2 ~ p {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.order > div:nth-of-type(2) > div:first-of-type h2 ~ p:last-of-type {
  margin-bottom: 3rem;
}

.order .item-props {
  font-size: 1.4rem;
  margin-top: 0.05px;
  display: flex;
  flex-direction: column;
}

.order .item-props > span {
  word-break: break-all;
  line-height: calc(1 + 0.2 / var(--font-body-scale));
}

.order .fulfillment {
  width: fit-content;
  border: 0.01rem solid rgba(var(--color-foreground), 0.2);
  padding: 1rem;
  margin-top: 1rem;
  font-size: 1.4rem;
  text-align: left;
}

.order .fulfillment a {
  margin: 0.7rem 0;
}

.order .fulfillment span {
  display: block;
}

.order .cart-discount {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

@media screen and (min-width: 750px) {
  .order td .cart-discount {
    display: none;
  }
}

.order tbody ul {
  list-style: none;
  font-size: 1.2rem;
  text-align: right;
  padding-left: 0;
  margin-top: 1rem;
  margin-bottom: 0;
}

@media screen and (min-width: 750px) {
  .order tbody ul {
    text-align: left;
  }
}

.order table a {
  line-height: calc(1 + 0.3 / var(--font-body-scale));
}

.order tbody tr:first-of-type td:first-of-type > div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media screen and (min-width: 750px) {
  .order tbody tr:first-of-type td:first-of-type > div {
    align-items: flex-start;
  }
}

.order .properties {
  font-size: 1.4rem;
  margin-top: 1rem;
}

.order .properties span {
  display: block;
  line-height: calc(1 + 0.2 / var(--font-body-scale));
}

.order .svg-wrapper {
  width: 1.1rem;
  color: rgb(var(--color-foreground));
  margin-right: 0.5rem;
}

.order dl {
  margin: 0;
}

.order dd {
  margin-left: 0;
  line-height: calc(1 + 0.3 / var(--font-body-scale));
}

.order dd s {
  color: rgba(var(--color-foreground), 0.7);
}

.order .unit-price {
  font-size: 1.1rem;
  letter-spacing: 0.07rem;
  line-height: calc(1 + 0.2 / var(--font-body-scale));
  margin-top: 0.2rem;
  text-transform: uppercase;
  color: rgba(var(--color-foreground), 0.7);
}

.order .regular-price {
  font-size: 1.3rem;
}

/* Addresses */
.addresses li > button {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.addresses li > button + button,
.addresses form button + button {
  margin-top: 0rem;
}

@media screen and (min-width: 750px) {
  .addresses li > button:first-of-type {
    margin-top: 3rem;
  }
}

.addresses form button:first-of-type {
  margin-right: 1rem;
}

label[for='AddressCountryNew'],
label[for='AddressProvinceNew'] {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.addresses form {
  display: flex;
  flex-flow: row wrap;
}

.addresses form > div {
  width: 100%;
  text-align: left;
}

.addresses ul {
  list-style: none;
  padding-left: 0;
  text-align: center;
}

li[data-address] {
  margin-top: 5rem;
}

.addresses [aria-expanded='false'] ~ div[id] {
  display: none;
}

.addresses [aria-expanded='true'] ~ div[id] {
  display: block;
}

.addresses h2 {
  text-align: left;
}

li[data-address] > h2 {
  text-align: center;
  font-size: calc(var(--font-heading-scale) * 1.8rem);
  margin-bottom: 0;
}

@media only screen and (min-width: 750px) {
  li[data-address] > h2 {
    font-size: calc(var(--font-heading-scale) * 2.2rem);
  }
}

.addresses ul p {
  margin-bottom: 0;
}

.addresses input[type='checkbox'] {
  margin-top: 2rem;
  margin-left: 0;
}

@media only screen and (min-width: 750px) {
  .addresses form > div:nth-of-type(1) {
    margin-right: 2rem;
  }

  .addresses form > div:nth-of-type(2) {
    margin-top: 0;
  }

  .addresses form > div:nth-of-type(1),
  .addresses form > div:nth-of-type(2) {
    box-sizing: border-box;
    flex-basis: calc(50% - 1rem);
  }
}

.addresses form > div:nth-of-type(7),
.addresses form > div:nth-of-type(7) + div[id] {
  margin-top: 1.5rem;
}
/* 商品画像エリアを正方形にし、画像がすべて表示されるようにする */
.rise-product-card__image.fixed-square {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 高さ = 幅 → 正方形 */
  overflow: hidden;
  background-color: #fff;
}


.customer-order-sh {
  width: 90%;
  max-width: 880px; /* 幅を統一 */
  margin: 0 auto; /* 中央揃え */
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 10px; /* 注文履歴とお見積もり作成の間に余白を追加 */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.customer-order-sh h2 {
  text-align: center;
  width: 100%;
  margin-bottom: 10px;
}

.order-history {
  width: 100%;
  text-align: left;
}
.rise-product-card__buttons a {
        background-color: #666666;
}
@media (max-width: 768px) { /* スマホ用の調整 */
    .general-product-card h2,
    .player-product-card h2 {
        font-size: 1.2rem; /* 小見出しのフォントサイズを縮小 */
    }
    .general-product-card h3,
    .player-product-card h3,
    .general-product-title {
        font-size: 1.2rem !important; /* 強制的に適用 */
    }
    .general-product-card p,
    .player-product-card p,
    .general-product-card span,
    .player-product-card span {
        font-size: 1.2rem; /* テキストのサイズを小さく */
    }
    .general-product-card label,
    .player-product-card label {
        font-size: 1.2rem !important; /* ラベルのフォントサイズを小さく */
        display: block; /* 必要に応じてラベルのレイアウト調整 */
        margin-bottom: 2px; /* 下に少し余白を追加 */
    }
    .general-product-card select,
    .player-product-card select,
    .general-product-card input,
    .player-product-card input {
        font-size: 0.875rem; /* ドロップダウンや数量選択のフォントサイズも調整 */
    }
    .general-product-card button,
    .player-product-card button {
        font-size: 0.9rem; /* ボタンの文字サイズも少し小さく */
        padding: 8px 12px; /* ボタンの余白も調整 */
    }
  .customer-order-sh {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOS の慣性スクロールを有効化 */
  }

  /* テーブルは幅を広めに確保（必要に応じて調整） */
  .customer-order-sh table.order-history {
    display: block;       /* ブロック化してスクロール領域に */
    min-width: 600px;     /* 全カラムが収まるだけの幅を確保 */
    width: auto;          /* 横幅は中身次第 */
  }

  /* もし table-layout: fixed や white-space で折り返し制御している場合は解除 */
  .customer-order-sh table.order-history th,
  .customer-order-sh table.order-history td {
    white-space: nowrap;
  }
}

.general-product-card,
.player-product-card {
    text-align: left !important;
}


.general-product-title,
.general-product-price,
.general-product-card label,
.general-product-card select,
.general-product-card input {
    text-align: left !important;
    display: block; /* 左寄せをしやすくするために block 表示に */
    margin-left: 0 !important; /* 左側に寄せる */
}

.player-product-title,
.player-product-price,
.player-product-card label,
.player-product-card select,
.player-product-card input {
    text-align: left !important;
    display: block;
    margin-left: 0 !important;
}
.customer-info {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
}
.customer-actions {
    display: flex;
    gap: 20px;
    margin: 20px auto; /* 上下の余白を追加 */
    width: 90%;
    max-width: 880px;
    justify-content: center;
    flex-wrap: nowrap;
    padding-top: 10px; /* 背景の白が見えるように */
    padding-bottom: 10px; /* 背景の白が見えるように */
}
}
.customer-info:last-child {
    margin-bottom: 10px;
}
.customer-action {
    flex: 1; /* 均等な幅 */
    max-width: 30%; /* 幅を30%に調整 */
    text-align: center;
    padding: 10px 10px 5px; /* 上下のパディングを調整（下を小さく） */
    height: 180px; /* 高さを少し小さく調整 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    background-color: #f3f4f5;
    position: relative;
    gap: 3px; /* アイコンとテキストの間の余白をさらに縮小 */
}
.customer-action::before {
    content: "";
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.customer-action img {
    width: 30px; /* サイズ微調整 */
    height: 30px;
    position: absolute;
    top: 25px; /* 上位置を調整 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.customer-action .customer-action-text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
  line-height: 1.4;
  height: auto;
  margin-top: 30px;
}
@media (max-width: 768px) {
      /* 注文履歴の日付フォントサイズを調整 */
    .order-history time {
        color: #333; /* 読みやすいカラー */
    }
  .order-history thead th,
  .order-history tbody td {
    font-size: 0.9rem; /* お好みで。0.8rem〜1rem程度がおすすめ */
    padding: 4px 6px;  /* 余白も調整可能 */
    white-space: nowrap; /* 折り返し防止（必要であれば） */
  }
    .order-history tbody td {
    line-height: 1.3;
    color: #222;
  }
    .order-history tbody td::before {
    font-size: 0.75rem; /* ラベル名（data-labelの表示）の文字サイズも調整 */
  }
    .customer-actions {
        display: flex;
        flex-wrap: nowrap; /* 1行に収める */
        justify-content: space-between; /* 均等配置 */
        gap: 10px; /* アイテム間の余白 */
    }

    .customer-action {
        flex: 1; /* 均等な幅 */
        max-width: 30%; /* 幅を30%に調整 */
        text-align: center; /* 中央揃え */
        padding: 10px;
        height: 160px; /* スマホではさらに小さく */
        padding: 8px 8px 4px;
    }
    .customer-action::before {
        width: 60px;
        height: 60px;
    }
    .customer-action img {
        width: 30px; /* アイコンサイズを統一 */
        height: 30px;
    }

    .customer-action-text {
        font-size: 12px; /* スマホで見やすいサイズに調整 */
        margin-bottom: 10px;
    }

}
.customerorder-none {
    text-align: center; /* 中央揃え */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* 幅を全体に広げる */
}
.team-logo {
    display: block; /* インライン要素からブロック要素に変換 */
    margin: 0 auto 15px auto; /* センター寄せ */
    max-width: 100%; /* 画像の最大幅を適切に設定（必要に応じて調整） */
    object-fit: contain; 
    height: auto; /* 縦横比を保持 */
    text-align: center; /* 親要素の影響を減らす */
}

.team-button {
    width: 100%; /* 幅を最大に */
    max-width: 400px; /* PCでは大きくなりすぎないように制限 */
    padding: 15px 20px; /* ボタンの内側の余白を広く */
    font-size: 18px; /* 文字を大きく */
    font-weight: bold; /* 文字を強調 */
    font-family: inherit;
    text-align: center;
    background-color: #1FD5AD;
    color: white;
    border: none;
    border-radius: 8px; /* 角丸 */
    cursor: pointer;
    display: block;
    margin: 20px auto; /* 上下余白をつけて中央配置 */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* 影を追加 */
    transition: all 0.3s ease-in-out; /* なめらかなホバー効果 */
}

.team-button:hover {
    background-color: #1FD5AD; /* ホバー時に濃い色へ */
    transform: scale(1.05); /* ほんの少し拡大 */
}

.team-button:active {
    background-color: #1FD5AD; /* クリック時にさらに濃い色へ */
    transform: scale(0.98); /* 押し込む感じに */
}


 /* カード一覧のラッパー */
    .team-collection-grid {
      display: grid;
      gap: 1.5rem;
      /* カードの最小幅を 220px にし、横幅に応じて自動的に列数を増減 */
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      /* 全体を中央寄せし、横幅の最大値を設定 */
      max-width: 1200px;
      margin: 2rem auto; /* 上下2remの余白をとりつつ、左右autoで中央寄せ */
      justify-items: center; /* 各セルの内容(カード)を中央寄せ */
    }
    /* カード全体 */
    .rise-product-card {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      background-color: #fff;
      text-align: left;
      border: 1px solid #eee;
      padding: 0.5rem;
      box-sizing: border-box;
      transition: box-shadow 0.2s ease;
      width: 100%; /* 親のgridが220px以上を確保してくれる */
      max-width: 300px; /* 必要に応じてカード自体の最大幅を設定してもOK */
    }
    .rise-product-card:hover {
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }
    .rise-product-card__image {
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;  /* 2枚の画像を重ねるため */
      overflow: hidden;    /* はみ出しを隠す（必要に応じて） */
    }
    /* 1枚目の画像は常時表示 */
    .rise-product-card__image .primary-image {
      display: block;
      width: 100%;
      object-fit: cover; /* 必要に応じてトリミング */
    }
    
    /* 2枚目の画像は最初は非表示にしておく */
    .rise-product-card__image .hover-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      z-index: 2;
      transition: opacity 0.3s ease;
    }
    
    /* ホバー時に2枚目を表示 */
    .rise-product-card__image:hover .hover-image {
      opacity: 1;
    }
    /* 画像部分 */
    .rise-product-card__image img {
      width: 100%;
      height: 200px;
      object-fit: contain;
    }
    /* 商品タイトル */
    .rise-product-card__title {
      display: -webkit-box;
      -webkit-line-clamp: 2;       /* 2行に制限 */
      -webkit-box-orient: vertical;
      overflow: hidden;
      font-size: 1.5rem;
      font-weight: 600;
      margin-top: 20px;     
      margin-bottom: 0.3rem;
      color: #333;
      line-height: 1.4;
      min-height: 4.2rem; /* 2行分の高さを確保 */
      text-decoration: none;
    }
    /* ブランド等の追加情報 */
    .rise-product-card__subtitle {
      font-size: 1.4rem;
      color: #777;
      margin-bottom: 0.5rem;
      min-height: 2rem;
      line-height: 1.4;
      text-align:left;
    }
    /* 価格表示 */
    .rise-product-card__price {
      font-size: 1.4rem;
      min-height: 2rem; 
      font-weight: 700;
      color: #333;
      margin-bottom: 1rem;
      text-align:left;
      display: flex;
      flex-wrap: wrap;
      flex-direction: row;
      align-items: flex-start;
      justify-content: flex-start;
      gap: 0.3em;
    }

    /* フォーム全体 */
    .rise-product-card__form {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.5rem;
    }
    /* バリエーション選択ドロップダウン */
    .rise-product-card__select {
      width: 100%;
      padding: 0.5rem;
      font-size: 0.9rem;
    }
    /* 数量入力 */
    .rise-product-card__quantity {
      width: 100%;
      max-width: 100px;
      padding: 0.4rem;
      text-align: center;
      font-size: 0.9rem;
    }
    /* ボタン */
    .rise-product-card__btn {
      display: inline-block;
      width: 100%;
      padding: 0.75rem 1rem;
      border: 1px solid #333;
      background-color: #fff;
      color: #333;
      font-size: 0.9rem;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .rise-product-card__btn:hover {
      background-color: #333;
      color: #fff;
    }

    /* 見出しや案内文など */
    .team-collection-section p {
      margin-bottom: 1rem;
      font-size: 1.1rem;
    }
  .fixed-square {
    width:100% !important;         /* 任意の幅に調整可能 */
    height: 300px ;       
    object-fit: contain;   
  }
@media (min-width:1080px) {
.rise-product-card__title{
    margin-top:20px
}
}
/* --- スマホ表示のレイアウトを変更 --- */
@media (max-width: 768px) {
    .rise-product-card__price {
    flex-direction: column;
    gap: 0.1em;
  }
.rise-product-card__buttons a {
  padding: 12px 12px !important;
  font-size: 14px !important;
}
  .team-collection-section {
  overflow-x: hidden;
}
   .team-collection-section h2{
    text-align: center;
    margin: 2rem 0;
    padding: 0 1.5rem;
}
  .team-button {
    max-width:90% !important;
    font-size:14px;
  }
  /* チーム商品一覧のグリッドを2カラムに */
  .team-collection-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 12px !important;
    padding: 0 1rem !important;
  }

  /* カードの幅を調整してコンパクトに */
  .rise-product-card {
    flex: 0 0 auto !important;
    width: 37% !important; /* ← 2.5個見えるように */
    scroll-snap-align: start !important;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-right: 0 !important;
  }
    .team-collection-grid .rise-product-card:last-child {
    margin-right: 1rem !important; /* 最後に余白を追加 */
  }

  .hide-on-mobile {
    display: none !important;
  }

  /* 画像のサイズを自動調整 */
  .rise-product-card__image img {
    width: 100%;
    height: auto;
    object-fit: contain !important;
  }


  /* タイトルや価格のフォントサイズをやや小さめに */
  .rise-product-card__title,
  .rise-product-card__subtitle,
  .rise-product-card__price {
    font-size: 1.3rem; /* お好みで調整 */
    line-height: 1.2;
  }

  /* バリエーションセレクト・数量入力などを小さめに */
  .rise-product-card__select,
  .rise-product-card__quantity,
  .rise-product-card__btn {
    font-size: 0.8rem;
    padding: 4px 6px; /* コンパクトに */
  }
  .fixed-square {
    width: 100% !important;
      aspect-ratio: 1 / 1; /* 正方形を保つ */
      object-fit: cover;
      display: block;
  }
}
.rise-product-card__title:hover {
  text-decoration: underline;
  text-decoration-color: #000;
}
.noorder-text{
  width:100%;
}
.noorder-text p{
    text-align:center !important;
}
.product-detail-button{
    margin-bottom:10px;
     width: 100%!important;
}
.add-to-cart-button{
  width: 100%!important;
}
/* バッジ共通の見た目（色以外） */
.original-badge {
  background-color: #1FD5AD;
  color: #ffffff;
  padding: 0.4em 0.8em;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
  transition: transform 0.3s ease;
  position: absolute;
}

/* ホバー効果共通 */
.original-badge:hover {
  transform: scale(1.05);
}

/* 右上に表示（オリジナルグッズ） */
.badge-original{
  top: 10px;
  right: 10px;
  background-color: #1FD5AD;  /* グリーン */
}
.stop-original{
    top: 10px;
  right: 10px;
  background-color: #333333;  /* グリーン */
}
}
/* 左上に表示（必須購入品） */
.badge-required{
  top: 10px;
  left: 10px;
  background-color: #1976D2 ;  /* ブルー */
}

/* 左上に表示（指定購入品） */
.badge-designated{
  top: 10px;
  left: 10px;
  background-color: #FE7F9C;
}

.rise-product-card__buttons{
  margin-top: auto;
}
.rise-product-card__image {
    position: relative;
  width: 100%;
  padding-top: 100%; /* 正方形に */
  overflow: hidden;
  background-color: #fff;
}
/* 両方の画像に共通適用 */
.rise-product-card__image .primary-image,
.rise-product-card__image .hover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* 縦横比維持 */
  object-position: center;
  transition: opacity 0.3s ease;
}

/* 初期状態では2枚目を非表示 */
.rise-product-card__image .hover-image {
  opacity: 0;
  z-index: 2;
}

/* ホバーで2枚目を表示 */
.rise-product-card__image:hover .hover-image {
  opacity: 1;
}
.limited-badge {
  position: absolute;
  top: 10px;               /* 上からの余白を設定 */
  right: 10px;             /* 右からの余白を設定 */
  background-color: #9932CC;
  color: #ffffff;          /* 白色の文字 */
  padding: 0.4em 0.8em;     /* 文字に対して余裕のあるパディング */
  font-size: 1rem;       /* 少しコンパクトな文字サイズ */
  font-weight: 700;         /* 強調するための太字 */
  text-transform: uppercase;/* すべて大文字にして存在感アップ */
  letter-spacing: 0.05em;   /* 文字間をわずかに広げる */
  border-radius: 4px;       /* 均一な角丸で柔らかさを演出 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* 軽いシャドウで浮き上がる効果 */
  z-index: 2;              /* 他の要素より上に表示 */
  transition: transform 0.3s ease;  /* ホバー時のスムーズな拡大アニメーション */
}

.limited-badge:hover {
  transform: scale(1.05);  /* ホバー時にほんの少し拡大 */
}
.price--compare {
  text-decoration: line-through;
  color: #888;
  margin-right: 0.5rem;
  font-size: 0.9em;
}
.price--current {
  font-weight: bold;
  font-size: 1.1em;
  color: #000;
}
.tax-include {
  font-size: 0.75em;          /* 小さく */
  color: #888888;             /* 薄めのグレー */
  margin-left: 0.25em;        /* 販売価格と少し余白 */
  white-space: nowrap;        /* 折り返さずに横並びをキープ */
}

.discounted-price {
  color: red;
  font-size: 1.2em;
  font-weight: bold;
}
.button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px; /* ボタン間の余白 */
  margin-top: 24px;
}
a.button,
.button-link {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
  cursor: pointer;
}

a.button:hover,
.button-link:hover {
  background-color: #000;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .original-badge {
    font-size:0.8rem;
  }
  
  .rise-product-card__image {
    max-width: 100%;
  }
}
.price--compare.dummy {
  visibility: hidden;
  display: inline-block;
  height: 1.2em; /* 文字サイズに合わせて微調整可 */
}
.price-line {
  font-size: 1em;
}
.compare-price {
  text-decoration: line-through;
  color: #555;
}

.sale-price {
  color: red;
  font-weight: bold;
}
.badge-new {
  position: absolute;          /* 画像コンテナの左上に重ねるため */
  top: 10px;                    /* 好みで微調整してください */
  left: 10px;                   /* 好みで微調整してください */
  background-color: #e60012;   /* “赤” (お好きな赤に変更可) */
  color: #ffffff;              /* 白文字 */
  font-size: 1rem;
  font-weight: 700; /* お好みで変えてください */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  padding: 0.4em 0.8em;            /* バッジの余白 */
  border-radius: 4px;          /* 角丸にする */
  z-index: 2;                 /* 他の要素より前面に出す */
  transition: transform 0.3s ease;
  white-space: nowrap;         /* テキストを折り返さない */
}
.badge-new:hover {
  transform: scale(1.05);
}
@media screen and (max-width: 768px) {
  .badge-new {
    font-size:0.8rem;
  }
