p {
    margin: 0;
}
ul {
    margin: 0;
    padding: 0;
}
.plans {
    flex-wrap: wrap;
}
.plans li {
    flex: 1 1 50%;
}
.blog ul {
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
}
.blog li {
	height: 200px;
	box-sizing: border-box;
}
.blog li a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 15px;
	box-sizing: border-box;
	color: inherit;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.blog li a:hover {
	color: inherit;
	text-decoration: none;
	background: rgba(0,0,0,0.3);
}
.blog li .blog-tags {
	line-height: 1.1;
}
.blog li .blog-tags span {
	color: #ddd;
	font-size: 65%;
	display: inline-block;
	margin-right: 1em;
}
.blog li .blog-tags span::before {
	content: "#";
}
.detail {
	color: #000;
	margin-bottom: 60px;
}
.detail h2 {
	color: #fff;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: stretch;
	text-shadow: 3px 4px 7px rgba(107, 107, 107, 0.4);
}
.detail-content {
	font-size: 200%;
	margin: 30px;
	text-align:center;
}
.detail-content .small {
	font-size: 60%;
	text-align:left;
}
.detail-content .wp-block-gallery, .detail-content .wp-block-image img {
	display: none;
}
.detail-tags {
	text-align:center;
	font-size: 150%;
}
.detail-tags span {
	display: inline-block;
	background: rgba(119, 119, 119, 0.3);
	padding: 5px 25px 5px 15px;
	border-radius: 999px;
	margin: 0 10px 10px;
	color: #fff;
	text-align: left;
}

.idx .orderform {
    background: url(img/kt105.png) no-repeat top center /100%;
	background-color:  #f8b62b;
    padding: 12% 0 20px;
}
.sec .orderform {
    background: url(img/kt109.png) no-repeat top center /100%;
	background-color: #fff;
    padding: 15% 0 20px;
}
.orderform table{
    width: 82%;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid black;
    border-collapse: collapse;
}
.form-error body>div {
    height: auto;
    
}
.form-error div.error {
    width: fit-content;
    min-width: 300px;
    margin: 30px auto 0;
    border: 3px solid black;
    background: white;
    padding: 30px 50px 40px;    
}
.form-error div.error ul {
    padding-left: 40px !important;
}
.orderform tr>* {
    background: white;
    border: 1px solid #ccc;
    color: black;
}
tr.delivaddr {
    display: none;
}
table[data-delivaddr="1"] tr.delivaddr {
    display: table-row;
}
.orderform th {
    padding: 10px 5px 10px 20px;
    width: 175px;
    position: relative;
    font-size: 18px;
    background: #eee;
}
.orderform td {
    padding: 8px 16px;
    font-size: 18px;
    line-height: 1;
}
.sec.plan .orderform tr:nth-child(1) td {
    padding: 0;
}
.orderform input[type=text] {
    width: 100%;
    font-size: 20px;
    background: #eee;
    appearance: none;
    border: 1px solid #aaa;
    padding: 5px;
}
.orderform textarea {
    width: 100%;
    font-size: 20px;
    background: #eee;
    appearance: none;
    border: 1px solid #aaa;
    padding: 5px;
    height: 6em;
}
.orderform .order-address .row {
    align-items: center;
    border: none;
}
.orderform .order-address .row>*:nth-child(1){
    flex: 0 0 auto;
    margin-right: 20px;
}
.orderform .order-address .row>*:nth-child(2){
    flex: 1 1 auto;
}
.orderform .order-service label {
    white-space: nowrap;
    width: 40%;
}
.orderform .order-things label {
    white-space: nowrap;
    width: 25%;
}
.orderform .order-check td {
    padding-bottom: 30px;
}
.orderform .order-submit, .form-error .order-submit {
    text-align: center;
    margin-top: -30px;
}

.form-error body {
    background: #f8b62b;
}

/*-----------------------------------------------------------------*/
/*PC*/
/*-----------------------------------------------------------------*/
@media screen and (min-width: 501px) {
    .blog li {
		flex: 0 0 20%;
	}
	.detail h2 {
		height: 750px;
		box-sizing: border-box;
		padding: 50px;
		font-size: 400%;
	}
}


/*-----------------------------------------------------------------*/
/*MOBILE*/
/*-----------------------------------------------------------------*/
@media screen and (max-width: 500px) {
    #service+.row {
        flex-wrap: wrap;        
    }
    #service+.row>* {
        flex: 0 0 50%;
    }
    .blog li {
		flex: 0 0 50%;
	}
    .orderform {
        background: url(img/kt105.png) top center no-repeat /110% #f8b62b;
        padding: 15% 0 20px;
    }
    .orderform table {
        width: 95%;
    }
    .orderform table, .orderform th, .orderform td {
        display: block;
    }
    .orderform th, .orderform td  {
        font-size: 100%;
    }
    
    .orderform th {
         width: auto;   
    }
    .orderform th br {
        display: none;
    }
    .orderform .order-service label {
        white-space: nowrap;
        width: fit-content;
        margin-right: 15px;
    }
    .orderform .order-things label {
        white-space: nowrap;
        width: fit-content;
        margin-right: 15px;
    }
    .orderform .order-submit {
        text-align: center;
        margin-top: -20px;
    }
    .orderform .order-submit img {
        width: 220px;
    }
	.detail h2 {
		height: 300px;
		padding: 20px;
		font-size: 200%;
	}
    
}
