@charset "utf-8";

/*
		con_form共通
*/
body {
	margin: 0;
}

.right {
	text-align: right;
}
.center {
	text-align: center;
	padding-top:80px;
	font-size: 110%;
}
.center * {
	margin-right: auto;
	margin-left: auto;
}

h1 {
	font-size: 200%;
}
h2 {
	font-size: 150%;
}


/*==========================================
	con_form
===========================================*/

.f_main {
	top: 80px;
	padding-left: 5em;
	padding-bottom: 1.5em;
	position: relative;
}

#inquiry {
	min-height : 200px;
	width : 80%;
	margin-top: 10px;
	margin-bottom: 10px;
}



/* ヘッダ、フッダ部分 */

@media screen and (max-width: 580px) {
	/* 580pxまでに適用されるCSS（スマホ用） */

header {
	width: 100vw;
	height: 40px;
	position: fixed;
	z-index: 100;
	background: #001642;
}
header nav {
	width: 100%;
	color: #ffffff;
	background: #220047;
}


/* contents
---------------------------------------------------------------------------*/
#contents {
	max-width: 540px;		/*サイトの最大幅*/
	margin: 0 auto;
	padding-left: 2% !important;
	padding-right: 2% !important;
}


/* タイトル関連（スマホ）
---------------------------------------------------------------------------*/
.title {
	width: 100%;
	height: 40px;
	z-index: 9;
}
.title img {
	height: 40px;
	float: left;
	margin: 0;
	padding-left: 1.5em;
}
.title p {
	display: flex;
	height: 40px;
	margin: 0;
	align-items: flex-end;
}

.co_name {
	height: 35px;
	padding-left: 0.5em;
	padding-top: 0.2em;
	margin: 0 0 0 1%;
	font-family: 'ＭＳ ゴシック';
	font-size: 1.8em;
	font-style: oblique;
	color: #ffff00;
}

.ddmenu {
	width: 80%;
	position: fixed;
	left: 100%;				/* メニューを画面の外に飛ばす */
	z-index: 99;
	transition: .5s;
}
.ddmenu-ch {
	width: 80%;
	height: 30px;
	background-color: #00008b;
	padding-left: 10%;
	border-bottom: 1px solid #808080;
}
.ddmenu-ch a {
	color: #ffffff;
	text-decoration: none;
}
.ddmenu-ch a:hover {
	color: #7cfc00;
	font-weight: bold !important;
}

.drawer_hidden {
	display: none;
}
.drawer_open {
	display: flex;
	width: 40px;
	height: 40px;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 110;				/* 重なり順を一番上にする */
	cursor: pointer;
	margin-left: 15px;
}
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
	content: '';
	display: block;
	height: 3px;
	width: 25px;
	border-radius: 3px;
	background: #ffffff;
	transition: 0.5s;
	position: absolute;
}
.drawer_open span:before {
	bottom: 8px;
}
.drawer_open span:after {
	top: 8px;
}
#drawer_input:checked ~ .drawer_open span {
	background: rgba(255, 255, 255, 0);
}
#drawer_input:checked ~ .drawer_open span::before {
	bottom: 0;
	transform: rotate(45deg);
}
#drawer_input:checked ~ .drawer_open span::after {
	top: 0;
	transform: rotate(-45deg);
}
#drawer_input:checked ~ .ddmenu {
	left: 10%;				/* メニューを画面に入れる */
}

.smapho_off {
	display: none;
}

footer {
	margin-top: 3.5em;
	width: 100%;
	height: 70px;
	text-align: center;
	background-color: #363636;
	color: #ffffff;
	font-size: 90%;
}
.footer {
	width: 100%;
	padding-top: 20px;
	background-color: #363636;
	color: #ffffff;
}

.footer ul {
	display: none;
	justify-content: center;
	list-style-type: none;
	text-align: center;
	overflow: hidden;
}
.footer ul li {
	width: 80%;
	text-align: center;
}
.footer ul li a {
	display: block;
	text-decoration: none;
	color: #ffffff;
}
.footer a:hover {
	color: #ffd700;
}

#copyright {
	margin-top: 1.5%;
	padding-bottom: 1.5%;
	text-align: center;
	clear: both;
}
#copyright small {
	font-size: 75%;
}

}

@media screen and (min-width: 581px) {
	/* 581px以上に適用されるCSS（タブレット用） */

header {
	width: 100vw;
	height: 95px;
	position: fixed;
	z-index: 100;
	background: #001642;
}

a {
	color: #333333;
}

.title {
	width: 100%;
	height: 55px;
	z-index: 9;
}
.title img {
	height: 55px;
	float: left;
	margin: 0;
	padding-left: 1.5em;
}
.title p {
	display: flex;
	height: 55px;
	margin: 0;
	align-items: flex-end;
}

.co_name {
	padding-left: 0.5em;
	padding-bottom: 0.2em;
	margin: 0 0 0 1%;
	font-family: 'ＭＳ ゴシック';
	font-size: 2.3em;
	font-style: oblique;
	color: #ffff00;
}

header nav {
	width: 100%;
	height: 40px;
	text-align: center;
	background: #220047;
	border-top: solid 3px #ffff00;
}

.ddmenu {
	display: inline-flex;
	padding: 0;
	margin: 0;
	font-size: 85%;
	list-style: none;
}
.ddmenu-ch {
	width: 85px;
	height: 40px;
	text-align: justify;
	position: relative;		/* サブメニュー表示の基準位置 */
	padding: 0 5px;
}
.ddmenu-ch a {
	align-items: center;
	display: flex;
	width: 85px;
	height: 40px;
	color: #ffffff;
	text-decoration: none;
	justify-content: center;
}

.ddmenu-ch a:hover {
	text-decoration: underline;
	text-decoration-thickness: 4px;
	color: #ffa500;
}

.ddm-list {
	position: relative;
}
.ddm-list:hover {
	display: block;		/* マウスポインタを当てたリストを表示する */
}

.pc_off {
	display: none;
}
.smapho_off {
	display: block !important;
}

footer {
	margin-top: 3.5em;
	width: 100%;
	height: 100px;
	text-align: center;
	background-color: #363636;
	color: #ffffff;
	font-size: 85%;
}

.footer {
	width: 100%;
	padding-top: 1.5em;
	color: #ffffff;
}

.footer ul {
	display: flex;
	justify-content: center;
	list-style-type: none;
	text-align: center;
	overflow: hidden;
}
.footer ul li {
	width: 12%;
	text-align: center;
}
.footer ul li a {
	display: block;
	text-decoration: none;
	color: #ffffff;
}
.footer a:hover {
	color: #ffd700;
}

#copyright {
	margin-top: 0.5em;
	padding-bottom: 0.5em;
	text-align: center;
	clear: both;
}
#copyright small {
	font-size: 75%;
}

}

@media screen and (min-width: 1025px) {
	/* 1025px以上に適用されるCSS（PC用） */

header {
	width: 100vw;
	height: 95px;
	position: fixed;
	z-index: 100;
	background: #001642;
}

.title {
	width: 100%;
	height: 55px;
	z-index: 9;
}
.title img {
	height: 55px;
	float: left;
	margin: 0;
	padding-left: 3em;
	vertical-align: middle;
}
.title p {
	display: flex;
	height: 55px;
	margin: 0;
	align-items: flex-end;
}

.co_name {
	padding-bottom: 0.2em;
	padding-top: 0.5em;
	margin: 0 0 0 1%;
	font-family: 'ＭＳ ゴシック';
	font-size: 2.3em;
	font-style: oblique;
	color: #ffff00;
}

header nav {
	width: 100%;
	height: 40px;
	margin: 0 auto;
	text-align: center;
	background: #220047;
	border-top: solid 3px #ffff00;
}

.ddmenu {
	display: inline-flex;
	padding: 0;
	margin: 0;
	font-size: 105%;
	list-style: none;
}
.ddmenu-ch {
	width: 130px;
	height: 40px;
	text-align: justify;
	position: relative;		/* サブメニュー表示の基準位置 */
	padding: 0;
}
.ddmenu-ch a {
	width: 130px;
	height: 40px;
	align-items: center;
	display: flex;
	color: #ffffff;
	text-decoration: none;
	justify-content: center;
}

.ddmenu-ch a:hover {
	text-decoration: underline;
	text-decoration-thickness: 4px;
	color: #ffa500;
}

.ddm-list {
	position: relative;
}
.ddm-list:hover {
	display: block;		/* マウスポインタを当てたリストを表示する */
}

.currentpage a {
	color: #00ff00 !important;
	font-weight: bold;
}

.pc_off {
	display: none;
}
.smapho_off {
	display: block !important;
}

footer {
	margin-top: 50px;
	width: 100%;
	height: 100px;
	text-align: center;
	background-color: #363636;
	color: #ffffff;
	font-size: 90%;
}
.footer {
	width: 100%;
	padding-top: 20px;
	background-color: #363636;
	color: #ffffff;
}

.footer ul {
	display: flex;
	justify-content: center;
	list-style-type: none;
	text-align: center;
	overflow: hidden;
}
.footer ul li {
	width: 9%;
	text-align: center;
}
.footer ul li a {
	display: block;
	text-decoration: none;
	color: #ffffff;
}
.footer a:hover {
	color: #ffd700;
}

#copyright {
	margin-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	clear: both;
}
#copyright small {
	font-size: 80%;
}

