/* Values from 2.11.1 common.css; EC-CUBE 4.3 form structures retained. */
body.koike-shop{color:#666;background:#fff;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:1.5;letter-spacing:.1em}
.koike-shop a{color:#39c}.koike-shop a:hover{color:#f60}
.koike-shop .ec-layoutRole{max-width:1000px;margin:auto}
.koike-shop #container{width:100%;display:flex;gap:10px;padding:10px 0 30px;text-align:left;align-items:flex-start}
.koike-shop #leftcolumn,.koike-shop #rightcolumn{flex:0 0 190px;width:190px;float:none;padding:0}
.koike-shop #koike-main{flex:1;min-width:0;max-width:100%;width:auto;padding:0}
.koike-shop .koike-catalog #koike-main{width:600px;flex:1}
.koike-shop .koike-legacy #header{max-width:100%;width:1000px;min-height:80px;background-image:url('legacy/img/header/head_bg.jpg');background-repeat:no-repeat;background-position:top center}
.koike-shop .koike-legacy #logo_area{max-width:50%}.koike-shop .koike-legacy #logo_area h1{height:auto;max-width:100%}
.koike-shop img{max-width:100%;height:auto}.koike-shop .koike-shipping-notice{text-align:center;color:red;font-size:15px;font-weight:bold;margin:5px auto}
.koike-shop .koike-account{clear:both;padding:6px 10px;background:#edf4fa;text-align:right;border-bottom:1px solid #ccc}
.koike-shop .koike-legacy #footer_wrap,.koike-shop #footer_wrap,.koike-shop .koike-legacy #footer,.koike-shop .koike-legacy #copyright{width:100%;height:auto}
.koike-shop .koike-legacy ul{list-style:none;padding:0}.koike-shop .koike-legacy .button_like li{border-bottom:1px solid #ccc;padding:8px}
.koike-shop .koike-legacy h2{margin:0;padding:0}.koike-shop .koike-legacy .bloc_body{border:1px solid #ccc;padding:8px;margin-bottom:10px}
.koike-shop .koike-legacy #categorytree ul{padding-left:10px}.koike-shop .koike-legacy #categorytree a{display:block;padding:4px 0}
.koike-shop .koike-legacy input[type=text],.koike-shop .koike-legacy select{width:100%;max-width:100%;box-sizing:border-box}
.koike-shop .koike-legacy .newslist{border-bottom:1px dotted #ccc;padding:10px 0}.koike-shop .koike-legacy .newslist dd{margin:0}
.koike-shop .ec-role,.koike-shop .ec-off1Grid,.koike-shop .ec-cartRole,.koike-shop .ec-registerRole{width:100%;max-width:100%;padding:0}
.koike-shop .ec-off1Grid .ec-off1Grid__cell{width:100%;margin-left:0}
.koike-shop .ec-pageHeader h1,.koike-shop .ec-headingTitle{font-size:16px;color:#666;border-bottom:2px solid #02549d;padding:8px 0;margin-bottom:15px}
.koike-shop .ec-blockBtn--action,.koike-shop .ec-inlineBtn--action{background:#02549d;border-color:#02549d;font-size:14px}
.koike-shop .ec-blockBtn,.koike-shop .ec-blockBtn--cancel{font-size:14px}
.koike-shop .ec-shelfGrid{margin:0}.koike-shop .ec-shelfGrid .ec-shelfGrid__item{padding:10px;border-bottom:1px dotted #ccc}
.koike-shop .ec-productRole{padding:0}.koike-shop .ec-productRole__title h2{font-size:18px}.koike-shop .ec-productRole__price{color:#f60}
.koike-shop .ec-borderedDefs dt{background:#f4f4f4}.koike-shop .ec-borderedDefs dd{background:#fff}
.koike-shop .ec-navlistRole{margin-bottom:15px}.koike-shop .ec-navlistRole .ec-navlistRole__item a{font-size:12px;padding:8px}
.koike-shop #koike-main table{max-width:100%}.koike-shop input,.koike-shop select,.koike-shop textarea{max-width:100%}
@media(max-width:767px){
 .koike-shop .ec-layoutRole{padding:0 10px}.koike-shop #container{flex-wrap:wrap}
 .koike-shop #leftcolumn{order:0;flex:1 0 100%;width:100%}.koike-shop #leftcolumn #category_area{display:block}
 .koike-shop #koike-main{order:1;flex:1 0 100%;width:100%}.koike-shop #rightcolumn{order:2;flex:1 0 100%;width:100%}
 .koike-shop .koike-shipping-notice{font-size:12px}.koike-shop .koike-legacy #header{padding-top:31px;background-size:100% auto;min-height:65px}
 .koike-shop .koike-legacy #logo_area{float:none;width:100%;max-width:100%}.koike-shop .koike-legacy #logo_area h1{width:378px}
 .koike-shop .koike-legacy #header_navi{float:none;width:auto;margin:8px 0}.koike-shop .koike-legacy #header_navi ul{display:flex;gap:6px}
 .koike-shop .koike-account{text-align:left}.koike-shop .ec-borderedDefs dl{display:block}.koike-shop .ec-borderedDefs dt,.koike-shop .ec-borderedDefs dd{width:100%}
 .koike-shop .ec-shelfGrid .ec-shelfGrid__item{width:50%}.koike-shop .ec-cartRow .ec-cartRow__contentColumn{word-break:break-word}
}
@media print{.koike-shop #header_wrap,.koike-shop #leftcolumn,.koike-shop #rightcolumn,.koike-shop #footer_wrap{display:none}.koike-shop #container{display:block}}

.koike-shop .koike-header-login{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.koike-shop .koike-header-login label{display:flex;align-items:center;gap:4px;margin:0}.koike-shop .koike-header-login input[type=email]{width:160px}.koike-shop .koike-header-login input[type=password]{width:120px}.koike-shop .koike-header-login input[type=checkbox]{width:auto}.koike-shop .koike-header-login input[type=image]{width:auto}
.koike-shop #page_product_list .ec-shelfGrid__item{width:100%}
@media(min-width:768px){.koike-shop .ec-shelfGrid__item{width:100%}.koike-shop .ec-shelfGrid__item-image{float:left;width:160px;margin-right:15px}.koike-shop .ec-shelfGrid__item form{margin-left:175px}.koike-shop .ec-shelfGrid__item:after{content:"";display:block;clear:both}}

.koike-shop .koike-legacy #header_navi{width:300px;margin-left:auto}.koike-shop .koike-legacy #header_navi ul{display:flex;gap:6px}.koike-shop .koike-legacy #header_navi ul li{float:none}
.koike-shop .koike-image-nav{display:flex;margin-top:10px;width:100%}.koike-shop .koike-image-nav a{flex:1}.koike-shop .koike-image-nav img{width:100%;height:32px;object-fit:fill}
.koike-shop .koike-home-banners img{display:block;width:100%;margin-bottom:16px}.koike-shop .koike-left-banner{margin:16px 0}
.koike-shop .koike-content table{width:100%;table-layout:auto}.koike-shop .koike-content td{overflow-wrap:anywhere}
.koike-shop .ec-calendar{font-size:10px}.koike-shop .ec-calendar table{width:100%}.koike-shop #leftcolumn .ec-secHeading{font-size:12px;margin:5px 0}.koike-shop #leftcolumn .ec-secHeading__en{display:none}
@media(max-width:767px){.koike-shop #leftcolumn{order:2}.koike-shop #rightcolumn{order:0}.koike-shop #koike-main{order:1}.koike-shop .koike-image-nav{flex-wrap:wrap}.koike-shop .koike-image-nav a{flex:0 0 33.33%}.koike-shop #rightcolumn #category_area{max-height:220px;overflow:auto}.koike-shop .koike-legacy #header_navi{margin-left:0}}

.koike-shop #leftcolumn .ec-calendar{display:block;width:100%;margin:0}.koike-shop #leftcolumn .ec-calendar__month{display:table;width:100%;table-layout:fixed;margin:8px 0}.koike-shop #leftcolumn .ec-calendar th,.koike-shop #leftcolumn .ec-calendar td{padding:3px 0;width:auto;min-width:0;font-size:10px;letter-spacing:0}
.koike-shop #koike-main .ec-productRole__actions{width:100%;max-width:100%}.koike-shop #koike-main .ec-productRole__profile{min-width:0}.koike-shop #koike-main .ec-productRole__price{font-size:20px}.koike-shop #koike-main .ec-productRole__title h2{font-size:18px}
.koike-shop .ec-shelfGrid__item .ec-productRole__actions{margin:0}.koike-shop .koike-content{overflow-wrap:anywhere}

.koike-shop .koike-news-scroll{max-height:300px;overflow:auto}.koike-shop .koike-new-items h2{padding:0;border:0;background:none}.koike-shop .koike-new-items h2 img{display:block;max-width:100%;height:auto}.koike-shop .koike-new-items-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 20px}.koike-shop .koike-new-items-grid article{min-width:0}.koike-shop .koike-new-items-grid article img{width:80px;float:left;margin-right:8px}.koike-shop .koike-new-items-grid p{color:red;font-weight:bold}.koike-shop .koike-new-items-grid time{font-size:10px}
.koike-shop .koike-contents-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.koike-shop .koike-contents-category-grid img{display:block;max-width:100%;height:auto}

.koike-shop #koike-main .ec-productRole__actions .ec-select select{min-width:0;max-width:100%;width:100%}.koike-shop #koike-main .ec-productRole__btn{min-width:0;max-width:100%;width:100%}
.koike-shop .koike-product-attributes{width:100%;border-collapse:collapse;margin:10px 0;font-size:12px}.koike-shop .koike-product-attributes th,.koike-shop .koike-product-attributes td{border:1px solid #ccc;padding:8px;overflow-wrap:anywhere}.koike-shop .koike-product-attributes th{width:35%;background:#f4f4f4;font-weight:normal}
.koike-shop .ec-shelfGrid__item .koike-context-price{overflow-wrap:anywhere}
@media(min-width:768px){.koike-shop .koike-image-nav a{flex:0 1 auto}.koike-shop .koike-image-nav img{width:auto;height:32px}}

/* Match the legacy calendar widget skin inside the migrated shop sidebar. */
.koike-shop #leftcolumn .koike-calendar-legacy{padding-top:10px;margin-bottom:10px}
.koike-shop .ec-shelfGrid__item .koike-general-price,.koike-shop .ec-shelfGrid__item .koike-context-price,.koike-shop .ec-shelfGrid__item .koike-list-stock{color:#f00}
.koike-shop .ec-shelfGrid__item .koike-list-stock{font-size:15px;font-weight:bold}
.koike-shop .ec-shelfGrid__item .koike-list-status{color:#c00;font-size:14px;font-weight:bold}
@media(min-width:768px){.koike-shop .ec-shelfGrid .ec-shelfGrid__item{display:block}.koike-shop .ec-shelfGrid__item > a:first-child{float:left;width:160px;margin-right:15px}.koike-shop .ec-shelfGrid__item > a:first-child .ec-shelfGrid__item-image{float:none;width:100%;margin:0}.koike-shop .ec-shelfGrid__item .koike-list-info{margin-left:175px}.koike-shop .ec-shelfGrid__item .koike-list-info form{margin-left:0}}
.koike-shop .koike-legacy .koike-calendar-legacy #calender_area .bloc_body{padding:10px 0;margin:0;background-color:#f1f9fc;border:1px solid #ccc;border-top:0}
.koike-shop .koike-legacy .koike-calendar-legacy #calender_area table{display:table;width:150px;max-width:100%;margin:0 auto 5px;border:0;border-collapse:separate;background:#fff;font-size:11px}
.koike-shop .koike-legacy .koike-calendar-legacy #calender_area table td{padding:1px 3px;border-top:1px solid #ccc;border-right:0;text-align:center;line-height:1.4}
.koike-shop .koike-legacy .koike-calendar-legacy #calender_area th{padding:1px 3px;background:#fff;border:0;text-align:center;font-weight:normal}
.koike-shop .koike-legacy .koike-calendar-legacy #calender_area table .month{margin-bottom:5px;padding-left:12px;background:url('legacy/user_data/packages/default/img/icon/ico_arrow_04.gif') no-repeat left;font-size:120%;font-weight:normal;text-align:left}
.koike-shop .koike-legacy .koike-calendar-legacy #calender_area .off{color:#f00}
.koike-shop .koike-legacy .koike-calendar-legacy #calender_area .information{margin:0 0 0 10px;font-size:10px}


/* Legacy product-list presentation; cart and search remain EC-CUBE forms. */
.koike-shop .koike-list-heading{margin:8px 0 12px;padding:7px 10px;border:1px solid #f2d788;background:linear-gradient(#fff9d5,#ffedaa);color:#d67a00;font-size:16px;font-weight:bold}
.koike-shop .ec-searchnavRole__counter{font-size:12px}.koike-shop .koike-list-pager-top{margin:0 0 8px}
.koike-shop .ec-shelfGrid .ec-shelfGrid__item{font-size:12px;line-height:1.5}.koike-shop .ec-shelfGrid__item .koike-list-info>p{margin:0 0 5px}.koike-shop .ec-shelfGrid__item .koike-list-info>p>a{font-weight:bold}.koike-shop .ec-shelfGrid__item .koike-list-identifiers{color:#666}
.koike-shop .ec-shelfGrid__item .koike-list-detail img{display:block;width:110px;height:auto}.koike-shop .ec-shelfGrid__item .koike-list-cart{padding:8px 10px;border:1px solid #cef0f4;background:#ecf5ff;overflow:hidden}.koike-shop .ec-shelfGrid__item .koike-list-cart p{margin:0;text-align:right;font-size:13px;font-weight:bold;line-height:1.5}.koike-shop .ec-shelfGrid__item .koike-list-cart .ec-productRole__actions{float:left}.koike-shop .ec-shelfGrid__item .koike-list-cart .ec-productRole__btn{float:right;margin:4px 0 0}.koike-shop .ec-shelfGrid__item .koike-list-cart .add-cart{width:auto;min-height:0;padding:0;border:0;background:transparent}.koike-shop .ec-shelfGrid__item .koike-list-cart .add-cart img{display:block;width:120px;height:auto}.koike-shop .ec-shelfGrid__item .koike-list-cart button[disabled]{width:auto;min-height:0;padding:0;border:0;background:transparent;color:#d00;font-size:12px;text-align:left}.koike-shop .ec-shelfGrid__item .koike-list-cart .ec-numberInput input{width:45px;height:24px;padding:2px}.koike-shop .ec-shelfGrid__item .koike-list-cart select{max-width:180px}
@media(min-width:768px){.koike-shop .ec-shelfGrid__item>a:first-child{width:130px}.koike-shop .ec-shelfGrid__item .koike-list-info{margin-left:145px}}
.koike-shop .ec-shelfGrid__item .koike-list-cart .ec-productRole__btn{width:auto;clear:none}.koike-shop .ec-shelfGrid__item .koike-list-cart .ec-productRole__actions{width:auto;clear:none}

/* Shop guides use the old three-column layout and original panel styling. */
.koike-shop .koike-guide-layout{gap:10px}
.koike-shop .koike-guide-layout #koike-main{min-width:0}
.koike-shop .koike-guide{letter-spacing:normal;overflow-wrap:anywhere;min-width:0}
.koike-shop .koike-guide .title,.koike-shop .koike-list-heading{margin:0 0 10px;padding:8px;border:1px solid #ebeced;background:#fef3d8 url('legacy/user_data/packages/default/img/background/bg_tit_sub_01.jpg') repeat-x left bottom;color:#f60;font-size:20px;font-weight:bold;line-height:1.45}
.koike-shop .koike-guide #undercolumn{margin:0 0 30px}
.koike-shop .koike-guide #undercolumn p{margin:0 0 .65em}
.koike-shop .koike-guide #undercolumn .message{padding:4px 6px;border-bottom:1px solid #ccc;background:#eee;font-weight:bold;margin:12px 0 6px}
.koike-shop .koike-guide table{width:100%;margin:15px 0 20px;border-collapse:collapse;table-layout:auto;text-align:left}
.koike-shop .koike-guide table table{margin:5px 0}
.koike-shop .koike-guide td,.koike-shop .koike-guide th{padding:8px;border:1px solid #ccc;text-align:left;vertical-align:middle}
.koike-shop .koike-guide th{width:20%;background:#f0f0f0;font-weight:normal;color:#333}
.koike-shop .koike-guide .attention,.koike-shop .koike-guide .required{color:#c00}
.koike-shop .koike-guide .koike-contact-note{margin:28px 0 30px}
.koike-shop .koike-guide .koike-contact-fields input:not([type=hidden]),.koike-shop .koike-guide .koike-contact-fields select,.koike-shop .koike-guide .koike-contact-fields textarea{box-sizing:border-box;border:1px solid #ccc;background:#fff;color:#333;font:inherit;margin:0;padding:2px 4px;max-width:100%;border-radius:0}
.koike-shop .koike-guide .koike-contact-fields textarea{width:min(100%,380px);min-height:145px;display:block;margin-bottom:5px}
.koike-shop .koike-guide .koike-contact-fields .koike-contact-long{width:min(100%,385px);display:block;margin:3px 0}
.koike-shop .koike-guide .koike-contact-fields .koike-contact-short{width:126px}
.koike-shop .koike-guide .koike-contact-fields .koike-contact-pair{display:inline-flex;flex-wrap:wrap;gap:5px;align-items:center;margin-right:12px}
.koike-shop .koike-guide .koike-contact-submit{display:flex;justify-content:center;margin:18px 0 30px}
.koike-shop .koike-guide .koike-contact-submit button{background:none;border:0;padding:0}
.koike-shop .koike-guide .koike-contact-submit img{display:block}
/* Keep list controls out of the product detail page's full-width button rules. */
.koike-shop #koike-main .koike-list-cart{display:flow-root;padding:6px 10px}
.koike-shop #koike-main .koike-list-cart form{display:flex;justify-content:flex-end;margin:0}
.koike-shop #koike-main .koike-list-cart .ec-productRole__actions{display:flex;flex-wrap:wrap;gap:4px;align-items:center;justify-content:flex-end;width:auto;float:none;margin:3px 0 0}
.koike-shop #koike-main .koike-list-cart .ec-productRole__actions .ec-select{margin:0}
.koike-shop #koike-main .koike-list-cart .ec-productRole__btn{float:none;display:flex;justify-content:flex-end;width:auto;margin:4px 0 0}
.koike-shop #koike-main .koike-list-cart .ec-numberInput{margin:0}
.koike-shop #koike-main .koike-list-cart .add-cart{line-height:1}
.koike-shop #koike-main .koike-list-pager-top .ec-pager{margin:4px 0 8px;text-align:left}
@media(max-width:767px){.koike-shop .koike-guide-layout #koike-main{order:0}.koike-shop .koike-guide-layout #rightcolumn{order:1}.koike-shop .koike-guide th{width:24%}}

.koike-shop .koike-legacy .koike-calendar-legacy #calender_area table caption{caption-side:top}
.koike-shop .koike-guide-categories>img{display:block;margin:0 0 5px}
.koike-shop .koike-guide-categories .koike-contents-category-grid{gap:2px 6px}
.koike-shop .koike-contact-confirm .ec-borderedDefs dl{display:grid;grid-template-columns:20% 1fr;margin:0;border:1px solid #ccc;border-bottom:0}
.koike-shop .koike-contact-confirm .ec-borderedDefs dl:last-child{border-bottom:1px solid #ccc}
.koike-shop .koike-contact-confirm .ec-borderedDefs dt,.koike-shop .koike-contact-confirm .ec-borderedDefs dd{width:auto;min-width:0;margin:0;padding:8px;font-size:12px}

.koike-shop .ec-searchnavRole:has(.koike-list-heading),.koike-shop .ec-shelfRole:has(.koike-list-cart){padding:0}
.koike-shop .koike-list-count{margin:0 0 9px;font-size:12px}.koike-shop .koike-list-count span{color:#d00}
.koike-shop .koike-list-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px;border-bottom:1px dotted #ccc;padding:4px 0 8px;margin-bottom:12px}
.koike-shop .koike-list-toolbar .ec-pagerRole{margin:0;padding:0}.koike-shop .koike-list-toolbar .ec-pager{margin:0;padding:0;text-align:left}.koike-shop .koike-list-toolbar .ec-pager__item a{padding:2px 5px}
.koike-shop .koike-list-options{display:flex;align-items:center;gap:5px;flex:0 1 auto;white-space:nowrap}.koike-shop .koike-list-options select{font:inherit;width:auto;min-width:64px;padding:1px 3px;height:auto;flex:0 0 auto;appearance:auto;background-image:none}.koike-shop .koike-list-options .order-by{min-width:110px}
.koike-shop .ec-shelfGrid .ec-shelfGrid__item{padding:8px 0 12px}
.koike-shop .ec-shelfGrid__item .koike-list-info{container-type:inline-size}
.koike-shop .ec-shelfGrid__item .koike-list-detail{margin:9px 0 13px}.koike-shop .ec-shelfGrid__item .koike-list-detail img{width:160px}
.koike-shop #koike-main .koike-list-cart .ec-productRole__actions,.koike-shop #koike-main .koike-list-cart .ec-productRole__btn{padding:0}
.koike-shop #koike-main .koike-list-cart .ec-numberInput input{width:76px;height:20px;margin:0}
.koike-shop #koike-main .koike-list-cart .add-cart img{width:160px}
@container (min-width:350px){
 .koike-shop #koike-main .koike-list-cart:has(.add-cart){position:relative;padding:9px 180px 9px 8px}
 .koike-shop #koike-main .koike-list-cart:has(.add-cart) .ec-productRole__btn{position:absolute;top:9px;right:10px;margin:0}
}
.koike-shop #rightcolumn .koike-maker-catalog-link{margin:10px 0;text-align:center}
.koike-shop #rightcolumn .koike-maker-catalog-link img{display:block;width:190px;margin:auto}
.koike-shop #rightcolumn .koike-maker-catalog-link p{margin:3px 0}
@media(max-width:767px){
 .koike-shop .koike-catalog #koike-main{order:0;flex:0 0 100%;width:100%;min-width:0}
 .koike-shop .koike-catalog #rightcolumn,.koike-shop .koike-catalog #leftcolumn{min-width:0}
 .koike-shop .koike-catalog #rightcolumn{order:1}.koike-shop .koike-catalog #leftcolumn{order:2}
 .koike-shop .koike-image-nav a{min-width:0}.koike-shop .koike-image-nav img{height:auto}
 .koike-shop .koike-legacy #header_navi{width:auto;max-width:100%}
 .koike-shop .koike-legacy #header_navi li{min-width:0;max-width:calc(50% - 3px)}
 .koike-shop .koike-guide th,.koike-shop .koike-guide td{padding:5px}
 .koike-shop .koike-guide table table td{padding:3px}
 .koike-shop .koike-guide .koike-contact-pair{margin:2px 6px 2px 0}
 .koike-shop .ec-shelfGrid__item>a:first-child{display:block;width:130px;max-width:100%;margin-bottom:6px}
 .koike-shop .koike-list-options{max-width:100%;flex-wrap:wrap}
}
/* Legacy product detail layout */
.koike-shop.product_page .ec-grid2{display:grid;grid-template-columns: 280px minmax(0,1fr);gap:16px}
.koike-shop.product_page .ec-grid2__cell{width:auto;min-width:0;display:block}
.koike-shop.product_page .koike-detail-images img{display:block;width:200px;max-width:100%;height:auto}
.koike-shop.product_page .koike-detail-images a{display:block;font-size:11px}
.koike-shop.product_page .ec-productRole__description table{width:100%;border-collapse:collapse;table-layout:fixed;margin:18px 0}
.koike-shop.product_page .ec-productRole__description table td,.koike-shop.product_page .ec-productRole__description table th{border:1px solid #ccc;padding:7px;overflow-wrap:anywhere}
.koike-shop.product_page .ec-productRole__description img[src*="PDF_file_icon"]{display:inline-block;width:24px;height:24px;vertical-align:middle}
@media(max-width:767px){.koike-shop.product_page .ec-grid2{display:block}.koike-shop.product_page .koike-detail-images img{width:200px}}
.koike-shop .koike-account{text-align:center}@media(max-width:767px){.koike-shop .koike-account{text-align:left}}
.koike-shop.product_page .ec-productRole__description{max-width:100%;min-width:0;overflow-wrap:anywhere}.koike-shop.product_page .ec-productRole__description table{width:100% !important;max-width:100% !important}.koike-shop.product_page .ec-productRole__description img{max-width:100%;height:auto}
.koike-shop.product_page .ec-productRole__description table td,.koike-shop.product_page .ec-productRole__description table th{width:auto !important;min-width:0 !important;word-break:break-word}

/* Storefront product purchase panel and member guide. */
#page_koike_member #undercolumn_aboutus { color: #666; }
#page_koike_member .koike-member-emphasis { color: #f00; }
.koike-shop.product_page .ec-grid2 { margin: 0; padding: 0; grid-template-columns: 1fr 1fr; gap: 0; }
.koike-shop.product_page .ec-grid2__cell { padding: 0; }
.koike-shop.product_page .ec-productRole__profile { font-size: 12px; }
.koike-shop.product_page .ec-productRole__title h2 { border: 0; font-size: 20px; font-weight: bold; padding: 0; margin: 0 0 12px; }
.koike-shop.product_page .ec-productRole__tags:empty { display: none; }
.koike-detail-purchase { background: #eaf2ff; border: 1px solid #d9e5ef; padding: 9px; }
.koike-detail-price, .koike-detail-stock { color: #f00; font-weight: bold; font-size: 15px; line-height: 1.25; }
.koike-detail-purchase .ec-productRole__actions { margin: 3px 0 0; }
.koike-detail-purchase .ec-numberInput { margin: 0; }
.koike-detail-purchase .ec-numberInput input { width: 66px; height: 21px; padding: 1px 4px; font: inherit; }
.koike-detail-purchase .ec-productRole__btn { text-align: center; padding: 0; margin: 8px 0 0; }
.koike-detail-purchase button.add-cart, .koike-detail-purchase button#favorite { display: inline-block; width: min(160px, 100%); min-height: 26px; padding: 4px; font-size: 12px; border-radius: 5px; }
.koike-detail-purchase button.add-cart { background: linear-gradient(#fca363, #e65b00); border-color: #e65b00; }
.koike-detail-purchase button#favorite { background: linear-gradient(#fff, #e8e8e8); border: 1px solid #ccc; color: #666; }
@media(max-width:767px) { .koike-shop.product_page .ec-grid2__cell { margin-bottom: 10px; } }

/* Legacy login strip and member search. */
.koike-shop .koike-account { margin: 4px 0 10px; padding: 3px 10px; background: #fff; border: 1px solid #ddd; font-size: 11.6px; letter-spacing: normal; color: #666; }
.koike-shop .koike-account-member, .koike-shop .koike-header-login { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; min-height: 24px; }
.koike-shop .koike-account-benefits { margin-left: 38px; }
.koike-shop .koike-account img { vertical-align: middle; }
.koike-shop .koike-header-login input[type=email], .koike-shop .koike-header-login input[type=password] { border: 1px solid #ccc; height: 20px; padding: 1px 4px; font: inherit; }
.koike-shop .koike-header-login input[type=email] { width: 150px; }
.koike-shop .koike-header-login input[type=password] { width: 100px; }
.koike-shop .koike-account-forgot { margin-right: 14px; }
.koike-shop #search_area .koike-search-note { margin: 6px 0; font-size: 10px; }
.koike-shop #search_area .koike-search-details { color: #f00; }
.koike-shop #search_area details label { color: #666; }
.koike-shop #search_area summary { cursor: pointer; }
@media(max-width:767px) { .koike-shop .koike-account-benefits { margin-left: 0; } }

/* Legacy checkout presentation. The underlying EC-CUBE forms keep their existing controls. */
.koike-checkout #koike-main { color: #555; font-size: 12px; line-height: 1.5; }
.koike-checkout #koike-main :is(.ec-role, .ec-cartRole, .ec-orderRole, .ec-cartCompleteRole, .ec-reportDescription) {
    font-size: 12px;
    line-height: 1.5;
}
.koike-checkout .ec-role, .koike-checkout .ec-cartRole, .koike-checkout .ec-orderRole { padding-inline: 0; }
.koike-checkout .ec-pageHeader { margin: 0 0 10px; border: 0; }
.koike-checkout .ec-pageHeader h1 {
    margin: 0; padding: 8px; border: 1px solid #ebeced; color: #f60;
    background: linear-gradient(#fff8db, #f7db86); font-size: 20px; font-weight: bold;
}
.koike-checkout .koike-checkout-flow { margin: 0 0 10px; text-align: center; }
.koike-checkout .koike-checkout-flow img { width: auto; max-width: 100%; height: auto; }
.koike-checkout #koike-main:has(> .koike-checkout-flow) .ec-progress,
.koike-checkout#page_cart .ec-cartRole__progress > .ec-progress { display: none; }
.koike-checkout .ec-rectHeading { margin: 0 0 10px; border: 0; border-bottom: 1px dotted #aaa; }
.koike-checkout .ec-rectHeading h2 { margin: 0; padding: 5px 0; color: #f60; font-size: 14px; }
.koike-checkout .ec-borderedDefs, .koike-checkout .ec-borderedList, .koike-checkout .ec-totalBox {
    border: 1px solid #ccc; background: #fff; color: #333;
}
.koike-checkout .ec-totalBox { padding: 12px; }
.koike-checkout .ec-orderRole__summary .ec-totalBox__spec {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(7.5em, auto);
    gap: 0 8px;
    align-items: baseline;
    margin: 0;
    padding: 6px 8px;
    border-bottom: 1px solid #ccc;
    background: #f5f5f5;
    font-size: 12px;
}
.koike-checkout .ec-orderRole__summary .ec-totalBox__spec > dt { float: none; }
.koike-checkout .ec-orderRole__summary .ec-totalBox__spec > dd { float: none; margin: 0; text-align: right; }
.koike-checkout .ec-orderRole__summary .ec-totalBox__total,
.koike-checkout .ec-orderRole__summary .ec-totalBox__paymentTotal {
    margin-top: 0;
    padding: 8px;
    border-bottom: 1px solid #ccc;
    background: #fff8e8;
}
.koike-shop.koike-checkout .ec-orderRole { display: block; }
.koike-shop.koike-checkout .ec-orderRole .ec-orderRole__detail,
.koike-shop.koike-checkout .ec-orderRole .ec-orderRole__summary {
    float: none;
    width: 100%;
    padding: 0;
    flex: 0 0 100%;
}
.koike-checkout .ec-orderRole__summary { margin-top: 15px !important; }
.koike-checkout .ec-orderDelivery__item,
.koike-checkout .ec-orderDelivery__address,
.koike-checkout .ec-orderPayment .ec-blockRadio {
    border: 1px solid #ccc;
    padding: 8px;
    background: #fff;
}
.koike-checkout .ec-reportHeading {
    color: #f60;
    background: transparent;
    border-bottom: 1px dotted #aaa;
}
.koike-checkout .ec-reportHeading h2 { font-size: 120%; }
.koike-checkout .ec-cartCompleteRole .ec-reportHeading {
    margin: 20px 0 12px;
    text-align: left;
}
.koike-checkout .ec-cartCompleteRole .ec-reportHeading h2 {
    color: #f60;
    font-size: 16px;
}
.koike-checkout .ec-cartCompleteRole .ec-off3Grid {
    margin: 0;
    text-align: left;
}
.koike-checkout .ec-cartCompleteRole .ec-off3Grid__cell {
    width: 100%;
    padding: 0;
}
.koike-checkout .ec-cartCompleteRole .ec-reportDescription {
    font-size: 13px;
    line-height: 1.7;
}
.koike-checkout .ec-totalBox__price, .koike-checkout .ec-cartRole__totalAmount { color: #e40000; }
.koike-checkout .ec-blockBtn--action, .koike-checkout .ec-blockBtn--cancel {
    min-height: 32px; height: auto; line-height: 1.4; padding: 6px 12px;
    border-radius: 5px; font-size: 13px; font-weight: bold; white-space: normal;
}
.koike-checkout .ec-blockBtn--action { background: linear-gradient(#fd9a54, #df5700); border-color: #bd4b00; color: #fff; }
.koike-checkout .ec-blockBtn--cancel { background: linear-gradient(#fff, #e7e7e7); border-color: #aaa; color: #555; }
.koike-checkout .ec-cartRole__cart { width: 100%; margin: 0; padding: 0; }
.koike-checkout #koike-main .koike-checkout-table {
    width: 100%;
    margin: 0 0 16px;
    table-layout: fixed;
    border-collapse: collapse;
    color: inherit;
    font-size: 12px;
    line-height: 1.5;
}
.koike-checkout #koike-main .koike-checkout-table :is(th, td) {
    border: 1px solid #ccc;
    padding: 6px 8px;
    vertical-align: middle;
    overflow-wrap: anywhere;
}
.koike-checkout-table th { background: #eee; font-weight: normal; }
.koike-checkout-table label { margin: 0; font: inherit; }
.koike-checkout-items thead th { text-align: center; }
.koike-checkout-items tfoot th, .koike-checkout-items .koike-money { text-align: right; }
.koike-checkout-items .koike-money { white-space: nowrap; letter-spacing: 0; }
.koike-checkout-items .koike-checkout-photo { width: 5.6em; }
.koike-checkout-items .koike-checkout-money { width: 7.3em; }
.koike-checkout-items .koike-checkout-quantity { width: 4em; }
.koike-checkout-items img { display: block; width: auto; max-width: 100%; max-height: 65px; margin: auto; }
.koike-checkout-items .koike-checkout-total td { color: #d00; font-size: 15px; }
.koike-checkout-fields th[scope="row"] { width: 30%; text-align: left; }
.koike-checkout #koike-main .koike-checkout-fields :is(input, select, textarea) {
    font-size: inherit;
    max-width: 100%;
}
.koike-checkout-fields select { width: auto; min-width: 0; }
.koike-checkout-fields .ec-input, .koike-checkout-fields p { margin: 0; }
.koike-checkout-tax-note { margin: -9px 0 12px; text-align: right; }
.koike-checkout .ec-orderDelivery__title { font-size: 12px; margin: 0 0 6px; }
.koike-checkout .ec-orderDelivery__edit { margin: 0 0 16px; }
.koike-checkout-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0 24px; }
.koike-checkout .koike-checkout-buttons > * { width: min(130px, 100%); margin: 0; }
.koike-checkout .koike-checkout-buttons > a.ec-blockBtn--cancel { background: linear-gradient(#aaa, #777); color: #fff; }
.koike-checkout .koike-checkout-buttons > .ec-blockBtn--action { background: linear-gradient(#bdd729, #839b00); border-color: #839b00; color: #fff; }
.koike-checkout .koike-checkout-buttons > .koike-checkout-print { background: linear-gradient(#ffca9b, #f88827); color: #542600; border-color: #f88827; }
@media (max-width: 620px) {
    .koike-checkout #koike-main .koike-checkout-table :is(th, td) { padding: 5px 4px; letter-spacing: 0; }
    .koike-checkout-items .koike-checkout-photo { width: 4em; }
    .koike-checkout-items .koike-checkout-money { width: 6.1em; }
    .koike-checkout-items .koike-checkout-quantity { width: 2.6em; }
}
@media print {
    .koike-checkout-buttons, .koike-checkout-flow { display: none !important; }
}
.koike-checkout .ec-cartTable { width: 100%; border: 0; margin: 15px 0 20px; color: #333; font-size: 12px; }
.koike-checkout .ec-cartTable {
    --koike-cart-columns: minmax(3.5em, .65fr) minmax(5.5em, 1fr) minmax(0, 4fr) minmax(5em, 1fr) minmax(5.5em, 1fr) minmax(6.5em, 1fr);
}
.koike-checkout .ec-cartHeader, .koike-checkout .ec-cartRow, .koike-cart-estimate__row {
    display: grid; grid-template-columns: var(--koike-cart-columns);
    padding: 0; margin: 0; border: 0; border-left: 1px solid #ccc; list-style: none;
}
.koike-checkout .ec-cartHeader { border-top: 1px solid #ccc; background: #f0f0f0; }
.koike-checkout .ec-cartHeader > .ec-cartHeader__label { white-space: nowrap; letter-spacing: 0; font-weight: normal; }
.koike-checkout .ec-cartHeader > li, .koike-checkout .ec-cartRow > li {
    display: flex; min-width: 0; width: auto; padding: 8px; margin: 0; position: static;
    align-items: center; justify-content: center; border: 0; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc;
    text-align: center; overflow-wrap: anywhere;
}
.koike-checkout .ec-cartRow > .koike-cart-product { justify-content: start; text-align: left; }
.koike-checkout .koike-cart-product .ec-cartRow__name { font-weight: bold; }
.koike-checkout .ec-cartRow > .koike-cart-unit, .koike-checkout .ec-cartRow > .ec-cartRow__subtotalColumn { justify-content: end; }
.koike-checkout .koike-cart-photo img { display: block; width: auto; max-width: 100%; max-height: 75px; }
.koike-checkout .koike-cart-remove a { text-decoration: underline; }
.koike-checkout .ec-cartRow .ec-cartRow__amountColumn { flex-direction: column; }
.koike-checkout .ec-cartRow .ec-cartRow__amountUpDown { display: flex; gap: 4px; margin-top: 4px; }
.koike-checkout .ec-cartRow .ec-cartRow__amountUpDown > * {
    display: inline-grid;
    width: 17px;
    height: 17px;
    margin: 0;
    place-items: center;
}
.koike-checkout .ec-cartRow .ec-cartRow__amountUpDown img { width: 15px; height: 15px; }
.koike-checkout .ec-cartRow .ec-cartRow__amount { display: block; }
.koike-checkout .ec-cartRow .ec-cartRow__amountSP, .koike-checkout .koike-cart-mobile-label { display: none; }
.koike-cart-estimate { margin: 0; }
.koike-cart-estimate__row > dt, .koike-cart-estimate__row > dd {
    margin: 0;
    padding: 7px 8px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    text-align: right;
}
.koike-cart-estimate__row > dt { grid-column: span 5; background: #eee; font-weight: normal; }
.koike-cart-estimate__row > dd { white-space: nowrap; }
.koike-cart-estimate__total > dd { color: #d00; font-size: 15px; }
.koike-checkout#page_cart .ec-cartRole__actions { width: 100%; margin: 0 0 24px; text-align: center; }
.koike-cart-estimate-note { margin: 0 0 8px; font-size: 12px; }
.koike-cart-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.koike-checkout .koike-cart-buttons > * { width: min(120px, 100%); margin: 0; }
.koike-checkout .koike-cart-buttons > a.ec-blockBtn--cancel { background: linear-gradient(#aaa, #777); color: #fff; }
.koike-checkout .koike-cart-buttons > a.ec-blockBtn--action { background: linear-gradient(#bdd729, #839b00); border-color: #839b00; color: #fff; }
.koike-checkout .koike-cart-buttons > .koike-cart-print { background: linear-gradient(#ffca9b, #f88827); border-color: #f88827; color: #542600; }
/* Keep the checkout login choices compact and readable. */
.koike-checkout#page_shopping_login .ec-checkbox { font-size: 12px; }
.koike-checkout#page_shopping_login .ec-login__link,
.koike-checkout#page_shopping_login .ec-login__link .ec-link { font-size: 12px; }
.koike-checkout#page_shopping_login .ec-guest__inner > p { font-size: 12px; }
.koike-checkout#page_shopping_login .ec-guest__actions a.ec-blockBtn--cancel { color: #555; font-size: 12px; }
@media (max-width: 620px) {
    .koike-cart-estimate__row { grid-template-columns: minmax(0, 1fr) minmax(7em, auto); }
    .koike-cart-estimate__row > dt { grid-column: auto; }
    .koike-checkout .ec-cartHeader { display: none; }
    .koike-checkout .ec-cartRow { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #ccc; margin-bottom: 10px; }
    .koike-checkout .ec-cartRow > li { padding: 5px; }
    .koike-checkout .koike-cart-mobile-label, .koike-checkout .ec-cartRow .ec-cartRow__amountSP { display: inline; }
    .koike-checkout .ec-cartRow .ec-cartRow__amount { display: none; }
}
