/* 基本タイポグラフィ */
.fs-l-pageMain .fs-p-heading--lv2 {
    background-color: #333;
    color: #fff;
    padding: 12px 16px;
    font-weight: 700;
    text-align: center;
}

/* 共通ロゴ */
.fs-p-logo {
    display: block;
    text-align: center;
    margin-inline: auto;
}
.fs-l-header__logo {
    margin-inline: auto;
}

.fs-l-header__logo {
    max-width: 180px;
}
.fs-p-logo__lead {
    white-space: nowrap;
}

@media screen and (min-width: 768px) {
    .fs-l-header__logo {
        max-width: 280px;
        width: 280px;
    }
}

/* グローバルナビ */
@media screen and (min-width: 768px) {
    .fs-p-headerNavigation__list {
        width: 80%;
        margin-inline: auto;
    }
    .fs-p-headerNavigation__link {
        font-size: 1.8rem;
    }
    .fs-p-headerNavigation__link > i {
        font-size: 1.6rem;
    }
}

/* サイドナビゲーション */
.fs-l-sideArea {
    flex: 0 0 auto;
    width: 100%;
}

.fs-l-sideArea .fs-p-sideMenu .fs-pt-menu__link--lv1::after {
    display: inline-block;
    transform: rotate(90deg);
    transition: transform 0.2s ease;
}
.fs-l-sideArea .fs-p-sideMenu .fs-pt-menu__link--lv1.is-open::after {
    transform: rotate(-90deg);
}

/* サブメニューの基本（閉じた状態） */
.fs-pt-menu__submenu {
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 220ms ease, transform 220ms ease;
    will-change: opacity, transform;
}

/* 開いた状態 */
.fs-pt-menu__submenu.is-open {
    opacity: 1;
    transform: translateY(0);
}

/* 商品詳細ページ パンくずリストの表示をメイングループのみに */
.fs-c-breadcrumb__list--subgroup {
    display: none;
}


/*
 商品詳細ページ カート項目エリア
 */
.l-product-cartarea {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.l-product-cartarea .fs-c-productChooseVariation {
    display: flex;
    flex-direction: column-reverse;
    order: -1;
}

.l-product-cartarea .fs-c-productQuantityAndWishlist__quantity {
    white-space: nowrap;
}
.l-product-cartarea .fs-c-productQuantityAndWishlist__quantity::before {
    content: "購入数：";
    white-space: nowrap;
    padding-top: 5px;
    display: inline-block;
}

/* カート・バリエーション選択スライダーパーツ */
.l-product-cartarea .fs-c-variationPanelList__panel__image {
    height: 180px;
    max-height: 180px;
}

@media not screen and (min-width: 768px) {
    .l-product-cartarea .fs-c-variationPanelList__list {
        display: block;
    }
    .l-product-cartarea .fs-c-variationPanelList__list__item {
        margin-bottom: 8px;
    }
    .l-product-cartarea .fs-c-variationPanelList__panel__image {
        height: 120px;
        max-height: 120px;
    }
    .l-product-cartarea .fs-c-variationPanelList__panel .fs-c-variationPanelList__panel__content {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }
}

/* カート・バリエーション表組パーツ : 未使用だが残しておく */
.l-product-cartarea .fs-c-productChooseVariation {
    margin-top: 10px;
}
.l-product-cartarea .fs-c-variationMatrix__col {
    gap: 0;
}
.l-product-cartarea .fs-c-variationMatrix__col__thumbnail {
    width: 120px;
    height: 120px;
    margin-inline: auto;
    cursor: pointer;
}
.l-product-cartarea .fs-c-variationMatrix__col__thumbnail > img {
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin-inline: auto;
}

/* 項目選択肢ドロップダウン */
.fs-c-dropdown__menu {
    color: #333; /* デフォルト表示色（プルダウン開いたときの項目もこちらを使わせる） */
}
.fs-c-dropdown__menu.is-placeholder {
    color: #999; /* value=="" のときにコントロール部分だけ薄く表示するクラス */
}
.fs-c-dropdown__menu option {
    color: #333; /* option は常に通常色にする */
}

/* 商品詳細ページ カートに入れるボタン */
.fs-c-productActionButton.fs-c-buttonContainer {
    padding: 36px 0;
}

/* 商品詳細ページの価格表示 */
.fs-c-price__value {
    font-weight: 700;
}


/* カート上部 */
.l-upper-cart {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #ddd;
}

/* HOME メインエリア バナー風カテゴリーリンク */
.l-home-categories .fs-pt-menu--lv1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
}
.l-home-categories .fs-pt-menu__item {
    display: flex;
}

.l-home-categories .fs-p-sideMenu .fs-pt-menu__item + .fs-pt-menu__item {
    margin-top: 0;
}

.l-home-categories .fs-pt-menu__heading--lv1 {
    display: flex;
    flex-grow: 1;
}
.l-home-categories .fs-pt-menu__link--lv1 {
    padding: 16px 0 16px 8px;
    font-weight: 700;
    line-height: 1.2;
    font-size: 0.9em;
    flex-grow: 1;
    align-items: center;
}
.l-home-categories .fs-pt-menu__link--lv1:hover {
    background-color: #eee;
    color: inherit;
}
@media screen and (min-width: 1024px) {
    .l-home-categories .fs-pt-menu--lv1 {
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 10px 20px;
        font-size: 1.2em;
    }
}


/* NPBカテゴリー一覧ページ */
/* では小カテゴリーリストだけを出す。商品リスト非表示 */
.fs-body-category-npb .fs-c-productList {
    display: none;
}

.fs-body-category-npb .fs-c-subgroupList {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
}


.fs-body-category-npb .fs-c-subgroupList .fs-c-subgroupList__link {
    background-color: #fff;
    padding: 16px 8px;
    line-height: 1;
    font-weight: 700;
    transition: background-color 0.2s ease;
}
.fs-body-category-npb .fs-c-subgroupList .fs-c-subgroupList__link:hover {
    background-color: #eee;
    color: inherit;
}

@media screen and (min-width: 1024px) {
    .fs-body-category-npb .fs-c-subgroupList {
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 10px 20px;
        font-size: 1.2em;
    }
}


/* ユーティリティー */
@media screen and (min-width: 768px) {
    .u-hide-pc {
        display: none !important;
    }
}
@media not screen and (min-width: 768px) {
    .u-hide-sp {
        display: none !important;
    }
}
@media screen and (min-width: 500px) {
    .u-hide-xxs {
        display: none !important;
    }
}


/* =======================
調整_202511～
======================= */
/* フッターカラム調整 */
@media screen and (min-width: 960px) {
    .fs-p-footerNavigation {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* クレジットカードバナー調整 */
.fs-p-footerNavigationItem__credit-card {
    margin-top: 10px;
    max-width: 400px;
    width: 100%;
}

/* フッター営業日カレンダー */
.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
    min-height: 370px;
    height: 100%;
}

.embed-responsive .embed-responsive-item,
.embed-responsive embed,
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    border: 0;
}

/* 記事コンテンツの余白調整 */
.fs-c-documentColumn__content {
    padding: 0;
    gap: 8px;
    font-size: 1.5rem;
}

.fs-c-documentArticle__heading {
    padding: 10px;
    font-size: 2rem;
}

.fs-c-documentArticle__content ul,
.fs-c-documentColumn__content ul {
    padding-left: 20px;
    text-indent: -5px;
}

.fs-c-documentArticle__content .fs-c-list,
.fs-c-documentColumn__content .fs-c-list {
    padding-left: 5px;
}

.fs-c-documentArticle__content .fs-c-list > li,
.fs-c-documentColumn__content .fs-c-list > li {
    margin-bottom: 10px;
}

.fs-c-documentArticle__content .fs-c-list li ul li::before,
.fs-c-documentColumn__content .fs-c-list li ul li::before {
    content: none;
}

.fs-c-documentColumn__content {
    line-height: 1.8;
}

/* 住所情報のフォントスタイル上書き */
.fs-p-address {
    font-style: normal;
}

/* 福袋のコンテンツ調整 */
.fs-fukubukuro {
    margin-top: 40px;
}

.fs-fukubukuro .fs-c-explainList {
    grid-template-columns: auto 1fr;
    display: grid;
    grid-column-gap: 24px;
    grid-row-gap: 0px;
}

/* プライバシーポリシーページ調整 */
.fs-p-returnPolicy {
    padding: 8px;
}

/* バナーのホバー追加 */
.fs-pt-column__image:hover {
    opacity: .7;
}

/* コンテンツの余白調整 */
.fs-c-documentColumn__content p {
    margin-top: 0
}

/* ガイドページのサブ見出し */
.fs-c-subHeading {
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 1.2em;
}

/* 上に戻るボタン */
.fs-p-footerPageTop {
    bottom: calc(100% + 1px)
}


/* 商品一覧のテキスト */
.fs-c-productName__name {
    text-align: center;
}

a .fs-c-productName__name {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--fs-color-font--main);
}

body:not(#fs_ProductDetails) .fs-c-productPrice {
    justify-content: center; /* 一覧画面だけ商品価格を中央寄せ */
}

.fs-c-productPrice:not(.fs-c-productPrice--listed) .fs-c-productPrice__main__price {
    color: #333;
}

/* 一覧ページで「注文ページ進む」ボタンの縦位置が揃うように */
.fs-c-productListItem > form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}
/* ボタンブロックを下に固定 */
.fs-c-productListItem > form .fs-c-productListItem__control.fs-c-buttonContainer{
    margin-top: auto;
}

/* 注文ページへ進むボタン */
.fs-c-productListItem__control > *:last-child {
    margin-inline: auto;
}

.btn-detail {
    background: #b0edeb;
    border: 1px solid #b0edeb;
    border-radius: 0;
    cursor: pointer;
    display: inline-block;
    line-height: 1.2;
    font-size: 1.4rem;
    text-decoration: none;
    text-align: center;
    padding: 8px 16px;
    box-shadow: 1px 1px 1px #ccc;
    transition: box-shadow,background 0.2s ease;
}

@media not screen and (min-width: 768px) {
    .btn-detail {
        font-size: 1.2rem;
        padding: 6px 10px;
        display: flex;
    }
}

.btn-detail:hover {
    text-decoration: none;
    box-shadow: none;
    opacity: unset;
    background-color: #BEE7E6;
}

.fs-c-button--plain.fs-c-button--viewProductDetail::before {
    content: none;
}

.btn-detail::after {
    content: "\f105";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    margin-left: 4px;
    color: #090F24;
}

.btn-detail .fs-c-button__label {
    color: #090F24;
}
/* カートに入れるボタン */
.fs-c-button--primary{
    box-shadow: 1px 1px 1px #ccc;
    transition: box-shadow,background 0.2s ease;
    padding: 10px 20px;
}

.fs-c-button--primary:hover {
    box-shadow: none;
    opacity: unset;
    background-color: #BEE7E6;
}

.fs-c-buttonContainer{
    position: relative;
}
.fs-c-button--primary::after {
    content: "＞";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 900;
    font-size: 10px;
    margin-left: 4px;
    color: #090F24;
}


/*
 *****************************
 * マイページ
  ****************************
 */

.fs-c-accountService.fs-c-accountService--custom {
    margin-bottom: 0.5em;
}

@media screen and (min-width: 600px) {
    .fs-c-accountService {
        margin-left: 0;
        width: 100%;
    }
}

@media screen and (min-width: 768px) {
    .fs-body-my-top .fs-l-account {
        display: block;
    }
    .fs-body-my-top .fs-c-accountService.fs-c-accountService--custom {
        flex-basis: 148px;
        min-width: 144px;
    }
    .section-mypage-top-parts-wrapper {
        display: flex;
    }

    .fs-c-accountService__page.fs-c-accountService__page--accountDelete {
        justify-content: flex-end;
        padding-right: 1.5em;
    }
}


/* マイページメニュー */
@media not screen and (min-width: 768px) {
    .fs-c-accountService {
        max-width: 85%;
        margin: auto;
        justify-content: center;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 30px;
    }

    .fs-c-accountService.fs-c-accountService--custom {
        display: block;
        margin-bottom: 1.5em;
    }
}


@media not screen and (min-width: 600px) {
    .fs-c-accountService {
        gap: 0 16px;
    }
}

.fs-c-accountService__page.fs-c-accountService__page--sendImageForm .fs-c-accountService__pageLink__label::before {
    content: "\f302";
    font-family: "Font Awesome 7 Free" !important;
    font-size: 4rem;
    line-height: 1.5;
}

.fs-c-accountService__page.fs-c-accountService__page--accountDelete {
    height: auto;
}

.fs-c-accountService__page:not(.fs-c-accountService__page--accountDelete) .fs-c-accountService__pageLink {
    background: #fff;
    border-color: var(--fs-color-button--standard__font);
    color: var(--fs-color-button--standard__font);
}

.fs-c-accountService__page:not(.fs-c-accountService__page--accountDelete) .fs-c-accountService__pageLink__label::before {
    color: var(--fs-color-button--standard__font);
}

.section-mypage-notice {
    flex-basis: 100%;
    background: #fdfdfd;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin: 2rem auto;
}
.section-mypage-notice__title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1em;
}

.section-mypage-notice .fs-c-productActionButton.fs-c-buttonContainer {
    padding: 1em;
}

/* カートの個数マーク調整 */
@media not screen and (min-width: 768px) {
    .fs-p-cartItemNumber {
        right: calc(50% - 30px);
    }
}

/* PC時メニュー調整 */
@media screen and (min-width: 768px) {
    .fs-p-headerNavigation__listItem {
        justify-content: center;
    }
}

/* 注文完了画面 */
.fs-c-checkoutSuccess__lead {
    background: #e6fdfd;
    padding: 16px;
    border-radius: 10px;
    border: 2px solid #52c1bd;
}
.fs-c-checkoutSuccess__lead .fs-c-checkoutSuccess__title{
    font-size: 17px;
    margin-top: 0;
}
.fs-c-checkoutSuccess__lead a{
    text-decoration: underline;
}

/* カート内文言 */
.fs-c-cartDiscountInfo__note {
    display: none;
}

/* -----------------------
   目次（Table of Contents）スタイル（差し替え）
   - モバイル: 縦積み
   - 幅 >= 768px: グリッドで均等幅（各項目の幅を揃える）
   - マーカー: 下向き三角（▾）
   ----------------------- */
.fs-p-toc {
    margin-bottom: 16px;
}
.fs-p-toc .fs-c-heading {
    margin: 0 0 8px 0;
    font-size: 1.6rem;
    font-weight: 700;
}

/* モバイル: リストは縦積み */
.fs-p-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 各アイテムとリンク（リンクはブロック表示で幅いっぱい） */
.fs-p-toc__list li {
    margin: 0;
    padding: 0;
    width: 100%;
}
.fs-p-toc__list a {
    display: block;
    text-decoration: none;
    padding: 4px 10px;
}


/* マーカー */
.fs-p-toc__list li a::before {
    content: "▾";
    display: inline-block;
    width: 1.25em;
    text-align: center;
    font-size: 1.05em;
    transform: translateY(1px);
}

/* 幅のあるデバイスではグリッドにして均等幅にする */
@media screen and (min-width: 600px) {
    .fs-p-toc__list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 10px 20px;
        align-items: start;
    }
    .fs-p-toc__list li {
        width: 100%;
    }
}

/* アクセシブルに要素を視覚的に隠すユーティリティ
   - 通常は画面に見えないがスクリーンリーダーで読み上げられる
   - フォーカスが内部に入った場合は可視化してキーボード操作可能にする */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* フォーカスやアクティブ時には可視化（タブ操作でリンクに到達できる） */
.sr-only:focus-within,
.sr-only:active {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

