@charset "UTF-8";

/*************************************************************
茨城県トラック協会
[css/default.css]
18.06.07
**************************************************************/

/* 目次
-------------------------------------------------------------
1) reset
2) 本文中の画像・キャプション
3) clear
4) fonts
5) flexbox
6) container
7) header, グローバルナビゲーション
8) footer
9) youtube
10) gotop
11) form
-------------------------------------------------------------*/



/* 1) reset
-------------------------------------------------------------*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
body {
    line-height:1;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
	display:block;
}
address, button, caption, cite, code, dfn, em, input, optgroup, option, select, textarea, th, var {
	font-weight: normal;
	font-style: normal;
}
nav ul, ul li, ol li {
    list-style: none;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
	text-decoration: none;
	color: #095;
}
a:hover {
	text-decoration: underline;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}
mark {
    background-color:#fff;
    font-weight:bold;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
table, th, td {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid rgba(0,0,0,0.1);
    margin:0;
    padding:0;
}
img {
	max-width: 100%;
	height: auto;
	border: 0;
	vertical-align: bottom;
}
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
}
body {
	position: relative;
	font-size: 15px;
	line-height: 1.8;
	font-family:'Noto Sans Japanese','Hiragino Kaku Gothic ProN','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
	font-weight: 300;
	word-wrap: break-word;
	color: #000;
}

/* 2) 本文中の画像・キャプション
-------------------------------------------------------------*/
section#main	{
	overflow: hidden
}
.aligncenter	{
	display: block;
	margin: 20px auto;
}
.alignright	{
	float: right;
	margin-bottom: 20px;
	margin-left: 20px
}
.alignleft	{
	float: left;
	margin-bottom: 20px;
	margin-right: 20px
}
.wp-caption	{
	max-width: 100%
}
.wp-caption-text	{
	margin: 0;
	font-size: 13px;
}

/* 3) clear
-------------------------------------------------------------*/
.clear { clear: both; }
.clearfix:after {
	display: block;
	clear: both;
	content: "";
}

/* 4) fonts
-------------------------------------------------------------*/
.eng {
	font-family: Arial,Helvetica,'Noto Sans Japanese','Hiragino Kaku Gothic ProN','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
}
.green { color: #439d62; }
.f13 { font-size: 13px !important; }
.f14 { font-size: 14px !important; }
.f15 { font-size: 15px !important; }
.f16 { font-size: 16px !important; }
.f17 { font-size: 17px !important; }
.f18 { font-size: 18px !important; }
.f19 { font-size: 19px !important; }
.f20 { font-size: 20px !important; }

/* 5) flexbox
-------------------------------------------------------------*/
.flexbox {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
	justify-content: space-between;
}

/* 6) container
-------------------------------------------------------------*/
.container {
	position: relative;
	max-width: 1170px;
	padding: 0 15px;
	margin: 0 auto;
}

/* 6) article
-------------------------------------------------------------*/
article { padding-bottom: 30px; }
article#home { padding-bottom: 85px; }
@media screen and (max-width:767px){
	article { padding-bottom: 10px; }
	article#home { padding-bottom: 60px; }
}

/* 7) header
-------------------------------------------------------------*/
header {
	position: relative;
	width: 100%;
	height: 88px;
	background-color: #fff;
	box-shadow: rgba(0, 0, 0, 0.3) 0 0 7px;
	z-index: 3;
}
header h1 {
	position: relative;
	padding-top: 21px;
	padding-left: 40px;
	z-index: 10;
	width: 224px;
}

/* #hdnav */
#hdnav {
	position: absolute;
	top: 0;
	right: 40px;
	height: 38px;
}
#hdnav ul {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}
#hdnav li + li {
	margin-left: 8px;
}
#hdnav li a {
	display: block;
	width: 140px;
	line-height: 38px;
	color: #fff;
	background-color: #439d62;
	text-align: center;
	border-radius: 0 0 3px 3px;
	font-size: 16px;
	font-weight: 400;
}
#hdnav li a:hover {
	background-color: #222;
	text-decoration: none;
}

@media screen and (min-width:1000px){
	/* グローバルナビゲーション */
	#gnav {
		position: absolute;
		top: 38px;
		height: 50px;
		width: 100%;
	}
	/* IE8〜11 */
	@media screen\0 {
  		#gnav  {
  			z-index: 100;
		}
	}
	/* IE10+ */
	_:-ms-lang(x), #gnav  {
  		z-index: 100;
	}

	#gnav > ul {
		position: relative;
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: end;
    	-webkit-justify-content: flex-end;
		-ms-flex-pack: end;
		justify-content: flex-end;
		padding-right: 40px;
	}
	#gnav > ul > li {
		z-index: 4;
	}
	#gnav > ul > li.spOnly {
		display: none;
	}
	#gnav > ul > li + li {
		padding-left: 16px;
		margin-left: 15px;
		background: url(../images/line_global.png) no-repeat left 18px;
	}
	#gnav > ul > li > a {
		position: relative;
		display: block;
		color: #000;
		font-size: 17px;
		line-height: 50px;
		font-weight: 500;
	}
	#gnav > ul > li > a:hover {
		color: #095;
		text-decoration: none;
	}
	li > a.dropdown:after {
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		height: 0;
		width: 0;
		border: 6px solid transparent;
		border-bottom-color: #fff;
	}
	li:hover > a.dropdown:after {
		content: '';
		border-bottom-color: #439d62;
		transition: all .3s ease;
	}

	/* .gnav メガメニュー */
	#gnav > ul > li:hover .menu {
		max-height: 9999px;
		opacity: 1;
	}
	#gnav > ul .menu {
		transition: all .3s ease;
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		width: 100%;
		left: 0;
		position: absolute;
		background: #439d62 url(../images/img_about.jpg) no-repeat 40px center;
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: end;
    	-webkit-justify-content: flex-end;
		-ms-flex-pack: end;
		justify-content: flex-end;
	}
	#gnav > ul .menu .menu_inner {
		padding: 30px 0;
		font-size: 16px;
		line-height: 2.1;
	}
	#gnav > ul .menu .menu_inner:last-child {
		padding-right: 60px;
	}
	#gnav > ul .menu .menu_inner li.f23 {
		font-size: 23px;
		line-height: 1.4;
	}
	#gnav > ul .menu .menu_inner li {
		margin-right: 50px;
	}
	#gnav > ul .menu a {
		position: relative;
		padding-left: 18px;
		color: #fff;
	}
	#gnav > ul .menu a:before {
		content: '';
		display: block;
		position: absolute;
		left: 0;
		top: 26%;
		width: 12px;
		height: 12px;
		background: url(../images/arrow_1.png) no-repeat;
		background-size: 12px;
	}
	#gnav > ul .menu li.f23 a:before {
		top: 36%;
	}
}

@media screen and (max-width:1199px) and (min-width:1000px){
	header h1 {
		padding-top: 24px;
		padding-left: 15px;
		width: 190px;
	}
	#hdnav {
		right: 15px;
	}

	/* グローバルナビゲーション */
	#gnav > ul {
		padding-right: 15px;
	}
	#gnav > ul > li > a {
		font-size: 16px;
	}
	#gnav > ul > li + li {
		padding-left: 11px;
		margin-left: 10px;
	}
	#gnav > ul .menu {
		background-position: 15px center;
	}
	#gnav > ul .menu .menu_inner {
		font-size: 15px;
	}
	#gnav > ul .menu .menu_inner:last-child {
		padding-right: 0;
	}
	#gnav > ul .menu .menu_inner li {
		margin-right: 35px;
	}
	#gnav > ul .menu .menu_inner li.f23 {
		font-size: 20px;
	}
}

@media screen and (max-width:999px){
	header {
		height: 70px;
	}
	header h1 {
		padding-top: 15px;
		padding-left: 15px;
		width: 190px;
	}
	#hdnav {
		display: none;
	}

	/* グローバルナビゲーション */
	#navToggle {
    	position: absolute;
    	right: 0;
    	top: 0;
    	width: 34px;
    	height: 30px;
		padding: 16px 20px 24px;
    	cursor: pointer;
		background: #439d62 url(../images/menu.png) no-repeat center 50px;
		background-size: 44px auto;
		z-index: 5;
	}
	#navToggle div {
		position: relative
	}
	#navToggle span {
    	display: block;
    	position: absolute;
    	width: 100%;
    	border-bottom: #fff solid 4px;
    	-webkit-transition: .35s ease-in-out;
    	-moz-transition: .35s ease-in-out;
    	transition: .35s ease-in-out
	}
	#navToggle span:nth-child(1) {top:0}
	#navToggle span:nth-child(2) {top:12px}
	#navToggle span:nth-child(3) {top:24px}
	#gnav {
    	position: absolute;
    	right: 0;
    	top: -1011px;
    	background: rgba(255,255,255,.95);
    	width: 52%;
		padding: 0 12px;
    	-webkit-transition: .5s ease-in-out;
    	-moz-transition: .5s ease-in-out;
    	transition: .5s ease-in-out;
		box-shadow: 0 0 3px rgba(0,0,0,0.2);
    	text-align: left;
		z-index: 2;
	}
	#gnav > ul > li {
    	display: block;
    	border-bottom: #eee solid 1px;
    	line-height: 3;
	}
	#gnav > ul > li > a {
		position: relative;
    	padding: 0 1em;
		color: #000;
		font-size: 16px;
		font-weight: 500;
	}
	#gnav ul li a {display:block}
	#gnav ul li::after {content:''}
	#gnav > ul > li:last-child {border-bottom:none}
	#navToggle {display:block}
	.openNav #navToggle span:nth-child(1) {
    	top: 11px;
    	-webkit-transform: rotate(-45deg);
    	-moz-transform: rotate(-45deg);
    	transform: rotate(-45deg)
	}
	.openNav #navToggle span:nth-child(2),
	.openNav #navToggle span:nth-child(3) {
    	top: 11px;
    	-webkit-transform: rotate(45deg);
    	-moz-transform: rotate(45deg);
    	transform: rotate(45deg)
	}
	.openNav #gnav {
    	-moz-transform: translateY(780px);
    	-webkit-transform: translateY(780px);
    	transform: translateY(780px)
	}
	#gnav > ul > li > a {
		position: relative;
    	padding: 0 1em;
		color: #000;
		font-size: 16px;
		font-weight: 500;
	}
	#gnav > ul > li > a:after {
		content: '';
		display: block;
		position: absolute;
		right: 8px;
		top: 37%;
		width: 12px;
		height: 12px;
		background: url(../images/arrow_2.png) no-repeat;
		background-size: 12px auto;
	}
	#gnav > ul > li > .menu {
		padding-bottom: 12px;
	}
	#gnav > ul > li > .menu li a {
		font-size: 14px;
		line-height: 1.8;
		color: #000;
		padding-left: 2.3em;
	}
}

@media screen and (max-width:425px){
	header {
		height: 55px;
	}
	header h1 {
		padding-top: 8px;
	}

	/* グローバルナビゲーション */
	#navToggle {
    	width: 30px;
    	height: 29px;
		padding: 11px 18px 15px;
		background-position: center 40px;
		background-size: 38px auto;
	}
	#navToggle span:nth-child(2) {top:10px}
	#navToggle span:nth-child(3) {top:20px}
	#gnav {
    	width: 70%;
	}
	.openNav #gnav {
    	-moz-transform: translateY(1066px);
    	-webkit-transform: translateY(1066px);
    	transform: translateY(1066px)
	}
}

/* 8) footer
-------------------------------------------------------------*/
footer {
	position: relative;
	width: 100%;
	background-color: #439d62;
	padding: 48px 0;
}
footer p,
footer a {
	color: #fff;
}
footer .container {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
	-webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
	justify-content: space-between;
}
#ftnav > ul {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}
#ftnav > ul > li {
	width: 13em;
	margin-left: 50px;
	font-size: 16px;
	line-height: 1.9;
}
#ftnav > ul > li li.parent {
	font-size: 19px;
	background: url(../images/dot_white.png) repeat-x left bottom;
	background-size: auto 2px;
	padding-bottom: 9px;
	margin-bottom: 7px;
}
#ftnav > ul > li li.privacy {
	background: url(../images/dot_white.png) repeat-x left top;
	background-size: auto 2px;
	padding-top: 9px;
	margin-top: 7px;
}
.ft_association {
	width: 200px;
	font-size: 14px;
	line-height: 1.6;
	padding-right: 14px;
	background: url(../images/mascot_ft.jpg) no-repeat left bottom;
	background-size: 220px auto;
}
.ft_association img {
	width: 200px;
	margin-top: 4px;
	margin-bottom: 20px;
}
.copy {
	position: absolute;
	bottom: 50px;
	right: 40px;
	font-size: 12px;
}

@media screen and (max-width:1017px){
	#ftnav > ul > li {
		font-size: 15px;
		margin-left: 40px;
	}
	#ftnav > ul > li li.parent {
		font-size: 18px;
	}
	.copy {
		font-size: 11px;
	}
}

@media screen and (max-width:948px){
	footer .container {
		display: block;
	}
	#ftnav > ul {
		-webkit-justify-content: space-around;
    	-ms-flex-pack: distribute;
		justify-content: space-around;
	}
	#ftnav > ul > li {
		margin-left: 0;
	}
	.ft_association {
		width: 100%;
		text-align: center;
		padding-top: 140px;
		padding-bottom: 18px;
		background-position: center top;
	}
	.ft_association p.address {
		padding-left: 0.5em;
	}
	.ft_association p.address br {
		display: none;
	}
	.copy {
		position: static;
		text-align: center;
	}
}

@media screen and (max-width:649px){
	footer {
		padding-top: 15px;
	}
	#ftnav > ul {
		display:  block;
	}
	#ftnav > ul > li {
		width: 100%;
	}
	#ftnav > ul > li li {
		line-height: 2.2;
		text-indent: 15px;
	}
	#ftnav > ul > li li.parent {
		line-height: 3;
		padding-bottom: 0;
		margin-bottom: 0 !important;
		background-position: left top;
		background-size: auto 1px;
	}
	#ftnav > ul > li li.parent.first {
		background: none;
	}
	#ftnav > ul > li li:last-child {
		margin-bottom: 18px;
	}
	#ftnav > ul > li li.privacy {
		background-size: auto 1px;
	}
	.ft_association {
		background-size: 180px auto;
		padding-top: 115px;
		margin-top: 15px;
	}
	.ft_association p.address br.spOnly {
		display: inline;
	}
	.copy {
		font-size: 10px;
	}
}

/* 9) youtube
-------------------------------------------------------------*/
.youtube {
	margin-bottom: 50px;
}
@media screen and (max-width:589px){
	.youtube {
		position:relative;
		width:100%;
		padding-top:56.25%;
		margin-top: -30px;
		margin-bottom: 70px;
	}
	.youtube iframe{
		position:absolute;
		top:0;
		right:0;
		width:100%;
		height:100%;
	}
}

/* 10) gotop
-------------------------------------------------------------*/
#gotop {
	position: fixed;
	right:20px;
	bottom:20px;
	width:38px;
	height:38px;
	opacity:0;
}

@media screen and (max-width:999px){
	#gotop { display: none; }
}

/* 11) form
-------------------------------------------------------------*/
input[type=checkbox],
input[type=radio] {
	vertical-align: middle;
	display: inline-block;
}
input[type=checkbox] {
	margin-right: 6px;
}
button {
	display: block;
	font-size: 20px;
	width: 280px;
	margin: 0 auto;
	padding: 10px 0;
	color: #fff;
	background-color: #439d62;
	border: 0;
	border-radius: 4px;
}
button:hover {
	opacity: 0.6;
}
