@import url("global.css");

#pagettl {
	background-image: url(../warranty/img/main.jpg);
}
#contents section h1 {
	text-align: center;
	margin-bottom: 20px;
}
#contents section h1 + p {
	text-align: center;
	line-height: 2;
}

#contents .block {
	margin-bottom: 130px;
}
#contents .block:first-of-type {
	margin-top: 80px;
}
#contents .block h2 {
	font-size: 27px;
	line-height: 40px;
	font-weight: 500;
	border-top: 2px solid #18727E;
	padding: 15px 0;
	margin-bottom: 30px;
	position: relative;
}
#contents .block h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 100px;
	background-color: #18727E;
}
#contents .block .image {
	float: right;
	margin-left: 60px;
	background-color: #EEEEEE;
	padding: 4px;
}
#contents .block p {
	margin-bottom: 20px;
}

#contents .link,
#contents .btn {
	margin-top: 40px;
}
#contents .link a,
#contents .btn a {
	position: relative;
	display: block;
	width: 460px;
	height: 80px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border: 1px solid #ccc;
}
#contents .link a {
	text-align: center;
	padding: 10px 0;
}
#contents .btn a {
	line-height: 76px;
	padding-left: 15px;
}
#contents .link a:hover,
#contents .btn a:hover {
	border-color: #18727E;
}
#contents .btn a:hover {
	background-color: #F7F7F7;
	padding-left: 30px;
}
#contents .link a::before,
#contents .btn a::before {
	content: "";
	position: absolute;
	width: 10px;
	height: 10px;
	border-bottom: solid 3px #CCCCCC;
	border-right: solid 3px #CCCCCC;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	margin-top: -5px;
	top: 50%;
	right: 15px;
	transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
}
#contents .btn a::before {
	opacity: 0;
	margin-top: -2px;
	right: auto;
	left: 10px;
	width: 6px;
	height: 6px;
	border-color: #18727E;
}
#contents .link a:hover::before {
	border-color: #18727E;
}
#contents .btn a:hover::before {
	opacity: 1;
}
#contents .btn a span {
	position: relative;
	z-index: 55;
	text-shadow: 0 0 4px #FFF;
	letter-spacing: 1.5px;
	color: #18727E;
	font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Meiryo", "メイリオ", Helvetica,sans-serif;
	font-weight: 600;
	font-size: 16px;
}
#contents .btn a img {
	z-index: 50;
	position: absolute;
	right: -2px;
	bottom: -2px;
	max-width: none;
	width: 320px;
	height: 100px;
}


/* ------------------------------------------------------------------------------------------------------------------------
/* 1099px（タブレット縦）以下から
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 1099px){

#contents .block:first-of-type {
	margin-top: 50px;
}
#contents .block .image {
	margin-left: 20px;
}
#contents .block .image img {
	width: 300px;
	height: auto;
}

#contents .link,
#contents .btn {
	clear: both;
	padding-top: 40px;
	margin-top: 0;
}
#contents .link a,
#contents .btn a {
	width: 100%;
}
#contents .btn a {
	background-color: #F7F7F7;
	padding-left: 30px;
}
#contents .btn a::before {
	opacity: 1;
}
}
	

/* ------------------------------------------------------------------------------------------------------------------------
/* 幅644px以下
------------------------------------------------------------------------------------------------------------------------ */

@media only screen and (max-width: 644px){
#contents section h1 {
	text-align: left;
	margin-bottom: 20px;
	letter-spacing: 2px;
}
#contents section h1 + p {
	text-align: left;
	line-height: 2;
}

#contents .block {
	margin-bottom: 70px;
}
#contents .block:first-of-type {
	margin-top: 30px;
}
#contents .block h2 {
	font-size: 18px;
	line-height: 28px;
	padding: 10px 0 15px;
	margin-bottom: 20px;
}
#contents .block h2 br {
	display: none;
}
#contents .block .image {
	float: none;
	margin: 0 0 15px;
}
#contents .block .image img {
	width: 100%;
}
#contents .block p {
	margin-bottom: 10px;
}

#contents .link,
#contents .btn {
	padding-top: 10px;
}
#contents .link a,
#contents .btn a {
	height: 50px;
}
#contents .link a {
	text-align: left;
	padding-left: 10px;
}
#contents .link a img {
	width: auto;
	height: 30px;
}

#contents .btn a {
	height: 50px;
	line-height: 46px;
	padding-left: 22px;
}
#contents .btn a:hover {
	padding-left: 22px;
}
#contents .btn a::before {
	margin-top: -3px;
	left: 5px;
}
#contents .btn a span {
	font-size: 14px;
}
#contents .btn a img {
	width: auto;
	height: 60px;
}
}










