/*=========================================================
■ イーハトーブトライアル申込
■ Copyright(c) スカヘルネット
■ https://isp.sukaheru.net/
=========================================================*/
/* Base
------------------------------------------------------------------------------*/
* {
	box-sizing: border-box;
}
body	{
	margin: 0;
	padding: 0;
	font: 15px "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #333;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	position: relative;
}
h1,h2,h3,h4,h5,
div,p,dl,dt,dd,
ul,ol,li,
figure,form {
	margin: 0;
	padding: 0;
	font-size: 1em;
}

/* link --------------------*/
a {
	color: #06f;
	text-decoration: none;
	transition: 0.5s;
	outline: none;
}
a:hover	{
	color: #f60;
	text-decoration: underline;
}

/* input --------------------*/
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="url"],
select,
textarea {
	border: 1px solid #acacac;
	margin: 2px;
	padding: 4px;
	font-size: 1.1em !important;
	outline: none;
}
input[type="radio"],
input[type="checkbox"] {
	position: relative;
	top: 0.05em;
}

/* text --------------------*/
.com	{ padding: 0 10px;	overflow: hidden; }
*+p	{ margin-top: 10px; }
.c	{ text-align: center; }
.r	{ text-align: right; }
.fl	{ float: left; }
.fr	{ float: right; }
.red	{ color: red; }
.blue	{ color: blue; }
.aqua	{ color: aqua; }
.green	{ color: green; }
.lgreen	{ color: lightgreen; }
.yellow	{ color: yellow; }
.pink	{ color: #ff8080; }
.orange	{ color: orange; }
.purple	{ color: purple; }
.magenta{ color: magenta; }
.grey	{ color: grey; }
.brown	{ color: brown; }
.big	{ font-size: 1.25em; }
.small	{ font-size: 0.85em; }
[data-mark]		{ position: relative;	padding-left: 20px; }
[data-mark]::before	{ content: attr(data-mark);	position: absolute;	left: 0; }
.tel::before	{ content: "TEL."; }
.fax::before	{ content: "FAX."; }
.eml::before	{ content: "E-mail:"; }

/* list --------------------*/
ul,ol {
	list-style-type: none;
}
/* count */
ol.cnt {
	counter-reset: cnt 0;
}
ol.cnt>li {
	position: relative;
	padding-left: 30px;
}
ol.cnt>li::before {
	position: absolute;
	left: 0;
	counter-increment: cnt 1;
	content: counter(cnt) "．";
}


/* table --------------------*/
table {
	width: 98%;
	border: 1px solid #acacac;
	border-collapse: collapse;
	margin: 0 auto;
	font-size: 0.85em;
}
table th,
table td {
	border: 1px solid #acacac;
	padding: 3px;
}
table th {
	background: #D2EAF7;
	font-weight: normal;
}

/* box / flexbox / grid ----------------------------------------*/
/* box ---------*/
.box {
	margin: auto;
	overflow: hidden;
}
*+.box {
	margin-top: 20px;
}

/* flexbox ---------*/
[class*="column"] {
	display: flex;
	flex-wrap: wrap;
}
[class*="column"]>* {
	margin: 0;
	padding: 3px;
}
.column6>*	{ width: calc((100% - 0.01px) / 6);	max-width: calc((100% - 0.01px) / 6); }
.column5>*	{ width: calc(100% / 5);		max-width: calc(100% / 5); }
.column4>*	{ width: calc(100% / 4);		max-width: calc(100% / 4); }
.column3>*	{ width: calc((100% - 0.01px) / 3);	max-width: calc((100% - 0.01px) / 3); }
.column2>*	{ width: calc(100% / 2);		max-width: calc(100% / 2); }

/* section / article ----------------------------------------*/
article + article,
section + section {
	margin-top: 50px;
}


/* wrapper / レイアウト
------------------------------------------------------------------------------*/
#wrapper {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	min-height: 100vh;
	height: 100%;
	padding: 0;
	margin: 0 auto;
}
header {
	position: relative;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto 25px;
}
.contents {
	position: relative;
	flex: 1 1 auto;
	max-width: 1200px;
	width: 100%;
	margin: auto;
	padding: 0 10px 80px;
}
footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	margin-top: auto;
}

/* header
----------------------------------------------------*/
header {
	padding: 10px;
}
header .inner {
	display: flex;
	align-items: center;
}
header .inner h1 {
	margin-right: auto;
}
header .inner h1 img[src$=".svg"] {
	height: 50px;
}
header .inner .mark img {
	width: auto;
	height: 90px;
}


/* contents
----------------------------------------------------*/


/* footer
----------------------------------------------------*/
footer {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #000;
	height: 50px;
	text-align: center;
	color: #fff;
}
footer small::before {
	content: "Copyright";
	margin-right: 5px;
}
footer small::after {
	content: "All Rights Reserved.";
	margin-left: 5px;
}

/* tablet
----------------------------------------------------*/
@media screen and (max-width:800px) {
	header .inner h1 img[src$=".svg"] {
		height: 40px;
	}
	header .inner .mark img {
		height: 70px;
	}

}


/* smartphone
----------------------------------------------------*/
@media screen and (max-width:500px) {
	header .inner h1 img[src$=".svg"] {
		height: 28px;
	}
	header .inner .mark img {
		height: 55px;
	}
}
