@charset "UTF-8";

/*	##################################
   	HEADINGS
	################################## */

h2 {
	margin: 0 0 2% 0;
	padding: 2.5% 2%;
	background: none;
	background: #ffd24d;
	border: none;
	border-radius: 6px;
	font-size: 180%;
	color: #000000;
}

h2:after {
	position: static;
	content: none;
	border: none;
}

h3 {
	margin: 5% 0 2% 0;
	padding: 2.5% 2%;
	background: none;
	background: #feefbf;
	border: none;
	border-radius: 6px;
	font-size: 180%;
	color: #000000;
}

h3:after {
	position: static;
	content: none;
	width: auto;
	border: none;
}

h4 {
	position: static;
	position: relative;
	margin: 5% 0 2% 0;
	padding: 0 2% 2.5% 2%;
	background: none;
	background-image: repeating-linear-gradient(-45deg, #ffd24d 0, #ffd24d 2px, transparent 2px, transparent 4px);
	background-repeat: no-repeat;
	background-size: 100% 0.5rem;
	background-position: bottom;
	font-size: 180%;
	color: #ffffff;
	border: none;
	border-radius: 0;
}

h4:after {
	position: static;
	content: none;
	transform: none;
	width: auto;
	height: auto;
	border: none;
}

h5 {
	position: static;
	margin: 5% 0 2% 0;
	padding: 0 2%;
	background: none;
	border: none;
	font-size: 140%;
	color: #ffffff;
}

h5:after {
	position: static;
	content: none;
	transform: none;
	width: auto;
	height: auto;
	border: none;
}

hgroup {
	margin: 0 0 2% 0;
	padding: 0;
	text-align: center;
	border-bottom: 4px solid #cccccc;
}

hgroup p {
	color: #999999;
}

/*	##################################
   	HEADER
	################################## */

#kigyokyoku-header-wrap {
	margin: 0;
	padding: 0;
}

#kigyokyoku-header {
	width: 100%;
	margin: 0 auto;
}

#headerLogo {
	display: table-cell;
	text-align: left;
	padding: 0;
}

#headerLogo a {
	display: flex;
	align-items: center;
	text-decoration: none;
}

#headerLogo a img {
	vertical-align: middle;
	display: table-cell;
	margin: 0;
	padding: 0 10px 0 0;
	width: 98px !important;
	height: 83px !important;
}

#headerLogo a span {
	text-align: left;
	vertical-align: middle;
	display: table-cell;
	white-space: nowrap;
	line-height: 1.2em;
	font-weight: bold;
	padding-right: 10px;
	letter-spacing: 2px;
}

#headerLogo a h1 {
	margin: 0;
	padding: 0;
	background: none;
	line-height: 1em;
}

#headerLogo a h1 span {
	display: block;
	margin-bottom: 5px !important;
	color: #ffffff;
	font-size: 11px !important;
	line-height: 1.2em !important;
	font-weight: normal;
	letter-spacing: normal;
}

#headerLogo a h1 img {
	width: 174px !important;
	height: 28px !important;
	margin: 0;
	padding: 0;
}

#headerLogo a h1 img {
	filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(340deg) brightness(104%) contrast(101%);
}

#headerComment {
	margin: 2% auto;
	padding: 0;
	text-align: center;
	line-height: 1.6em;
}

/*	##################################
   	TOP LOGO
	################################## */

#topLogo {
	width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: 0;
	display: flex;
}

#topLogo img {
	margin: 0;
}

#topLogo > * {
	position: relative;
	box-sizing: border-box;
	flex: 0 0 25%;
	width: 25%;
	min-width: 25%;
	max-width: 25%;
}

#topLogo > * > img {
	padding: 0px;
}

#topLogo > * > img.btn {
	opacity: 1;
}

#topLogo > * > img:nth-of-type(1) {
	width: 100%;
	height: auto;
}

#topLogo > * > img:nth-of-type(2) {
	position: absolute;
	top: 30%;
	left: 20%;
	width: 60%;
	height: auto;
}

#topLogo > * > div {
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 46%;
	height: auto;
	text-align: center;
	color: #333333;
	font-size: 10px;
	line-height: 110%;
}

#topLogo > * > div > img {
	width: 100%;
	height: auto;
	margin: 0 0 5% 0;
}

/*	##################################
   	KIGYO NOTICE
	################################## */

.kigyo-notice {
	width: 100%;
	margin: 5% auto 10% auto;
	padding: 0;
}

.kigyo-notice hgroup h2 {
	margin: 0;
	padding: 0;
	background: none;
	font-size: 200%;
	color: #ffffff;
}

.kigyo-notice-box {
	height: 400px;
	margin: 0;
	padding: 0 4% 2% 0;
	overflow-y: scroll;
}

.kigyo-notice-box a {
	text-decoration: none;
}

.kigyo-notice-box a:hover {
	text-decoration: underline;
}

.kigyo-notice-box dl {
	margin: 0;
	padding: 0;
}

.kigyo-notice-box dt {
	margin: 0;
	padding: 2% 4% 1% 0;
}

.kigyo-notice-box dd {
	margin: 0;
	padding: 0 0 2% 0;
	line-height: 1.6em;
	border-bottom: 1px solid #cccccc;
}

.kigyo-notice .more-btn {
	margin: 2% 0 0 0;
	padding: 0;
}

.kigyo-notice .more-btn a {
	display: block;
	margin: 0 0 0 auto;
	padding: 1.5% 2%;
	background: #ffd24d;
	font-weight: 600;
	color: #000000;
	line-height: 1.2em;
	border-radius: 4px;
	width:-moz-fit-content;
	width:fit-content;
	text-decoration: none;
}

.kigyo-notice .more-btn a:hover {
	background: #ffc44d;
	color: #000000;
}

/*	##################################
   	PUBLIC BOX
	################################## */

.kigyo-public {
	width: 100%;
	margin: 5% auto 10% auto;
	padding: 0;
}

.kigyo-public-box {
	margin: 0;
	padding: 0;
	line-height: 1.6em;
}

.kigyo-public-box p {
	margin: 0 0 2% 0;
	padding: 0;
}

.kigyo-public-box a {
	text-decoration: underline;
}

.kigyo-public-box a:hover {
	text-decoration: none;
}

.kigyo-public-box dl {
	margin: 0;
	padding: 0;
}

.kigyo-public-box dt {
	margin: 0;
	padding: 2% 4% 1% 0;
}

.kigyo-public-box dd {
	margin: 0;
	padding: 0 0 2% 0;
	line-height: 1.6em;
	border-bottom: 1px solid #cccccc;
}

.kigyo-public-box ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.kigyo-public-box ul li {
	position: relative;
	flex-wrap: wrap;
	margin: 0;
	padding: 2% 2% 2% 0;
	border-bottom: 1px solid #cccccc;
	line-height: 1.6em;
}

.kigyo-public-box ul li:first-child {
	padding: 0 2% 2% 0;
}

.kigyo-public-box ul li a {
	text-decoration: none;
}

.kigyo-public-box ul li a:hover {
	text-decoration: underline;
}

.kigyo-public-box ul li:after {
	content: "";
	margin: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 8px;
	height: 8px;
	border-top: 2px solid #666666;
	border-right: 2px solid #666666;
	transform: rotate(45deg);
}

/*	##################################
   	KIGYO INFORMATION
	################################## */

.kigyo-information {
	width: 100%;
	margin: 10% auto;
	padding: 0;
}

.kigyo-information hgroup h2 {
	margin: 0;
	padding: 0;
	background: none;
	font-size: 200%;
	color: #ffffff;
}

/*	##################################
   	HOMETOWN LEARNING
	################################## */

.kigyo-hl {
	width: 100%;
	margin: 10% auto;
	padding: 0;
}

.kigyo-hl hgroup h2 {
	margin: 0;
	padding: 0;
	background: none;
	font-size: 200%;
	color: #ffffff;
}

.topMainTable {
	display: flex;
	flex-flow: row wrap;
}

.topMainTable > a {
	overflow: hidden;
	box-sizing: border-box;
	position: relative;
	flex: 0 0 50%;
	width: 50%;
	min-width: 50%;
	max-width: 50%;
	padding-top: 25%;
	background-color: #000000;
}

.topMainTablePhoto {
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.topMainTable > a:before {
	position: absolute;
	z-index: 2;
	display: block;
	content: "";
	top: 9px;
	left: 9px;
	width: 100%;
	height: 100%;
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	border: 1px solid #000000;
	background-color: #000000;
	opacity: 0.3;
	transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
	transform: scale(0);
}

.topMainTable > a:hover:before {
	transform: scale(1);
}

.topMainTable > a:hover {
	opacity: 1;
}

.topMainTable > a:hover .topMainTablePhoto {
	opacity: 0.7;
}

.topMainTable > a:hover .topMainTableContent {
	opacity: 1;
}

.topMainTableContent {
	position: absolute;
	top: 43%;
	left: 12.5%;
	display: block;
	padding: 2.5% 10px 2.2%;
	width: 75%;
	box-sizing: border-box;
	border-radius: 6px;
	overflow: hidden;
	background-color: #000000;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
	color: #ffffff;
	font-size: 1.6vw !important;
	line-height: 1.4em;
	font-weight: bold;
	z-index: 3;
	transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
	transform: translateY(0%) rotate(0.001deg);
}

.topMainTable > a:hover .topMainTableContent {
	transform: translateY(-100%) rotate(0.001deg);
}

.topMainTableComment {
	box-sizing: border-box;
	position: absolute;
	top: 42%;
	left: 10%;
	width: 80%;
	height: 55%;
	padding: 2.5% 10px 2.5%;
	color: #ffffff;
	font-size: 1.4vw !important;
	text-shadow:
		1px 0 0 #000000,
		1px 1px 0 #000000,
		0 1px 0 #000000,
		-1px 1px 0 #000000,
		-1px 0 0 #000000,
		-1px -1px 0 #000000,
		0 -1px 0 #000000,
		1px -1px 0 #000000;
	line-height: 1.6em;
	z-index: 3;
	transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
	transform: scale(0) rotate(0.001deg);
	opacity: 0;
}

.topMainTable > a:hover .topMainTableComment {
	transform: scale(1) rotate(0.001deg);
	opacity: 1;
}

/*	##################################
   	KIGYO ABOUT
	################################## */

.kigyo-about {
	width: 100%;
	margin: 10% auto;
	padding: 0;
}

.kigyo-about hgroup h2 {
	margin: 0;
	padding: 0;
	background: none;
	font-size: 200%;
	color: #ffffff;
}

/*	##################################
   	KIGYO FLYER
	################################## */

.kigyo-flyer {
	width: 100%;
	margin: 10% auto;
	padding: 0;
}

.kigyo-flyer hgroup h2 {
	margin: 0;
	padding: 0;
	background: none;
	font-size: 200%;
	color: #ffffff;
}

.kigyo-flyer-box {
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

.kigyo-flyer-box ul {
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	row-gap: 20px;
	column-gap: 2%;
	justify-content: center;
}

.kigyo-flyer-box ul li {
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	background-size: cover;
	background-repeat: no-repeat;
	flex: 0 0 32%;
}

.kigyo-flyer-box ul li:nth-child(1) {
	background-image: url("../img/bg-top-pamph-1.jpg");
}

.kigyo-flyer-box ul li:nth-child(2) {
	background-image: url("../img/bg-top-pamph-2.jpg");
}


.kigyo-flyer-box ul li:nth-child(3) {
	background-image: url("../img/bg-top-pamph-3.jpg");
}


.kigyo-flyer-box ul li:nth-child(4) {
	background-image: url("../img/bg-top-pamph-4.jpg");
}


.kigyo-flyer-box ul li:nth-child(5) {
	background-image: url("../img/bg-top-pamph-5.jpg");
}

.kigyo-flyer-box ul li img {
	width: 40%;
	margin: 0 0 5% 0;
}

.kigyo-flyer-box ul li a {
	line-height: 1.2em;
	text-decoration: none;
	color: #000000;
	font-weight: 600;
}

.kigyo-flyer-box ul li a:hover {
	opacity: 0.7;
	transition: 1s;
}

.kigyo-flyer-box ul li a img {
	transition: normal;
}

.kigyo-flyer-box ul li a img:hover {
	opacity: 1;
}

.kigyo-flyer-box ul li .outer {
	text-align: center;
	padding: 10%;
}

.kigyo-flyer-box ul li .outer div {
	font-size: 140%;
	text-align: center;
	color: #000000;
}
