/** ===============================================================================================


	HTML Tag Resets

	@version 1.0    2021.01.18 New
	@version 2.0    2022.06.01 Form関係を中心に修正

	@author         K.Sekioka of HEVIZ Co.,Ltd.


=================================================================================================== **/



/* Google Web Fonts */
/* @import url(https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&family=Roboto+Slab:wght@400;700&display=swap); */



article,
aside,
footer,
header,
main,
nav,
section {
	display: block;
}


html {
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
	
	background-color: #fff;
	
	color: #231815;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8;
}



/** clearFix Hack ----------------------------------------------- **/

.clearFix,
.clearfix {}

.clearFix::after,
.clearfix::after { content:"."; display:block; width:0; height:0; clear:both; visibility:hidden; overflow:hidden; }



/** 見出しh1 - h6 ------------------------------------------------ **/

h1 {
	clear: both;
	margin: 2em 0 1em;
	padding: 0;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.5;
}

h2 {
	clear: both;
	margin: 2em 0 1em;
	padding: 0;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.5;
}

h3 {
	clear: both;
	margin: 2.2em 0 1.2em;
	padding: 0;
	font-size: 24px;
	font-weight: 700;
}

h4 {
	margin: 2.2em 0 1.2em;
	padding: 0;
	font-size: 20px;
	font-weight: 700;
}

h5 {
	margin: 2.5em 0 1.5em;
	padding: 0;
	font-size: 18px;
	font-weight: 700;
}

h6 {
	margin: 2.5em 0 1.5em;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
}



/** 段落 ------------------------------------------------------ **/

p {
	margin: 1.5em 0;
	padding: 0;
}


/** Link ----------------------------------------------------- **/

a {
	color: inherit;
	transition: all 0.3s;
	text-decoration: none;
}

a:link,
a:visited { color: #3960FF; }
a:active,
a:hover   { color: #F8094C;	outline-width: 0; outline: 0; }

a:focus {
	outline: thin dotted;
}


/** 画像 ------------------------------------------------------ **/

img,
svg {
	max-width: 100%;
	height: auto;
	max-height: none;
	border-style: none;
	border: 0;
	transition: all 0.3s;
}


/** リスト ---------------------------------------------------- **/

ul {
	margin: 1.5em 0;
	padding: 0;
	list-style: disc;
}

li {
	margin: 0 0 0 1.5em;
	padding: 0;
}

ul ul {
	margin: 0;
	list-style: circle;
}

ul ul ul {
	margin: 0;
	list-style-type: square;
}

ol {
	margin: 1.5em 0;
	padding: 0;
	list-style: decimal;
}

ol ol {
	margin: 0;
	list-style: lower-latin;
}

ol ol ol {
	margin: 0;
	list-style: lower-roman;
}



/** 辞書 -------------------------------------------------- **/

dl {
	margin: 1.5em 0;
	padding: 0;
}

dt {
	margin: 0;
	padding: 0;
	font-weight: 700;
}

dd {
	margin: 1em 0 1em 1.5em;
	padding: 0;
}



/** テーブル  ------------------------------------------------- **/

table {
	display: table;
	width: auto;
	max-width: 100%;
	margin: 1.5em auto;
	padding: 0;
	box-sizing: border-box;
	
	border-collapse: collapse;
	border-spacing: 0;
}

caption {
	text-align: center;
}

tr {
	padding: 5px;
}

th {
	padding: 5px 10px;
	box-sizing: border-box;
	border: 1px solid gray;
	text-align: left;
	font-weight: 700;
}

td {
	padding: 5px 10px;
	box-sizing: border-box;
	border: 1px solid gray;
}




/** インライン要素 ---------------------------------- **/

sup { font-size: 0.6em; vertical-align: super; }
sub { font-size: 0.6em; vertical-align: sub; }

b, strong { font-weight: 700; }

em,i { font-style: italic; }

ins { text-decoration: underline;    }

del { text-decoration: line-through; }

small { font-size: smaller; }

big   { font-size: larger;  }

code  {
	display: inline-block;
	margin: 0 0.3em;
	font-family: monospace;
	font-size: inherit;
}

mark {
	display: inline-block;
	margin: 0 0.3em;
	background-color: yellow;
}

kbd {
	display: inline-block;
	margin: 0 0.3em;
	padding: 0 4px;
	
	font-family: inherit;
	font-size: 0.8em;
	font-weight: 700;
	white-space: nowrap;
	
	border: 1px solid #b4b4b4;
	border-radius: 3px;
	
	background-color: #e0e0e0;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, 0.2) inset;
	
	font-size: inherit;
}

samp {
	font-family: monospace;
	font-size: inherit;
}

var {
	font-style: italic;
}

abbr[title] {
	text-decoration: underline dotted;
}



/** その他ブロック要素 ------------------------------------------------- **/

pre {
	display: block;
	margin: 1.5em 0;
	padding: 1em;
	
	font-family: inherit;
	font-size: inherit;
	background-color: rgba(0,0,0,0.1);
}

address {
	display: block;
	margin: 1.5em 0;
	padding: 0;
	font-style: italic;
}

hr {
	display: block;
	height: 1px;
	margin: 1em 0;
	padding: 0;
	border-style: none;
	border: 0;
	background-color: rgba(0,0,0,0.3);
}
hr::before { content:"."; display:block; height:0; clear:both; visibility:hidden; }

blockquote {
	display: block;
	margin: 1.5em 0;
	padding: 1em;
	background-color: rgba(0,0,0,0.1);
}

blockquote cite {
	font-style: italic;
}



/** ===========================================================================


	入力フォーム関連 : 共通


=============================================================================== **/

form {
	display: block;
	margin: 0;
}



/** common --------------------------------------------------- **/

::-webkit-input-placeholder { color:#ccc; }
:-ms-input-placeholder      { color:#ccc; }
::-moz-placeholder          { color:#ccc; }
::placeholder               { color:#ccc; }

::-ms-expand {
    display: none;
}




/** input common --------------------------------------------- **/

input {
	display: inline-block;
	vertical-align: middle;
	max-width: 100%;
	margin: 0;
	padding: 10px;
	box-sizing: border-box;

	color: inherit;
	font-family: inherit;
	font-weight: inherit;
	font-size: inherit;

	box-shadow: 0px 0px 0px 0px;
/*	box-shadow: inset 0px 0px 3px 0px rgba(0, 0, 0, 0.2); */
	
	background-color: #ffffff;
	border: 1px solid #888888;
	border-radius: 0;
	outline: none;

	-webkit-appearance: none;
    appearance: none;
}

/* disabled */
input[disabled] {
    color:#cccccc;
    background-color: transparent;
	border-color: transparent;
	outline: none;
    cursor:not-allowed;
}

/* readonly */
input[readonly] {
	background-color:transparent;
	background-color:rgba(255,255,255,0.3);
	border-color:transparent;
}


/* input 個別 -------------------------------------------*/

input[type="text"] {}
input[type="email"] {}
input[type="tel"] {}
input[type="password"] {}
input[type="url"] {}
input[type="search"] {}
input[type="file"] {}
input[type="number"] {}


/* input日付関係 ---------------------------------------- */

input[type="date"] {}
input[type="datetime-local"] {}
input[type="time"] {}
input[type="month"] {}
input[type="week"] {}


/* カラー ----------------------------------------------- */

input[type="color"] {
	width: 80px;
    height: 40px;
	padding: 1px 2px;
    cursor: pointer;
}


/* input ボタン関係 ------------------------------------- */

input[type="button"],
input[type="submit"],
input[type="reset"],
button {
	display: inline-block;
	vertical-align: middle;
	max-width: 100%;
	margin: 0;
	padding: 10px 20px;
	box-sizing: border-box;

	color:#ffffff;
	font-family: inherit;
	font-weight: inherit;
	font-size: inherit;

	box-shadow: 0px 0px 0px 0px;
/*	box-shadow: inset 0px 0px 3px 0px rgba(0, 0, 0, 0.2); */
	
	background-color:#444444;
	border: 0;
	border-radius: 0;
	outline: none;

	-webkit-appearance: none;
    appearance: none;
}

input[type="reset"] {
	background-color:#cccccc;
}

/* ボタンhover */
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover {
	background-color:#cc0000;
	color:#ffffff;
	cursor: pointer;
}

/* イメージボタン */
input[type="image"] {
	padding: 0;
}
input[type="image"]:hover {
	padding: 0;
	border-color: #cc0000;
}


/* ラベル ------------------------------------- */

label {
	display: inline-block;
	vertical-align: middle;
	margin: 0;
	padding: 0 1em 0 0;
	
}



/* チェックボックス ----------------------------- */

input[type="checkbox"] {
	position: relative;
	margin: 0 0.5em 0 0;
	padding: 15px;
	cursor: pointer;
}
input[type="checkbox"]::after {
	content:"";
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	width: 80%;
	height: 50%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	
	border-right:4px solid #444444;
	border-bottom:4px solid #444444;
	
	transform: translate(-50%, -70%) rotate(45deg);
	opacity: 0;
}

input[type="checkbox"]:checked {
	background-color: #dddddd;
}
input[type="checkbox"]:checked::after {
	opacity: 1;
}


/* ラジオボタン ------------------------------------- */

input[type="radio"] {
	position: relative;
	margin: 0 5px 0 0;
	padding: 15px;
	border-radius: 50%;
	outline: none;
	cursor: pointer;
}
input[type="radio"]::after {
	content:"";
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	width: 60%;
	height: 60%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	
	background-color: #444444;
	border-radius: 50%;
	
	transform: translate(-50%, -50%);
	opacity: 0;
}

input[type="radio"]:focus {
    border : 1px solid #6CCBF9;
}

input[type="radio"]:checked {
	background-color: #dddddd;
}
input[type="radio"]:checked::after {
	opacity: 1;
}



/** select --------------------------------------------------- **/

select {
    display: inline-block;
    vertical-align: middle;
    position: relative;
	max-width: 100%;
    margin: 0;
    padding: 10px 40px 10px 10px;
    box-sizing: border-box;

	color: inherit;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
 	
    box-shadow: 0px 0px 0px 0px;
/*	box-shadow: inset 0px 0px 3px 0px rgba(0, 0, 0, 0.2);	*/
    border: 1px solid #888888;
    border-radius: 0;
    outline: none;

	-webkit-appearance: none;
    appearance: none;

	cursor: pointer;

	background-color: #ffffff;
	background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E*%7Bfill%3A%23888888%3B%7D%3C%2Fstyle%3E%3Cpolygon%20points%3D%2210%2C15%201.9%2C8.1%203.9%2C5.9%2010%2C11%2016.1%2C5.9%2018.1%2C8.1%20%22%2F%3E%3C%2Fsvg%3E%0A');
	background-position: right 10px top 45%;
	background-repeat: no-repeat;
	background-size: 20px 20px;
/*	border-radius: 5px; */
}

optgroup {
	font-weight: 700;
	font-style: normal;
}


/* テキストエリア --------------------------------------------- */

textarea {
	display: inline-block;
	vertical-align: middle;
	max-width: 100%;
	min-height: 10em;
	margin : 0px;
	padding : 10px;
	box-sizing: border-box;

	color:inherit;
	font-family: inherit;
	font-weight: inherit;
	font-size: inherit;
	
	box-shadow : 0px 0px 0px 0px;
/*	box-shadow: inset 0px 0px 3px 0px rgba(0, 0, 0, 0.2); */
	background-color : #ffffff;
	border : 1px solid #888888;
	border-radius : 0;
	outline : none;
	
    -webkit-appearance : none;
    appearance : none;

    resize: auto;
    cursor: text;
}

/* focus */
textarea:focus {
    border-color : #6CCBF9;
    background-color:#f3f8fc;
}

/* disabled */
textarea[disabled] {
    color: #cccccc;
    background-color: transparent;
	border-color: transparent;
	outline: none;
    cursor:not-allowed;
}


/** fieldset ------------------------------------------------- **/

fieldset {
	display: block;
	margin: 0;
	padding: 5px;
	border: 1px solid #bbb;
}

legend {
}



/** Responsive for Smart Phone ---------------------------- **/

@media all and (max-width: 767px) {

	h1 { font-size:26px; }
	h2 { font-size:24px; }
	h3 { font-size:22px; }
	h4 { font-size:20px; }
	h5 { font-size:18px; }
	h6 { font-size:16px; }
}

