/* ------------------------------
  全ページ共通レイアウト
------------------------------ */
* {
    margin: 0;
}

button,
a {
    cursor: pointer;
}

a {
    text-decoration: none;
}

button:hover {
    opacity: 0.7;
}

pre {
    white-space: normal;
}

[id] {
    scroll-margin-top: 100px;
}

/*配置
=========================================== */
.flex_center {
    display: flex;
    justify-content: center;
}

.text_center {
    text-align: center !important;
}

.flex_center_all {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex_right {
    display: flex;
    justify-content: flex-end;
}

.flex_left {
    display: flex;
    justify-content: flex-start;
}

.flex_align_center {
    display: flex;
    align-items: center;
}

.flex_column_center {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.flex_column {
    display: flex;
    flex-direction: column;
}

.separate_80 {
    display: flex;
    gap: 80px;
}

.separate_50 {
    display: flex;
    gap: 50px;
}

.gap20 {
    gap: 20px;
}

@media (max-width: 1080px) {
    #help .separate_80 {
        flex-direction: column;
    }

    .search_result_wrapper .separate_50 {
        display: flex;
        gap: 30px;
    }

    .search_result_wrapper .separate_50 .sidebar {
        padding-top: 0px;
    }
}

/*レスポンシブ表示制御
=========================================== */
.pc_only {
    @media (max-width: 1080px) {
        display: none;
    }
}

.sp_only {
    @media (min-width: 1081px) {
        display: none;
    }
}

@media (max-width: 1080px) {
    .separate_50 {
        display: flex;
        flex-direction: column;
    }

    .pc_only {
        display: none !important;
    }

    .sp_only {
        display: block !important;
    }

    .sp_only_flex {
        display: flex !important;
    }

    .sidebar {
        display: none;
    }

    .sidebar a {
        margin: 0 20px;
        width: calc(100% - 40px);
        box-sizing: border-box;
    }

    .sidebar.sp_only .search_form_box {
        margin-bottom: 15px;
    }

    .category_btn_wrapper {
        margin: 15px 0 0;
    }

    /* ボタン本体に相対配置＋矢印ぶんの余白 */
    .category_btn_wrapper .btn.type-arrow {
        position: relative;
        padding-right: 28px;
    }

    /* 初期矢印（↘） */
    .category_btn_wrapper .btn.type-arrow::before {
        content: "";
        width: 7px;
        height: 7px;
        border-bottom: 2px solid #bf9d4c;
        border-right: 2px solid #bf9d4c;
        position: absolute;
        top: 0;
        right: 16px;
        bottom: 0;
        margin: auto;
        transform: rotate(45deg) !important;
        transition: transform 0.3s ease-in-out;
    }

    /* データ属性でopen時の制御 */
    .btn.type-arrow[data-open]::before {
        transform: rotate(-135deg) !important;
        border-width: 2px !important;
        /* より太くして見やすく */
    }

    /* 初期は非表示（必要ならSPメディアクエリ内に） */
    .sidebar .categories.accordion-content {
        display: none;
        margin: 0px 20px 30px;
        max-height: 0;
        overflow: hidden;
        transition:
            max-height 0.3s ease,
            opacity 0.3s ease;
        opacity: 0;
    }

    /* is-openクラスがある時に表示 */
    .sidebar .categories.accordion-content.is-open {
        display: block;
        max-height: 500px;
        opacity: 1;
        overflow: scroll;
    }
}

/*フォント
=========================================== */
.descriptions {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 400;
}

.description {
    font-size: 16px;
    line-height: 1.8;
}

.required_label {
    white-space: nowrap;
    margin-right: 10px;
    padding: 5px 10px;
    background-color: #bf9d4c;

    @media (max-width: 1080px) {
        margin-right: 0;
        font-size: 12px;
        padding: 4px 8px;
        background-color: rgb(191, 157, 76);
        color: white;
        border-radius: 4px;
    }
}

.page_title {
    font-size: 24px;
    padding: 32px 0px;
    font-weight: 500;
}

.subtitle {
    font-size: 20px;
    border-bottom: 1px solid black;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-weight: 500;
    display: block;
}

.subtitle.no_border {
    border: none;
}

@media (max-width: 1080px) {
    .page_title {
        font-size: 18px;
        padding: 15px 2.6%;
        font-weight: 500;
    }

    .subtitle {
        font-size: 15px;
        margin-left: 2.6%;
        margin-right: 2.6%;
    }

    .descriptions {
        margin: 0px 2.6% 30px;
    }
}

/* ------------------------------
  コンポーネント・パーツ
------------------------------ */

/*タブナビゲーション
=========================================== */
.tabnav_wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.tabnav_icon_left {
    flex-shrink: 0;
}

.tabnav_icon_left img {
    display: block;
    margin-top: 35px;
}

.tabnav_icon_sp {
    display: none;
}

.tabnav_icon_sp img {
    display: block;
    width: 100%;
    max-width: 300px;
    margin-top: 30px;
    margin-right: 2.6%;
    margin-left: 2.6%;
}
.tabnav_right_size {
    width: 885px;
}

.tabnav {
    font-size: 16px;
    padding-top: 35px;
    text-align: center;
}

.tabnav--black {
    color: rgb(0, 0, 0);
}

.tabnav_menus {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.tabnav_menus .tabnav_menu {
    list-style-type: none;
    line-height: 2;
    flex-grow: 1;
}

.tabnav_menu+.tabnav_menu {
    border-left: 1px solid #000000;
}

.tabnav_menus a {
    cursor: pointer;
    display: block;
    font-weight: 500;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.tabnav_menus a:hover,
.tabnav_menu.active {
    background-color: rgba(191, 0, 0, 0.1);
    color: #bf0000;
}

.tabnav_menu.active a {
    color: #bf0000;
}
/* ドロップダウンメニュー */
.tabnav_menu.has-dropdown {
    position: relative;
}

.tabnav_menu.has-dropdown .tabnav_trigger {
    cursor: pointer;
    display: block;
    font-weight: 500;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.tabnav_menu.has-dropdown .tabnav_trigger:hover {
    background-color: rgba(191, 0, 0, 0.1);
    color: #bf0000;
}

.tabnav_menu.has-dropdown .tabnav_dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    z-index: 1000;
    min-width: 100%;
}

.tabnav_menu.has-dropdown:hover .tabnav_dropdown {
    display: block;
}

.tabnav_menu.has-dropdown .tabnav_dropdown a {
    display: block;
    padding: 10px 0;
    font-weight: 400;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
}

.tabnav_menu.has-dropdown .tabnav_dropdown a:last-child {
    border-bottom: none;
}

.tabnav_menu.has-dropdown .tabnav_dropdown a:hover {
    background-color: rgba(191, 0, 0, 0.1);
}

@media screen and (max-width: 1080px) {
        .tabnav_icon_left {
        display: none;
    }

    .tabnav_icon_sp {
        display: block;
    }

    .tabnav_right_size {
        max-width: 100%;
    }

    .tabnav {
        padding-top: 0;
    }

    .tabnav_menus a {
        font-size: 11px;
        padding: 5px 0px;
        line-height: 3;
        font-size: 11px;
    }

    .tabnav_menus {
        font-size: 14px;
        border-bottom: 1px solid black;
    }

    .tabnav--black .word {
        display: block;
        line-height: 1.5;
    }
        /* スマホではホバーでドロップダウンを無効にする */
    .tabnav_menu.has-dropdown:hover .tabnav_dropdown {
        display: none;
    }

    /* スマホではクリック（activeクラス）でドロップダウンを表示 */
    .tabnav_menu.has-dropdown.active .tabnav_dropdown {
        display: block !important;
    }
}

/*フォーム
=========================================== */
input,
select {
    background-color: transparent;
}

.form-select {
    width: 100%;
    padding: 12px 30px 12px 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: transparent;
    border-radius: 10px;
    border-color: #000000;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='%23666' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.form-input {
    width: 100%;
    padding: 12px 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    border: 1px solid #161515;
    border-radius: 10px;
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.invalid-feedback {
    color: #f00;
}

.is-invalid {
    border-color: #f00;
    background-color: #fff;
}

/*ボタン
=========================================== */
.btn {
    border-radius: 4px;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn:hover {
    opacity: 0.9;
}

.btn_yellow {
    background-color: #bf9d4c;
    color: white;
}

.btn_white {
    background-color: transparent;
    border: 1px solid #bf9d4c;
    color: #bf9d4c;
    margin-bottom: 15px;
}

.btn_red {
    background-color: #bf0000;
    color: white;
}

.btn_white_b {
    background-color: white;
    color: black;
}

.btn_xs {
    font-size: 14px;
    height: 40px;
    padding: 10px 0px;
    width: 70px;
}

.btn_sm {
    font-size: 14px;
    height: 40px;
    padding: 10px 0px;
    width: 100px;
    margin: 0px 30px 0px 0;
}

.btn_md {
    padding: 10px 40px;
    width: 312px;
    font-size: 16px;
}

.btn_md2 {
    font-size: 16px;
    padding: 13px 10px;
    width: 270px;
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_md3 {
    padding: 10px 15px;
    font-size: 16px;
}

.btn_lg {
    font-size: 20px;
    padding: 10px 0px;
    width: 300px;
}

.btn_xl {
    font-size: 20px;
    padding: 15px 0;
    width: 320px;
}

.icon_near {
    height: 14px;
    width: 14px;
    padding-right: 5px;
    padding-top: 3px;
}

.icon_far {
    position: absolute;
    left: 20px;
    width: 24px;
    height: 24px;
}

.search_btn {
    width: 312px;
    font-size: 20px;
    padding: 10px 40px;
    margin-bottom: 30px;
    color: white;
    border-radius: 4px;
    border: none;
    background-color: #bf9d4c;
}

.link_privacy_policy {
    color: #bf9d4c;
    border-bottom: 1px solid #bf9d4c;
}

@media (max-width: 1080px) {
    .detail_wrapper .detail_right .btn_md2 {
        max-width: 100%;
    }
}

/*ヘッダー
=========================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    background-color: black;
    z-index: 10000;
}

/* モバイル版ヘッダーを非表示 */
#header .header_mobile {
    display: none !important;
}

#header .header_logo a {
    text-decoration: none;
    color: white;
}

#header .header_wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}

#header .header_menu_btn {
    position: relative;
    padding: 0px 30px;
    height: 100%;
    display: flex;
    align-items: center;
}

#header .header_menu_btn::after {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 0;
    width: 1px;
    background-color: #ffffff;
}

.header_menu_btn .menu_btn_icon {
    position: relative;
    display: block;
    width: 30px;
    height: 20px;
}

.header_menu_btn .menu_btn_icon:hover {
    cursor: pointer;
}

.btn_open .lines {
    position: relative;
}

.btn_open .lines span:nth-of-type(1) {
    top: 0;
    transform: none;
}

.btn_open .lines span:nth-of-type(2) {
    top: 10px;
    transform: none;
}

.btn_open .lines span:nth-of-type(3) {
    top: 20px;
    transform: none;
}

.btn_open .lines span {
    display: inline-block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #ffffff;
    transform-origin: 50% 50%;
    /* ← 回転の中心を真ん中に */
    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        top 0.2s ease;
    /* ← allをやめる */
}

/* ハンバーガーメニューの×変形アニメーション */
.btn_close .lines span {
    top: 10px;
    opacity: 1;
    width: 100% !important;
    height: 4px !important;
    display: inline-block !important;
    position: absolute !important;
    left: 0 !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        top 0.2s ease;
}

/* 3本とも中央に集合 */
.btn_close .lines span:nth-of-type(1) {
    transform: rotate(45deg);
    opacity: 1;
}

.btn_close .lines span:nth-of-type(2) {
    opacity: 0;
}

.btn_close .lines span:nth-of-type(3) {
    transform: rotate(-45deg);
    opacity: 1;
}

/* ハンバーガーメニューオーバーレイ */
.hamburger_menu_overlay {
    position: fixed;
    top: 80px;
    /* ヘッダーの高さ分だけ下に */
    left: 0;
    width: 200px;
    height: calc(100vh - 80px);
    /* ヘッダー分を除いた高さ */
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.hamburger_menu_overlay.active {
    opacity: 1;
    visibility: visible;
}

.hamburger_menu_nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.hamburger_menu_list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.hamburger_menu_list li {
    margin: 0;
    padding: 0;
}

.hamburger_menu_list li a {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hamburger_menu_list li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffcc00;
}

.header_logo {
    font-family: "Odor Mean Chey", serif;
    color: #ffffff;
    font-size: 26px;
    padding: 0px 30px;
    position: relative;
}

.header_logo::after {
    content: "";
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 5px;
    height: 1px;
    background-color: white;
}

.header_wrapper .header_buttons {
    display: flex;
    gap: 10px;
}

.search_input_wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0px 30px;
}

@media screen and (max-width: 1080px) {
    .search_input_wrapper {
        margin: 0px;
    }
}

.header_wrapper .product_search {

    background: linear-gradient(to right,
            #fed96b 70px,
            white 70px);
    width: 100%;
    height: 40px;
    border: none;
    padding-left: 75px;
    box-sizing: border-box;
    border-radius: 4px;
}

.search_icon {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 46px;
    height: 40px;
    padding: 7px;
    box-sizing: border-box;
    background: #fed96b;
    border-radius: 0 4px 4px 0;
}

@media screen and (max-width: 1080px) {
    .search_icon {
        padding: 10px;
    }
}

.header_right {
    display: flex;
    align-items: center;
}

.header_right .btn-text {
    display: flex;
    gap: 2px;
}

.header_right .btn-text svg {
    fill: #fff;
    width: 18px;
    height: auto;
}

.header_right img {
    width: 40px;
    height: auto;
}

.header_right .right_images {
    display: flex;
    gap: 5px;
    padding-right: 30px;
}

/* パンくずリスト */
.breadcrumb {
    display: flex;
    align-items: center;
    margin: 25px 0;
    font-size: 12px;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb_item {
    color: #333;
    text-decoration: none;
}

.breadcrumb_item:hover {
    color: #333;
    text-decoration: none;
}

.breadcrumb_separator {
    color: #999;
    font-size: 10px;
}

.breadcrumb_current {
    color: #333;
    font-weight: bold;
}

@media screen and (max-width: 1080px) {

    /* 横スクロールを防止 */
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* ヘッダーの高さを2行分に */
    #header {
        height: auto !important;
        min-height: 120px !important;
        position: static !important;
    }

    #header .header_wrapper {
        height: auto;
    }

    /* デスクトップ版ヘッダー要素を非表示 */
    .header_wrapper>.header_menu_btn,
    .header_wrapper>.header_logo,
    .header_wrapper>.header_buttons,
    .header_wrapper>.search_input_wrapper,
    .header_wrapper>.header_right {
        display: none !important;
    }

    /* モバイル版ヘッダーを表示 */
    #header .header_mobile {
        display: block !important;
        width: 100%;
    }

    /* モバイル版ヘッダーの上段 */
    .header_mobile_top {
        display: flex;
        align-items: center;
        height: 60px;
        padding: 0 15px;
        gap: 10px;
    }

    /* ハンバーガーメニュー */
    #header .header_mobile_top .header_menu_btn {
        padding: 0 15px 0 0;
        height: 120%;
        min-width: 30px;
        position: relative;
    }

    #header .header_mobile_top .header_menu_btn::after {
        content: "";
        position: absolute;
        right: 0;
        top: 15px;
        bottom: 15px;
        width: 1px;
        background-color: #ffffff;
    }

    .hamburger_menu_overlay {
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        height: 100vh !important;
        width: 100% !important;
        z-index: 999 !important;
    }

    /* ロゴ */
    .header_mobile_top .header_logo {
        flex: 1;
        font-size: 20px;
        padding: 0;
    }

    .header_mobile_top .header_logo a {
        border-bottom: 2px solid white;
        padding-bottom: 2px;
    }

    .header_logo::after {
        display: none;
    }

    /* ボタン群 */
    .header_mobile_top .header_buttons {
        display: flex;
        gap: 8px;
    }

    /* 右側アイコン */
    .header_mobile_top .right_images {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .header_mobile_top .right_images a {
        width: 24px;
        height: 24px;
    }

    .header_mobile_top .right_images a img {
        width: 100%;
        height: auto;
    }

    .header_wrapper .product_search {
        background: linear-gradient(to right,
                white 70px,
                white 70px,
                white calc(100% - 46px),
                #fed96b calc(100% - 46px));
    }

    .breadcrumb {
        margin-left: 2.6%;
        margin-right: 2.6%;
    }

    /* モバイル版ヘッダーの下段 */
    .header_mobile_bottom {
        display: flex;
        align-items: center;
        height: 60px;
        padding: 0 10px;
        gap: 10px;
        background-color: #969696;
        border-top: 1px solid #333;
    }

    /* 商品カテゴリボタン */
    .category_btn {
        background-color: transparent;
        color: white;
        border: 1px solid;
        padding: 8px 12px;
        border-radius: 4px;
        font-size: 12px;
        text-align: center;
        line-height: 1.2;
        white-space: nowrap;
        min-width: 80px;
    }

    /* 検索バー */
    .header_mobile_bottom .search_input_wrapper {
        position: relative;
    }

    .header_mobile_bottom .product_search {
        width: 100%;
        padding: 8px 40px 8px 10px;
        border: none;
        border-radius: 4px;
        font-size: 14px;
    }

    /* 詳細検索ボタン */
    .header_mobile_bottom .btn {
        white-space: nowrap;
        min-width: auto;
        margin: 0;
        font-size: 12px;
        text-align: center;
        min-width: 62px;
    }

    .header_mobile_bottom .btn-text {
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .header_mobile_bottom .btn-text svg {
        fill: #fff;
        width: 18px;
        height: auto;
    }

    /* MTGとポケモンボタンのレスポンシブ対応 */
    .header_mobile_top .header_buttons .btn {
        white-space: nowrap;
        min-width: 50px;
        width: auto;
        padding: 10px 0px;
        font-size: 12px;
    }

    .header_wrapper .product_search {
        margin: 0;
    }
}

/*フッター
=========================================== */
#footer {
    background-color: black;
    color: white;
    justify-content: center;
}

.footer_pc {
    display: block;
}

.footer_sp {
    display: none;
}

.footer_menu_wrapper {
    width: 100%;
    max-width: 800px;
    padding-top: 50px;
    padding-bottom: 150px;
    margin: 0 auto;
    display: block;
}

#footer .footer_menu .footer_menu_wrapper .footer_menus {
    display: flex;
    justify-content: space-between;
    padding: 0;
    list-style: none;
    width: 100%;
}

#footer .footer_menu .footer_menu_wrapper .footer_menu_title {
    margin-top: 8px;
    font-weight: bold;
    margin-bottom: 14px;
    flex: 1;
    text-align: left;
    font-size: 16px;
}

#footer .footer_pc .footer_menu_subtitle {
    margin-top: 5px;
    flex: 1;
    text-align: left;
    font-size: 14px;
    position: relative;
}

#footer .footer_pc .footer_menu_subtitle span {
    color: white;
}

#footer .footer_sp .footer_menu_subtitle span {
    color: white;
}

#footer .footer_pc .footer_menu_subtitle span:hover {
    color: #ffcc00;
}

.footer_copy {
    text-align: center;
    height: 80px;
    background-color: #363636;
    align-content: center;
}

.footer_logo {
    font-family: "Odor Mean Chey", serif;
    color: #ffffff;
    font-size: 26px;
    height: 32px;
}

.footer_copy small {
    font-size: 12px;
}

@media (max-width: 1080px) {
    .footer_pc {
        display: none;
    }

    .footer_sp {
        display: block;
    }

    #footer .footer_menu .footer_menu_wrapper .footer_menus {
        flex-direction: column;
    }

    .footer_accordion_section {
        width: 100%;
        padding-top: 1px;
    }

    .footer_accordion_item {
        border-bottom: 1px solid #666;
        margin-bottom: 0;
    }

    .footer_accordion_trigger {
        position: relative;
        padding: 15px 40px 15px 20px;
        cursor: pointer;
        display: block;
        transition: background-color 0.3s ease;
    }

    #footer .footer_menu .footer_menu_wrapper .footer_menu_title {
        margin-bottom: 8px;
    }

    .footer_accordion_trigger::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 20px;
        width: 8px;
        height: 8px;
        border-right: 2px solid white;
        border-bottom: 2px solid white;
        transform: translateY(-50%) rotate(45deg);
        transition: transform 0.3s ease;
    }

    .footer_accordion_trigger.active::after {
        transform: translateY(-50%) rotate(-135deg);
    }

    .footer_accordion_content {
        background-color: #333;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .footer_accordion_content.active {
        max-height: 500px;
        opacity: 1;
    }

    .footer_submenu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer_submenu .footer_menu_subtitle {
        padding: 10px 20px;
        border-bottom: 1px solid #555;
        margin: 0;
        text-align: left;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        transition-delay: 0s;
    }

    .footer_accordion_content.active .footer_submenu .footer_menu_subtitle {
        opacity: 1;
        transform: translateY(0);
    }

    .footer_accordion_content.active .footer_submenu .footer_menu_subtitle:nth-child(1) {
        transition-delay: 0.1s;
    }

    .footer_accordion_content.active .footer_submenu .footer_menu_subtitle:nth-child(2) {
        transition-delay: 0.15s;
    }

    .footer_accordion_content.active .footer_submenu .footer_menu_subtitle:nth-child(3) {
        transition-delay: 0.2s;
    }

    .footer_accordion_content.active .footer_submenu .footer_menu_subtitle:nth-child(4) {
        transition-delay: 0.25s;
    }

    .footer_accordion_content.active .footer_submenu .footer_menu_subtitle:nth-child(5) {
        transition-delay: 0.3s;
    }

    .footer_accordion_content.active .footer_submenu .footer_menu_subtitle:nth-child(6) {
        transition-delay: 0.35s;
    }

    .footer_submenu .footer_menu_subtitle:last-child {
        border-bottom: none;
    }

    .footer_submenu .footer_menu_subtitle span {
        font-size: 14px;
    }

    .footer_menu_wrapper {
        max-width: 100%;
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

/*テーブル
=========================================== */
.notation_table table {
    border-top: 1px solid #8d8d8d;
    border-bottom: 1px solid #8d8d8d;
}

.notation_table th {
    background-color: #363636;
    border-bottom: 1px dotted #8d8d8d;
    color: white;
    width: 27%;
    text-align: left;
    font-weight: 500;
}

.notation_table td {
    border-bottom: 1px dotted #8d8d8d;
    font-weight: 400;
}

.notation_table th,
.notation_table td {
    padding: 15px 0px 15px 30px;
}

.notation_table tr:first-child th,
.notation_table tr:first-child td {
    line-height: 1.8;
}

.notation_table tr:last-child th,
.notation_table tr:last-child td {
    border-bottom: none;
}

.notation_table .flex_center {
    gap: 20px;

    @media (max-width: 1080px) {
        margin-left: 2.6%;
        margin-right: 2.6%;
    }
}

table {
    border-collapse: collapse;
    width: 100%;
}

#contact .notation_table table,
#about .notation_table table,
#register .notation_table table {
    margin-bottom: 30px;
}

#contact .notation_table .title_wrpper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#register .notation_table .title_wrpper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#contact .notation_table th {
    width: 27%;
}

@media (max-width: 1080px) {

    .notation_table table,
    .notation_table thead,
    .notation_table tbody,
    .notation_table tr,
    .notation_table th,
    .notation_table td {
        width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .notation_table th,
    .notation_table td {
        border: none !important;
        padding: 15px 2.6%;
    }
}

/* アコーディオン
=========================================== */
.tab_content {
    margin-bottom: 30px;
}

.faq_item_block {
    padding: 26px;
    background-color: #363636;
}

.js-accordion-title {
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq_item_title .q_item:before {
    content: "Q";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #ffffff;
    font-family: "Lato", sans-serif;
    font-size: 24px;
    line-height: 1;
    background-color: #bf9d4c;
    padding: 6px 10px;
}

.faq_item_title .q_item {
    padding-left: 50px;
    position: relative;
    color: white;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.faq_item_content .a_item {
    position: relative;
    color: rgb(0, 0, 0);
    border: 1px solid;
    padding: 26px;
}

.faq_item_block .faq_item_content {
    margin-top: 16px;
}

.faq_item_wrapper {
    margin-bottom: 40px;
}

.tab_content_description:last-child.faq_item_wrapper {
    padding-bottom: 0px;
}

.tab_content_description {
    margin: 0px 20px;
}

.sidebar .tab_content_description {
    margin: 0px;
}

.js-accordion-title.type-arrow:before {
    content: "";
    width: 7px;
    height: 7px;
    border: 0;
    border-bottom: solid 2px #c5c5c5;
    border-right: solid 2px #c5c5c5;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 16px;
    bottom: 0;
    margin: auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.js-accordion-title.type-plusminus:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 16px;
    height: 3px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    background: #ffffff;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.js-accordion-title.type-plusminus:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 16px;
    height: 3px;
    background: #ffffff;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.js-accordion-title.open.type-arrow:before {
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.js-accordion-title.open.type-plusminus:before {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
}

/*slick-slider
=========================================== */
.slick-slider {
    display: flex !important;
}

.slick-slider .slick-track {
    display: flex !important;
    justify-content: flex-start;
}

.slick-slider .slick-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slick-slider img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    max-height: 150%;
    object-fit: cover;
    border-radius: 5px;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    width: 937px;
}

.slick-list {
    margin: 0 -15px;
}

.slick-slide {
    margin: 0 15px;
}

.slick-prev:before,
.slick-next:before {
    content: "" !important;
    display: block;
    width: 40px;
    height: 40px;
    background-color: #828282 !important;
    -webkit-mask: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path fill='currentColor' d='M201.4 297.4C188.9 309.9 188.9 330.2 201.4 342.7L361.4 502.7C373.9 515.2 394.2 515.2 406.7 502.7C419.2 490.2 419.2 469.9 406.7 457.4L269.3 320L406.6 182.6C419.1 170.1 419.1 149.8 406.6 137.3C394.1 124.8 373.8 124.8 361.3 137.3L201.3 297.3z'/></svg>");
    mask: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path fill='currentColor' d='M201.4 297.4C188.9 309.9 188.9 330.2 201.4 342.7L361.4 502.7C373.9 515.2 394.2 515.2 406.7 502.7C419.2 490.2 419.2 469.9 406.7 457.4L269.3 320L406.6 182.6C419.1 170.1 419.1 149.8 406.6 137.3C394.1 124.8 373.8 124.8 361.3 137.3L201.3 297.3z'/></svg>");
}

.slick-next:before {
    transform-origin: center;
    transform: rotate(180deg);
}

.slick-prev,
.slick-next {
    display: block !important;
    width: 40px !important;
    height: 40px !important;
}

.slick-prev {
    left: -40px !important;

}

.slick-next {
    right: -40px !important;
}

.check_items .slick-slide {
    margin: 0px 5px;
}

/*ページャー
=========================================== */
#pager {
    text-align: right;
    display: block;
}

#pager li {
    display: inline-block;
    border: 1px #2f2b27 solid;
    margin-bottom: 5px;
}

#pager li a,
#pager li span {
    display: block;
    text-align: center;
    height: 30px;
    line-height: 32px;
    text-decoration: none;
    font-weight: bold;
    color: #2f2b27;
    cursor: pointer;
    padding: 0 10px;
}

#pager li a:hover {
    background: #eee;
}

#pager li span,
#pager li a.active {
    background: #eee;
    cursor: auto;
}

@media (max-width: 1080px) {
    #pager {
        padding-right: 2.6%;
        padding-left: 2.6%;
        text-align: center;
    }
}

/* Shop Detail Page Specific Styles */
/* Basic layout structure */
.shop-detail-container .shop_main_content {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.shop-detail-container .subtitle {
    padding-top: 20px;
}

/* Image Section (Left side) */
.shop-detail-image-section {
    flex: 1;
    max-width: 400px;
}

.shop-detail-main-image-container {
    position: relative;
    margin-bottom: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.shop-detail-main-shop-image {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-detail-main-shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-detail-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.shop-detail-carousel-nav:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.shop-detail-carousel-nav.prev_btn {
    left: 10px;
}

.shop-detail-carousel-nav.next_btn {
    right: 10px;
}

.shop-detail-thumbnail-slider {
    margin: 0 auto;
    max-width: 400px;
}

.shop-detail-thumbnail-slider .slick-slide {
    margin: 5px;
}

.shop-detail-thumbnail-slider .slick-track {
    display: flex !important;
    align-items: center;
}

.shop-detail-thumbnail {
    width: 90px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.shop-detail-thumbnail.active {
    border-color: #007bff;
}

.shop-detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-detail-thumbnail:hover {
    border-color: #0056b3;
}

/* Shop Info Section (Right side) */
.shop-detail-info-section {
    flex: 1;
}

.shop-detail-info-box {
    background-color: transparent;
    padding: 0px 20px 20px;
    border-bottom: 1px dotted;
    margin-bottom: 20px;
}

.shop-detail-info-title {
    background-color: #BF9D4C;
    color: white;
    margin-bottom: 12px;
    padding: 5px 10px;
    font-size: 15px;
    font-weight: bold;
    display: inline-block;
    font-weight: 400;
}

/* Opening hours styles */
.shop-detail-time-info {
    font-size: 14px;
}

.shop-detail-time-line {
    margin-bottom: 8px;
    color: #333;
    line-height: 1.5;
}

.shop-detail-time-line:last-child {
    margin-bottom: 0;
}

/* Payment methods styles */
.shop-detail-payment-methods {
    font-size: 14px;
}

.shop-detail-payment-line {
    margin-bottom: 8px;
    line-height: 1.5;
}

.shop-detail-payment-line:last-child {
    margin-bottom: 0px;
}

.shop-detail-payment-prefix {
    color: #333;
    font-size: 13px;
}

/* Social links styles */
.shop-detail-social-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.shop-detail-social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.shop-detail-social-link:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.shop-detail-social-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Back button */
.shop-detail-btn-back {
    display: inline-block;
    background-color: #6c757d;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.shop-detail-btn-back:hover {
    background-color: #5a6268;
    color: white;
}

/* Responsive design */
@media (max-width: 1080px) {

    .shop-detail-container .shop_main_content {
        flex-direction: column;
        gap: 20px;
    }

    .shop-detail-image-section,
    .shop-detail-info-section {
        max-width: 100%;
    }

    .shop-detail-thumbnail-images {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .shop-detail-payment-cards,
    .shop-detail-payment-other {
        justify-content: flex-start;
    }

    .shop-detail-social-links {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .shop-detail-info-box {
        margin: 0 -10px 20px -10px;
        border-radius: 0;
    }

    .shop-detail-info-title {
        margin: -20px -20px 15px -20px;
        border-radius: 0;
    }
}

/* modal
=========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    /* スクロールバーを非表示にする */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.modal-content::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 20px;
    border-bottom: none;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #ccc;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: #333;
    background-color: #f5f5f5;
}

.modal-body {
    color: #333;
    padding: 0 24px 24px;
}

.modal-body .attention {
    background: #ff000012;
    padding: 10px;
    text-align: center;
}

.modal-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 24px 24px;
    border-radius: 0 0 12px 12px;
    max-width: 300px;
    margin: 0 auto;
    clear: both;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.required {
    background-color: #bf0000;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    margin-left: 5px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid black;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: transparent;
    transition: all 0.2s ease;
}


.select2-selection {
    height: auto !important;
    border: 1px solid black !important;
    background-color: transparent !important;
    padding: 10px 16px;
}

.select2-selection__rendered {
    padding-left: 0 !important;
}

.select2-selection__arrow {
    height: auto !important;
    right: 10px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50% !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #bf0000;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(191, 0, 0, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0px 5px 0px;
}

.btn-primary {
    background-color: #bf0000;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary .search-icon {
    width: 16px;
    height: 16px;
}

.btn-primary:hover {
    background-color: #a00000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(191, 0, 0, 0.3);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    height: auto;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
}

.item_count {
    margin-bottom: 15px;
}

@media (max-width: 1080px) {
    .modal-overlay {
        top: 0;
        padding: 16px;
        padding-top: 60px;
        box-sizing: border-box;
    }

    .modal-content {
        width: calc(100% - 32px);
        max-width: calc(100% - 32px);
        max-height: calc(100vh - 80px);
        margin: 0;
        box-sizing: border-box;
    }

    .modal-header {
        padding: 20px 20px 16px;
        position: sticky;
        top: 0;
        background: white;
        z-index: 10;
        border-radius: 12px 12px 0 0;
    }

    .modal-header h2 {
        font-size: 18px;
    }

    .modal-body {
        padding: 0 20px 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-input,
    .form-select {
        padding: 10px 16px;
        font-size: 16px;
        border-radius: 6px;
        box-sizing: border-box;
    }

    .modal-footer {
        padding: 20px;
        position: sticky;
        bottom: 0;
        background: #fafafa;
        border-radius: 0;
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        padding: 18px 24px;
        font-size: 16px;
        border-radius: 8px;
    }

    .item_count {
        margin-left: 2.6%;
        margin-right: 2.6%;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 12px;
        box-sizing: border-box;
    }

    .modal-content {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        max-height: calc(100vh - 60px);
        box-sizing: border-box;
    }

    .modal-header {
        padding: 16px 16px 12px;
    }

    .modal-header h2 {
        font-size: 16px;
    }

    .modal-close {
        font-size: 24px;
    }

    .modal-body {
        padding: 0 16px 16px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-input,
    .form-select {
        padding: 10px 16px;
        font-size: 16px;
        box-sizing: border-box;
    }

    .modal-footer {
        padding: 16px;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 16px 20px;
        font-size: 15px;
    }

    .required {
        font-size: 10px;
        padding: 1px 4px;
    }
}

#add-cart-modal .modal-close,
#auth-favorite-modal .modal-close {
    position: absolute;
    top: 5px;
    right: 5px;
}

#add-cart-modal .modal-content,
#auth-favorite-modal .modal-content {
    max-width: 460px;
}

#add-cart-modal .modal-body,
#auth-favorite-modal .modal-body {
    text-align: center;
    padding: 24px;
    line-height: 2rem;
}

#add-cart-modal .product-title,
#auth-favorite-modal .product-title {
    display: inline;
    font-weight: bold;
}

/* loading
=========================================== */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cube-loader-preview {
    width: 50px;
    height: 50px;
    position: relative;
    perspective: 200px;
}

.cube-loader-preview .cube {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: cube-rotate-animation 4s infinite linear;
}

.cube-loader-preview .cube-face {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #bf0000;
    opacity: 0.8;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

.cube-loader-preview .front {
    transform: translateZ(25px);
}

.cube-loader-preview .back {
    transform: rotateY(180deg) translateZ(25px);
}

.cube-loader-preview .right {
    transform: rotateY(90deg) translateZ(25px);
}

.cube-loader-preview .left {
    transform: rotateY(-90deg) translateZ(25px);
}

.cube-loader-preview .top {
    transform: rotateX(90deg) translateZ(25px);
}

.cube-loader-preview .bottom {
    transform: rotateX(-90deg) translateZ(25px);
}

@keyframes cube-rotate-animation {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}


.contact_info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.establish_date {
    margin-bottom: 20px;
}

@media (max-width: 1080px) {
    .contact_info {
        margin-right: 20px;
        margin-left: 20px;
    }

    .establish_date {
        margin-right: 20px;
        margin-left: 20px;
    }
}

/* alert
=========================================== */
.alert {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    position: fixed;
    top: 10%;
    left: 50%;
    width: 100%;
    max-width: 500px;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #ccc;
    z-index: 10000;
}

.alert .btn-close {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
}