.fs-c-accountService__page--orderHistoryList {
  display: none;
}

.fs-c-checkout-deliveryMethod__option__title {
  display: none
}

.logout.my-false { display: none; }
.login.my-true { display: none; }
.regist.my-true { display: none; }

.fs-c-button--confirmOrder--rakutenPay img {
    height: 55px;
}

/* ▼ 注文手続き画面 商品画像のラッパー（親要素） */
.fs-c-checkout-shippingParcel__productImage {
  width: 100%;
  max-width: 160px; /* PC時の最大幅 */
  margin: 0;         /* 左寄せにする */
}

/* ▼ 商品画像自体 */
.fs-c-checkout-shippingParcel__productImage__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 4px;
}

/* ▼ スマホ対応（幅が768px以下の時） */
@media screen and (max-width: 768px) {
  .fs-c-checkout-shippingParcel__productImage {
    max-width: 120px; /* スマホ時の最大幅 */
  }
}

/* ▼ 全体の枠 */
.fs-c-checkout-shippingDetail__detail {
  border: 1px solid #ddd;
  padding: 16px;
  background-color: #f9f9f9;
  margin-bottom: 24px;
}

/* ▼ 見出し（配送方法） */
.fs-c-checkout-shippingDetail__shippingCarrier__label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

/* ▼ 配送方法の値 */
.fs-c-checkout-shippingDetail__shippingCarrier__value {
  font-size: 14px;
  color: #000;
  margin-bottom: 8px;
}

/* ▼ コメント（注意書き） */
.fs-c-checkout-shippingCarrierComment p {
  font-size: 13px;
  color: #666;
  background-color: #fff;
  padding: 8px;
  border-left: 4px solid #ccc;
  margin: 0;
}

/* ▼ 配送希望日・時間帯リスト */
.fs-c-checkout-shippingDetail__deliveryDetailPreview {
  display: grid;
  grid-template-columns: 120px 1fr;
  row-gap: 8px;
  column-gap: 12px;
  font-size: 14px;
  color: #333;
  margin: 16px 0;
}

.fs-c-checkout-shippingDetail__deliveryDetailPreview dt {
  font-weight: bold;
  text-align: left;
}

.fs-c-checkout-shippingDetail__deliveryDetailPreview dd {
  margin: 0;
}

/* ▼ 変更ボタン */
.fs-c-button--change--small {
  padding: 6px 12px;
  font-size: 14px;
  background-color: #a78000;
  color: white;
  border: none;
  border-radius: 0; /* ← 角丸をなくす */
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.fs-c-button--change--small:hover {
  background-color: #8c6900;
}

/* ▼ スマホ対応 */
@media screen and (max-width: 768px) {
  .fs-c-checkout-shippingDetail__deliveryDetailPreview {
    grid-template-columns: 100px 1fr;
    font-size: 13px;
  }

  .fs-c-checkout-shippingDetail__detail {
    padding: 12px;
  }

  .fs-c-button--change--small {
    font-size: 13px;
    padding: 5px 10px;
  }
}

/* ▼ 配送内容ブロック全体 */
.fs-c-checkout-shippingDetail__outline {
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  padding: 16px;
  margin-bottom: 24px;
}

/* ▼ タイトル */
.fs-c-checkout-shippingDetail__outline__title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #333;
}

/* ▼ お届け日情報 */
.fs-c-deliveryDateInfo {
  font-size: 14px;
  color: #333;
  margin-bottom: 16px;
}

.fs-c-deliveryDateInfo__condition {
  font-weight: bold;
  color: #a78000;
}

.fs-c-deliveryDateInfo__condition__time {
  font-weight: bold;
  margin-left: 4px;
}

.fs-c-deliveryDateInfo__info {
  margin-left: 8px;
  color: #333;
}

/* ▼ 商品パーセル全体 */
.fs-c-checkout-shippingParcel {
  border: 1px solid #ccc;
  padding: 12px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ▼ 商品リスト */
.fs-c-checkout-shippingParcel__productList {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ▼ 商品アイテム */
.fs-c-checkout-shippingParcel__product {
  display: flex;
  gap: 16px;
}

/* ▼ 画像 */
.fs-c-checkout-shippingParcel__productImage {
  width: 100px;
  flex-shrink: 0;
}

.fs-c-checkout-shippingParcel__productImage__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border: 1px solid #ccc;
}

/* ▼ 商品情報本体 */
.fs-c-checkout-shippingParcel__productInfo {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 14px;
  color: #333;
}

/* ▼ 商品名 */
.fs-c-checkout-ship

/* -------------------------------
  共通セクションスタイル
------------------------------- */
.customitem-section {
  line-height: 1.7;
  padding: 20px 0;
}

/* -------------------------------
  TECHNOLOGIESセクションスタイル
------------------------------- */
.customitem-technologies {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 24px auto 40px;
  text-align: center;
  max-width: 600px;
}

.customitem-technologies figure {
  margin: 0;
}

.customitem-technologies img {
  width: 60px;
  height: auto;
  margin: 0 auto;
}

.customitem-technologies figcaption {
  margin-top: 8px;
  font-size: 1.3rem;
  color: #666;
}

.technologies-title {
  text-align: center;
  font-weight: bold;
  font-size: 2.0rem;
}

/* -------------------------------
  2カラム（画像＋テキスト）
------------------------------- */
.customitem-two-column {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 24px;
  align-items: center;
  margin: 40px 0;
}
.customitem-two-column img {
  width: 100%;
  height: auto;
  display: block;
}

/* 2カラム（左右反転バージョン） */
.customitem-two-column--reverse {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 24px;
  align-items: center;
  margin: 40px 0;
}
.customitem-two-column--reverse > div:first-child {
  order: 2;
}
.customitem-two-column--reverse > div:last-child {
  order: 1;
}
.customitem-two-column--reverse img {
  width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------
  2カラムギャラリー（画像＋キャプション）
------------------------------- */
.customitem-gallery-2c {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 40px 0;
}
.customitem-gallery-2c figure {
  margin: 0;
}
.customitem-gallery-2c img {
  width: 100%;
  height: auto;
  display: block;
}
.customitem-gallery-2c figcaption {
  text-align: center;
  padding-top: 8px;
  font-size: 14px;
}

/* -------------------------------
  3カラムギャラリー（画像＋キャプション）
------------------------------- */
.customitem-gallery-3c {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0;
}
.customitem-gallery-3c figure {
  margin: 0;
}
.customitem-gallery-3c img {
  width: 100%;
  height: auto;
  display: block;
}
.customitem-gallery-3c figcaption {
  text-align: center;
  padding-top: 8px;
  font-size: 14px;
}

/* -------------------------------
  カスタムギャラリー（スマホ変則表示対応版）
------------------------------- */
.customitem-gallery-alt {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 40px 0;
}
.customitem-gallery-alt figure {
  margin: 0;
  position: relative;
}
.customitem-gallery-alt img {
  width: 100%;
  height: auto;
  display: block;
}
.customitem-gallery-alt figcaption {
  text-align: center;
  padding-top: 8px;
  font-size: 0.9rem;
}

/* スマホ表示：ギャラリー調整 */
@media (max-width: 575px) {
  .customitem-technologies {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .customitem-gallery-alt {
    grid-template-columns: 1fr 1fr;
  }

  .customitem-gallery-alt figure:nth-child(1),
  .customitem-gallery-alt figure:nth-child(4) {
    grid-column: span 2;
  }

  .customitem-gallery-alt figure:nth-child(2),
  .customitem-gallery-alt figure:nth-child(3) {
    aspect-ratio: 2 / 3;
    overflow: hidden;
  }

  .customitem-gallery-alt figure:nth-child(2) img,
  .customitem-gallery-alt figure:nth-child(3) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* 全体を1カラム化 */
  .customitem-two-column,
  .customitem-gallery-2c,
  .customitem-gallery-3c,
  .customitem-two-column--reverse {
    grid-template-columns: 1fr;
  }

  .customitem-two-column--reverse > div:first-child,
  .customitem-two-column--reverse > div:last-child {
    order: initial;
  }
}

/* -------------------------------
  リンク付き画像（ホバーエフェクト付き）
------------------------------- */
.hover-effect {
  width: 100%;
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  display: block;
}
.hover-effect:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
@media screen and (min-width: 768px) {
  .hover-effect {
    width: 50%;
  }
}

/* -------------------------------
  枠囲みスタイル
------------------------------- */
.customitem-bordered {
  border: 1px solid #313131;
  padding: 10px;
  margin-top: 20px;
}

/* -------------------------------
  注意書きスタイル
------------------------------- */
.customitem-note {
  color: red;
  margin-top: 20px;
}

/* -------------------------------
  CEマークと特徴の2カラム構成
------------------------------- */
.ce-feature-section {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 16px;
  align-items: start;
  margin: 40px 0;
}

.ce-feature-section ul {
  font-size: 1.4rem;
  line-height: 1.8;
}
.ce-feature-section li {
  margin-bottom: 0.5em;
}

.ce-feature-section .note {
  font-size: 1.2rem;
  color: #666;
}

.ce-feature-section img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

@media (max-width: 768px) {
  .ce-feature-section {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------
  YouTube埋め込み（16:9）
------------------------------- */
.youtube-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* アスペクト比 16:9 */
  overflow: hidden;
}

.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* -------------------------------
  メディアライブラリ動画（16:9）
------------------------------- */
.video-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* アスペクト比 16:9 */
  overflow: hidden;
}

.video-embed video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* -------------------------------
  メディアライブラリ動画（縦長 450px幅 → 854px高）
------------------------------- */
.responsive-video {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 0;
  padding-bottom: 189.78%; /* 854 / 450 = 約1.8978 → アスペクト比 9:16 */
  overflow: hidden;
}

.responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 450px以上の場合、高さ固定でパディング無効 */
@media (min-width: 450px) {
  .responsive-video {
    height: 854px;
    padding-bottom: 0;
  }
}

/* -------------------------------
  1カラム画像
------------------------------- */
.product-image-block {
  width: 100%;
  margin: 1.5em 0;
}

.product-image-block img {
  width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------
  スペーサー
------------------------------- */
.customitem-spacer {
  width: 100%;
  display: block;
}

/* -------------------------------
  1カラム画像
------------------------------- */
    .product-image-block img {
      width: 50%; /* PCでは50%のサイズ */
      height: auto;
      max-width: 100%;
    }

    /* スマホ用スタイル */
    @media (max-width: 768px) {
      .product-image-block img {
        width: 100%; /* スマホでは80%のサイズ */
      }
    }

/* -------------------------------
  HEDONアイテムの商品説明（大）使用
------------------------------- */

  /* 上段：スライダー + スペック（flex 2カラム） */
  .customitem-spec-slider-block {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  /* 上段：動画 + スペック（flex 2カラム） */
  .customitem-spec-video-block {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  /* スライダー（1:1） */
  .customitem-slider {
    flex: 1 1 300px;
    max-width: 600px;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }
  .customitem-slider__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
  }
  .customitem-slider__slide.is-active {
    opacity: 1;
    z-index: 1;
  }

  /* 動画ボックス（1:1／埋め込みiframe想定） */
  .customitem-video {
    flex: 1 1 300px;
    max-width: 600px;
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
  }
  .customitem-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  /* 商品スペック（カード風） */
  .customitem-specs {
    flex: 1 1 400px;
    max-width: 600px;
    background-color: #f9f9f9;
    padding: 1em;
    box-sizing: border-box;
  }
  .customitem-specs dl { margin: 0; }
  .customitem-specs dt {
    font-weight: bold;
    margin-top: 0.8em;
  }
  .customitem-specs dd {
    margin: 0.2em 0 0.8em 1em;
    line-height: 1.5;
  }

  /* 下段：横長16:9動画（overlay可） */
  .customitem-video-16x9 {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
  }
  .customitem-video-16x9 video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  .customitem-video-16x9__overlay {
    position: absolute;
    inset: 0;
    z-index: 2; /* 動画の上 */
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  .customitem-video-16x9__title {
    color: #fff;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0,0,0,0.8);
    text-align: center;
  }

  /* モバイル対応 */
  @media screen and (max-width: 768px) {
    .customitem-spec-slider-block {
      flex-direction: column;
    }
    .customitem-spec-video-block {
      flex-direction: column;
      gap: 1em; /* モバイルでの隙間調整（動画+スペック） */
    }

    .customitem-slider,
    .customitem-video,
    .customitem-specs {
      flex: 1 1 100%;
      max-width: 100%;
      width: 100%;
    }

    /* スライダーはモバイルで静止表示に切替 */
    .customitem-slider {
      aspect-ratio: auto;
      height: auto;
      position: relative;
    }
    .customitem-slider__slide {
      position: relative;
      opacity: 1 !important;
      transition: none !important;
      width: 100%;
      height: auto;
      z-index: auto;
    }
  }

/* -------------------------------
  HEDONアイテムの独自コメント（1）に使用
------------------------------- */

  /* 商品説明部分（ヘルメットサイズ用） */
  .customitem-helmet-size {
    font-family: sans-serif;
    margin: 20px;
    background-color: #fff;
    color: #333;
  }

  .customitem-helmet-size__title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.4em;
  }

  .customitem-helmet-size__container {
    display: flex;
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
  }

  .customitem-helmet-size__left,
  .customitem-helmet-size__right {
    flex: 0 1 400px;
  }

  .customitem-helmet-size__card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .customitem-helmet-size__card {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 16px;
    width: 110px;
    text-align: center;
    border-radius: 0;
    box-shadow: none;
  }

  .customitem-helmet-size__card h3 {
    margin: 0 0 8px;
    font-size: 1.1em;
  }

  .customitem-helmet-size__card p {
    margin: 0;
    font-size: 1em;
    color: #666;
  }

  .customitem-helmet-size__note {
    margin-top: 30px;
  }

  .customitem-helmet-size__note h2 {
    font-size: 1.2em;
    margin-bottom: 5px;
    text-align: center;
  }

  .customitem-helmet-size__note p {
    line-height: 1.6;
    margin: 0;
    text-align: left;
    padding: 0 10px;
  }

  .customitem-helmet-size__image {
    text-align: center;
    margin-top: 10px;
  }

  .customitem-helmet-size__image img {
    width: 300px;
    height: auto;
    max-width: 100%;
    border-radius: 0;
  }

  .customitem-helmet-size__section {
    max-width: 960px;
    margin: 40px auto 0;
    padding: 0 10px;
    text-align: center;
  }

  .customitem-helmet-size__section h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-align: center;
  }

  .customitem-helmet-size__section p {
    line-height: 1.6;
    text-align: center;
    margin: 0;
  }

  .customitem-helmet-size__section a {
    display: block;
    text-align: center;
    margin-top: 10px;
  }

  .customitem-helmet-size__section a img {
    display: block;
    margin: 0 auto;
  }

  .customitem-helmet-banner {
    width: 100%;
    max-width: 1200px;
    height: auto;
  }

  @media (min-width: 769px) {
    .customitem-helmet-banner {
      width: 600px;
    }
  }

  @media (max-width: 768px) {
    .customitem-helmet-size__container {
      flex-direction: column;
      align-items: center;
    }
    .customitem-helmet-size__card {
      width: 45%;
    }
  }

  @media (max-width: 480px) {
    .customitem-helmet-size__card {
      width: 45%;
    }
  }

