/* 商品紹介ページ共通スタイル */
/* -----------------------------
 共通
----------------------------- */
.product_detail_wrap .input_wrap input {
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    font-size: 16px;
}
.product_detail_wrap textarea {
    font-family: 'Meiryo', 'Noto Sans JP', sans-serif;
    font-size: 16px;
    padding: 8px 10px!important;
}

.product_ttl_box {
    background: #FCDD40;
    padding: 15px;
    display: grid;
    gap: 15px;
    grid-template-columns: 2fr 3fr;
}
.product_ttl_box .ttl_box {
    padding: 15px 0 15px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 350px;
    margin: auto;
}
.product_ttl_box .ttl_box h2 {
    font-size: 80px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap
}
.product_ttl_box .ttl_box .catch_copy {
    background: #fff;
    text-align: center;
    padding: 8px 15px;
    border-top: 2px solid #2D2D2D;
    border-bottom: 2px solid #2D2D2D;
    line-height: 1.3em;
}


.product_description {
    background: #fff;
    padding: 15px;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 3fr;
}

.product_description .product_option {
    width: 183px;
    margin: auto;
}

.product_description .product_option img {
    width: 100%;
}

.price_info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: auto;
}
.price_info .label-badge {
    font-size: 18px;
    background: #FCDD40;
    /*text-align: center;*/
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    width: fit-content;
}
.price_info .label {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    text-align: left;
    padding-bottom: 10px;
}
.price_info .lowest_price {
    font-size: 54px;
    font-weight: bold;
    white-space: nowrap;
}
.price_info .lowest_price .unit {
    font-size: 20px;
    font-weight: bold;
}


.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance:textfield;
}

.product__short-description {
    padding: 30px;
}
.product__short-description pre {
    white-space: pre-wrap;
    width: calc(100% - 200px);
}

.product__short-description pre p {
    line-height: initial;
}

.single_product .price_detail h2 {
    border-bottom: none;
}

.inner-box {
    padding: 20px 10px 40px 10px;
}

.cnt_step .inner-box h3 {
    margin-bottom: 15px;
}

.text-wrapper {
    margin-bottom: 15px;
}

.wapf-input {
    border: 1px solid #ccc;
    padding: 8px;
}
.single_product_quantity_button {
    border: 1px solid #ccc;
}

.product_detail .product_detail_contents .cnt_step .supplement {
    font-size: 14px;
}

.link {
    color: #0125F5!important;
}
.link_wrap .link {
    margin-top: 15px;
    display: block;
}

.member-delivery {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}

.member-delivery span {
    font-size: 12px;
}

.including-tax {
    text-align: right;
}

.product_detail .product_detail_contents .cnt_step .caution_txt {
    font-size: 14px;
}

.cnt_step.step02 table .input_wrap.vertical-svg-wrapper {
    text-align: left;
    padding: 20px 0;
}
img:not(.logo_image.logo_sp).vertical-svg {
    max-width: 50%;
}

@media only screen and (max-width: 750px) {
    .inner-box {
        padding: 20px 0 40px;
    }

    .cnt_step .inner-box h3 {
        margin-bottom: 20px;
    }

    .text-wrapper {
        line-height: 1.4;
    }

    .member-delivery span {
        font-size: 10px;
    }

    .product_description .product_option {
        width: 30vw;
    }

    .product__short-description pre {
        width: 90%;
        margin: auto;
    }

    .product_ttl_box .ttl_box h2 {
        font-size: 50px;
        margin: 0;
    }

    .product_ttl_box {
        display: block;
    }

    .price_info .lowest_price {
        font-size: 28px;
    }
    .price_info .lowest_price .unit {
        font-size: 11px;
    }

    .price_info .label-badge {
        font-size: 14px;
        padding: 5px 15px;
    }

    .price_info .label {
        font-size: 11px;
    }

    .cnt_step.step02 table .input_wrap {
        padding: 20px 0;
    }

    .product_ttl_box .ttl_box {
        padding: 15px 0;
        max-width: 100%;
    }

}


/* -----------------------------
 step01
----------------------------- */
.product_detail .size_entry_form {
    margin-top: 30px;
    font-weight: bold;
}

.product_detail .size_entry_form .flex_box {
    align-items: center;
}

.product_detail .size_entry_form .flex_box .times {
    margin-right: 10px;
}

.product_detail .size_entry_form input {
    width: 80px;
    padding: 10px;
    font-size: 14px;
    border: 1.5px solid #ccc;
    margin: 0 10px;
}

.processing-container {
    margin-bottom: 50px;
}

.processing-description-container {
    padding: 10px 30px 30px;
}
.processing-description-container h3 {
    font-size: 18px;
}
.processing-img-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.processing-img-container img {
    width: 48.3%;
}

.product_detail .product_detail_contents .cnt_step.step03 .wcpa_radio label,
.product_detail .product_detail_contents .cnt_step.step05 .wcpa_radio label
{
    font-size: 16px;
}

.product_detail .product_detail_contents .cnt_step.step05 .wcpa_radio p {
    font-size: 14px;
}

label.wcpa_radio {
    display: grid;
    grid-template-rows: repeat(1, 1fr);
    font-weight: 700;
}

label.wcpa_radio .img {
    padding: 5px 0;
}

.processing-vertical label.wcpa_radio .img {
    display: flex;
    justify-content: center;
}

.processing-vertical img:not(.logo_image.logo_sp) {
    max-width: 70%;
}

@media only screen and (max-width: 940px) {
    .price_detail .price_table_wrap {
        overflow-x: auto;
        padding: 5px 0 10px;
    }
}

/* -----------------------------
step04
----------------------------- */
.cnt_step .select_wrap {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    padding-left: 23px;
}

.cnt_step .select_wrap span {
    margin-left: 10px;
}

.cnt_step .select_wrap select {
    height: 40px;
    padding: 5px 10px;
}

/* -----------------------------
step06
----------------------------- */
.product_detail .product_detail_contents .cnt_step.step03 .cut-option-group label.wcpa_radio {
    padding: 0;
}
.product_detail .product_detail_contents .cnt_step.step03 .cut-option-group label.wcpa_radio > div:first-child {
    padding: 13px 13px 0;
}

.packing-caution {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* -----------------------------
 step08
----------------------------- */
.cnt_step.step08 .date_wrap{
    display: flex;
    justify-content: space-between;
    margin-bottom: 21px;
}

.product_detail .product_detail_contents .cnt_step.step08 .date_wrap > div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.product_detail .product_detail_contents .cnt_step.step08 .date_wrap .normal{
    padding: 20px 10px;
    border-radius: 5px;
    font-size: 28px;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
    color: #2D2D2D;
    border: 1px solid #2D2D2D;
    width: 48.3%;
}

.product_detail .product_detail_contents .cnt_step.step08 .date_wrap .express{
    padding: 20px 10px;
    border-radius: 5px;
    font-size: 28px;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
    color: #D81319;
    border: 1px solid #D81319;
    width: 48.3%;
}

.product_detail .product_detail_contents .cnt_step.step05 .wcpa_radio .img.multiple {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.product_detail .product_detail_contents .cnt_step.step05 .wcpa_radio.no-bottom {
    padding-bottom: 0;
}

.product_detail .product_detail_contents .cnt_step.step05 .wcpa_radio .img.multiple img {
    width: 30%!important;
}

.product_detail .product_detail_contents .cnt_step.step08 .date_wrap .normal span,
.product_detail .product_detail_contents .cnt_step.step08 .date_wrap .express span{
    display: inline-block;
}

.product_detail .product_detail_contents .cnt_step.step08 .option_wrap label {
    font-size: 20px;
    font-weight: 700;
    line-height: 29px;
}

.product_detail .product_detail_contents .cnt_step.step08 .caution_txt {
    margin-top: 19px;
}

.product_detail .product_detail_contents .estimate_box .btn_group .single_add_to_cart_button {
    margin-top: 0;
}

.price_table_wrap {
    overflow-x: scroll;
}

.price_detail .price_table{
    table-layout: auto;
    min-width: auto;
    margin-bottom: 0;
}

.price_table th, .price_table td {
    white-space: nowrap;
}

/* スクロールバーの幅と高さを設定する */
.scrollbar::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
/* スクロールバーの形を設定する */
.scrollbar-thumb-rounded::-webkit-scrollbar-thumb {
    border-radius: 0.25rem;
}
/* スクロールバーの色を設定する */
.scrollbar-thumb-black::-webkit-scrollbar-thumb {
    --bg-opacity: 1;
    background-color: #cccccc;
}

/* -----------------------------
 step11
----------------------------- */
.data-group {
    /*padding: 20px 40px;*/
}

.data-group .pointer {
    cursor: pointer;
}

.data-group textarea {
    width: 100%;
    min-height: 70px;
}

.data-group .outlined {
    /* border: 1px dashed; */
    border: 3px dashed #FFA355;
}

.data-group .step_ttl{
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 35px;
    margin-bottom: 18px;
}

.data-group .step_ttl .step_num{
    background: #FEEC61;
    padding: 7px 23px 8px;
    border-radius: 5px;
    margin-right: 23px;
    display: block;
}

.design-horizon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 15px;
}

.design-horizon .inner {
    display: grid;
    grid-template-columns: 1fr 4fr;
    align-items: center;
}

.design-horizon .inner-title {
    padding: 0 15px;
}

/* .design-horizon .no_design{
grid-column-start: 1;
grid-column-end: 5;
grid-template-columns: 1fr 18fr;
} */

/* .design-horizon .no_design .pointer{
padding: 10px 0;
} */

.design-vertical {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 40px;
    /* column-gap: 50px; */
    padding: 0 40px;
}

.design-vertical .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.design-vertical .inner-title {
    padding: 15px 0 ;
}

/* .design-vertical .no_design{
    grid-column-start: 1;
    grid-column-end: 7;
    align-items: flex-start;
} */

/* .design-vertical .no_design .pointer{
    padding: 10px 0;
    } */

.color-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    row-gap: 25px;
}

.color-container .inner {
    display: flex;
    align-items: center;
}

.color-container .inner-title {
    padding: 0 10px 0 0;
    min-width: 66px;
    text-align: right;
}

.color-box {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 1px solid #707070;
}

.font-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 60px;
}

.text-container textarea {
    margin-bottom: 15px;
}

.estimate-docs {
    display: none;
}


/* -----------------------------
 モーダルウィンドウ
----------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-outer-container {
    background-color: #f4f4f4;
    margin: 10% auto;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
    animation-name: modalopen;
    animation-duration: 1s;
}

@keyframes modalopen {
    from {opacity: 0}
    to {opacity: 1}
}

.modal-header h1 {
    margin: 1rem 0;
}

.modal-header {
    padding: 3px 15px;
    display: flex;
    justify-content: space-between;
}

.modalClose {
    font-size: 2rem;
}

.modalClose:hover {
    cursor: pointer;
}

.modal-body {
    padding: 10px 20px;
    color: black;
}

.modal-title {
    text-align: center;
    font-size: 24px;
}

.modal-container {
    padding: 10px 90px;
}

.modal-inner-container {
    border-bottom: 1px solid #CBCBCB;
    padding-top: 20px;
}

.modal-container .modal-inner-container:last-child {
    border-bottom: none;
}



.modal-inner-title {
    text-align: left;
    font-size: 20px;
    border-left: 5px solid #FCDD40;
    padding: 7px 0 7px 20px;
}

.modal-inner-content {
    display: flex;
    flex-direction: row;
    padding: 20px 0;
}

.modal-inner-content img:not(.logo_image.logo_sp) {
    width: 100px;
    max-width: 100px;
}

.modal-image-container {
    display: flex;
    justify-content: space-between;
}

.modal-image-container > span {
    margin-right: 10px;
}

.modal-content-description {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

/* 商品仕様入力後のページ離脱確認 */
body.lowpra-leave-modal-open {
    overflow: hidden;
}

.lowpra-leave-confirmation[hidden] {
    display: none;
}

.lowpra-leave-confirmation {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
}

.lowpra-leave-confirmation__dialog {
    width: min(100%, 500px);
    padding: 32px;
    color: #222;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.lowpra-leave-confirmation__dialog h2 {
    margin: 0 0 18px;
    font-size: 24px;
}

.lowpra-leave-confirmation__dialog p {
    margin: 0;
    line-height: 1.7;
}

.lowpra-leave-confirmation__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
}

.lowpra-leave-confirmation__actions button {
    min-height: 44px;
    padding: 10px 18px;
    color: #222;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    background: #fff;
    border: 1px solid #555;
    border-radius: 4px;
}

.lowpra-leave-confirmation__actions .lowpra-leave-confirmation__leave {
    color: #fff;
    background: #222;
}

.lowpra-leave-confirmation__actions button:focus-visible {
    outline: 3px solid #1666c5;
    outline-offset: 2px;
}

.processing-details-text {
    text-align: center;
    /*padding: 20px 10px 10px;*/
}

.processing-details-text a {
    color: #ff0000;
    text-decoration: underline;
}

.sticker-size-container {

}

.sticker-size-container .size-addition {
    line-height: 1.5;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.sticker-size-container .size-addition span {
    padding-left: 10px;
}

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

    .product__short-description {
        padding: 0;
    }


    .product_detail .product_detail_contents .cnt_step.step03 .wcpa_radio label,
    .product_detail .product_detail_contents .cnt_step.step05 .wcpa_radio label {
        font-size: 14px;
    }

    .product_detail .product_detail_contents .cnt_step.step08 .date_wrap > div {
        flex-direction: row;
        justify-content: space-evenly;
    }

    .product_detail .product_detail_contents .cnt_step.step08 .date_wrap .normal {
        padding: 15px 5px;
        font-size: 20px;
        width: 100%;
        margin-bottom: 15px;
    }

    .product_detail .product_detail_contents .cnt_step.step08 .date_wrap .express {
        padding: 15px 5px;
        font-size: 20px;
        width: 100%;
    }

    .product_detail .product_detail_contents .cnt_step.step08 .option_wrap label {
        font-size: 16px;
        line-height: 30px;
    }

    .design-horizon {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 20px;
    }

    .design-horizon .inner-title {
        padding: 0 10px;
    }

    .design-vertical {
        column-gap: 20px;
        padding: 0 15px;
    }

    .design-vertical .inner-title {
        padding: 10px 0;
    }

    .color-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .font-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .modal-inner-content {
        flex-direction: column;
    }

    .modal-container {
        padding: 10px 20px;
    }

    .modal-inner-content img:not(.logo_image.logo_sp) {
        width: 100%;
        max-width: 100%;
    }

    .modal-image-container > span {
        margin-right: 0;
        width: 48%;
    }

    .modal-content-description {
        padding-top: 20px;
    }

    .lowpra-leave-confirmation__dialog {
        padding: 24px 20px;
    }

    .lowpra-leave-confirmation__dialog h2 {
        font-size: 20px;
    }

    .lowpra-leave-confirmation__actions {
        flex-direction: column;
    }

    .lowpra-leave-confirmation__actions button {
        width: 100%;
    }

    .sticker-size-container {
        flex-direction: column;
    }

    .sticker-size-container .size-addition {
        padding-top: 20px;
        padding-left: 0;
    }

}

/* -----------------------------
 明細書のレイアウト
----------------------------- */
@media print {

    @page  {
        size: portrait;
    }

    body {
        -webkit-print-color-adjust: exact;
        -moz-print-color-adjust: exact;
        -ms-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .product_ttl_box {
        display: none;
    }

    .product_detail .product_detail_contents {
        width: 100%;
    }

    header {
        display: none;
    }

    .banner-wrapper {
        display: none;
    }

    #bread_crumb {
        display: none;
    }

    .under_head_link {
        display: none
    }

    .woocommerce-notices-wrapper {
        display: none;
    }

    #container {
        padding-top: 0;
    }

    #main_contents {
        padding-top: 0;
        padding-bottom: 0;
    }

    .product_detail .product_ttl {
        display: none;
    }

    .product_detail .product_detail_wrap {
        padding-bottom: 0;
    }

    .product__short-description {
        display: none;
    }

    .cnt_step {
        display: none;
    }

    .single_product_info {
        display: none
    }

    .btn_group {
        display: none !important;
    }

    .footer_area {
        display: none;
    }

    footer {
        display: none;
    }

    .link_wrap {
        display: none;
    }

    .product_detail .product_detail_contents .estimate_box h2 {
        display: none;
    }

    .estimate_box .price_table02_wrap {
        display: none;
    }

    .estimate_box .total_group {
        display: none;
    }

    .estimate-docs {
        display: block;
    }
    .estimate_box .estimate-docs .header {
        padding: 0 0 15px;
    }
    .estimate_box .estimate-docs img.logo {
        max-width: 180px;
    }
    .estimate_box .estimate-docs .title {
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 24px;
    }
    .estimate_box .estimate-docs .basic_info {
        font-size: 14px;
        display: grid;
        grid-template-columns: 1.5fr 1fr 1.5fr;
    }
    .estimate_box .estimate-docs .content {
        line-height: 1.8;
    }
    .estimate_box .estimate-docs .table_no_border {
        margin-bottom: 20px;
    }
    .estimate_box .estimate-docs .table_no_border th {
        width: 28%;
        text-align: left;
    }
    .estimate_box .estimate-docs .table_no_border.right th {
        text-align: right;
    }
    .estimate_box .estimate-docs .basic_info .client_name {
        padding-top: 25px;
        font-size: 18px;
        margin-bottom: 32px;
    }
    .estimate_box .estimate-docs .title_name {
        padding-top: 25px;
        font-size: 16px;
    }
    .estimate_box .estimate-docs .basic_info .client_name span {
        font-size: 14px;
        display: block;
        margin: 8px 24px;
    }
    .estimate_box .estimate-docs .company_info {
        line-height: 1.8;
    }
    .estimate_box .estimate-docs .company_name {
        font-size: 16px;
        position: relative;
    }
    .estimate_box .estimate-docs .company_name img {
        width: 80px;
        height: auto;
        position: absolute;
        top: 0;
        right: 0;
        z-index: -1;
    }
    .estimate_box .estimate-docs .total_price_wrapper {
        font-weight: bold;
        text-align: center;
        width: 50%;
        display: grid;
        grid-template-columns: 1fr 2fr;
        align-items: center;
        border: 1px solid #707070;
        margin-bottom: 10px;
    }
    .estimate_box .estimate-docs .total_price_wrapper .title {
        font-size: 16px;
        letter-spacing: 1px;
        background-color: #ccc;
        padding: 10px 15px;
        border-right: 1px solid #707070;
        margin-bottom: 0;
    }
    .estimate_box .estimate-docs .total_price {
        font-size: 18px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 50px;
    }
    .estimate_box .estimate-docs .total_price_wrapper .tax {
        font-size: 14px;
        font-weight: normal;
        margin-right: 20px;
    }
    .estimate_box .estimate-docs table.basic_type {
        margin-bottom: 20px;
    }
    .estimate_box .estimate-docs table.basic_type th {
        width: 15%;
        font-weight: bold;
        padding: 10px;
        border: 1px solid #707070;
    }
    .estimate_box .estimate-docs table.basic_type td {
        border: 1px solid #707070;
        padding: 5px 10px;
    }
    .estimate_box .estimate-docs table.basic_type td.summary-after-first {
        padding-left: 50px;
    }
    .estimate_box .estimate-docs table.basic_type th.detail {
        width: 50%;
    }
    .estimate_box .estimate-docs table.basic_type th.quantity {
        width: 10%;
    }
    .estimate_box .estimate-docs table.basic_type td.quantity {
        text-align: center;
    }
    .estimate_box .estimate-docs table.basic_type td.price {
        text-align: right;
    }
    .estimate_box .estimate-docs table.basic_type .estimate td:first-child,
    .estimate_box .estimate-docs table.basic_type .estimate th {
        border: none;
        padding: 5px 10px;
    }
    .estimate_box .estimate-docs table.basic_type .estimate.total {
        font-weight: bold;
    }
    .estimate_box .estimate-docs .additional_desc {
        display: block;
        border: 1px solid #707070;
        margin-bottom: 0;
    }
    .estimate_box .estimate-docs .additional_desc .header {
        padding: 5px 0;
        font-size: 14px;
        text-align: center;
        font-weight: bold;
        border-bottom: 1px solid #707070;
    }
    .estimate_box .estimate-docs .additional_desc .content {
        min-height: 5rem;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
    }

    .woocommerce-tabs{
        display: none;
    }

    .wc-tabs-wrapper {
        display: none;
    }
    .additional_desc {
        display: none;
    }
}
