/****************************************************
 * 1. 共通設定（フォント・基本レイアウト）
 ****************************************************/
body {
    font-family: dnp-shuei-gothic-gin-std, sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #333;
}

/* ロゴ調整 */
.fs-p-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fs-p-logo__image {
    display: block;
    margin: 0 auto;
}

.fs-p-logo__lead {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.2;
}

/* 汎用パーツ（非表示設定など） */
.fs-p-heading--lv2,
.fr3-item__productPrice__price,
.fr3-item__productPrice__addon {
    display: none;
    /* AIレコメンド関連を非表示 */
}

 /* 商品ページ*/
.fs-p-productDescription .fs-p-productDescription--full img {
display: block;
width: 100%;
padding: 20px;
}

/****************************************************
 * 2. ヘッダー・検索窓（PC・SP出し分け）
 ****************************************************/
.side_item {
    display: block;
    width: 100%;
    padding: 15px 0;
    /* 上下の余白を少し広げて見やすく */
    box-sizing: border-box;
}

/* 検索窓：PC（横幅いっぱい） */
#search-form.design-1 {
    margin: 5px 0 !important;
    /* 左右マージンをリセット */
    width: 100% !important;
    font-family: inherit;
    display: block !important;
}

#search-form.design-1 form {
    width: 100% !important;
    display: flex !important;
    margin: 0 !important;
}

#search-form.design-1 input[type=text]#sitem {
    flex: 1 !important;
    height: 44px !important;
    /* 少し高さを出す */
    padding: 0 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px 0 0 4px !important;
    background: #fff !important;
    font-size: 14px !important;
}

#search-form.design-1 .search-button {
    width: 70px !important;
}

#search-form.design-1 .search-button input[type="submit"] {
    width: 100% !important;
    height: 44px !important;
    background: #f8f8f8 !important;
    background-image: none !important;
    color: #444 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    border: 1px solid #ddd !important;
    border-left: none !important;
    border-radius: 0 4px 4px 0 !important;
    cursor: pointer;
}

/* スマホ時（767px以下）の調整 */
@media screen and (max-width: 767px) {
    .side_item {
        padding: 10px 5px;
        /* 全体に少し余白を設けて中央に見せる */
    }

    #search-form.design-1 {
        /* ハンバーガーメニューが「右上」に浮いている場合、
           検索窓の幅を82%程度に絞りつつ、少し左マージンを入れてバランスを取る */
        width: 82% !important;
        margin-right: auto !important;
        margin-left: 0 !important;
    }
}

/****************************************************
 * 3. サイドメニュー（アコーディオン）
 ****************************************************/
#custom-accordion,
#custom-accordion ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* カテゴリー親項目 */
.link2 {
    padding: 18px 10px;
    font-size: 16px;
    font-weight: bold;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* 子メニューリスト */
.submenu {
    display: none;
    /* 初期状態はJSで開閉 */
    background: #fff;
    padding: 10px 0;
}

.submenu li a {
    display: block;
    padding: 12px 25px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.submenu li a:hover {
    background-color: #fafafa;
    color: #000;
}

/* アイコン類 */
.link2 i.fa-chevron-down {
    font-size: 14px;
    color: #888;
}

/* --- プラスアイコンの基本状態 --- */
.plus {
    width: 14px;
    height: auto;
    opacity: 0.6;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* 動きを少し滑らかに */
}

/* --- 開いている時の状態（90度回転） --- */
.is-open .plus {
    transform: rotate(90deg);
    opacity: 1;
}

/****************************************************
 * 4. コンテンツ・ボタン・セクション
 ****************************************************/
/* 見出し部分調整 */
.fs-p-heading1--lv2{
    margin-top: 50px;
}

.fs-p-heading1--lv2,
.fs-p-heading1--lv3
{
margin-left: 5px;
letter-spacing: 0.05em;
}

.fs-p-heading1--lv3 {
    font-size: 1.25em;
}

/* 見出し部分個別調整部分 */

.top-gift-heading{
    margin-bottom: 10px;
}

.top-cg-heading{
    margin-bottom: 10px;
}

.top-rank-heading{
    margin-top: 0px;
}
/* お知らせの下部分を開ける */
.fs-p-dateList {
    margin-bottom: 45px;
}

/* 区切り線を細くする */
.custom-divider {
    border: none;
    border-top: 0.05px solid rgba(0,0,0,0.4);
   }

    /* 各コンテンツの余白を開ける */
    .fs-column--cg {
        margin-bottom: 60px;
    }

    /* ギフトラッピングバナー調整 */
    .banner-wrapping {
        width: 100%;
        margin: 40px 0;
        /* 上下のコンテンツとの間に40pxの余白 */
        text-align: center;
    }

    .banner-wrapping img {
        width: 100%;
        /* 親要素の幅いっぱいに広げる */
        max-width: 1000px;
        /* PCで広がりすぎないように最大幅を制限（お好みで） */
        height: auto;
        /* 縦横比を維持 */
        display: block;
        margin: 0 auto;
        /* 中央寄せ */
    }

    @media screen and (max-width: 767px) {
        .banner-wrapping {
            margin: 25px 0;
            /* スマホでは余白を少し詰める */
            padding: 0 10px;
            /* 画面端に少し余裕を持たせる（お好みで） */
            box-sizing: border-box;
        }
    }

    /* AI Recommendのスクロールバーを非表示にするCSS */
    .fr3-productListCarousel__slides {
        scrollbar-width: none;
    }
 /* フッター部分の電話番号を左へ */
.fs-p-phoneOrder {
  text-align: left !important;
}

/* 会社概要ページのSNSアイコン設定*/
.sns-icon {
    width: 24px;
    height: auto;
    vertical-align: middle; /* テキストと縦位置を揃える */
}
/****************************************************
 * 5. スマートフォン用調整（〜767px）
 ****************************************************/
@media screen and (max-width: 767px) {

    /* 検索窓：ハンバーガーメニューを避けて配置 */
    .side_item {
        padding: 10px 5px;
    }

    #search-form.design-1 {
        width: auto !important;
        margin: 10px 70px 10px 10px !important;
    }

    /* サイドメニュー全体を画面幅いっぱいに */
    .side-menu,
    .side_item,
    #custom-accordion,
    .fs-l-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* アコーディオン調整 */
    .link2 {
        padding: 15px 20px !important;
        font-size: 15px;
        background: #fff;
    }

    .submenu {
        width: 100% !important;
    }

    .submenu li a {
        padding: 14px 25px;
    }

    /* フッター固定ナビ */
    .fs-p-headerNavigation__list {
        position: fixed;
        bottom: 0;
        z-index: 999;
        background: #1C3362;
    }

    .fs-l-footer {
        margin-bottom: 52px;
    }

    /* カルーセル高さ調整 */
    .fs-pt-carousel img {
        height: 55vh;
        max-width: none;
    }

    /* SPカートボタン */
    .cart_button {
        padding: 20px 0;
        width: 100%;
        text-align: center;
    }

    /* ギフトラッピングバナー余白 */
    .banner-wrapping {
        margin: 25px 0;
        padding: 0 10px;
        box-sizing: border-box;
    }
}
    /* アコーディオン調整 */
    .link2 {
        padding: 15px 20px !important;
        font-size: 15px;
        background: #fff;
    }

    .submenu {
        width: 100% !important;
    }

    .submenu li a {
        padding: 14px 25px;
    }

    /* フッター固定ナビ */
    .fs-p-headerNavigation__list {
        position: fixed;
        bottom: 0;
        z-index: 999;
        background: #1C3362;
    }

    .fs-l-footer {
        margin-bottom: 52px;
    }

    /* カルーセル高さ調整 */
    .fs-pt-carousel img {
        height: 55vh;
        max-width: none;
    }

    /* SPカートボタン */
    .cart_button {
        padding: 20px 0;
        width: 100%;
        text-align: center;
    }

    /* ギフトラッピングバナー余白 */
    .banner-wrapping {
        margin: 25px 0;
        padding: 0 10px;
        box-sizing: border-box;
    }
}
    /****************************************************
 * 6. PC用調整（768~px）
 ****************************************************/

    @media screen and (min-width: 768px) {

 /* 会社概要ページ幅制限 */
    .fs-about-us {
        width: 70%;
        margin: 0 auto;
    }

    /* 2列グリッド */
    .fs-pt-column--2.fs-pt-column {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
    }

    .fs-pt-column--2.fs-pt-column .fs-pt-column__item {
        width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        flex: 0 0 calc(50% - 8px) !important;
        box-sizing: border-box !important;
    }

    .fs-pt-column--2.fs-pt-column .fs-pt-column__image img {
        width: 100% !important;
        height: auto !important;
    }

    /* 商品ページ テキスト */
    .fs-p-productDescription p {
        font-size: 1.6rem;
        line-height: 1.8;
        padding: 0 10%;
    }

    /* 商品ページ 画像 */
    .fs-p-productDescription img {
        width: 80%;
        display: block;
        margin: 0 auto;
    }
}