@charset "utf-8";

html {
	font-size: 62.5%;
}

body {
	font-size: 1.6em;
	font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	background: #f7f7f7;
	color: #444;
}

.op:hover {
	opacity: 0.8;
}

.content{
	margin: 0 auto;
	padding: 40px;
}

.color_1 {
	color: #ff2f19;
}

.color_2 {
	color: #1576de;
}

.color_3 {
	color: #009389;
}

.color_4 {
	color: #ffab1d;
}

.color_5 {
	color: #4dad3c;
}

.color_6 {
	color: #7e3aea;
}

.color_7 {
	color: #e04848;
}

.color_notice {
	color: #ff8c00;
}

.text-gray {
    color: #999999;
}

.modal{
	display: none;
	height: 100vh;
	position: fixed;
	top: 0;
	width: 100%;
}

.modal__bg{
	background: rgba(0,0,0,0.8);
	position: absolute;
	height: 100vh;
	width: 100%;
}

.modal__content{
	background: #fff;
	border-radius: 5px;
	position: absolute;
}

@media only screen and (min-width: 950px) {
	.modal__content{
		padding: 0px;
		left: 50%;
		top: 50%;
		transform: translate(-50%,-50%);
		width: 60%;
	}
}
@media only screen and (max-width: 949px) {
	.modal__content{
		padding: 0px;
		left: 50%;
		top: 50%;
		transform: translate(-50%,-50%);
		width: 90%;
		height: 90vh;
	}
}

.modal_close_icon {
	width: 60px;
	margin-left: auto;
	padding: 10px;
	float: right;
	padding-top: 18px;
}

.modal_close_icon img {
	width: 100%;
}

.modal_box .modal_title {
	padding: 24px 15px 24px 15px;
	border-bottom: 1px solid #ccc;
	font-size: 2.7rem;
	font-weight: 500;
}

.modal_detail {
	width: 95%;
	margin: 20px auto;
}

.modal_detail_box {
	padding: 20px;
	border: 2px solid #eee;
	background-repeat: no-repeat;
	background-position: 20px 20px;
	background-size: 70px;
	margin-top: 20px;
	max-height: 412px;
	overflow-y: scroll;
}

.modal_detail_title {
	font-size: 2.2rem;
	margin-left: 90px;
}

.modal_detail_txt {
	line-height: 1.3;
	margin-top: 10px;
	margin-left: 90px;
}

.modal_btn {
	text-align: right;
	margin: 50px 0 20px;
}

.modal_btn a {
	padding: 15px 20px;
	text-decoration: none;
	color: #fff;
	border-radius: 3px;
}

.modal_tel_num {
	font-weight: 500;
	text-align: right;
	font-size: 2.8rem;
	margin-top: 30px;
}

.modal_tel_num i {
    margin-left: 24px;
}

#modal_1 .modal_detail_box:nth-child(1) {
	background-image: url(../img/toppage/icon_1_1.png);
}

#modal_1 .gray:nth-child(1) {
	background-image: url(../img/toppage/icon_1_1_gray.png);
}

#modal_1 .modal_detail_box:nth-child(2) {
	background-image: url(../img/toppage/icon_1_2.png);
}

#modal_1 .gray:nth-child(2) {
	background-image: url(../img/toppage/icon_1_2_gray.png);
}

#modal_1 .modal_btn a {
	background: -moz-linear-gradient(top, #FF6C00, #FF1F1F);
	background: -webkit-linear-gradient(top, #FF6C00, #FF1F1F);
	background: linear-gradient(to bottom, #FF6C00, #FF1F1F);
}

#modal_2 .modal_detail_box:nth-child(1) {
	background-image: url(../img/toppage/icon_1_1.png);
}

#modal_2 .gray:nth-child(1) {
	background-image: url(../img/toppage/icon_1_1_gray.png);
}

#modal_2 .modal_detail_box:nth-child(2) {
	background-image: url(../img/toppage/icon_2_2.png);
}

#modal_2 .gray:nth-child(2) {
	background-image: url(../img/toppage/icon_2_2_gray.png);
}

#modal_2 .modal_btn a {
	background: -moz-linear-gradient(top, #4fa3dc, #1172de);
	background: -webkit-linear-gradient(top, #4fa3dc, #1172de);
	background: linear-gradient(to bottom, #4fa3dc, #1172de);
}

#modal_3 .modal_detail_box:nth-child(1) {
	background-image: url(../img/toppage/icon_1_1.png);
}

#modal_3 .gray:nth-child(1) {
	background-image: url(../img/toppage/icon_1_1_gray.png);
}

#modal_3 .modal_detail_box:nth-child(2) {
	background-image: url(../img/toppage/icon_1_2.png);
}

#modal_3 .gray:nth-child(2) {
	background-image: url(../img/toppage/icon_1_2_gray.png);
}

#modal_3 .modal_btn a {
	background: -moz-linear-gradient(top, #009389, #459c63);
	background: -webkit-linear-gradient(top, #009389, #459c63);
	background: linear-gradient(to bottom, #009389, #459c63);
}

#modal_4 .modal_detail_box:nth-child(1) {
	background-image: url(../img/toppage/icon_4_1.png);
}

#modal_4 .gray:nth-child(1) {
	background-image: url(../img/toppage/icon_4_1_gray.png);
}


#modal_4 .modal_detail_box:nth-child(2) {
	background-image: url(../img/toppage/icon_4_2.png);
}

#modal_4 .gray:nth-child(2) {
	background-image: url(../img/toppage/icon_4_2_gray.png);
}

#modal_4 .modal_btn a {
	background: -moz-linear-gradient(top, #ff8e1f, #ffc600);
	background: -webkit-linear-gradient(top, #ff8e1f, #ffc600);
	background: linear-gradient(to bottom, #ff8e1f, #ffc600);
}

#modal_5 .modal_detail_box:nth-child(1) {
	background-image: url(../img/toppage/icon_5_1.png);
}

#modal_5 .gray:nth-child(1) {
	background-image: url(../img/toppage/icon_5_1_gray.png);
}

#modal_5 .modal_btn a {
	background: -moz-linear-gradient(top, #ecd815, #4eb049);
	background: -webkit-linear-gradient(top, #ecd815, #4eb049);
	background: linear-gradient(to bottom, #ecd815, #4eb049);
}

#modal_6 .modal_detail_box:nth-child(1) {
	background-image: url(../img/toppage/icon_6_1.png);
}

#modal_6 .gray:nth-child(1) {
	background-image: url(../img/toppage/icon_6_1_gray.png);
}

#modal_6 .modal_btn a {
	background: -moz-linear-gradient(top, #a463e1, #6f29ee);
	background: -webkit-linear-gradient(top, #a463e1, #6f29ee);
	background: linear-gradient(to bottom, #a463e1, #6f29ee);
}

#modal_7 .modal_detail_box.dom {
	background-image: url(../img/toppage/icon_7_1.png);
}

#modal_7 .modal_detail_box.dom.gray {
	background-image: url(../img/toppage/icon_7_1_gray.png);
}

#modal_7 .modal_detail_box.racco {
	background-image: url(../img/toppage/icon_7_2.png);
}

#modal_7 .modal_detail_box.racco.gray {
	background-image: url(../img/toppage/icon_7_2_gray.png);
}

#modal_7 .modal_detail_box.overseas {
	background-image: url(../img/toppage/icon_7_3.png);
}

#modal_7 .modal_detail_box.overseas.gray {
	background-image: url(../img/toppage/icon_7_3_gray.png);
}

#modal_7 .modal_detail_box.dom .modal_btn a {
	background: #e04848;
}

#modal_7 .modal_detail_box.racco .modal_btn a {
	background: #30bc30;
}

#modal_7 .modal_detail_box.overseas .modal_btn a {
	background: #458bd3;
}

/* メッセージ用モーダル。念のため8〜12まで用意 */
#modal_8 .modal_detail_box p.message,
#modal_9 .modal_detail_box p.message,
#modal_10 .modal_detail_box p.message,
#modal_11 .modal_detail_box p.message,
#modal_12 .modal_detail_box p.message {
	font-size: 1.1em;
    line-height: 175%;
}


.gray {
	background-color: #e5e5e5;
}

.gray .modal_detail_title,
.gray .modal_detail_txt,
.gray .modal_tel_num {
	color: #999;
}

.gray .modal_btn a {
	background: #aaa !important;
}

.wrap {
	max-width: 1140px;
	margin: 10px auto;
	width: 95%;
}

header {
	margin-top: 26px;
	margin-bottom: 36px;
}

header h1 {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
}

header h1 .logo {
	width: 80px;
}

header h1 .logo img {
	width: 100%;
}

header h1 p {
	color: #50b848;
	font-size: 2rem;
	margin: 10px 0 0 10px;
	line-height: 1.3;
}

header h1 p span {
	font: bold 3.8rem Arial, Helvetica, sans-serif;
}

/*************************************************************
メッセージ欄
**************************************************************/

.notice {
	padding: 3px;
	background: #fff;
	border: 3px solid #e5e5e5;
	border-radius: 5px;
	margin: 10px 1.3% 10px;
}

.notice:nth-of-type(3) {
	margin-bottom: 40px;
}

.notice.error {
    border-color: #CC0000;
}

.notice.error p {
    color: #CC0000;
    padding: 10px;
    margin: 10px;
}

.notice a{
    text-decoration: none;
}

.notice a:link{
  color: #ff8c00;
}
.notice a:visited{
  color: #ff8c00;
}
.notice a:hover{
  color: #d2691e;
}
.notice a:active{
  color: #ff8c00;
}

.notice p.message {
	line-height: 1.2;
	margin: 12px;
    font-size: 1.6em;
}

.notice p img.logo-goto {
    vertical-align: middle;
    margin-right: 10px;
    width: 150px;
}

.notice p span {
    vertical-align: middle;
}


.main ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: center;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.main ul li {
	position: relative;
	background: #fff;
	border-radius: 10px;
	box-shadow:2px 3px 6px 2px #d2d2d2;
}

.main ul li a {
	text-decoration: none;
	color: #444;
	display: block;
	height: 330px;
}

@media only screen and (min-width: 950px) {
	.main ul li {
		margin-bottom: 3%;
	}
	.main ul li a {
		height: 330px;
	}
}

@media only screen and (max-width: 949px) {
	.main ul li {
		margin-bottom: 30px;
	}
	.main ul li a {
		height: 360px;
	}
}

.main ul li .tag	{
	position: absolute;
	top: -6px;
	left: 20px;
	width: 120px;
}

.main ul li	img {
	width: 100%;
}

.main ul li .icon	{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}

.main ul li a:hover {
	border-radius: 10px;
}

.main ul li.link_1 a:hover {
	border: 5px solid #ff2f19;
}

.main ul li.link_2 a:hover {
	border: 5px solid #1576de;
}

.main ul li.link_3 a:hover {
	border: 5px solid #009389;
}

.main ul li.link_4 a:hover {
	border: 5px solid #ffab1d;
}

.main ul li.link_5 a:hover {
	border: 5px solid #4dad3c;
}

.main ul li.link_6 a:hover {
	border: 5px solid #7e3aea;
}
.main .admin_brn div a:hover {
	border: 5px solid #7e3aea;
}

.main ul li a .icon img {
	-webkit-transform: scale(1) rotate(0.001deg);;
	transform: scale(1) rotate(0.001deg);;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.main ul li a:hover .icon img {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.main ul li .icon {
	min-width: 150px;
}

.main ul li.link_1 .icon {
	width: 38%;
	top: 80px;
}

.main ul li.link_2 .icon {
	width: 42%;
	top: 100px;
}

.main ul li.link_3 .icon {
	width: 42%;
	top: 65px;
}

.main ul li.link_4 .icon {
	width: 34%;
	top: 55px;
}

.main ul li.link_5 .icon {
	width: 45%;
	top: 60px;
}

.main ul li.link_6 .icon {
	width: 53%;
	top: 60px;
}

.main ul li .txt {
	text-align: center;
	width: 85%;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}

.main ul li .txt .title_txt {
	font-size: 2.5rem;
	font-weight: 500;
}

.main ul li .txt .detail_txt {
	margin: 20px auto 0;
	line-height: 1.5;
	text-align: left;
	font-size: 1.5rem;
	font-weight: 600;
}

@media only screen and (min-width: 950px) {
	.main ul li {
		width: 31%;
		margin-left: 1%;
		margin-right: 1%;
	}
	.main ul li .txt {
		top: 195px;
	}
}

@media only screen and (max-width: 949px) {
	.main ul li {
		width: 48%;
		margin-left: 1%;
		margin-right: 1%;
	}
	.main ul li .txt {
		top: 210px;
	}
}

@media only screen and (max-width: 640px) {
	.main ul li {
		width: 100%;
	}
	.main ul li .txt {
		top: 60%;
	}
	.main ul li .icon {
		max-width: 30%;
	}
}

.admin_btn {
	position: relative;
	margin: 40px 0 60px;
}

.admin_btn a {
	width: 95%;
	height: 90px;
	border-radius: 5px;
	box-shadow: 2px 3px 6px 2px #d2d2d2;
	background: #fff;
	display:block;
	text-decoration: none;
	color: #444;
	margin-left: 5%;
}

.admin_btn a:hover {
	border-radius: 5px;
	border: 5px solid #e04848;
}

.admin_btn a .title_txt {
	font-size: 2.4rem;
	font-weight: 500;
}

.admin_btn a .detail_txt {
	margin-top: 10px;
	font-size: 1.5rem;
	font-weight: 600;
}

@media only screen and (min-width: 950px) {
	.admin_btn {
		width: 600px;
		margin-left: auto;
	}
	.admin_btn a img {
		position: absolute;
		top: -8px;
		left: -10px;
		width: 100px;
		-webkit-transform: scale(1);
		transform: scale(1);
		-webkit-transition: .4s ease-in-out;
		transition: .4s ease-in-out;
	}
	.admin_btn a:hover img {
		-webkit-transform: scale(1.05) rotate(0.001deg);;
		transform: scale(1.05) rotate(0.001deg);;
	}
	.admin_btn a .admin_btn_txt {
		position: absolute;
		top: 15px;
		right: 20px;
	}
}

@media only screen and (max-width: 949px) {
	.admin_btn {
		max-width: 600px;
		margin-left: auto;
	}
	.admin_btn a {
		margin-left: 0;
		width: 100%;
		height: 100px;
	}
	.admin_btn a img {
		position: absolute;
		width: 65px;
		top: 20px;
		left: 15px;
	}
	.admin_btn a .title_txt {
		font-size: 2rem;
	}
	.admin_btn a .admin_btn_txt {
		position: absolute;
		top: 15px;
		left: 85px;
		font-size: 2rem;
		line-height: 1.2;
		padding: 0 10px;
	}
}

.gray .btn {
	padding: 10px;
	background: #aaa;
	color: #fff;
	border-radius: 5px;
	width: 120px;
	margin-left: auto;
	text-align: center;
	font-size: 1.5rem;
	margin-top: 50px;
	margin-bottom: 0px;
}

footer {
	width: 100%;
	text-align: center;
	color: #6c757d;
	padding: 20px 0;
	border-top: 1px solid #dee2e6;
	font-size: 1.5rem;
}