html {
    margin-top: 0px !important;
}

body {
	margin: 0;
}

.art-board {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
}

h1.con-title {
	background: #1c1464;
	color: #fff;
	padding: 10px 27px 10px 20px;
	font-size: 2.0rem;
	position: relative;
	font-family: toppan-bunkyu-midashi-min-st, serif;
	font-style: normal;
	font-weight: 900;
}

h1.con-title::after {
	content: "";
	position: absolute;
	top: 10px;
	right: 0px;
	width: 20px;
	border: 2px solid #1c1464;
	rotate: 45deg;
}

h1.con-title::before {
	content: "";
	position: absolute;
	top: 5px;
	right: 5px;
	width: 25px;
	height: 25px;
	border: 13px solid #1c1464;
	border-right-color: #fff;
	border-top-color: #fff;
	box-sizing: border-box;
}

h2 {
	margin: 0;
	font-size: 1.8rem;
}

p {
	font-size: 1.5rem;
}

ul {
	list-style: none;
	padding: 0;
}

section {
	margin-bottom: 50px;
}

.main {
	max-width: 1200px;
	width: 90%;
	margin: 0 auto;
}

.first-view .art-board img {
	width: 100%;
}

.first-view h1.catchphrase {
	background: none;
	color: #000;
	font-size: 2.7rem;
}

.first-view h1.catchphrase span {
	display: block;
	font-size: 1rem;
}

.worries li {
	color: #646464;
	font-size: 1.5rem;
	font-weight: bold;
	padding: 10px 0;
}

.reason-title {
	border-left: solid 10px #1c1464;
	border-bottom: solid 1px #1c1464;
	padding-left: 10px;
	max-width: 500px;
	color: #1c1464;
}

.reason p.reason-num,
.merit p.merit-num {
	font-size: 1rem;
	font-family: "Krungthep";
}

.reason p.reason-num .huge,
.merit p.merit-num .huge {
	font-size: 1.5rem;
}

.merit-wrap,.reason-wrap {
	margin-bottom: 60px;
}

.merit-title {
	border-left: solid 10px #043c1c;
	border-bottom: solid 1px #043c1c;
	padding-left: 10px;
	max-width: 500px;
	color: #043c1c;
}

.recommend .list {
	width: 90%;
	margin: 0 auto;
}

.recommend li {
	background: #ecdcbc;
	padding: 15px;
	margin-bottom: 15px;
	padding-left: 70px;
	font-size: 1.5rem;
	position: relative;
	background-image: url(https://www.x-southern.com/wp-content/themes/x-theme/assets/images/measure.png);
	background-repeat: no-repeat;
	background-size: 50px;
	background-position-y: center;
	background-position-x: 10px;
}

.recommend li::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 20px;
	height: 20px;
	border: 10px solid #ecdcbc;
	border-right-color: #f5f5f5;
	border-bottom-color: #f5f5f5;
	box-sizing: border-box;
}

.profit table {
	width: 100%;
	border-collapse: collapse;
}

.profit table, .profit th, .profit td {
	border: solid 1px;
}
.profit td,.profit th {
	padding: 15px 25px;
	font-size: 1.5rem;
}

.profit th {
	background: #1c4c8c;
	color: #fff;
}

.profit td:not(.contents) {
	background: #1c4c8c;
	color: #fff;
}

.profit td.contents {
	text-align: right;
}

.profit p.calc {
	font-size: 2.4rem;
	text-align: center;
	color: #082454;
}

.profit p.calc .num {
	font-size: 2.6rem;
}

.profit p.calc .num.huge {
	font-size: 2.8rem;
}

.profit p {
	color: #082454;
}

p.reason-num,p.merit-num {
	margin: 0;
}

.voice p.company-name {
	background: #e8e4e4;
	border: solid 1px #1c1464;
	padding: 10px;
	padding-left: 30px;
	color: #1c1464;
	font-size: 2rem;
	font-weight: bold;
	position: relative;
}

p.company-name::before {
	content: "VOICE";
	display: inline-block;
	font-family: "Krungthep";
	position: absolute;
	transform: translate(0,-50%) rotate( 90deg );
	font-size: 18px;
	left: -10px;
	top: 50%;
}

.voice-wrap {
	display: flex;
	flex-flow: row wrap;
}

.voice-inner {
	width: calc((100% - 40px)/2);
}

.voice-inner:nth-child(odd){
	padding-right: 20px;
}
.voice-inner:nth-child(even){
	padding-left: 20px;
}

.voice p.company-name::after {
	content: "";
	position: absolute;
	top: -1px;
	right: -1px;
	width: 20px;
	height: 20px;
	border: 10px solid;
	border-right-color: #f5f5f5;
	border-top-color: #f5f5f5;
	box-sizing: border-box;
}

.contact .contact-button {
	border: 3px solid #2c3494;
	outline: 5px solid #0028ac;
	border-radius: 1px;
	outline-offset: 1px;
	background: #2c3494;
	text-align: center;
	margin: 30px auto;
	width: 50%;
	padding: 10px 0;
	position: relative;
}

.contact a {
	text-decoration: none;
	color: #fff;
	font-size: 1.3rem;
}

.contact .contact-button::after {
	content: '';
	border-style: solid;
	border-width: 8px 0 8px 8px;
	border-color: transparent transparent transparent #fff;
	display: inline-block;
	width: 0;
	height: 0;
	position: absolute;
	top: 50%;
	right: 2%;
	transform: translateY(-50%);
}

@media screen and (max-width: 959px) {
	html {
		font-size: 13px;
	}
	
	.profit .profitTable {
		overflow-x: scroll;
	}
	.profit table {
		width: 100%;
		border-collapse: collapse;
		white-space: nowrap;
	}
	
	.voice-wrap {
		display: block;
	}
	
	.voice-inner {
		width: 100%;
	}
	.voice-inner {
		padding: 0!important;;
	}
	
	.contact .contact-button {
		width: 80%;
	}
	
}			
@media screen and (max-width: 519px) {
	html {
		font-size: 11px;
	}
	
	.contact .contact-button {
		width: 100%;
	}
}			

footer {
	background: #1c1464;
	width: 100%!important;
	padding: 20px 0!important;
	color: #ffffff;
}

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

header {
	height: 70px;
	border: solid 1px #1c1464;
}

header img {
	padding: 20px 15px;
}
