html {
.pconly {
    display: block;
}
.sponly {
    display: none;
}
.container.detail {
    width: 100vw;
    margin: 8% auto 7%;
    display: block;
}
.listbox-function {
    display: flex;
    width: calc(100vw - 7vw);
    margin: 0 auto;
}
.topicsinner.bcon {
    width: 100%;
    max-width: calc(100%);
    margin-left: 0vw;
    background-color: #f9f9f9;
    padding: 5vw 0 6vw;
}
.sidebar {
    width: 22vw;
    padding-right: 3vw;
}
.wrap.howto {
    width: 74vw;
    max-width: 74vw;
    min-width: auto;
    margin: 0 auto;
    padding-left: 1vw;
}
.topicsinner.bcon.tanuki {
    width: 100%;
    max-width: calc(100%);
    margin-left: 0vw;
    background-color: #f9f9f9;
    padding: 5vw 0 6vw;
}
.t-box {
    width: 100%;
    max-width: calc(100vw - 50px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 3rem;
    margin-top: 0%;
}
.sort.clearfix {
    width: 100%;
    height: 5rem;
    background-color: #ffffff;
    border-radius: 0px;
    margin-bottom: 2%;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.sort div {
    min-height: 4rem;
    float: left;
    border-left: 1px solid #FFFFFF;
    font-size: 1rem;
    line-height: 4rem;
}
.sort_number {
    width: 12rem;
    margin-left: 0%;
}
.sort_order {
    width: 15rem;
}
.sort_layout_icons {
    display: inline-block;
}
.sort p {
    padding: 10px;
    font-weight: bold;
}
.sort_layout p,
.sort_stock p {
    padding: 16px 5px 0px;
}
.sort_layout img {
    max-width: none;
    margin-right: 10px;
}
select {
    max-width: 100%;
    padding: 0px 15px;
    height: 30px;
    line-height: 2rem;
    border: #999999 1px solid;
    border-radius: 5px;
    margin-top: -2px;
    vertical-align: middle;
    color: #000000;
    background: #fff;
}
.sort_order {
    margin-bottom: 1rem;
}
.sort_order label {
    font-size:1.4rem
    font-weight: 500;
    margin-right: 0.5rem;
}
.sort_order .sort_label {
    font-size:1.4rem
}
.sort_order .colon {
    font-size:1.4rem
    margin: 0 0.2rem;
}
.sort_order select {
    font-size:1.4rem
    padding: 4px;
}

.sort_number label {
    font-size:1.4rem
    font-weight: 500;
    margin-right: 0.5rem;
}
span.colon {
    font-size:1.4rem
    margin: 0 0.2rem;
}
.sort select {
    height: 45px;
    font-size: 0.94rem;
    font-weight: 500;
    text-align: center;
}
img.my-mage {
    width: 100%;
    height: auto;
}
.book-title {
        font-weight: 400;
        margin: 1rem 0 0.5rem;
        line-height: 1.6rem;
        font-size: 1rem;
        letter-spacing: 1px;
        -webkit-text-stroke: 0.01vw;
        font-weight: 500;
        color: #000;
}
span.price-value {
    font-size: 1rem;
    font-weight: 600;
    color: #afafaf;
}
span.price-unit {
    font-weight: 600;
    font-size:1.4rem
    margin: 0 0 0 3px;
    color: #afafaf;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 5%;
}
.pagination .prev, .pagination .next {
    font-weight: 600;
    color: #000;
    font-size: 1.6rem;
    cursor: pointer;
    transition: transform 0.3s ease, margin 0.3s ease;
}
.pagination .prev:hover {
    transform: translateX(-5px);
}
.pagination .next:hover {
    transform: translateX(5px);
}
.pagination button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #ffffff;
    color: #000;
    font-size:1.4rem
    font-weight: 500;
    border: 1px solid #000;
    cursor: pointer;
    transition: all 0.3s;
    transition: transform 0.3s ease;
}
.pagination button:hover {
    transform: scale(1.1);
    background-color: #a8de00;
    color: #ffffff;
    border: 1px solid #fff;
}
.pagination button.active {
    background-color: #a8de00;
    color: #ffffff;
    border: 1px solid #fff;
}
.pagination button:disabled, .pagination .prev:disabled, .pagination .next:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.side_box.category {
    color: #333;
}
.category-group h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #555;
}
.category-group ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.category-group ul li {
    margin-bottom: 0.8rem;
}
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.8rem;
}
.custom-checkbox input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border: 2px solid #dcdcdc;
    border-radius: 15px;
    outline: none;
    background-color: #fff;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.custom-checkbox input[type="checkbox"]:checked {
    background-color: #36a5bf;
    border-color: #36a5bf;
}
.custom-checkbox input[type="checkbox"]:hover {
    border-color: #22a5bf;
}
.custom-checkbox span {
    color: #333;
    transition: color 0.2s ease;
}
a.bookthmimg {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    
}
a.bookthmimg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-radius: 10px;
        width: 100%;
        aspect-ratio: 5 / 4;
        overflow: hidden;
        border-radius: 0.8rem;
        position: relative;
}

a.bookthmimg:hover img {
    transform: scale(1.1);
}
div#filterInfo {
        background: #ffffff;
        border-radius: 25px;
        padding: 2% 4%;
        margin-bottom: 3rem;
        margin-top: 0rem;
}
.side_box.category {
    padding-top: 5rem;
}
.filter-label {
        font-size: 1rem;
        font-weight: 500;
        margin-bottom: 0rem;
        text-align: center;
        -webkit-text-stroke: 0.02vw;
        margin-top: 2rem;
        letter-spacing: 4px;
}
.filter-number {
        font-size: 2.2rem;
        font-weight: 600;
        color: #4e4e4e;
        margin-right: 9px;
        line-height: 4rem;
}
.filter-value {
        display: flex;
        align-items: baseline;
        justify-content: center;
        text-align: center;
        margin-bottom: 0%;
        /* border-bottom: 1px solid #ccc; */
        padding-bottom:1rem;
}
.filter-unit {
    font-size: 1.4rem;
    color: #666;
    font-weight: 600;
}
.filter-clear-btn {
        width: 85%;
        display: block;
        text-align: center;
        margin: 0 auto 2rem;
        padding: 5px 1rem;
        font-size: 0.94rem;
        font-weight: 500;
        color: #000000;
        background-color: #eeeeee;
        border: none;
        border-radius: 30px;
        cursor: pointer;
        transition: all 0.3s ease;
        -webkit-text-stroke: 0vw;
    }
.section_title {
    display: block;
    margin-bottom: 14%;
}
.filter-clear-btn:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-2px);
}
.custom-checkbox span {
        font-weight: 500;
        font-size: 0.94rem;
        letter-spacing: 1px;
}
h3.category1 {
        font-size: 1.4rem;
        letter-spacing: 1px;
        color: #22a5bf !important;
        margin-bottom: 10%;
        font-family: Bebas Neue, sans-serif;
        display: block;
        font-weight: 400;
        letter-spacing: 4px;
}
h3.category1.second {
    margin-top: 3rem;
}
a.kamometoplink {
    font-size: 1rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #000000;
}
.section_title img.kamome22 {
  display: block;
  width: 1rem; /* 親要素に合わせた幅 */
  height: auto;
  transition: transform 0.3s ease;
}
a.kamometoplink:hover img.kamome22 {
    transform: scale(1.1);
}
a.kamometoplink:hover {
    text-decoration: none;
    transform: translateX(4px);
    transition: transform 0.3s ease;
}
#displaynumber,
#sort {
    width: 15rem;
}
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #ccc;
    color: #333;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}
select:hover {
    border-color: #999;
}
select:focus {
    outline: none;
    border-color: #0073e6;
    background-color: #fff;
}
option {
    background-color: #ffffff;
    color: #333;
    font-size: 16px;
    padding: 8px 10px;
    border: none;
    cursor: pointer;
}
option:hover {
    background-color: #0073e6;
    color: #fff;
}
h1.goodslist {
        font-size: 1.7rem;
        font-weight: 600;
        margin-bottom: 3%;
        font-family: 'Noto SansJP', sans-serif !important;
        letter-spacing: 0.4vw;
        width: calc(100vw - 10vw);
        margin: 12rem auto 6rem;
}
section.btn02 {
    width: 80%;
    margin: 5% auto 0%;
}
.btn-square {
         display: block;
        width: 30rem;
        padding: 1rem;
        background-color: #000000;
        color: white;
        text-align: center;
        text-decoration: none;
        border-radius: 4px;
        font-weight: 500;
        transition: transform 0.3s ease;
        margin: 7% auto 0;
        line-height: 3.4rem;
        font-size: 1.8rem;
        letter-spacing: 0px;
        -webkit-text-stroke: 0.01vw;
}
section.btn02 {
    width: 90%;
    margin: 0rem auto 0%;
}
.btn-square:hover {
    transform: scale(1.05); /* 1.05倍に拡大 */
}
span.text-single.sponly {
    display: none;
}
.topicsinner.bcon.tanuki {
    width: 100%;
    max-width: calc(100%);
    margin-left: 0vw;
    background-color: #ffffff;
    padding: 2vw 0 3vw;
}
.sort_news {
    position: absolute;
    right: 0;
    overflow: hidden;
    height: 19px;
    width: 22rem;
    background-color: #fff;
    border-radius: 0px;
    margin-right: 3.5vw;
    padding: 0%;
    border-bottom: 1px solid #000;
}

.newsslide {
    display: flex;
    padding-top: 6%;
    animation: scroll-horizontal 30s linear infinite;
    width: max-content;
    will-change: transform;
}

.newskontet {
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 500;
    height: 30px;
    line-height: 2rem;
    padding: 0 2rem;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(10%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.t-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
img.kamome22 {
    width: 1rem;
    height: auto;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.sort_news {
    position: absolute;
    right: 0;
    overflow: hidden;
    height: 19px;
    width: 22rem;
    background-color: #fff;
    border-radius: 0px;
    margin-right: 3.5vw;
    padding: 0%;
    border-bottom: 1px solid #000;
}

.newsslide {
    display: flex;
    padding-top: 6%;
    animation: scroll-horizontal 30s linear infinite;
    width: max-content;
    will-change: transform;
}

.newskontet {
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 500;
    height: 30px;
    line-height: 2rem;
    padding: 0 2rem;
}
button#customMenuBtn {
    display: none;
}
select.displaynumber {
    width: 10rem;
}
select.sort {
    width: 10rem;
}
@keyframes scroll-horizontal {
    0% {
        transform: translateX(10%);
    }
    100% {
        transform: translateX(-100%);
    }
}
span.inacomevate {
    background: #151515;
    color: #fff;
    font-size: 1.2rem;
    padding: 1% 5%;
    border-radius: 4px;
    line-height: 4rem;
}
@media screen and (max-width: 768px) {
*,
*::before,
*::after {
    box-sizing: border-box;
}
button#customMenuBtn {
    display: block;
}
    .wrap.howto {
        max-width: 90%;
        min-width: auto;
        margin: 0 auto;
    }
    .side_contents.category_list.side_category_popup {
        display: none;
    }
    .side_contents.category_list.side_category_popup.view {
        display: block!important;
    }
}
@media (min-width: 768px) {
  #customLightbox {
    display: none !important;
  }
}
@media screen and (max-width: 768px) {
.pconly {
    display: none;
}

.sponly {
    display: inline-block;
}

.listbox-function {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.container.detail {
    width: 100%;
    margin: 15rem auto 7%;
    display: block;
}

.sidebar {
    width: calc(100vw - 48px);
    padding-right: 0vw;
    margin: 0 auto;
}

h1.goodslist {
    width: 100%;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4%;
    font-family: 'Noto SansJP', sans-serif !important;
    letter-spacing: 0.1vw;
}

a.kamometoplink {
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #867e7e;
}

.section_title {
    display: block;
    margin-bottom: 10%;
}

div#filterInfo {
    background: #ffffff;
    border-radius: 20px;
    padding: 6% 15% 0;
    margin-top: -5rem;
    margin-bottom:3rem;
}

.filter-value {
    text-align: center;
    margin-bottom: 6%;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4%;
}

.filter-unit {
        font-size: 2.4rem;
        color: #333;
        font-weight: 600;
}

.filter-number {
    font-size: 1.6rem;
    font-weight: 600;
    color: #4e4e4e;
    margin-right: 5px;
    margin-left: 5px;
    line-height: 8rem;
}

.filter-clear-btn {
    width: 65%;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 7px 0rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #000;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-text-stroke: 0vw;
}

button#customMenuBtn {
    position: relative;
    width: 90%;
    z-index: 1001;
    background-color: #0e0e0e;
    color: #fff;
    border: none;
    padding: 15px 15px;
    font-size:1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
                margin: 0 auto 2rem;
}

button#customMenuBtn .plus-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

button#customMenuBtn:hover {
    background-color: #1a1a1a;
}

button#customMenuBtn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

button#customMenuBtn:active {
    background-color: #333333 !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button#customMenuBtn:hover .plus-icon {
    transform: rotate(45deg);
}

.tanukibo {
    display: inline-block;
    padding: 0rem;
    border-top: none;
    min-height: 13rem;
}


a.bookthmimg {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    padding-right: 0vw;
        width: 100%;
        aspect-ratio: 5 / 4;
        overflow: hidden;
        border-radius: 0.8rem;
        position: relative;
}

.book-title {
    font-weight: 500;
    margin: 5% 0 3%;
    line-height: 1.4rem;
    font-size:1.4rem
    letter-spacing: 0px;
    -webkit-text-stroke: 0.02vw;
}

span.price-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #afafaf;
}

span.price-unit {
    font-weight: 600;
    font-size: 0.84rem;
    margin: 0 0 0 3px;
    color: #afafaf;
}

.jstext {
    width: 100%;
}

.sort_number {
    width: 50%;
    margin-left: 0%;
}

.sort.clearfix {
    display: flex;
    width: 100%;
    height: 5rem;
    background-color: #ffffff;
    border-radius: 0px;
    margin-bottom: 4%;
    gap: 3%;
}

.sort_order {
    margin-bottom: 0rem;
}

#displaynumber, #sort {
    width: 100%;
}

a.bookthmimg img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-radius: 10px;
            width: 100%;
        aspect-ratio: 5 / 4;
        overflow: hidden;
        border-radius: 0.8rem;
        position: relative;
}

section.btn02 {
    width: 90%;
    margin: 4rem auto 20%;
}

.comContact {
    width: 90%;
    margin: 2rem auto 10%;
}

.btn-square {
    display: block;
    width: 90%;
    padding: 0.5rem;
    background-color: #000000;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: transform 0.3s ease;
    margin: 0% auto 0;
    font-size: 0.9rem;
    line-height: 2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 10%;
}

.wrap.howto {
    width: 90%;
    margin: 0 auto;
    padding-left: 0vw;
}

.pagination button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background-color: #ffffff;
    color: #000;
    font-size: 0.84rem;
    font-weight: 500;
    border: 1px solid #000;
    cursor: pointer;
    transition: all 0.3s;
    transition: transform 0.3s ease;
}

.pagination button.active {
    background-color: #a8de00;
    color: #ffffff;
    border: 1px solid #a8de00;
}

.section_title img.kamome22 {
    display: block;
    width: 0.84rem;
    height: auto;
    transition: transform 0.3s ease;
}

p.landf {
    display: flex;
    align-items: center;
}

.linewide.sponly {
    width: 100%;
    /* 必要に応じてパディングやマージンを調整 */
    padding: 0;
    margin: 0;
}

.sort.clearfix {
        display: inline-block;
        width: 100%;
        height: 4rem;
        background-color: #f1f1f1;
        border-radius: 0px;
        margin-bottom: 9%;
        padding: 4px 0;
        margin-top: 6%;
}

#displaynumber, #sort {
    width: 4rem;
}

.sort div {
    border-left: none;
}

.sort p {
    padding: 0px 10px;
    font-weight: bold;
}

span.rpcktext {
    width: 4rem;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
}

.sort_number {
    width: auto;
    margin-left: 0%;
}

p.landf.first {
    padding-left: 24px;
    padding-right: 0;
}

span.rpcktext.second {
    width: 3.2rem;
}

select#displaynumber {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: -webkit-center;
}

select#sort {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: -webkit-center;
}

select#displaynumber {
    height: 30px !important;
}

select#sort {
    height: 30px !important;
}

select {
    padding: 2px 12px;
}

.sort.clearfix {
    height: auto!important;
}



.custom-lightbox-overlay {
  display: none; /* 初期状態で非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
        background: rgb(255 255 255 / 91%);
  z-index: 10000;
  overflow-y: auto;
  justify-content: center;
  align-items: center;
}

/* ライトボックスのコンテンツ */
.custom-lightbox-content {
        background: none;
        padding: 20px;
        border-radius: 8px;
        max-width: 100%;
        margin: 0px auto;
}

/* 閉じるボタン */
.custom-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 3.5rem;
  cursor: pointer;
}

/* 絞り込むボタン */
.custom-lightbox-apply {
        display: block;
        margin: 10% auto 0;
        padding: 1rem 6rem;
        background: #000;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
}
.custom-lightbox-content {
  max-height: 100vh;
  overflow-y: auto;
}
.category-group ul li {
    margin-bottom: 5%;
}
h3.category1 {
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: #000000 !important;
    margin-bottom: 7%;
    font-family: Bebas Neue, sans-serif;
    display: block;
}
h3.category1.second {
    margin-top: 7%;
}
.sort div {
    min-height: auto;
}
select.displaynumber {
    width: auto;
}
select.sort {
    width: auto;
}

    .book-title {
        font-weight: 400;
        margin: 1rem 0 1rem;
        line-height: 1.6rem;
        font-size: 1rem;
        letter-spacing: 1px;
        -webkit-text-stroke: 0.01vw;
        font-weight: 600;
        color: #000;
    }
            .sort.clearfix {
            display: inline-block;
            width: 100%;
            height: 4rem;
            background-color: #f1f1f1;
            border-radius: 0px;
            margin-bottom: 3%;
            padding: 20px 0;
            margin-top: 3%;
        }
            span.rpcktext {
            width: 7rem;
            text-align: left;
            font-size: 1.2rem;
            font-weight: 500;
        }
                .filter-clear-btn {
            width: 65%;
            display: block;
            text-align: center;
            margin: 0 auto;
            padding: 7px 0rem;
            font-size: 1.2rem;
            font-weight: 500;
            color: #000000;
            background-color: #ffffff;
            border: 1px solid #000;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            -webkit-text-stroke: 0vw;
        }

                .section_title {
            display: block;
            margin-bottom: 2%;
        }
        .filter-number {
            font-size: 2.2rem;
            font-weight: 600;
            color: #4e4e4e;
            margin-right: 5px;
            margin-left: 5px;
            line-height: 5rem;
            margin-top: 10%;
        }
                .filter-value {
            text-align: center;
            margin-bottom: 7%;
            border-bottom: 1px solid #ccc;
            padding-bottom: 0%;
        }
            .sort select {
        height: 33px;
        font-size: 1.2rem;
        font-weight: 500;
        text-align: center;
}
        select.sort {
            width: 8rem;
        }}
.side_box.category {
        background: #bfbfbf26;
        padding: 2rem 10%;
        border-radius: 25px;
}
    a.bookthmimg {
        display: block;
        width: 100%;
        overflow: hidden;
        border-radius: 10px;
        position: relative;
        width: 100%;
        aspect-ratio: 5 / 4!important;
        overflow: hidden;
        border-radius: 0.8rem;
        position: relative;
    }
@media screen and (max-width: 768px) {
.t-box {
    width: 100%;
    max-width: calc(100% - 0px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
    margin-top: 0%;
}
p.book-title {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
    font-weight: 600;
    margin-top: 20px;
}
p.book-meta {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #afafaf;
    font-weight: 500;
    margin-top: 20px;    margin-bottom: 8px;
}
    .breadcrumb__list {
        padding: 6px 0px;
    }
        .side_box.category {
        background: #ffffff26;
        padding: 2rem 0%;
        border-radius: 0px;
    }
}