h2 {
    font-size: 2.2rem;
}
h3 {
    font-size: 1.25em;
}
h3 a {
    color: #555;
}
h3 a:visited {
    color: #555;
}
h4 {
    font-size: 1.3rem;
}

.flex-container {
    width: 100%;
    margin: 10px auto;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
}

.flex-main-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.flex-main-info .image-thumb {
    height: 110px;
    max-height: 110px;
    min-height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.flex-main-info .item-link {
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2em;
    word-break: break-all;
}
.flex-main-info .item-link a {
    color: #0066cc;
    font-size: 100%;
    margin-bottom: 4px;
    font-weight: 900;
}

.flex-main-info .maker-name {
    font-weight: 600;
    font-size: 90%;
    margin: 6px 0px;
}

.flex-main-info .maker-name a {
    color: #0066cc;
    font-size: 100%;
    margin-bottom: 4px;
    font-weight: 900;
}

.flex-item {
    flex: 0 1 calc(33% - 3px);
    margin: 0px;
    padding: 5px 3px;
    border-bottom: 1px solid #ccc;
    width: 95%;
    min-width: 348px;
}

.flex-item h3 {
    margin: 0px 5px 25px 0px;
    text-align: left;
    font-weight: normal;
    background-color: #f2f3f4;
    *border-top: 0px solid #e6e6e6;
    *border-left: 0px solid #AE2126;
    *border-right: 2px solid #C6CAD4;
    *border-bottom: 2px solid #C6CAD4;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    clear: both;
    padding: 7px 12px 5px 12px;
    color: #555;
    -webkit-box-shadow: 2px 2px 0px 2px #C6CAD4;
    -moz-box-shadow: 2px 2px 0px 2px #C6CAD4;
    box-shadow: 2px 2px 0px 2px #C6CAD4;
}

.flex-item h3 a {
    padding: 0px 0px 0px 14px;
    background: url(/img/icon_arrow_org.gif) left center no-repeat;
    color: #444;
    padding-right: 5px;
    font-weight: 900;
    font-size: 1.01em;
}

.first-item {
    flex: 2;
}

.flex-image-text-wrapper {
    display: flex;
    align-items: center;
}

.flex-number {
    flex: 0 0 auto; 
    font-weight: bold; /* ナンバーをboldに */
    font-size: 90%;
    color: #000;
    height: 90px;
}

.flex-item .first-item .flex-number {
    font-size: 1.3em;
}

.flex-image {
    flex: 0 0 auto; /* grow, shrink, basis */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.flex-text {
    flex: 1;  /* allows it to take the remaining horizontal space */
    margin-top: 0;
}
.flex-text a {
    font-weight: 900;
    font-size: 1.01em;
    color: #0066cc;
}
.flex-text a:visited {
    color: #0066cc;
    text-decoration: none;
}

.flex-sub-item .flex-container {
    flex-direction: row;
    align-items: center;
}

.flex-sub-item .flex-item img {
    border: none;
    box-shadow: none;
    padding: 10px;
    height: auto;
}

.flex-item .image-size {
    width: 85px;
}

.flex-item .first-item .image-size {
    width: 160px;
}

.flex-text small a {
    color: #777;
    font-size: 0.91em;
    font-decoration: none;
}

.flex-more-wrapper {
    text-align: center;
    margin-top: 10px;
}

.flex-more-wrapper .more {
    color: #FFF;
    font-weight: bold;
    background: none;
    float: none;
    padding: 8px 0px 8px 0px;
    margin: 0px auto;
    text-align: center;
    background-color: #f0ad4e;
    border-bottom: 3px solid #A1A2A3;
    border-radius: 4px;
    font-size: 1.3em !important;
    width: 75%;
    display: block;
}

.flex-see-more {
    margin: 12px 3px 6px 3px;
    width: inherit;
    text-align: right;
}
.flex-sub-container {
    display: flex;
    flex-direction: column;
}

.flex-item-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.flex-item-status {
    text-align: right;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.flex-item-status .price {
    font-size: 140%;
    font-weight: 600;
    color: #b20000;
}

.flex-item-status .price_diff {
    font-size: 90%;
    padding: 0 0 0 80px;
    
}
.flex-item-status .item-cat a {
    font-size: 80%;
    color: #555;
}
.flex-in-stock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(16% - 2px);
    margin: 4px;
    justify-content: space-between;
    margin-bottom: 15px;
}

.flex-in-stock-item .product-name {
    width: 100%;
    text-align: center;
}

.flex-display-column {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.flex-display-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
.flex-display-center {
    justify-content: center;
}
.flex-product-title {
    display: flex;
    flex-direction: column;
  flex-direction: column;
  align-items: center;
  align-items: flex-start;
}

.flex-nouki .nouki {
    display: none;
}

.flex-datetime {
    font-size: 80%;
}

.flex-nouki {
    font-size: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 168px;
}

.flex-new h3 {
    margin: 12px 3px 6px 3px;
    text-align: left;
    font-weight: 900;
    background-color: #f2f3f4;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    clear: both;
    padding: 7px 12px 5px 12px;
    color: #555;
    -webkit-box-shadow: 2px 2px 0px 2px #C6CAD4;
    -moz-box-shadow: 2px 2px 0px 2px #C6CAD4;
    box-shadow: 2px 2px 0px 2px #C6CAD4;
}

.flex-image-box {
    flex-wrap: wrap;
    width: 100%;
}
