@media only screen and (max-width: 575px){
	table{
		table-layout: fixed;
	}

	input{
		max-width:100%;
	}

    input.select_file{
        display:block;
        margin-bottom:1rem;
    }
}

@media only screen and (max-width: 991px){
    input.select_file{
        display:block;
        margin-bottom:1rem;
    }
}

.l-breadcrumb{
    background-color: #dff2fc;
    padding:1rem 0;
}

.p-breadcrumb {
    margin-bottom: 0;
}

.error-message{
	color:#D00;
	font-weight: bold;
}

/*色の修正*/
.p-login {
    background-color: #dff2fc;
}

.l-header__top{
    background-color: #dff2fc;
}

.l-header__menu {
    background-color: #eb463c;
}

.p-sub-menu__item > a > span::before {
    border-top: 1px solid #eb463c;
    border-right: 1px solid #eb463c;
}

.p-article-list__item > a {
    background-color: #fce8e9;
}

.p-article-list__item>a:hover {
    background-color:#fbd6d7;
}

.p-main-menu__list {
    display: flex;
    border-left: 1px solid #fce8e9;
}

.p-main-menu__item {
    border-right: 1px solid #fce8e9;
}

.p-main-menu__item > a {
    background-color: #eb463c;
    min-height: 75px;
    padding: 0 0.5rem;
}

.p-main-menu__item>a:hover {
    background-color:#ff6a61;
}


.c-btn-primary {
    background-color: #eb463c;
}

.c-btn-primary:hover {
    background-color:#ff6a61;
}

.c-btn-outlined {
    border: 1px solid #333 !important;
}

.p-main__header {
    border-bottom: 2px solid #eb463c;
}

.c-user-content h2:not([class])::after,
.c-user-content h2[class^="u-"]::after,
.p-heading01::after {
    background-color: #eb463c;
}

.c-user-content h4:not([class])::before,
.c-user-content h4[class^="u-"]::before,
.p-heading05::before {
    background-color: #eb463c;
}

.c-user-content a {
    color: #eb463c;
}

.p-article-list__item > a span::after {
    border-top: 2px solid #eb463c;
    border-right: 2px solid #eb463c;
}

table th,
table td{
    vertical-align: top;
}

.c-user-content .c-form table tbody th{
    width:25%;
}

@media only screen and (max-width: 575px) {
    .c-user-content .c-form table tbody th{
        width:100%;
    }
}

.nowrap{
    white-space: nowrap;
}

#select_buyer_name_box{
    position:relative;
}

#select_buyer_name{
    position:absolute;
    left:0;
    top:40px;
    border-top:solid 1px #013c6b;
    z-index: 999;
    max-height:300px;
    overflow-y:scroll;
    display: none;
}

#select_buyer_name a{
    display:block;
    background-color: #ebf5f2;
    border:solid 1px #013c6b;
    border-top:none;
    padding:10px 10px;
    font-size:14px;
}

#selected_ow_buyer_accounts{
    border:solid 2px #013c6b;
    margin-top:10px;
    padding:10px;
}

.c-user-content .note {
    color:#777;
}

.c-alert p {
    font-size: 2.1rem !important;
}

.c-alert.-success {
    background-color: #daebfa;
    color: #1763a4;
}

.form-error{
    background-color: #f6eded;
}
.error-message{
    color:#DD0000;
}

.p-article-list[class*="-01"] .p-card__btn > a {
    font-size: 1.5rem;
}

.p-search-result-table__item .p-card__category{
    display: inline-block;
    width:8em;
    text-align: center;
    margin-bottom:0.5rem;
    border-radius: 4px;
    color:#FFF;
}

.p-card__category.-btob{
    background-color: #eb463c;
}

.p-card__category.-buyer{
    background-color: #f77c1e;;
}

@media only screen and (max-width: 575px) {
    .p-search-result-table__item-inner{
        display:block;
    }

    .p-search-result-table__item-text{
        margin-top:1rem;
    }

    .p-search-result-table__item-text.u-ml-3{
        margin-left:0 !important;
    }
}

th.pc,
td.pc {
    display: table-cell;
}

@media only screen and (max-width: 991px){
    th.pc,
    td.pc {
        display: none;
    }
}

.p-article-list__item > a.for-overseas{
    background-color:#e8ecfc;
}

.p-article-list__item > a.for-overseas span::after {
    border-top: 2px solid #3c51eb;
    border-right: 2px solid #3c51eb;
}

/*サジェスト*/
#select_for_overseas_maker_name_box{
    position:relative;
}

#select_for_overseas_maker_name{
    position:absolute;
    left:0;
    top:0;
    border-top:solid 1px #013c6b;
    z-index: 999;
    max-height:300px;
    overflow-y:scroll;
    display: none;
}

#select_for_overseas_maker_name a{
    display:block;
    background-color: #ebf5f2;;
    border:solid 1px #013c6b;
    border-top:none;
    padding:10px 10px;
    font-size:14px;
}

.l-header__menu{
    background-color: #013c6b;
}

.p-main-menu__item > a {
    background-color: #013c6b;
}

.p-main-menu__item > a:hover{
    background-color: #0084ca;
}

.p-article-list__item > a {
    background-color: #d3f0ff;
}

.p-article-list__item > a:hover{
    background-color: #bde6fb;
}

.p-article-list__item > a span::after {
    border-top: 2px solid #013c6b;
    border-right: 2px solid #013c6b;
}

.p-sub-menu__item > a > span::before{
    border-top: 1px solid #013c6b;
    border-right: 1px solid #013c6b;
}

.c-btn-primary {
    background-color: #013c6b;
}

.c-btn-primary:hover{
    background-color: #0084ca;
}

.c-user-content a {
    color: #013c6b;
}

.c-pagination__page-num > a,
.c-pagination__page-num > span,
.c-pagination__page-current,
.c-pagination__prev > a,
.c-pagination__next > a {
    border: 1px solid #013c6b;
    color: #013c6b;
}

.c-pagination__page-num > a:hover,
.c-pagination__prev > a:hover,
.c-pagination__next > a:hover {
    background-color: #0084ca;
}

.c-pagination__page-current {
    background-color: #013c6b;
}

.c-user-content h4:not([class])::before, 
.c-user-content h4[class^="u-"]::before, 
.p-heading05::before {
    background-color: #013c6b;
}

.p-main__header {
    border-bottom: 2px solid #013c6b;
}

.c-user-content h2:not([class])::after,
.c-user-content h2[class^="u-"]::after,
.p-heading01::after {
    background-color: #013c6b;
}

.c-user-content h3:not([class]),
.c-user-content h3[class^="u-"],
.p-heading02 {
    color: #013c6b;
    border-bottom: 2px solid #013c6b;
}

.p-modal__content ul{
    margin: 0.75em 0;
    font-size: 1.5rem;
    line-height: 1.7;
}

.p-terms_box{
	border:solid 1px #d6d6d6;
	padding:0 10px;
	height:300px;
	overflow-y:scroll;
}

.p-products-detail__image{
    text-align: center;
}

.p-products-detail__image img{
    max-width:250px;
    width:auto;
}

/* 2025/01/14追記 */

.p-products-detail__image {
	position: relative;
}

.p-products-detail__image input {
	position: absolute;
}

.p-products-control {
	display: flex;
	justify-content: space-between;
}

.p-products-btn {
	fill: #aaa;
	border-style: none;
	background-color: inherit;
	outline: none;
	cursor: pointer;
	padding: 0;
}

.p-products-btn.-all-check {
	margin-top: 2.4rem;
}

.p-products-btn.-all-check input {
	transform: scale(2);
	margin-right: 1.2rem;
}

.p-products-btn.-all-check label {
	font-size: 1.5rem;
}

.p-products-control .p-products-btn-list__item {
	margin-bottom: 0;
}

.p-products-btn-list.-favorite {
	flex-direction: column;
}

.p-products-btn.-active {
	fill: #333;
}

.p-products-btn .icon {
	width: 3rem;
	height: 3rem;
}

@media only screen and (max-width: 991px) {
	.p-products-btn.-all-check label {
		font-size: 1.4rem;
	}
}

@media only screen and (max-width: 768px) {
	.p-output-btn-list {
		flex-direction: column;
		align-items: center;
	}

	.p-output-btn-list .c-btn-secondary {
		width: 20rem;
	}
}

@media only screen and (max-width: 575px) {
	.p-products-control {
		flex-direction: column;
	}

	.p-products-control .p-products-btn-list {
		justify-content: right;
		margin-top: 2.4rem;
	}

	.p-products-control.-favorite {
		flex-direction: row;
		align-items: center;
	}
	.p-products-control.-favorite .p-products-btn-list {
		margin-top: 0;
	}
}

/* リスト表示 */
.p-products-list.-list .p-products-list__item {
	display: flex;
	justify-content: space-between;
	column-gap: 2.4rem;
	margin-top: 0;
	padding-top: 4rem;
}

.p-products-list.-list .p-products-detail {
	flex: 1;
}

.p-products-list.-list .p-products-detail__text {
	display: flex;
	justify-content: space-between;
}

.p-products-list.-list .p-products-detail__image {
	width: 24rem;
}

.p-products-list.-list .p-products-detail__image input {
	top: 1rem;
	left: 1rem;
	transform: scale(2);
	margin: 0;
}

.p-products-list.-list .p-products-detail__image img {
	max-width: 100%;
}

.p-products-list.-list .p-products-btn-list {
	flex-direction: column;
	row-gap: 2rem;
	margin: 0;
}
.p-products-list.-list .p-products-btn-list__item {
	margin-bottom: 0;
}

.p-products-list.-list .p-spec-table th[colspan] {
	width: 30% !important;
}

.p-products-list.-list .p-spec-table {
	margin-bottom: 0;
}

@media only screen and (max-width: 1439px) {
	.p-products-list.-list .p-products-detail__image {
		margin-right: 3.2rem;
	}
}

@media only screen and (max-width: 991px) {
	.p-products-list.-list .p-products-list__item {
		flex-direction: column;
	}

	.p-products-list.-list .p-products-detail {
		flex-direction: row;
	}

	.p-products-list.-list .p-products-btn-list {
		margin-top: 2rem;
		flex-direction: row;
	}

	.p-products-list.-list .p-products-detail__image {
		margin-right: 2.4rem;
		margin-bottom: 0;
	}
}

@media only screen and (max-width: 768px) {
	.p-products-list.-list .p-products-list__item {
		padding-top: 3.2rem;
		padding-bottom: 3.2rem;
	}

	.p-products-list.-list .p-products-detail__image {
		width: 16rem;
	}

	.p-products-list.-list .p-products-btn-list {
		row-gap: 1.6rem;
	}
}

/* タイル表示 */
ul.p-products-list.-card {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	column-gap: 2.4rem;
}

.p-products-list.-card .p-products-detail {
	flex-direction: column;
	row-gap: 2rem;
}

.p-products-list.-card .p-products-list__item {
	padding-top: 4rem;
	margin-top: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-bottom: 1px solid #d6d6d6;
}

.p-products-list.-card .p-products-detail__image {
	width: 100%;
	margin: 0;
}

.p-products-list.-card .p-products-detail__image img {
	max-width: 100%;
	width: 100%;
}

.p-products-list.-card .p-products-detail__image input {
	top: 1rem;
	left: 1rem;
	transform: scale(2);
	margin: 0;
}

.p-products-list.-card .p-spec-table th[colspan] {
	width: 30% !important;
}

@media only screen and (max-width: 1199px) {
	ul.p-products-list.-card {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media only screen and (max-width: 991px) {
	ul.p-products-list.-card {
		grid-template-columns: 1fr 1fr;
	}

	.p-products-list.-card .p-products-detail__image {
		max-width: 100%;
	}
}

@media only screen and (max-width: 768px) {
	.p-products-list.-card .p-products-list__item {
		padding-top: 3.2rem;
		padding-bottom: 3.2rem;
	}
}

@media only screen and (max-width: 575px) {
	ul.p-products-list.-card {
		grid-template-columns: 1fr;
	}
}

.mark-added,
.mark-default{
	display: inline-block;
	padding:0.1rem 0.5rem;
	border: solid 1px #333;
	margin-left:1rem;
	font-size:0.75em;
	font-weight: normal;
}

.mark-added{
	background-color: #333;
	color: #FFF;
}