@charset "UTF-8";
/* CSS Document */

/* http: //meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License:  none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background-color: transparent;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    margin: 0;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

/*table {
    border-collapse: separate;
    border-spacing: 0;
}
*/
/*ここまでリセット*/

html {
    height: 100%
}

body {
    font-family: 'Lucida Grande',
        'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3',
        Meiryo, メイリオ, sans-serif;
    font-size: 81.3%;
    line-height: 1.8em;
    height: 100%;
    color: #282828;
    min-width: 1000px;
    letter-spacing: 1.05px;
}

#wrap {
    min-height: 100%;
    width: 100%;
    position: relative;
    padding-bottom: 72px;
}

a:link {
    color: #0e68a4;
    text-decoration: underline;
}

a:visited {
    color: #59aae0;
    text-decoration: underline;
}

a:hover {
    color: #0e68a4;
    text-decoration: none;
}

a:active {
    color: #0e68a4;
    text-decoration: none;
}

#cart #main a:link {
    color: #d14e0c;
    text-decoration: underline;
}

#cart #main a:visited {
    color: #fe9938;
    text-decoration: underline;
}

#cart #main a:hover {
    color: #d14e0c;
    text-decoration: none;
}

#cart #main a:active {
    color: #d14e0c;
    text-decoration: none;
}

.main_box a:link {
    color: #491817;
    text-decoration: underline;
}

.main_box a:visited {
    color: #8b625f;
    text-decoration: underline;
}

.main_box a:hover {
    color: #491817;
    text-decoration: none;
}

.main_box a:active {
    color: #491817;
    text-decoration: none;
}

.account a:link {
    color: #fff;
    text-decoration: underline;
}

.account a:visited {
    color: #fff;
    text-decoration: underline;
}

.account a:hover {
    color: #fff;
    text-decoration: none;
}

.account a:active {
    color: #fff;
    text-decoration: none;
}

.custom-shop.account a:link {
    color: #888;
    text-decoration: underline;
}

.custom-shop.account a:visited {
    color: #888;
    text-decoration: underline;
}

.custom-shop.account a:hover {
    color: #888;
    text-decoration: none;
}

.custom-shop.account a:active {
    color: #888;
    text-decoration: none;
}

#header,
#header_photobook {
    background-image: url(../images/header.png);
    /*ヘーダーの背景画像の指定*/
    background-repeat: repeat-x;
    /*背景画像を横に繰り返す指定*/
    height: 51px;
    z-index: 1;
    box-shadow: 0 2px 3px 0 #d5d5d5;
    -webkit-box-shadow: 0 2px 3px 0 #d5d5d5;
    min-width: 1000px;
}

#header .content {
    position: relative;
}

h1 a {
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    height: 50px;
    width: 226px;
    margin: 0 0 0 -1px;
    text-indent: -9999px;
    float: left;
}

h1 a:link {
    color: #fff;
    text-decoration: none;
}

h1 a:visited {
    color: #fff;
    text-decoration: none;
}

h1 a:hover {
    color: #fff;
    text-decoration: none;
}

h1 a:active {
    color: #fff;
    text-decoration: none;
}

#header .cart {
    width: 224px;
    height: 80px;
    background-image: url(../images/cart.png);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.cart .link1 {
    color: #FFFFFF;
    font-size: 16px;
    display: inline-block;
}

.cart .link2 {
    color: #282828;
    display: block;
}

.cart .inner {
    float: left;
    margin: 12px 0 0 52px;
}

.cart .link2:before {
    content: url(../images/arrow.png);
    margin: 0 6px 0 -12px;
}

.cart .number {
    width: 36px;
    height: 24px;
    display: block;
    float: right;
    border: 1px solid #d0cfcf;
    background-color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 12px 6px 0 0;
    border-radius: 5px;
    text-align: center;
    padding: 6px 0;
}

/*==========================================

    footer
	
==========================================*/
#footer {
    background-image: url("../images/footer.png");
    /*ヘーダーの背景画像の指定*/
    background-repeat: repeat-x;
    /*背景画像を横に繰り返す指定*/
    background-position: top right;
    height: 145px;
    width: 100%;
    clear: both;
    position: absolute;
    bottom: 0;
}

#footer .content {
    padding: 30px 0;
}

#footer ul {
    margin-left: -20px;
}

#footer a:link {
    color: #444;
    text-decoration: underline;
}

#footer a:hover {
    color: #444;
    text-decoration: none;
}

#footer a:visited {
    color: #656565;
    text-decoration: underline;
}

#footer a:active {
    color: #444;
    text-decoration: none;
}

#footer li {
    float: left;
    padding-left: 10px;
    font-size: 12px;
}

#container {
    width: 1000px;
    height: 100%;
    margin: 0 auto;
    padding-bottom: 145px;
    position: relative;
}

#container-bg {}

#container-shadow {
    background: url('../images/container-shadow.png') repeat-y center;
}

.content {
    width: 960px;
    margin: 0 auto;
}

#container:after {
    content: "";
    display: block;
    clear: both;
}

#sub {
    width: 224px;
    height: 100%;
    float: left;
    padding-bottom: 60px;
}

.layout_column_01 #subcategory_show {
    float: left;
}

.layout_column_01 #sub {
    position: absolute;
    z-index: 100;
    margin-top: 80px;
    /*49px;*/
}

.layout_column_01 #sub .category_box {
    background-color: #fff;
}

.layout_column_01 #sub aside {
    display: none;
}

.preview-mode {
    background-color: #3aa2e7;
    color: #fff;
}

.preview-mode a {
    color: #fff;
}

#detail #main,
#goods_index #main,
#goods_detail #main,
#goods_media_template #main {
    width: 696px;
    float: right;
    margin-left: 40px;
    padding-bottom: 60px;
}

.ad_photobook img,
.ad_photobook_custom img {
    margin-top: 36px;
}

#index .ad_photobook img,
#index .ad_photobook_custom img {
    margin-top: 0;
}

#index .ad_photobook,
#index .ad_photobook_custom {
    float: right;
}

#main .content {
    height: 100%;
}

h3 {
    font-size: 138.5%;
    background-image: url(../images/smalltitle.png);
    height: auto;
    padding: 0 0 6px 10px;
    margin: 0 0 12px 0;
    font-weight: normal;
    background-position: left bottom -4px;
    background-position: left bottom\9;
    /* IE10以下 */
}

img {
    vertical-align: text-bottom;
}

a:hover img {
    opacity: 0.6;
    filter: alpha(opacity=60);
}

/*ここまで共通部分*/

.visual {
    height: 279px;
    width: 1000px;
    margin-left: -20px;
}

#cart #titile h2 {
    color: #d14e0c;
}

#flow .step {
    clear: both;
    margin-bottom: 12px;
}

#flow .step03 {
    min-height: 186px;
}

.step h3,
.step06 h3 {
    width: 88px;
    min-height: 179px;
    position: relative;
    background: #4da5e0;
    border: 1px solid #d0cfcf;
    border-radius: 4px;
    float: left;
}

#flow .step03 h3 {
    height: 206px;
}

.step .caution h5 {
    font-weight: bold;
}

#main {
    width: 960px;
}

#index #main {
    width: 885px;
    margin: 0 auto;
    padding: 100px 0;
}

table {
    width: 100%;
    border: 1px solid #d0cfcf;
    margin-bottom: 12px;
    margin-top: 12px;
    border: 1px solid #d0cfcf;
}

table th {
    background: #cee9fc;
    padding: 12px;
    font-weight: bold;
    vertical-align: middle;
}

.message {
    color: #4da5e0;
    font-size: 160.5%;
    padding: 0 0 12px;
}

.border {
    border: 1px dotted #d0cfcf;
    padding: 12px 12px 24px;
    list-style: disc;
}

.about-size {
    padding-left: 380px;
}

#contact h3 {
    margin: 24px 0 6px 0;
}

#privacy table ul,
#tokusyo table ul,
#company table ul {
    list-style: disc;
    padding-left: 12px;
}

#privacy table th {
    border-right: 1px solid #d0cfcf;
}

.calculate {
    float: right;
    font-weight: bold;
    padding: 12px;
    width: 344px;
    background: #f6f6f6;
    margin-bottom: 12px;
}

.btn_calculate {
    background: url("../images/btn_calculate.png") no-repeat 0 0;
    display: block;
    height: 24px;
    margin: 12px auto 0 auto;
    width: 60px;
    text-indent: -9999px;
}

#contact .contact_form {
    border: 1px solid #d0cfcf;
    border-radius: 6px;
    border-collapse: separate;
    border-spacing: 0;
}

input,
textarea {
    border: 1px solid #d0cfcf;
    padding: 0 4px;
    font-size: 13px;
}

.contact_form input,
.contact_form textarea {
    width: 397px
}

input {
    height: 22px;
}

textarea {
    min-height: 240px;
    resize: vertical;
}


table td {
    /*border-right: 1px solid #d0cfcf;*/
    border-bottom: 1px solid #d0cfcf;
    padding: 12px;
    min-width: 60px;
    vertical-align: middle;
}

.btn_delete {
    background: url("../images/btn_delete.png") no-repeat 0 0;
    display: block;
    height: 24px;
    margin: 0 auto;
    width: 22px;
    text-indent: -9999px;
}

.btn_add {
    background: url("../images/btn_add.png") no-repeat 0 0;
    display: block;
    height: 24px;
    margin: 0 auto;
    width: 53px;
    text-indent: -9999px;
}

#company table,
#tokusyo table,
.contact_form,
#spec table {
    border-collapse: collapse;
}

#company table th,
#tokusyo table th,
.contact_form th {
    border-bottom: 1px solid #d0cfcf;
    width: 224px;
    text-align: left;
    padding: 12px;
    vertical-align: middle;
    background-image: url(../images/check.png);
    border-right: none;
}

.contact_form .td_select {
    padding: 12px 0 11px 12px;
}

.sum {
    width: 336px;
    border: 4px solid #ffcfa0;
    float: right;
    padding: 12px;
    font-weight: bold;
}

.sum dt {
    float: left;
    height: 36px;
    line-height: 36px;
    width: 120px;
}

.sum dd {
    border-bottom: 1px dotted #d0cfcf;
    line-height: 36px;
    text-align: right;
}

.sum .sum-num {
    color: #ff0000;
    border-bottom: none;
}

.sum .nrml {
    font-weight: normal;
}

.sum strong {
    font-size: 21px;
}

.sum dl {
    clear: both;
    height: auto;
    margin-bottom: 12px;
}

.btn_buy {
    background: url("../images/btn_buy.png") no-repeat 0 0;
    display: block;
    height: 48px;
    margin: 0 auto;
    width: 224px;
    clear: both;
    text-indent: -9999px;
}

.sales_pc {
    border: 4px solid #f9ff94;
    float: left;
    margin-top: 96px;
    padding: 12px;
    width: 536px;
}

.campaign_pc {
    width: 536px;
    border: 4px solid #7f0019;
    float: left;
    padding: 12px;
    margin-top: 12px;
}

#privacy ol {
    margin: 12px 0 0 12px;
}

#privacy h3 {
    margin: 36px 0 12px;
}

#privacy table,
#tokusyo table,
#company table {
    border-collapse: collapse;
}

#privacy table td,
#size table td {
    border-right: 1px solid #d0cfcf;
    vertical-align: top;
}

#privacy ol span {
    margin-right: 12px;
}

.paragraph {
    margin: 12px 0;
}

#main .new-event,
#main .news {
    width: 672px;
    padding-left: 24px;
}

.new-event .inner li {
    float: left;
    background-color: #ECECEC;
    width: 55px;
    height: 41px;
    margin: 0 8px 8px 0;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    layout-grid-line: 20px;
}

.new-event .inner li img {
    vertical-align: middle;
    max-width: 55px;
    max-height: 41px;
}

.new-event .inner {
    width: 441px;
    margin: 0 -8px 0 0;
    float: right;
    overflow: hidden;
}

.count-card {
    width: 55px;
    height: 39px;
    border: 1px solid #d0cfcf;
    display: inline-block;
    text-align: center;
    background-color: #fff;
}

.count {
    background: #eff7fd;
    display: block;
    width: 47px;
    height: 33px;
    margin: 3px auto;
    color: #0e68a4;
    font-size: 16px;
    line-height: 2em;
}

.new-event .event {
    margin: 0 0 24px 0;
    height: 139px;
}

.load_more {
    background: url("../images/loadmore_index.png") no-repeat 0 0;
    background-position: 0 50%;
    margin-left: -5px;
    padding-left: 18px;
    line-height: 17px;
    font-size: 12px;
}

.load_more_close {
    background: url("../images/loadmore_index_close.png") no-repeat 0 0;
    background-position: 0 50%;
    margin-left: -5px;
    padding-left: 18px;
    line-height: 17px;
    font-size: 12px;
}

article {
    clear: both;
}

.news dt {
    margin-bottom: 12px;
    padding-bottom: 12px;
    width: 124px;
    float: left;
    clear: both;
}

.news dd {
    border-bottom: 1px dotted #d0cfcf;
    padding: 0 0 12px 124px;
    margin-bottom: 12px;
}

.news .date {
    color: #afafaf;
    font-size: 12px;
}

.new-comment .comment {
    display: block;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
    text-overflow: ellipsis;
    height: 30px;
    white-space: nowrap;

}

.new-comment .thumb {
    float: left;
    border: 1px solid #fff;
    background-color: #ECECEC;
    width: 60px;
    height: 45px;
    margin-right: 12px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    layout-grid-line: 20px;
}

.new-comment .thumb img {
    vertical-align: middle;
    max-width: 60px;
    max-height: 45px;
}

.new-comment li {
    overflow: auto;
    padding: 0;
    font-size: 12px;
    line-height: 1.2;
    margin: 0 0 24px 0;
}

.new-comment li .date {
    color: #afafaf;
}

aside {
    margin: 12px 0;
}

aside img {
    margin: 0 0 12px 0;
    line-height: 0;
    display: block;
}

.category_box {
    border: 1px solid #d0cfcf;
    border-radius: 6px;
    margin: 0 0 12px 0;
}

.category_box h3 {
    background-image: url("../images/title_category.png");
    height: 48px;
    text-indent: -9999px;
    background-position: left top;
    padding: 0;
}

.category_box .inner {
    margin: 12px;
}

.category_box li {
    background-image: url("../images/arrow_02.png");
    background-position: 0 10px;
    background-repeat: no-repeat;
    border-left: medium none;
    line-height: 24px;
    margin-left: 0;
    padding-left: 12px;
}

.box_login {
    width: 403px;
    padding: 19px 19px 23px 19px;
    border: 4px solid #3aa2e7;
    border-radius: 10px;
    float: left;
}

.explain {
    width: 403px;
    padding: 19px;
    float: left;
}

.box_login h2 {
    background-image: url(../images/title_login.png);
    width: 269px;
    height: 28px;
    margin-bottom: 12px;
    text-indent: -9999px;
}

.box_login .btn_login {
    background: url("../images/btn_login.png") no-repeat scroll 0 0;
    display: block;
    width: 176px;
    height: 24px;
    margin: 0 auto;
    text-indent: -9999px;
}

.box_login p {
    margin: 12px 0;
}

.box_login .code {
    padding: 0 114px;
}

.select {
    margin-bottom: 12px;
}

#title {
    height: 100px;
    line-height: 100px;
    overflow: hidden;
}

#title h2 {
    font-size: 22px;
    color: #0e68a4;
    width: 724px;
    float: left;
    font-size: 18px;
}

#cart #title h2 {
    color: #d14e0c;
}

#res_num {
    float: right;
    font-size: 12px;
    font-weight: bold;
    color: #696969;
}

#num {
    font-size: 18px;
}

.controller {
    height: 24px;
    border: 1px solid #d0cfcf;
    border-radius: 6px;
    background: url(../images/check.png) repeat 0 0;
    padding: 12px;
}

.controller label {
    float: left;
}

.controller input[type=text] {
    float: left;
    margin-right: 12px;
    width: 120px;
}

.controller select {
    margin-right: 12px;
    width: 80px;
    height: 24px;
}

.thumbnail,
.thumbnail-small {
    width: 972px;
    overflow: hidden;
    margin: 12px 0;
    letter-spacing: -.40em;
}

#privacy table td {
    border-bottom: 1px solid #d0cfcf;
    vertical-align: top;
}

/*２カラムの場合*/
.layout_column_02 #main {
    width: 696px;
    float: right;
    margin-left: 40px;
    padding-bottom: 60px;
}

.layout_column_02 .thumbnail,
.layout_column_02 .thumbnail-small {
    width: 710px;
    overflow: hidden;
    margin: 12px 0;
    letter-spacing: -.40em;
}

/*サムネイル大*/
.layout_column_02 .thumbnail li {
    display: -moz-inline-box;
    /*for Firefox 2*/
    display: inline-block;
    /*for modern*/
    letter-spacing: normal;
    vertical-align: top;
    border: 1px solid #d0cfcf;
    margin: 0 12px 12px 0;
    padding: 11px;
    width: 200px;
    position: relative;
}

.layout_column_02 .thumbnail li .photo {
    display: block;
    width: 200px;
    height: 155px;
    display: block;
    display: table-cell;
    /* IE8向けのハックです */
    display
    /*\**/
    : inline-block\9;
    vertical-align: middle;
    margin: auto;
    text-align: center;
    text-decoration: none;
    zoom: 1;
    text-decoration: none;
}

.layout_column_02 .thumbnail li p {
    width: 124px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: left;
}

.layout_column_02 .thumbnail .inner {
    width: 200px;
}

.layout_column_02 .btn_controller {
    display: inline-block;
    width: 72px;
    height: 24px;
    background: url(../images/btn_controller.png) no-repeat 0 0;
    float: left;
}

.layout_column_02 .btn_cart_mini {
    display: inline-block;
    width: 65px;
    height: 20px;
    margin: 0 auto;
    background: url(../images/btn_cart_mini.png) no-repeat 0 0;
    float: right;
}

.btn_cart_mini_dl_placeholder {
    display: inline-block;
    width: 65px;
    height: 20px;
    margin: 0 auto;
    margin-right: 70px;
    float: right;
}

.layout_column_02 .btn_cart_mini_dl {
    display: inline-block;
    width: 65px;
    height: 20px;
    margin: 0 auto;
    margin-right: 70px;
    background: url(../images/btn_cart_mini_dl.png) no-repeat 0 0;
    float: right;
}

.layout_column_02 .btn_cart_mini_dl_free {
    display: inline-block;
    width: 65px;
    height: 20px;
    margin: 0 auto;
    margin-right: 70px;
    background: url(../images/btn_cart_mini_dl_free.png) no-repeat 0 0;
    float: right;
    font-size: 10px;
    /*text-indent: -9999px;*/
}

/*サムネイル大ここまで*/
/*サムネイル小*/
.layout_column_02 .thumbnail-small li {
    float: left;
    margin: 0 11.5px 20px 0;
    position: relative;
    width: 106px;
    height: 134px;
    letter-spacing: normal;
}

.layout_column_02 .thumbnail-small .views,
.layout_column_02 .thumbnail-small .cmnt,
.layout_column_02 .thumbnail-small .fav {
    display: none;
}

.layout_column_02.btn_cart_mini {
    display: inline-block;
    width: 65px;
    height: 20px;
    margin: 0 auto;
    background: url(../images/btn_cart_mini.png) no-repeat 0 0;
}

.layout_column_02 .thumbnail-small .inner {
    position: absolute;
    bottom: 0px;
}

.layout_column_02 .thumbnail-small .btn_cart_mini {
    display: inline-block;
    width: 65px;
    height: 20px;
    margin: 0 auto;
    background: url(../images/btn_cart_mini.png) no-repeat 0 0;
    float: none;
}

/*サムネイル小ここまで*/
/*２カラムの場合ここまで*/

/*１カラムの場合*/
.layout_column_01 #main {
    width: 960px;
}

.layout_column_01 #sub {
    display: none;
}

/*サムネイル大*/
.layout_column_01 .thumbnail li {
    display: -moz-inline-box;
    /*for Firefox 2*/
    display: inline-block;
    /*for modern*/
    letter-spacing: normal;
    vertical-align: top;
    border: 1px solid #d0cfcf;
    margin: 0 12px 12px 0;
    padding: 11px;
    width: 207px;
    position: relative;
}

.layout_column_01 .thumbnail li .photo {
    display: block;
    width: 200px;
    height: 155px;
    display: block;
    display: table-cell;
    /* IE8向けのハックです */
    display
    /*\**/
    : inline-block\9;
    vertical-align: middle;
    margin: auto;
    text-align: center;
    text-decoration: none;
    zoom: 1;
    text-decoration: none;
}

.layout_column_01 .thumbnail li p {
    width: 124px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: left;
}

.layout_column_01 .thumbnail .inner {
    width: 200px;
}

.layout_column_01 .btn_controller {
    display: inline-block;
    width: 72px;
    height: 24px;
    background: url(../images/btn_controller.png) no-repeat 0 0;
    float: left;
}

.layout_column_01 .btn_cart_mini {
    display: inline-block;
    width: 65px;
    height: 20px;
    margin: 0 auto;
    background: url(../images/btn_cart_mini.png) no-repeat 0 0;
    float: right;
}

.layout_column_01 .btn_cart_mini_dl {
    display: inline-block;
    width: 65px;
    height: 20px;
    margin: 0 auto;
    margin-bottom: 2px;
    background: url(../images/btn_cart_mini_dl.png) no-repeat 0 0;
    float: right;
}

.layout_column_01 .btn_cart_mini_dl_free {
    display: inline-block;
    width: 65px;
    height: 20px;
    margin: 0 auto;
    margin-bottom: 2px;
    background: url(../images/btn_cart_mini_dl_free.png) no-repeat 0 0;
    float: right;
    /*text-indent: -9999px;*/
    color: #fff;
    text-decoration: none;
    font-size: 6px;
    text-align: center;
}

/*サムネイル大ここまで*/
/*サムネイル小*/
.layout_column_01 .thumbnail-small li {
    float: left;
    margin: 0 11.5px 20px 0;
    position: relative;
    width: 110px;
    height: 124px;
    letter-spacing: normal;
}

.layout_column_01 .thumbnail-small .views,
.layout_column_01 .thumbnail-small .cmnt,
.layout_column_01 .thumbnail-small .fav {
    display: none;
}

.layout_column_01 .btn_cart_mini {
    display: inline-block;
    width: 65px;
    height: 20px;
    margin: 0 auto;
    background: url(../images/btn_cart_mini.png) no-repeat 0 0;
}

.layout_column_01 .thumbnail-small .inner {
    position: absolute;
    bottom: 0px;
}

.layout_column_01 .thumbnail-small .btn_cart_mini {
    display: inline-block;
    width: 65px;
    height: 20px;
    margin: 0 auto;
    background: url(../images/btn_cart_mini.png) no-repeat 0 0;
    float: none;
}

/*１カラムの場合ここまで*/
.btn_cart {
    display: block;
    width: 224px;
    height: 50px;
    margin: 0 auto;
    background: url(../images/btn_cart.png) no-repeat 0 0;
    text-indent: -9999px;
}

.page_navi {
    text-align: center;
}

.page_navi li {
    display: inline;
    padding: 2px;
}

.controller .page_navi {
    float: right;
    color: #282828;
}

.controller .page_navi ol {
    max-width: 600px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.controller .page_navi li {
    text-align: right;
}

.tools {
    clear: both;
}

.views {
    background-image: url("../images/icon_views.png");
    background-position: 0 50%;
    background-repeat: no-repeat;
    border-left: medium none;
    margin-left: 0;
    padding-left: 18px;
}

.cmnt {
    background-image: url("../images/icon_cmnt.png");
    background-position: 0 50%;
    background-repeat: no-repeat;
    border-left: medium none;
    margin-left: 0;
    padding-left: 18px;
}

.fav {
    background-image: url("../images/icon_fav.png");
    background-position: 0 50%;
    background-repeat: no-repeat;
    border-left: medium none;
    margin-left: 0;
    padding-left: 18px;
}

.tag {
    background-image: url("../images/icon_tag.png");
    background-position: 0 50%;
    background-repeat: no-repeat;
    border-left: medium none;
    margin-left: 0;
    padding-left: 18px;
    color: #bababa;
}

.clearfix:after {
    content: "";
    clear: both;
    display: block;
}

#topicPath li {
    float: left;
    padding-right: 2px;
    font-size: 12px;
}

.infomation {
    margin: 0 0 12px 0;
}

.infomation li {
    border-bottom: 1px solid #d0cfcf;
    line-height: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.photo-name {
    font-size: 18px;

    white-space: pre-wrap;
    /* CSS 2.1 */
    white-space: pre-line;
    /* CSS 3.0 */
    white-space: -pre-wrap;
    /* Opera 4-6 */
    white-space: -o-pre-wrap;
    /* Opera 7 */
    white-space: -moz-pre-wrap;
    /* Mozilla */
    white-space: -hp-pre-wrap;
    /* HP Printers */
    word-wrap: break-word;
    /* IE 5+ */
}

#photo {
    border: 1px solid #d0cfcf;
    /*    height: 505px;*/
    width: 696px;
    height: 509px;
    padding: 11px;
    margin: 24px 0 0 0;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    layout-grid-line: 252px;
}

#photo img {
    max-width: 672px;
}

.page-back {
    margin-top: 36px;
    height: 12px;
}

#detail #sub {
    margin-top: 12px;
}


.page-back a {
    float: right;
}

.pager {
    width: 696px;
    height: 24px;
}

.pager .older {
    float: left;
}

.pager .newer {
    float: right;
}

.btn_fav {
    background: url("../images/btn_fav.png") no-repeat 0 0;
    display: block;
    height: 24px;
    width: 72px;
    float: left;
    margin-right: 4px;
}

.btn_fav:hover,
.btn_controller:hover,
.btn_tag:hover,
.btn_cart:hover,
.btn_submit_mini:hover,
.btn_search:hover,
.btn_cart_mini:hover,
.btn_cart_mini_dl:hover,
.btn_delete:hover,
.btn_add:hover,
.btn_buy:hover,
.btn_submit:hover,
.btn_calculate:hover,
.btn_login:hover,
.btn_back:hover,
.btn_next:hover,
.btn_caption_mini:hover {
    background-position: 0 bottom;
}

.tag .tag_name {
    color: #bababa;
    padding: 0 10px 0 0;
}

/*
.tag .tag_name:after {
    color: #bababa;
    content: "/";
    display: block;
    font-size: 12px;
    height: 2.1rem;
    line-height: 1rem;
    position: absolute;
    right: 0px;
    top: 0;
    text-align: center;
}*/

.btn_tag {
    background: url("../images/btn_tag.png") no-repeat 0 0;
    display: inline-block;
    height: 24px;
    width: 72px;
    margin-right: 4px;
    float: right;
}

.report {
    padding: 12px;
    text-align: center;
    background-color: #f6f6f6;
    border-radius: 6px;
    margin-top: 156px;
}

.report p {
    color: #bababa;
    margin-bottom: 6px;
}

.cmnt_box {
    background-color: #f6f6f6;
    border: 1px solid #d0cfcf;
    border-radius: 6px;
    padding: 24px;
}

.btn_submit_mini {
    display: block;
    width: 176px;
    height: 24px;
    background: url(../images/btn_submit_mini.png) no-repeat 0 0;
    border: none;
    padding: 0;
    text-indent: -9999px;
    float: right;
}

.btn_submit {
    background: url("../images/btn_submit.png") no-repeat scroll 0 0;
    display: inline-block;
    height: 48px;
    margin: 0 auto;
    width: 224px;
    border: none;
    text-indent: -9999px;
    float: right;
}

form p {
    margin: 0 0 12px 0;
}

.cmnt_box {
    margin: 24px 0 0 0;
}

.cmnt_box .posted {
    margin-top: 24px;
    border-bottom: 1px dotted #d0cfcf;
}

.cmnt_box .posted li {
    border-top: 1px dotted #d0cfcf;
    padding: 12px 0 12px 0;
}

.cmnt_box .posted .date {
    color: #afafaf;
}

.cmnt_box .posted .user_name,
.san {
    font-weight: bold;
    font-size: 14px;
    padding: 0 4px 0 0;
}

.cmnt_box .posted .cancel {
    color: #ea6868;
}

.cmnt_report {
    float: right;
}

select {
    height: 26px;
    float: left;
    font-size: 100%;
}

.progress {
    width: 980px;
    overflow: hidden;
}

.btn_next {
    background: url("../images/btn_next.png") no-repeat scroll 0 0;
    border: medium none;
    display: block;
    height: 48px;
    margin: 0 auto;
    text-indent: -9999px;
    width: 224px;
}

.btn_back {
    background: url("../images/btn_back.png") no-repeat scroll 0 0;
    border: medium none;
    display: inline-block;
    height: 48px;
    margin: 0 auto;
    text-indent: -9999px;
    width: 224px;
}

.arrow_box,
.arrow_box_last {
    position: relative;
    background: #fff;
    border: 1px solid #d0cfcf;
    width: 169px;
    height: 48px;
    text-align: center;
    display: inline-block;
    line-height: 48px;
    border-radius: 6px;
    margin: 0 20px 0 0;
}

.arrow_box:after,
.arrow_box:before {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box:after {
    border-color: rgba(255, 255, 255, 0);
    border-left-color: #fff;
    border-width: 8px;
    margin-top: -8px;
}

.arrow_box:before,
.arrow_box_here:before {
    border-color: rgba(208, 207, 207, 0);
    border-left-color: #d0cfcf;
    border-width: 9px;
    margin-top: -9px;
}

.arrow_box_here {
    color: #fff;
    background: #f47927;
}

.arrow_box_here:after {
    border-color: rgba(255, 255, 255, 0);
    border-left-color: #f47927;
    border-width: 8px;
    margin-top: -8px;
}

.event_banner {
    width: 215px;
    height: 139px;
    display: inline-block;
}

#index .cart {
    display: none;
}


/*カートの表組み*/
.cart_table {
    border: 1px solid #d0cfcf;
    display: table;
    margin: 12px 0;
    width: 100%;
    table-layout: fixed;
    background-color: #ffe4ca;
}

.cart_tr {
    /*display: table-row;*/
    clear: both;
    /*background: url("../images/cart_table-bg.gif") repeat-y;*/
    border-bottom: 1px solid #d0cfcf;
}

.cart_th,
.cart_td {
    display: table-cell;
}

.cart_th {
    /*background: #ffe4ca;
    border-top: 1px solid #d0cfcf;*/
    font-weight: bold;
    vertical-align: middle;
}

#cart-content {
    background: url("../images/cart_table-bg.gif") repeat-y;
}

.th-group {
    background-color: #ffe4ca;
    border-bottom: 1px solid #d0cfcf;
    overflow: hidden;
    display: flex;
}

.th-group .cart_th {
    flex-shrink: 0;
    overflow: hidden;
}
.cart_th_small {
    display: inline-block;
    text-align: center;
    border-right: 1px solid #d0cfcf;
    float: left;
    padding: 12px 0;
    white-space: nowrap;
    overflow: hidden;
}

.th-01 {
    overflow: visible;
    margin-right: -1px;
    clear: both;
}

.th-04 {
    overflow: visible;
    margin-right: -1px;
    clear: both;
}

.th-07 {
    border-right: 1px solid #d0cfcf;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart_th_small-01 {
    width: 83px;
}

.cart_th_small-02 {
    width: 112px;
}

.cart_th_small-03 {
    width: 190px;
}

.cart_td_small-03 input,
.cart_td_small-03 p,
.btn_up,
.btn_down {
    float: left;
}

.cart_td_small-03 input,
.btn_up {
    margin-right: 2px;
}

.cart_td_small-03 p {
    padding-left: 4px;
}

.cart_th_small-04 {
    width: 110px;
}

.cart_th_small-05 {
    width: 98px;
}

.cart_th_small-06 {
    width: 140px;
}

.td-03 {
    width: 166px;
}

.td-05,
.td-06 {
    width: 300px;
}

.cart_td {
    /*border-top: 1px solid #d0cfcf;
    border-right: 1px solid #d0cfcf;*/
    vertical-align: middle;
    float: left;
}

.td-04 {
    width: 350px;
    border-right: none;
}

.cart_td img {
    display: inline;
}

.cart_td_small-01,
.cart_td_small-02,
.cart_td_small-03 {
    height: 24px;
    padding: 12px;
    float: left;
    border-bottom: 1px dotted #d0cfcf;
    margin-bottom: -1px;
}

.cart_td_small-01 {
    width: 86px;
}

.cart_td_small-02 {
    width: 74px;
}

.cart_td_small-03 {
    width: 116px;
}

.td-01,
.td-02,
.td-03,
.td-07,
.td-08 {
    padding: 12px;
}

.td-01,
.td-02,
.td-03,
.td-04,
.td-05,
.td-06,
.td-07 {
    border-right: 1px solid #d0cfcf;
}

.td-01 {
    width: 59px;
}

.td-02 {
    width: 88px;
}

.align-center {
    text-align: center;
}

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

.btn_up {
    background-image: url(../images/btn_up.png);
    width: 22px;
    height: 24px;
    text-indent: -9999px;
    display: block;
}

.btn_down {
    background-image: url(../images/btn_down.png);
    width: 22px;
    height: 24px;
    text-indent: -9999px;
    display: block;
}

.td_del-group {
    display: inline-block;
    width: 50px;
}

/*==========================================

    payment_methods,spec
	
==========================================*/
#payment_methods h4,
#spec h4 {
    background: none repeat scroll 0 0;
    border-bottom: 1px dotted #d0cfcf;
    float: left;
    font-size: 13px;
    font-weight: bold;
    width: 224px;
}

#payment_methods .inner,
#spec .inner {
    padding-left: 24px;
    border-left: 1px solid #d0cfcf;
    float: right;
}

#payment_methods .inner {
    width: 463px;
}

#spec .inner {
    width: 700px;
}

#payment_methods .box {
    width: 736px;
    margin-bottom: 48px;
}

#spec .box {
    margin-bottom: 48px;
}

#payment_methods .small,
#spec .small {
    font-size: 12px;
    color: #444;
    margin-top: 12px;
}

#payment_methods p,
#spec p {
    padding-top: 20px;
}

#payment_methods .p_top,
#spec .p_top {
    padding: 0;
    margin-bottom: 12px;
}

#payment_methods .links a {
    margin-right: 12px;
}

/*==========================================

    spec
	
==========================================*/
#spec table th {
    width: 112px;
    text-align: left;
    padding: 12px;
    vertical-align: middle;
    background-image: url(../images/check.png);
}

#spec table .td-1 {
    width: 112px;
    border-right: 1px solid #d0cfcf;
}

/*フォトブック誘導ページ*/
#item #container,
#howto #container,
#price #container,
#dl #container {
    padding-bottom: 0;
}

#item #main,
#howto #main,
#price #main,
#dl #main {
    padding-bottom: 145px;
    margin: 36px 0 0 0;
    width: 100%;
    height: 100%;
    background: url(../images/photobook_back.png) repeat;
    text-align: justify;
    font-size: 15.5px;
    line-height: 1.9em;
}

#item .cart,
#howto .cart,
#price .cart,
#dl .cart,
#item .account,
#howto .account,
#price .account,
#dl .account {
    display: none;
}

#item h2,
#howto h2,
#price h2,
#dl h2 {
    margin: 0 0 36px 0;
}

#item #container .content,
#dl #container .content,
#price #container .content,
#howto #container .content {
    width: 1000px;
}

#item #topicPath,
#howto #topicPath,
#price #topicPath,
#dl #topicPath {
    padding-left: 20px;
}

.main_box {
    padding: 56px;
}

nav {
    width: 1000px;
    height: 48px;
    background: url(../images/nav_back.png) repeat;
    margin: -6px 0 0 0;
}

nav ul {
    padding: 0 56px;
}

nav ul li {
    float: left;
    width: 222px;
}

.btn_item a {
    background-image: url(../images/btn_item.png);
    height: 48px;
    text-indent: -9999px;
    display: block;
}

.btn_howto a {
    background-image: url(../images/btn_howto.png);
    height: 48px;
    text-indent: -9999px;
    display: block;
}

.btn_price a {
    background-image: url(../images/btn_price.png);
    height: 48px;
    text-indent: -9999px;
    display: block;
}

.btn_dl a {
    background-image: url(../images/btn_dl.png);
    height: 48px;
    text-indent: -9999px;
    display: block;
}

#item .btn_item a {
    background-image: url(../images/btn_item_on.png);
    height: 57px;
    text-indent: -9999px;
    display: block;
    position: relative;
    bottom: 9px;
}

#howto .btn_howto a {
    background-image: url(../images/btn_howto_on.png);
    height: 57px;
    text-indent: -9999px;
    display: block;
    position: relative;
    bottom: 9px;
}

#price .btn_price a {
    background-image: url(../images/btn_price_on.png);
    height: 57px;
    text-indent: -9999px;
    display: block;
    position: relative;
    bottom: 9px;
}

#dl .btn_dl a {
    background-image: url(../images/btn_dl_on.png);
    height: 57px;
    text-indent: -9999px;
    display: block;
    position: relative;
    bottom: 9px;
}

.title_item {
    background: url(../images/title_item.png);
    width: 291px;
    height: 33px;
    text-indent: -9999px;
}

.title_howto {
    background: url(../images/title_howto.png);
    width: 319px;
    height: 33px;
    text-indent: -9999px;
}

.title_price {
    background: url(../images/title_price.png);
    width: 208px;
    height: 33px;
    text-indent: -9999px;
}

.title_dl {
    background: url(../images/title_dl.png);
    width: 367px;
    height: 33px;
    text-indent: -9999px;
}

.main_photo2 {
    width: 960px;
    margin: 56px auto 0;
}

#item h3,
#howto h3,
#price h3,
#dl h3,
#flow h3 {
    background: none;
    height: auto;
    padding: 0;
}

#howto h3,
#price h3,
#dl h3 {
    font-size: 24px;
    color: #7b493a;
    margin: 0 0 14px 0;
}

.items {
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
    margin: 0 0 26px 0;
}

.items h3 {
    color: #491817;
    font-size: 28px;
    margin: 0 0 18px 0;
    padding: 0;
}

.items img {
    float: left;
}

.items .inner {
    padding: 26px 0 0 478px;
    width: 336px;
}

.items .inner p+p {
    margin-top: 36px;
}

#dl p+p,
#howto p+p {
    margin-top: 24px;
}

.items a {
    float: right;
}

.row {
    margin: 72px 0 0 0;
}

.main_box h4 {
    color: #572a29;
    font-size: 18px;
}

.btn_mac {
    display: inline-block;
    background-image: url(../images/btn_mac.png);
    width: 244px;
    height: 72px;
    text-indent: -9999px;
    margin: 12px 12px 0 0;
}

.btn_win {
    display: inline-block;
    background-image: url(../images/btn_win.png);
    width: 244px;
    height: 72px;
    text-indent: -9999px;
    margin: 12px 12px 0 0;
}

.btn_mac:hover {
    background-image: url(../images/btn_mac_on.png);
}

.btn_win:hover {
    background-image: url(../images/btn_win_on.png);
}

.photo {
    font-size: 14px;
    border: none;
    background-color: #fff;
}

.photo td {
    border: none;
    padding: 12px 0;
}

.photo th {
    color: #491817;
    font-weight: normal;
    background-color: #f8b7b6;
    border: none;
    padding: 8px 0;
}

.photo th {
    text-align: center;
}

#dl .photo td {
    text-align: left;
    padding: 24px 36px;
}

.main_box ul {
    padding: 0 0 0 20px;
    list-style-type: disc;
}

#howto .step {
    width: 840px;
    clear: both;
    padding: 24px 0;
}

#sitemap #main h3 {
    background: none;
    font-size: 13px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    height: 30px;
    line-height: 36px;
}

#sitemap #main ul {
    padding: 0 36px;
}

#size table {
    width: 724px;
}

/*商品追加時のポップアップ*/
#cart_popup {
    display: none;
    position: absolute;
    width: 264px;
    z-index: 2;
}

.cart_popup_inner {
    width: 216px;
    border: 4px solid #ff8e10;
    border-radius: 10px;
    background: #fff;
    float: left;
    position: relative;
}

.cart_popup_inner .inner {
    margin: 8px 12px;
}

.cart_popup_inner .inner p {
    border-top: 1px solid #d0cfcf;
    font-size: 12px;
    line-height: 1.5em;
    padding-top: 4px;
    margin-top: 5px;
}

.cart_popup_inner h3 {
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    line-height: 32px;
    display: inline-block;
    background: none;
    height: 32px;
}

.pop_title {
    background: #ff8e10;
    display: block;
    height: 32px;
    white-space: nowrap;
    padding: 0 10px;
}

.cart_popup_inner a:link {
    color: #d14e0c;
    text-decoration: underline;
    font-size: 12px;
}

.cart_popup_inner .btn_cart_pop {
    background: url("../images/btn_cart_pop.png") no-repeat 0 0;
    display: inline-block;
    height: 22px;
    width: 88px;
    text-indent: -9999px;
    margin-left: 2px;
}

.cart_popup_inner .btn_cart_pop:hover {
    background-position: 0 bottom;
}

.btn_delete_pop {
    background: url("../images/btn_delete_pop.png") no-repeat 0 0;
    display: inline-block;
    height: 19px;
    width: 19px;
    text-indent: -9999px;
    vertical-align: middle;
    margin-left: 8px;
    flex: 0 0 auto;
}

/*商品追加時のポップアップ 三角*/
.cart_popup_inner:after {
    content: " ";
    position: absolute;
    bottom: 98%;
    right: 6px;
    z-index: 1;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    border-bottom-color: #ff8e10;
}

/*使い方・作り方吹き出し*/

#howto .step h3 {
    background-image: url(../images/check_photo.png);
}

#flow .step h3 {
    background-color: #4da5e0;
}

#howto .step h3,
#flow .step h3 {
    position: relative;
    border: 1px solid #d0cfcf;
    width: 88px;
    float: left;
    border-radius: 4px;
}

#howto .step h3 {
    height: 100%;
}


.step h3 img {
    margin: 19px 25px;
}

.step h3:after,
#howto .step h3:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

#howto .step h3:after {
    border-color: rgba(122, 92, 79, 0);
    border-top-color: #7a5c4f;
    border-width: 10px;
    margin-left: -10px;
}

#howto .step h3:before {
    border-color: rgba(208, 207, 207, 0);
    border-top-color: #d0cfcf;
    border-width: 11px;
    margin-left: -11px;
}

#flow .step h3:after {
    border-color: rgba(77, 165, 224, 0);
    border-top-color: #4da5e0;
    border-width: 10px;
    margin-left: -10px;
}

#flow .step h3:before {
    border-color: rgba(208, 207, 207, 0);
    border-top-color: #d0cfcf;
    border-width: 11px;
    margin-left: -11px;
}

/*使い方・作り方吹き出しここまで*/

#howto .step .inner {
    border-bottom: 1px dotted #d0cfcf;
    width: 774px;
    padding: 0 0 24px 0;
    margin: 0 0 0 122px;
}

#flow .step .inner {
    border-bottom: 1px dotted #d0cfcf;
    margin: 0 0 0 122px;
}

.step .inner .txt {
    width: 340px;
    float: left;
    margin: 0 48px 0 0;
    height: 273px;
}

#howto .step img {
    display: inline;
    text-align: right;
}

#item #main,
#howto #main,
#price #main,
#dl #main {
    background: url("../images/photobook_back.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
    font-size: 15.5px;
    height: 100%;
    line-height: 1.9em;
    margin: 36px 0 0;
    padding-bottom: 145px;
    text-align: justify;
    width: 100%;
}

.inner2 {
    height: 278px;
    display: block;
    width: 774px;
}

#price .off {
    width: 444px;
}

#howto .step01 {
    height: 287px;
}

#howto .step02,
#howto .step04,
#howto .step06,
#howto .step07,
#howto .step08,
#howto .step09,
#howto .step10 {
    height: 320px;
}

#howto .step03 {
    height: 877px;
}

#howto .step05 {
    height: 360px;
}

#howto .step h4 {
    color: #8c6e64;
    font-size: 21px;
    margin: 0 0 12px 0;
}

#flow .step h4 {
    color: #4da5e0;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 6px;
}

.movie {
    padding: 24px 144px;
}

.photo {
    /* 上、左にborder */
    width: 100%;
    border-collapse: separate;
    /* ポイント */
    border-spacing: 0;
    border-radius: 10px;
    border-right: none;
    border-bottom: none;
    background-color: #FFFFFF;
}

.photo th,
.photo td {
    /* 右、下にborder */
    border-top: none;
    border-left: none;
    vertical-align: middle;
}

#dl .photo th {
    border-bottom: #fff 1px solid;
    width: 222px;
}

#price .photo th {
    border-right: #fff 1px solid;
}

.photo .bg-color {
    background-color: #e7e7e7;
    border-right: #fff 1px solid;
}

.photo td {
    border-right: 1px solid #e7e7e7;
}

#price .photo td {
    text-align: center;
}

/* 1行目、左端の要素 */
.photo tr:first-child th:first-child,
.photo tr:first-child td:first-child {
    border-top-left-radius: 10px;
    /* 左上が角丸 */
}

/* 1行目右端の要素 */
.photo tr:first-child th:last-child,
.photo tr:first-child td:last-child {
    border-top-right-radius: 10px;
    /* 右上が角丸 */
}

/* theadのない場合のtbody > th（thead > thと同様のスタイルに。） */
.photo table tbody:first-child th {
    background-color: #f8b7b6;
    color: #491817;
}

/* theadがある場合のtbody1行目、左端の要素 */
.photo thead~tbody tr:first-child th:first-child,
.photo thead~tbody tr:first-child td:first-child {
    border-top-left-radius: 0;
    /* 左上が角カク */
}

/* theadがある場合のtbody1行目、右端の要素 */
.photo thead~tbody tr:first-child td:last-child {
    border-top-right-radius: 0;
    /* 右上が角カク */
}

/* tbodyのラスト1行、左端の要素 */
.photo tbody tr:last-child th:first-child,
.photo tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
    /* 左下が角丸 */
}

/* tbodyのラスト1行、右端の要素 */
.photo tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
    /* 右下が角丸 */
}

/* ----- tfootありの場合 ----- */

/* tbodyのラスト1行、左端の要素(tfootない場合のtbodyのスタイルを上書き) */
.photo tfoot~tbody tr:last-child th:first-child,
.photo tfoot~tbody tr:last-child td:first-child {
    border-bottom-left-radius: 0;
    /* 左下が角カク */
}

/* tbodyのラスト1行、右端の要素(tfootない場合のtbodyのスタイルを上書き) */
.photo tfoot~tbody tr:last-child td:last-child {
    border-bottom-right-radius: 0;
    /* 右下が角カク */
}

/* tfootのラスト1行、左端の要素 */
.photo tfoot tr:last-child th:first-child,
.photo tfoot tr:last-child td:first-child {
    border-top-left-radius: 0;
    /* 左上が角カク */
    border-bottom-left-radius: 10px;
    /* 左下が角丸 */
}

/* tfootのラスト1行、右端の要素 */
.photo tfoot tr:last-child td:last-child {
    border-top-right-radius: 0;
    /* 右上が角カク */
    border-bottom-right-radius: 10px;
    /* 右下が角丸 */
}

@media screen and (min-width: 770px) {

    .box_login input {
        margin: 0 auto;
        width: 165px;
    }

    .report_sp {
        display: none;
    }

    .td_del-group {
        display: inline-block;
    }

    .td-title {
        display: none;
    }

    .td-07 {
        width: 138px;
    }

    .td-08 {
        width: 35px;
    }

    .sub_cart_sp,
    .report_sp {
        display: none;
    }

    .sub_cart_sp {
        display: none;
    }

    #flow .step .inner p {
        width: 574px;
    }

    .step .caution {
        background: #f6f6f6;
        border-radius: 4px;
        padding: 12px;
        margin: 12px 0;
        width: 574px;
    }

    .sales_sp {
        display: none;
    }

    #photo-small {
        display: none;
    }

    .img_pc {
        display: block;
    }

    .img_sp {
        display: none;
    }

    .for-sp {
        display: none;
    }

}

@media screen and (max-width: 770px) {
    #header {
        min-width: 320px;
    }

    html, body {
        min-width: 320px;
        overflow-x: hidden;
    }

    #container {
        width: 100%;
    }

    #item #topicPath,
    #howto #topicPath,
    #price #topicPath,
    #dl #topicPath {
        padding-left: 0;
    }

    .content {
        margin: 0 auto;
        width: 100%;
    }

    .visual {
        display: none;
    }

    #sub {
        float: none;
        height: 100%;
        padding: 0;
        width: 96%;
        margin: 0 auto;
    }

    #sub {
        float: none;
        height: 100%;
        padding: 0;
        width: 96%;
        margin: 0 auto;
    }



    #main,
    #index #main {
        float: none;
        margin: 0 auto;
        padding-bottom: 60px;
        width: 96%;
    }

    #main .new-event,
    #main .news {
        padding: 0;
        width: 100%;
    }

    .new-event .event {
        height: auto;
        margin: 0;
    }

    .new-event .inner {
        float: none;
        margin: 12px 0;
        width: 100%;
        display: table;
    }

    h1 a {
        background-image: url("../images/logo_mini.png");
        background-repeat: no-repeat;
        float: left;
        height: 51px;
        margin: 0;
        text-indent: -9999px;
        width: 52px;
        left: 8px;
    }

    #header .cart {
        height: auto;
        width: auto;
        z-index: 1;
    }

    .box_login {
        float: none;
        padding: 3%;
        width: 92.4%;
        max-width: 760px;
    }

    .box_login .code {
        width: 100%;
        padding: 0;
    }

    .box_login .code input {
        width: 98.5%;
    }

    .ad_photobook img {
        width: 100%;
    }

    #index .ad_photobook {
        display: none;
    }

    .explain {
        float: none;
        padding: 2%;
        width: 95.4%;
    }

    aside {
        width: 100%;
    }

    .link1 {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        text-indent: -9999px
    }

    .cart .number {
        background-color: #fff;
        border: 1px solid #d0cfcf;
        border-radius: 5px;
        display: block;
        float: right;
        font-size: 15px;
        font-weight: bold;
        height: 12px;
        margin: 12px 6px;
        padding: 0 0 12px 0;
        text-align: center;
        width: 24px;
    }

    .cart .link2 {
        display: none;
    }

    #container {
        width: 100%;
    }

    #index #container {
        background: none;
    }

    #footer {
        background-image: none;
        background-color: #f6f6f6;
        height: auto;
        position: absolute;
        min-width: 320px;
        padding: 0 0 30px 0;
    }

    #footer ul {
        margin: 0 auto;
        width: 96%;
        padding: 30px 0;
    }

    #footer .content {
        padding: 0;
    }

    #footer li+li {
        border: none;
    }

    #title h2 {
        float: none;
        font-size: 13px;
        width: 100%;
    }

    #title {
        height: 100px;
        line-height: 100px;
        width: 96%;
        margin: 0 auto;
    }

    .layout_column_01 .thumbnail,
    .layout_column_02 .thumbnail {
        width: 100%;
    }

    #topicPath {
        width: 96%;
        margin: 0 auto;
    }

    .controller {
        background: url("../images/check.png") repeat scroll 0 0;
        border: 1px solid #d0cfcf;
        border-radius: 6px;
        height: auto;
        padding: 12px;
    }

    .controller .page_navi ol {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .controller .page_navi {
        float: none;
    }

    aside {
        margin: 0;
        margin-right: -2%;
        overflow: hidden;
    }

    aside img {
        display: inline;
        line-height: 0;
        margin: 12px auto;
        width: 100%;
        height: auto;
    }

    .event_banner {
        display: inline-block;
        width: 100%;
        height: auto;
    }

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

    .for-pc {
        display: none;
    }

    #detail #main,
    #goods_index #main,
    #goods_detail #main,
    #goods_media_template #main,
    #list #main,
    #payment_methods #main {
        padding: 2%;
        width: 96%;
        margin: 0 auto;
    }

    #goods_index #sub,
    #goods_detail #sub,
    #goods_media_template #sub {
        display: none;
    }

    #goods_detail .btn-trim {
        display: none;
    }

    #goods_detail button.btn_cart {
        margin-left: 0 !important;
    }

    .page-back {
        height: 12px;
        margin: 0;
    }

    #photo {
        border: 1px solid #d0cfcf;
        display: block;
        height: auto;
        margin: 0 auto;
        padding: 2%;
        text-align: center;
        vertical-align: middle;
        width: 95.4%;
    }

    #photo img {
        max-width: 100%;
        max-height: auto;
    }

    .pager {
        height: 24px;
        width: 100%;
    }

    .report {
        margin: 48px 0 12px 0;
    }

    h1 a {
        padding-left: 10px;
    }

    .progress {
        display: none;
    }

    .cmnt_box p input {
        width: 100%;
    }

    #privacy #main,
    #company #main,
    #tokusyo #main,
    #cart #main,
    #agree #main {
        width: 96%;
    }

    #agree .kiyaku_box {
        width: 92%;
    }

    .agree_box .btn_consent {
        height: auto;
        margin: 12px auto;
        background: -moz-linear-gradient(center top, #219bd8, #1575c2 50%, #0754a5 50%, #1489ca);
        background: -webkit-gradient(linear, left top, left bottom, from(#219bd8), color-stop(0.5, #1575c2), color-stop(0.5, #0754a5), to(#1489ca));
        border: 1px solid #0e68a4;
        border-radius: 6px;
        text-indent: 1px;
        text-align: center;
        text-decoration: none;
        color: #FFF;
        font-size: 16px;
        width: 100%;
        padding: 10px 0;
        float: none;
    }

    .agree_box .btn_dissent {

        height: auto;
        margin: 0 auto;
        background: -moz-linear-gradient(center top, #fff, #f3f3f3 50%, #e9e9e9 50%, #bbbbbb);
        background: -webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(0.5, #f3f3f3), color-stop(0.5, #e9e9e9), to(#bbbbbb));
        border: 1px solid #bbbbbb;
        border-radius: 6px;
        text-indent: 1px;
        text-align: center;
        text-decoration: none;
        color: #282828;
        font-size: 16px;
        width: 100%;
        padding: 10px 0;
        float: none;
    }

    #cart table th {
        display: none;
    }

    #cart table tr {
        border-bottom: 1px solid #d0cfcf;
    }

    #cart table td {
        display: list-item;
        border: none;
        list-style: none;
        border: none;
        border-right: none;
        border-bottom: 1px solid #d0cfcf;

    }

    .cart_num {
        background-color: #ffe4ca;
    }

    .calculate {
        width: 90%;
        padding: 5%;
    }

    .sum {
        width: 88%;
        padding: 5%;
        margin-bottom: 12px;
    }

    .about-size {
        float: none;
        padding: 0;
    }

    .sum dt {
        width: 120px;
    }

    #flow .step {
        width: 100%;
    }

    #flow .step .inner {
        width: 100%;
        margin: 0;
    }

    #flow .step h3 img {
        display: none;
    }

    #flow .step_title {
        display: block;
        color: #fff;
        font-size: 138.5%;
        line-height: 36px;
        padding: 0 12px;
    }

    #flow .step h3:before,
    #flow .step h3:after {
        border: none;
    }

    #flow .step h3,
    #flow .step03 h3 {
        border: none;
        float: none;
        position: relative;
        width: 100%;
        border-radius: 0px;
        padding: 0 12px;
        min-height: 36px;
        height: 36px;
        padding: 0;
    }

    #company table th,
    #tokusyo table th,
    .contact_form th {
        width: 20%;
    }

    .contact_form input,
    .contact_form textarea {
        width: 96%;
    }

    textarea {
        height: 60px;
        resize: vertical;
    }

    #contact #sub,
    #flow #sub,
    #sitemap #sub {
        display: none;
    }

    .layout_column_01 .thumbnail li,
    .layout_column_02 .thumbnail li {
        margin: 12px auto;
        padding: 2%;
        width: 95.4%;
    }

    .layout_column_01 .thumbnail li .photo,
    .layout_column_02 .thumbnail li .photo {
        display: block;
        margin: 0 auto;
        width: 100%;
        height: auto;
    }

    .layout_column_01 .thumbnail .inner,
    .layout_column_02 .thumbnail .inner {
        width: 100%;
    }

    .layout_column_01 .btn_controller,
    .layout_column_02 .btn_controller {
        /*display: none;*/
        /* background: none; */
        /* border: 1px solid #ccc; */
        background-color: #eee;
        width: 25px;
        background: url(../images/btn_search_2.png) no-repeat 0 0;
        background-size: 25px;
    }

    #index .ad_photobook_custom {
        float: none !important;
    }

    #index .ad_photobook_custom img {
        padding-top: 20px;
        width: 100%;
        height: auto;
    }

    .ad_photobook {
        display: none;
    }

    .about_gg img {
        width: 100%;
        height: auto;
    }

    #detail aside {
        display: none;
    }

    .report_pc {
        display: none;
    }

    .th-group {
        display: none;
    }

    .td-07,
    .td-08 {
        border-right: none;
        background-color: #fff;
    }

    .td-02 {
        height: 76px;
        text-align: center;
        background-color: #fff;
    }

    .td-01 {
        vertical-align: middle;
        height: 76px;
        background-color: #fff;
    }

    .td-title {
        background: none repeat scroll 0 0 #ffe4ca;
        text-align: center;
        font-size: 88%;
        font-weight: bold;
        width: 16%;
        padding: 12px;
    }

    .cart_table {
        border-top: 1px solid #d0cfcf;
        height: 100%;
        background-color: #fff;
    }

    .cart_td_small {
        height: 24px;
        padding: 12px;
        width: auto;
    }

    .td-07,
    .td-08 {
        width: 1024px;
    }

    .td_num-group,
    .td_size-group,
    .td_del-group,
    .td_sum-group {
        float: left;
        display: block;
    }

    .cart_table {
        display: block;
    }

    .sub_cart_pc {
        display: none;
    }

    .sub_cart_sp {
        text-align: center;
        margin: 12px 0;
    }

    #flow .step_title {
        display: block;
    }

    .th-group {
        display: none;
    }

    .td_size-group,
    .td_num-group,
    .td_sum-group {
        width: 100%;
    }

    .td-04 {
        width: 100%;
    }

    .td-07,
    .td-08 {
        border-right: none;
        background-color: #fff;
    }

    .td-02 {
        text-align: center;
        background-color: #fff;
    }

    .td-01 {
        vertical-align: middle;
        background-color: #fff;
    }

    .td-title {
        background: none repeat scroll 0 0 #ffe4ca;
        text-align: center;
        font-size: 88%;
        font-weight: bold;
        width: 16%;
        padding: 12px;
        line-height: 14px;
    }

    .cart_table {
        border-top: 1px solid #d0cfcf;
        height: 100%;
    }

    .td-01,
    .td-02,
    .td-03 {
        width: auto;
        word-break: break-all;
    }

    .td_small-group {
        display: table;
        width: 100%;
    }

    .cart_td {
        float: none;
        border-right: 1px solid #d0cfcf;
    }

    .cart_td_small {
        display: table-cell;
        float: none;
        height: 24px;
        padding: 12px 6px;
        width: 25%;
        border-right: 1px solid #d0cfcf;
    }

    #cart-content {
        background: none;
    }

    .td_num-group,
    .td_size-group,
    .td_del-group,
    .td_sum-group {
        float: left;
        display: table;
        width: 100%;
        border-bottom: 1px solid #d0cfcf;
    }

    .td_size-group .cart_td_small-03 {
        min-width: 112px;
    }

    .cart_table {
        display: block;
    }

    .step .caution {
        background: #f6f6f6;
        border-radius: 4px;
        width: 95%;
        padding: 12px;
        margin: 12px 0;
    }

    .controller select,
    .sales_pc,
    .campaign_pc {
        display: none;
    }

    .sales_sp {
        border: 4px solid #f9ff94;
        display: block;
        float: right;
        margin: 12px 0;
        padding: 5%;
        width: 88%
    }

    #photo-small {
        border: 1px solid #d0cfcf;
        display: block;
        margin: 12px 0;
        padding: 2%;
        text-align: center;
        vertical-align: middle;
        width: 95.6%;
    }

    #photo {
        display: none;
    }

    #goods_detail #photo {
        display: block;
    }

    .about-size {
        padding-left: 12px;
    }

    #cart_popup {
        top: 12px;
        left: 25%;
    }

    /*==========================================

    payment_methods
	
==========================================*/
    #payment_methods h3 {
        background: none repeat scroll 0 0;
        border-bottom: 1px dotted #d0cfcf;
        float: none;
        font-size: 13px;
        font-weight: bold;
        width: 98%;
    }

    #payment_methods .inner {
        width: 100%;
        padding-left: 0;
        border-left: none;
        float: none;
    }

    #payment_methods .box {
        width: 100%;
        margin-bottom: 48px;
    }

    .img_pc {
        display: none;
    }

    .img_sp {
        display: block;
    }

    #goods_index .goods-select li a.img {
        width: 100px;
        height: 100px;
    }

    #goods_index .goods-select li p.name {
        margin-left: 0;
    }

    #goods_index .goods-select li p.description {
        margin-left: 0;
    }

    #goods_index .goods-select li a.btn {
        bottom: 50px;
    }

    .goods-template-select li {
        height: 160px !important;
    }

    #goods_detail #photo.img-preview {
        margin-left: -50px;
        transform: scale(0.6, 0.6) !important;
        text-align: left !important;
        border: none;
        background: none;
    }

    #goods_index .goods-select li a.btn {
        position: static;
    }

    #goods_index .goods-select li {
        height: auto !important;
    }

    #goods_index .goods-select .goods-right {
        position: static;
        width: auto;
        height: auto;
        float: right;
        width: calc(100% - 120px) !important;
    }

    .goods-select .for-sp {
        width: 110px !important;
        float: left !important;
    }

    .controller label {
        display: none;
    }
}

.step_title {
    display: none;
}

/*ieハック*/
#cart .td-title {
    display: none\9;
    /* IE10以下 */
}

.td-07 {
    width: 137px\9;
    /* IE10以下 */
}

.td-08 {
    width: 35px\9;
    /* IE10以下 */
}

.td_num-group,
.td_size-group,
.td_sum-group {
    display: table;
    float: left;
}


.th-08 {
    width: 55px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.th-07 {
    width: 161px;
}

.sales_sp {
    display: none\9;
    /* IE10以下 */
}

button {
    background: none;
    border: 0;
    padding: 0;
}

div.error {
    background-color: rgb(231, 76, 60);
    border-radius: 4px;
    border: solid 1px rgb(231, 76, 60);
    border-collapse: collapse;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    display: block;
    font-family: Osaka, Meiryo, sans-serif;
    font-size: 15px;
    line-height: 21px;
    margin: 0 0 21px 0;
    padding: 15px;
}

div#cart .input-quantity {
    width: 36px;
}


div#print-size-preview {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 16px;
    z-index: 10;
    pointer-events: none;
}

div#print-size-preview span {
    pointer-events: auto;
}

div#print-size-preview span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 5px;
    background-color: #fff;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    margin: 0;
    padding: 0;
}

div#print-size-preview span.active {
    background-color: #0072FF;
    color: #fff;
}

div#photo div.print-size-preview-guard-wrapper,
div#photo-small div.print-size-preview-guard-wrapper {
    position: absolute;
}

div#photo div.print-size-preview-guard,
div#photo-small div.print-size-preview-guard {
    position: absolute;
    display: block;
    float: left;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
    background-color: #000;
    opacity: 0.5;
}

div#photo>div {
    position: relative;
}

div#photo-magnify {
    position: absolute;
    left: 0;
    top: 0;
    width: 200px;
    height: 200px;
    display: none;
    border: 2px solid #ccc;
    z-index: 100;
}

#photo-sensor {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 200;
}








/*
 * SimpleModal Basic Modal Dialog
 * http://simplemodal.com
 *
 * Copyright (c) 2013 Eric Martin - http://ericmmartin.com
 *
 * Licensed under the MIT license:
 *   http://www.opensource.org/licenses/mit-license.php
 */

#basic-modal-content {
    display: none;
}

/* Overlay */
#simplemodal-overlay {
    background-color: #000;
}

/* Container */
#simplemodal-container {
    width: 600px;
    height: auto;
    color: #bbb;
    background-color: #fff;
    border: 4px solid #eee;
    padding: 12px;
}

#simplemodal-container .simplemodal-data {
    padding: 8px;
}

#simplemodal-container code {
    background: #141414;
    border-left: 3px solid #65B43D;
    color: #bbb;
    display: block;
    font-size: 12px;
    margin-bottom: 12px;
    padding: 4px 6px 6px;
}

#simplemodal-container a {
    color: #000;
}

#simplemodal-container a.modalCloseImg {
    background: url(/images/x.png) no-repeat;
    width: 25px;
    height: 29px;
    display: inline;
    z-index: 3200;
    position: absolute;
    top: -15px;
    right: -16px;
    cursor: pointer;
}

#simplemodal-container h3 {
    color: #84b8d9;
}



div#modalEditor {
    display: none;
}

div#modalEditor label {
    color: #000;
}

div#editor-caption,
div#editor-print-size,
div#editor-message {
    display: inline-block;
}

div#editor-message {
    color: #f00;
}

div#editor-caption label,
div#editor-print-size label {
    cursor: pointer;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    padding: 2px 5px;
    margin: 5px 2px 5px 0;
}

div#modalEditor label.active {
    background-color: #f9ff94;
}

div#modalEditor input[type=radio] {
    display: none;
}

div#modalEditor #editor-photo>div {
    position: relative;
    width: 584px;
    text-align: center;
}

div#modalEditor .editor-photo-guard {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
    background-color: #000;
    opacity: 0.5;
}

div#modalEditor div#editor-photo-trim {
    position: absolute;
    border: 2px solid #ccc;
    display: block;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
}

div#modalEditor div#editor-photo-sensor {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
}

div#modalEditor div.editor-photo-control {
    position: absolute;
    display: block;
    border: 1px solid #ccc;
    background: #fff;
    width: 10px;
    height: 10px;
    left: 0;
    top: 0;
}

div#modalEditor div#editor-photo-caption {
    position: absolute;
    display: block;
    background: transparent no-repeat 0 0;
    background-size: cover;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
}


.btn-editor {
    display: block;
    width: 224px;
    height: 28px;
    margin: 0 auto;
    background: url(../images/btn_editor.png) no-repeat 0 0;
    margin-bottom: 5px;
}

.btn-goods {
    display: block;
    width: 224px;
    height: 28px;
    margin: 0 auto;
    background: url(../images/btn_goods.png) no-repeat 0 0;
    margin-bottom: 5px;
}

.btn-decoration {
    display: block;
    width: 224px;
    height: 28px;
    margin: 0 auto;
    background: url(../images/btn_decoration.png) no-repeat 0 0;
    margin-bottom: 5px;
}


.btn-dl {
    display: block;
    width: 224px;
    height: 28px;
    margin: 0 auto;
    background: url(../images/btn_download.png) no-repeat 0 0;
    margin-bottom: 5px;
}

div#modalEditor .btn_cart_mini {
    display: inline-block;
    width: 65px;
    height: 20px;
    margin: 0 auto;
    background: url(../images/btn_cart_mini.png) no-repeat 0 0;
    float: right;
}

.btn_decoration_mini {
    display: inline-block;
    width: 65px;
    height: 20px;
    margin: 0 5px;
    background: url(../images/btn_decoration_mini.png) no-repeat 0 0;
    float: right;
}

/*スマホ対応 */
@media screen and (max-width: 770px) {
    .btn-editor {
        display: none;
    }
}


.photo-name .text_period {
    font-size: 12px;
    margin: 2px;
    padding: 5px;
    border: 1px solid #ead7c0;
    border-radius: 2px;
    background-color: #fffbed;
    margin-bottom: -20px;
}

div.download-box {
    font-size: 12px;
    margin: 2px;
    padding: 0;
    border: 1px solid #1489ca;
    border-radius: 2px;
    background-color: #cee9fc;
    margin-bottom: -20px;
}

div.download-box div.download-box-head {
    margin: 0;
    padding: 5px;
    background-color: #1489ca;
    color: #cee9fc;
}

div.download-box div.download-box-body {
    margin: 2px;
    padding: 5px;
}

#editor-caption-form {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;

    display: none;
}

#editor-caption-form table {
    background: #fff;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#editor-caption-form td {
    text-align: left;
}

#editor-caption-form p {
    font-size: 24px;
    color: #000;
    margin-top: 20px;
}

#editor-caption-form input {
    width: 90%;
}

#editor-caption-form th {
    color: #000;
}

#editor-caption-form select {}

#editor-caption-form button.btn_caption {
    width: 100px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-radius: 2px;
    background-color: #cee9fc;
    font-size: 16px;
}

.btn_caption_mini {
    display: inline-block;
    width: 65px;
    height: 20px;
    margin: 0 5px;
    background: url(../images/btn_caption_mini.png) no-repeat 0 0;
    float: right;
}

#editor-decoration-form {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    text-align: center;
    overflow-y: scroll;
}

#editor-decoration-form p {
    font-size: 24px;
    color: #000;
    margin: 0;
    padding: 5px;
    width: 100%;
    background: #eee;
    margin-bottom: 10px;
}

#editor-decoration-form ul {
    width: 580px;
    margin: 0 30px;
    text-align: left;
}

#editor-decoration-form li {
    display: inline-block;
    width: 180px;
    height: 180px;
    margin: 2px;
    color: #000;
}

#editor-decoration-form li div.decoration-image div {
    border: 2px solid #eee;
    z-index: 2;
}

#editor-decoration-form li label.active div.decoration-image div {
    border: 2px solid #f9ff94;
    z-index: 2;
}

#editor-decoration-form label div.decoration-name {
    font-size: 12px;
    line-height: 16px;
    background: #eee;
    padding: 2px;
    width: 180px;
}

#editor-decoration-form label.active div.decoration-name {
    font-size: 12px;
    line-height: 16px;
    background-color: #f9ff94;
}

div#modalEditor #editor-decoration-form label.active {
    background-color: none;
}

#editor-decoration-form label div.decoration-image {
    margin: 0;
    height: 184px;
}

div#modalEditor .btn_decoration_mini {
    display: none;
}

div#modalEditor.mode-decoration .btn_decoration_mini {
    display: block;
}

div#modalEditor.mode-decoration .btn_caption_mini {
    display: none;
}

div#modalEditor.mode-decoration #editor-caption {
    display: none;
}

div#modalEditor #editor-caption span {
    color: #000;
}

p.h-download {
    line-height: 20px;
    text-indent: 20px;
    background: url(../images/160225/title_dl.png) no-repeat left center;
    margin-left: 2px;
    margin-bottom: 5px;
}

a.btn-download {
    display: block;
    width: 224px;
    height: 37px;
    margin: 0 auto;
    background: url(../images/160630/btn_blue.png) no-repeat 0 0;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #444;
    line-height: 37px;
    margin-bottom: 5px;
}

a.btn-download-buy {
    display: block;
    width: 224px;
    height: 37px;
    margin: 0 auto;
    background: url(../images/160630/btn_blue.png) no-repeat 0 0;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #444;
    line-height: 37px;
    margin-bottom: 5px;
}

p.h-photo {
    line-height: 20px;
    text-indent: 25px;
    background: url(../images/160225/title_photo.png) no-repeat left center;
    margin-left: 2px;
    margin-bottom: 5px;
    margin-top: 15px;
}

a.btn-editor {
    display: block;
    width: 224px;
    height: 37px;
    margin: 0 auto;
    background: url(../images/160630/btn_orange.png) no-repeat 0 0;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #444;
    line-height: 37px;
    margin-bottom: 5px;
}

a.btn-decoration {
    display: block;
    width: 224px;
    height: 37px;
    margin: 0 auto;
    background: url(../images/160630/btn_orange.png) no-repeat 0 0;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #444;
    line-height: 37px;
    margin-bottom: 5px;
}

a.btn-cart {
    display: block;
    width: 224px;
    height: 37px;
    margin: 0 auto;
    background: url(../images/160630/btn_orange.png) no-repeat 0 0;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #444;
    line-height: 37px;
    margin-bottom: 5px;
}

p.h-goods {
    line-height: 20px;
    text-indent: 20px;
    background: url(../images/160225/title_goods.png) no-repeat left center;
    margin-left: 2px;
    margin-bottom: 5px;
    margin-top: 15px;
}

a.btn-goods {
    display: block;
    width: 224px;
    height: 37px;
    margin: 0 auto;
    background: url(../images/160630/btn_pink.png) no-repeat 0 0;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #444;
    line-height: 37px;
    margin-bottom: 40px;
}

.goods-template-select li {
    float: left;
    margin: 20px;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fcfcfc;
    width: 150px;
    height: 200px;
}

.goods-select li {
    position: relative;
    /*float:  left;*/
    margin: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    background-color: #fcfcfc;
}

.goods-select li a.img {
    display: block;
    width: 150px;
    height: 150px;
    border: 1px solid #ccc;
}

.goods-select div.goods-right {
    position: absolute;
    top: 0;
    width: 100%;
    height: 160px;
}

.goods-select li p.name {
    color: #222;
    padding: 1px;
    font-size: 22px;
    margin: 10px 0 5px 0;
    margin-left: 170px;
}

.goods-select li p.description {
    color: #222;
    padding: 1px;
    margin-left: 170px;
}

.goods-select li a.btn {
    border: 1px solid #ccc;
    background-color: #fff;
    color: #222;
    padding: 5px;
    position: absolute;
    bottom: 0;
    right: 25px;
    text-decoration: none;
    display: block;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #02b0e6), color-stop(0.00, #99dff5));
    background: -webkit-linear-gradient(top, #99dff5 0%, #02b0e6 100%);
    background: -moz-linear-gradient(top, #99dff5 0%, #02b0e6 100%);
    background: -o-linear-gradient(top, #99dff5 0%, #02b0e6 100%);
    background: -ms-linear-gradient(top, #99dff5 0%, #02b0e6 100%);
    background: linear-gradient(top, #99dff5 0%, #02b0e6 100%);
    color: #fff;
}

#goods-h {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #02b0e6), color-stop(0.00, #99dff5));
    background: -webkit-linear-gradient(top, #99dff5 0%, #02b0e6 100%);
    background: -moz-linear-gradient(top, #99dff5 0%, #02b0e6 100%);
    background: -o-linear-gradient(top, #99dff5 0%, #02b0e6 100%);
    background: -ms-linear-gradient(top, #99dff5 0%, #02b0e6 100%);
    background: linear-gradient(top, #99dff5 0%, #02b0e6 100%);
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

a.btn-trim {
    display: block;
    width: 162px;
    height: 50px;
    background-image: url(/images/crop_btn.png);
    background-repeat: no-repeat;
    text-indent: -9999px;
    float: left;
    margin-left: 10px;
}


div.modalGoods {
    display: none;
}

div.modalGoods label {
    color: #000;
}

div.modalGoods div.editor-message {
    display: inline-block;
}

div.modalGoods div.editor-message {
    color: #f00;
}

div.modalGoods div.editor-photo>div {
    position: relative;
    width: 584px;
    text-align: center;
}

div.modalGoods .editor-photo-guard {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
    background-color: #000;
    opacity: 0.5;
}

div.modalGoods div.editor-photo-trim {
    position: absolute;
    border: 2px solid #ccc;
    display: block;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
}

div.modalGoods div.editor-photo-sensor {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
}

div.modalGoods div.editor-photo-control {
    position: absolute;
    display: block;
    border: 1px solid #ccc;
    background: #fff;
    width: 10px;
    height: 10px;
    left: 0;
    top: 0;
}

div.modalGoods div.editor-photo-caption {
    position: absolute;
    display: block;
    background: transparent no-repeat 0 0;
    background-size: cover;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
}

div#sizeChooserWrapper {
    display: none;
}

div#sizeChooser dd.printSize p {
    top: 5px;
    position: relative;
    color: #000;
    font-size: 12px;
    line-height: 16px;
}

div#sizeChooser {
    display: block;
    background: #fff;
    margin: 0 auto;
    margin-bottom: 50px;
}

div#sizeChooser dl {}

div#sizeChooser dl dt {
    display: inline-block;
    width: 112px;
    height: 37px;
    margin: 0;
    margin-bottom: 5px;
}

div#sizeChooser dl dt a {
    background-color: #ffe4ca;
    display: block;
    width: 112px;
    height: 37px;
    margin: 0 auto;
    background: url(../images/btn_orange_mini.png) no-repeat 0 0;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #444;
    line-height: 37px;
    margin-bottom: 5px;
}

div#sizeChooser dl dd {
    display: inline-block;
    width: 160px;
    height: 37px;
    margin: 0 auto;
    color: #444;
    line-height: 37px;
    margin-bottom: 5px;

}


.account_img {
    display: inline;
    float: left;
    padding: 1em 0 1em 0;
}

.account ul li {
    display: block;
    float: left;
}

.account ul li a {
    display: block;
    overflow: hidden;
    padding: 0.96em;
    position: relative;
}



.portal_thumbnail li {
    float: left;
    background-color: #ECECEC;
    width: 59px;
    height: 44px;
    margin: 0 6px 6px 0;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    layout-grid-line: 20px;
}

/* 画像断ち切り枠の文字に対するクラス */
.print-size-preview-guard_text {
    color: #df5a02;
    font-weight: bold;
}

/* 写真の出力サイズをオンマウス時に適用するclass 画像断ち切り枠が横に表示される場合*/
.horizontal-under-13-top {
    margin-top: -16.5px;
}

.horizontal-under-13-bottom {
    margin-top: 1px;
}

.horizontal-12-top {
    margin-top: -16.5px;
}

.horizontal-12-bottom {
    margin-top: 10px;
}

.horizontal-under-14-bottom {
    margin-top: 10px;
}

.horizontal-14 {
    margin-top: -6px;
}

.horizontal-17 {
    margin-top: -3px;
}

.horizontal-28 {
    font-size: 120%;
    margin-top: 1px;
}

/* 写真の出力サイズをオンマウス時に適用するclass 画像断ち切り枠が縦に表示される場合*/
.vertical-under-7-right {
    margin-top: 150px;
}

.vertical-under-7-left {
    margin-top: 150px;
    margin-left: -12px;
}

.vertical-8-right {
    margin-top: 150px;
}

.vertical-8-left {
    margin-top: 150px;
    margin-left: -2px;
}

.vertical-10 {
    margin-top: 150px;
    font-size: 120%;
}

.vertical-14 {
    margin-top: 150px;
    font-size: 120%;
}

.vertical-20 {
    margin-top: 150px;
    font-size: 120%;
}

.vertical-30 {
    margin-top: 150px;
    font-size: 170%;
}

.vertical-40 {
    margin-top: 100px;
    font-size: 200%;
    line-height: 30px;
}

.vertical-60 {
    margin-top: 60px;
    font-size: 280%;
    line-height: 35px;
}

/* mobile表示 */
.small-horizon {
    margin-top: -15px;
}

.small-horizon-top-7 {
    margin-top: -15px;
}

.small-horizon-bottom-7 {
    /* margin-top: -20px; */
}

.small-horizon-13 {
    margin-top: -3px;
}

.small-vertical-left {
    margin-left: -12px;
    margin-top: 25px;
}

.small-vertical-right {
    margin-top: 25px;
}

.small-vertical-margin-top {
    margin-top: 25px;
}

.small-vertical-6-left {
    margin-left: -17px;
    margin-top: 25px;
}

.small-vertical-6-right {
    margin-right: -14px;
    margin-top: 25px;
}

.small-vertical-margin-top-20 {
    /* font-size: 80%; */
}

.small-vertical-margin-top-29 {
    font-size: 120%;
}

.small-vertical-margin-top-32 {
    font-size: 140%;
}

/* ============================================================
   browse_detail リニューアル
   ============================================================ */

#detail #container {
    padding-bottom: 60px;
}
/* ホワイトラベル適用ページは下部余白なし */
body.wl-active #detail #container {
    padding-bottom: 0;
}
body.wl-active .detail-goods-section {
    margin-bottom: 0;
}

/* タイトルバー: x=26 y=336 w=12 h=40 */
/* panel y=320, title y=336: 16px下 → detail-layoutのtop=0=y320, title margin-top=16px */
.detail-photo-name {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    height: 40px;
    margin: 16px 0 0;
    padding: 0 0 0 16px;
    border-left: 12px solid #0072FF;
    background: #fff;
    box-sizing: border-box;
}

.detail-photo-name__code {
    font-size: 22px;
    font-weight: bold;
    color: #222;
    white-space: nowrap;
}

.detail-photo-name .text_period {
    font-size: 16px;
    font-weight: normal;
    color: #555;
    white-space: nowrap;
}

.detail-photo-name .favorite {
    font-size: 16px;
    font-weight: normal;
    margin-left: auto;
    white-space: nowrap;
}

/* メインレイアウト: x=26 写真600px + gap20px + パネル299px = 919px, right end x=945 */
/* panel y=320, banner end y=302 → margin-top=18px */
.detail-layout {
    display: flex !important;
    gap: 20px;
    align-items: stretch;
    justify-content: flex-start;
    margin-top: 0;
    margin-bottom: 24px;
    width: 960px;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 左：写真エリア x=26 w=600 */
.detail-photo-area {
    flex: 0 0 600px;
    width: 600px;
    max-width: 600px;
    box-sizing: border-box;
    overflow: hidden;
    align-self: flex-start;
}

/* 動画時: 購入パネルなしで写真を中央寄せ */
.detail-layout--video {
    justify-content: center;
}

/* 動画時: 購入パネルなしで全幅 */
.detail-purchase-panel-spacer {
    flex: 0 0 300px;
    width: 300px;
    margin-top: 16px;
    align-self: flex-start;
    height: 0;
}

.detail-photo-name-spacer {
    flex: 0 0 320px;
}

.detail-photo-area--video #photo > div {
    background-size: contain !important;
    background-color: #f5f5f5 !important;
}

/* photo + print-size-preview overlay wrapper */
/* title bar ends y=376, photo starts y=389 → margin-top=13px */
.photo-wrapper {
    position: relative;
    width: 600px;
    margin-top: 13px;
}

/* 写真上の左右ナビ化矢印オーバーレイ */
.photo-nav {
    position: absolute;
    top: 0;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 20;
}

.photo-nav--prev {
    left: 0;
}

.photo-nav--next {
    right: 0;
}

.photo-nav svg {
    display: block;
}

.photo-zoom-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: #fff;
    border: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    padding: 0;
}

.photo-zoom-btn:hover {
    background: #f0f0f0;
}

.photo-zoom-btn svg {
    display: block;
}

/* 写真拡大モーダル */
#photo-zoom-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 9000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#photo-zoom-modal-close {
    position: absolute;
    top: -24px; right: 0;
    transform: translateY(-100%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 9001;
    line-height: 0;
}

#photo-zoom-container {
    position: relative;
    display: inline-block;
}

#photo-zoom-inner {
    display: block;
}

#photo-zoom-magnify {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid #ccc;
    display: none;
    z-index: 100;
    pointer-events: none;
}

#photo-zoom-sensor {
    position: absolute;
    top: 0; left: 0;
    z-index: 200;
    cursor: crosshair;
}

/* 写真ボックス: y=389 w=600 h=558 */
#detail .detail-photo-area #photo {
    position: relative;
    width: 600px;
    height: 558px;
    overflow: hidden;
    margin: 0 0 8px;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #878787;
}

/* print-size-preview: absolute overlay on photo */
/* 2L: x=498 y=405, photo x=26 y=389 → top=16, right=80 */
/* A4: x=562 y=405 → right=16 */
/* gap between buttons: 562-546=16px */
#detail .detail-photo-area div#print-size-preview {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: row;
    gap: 16px;
    z-index: 10;
}

#detail .detail-photo-area #photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#detail .detail-photo-area .pager {
    width: 600px;
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
}

.caption-notice {
    font-size: 12px;
    color: #df5a02;
    font-weight: bold;
    margin: 4px 0;
}

/* 右：購入パネル x=646 y=320 w=299 h=626 rx=12 */
.detail-purchase-panel {
    flex: 0 0 300px;
    width: 300px;
    align-self: stretch;
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: visible;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-top: 16px;
    display: flex;
    flex-direction: column;
}


/* 商品を購入 タイトル */
.purchase-panel-title {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    color: #222;
    padding: 24px 24px 16px;
}

.purchase-panel-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: rgba(0,0,0,0.2);
}

/* サイズ名と寸法を横並び */
.purchase-size-namerow {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.purchase-size-namerow .purchase-size-name {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0;
}

.purchase-size-namerow .purchase-size-dim {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

/* サイズ行の間の区切り */
.purchase-size-row {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: none;
    background-image: repeating-linear-gradient(to right, rgba(0,0,0,0.2) 0px, rgba(0,0,0,0.2) 8px, transparent 8px, transparent 12px);
    background-position: bottom;
    background-size: 100% 1px;
    background-repeat: no-repeat;
}

.purchase-size-row:last-of-type {
    border-bottom: none;
    background-image: none;
    margin-bottom: 10px;
}

/* セクション基本 */
.purchase-section {
    position: relative;
    padding: 16px 24px;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.purchase-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: rgba(0,0,0,0.2);
}

.purchase-section:last-child::after {
    display: none;
}

/* DLセクション */
.purchase-section--dl {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 24px;
    box-sizing: border-box;
}

/* サイズセクション */
.purchase-section--size {
    padding: 16px 24px 24px;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.purchase-section--size:last-of-type::after {
    display: none;
}

/* セクションヘッダー: アイコン+テキスト */
.purchase-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
}

.purchase-section-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.purchase-section-icon svg {
    display: block;
    vertical-align: middle;
}

.purchase-section-body {
    padding: 0;
}

/* DL解像度テキスト */
.purchase-dl-res-row {
    display: block;
    margin-bottom: 8px;
}

.purchase-dl-res {
    font-size: 16px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 10px;
}

/* サイズ名 */
.purchase-size-name {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

/* 寸法テキスト */
.purchase-size-dim {
    font-size: 16px;
    color: #666;
    margin-bottom: 6px;
}

/* 価格: 赤太字 */
.purchase-price {
    font-size: 26px;
    font-weight: bold;
    color: #e03030;
    margin-bottom: 8px;
    line-height: 1.2;
    width: 100%;
}

.purchase-tax {
    font-size: 15px;
    font-weight: bold;
    color: #e03030;
}

/* 価格と数量のラッパー（SP: 横並び, PC: そのまま） */
.purchase-size-price-qty-row {
    display: block;
}

/* 数量入力 */
.purchase-size-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.qty-input {
    width: 90px;
    height: 30px;
    padding: 0 4px;
    border: 1px solid #999;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    box-sizing: border-box;
}

/* ネイティブスピナー非表示 */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
}
.qty-input[type=number] {
    -moz-appearance: textfield;
}

/* カスタムスピナー */
.qty-spinner {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.qty-spinner-btns {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 13px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #333;
    font-size: 9px;
    line-height: 1;
}
.qty-btn:hover {
    color: #000;
}

/* カートボタン: w=252 h=40 rx=20 #0072FF */
.purchase-btn,
.purchase-btn:link,
.purchase-btn:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 252px;
    height: 40px;
    line-height: 1;
    background: #0072FF;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    box-sizing: border-box;
    margin-top: auto;
    letter-spacing: 0.15em;
}

.btn-cart-icon {
    flex-shrink: 0;
    display: block;
}

.purchase-btn:hover,
.purchase-btn:active {
    background: #005bd6;
    color: #fff;
    text-decoration: none;
}

.purchase-btn-sub {
    display: block;
    width: 252px;
    height: 40px;
    line-height: 40px;
    background: #f5a623;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 20px;
    font-size: 17px;
    font-weight: bold;
    box-sizing: border-box;
    margin-top: 8px;
}


/* グッズセクション: x=26 y=967 w=919 h=1004 rx=12 border=#ccc */
.detail-goods-section {
    margin: 20px 20px 40px;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.detail-goods-section--video {
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

.detail-goods-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 2px;
}

.detail-goods-count {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}
.detail-goods-count strong {
    font-size: 20px;
    font-weight: bold;
}

/* グッズカード: w=872 h=200 rx=12 shadow */
.detail-goods-card {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 14px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.detail-goods-card-top {
    display: contents;
}

.detail-goods-card:last-child {
    margin-bottom: 0;
}

/* サムネイル: w=200 h=147 */
.detail-goods-thumb {
    flex: 0 0 200px;
    width: 200px;
    height: 147px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-right: 16px;
}

.detail-goods-thumb img {
    max-width: 200px;
    max-height: 147px;
    object-fit: contain;
}

.detail-goods-thumb-empty {
    width: 200px;
    height: 147px;
    background: #f0f0f0;
    border-radius: 4px;
}

.detail-goods-info {
    flex: 1;
    min-width: 0;
    padding-right: 16px;
}

.detail-goods-name {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.detail-goods-desc {
    font-size: 12px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.detail-goods-price {
    font-size: 26px;
    font-weight: bold;
    color: #e03030;
    line-height: 1.2;
}

/* グッズカートボタン: w=211 h=40 rx=20 */
.detail-goods-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.detail-goods-action {
}

.detail-goods-action .purchase-btn {
    width: 211px;
    margin-top: 0;
}

/* グッズ購入モーダル */
.goods-modal {
    position: relative;
    background: #fff;
    border-radius: 20px;
    width: 592px;
    /* 閉じるボタン(36px)+margin-top(12px)+gap(12px)+下余白 を差し引き、
       ボタンからモーダル全体が画面内に収まるようにする */
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    overscroll-behavior: contain;
    margin-bottom: 0;
}

/* handle/appbar hidden on PC */
.goods-modal-handle-bar,
.goods-modal-appbar {
    display: none;
}

.goods-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    padding: 16px 0;
    box-sizing: border-box;
}

.goods-modal-close {
    align-self: flex-end;
    margin-right: calc(50% - 296px);
    margin-top: 12px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    flex-shrink: 0;
}

.goods-modal-thumb {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 20px 20px 0 0;
    overflow: visible;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 40px 0;
    box-sizing: border-box;
}

.goods-modal-thumb img {
    width: auto;
    max-width: 100%;
    height: auto;
    /* 横長画面でも画像＋閉じるボタンが収まるよう、比率を保ったまま縮小 */
    max-height: 55vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.goods-modal-zoom {
    position: absolute;
    bottom: 10px;
    right: 40px;
    width: 36px;
    height: 36px;
    background: #000;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.goods-modal-body {
    padding: 20px 36px 24px;
}

.goods-modal-name {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    margin-bottom: 16px;
}

.goods-modal-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
    padding-bottom: 28px;
    background-image: repeating-linear-gradient(to right, rgba(0,0,0,0.2) 0px, rgba(0,0,0,0.2) 8px, transparent 8px, transparent 12px);
    background-position: bottom;
    background-size: 100% 1px;
    background-repeat: no-repeat;
}

#goods-modal-name-input-wrap {
    margin-top: 28px;
}

.goods-modal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.goods-modal-label {
    font-size: 17px;
    font-weight: bold;
    color: #333;
}

.goods-modal-qty-input {
    width: 120px;
    height: 40px;
    border: 1px solid #000;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    box-sizing: border-box;
    padding: 0 4px;
}

.goods-modal-input-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    gap: 48px;
}

.goods-modal-input-wrap:first-child {
    margin-top: 32px;
}

.goods-modal-input-label {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    width: 100px;
    min-width: 100px;
    white-space: nowrap;
}

.goods-modal-text-input {
    flex: 1;
    width: 0;
    min-width: 0;
    height: 40px;
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    padding: 0 10px;
    margin-left: 0;
}

select.goods-modal-text-input {
    padding: 0 6px;
    height: 40px;
    font-size: 15px;
    appearance: auto;
    -webkit-appearance: auto;
}

.goods-modal-textarea-input {
    flex: 1;
    height: 80px;
    min-height: 80px;
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    padding: 8px 10px;
    margin-left: 48px;
    resize: none;
    line-height: 1.5;
}

.goods-modal-text-input::placeholder,
.goods-modal-textarea-input::placeholder {
    letter-spacing: 1.1px;
}

.goods-modal-qty-input::-webkit-inner-spin-button,
.goods-modal-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.goods-modal-qty-input {
    -moz-appearance: textfield;
}

.goods-modal-qty-spinner {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.goods-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
}

.goods-modal-footer--wrap {
    flex-wrap: wrap;
    row-gap: 12px;
}


.goods-modal-footer--sm .goods-modal-price {
    font-size: 36px;
}

.goods-modal-footer--sm .goods-modal-yen,
.goods-modal-footer--sm .goods-modal-tax {
    font-size: 18px;
}

.goods-modal-footer--wrap .goods-modal-cart-btn,
.goods-modal-footer--wrap .goods-modal-cart-btn:link,
.goods-modal-footer--wrap .goods-modal-cart-btn:visited {
    margin-left: auto;
}

/* SP qty input hidden on PC, PC qty row hidden on SP */
.goods-modal-qty-sp {
    display: none;
}

.goods-modal-price-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.goods-modal-price {
    font-size: 48px;
    font-weight: bold;
    color: #e03030;
    white-space: nowrap;
    line-height: 1.2;
}

.goods-modal-yen {
    font-size: 22px;
    font-weight: bold;
    color: #e03030;
    margin-left: 6px;
}

.goods-modal-tax {
    font-size: 22px;
    font-weight: bold;
    color: #e03030;
    margin-left: 3px;
}

.goods-modal-cart-btn,
.goods-modal-cart-btn:link,
.goods-modal-cart-btn:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    width: 241px;
    height: 64px;
    background: #0072FF;
    color: #fff;
    border-radius: 38px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.15em;
}

.goods-modal-cart-btn:hover,
.goods-modal-cart-btn:active {
    background: #005bd6;
    color: #fff;
    text-decoration: none;
}

/* SP対応 */
@media screen and (max-width: 770px) {
    .detail-layout {
        flex-direction: column;
        width: 100%;
        padding: 0 12px;
    }

    .detail-photo-area {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .photo-wrapper {
        width: 100%;
    }

    #detail .detail-photo-area #photo {
        width: 100%;
        height: auto;
        min-height: 200px;
    }

    #detail .detail-photo-area #photo img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: none;
    }

    #detail .detail-photo-area #photo div[style*="background-image"] {
        width: 100% !important;
        background-size: contain !important;
        background-color: #f5f5f5;
    }

    #detail .detail-photo-area .pager {
        width: 100%;
    }

    .detail-photo-name {
        width: 100%;
        height: auto;
        min-height: 40px;
    }

    .detail-purchase-panel {
        flex: none;
        width: 100%;
        margin-top: 0;
    }

    .purchase-btn {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
        margin-top: 8px;
    }

    .purchase-btn-sub {
        width: 100%;
    }

    .detail-goods-card {
        flex-direction: column;
        padding: 14px;
        gap: 10px;
        align-items: stretch;
    }

    .detail-goods-card-top {
        display: flex;
        flex-direction: row;
        gap: 12px;
        align-items: stretch;
    }

    .detail-goods-info {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-right: 0;
    }

    .detail-goods-thumb {
        flex: 0 0 110px;
        width: 110px;
        height: 80px;
        margin-right: 0;
        overflow: hidden;
        align-self: flex-start;
    }

    .detail-goods-thumb > div[style] {
        width: 110px !important;
        height: 80px !important;
        max-width: 110px !important;
    }

    .detail-goods-thumb img {
        max-width: 110px;
        max-height: 80px;
    }

    .detail-goods-thumb-empty {
        width: 110px;
        height: 80px;
    }

    .detail-goods-info {
        flex: 1;
        padding-right: 0;
    }

    .detail-goods-name {
        font-size: 16px;
    }

    .detail-goods-desc {
        display: none;
    }

    .detail-goods-price {
        font-size: 20px;
    }

    .detail-goods-price-row {
        justify-content: flex-end;
    }

    .detail-goods-action {
        display: none;
    }

    .detail-goods-card {
        cursor: pointer;
    }

    /* goods modal → bottom sheet on SP */
    .goods-modal-overlay {
        align-items: flex-end;
        justify-content: flex-end;
        background: rgba(0,0,0,0.45);
    }

    .goods-modal {
        width: 100%;
        max-width: 100%;
        border-radius: 18px 18px 0 0;
        max-height: 92vh;
        transform: translateY(100%);
        transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
        will-change: transform;
        margin: 0;
        overflow-y: hidden;
        display: flex;
        flex-direction: column;
    }

    .goods-modal-scroll {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        overscroll-behavior: contain;
        flex: 1;
        min-height: 0;
    }

    .goods-modal.bs-open {
        transform: translateY(0);
    }

    .goods-modal-close {
        display: none;
    }

    .goods-modal-handle-bar {
        display: flex;
        justify-content: center;
        padding: 10px 0 4px;
        cursor: grab;
        user-select: none;
    }

    .goods-modal-handle-bar::after {
        content: '';
        display: block;
        width: 36px;
        height: 4px;
        border-radius: 2px;
        background: #ccc;
    }

    .goods-modal-appbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 4px 16px 12px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.12);
        position: relative;
        z-index: 10;
    }

    #photo-zoom-modal-close svg {
        width: 24px;
        height: 24px;
    }

    .detail-photo-name .favorite {
        margin-right: 12px;
        margin-left: auto;
        flex-shrink: 0;
        align-self: flex-end;
    }

    .detail-photo-name {
        height: auto;
        min-height: 40px;
        flex-wrap: wrap;
        align-items: flex-start;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .detail-photo-name__code {
        flex: 1;
        min-width: 0;
        white-space: normal;
        word-break: break-all;
    }

    .goods-modal-appbar-close {
        color: #e03030;
        font-size: 15px;
        font-weight: bold;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px 0;
    }

    .goods-modal-appbar-title {
        font-size: 15px;
        font-weight: bold;
        color: #222;
    }

    .detail-goods-section {
        margin: 20px 0 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 16px 12px;
    }

    .goods-modal-qty-pc {
        display: none;
    }

    .goods-modal-qty-sp {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .goods-modal-qty-sp .goods-modal-qty-input {
        width: 70px;
    }

    .goods-modal-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .goods-modal-footer--no-input {
        margin-top: 28px;
    }

    .goods-modal-price-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .goods-modal-thumb {
        padding: 24px 16px 0;
    }

    .goods-modal-body {
        padding: 16px 16px 24px;
    }

    .goods-modal-name {
        font-size: 20px;
    }

    .goods-modal-desc {
        font-size: 14px;
    }

    .goods-modal-input-label {
        font-size: 14px;
    }

    .goods-modal-input-wrap:first-child {
        margin-top: 28px;
    }

    .goods-modal-input-label {
        width: 70px;
        min-width: 70px;
    }

    .goods-modal-text-input,
    .goods-modal-textarea-input {
        margin-left: 0;
    }

    .goods-modal-textarea-input {
        height: 120px;
        min-height: 120px;
    }

    .goods-modal-label {
        font-size: 14px;
    }

    .goods-modal-yen,
    .goods-modal-tax {
        font-size: 14px;
    }

    .goods-modal-price {
        font-size: 28px;
    }

    .goods-modal-cart-btn,
    .goods-modal-cart-btn:link,
    .goods-modal-cart-btn:visited {
        width: 100%;
        height: 52px;
        border-radius: 26px;
        font-size: 16px;
    }

    /* SP: sub_cart_sp内のDL・プリント購入ボタンと説明文を非表示 */
    .sub_cart_sp a.btn-download,
    .sub_cart_sp a.btn-download-buy,
    .sub_cart_sp a.btn-cart,
    .sub_cart_sp > p {
        display: none !important;
    }

    /* DL購入 SP: 解像度の上、価格を右下 */
    .purchase-dl-res-row {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 8px;
    }

    .purchase-dl-res-row .purchase-price {
        margin-bottom: 0;
        white-space: nowrap;
        text-align: right;
        font-size: 24px;
    }

    /* サイズ指定購入 SP レイアウト */

    /* サイズ名行: 左にサイズ名+寸法（縦積み）、右に価格 */
    .purchase-size-namerow {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        row-gap: 8px;
        column-gap: 0;
        margin-bottom: 6px;
    }

    .purchase-size-namerow .purchase-size-name {
        font-size: 22px;
        font-weight: bold;
        white-space: nowrap;
        order: 1;
        margin-right: 12px;
    }

    .purchase-size-namerow .purchase-size-dim {
        font-size: 12px;
        white-space: nowrap;
        color: #888;
        order: 2;
    }

    .purchase-size-namerow .purchase-price {
        order: 3;
        flex: 0 0 100%;
        white-space: nowrap;
        text-align: right;
    }

    /* 価格はサイズ名行の右端へ */
    .purchase-size-price-qty-row {
        display: contents;
    }

    .purchase-price {
        font-size: 24px;
        margin-bottom: 0;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .purchase-tax {
        font-size: 12px;
        font-weight: bold;
    }

    /* 数量行 */
    .purchase-size-qty {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 10px;
        margin-bottom: 0;
        font-size: 16px;
    }

    .qty-input {
        width: 70px;
        height: 34px;
        font-size: 16px;
    }

    #detail #container {
        padding-bottom: 0;
    }

    #wrap {
        padding-bottom: 48px;
    }
}