#kokuin-drawer.drawer::part(body) {
    padding-block-start: 0;
    padding-inline-start: 0;
    padding-inline-end: 0;
}

#customizationForm {
    padding: 2.5rem 3rem;
    margin-bottom: 2rem;
    width: 100%;
}

.custom_image_wrap {
    background-color: #f5f5f5;
    width: 100%;
}

.custom_image_wrap img {
    mix-blend-mode: darken;
    width: 100%;
}

.custom_wrap {
    position: relative;
}

.custom_wrap .Form__Item {
    margin-bottom: 15px;
    position: unset;
}

@media screen and (min-width: 1001px){
    .custom_wrap {
        display: flex;
        justify-content: space-between;
    }
    .custom_image_wrap {
        max-width: 500px;
        width: 50%;
    }
    #customizationForm {
        padding: 4.5rem 3rem 4.5rem 1.5rem;
        width: 50%;
    }
}

.kokuin-drawer__items {
    padding-block-start: 2rem;
    padding-inline-start: 2rem;
    padding-inline-end: 2rem;
}

.custom_title {
    margin: 0;
}

#colorOptions {
    display: flex;
    gap: 10px;
}

.colorOption {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid transparent;
}

.colorOption.selected {
    border-color: #625E58;
}

.selectColor {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.custom_input_form {
    position: relative;
    display: flex;
}

.custom_input_form input {
    width: 95%;
    padding: 20px;
    height: 50px;
}

.custom_title_wrapper {
    display: flex;
    justify-content: space-between;
}

.custom_button {
    display: flex;
    position: absolute;
    right: 2rem;
    top: 25%;
    gap: 5px;
}

.custom_button button {
    background: #fff;
    border: none;
}

.custom_attention {
    margin: 15px 0;
}

.rest_button {
    width: 1% !important;
    border: none;
    background: transparent;
    padding: 0 10px;
}

.customize_note_wrap {
    margin: 20px 0;
}

html.js.lock #ch-plugin-entry {
    display: none;
}

.kokuin_position_text {
    font-size: 11px;
    letter-spacing: 0;
    font-weight: 700;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .custom_input_form {
        flex-wrap: wrap;
    }
    .rest_button {
        padding: 0 5px;
    }
    .custom_button {
        right: 2.5rem;
    }
    #customizationForm {
        padding: .5rem 1.5rem;
        margin-bottom: 2rem;
    }
}

/* 初期状態: ドロワーを右側に隠す */
.kokuin-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.kokuin-drawer.active {
    opacity: 1;
    visibility: visible;
    background: #00000080;
}

.kokuin-drawer-inner {
    position: relative;
    background: #fff;
    max-height: 80%;
    overflow-y: auto;
    padding: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

@media screen and (max-width:768px){
    .kokuin-drawer-inner {
        width: 90%;
    }
}

.kokuin-drawer.active .kokuin-drawer-inner {
    right: 0; /* 表示時: 画面内にスライド */
}
  
.kokuin-drawer.closing .kokuin-drawer-inner {
    right: -100%; /* 閉じる際のスライド */
}

.kokuin-header {
    margin-bottom: 1rem;
}

.seasonal_motif {
    display: flex;
    margin: 10px 0;
    gap: 15px;
}

.seasonal_motif span {
    color: red;
    font-size: 14px;
    pointer-events: none;
}

.seasonal_motif button {
    display: flex;
    gap: 10px;
    border: none;
    background: transparent;
    padding-left: 0;
    align-items: center;
    width: fit-content !important;
    font-size: 20px;
    font-weight: 600;
}

a:not([href]) {
    cursor: pointer; /* 必要であれば pointer に変更 */
    pointer-events: auto;
}

.close_btn_wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.close-btn {
    border: none;
    background: transparent;
    position: absolute;
    width: 0% !important;
    top: 1.5rem;
    text-align: right;
}

#customizationForm button {
    width: 100%;
}

/* モーダルオープン時のtangibleeとwishlistボタン */
.modal-open .tangiblee-wrapper {
    z-index: 0 !important;
}
.modal-open .swym-wishlist-button-bar {
    z-index: 0 !important;
}

.modal-open sticky-header{
    background: #00000006;
}

.modal-open .header{
    background: #00000010;
    box-shadow: none;
}

.modal-open .product-sticky-bar{
    display: none !important;
}

.modal-open .label-product {
    display: none;
}

.custom_count {
    padding-left: 10px;
}

.image-inner-text{
    font-size: 10px;
    margin: 0 10px;
    text-align: right;
}

.customize--text{
    font-size: 13px;
}

.modal-open header a, .modal-open header button {
    pointer-events: none;
}