@charset "utf-8";

/*=======================================================

	third hands CSS
	ATHR : Assiette Ltd.
	DATE : 2016/07
	FILE : base.css
    ----------------------------
	LINK COLOR  : #1DA7FA		()

=========================================================


/*-------------------------------------
	reset
-------------------------------------*/

body,
h1, h2, h3, h4, h5, h6,
p, address, blockquote, pre, div,
dl, dt, dd, ol, ul, li,
th, td,
form, fieldset, input, textarea { margin: 0; padding: 0; outline: none;}

input{ vertical-align : middle ;}

select { margin: 0; }



/*-------------------------------------
	アピアランス
-------------------------------------*/

abbr, acronym { border:0 none; }
q::before, q::after { content:""; }
img { border:0 none; vertical-align:bottom; }
object { outline:none; }
table { border-spacing:0; border-collapse: collapse; border-spacing: 0; word-break: break-all; word-wrap: break-word; }
*:first-child+html table { border-collapse:collapse; }	/* IE 7 */
* html table { border-collapse:collapse; }				/* IE 6 */
caption { text-align:left; }
th,
td { text-align:left; vertical-align:middle; empty-cells:show; }
fieldset { border:0 none; }
label { cursor: pointer; }
iframe { margin: 0; padding: 0; width: 100%; overflow:auto; border: none;}

/* 全対応 */
*, *:before, *:after {
	font-family: "メイリオ", Meiryo, "游ゴシック体", "游ゴシック Medium", "Yu Gothic", "Yu Gothic Medium","ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", YuGothic, Helvetica, sans-serif;
	box-sizing: border-box;
	}

/*-------------------------------------
	文字装飾
-------------------------------------*/

h1, h2, h3, h4, h5, h6 { position: relative; margin-bottom: 20px; color: #333; font-size: 18px; font-weight: bold; font-style:normal; line-height: 1.1; text-align: left;}
p, address, blockquote, pre, div,
abbr, acronym, dfn, cite, q, code, kbd, samp, var,
dl, ol, ul,
caption, th { font-weight:normal; font-style:normal; }
em, strong, optgroup { font-weight:bold; font-style:normal; }


/*-------------------------------------
	HTML5
-------------------------------------*/

main, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { position:relative; display:block; margin:0 0 0 0; padding:0 0 0 0; }


/*-------------------------------------
	要素
-------------------------------------*/

html { width: 100%; min-height:100%; font-size: 16px; text-align: center;}

body {
	padding: 0;
	width: 100%;
	min-width: 1080px;
	min-height:100%;
	color:  #333;
	text-align: center;
	line-height: 1;
	background: #FFF;
	-webkit-text-size-adjust : none;
	 -webkit-text-size-adjust: 100%;
	}


/* links */
a, input, object{ outline:none; }

a {
	margin: 0;
	padding: 0;
	border: 0;
	color: #B70000;
	text-decoration: underline;
	vertical-align: baseline;
	background: transparent;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	-webkit-backface-visibility: hidden;
    backface-visibility: hidden;
	}

a:hover { text-decoration:none; cursor: pointer; }
a:visited {	color: #971B20; }
a:active { color: #971B20; text-decoration:none; }

a *,
a:before,
a:after { -webkit-transition: all 0.3s ease; transition: all 0.3s ease; }

::selection { color: #FFF !important; background: #971B20; }
::-moz-selection { color: #FFF !important; background:#971B20; /* Firefox */ }

/* form関係 */
input, select, optgroup, textarea, label, kbd { vertical-align: middle;}

input[type="hidden"]{ display: none; }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0px 1000px #FFF inset; }

input[type="text"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="email"],
input[type="url"],
select,
textarea {
	display: inline-block;
	margin: 0;
	padding: 0 4px;
	width: 100%;
	height: 26px;
	color: #111;
	font-size: 14px;
	line-height: 1;
	background: #FFF;
	border: 1px solid #D4D4D4;
	border-radius: 5px;
	box-shadow: none;
	box-sizing: border-box;
	vertical-align: middle;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
	}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus { background-color: #FFF; border-color: #F09191 !important; box-shadow: 0 0 7px rgba(240, 145, 145, 0.3); outline: none;}

input[type="text"]:disabled,
input[type="number"]:disabled,
input[type="password"]:disabled,
input[type="tel"]:disabled,
input[type="email"]:disabled,
input[type="url"]:disabled,
select:disabled,
textarea:disabled { background-color: #F5F5F5; border-color: #CCC !important;}

fieldset { display: inline-block; margin: 0 10px 0 0; }

td label { margin-right: 20px; }
td fieldset label { display: inline !important; margin-right: 0; }
td label:last-child { margin: 0; }
td select + input + label { margin-left: 20px; }

input[type="number"],
input[type="text"] { margin: 0 10px 0 15px; }
input.M[type="text"]:first-of-type,
input[type="number"]:first-of-type,
input[type="text"]:first-of-type { margin-left: 0; }

input.M[type="text"]:first-of-type:last-of-type,
input[type="number"]:first-of-type:last-of-type,
input[type="text"]:first-of-type:last-of-type { margin: 0; }

input[type="tel"] { max-width: 300px; }

textarea { padding: 6px; height: 120px; line-height: 1.4; vertical-align: text-top; resize: vertical; }
textarea.large { height: 240px; }

:placeholder-shown { color: #999 !important; }
::-webkit-input-placeholder { color: #999 !important; }
:-moz-placeholder { color: #999 !important; }
::-moz-placeholder { color: #999 !important; }
:-ms-input-placeholder { color: #999 !important; }

select { padding: 0 1px; width: auto; min-width: 100px; }
select option {
	margin: 0;
	padding: 2px 6px;
	font-size: 14px;
	font-style: normal;
	}
select option:checked { color: #FFF !important; background-color: #971B20; }

form input.XL  { width: 600px; }
form input.L  { width: 360px; }
form input.M  { width: 240px; }
form input.S { width: 180px; }
form input.MS { width: 120px; }
form input.SS { width: 60px; }
form input.SSS { width: 40px; }

form textarea.S { height: 120px; }

/*　radio, checkbox　*/
input[type=radio],
input[type=checkbox] { display: inline-block; position: relative; top: -1px; margin-right: 6px; vertical-align: middle; }

label { display: inline-block; position: relative; margin-right: 30px\9; padding: 0 8px\9; cursor: pointer; }

/* error */
input[type="text"].error,
input[type="number"].error,
input[type="password"].error,
input[type="tel"].error,
input[type="email"].error,
input[type="url"].error,
select.error,
textarea.error { background: #fffcf7; border-color: #ffad23; }

.errorBaloon { position: absolute; margin: -30px 0 0 !important; padding: 3px 8px 2px; color: #FFF; line-height: 1.4; background: #ffad23; border-radius: 4px; box-shadow: 0 2px 3px #efe2cc; z-index: 10; }
.errorBaloon:before { content: ""; position: absolute; bottom: -5px; left: 14px; border: 5px solid transparent; border-top: 6px solid #ffad23; border-bottom: none; }

/* button ボタン デフォルト */
button,
.btn {
	display: inline-block;
	position: relative;
	padding: 6px 8px 4px;
	width: auto;
	height: 26px;
	color: #B70000 !important;
	font-size: 14px;
	font-weight: normal;
	text-align: center;
	text-decoration: none;
	line-height: 1;
	background: none;
	border: 1px solid #B70000;
	border-radius: 3px;
	vertical-align: middle;
	cursor: pointer;
	outline: none !important;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	}

button:hover,
.btn:hover { background: #FDECEC; }

/* .submit */
button.submit,
.btn.submit { color: #FFF !important; background: #B70000; }

button.submit:hover,
.btn.submit:hover { text-shadow: 0 0 15px #FFF; background: #971B20; border-color: #971B20; box-shadow: 0 4px 12px rgba(183, 0, 0, 0.2); }

/* .gray */
button.gray,
.btn.gray { color: #797979 !important; border-color: #797979; }

button.gray:hover,
.btn.gray:hover { background: #EEE; }

/* .red */
button.red:hover,
.btn.red:hover { color: #FFF !important; background: #B70000; }

/* .cyan */
button.cyan,
.btn.cyan { color: #0062D9 !important; border-color: #0062D9; }

button.cyan:hover,
.btn.cyan:hover { background: #e1f0ff; }

/* .black */
button.black,
.btn.black { color: #333 !important; border-color: #333; }

button.black:hover,
.btn.black:hover { background: #DDD; }

/* .dl */
button.dl,
.btn.dl { color: #0062D9 !important; border-color: #0062D9; }

button.dl:hover,
.btn.dl:hover { color: #FFF !important; background: #0062D9; }

/* .delete */
button.delete,
.btn.delete { color: #333 !important; border-color: #333; }

button.delete:hover,
.btn.delete:hover { color: #FFF !important; background: #333; }

/* .submit.delete */
button.submit.delete,
.btn.submit.delete { color: #FFF !important; background: #333; border-color: #333; }

button.submit.delete:hover,
.btn.submit.delete:hover { color: #FFF !important; background: #000; border-color: #000; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }

/* .submit.dl */
button.submit.dl,
.btn.submit.dl { color: #FFF !important; background: #0062D9; border-color: #0062D9; }

button.submit.dl:hover,
.btn.submit.dl:hover { color: #FFF !important; background: #0056bf; border-color: #0056bf; box-shadow: 0 4px 12px rgba(1, 98, 217, 0.3); }

/* disabled */
button:disabled{ color: #FFF !important; background: #333 !important; border-color: #333 !important; opacity:.4;cursor:default;}
button:disabled:hover{ color: #FFF !important; text-shadow: none !important; background: #333 !important; border-color: #333 !important; box-shadow: none !important; opacity:.3; }

/* table */
table { margin: 0 auto; width: 100%; border-collapse: separate; border-spacing: 0;}
th, td { padding: 8px 10px 7px; font-size: 14px; line-height: 1.4; text-align: left; vertical-align: middle;}
table tr:nth-child(2n) th,
table tr:nth-child(2n) td { background: #F9F9F9; }

/* list dl リスト・定義 */
ul,ol { font-size: 16px; }
ul { list-style: none; list-style-position: inside; }
ol { margin: 0; padding-left: 20px;}
td ul.disc,
td ol { margin-left: 20px;}

li { position: relative; margin: 8px 0; text-align: left; line-height: 140%; }


dl { margin: 0 auto 40px; padding: 0; width: 100%; font-size: 18px; text-align: left; }
dt,dd { padding: 8px 0; text-align: left; line-height: 1.2; vertical-align: top; }
dt { font-weight: bold; }

/* 文字装飾 */
em { color: #971B20; font-weight: normal;}
small { font-size: 13px;}
i { font-style: normal; font-weight:  normal;}
mark { padding: 3px 8px; background-color: #FFF7F5; color: #000; font-style: italic;}
u { text-decoration: none;}


/* 罫線 */
hr {
	clear: both;
	position: relative;
	display: block;
	margin: 60px auto;
	width: 100%;
	height: 1px;
	border: none;
	border-bottom: 1px dotted #CCC;
	text-shadow: none;
	z-index: -20;
	}



/*-----------------------------------------
	共通 
-----------------------------------------*/

/* clearfix */
article section.half:after,
#Service #Occupation ul li div:after { content:''; display:block; height:0; clear:both; visibility:hidden; }

/* android fixed対策 */
#PageTop:after,
header #LogoHead:after,
.menu-trigger span:after,
header .contacts p .mailBtn:after,
header .contacts p .tellBtn:after,
aside ul#SideNavi li a:after,
#loading:after{ content:"."; color:transparent; font-size: 10px; }


/*-----------------------------------------
	header ヘッダ（共通） 
-----------------------------------------*/

header { position: relative; padding: 20px; width: 100%; background: #FAFAFA; border-bottom: 4px solid #971B20; }
header h1 { margin: 0; }
header h1 img { height: 50px; }

header .loginMem { position: absolute; top: 18px; right: 18px; color: #797979; font-size: 14px; }
header .loginMem:before,
header .loginMem:after { content: ""; position: absolute; top: 0; left: -13px; width: 6px; height: 6px; background: #b9b9b9; border-radius: 4px; box-shadow: 0 0 0 1px #FAFAFA, 0 0 0 1px #FAFAFA; }
header .loginMem:before { top: auto; bottom: 2px; left: -16px; width: 12px; border-radius: 10px 10px 6px 6px; }

header nav { position: absolute; bottom: -4px; right: 10px; }
header nav ul { display: flex; justify-content: flex-end; }
header nav ul li { margin: 0 0 0 10px; }
header nav ul li a {
	display: block;
	position: relative;
	padding: 10px 15px;
	min-width: 110px;
	height: 38px;
	color: #000 !important;
	font-size: 16px;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 4px 4px 0 0;
	}
header nav ul li a.current { color: #FFF !important; background: #971B20; }
header nav ul li a:before { content: ""; position: absolute; bottom: 0; left: 0; width: calc(100% - 1px); height: 10px; background: #FEF7F3; opacity: 0; z-index: 120; }
header nav ul li:hover > a { color: #000 !important; background: #FEF7F3; border-color: #F09191; box-shadow: 0 4px 8px rgba(50, 50, 50, 0.1); }
header nav ul li:hover > a:before { opacity: 1; }
header nav ul li a.logout { color: #797979 !important; font-size: 15px; border-bottom: 4px solid #971B20; }
header nav ul li:hover  a.logout { background: #EEE; border-color: #797979; border-bottom: 4px solid #971B20; box-shadow: none !important; }
header nav ul li:hover  a.logout:before { display: none; }

header nav ul li .subMenu {
	display: block;
	position: absolute;
	top: 28px;
	width: auto;
	min-width: 150%;
	height: 0;
	background: #FEF7F3;
	box-shadow: 0 0 0 1px #F09191 inset, 0 4px 8px rgba(50, 50, 50, 0.1);
	overflow: hidden;
	z-index: 100;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
header nav ul li .subMenu li { display: block; margin: 10px; white-space: nowrap; }
header nav ul li .subMenu li a { padding: 5px; height: auto; color: #B70000 !important; font-size: 15px; text-align: left; background: none !important; box-shadow: none !important; }
header nav ul li .subMenu li:hover a { border-color: transparent; }
header nav ul li .subMenu li a.current:before,
header nav ul li .subMenu li a:before { top: 5px; left: -10px; width: 4px; height: 14px; background: #971B20; }
header nav ul li .subMenu li a.current:before{ opacity: 1; }
header nav ul li .subMenu li a.current,
header nav ul li .subMenu li a:hover { color: #000 !important; }

header nav ul li.open .subMenu { top: 34px; height: auto; }


/*-------------------------------------
	footer
-------------------------------------*/

/* PageTop */
#PageTop { position: fixed; right: 10px; bottom: 10px; width: 50px; height: 50px; z-index: 9000; overflow: hidden; }
#PageTop a { display: block; width: 50px; height: 50px; font-size: 0; background: url("/images/pagetop.png") center center no-repeat; opacity: .4; }
#PageTop a:hover { opacity: 1; }


footer { position: relative; margin: 30px 0 0; padding: 20px; width: 100%; }
footer #Copyright { color: #999; font-size: 12px; line-height: 1; text-align: center; }


/*-------------------------------------
			CSS end
-------------------------------------*/