/*
Template:twentytwentyone
Theme Name:twentytwentyone_child
*/
.comment-form-author {
    width: 100%;
}
.form-submit input {
    width: 100%;
}
#primary {
    width: 100%;
}

/*訪問履歴用アコーディオン*/
.accordion {
    padding: 15px;
    border: 2px solid #71DCB9;
}

.accordion input {
    display:none;
}

.accordion label {
    position: relative;
    display: block!important;
    cursor: pointer;
    border-radius: 3px;
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 20px 20px!important;
    background:#71DCB9;
    color:#fff;
    padding:15px;
}

.accordion label:after {
    content:'open \025bc';
    position:absolute;
    right:15px;
	top:15px;
	font-size: 1.25rem;
}

.accordion input:checked ~ label:after {
    content: 'close \025b2';
}

.accordion_content {
    overflow: hidden;
    height: 0;
    -webkit-transition: .8s;
    transition: .8s;
    opacity: 0;
}

.accordion input:checked~.accordion_content {
}

.accordion input:checked~.accordion_content {
    overflow: visible;
    height: auto;
    padding-top: 15px;
    opacity: 1;
}

.accordion li {
    margin-bottom:10px;
}

.accordion li:last-child {
    margin-bottom:0;
}

.page_item_has_children {
	display:block;
	float:left;
	padding: 0 10px;
}

/*商談履歴のTableのレスポンシブデザイン化*/
/*>http://design-spice.com/2012/11/01/responsive-table/の1番目
http://design-spice.com/sample/responsive-table/css01.html*/

.table_rwd-visit{
	/*width: 90%;*/
	border-collapse: collapse;
}
.table_rwd-visit td,
.table_rwd-visit th{
	padding: 5px;
	border: 1px solid #ccc;
}
.table_rwd-visit th{
	font-weight: bold;
	white-space: nowrap;

}
.table_rwd-visit thead th{
	background:#e6e6e6;
}
@media screen and (max-width:700px){
	.table_rwd-visit{
		display: block;
	}
		.table_rwd-visit thead{
			display: none;
		}
		.table_rwd-visit tbody{
			display: block;
		}
			.table_rwd-visit tbody tr{
				display: block;
				margin-bottom: 1.5em;
			}
			.table_rwd-visit tbody th,
			.table_rwd-visit tbody td{
				display: list-item;
				border: none;
			}
			.table_rwd-visit tbody th{
				margin-bottom: 5px;
				list-style-type: none;
				color: #fff;
				background: #ff6009;
			}
			.table_rwd-visit tbody td{
				margin-left: 20px;
				padding: 0;
			}
			.table_rwd-visit tbody td:nth-of-type(1):before { content: "[商談日時]"; }
			.table_rwd-visit tbody td:nth-of-type(2):before { content: "[商談場所]"; }
			.table_rwd-visit tbody td:nth-of-type(3):before { content: "[商談内容]"; }
			.table_rwd-visit tbody td:nth-of-type(4):before { content: "[備　　考]"; }
			.table_rwd-visit tbody td:nth-of-type(5):before { content: "[次回予定]"; }
}
/*ここまで商談履歴のTableのレスポンシブデザイン化*/



/*受注履歴のTableのレスポンシブデザイン化*/
table.oder_service{
	border-collapse:collapse;
	border:#000 solid 1px;
}
.oder_service th{
		white-space:nowrap;
}
.oder_service th, .oder_service td{
	padding:3px 5px;
	border-collapse:collapse;
	border:#000 solid 1px;
}
.oder_service td.fee{
	text-align:center;
}
@media screen and (max-width: 700px){
.oder_service {
    display: block;
    width: 100%;
    margin: 5px 0px;
    border-collapse: collapse;
    text-align: left;
}
.oder_service thead {
    display: none;
}
.oder_service tbody {
    display: block;
}
.oder_service thead th {
    background: #e6e6e6;
}
.oder_service th {
    font-weight: bold;
}
.oder_service td, .oder_service th {
    padding: 0 10px;
    border: 1px solid #ccc;
}
.oder_service tbody tr {
    display: block;
    margin-bottom: 0.5em;
}
.oder_service tbody td {
}
.oder_service tbody th, .oder_service tbody td {
    display: list-item;
    /*border: none;*/
    list-style: none;
}
.oder_service td, .oder_service th {
    padding: 0 10px;
    border: 1px solid #ccc;
}
.oder_service tbody th.amount {
    background-color: #00622d;
    color: #FFF;
}
td.trader{
	background-color:#afeac3;
}
.oder_service td.fee{
	text-align:left;
}
.oder_service td.fee br{
	display:none;
}
.oder_service tbody td:nth-of-type(1):before { content: "[受注品]　";}
.oder_service tbody td:nth-of-type(2):before { content: "[受注日]　";}
.oder_service tbody td:nth-of-type(3):before { content: "[納品日]　"; }
.oder_service tbody td:nth-of-type(4):before { content: "[納品状況]　"; }

}
/*ここまで受注履歴のTableのレスポンシブデザイン化*/


