@charset "utf-8";
/*
Theme Name: SKY FIGHT
Theme URI: https://skyfight.jp/news/
Description: SKY FIGHT
Version: 2.0
Author: SKY FIGHT
Author URI: https://skyfight.jp/
*/

/* Reset */
a {
	color: #000;
}
a:hover {
	color: #01a7bf;
}

/* Main */
main {
	padding: 0 5% 5% 5%;
	background: #fff;
	font-size: 14px;
	color: #000;
}
main h1,
main h2,
main h3,
main h4 {
	color: #000;
}
main h2 {
	padding-top: 40px;
}

.post_cont {
	width: 100%;
	animation: innershow .4s forwards;
	animation-delay: 1200ms;
	-o-transition: all .3s;
	-ms-transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	transition: all .3s;
	opacity: 0;
}
.post_box .thumbnail {
	position: relative;
}
.post_box .cat_list {
	position: absolute;
	top: 6px;
	left: 6px;
	font-size: 12px;
}
.post_box .cat_list span {
	display: block;
    width: 100%;
    padding: 4px 10px;
    color: #fff;
}
.post_box .cat_list .info {
    color: #fff;
    background-color: #2e5ec0;
}
.post_box .cat_list .event {
    color: #fff;
    background-color: #f7470e;
}
.post_box .cat_list li a {
	display: block;
    width: 100%;
    padding: 4px 10px;
    /* border-bottom: 1px solid #cacaca; */
    color: #fff;
    background-color: red;
}
.post_box .ttl {
	padding: 1% 0;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.6;
}
.post_box .ttl small,
.post_box .ttl br {
	display: none;
}
.post_box .date {
	padding: 0 0 1%;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 2px;
}
.post_box .detail {
	padding: 0 0 1%;
	font-size: 14px;
}


.grid {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 1.6em;
}
.grid-item {
	width: 50%;
	padding: 15px;
}
.grid-item img {
	vertical-align: bottom;
}

/* sidebar */
.sidebar {
	width: 100%;
	padding: 5%;
	display: flex;
	justify-content: space-between;
	background: #f6f8f9;
}
.sidebar .side_box {
	width: 20%;
	animation: innershow .4s forwards;
	animation-delay: 1500ms;
	-o-transition: all .3s;
	-ms-transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	transition: all .3s;
	opacity: 0;
}
.sidebar h2 {
	position: relative;
	margin-bottom: 20px;
	font-size: 16px;
	font-weight: bold;
}
.sidebar h2::before {
    content: "";
    display: block;
	bottom: -5px;
	left: 0;
	width: 100%;
    height: 2px;
    position: absolute;
    vertical-align: middle;
	background: #000;
}
.sidebar .btn a {
	display: block;
	width: 100%;
	margin: 0% auto;
	padding: 12px 2px;
	border-radius: 25px;
	background: #000;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	-o-transition: all .3s;
	-ms-transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.sidebar .btn a:hover {
	background: #444;
}
/* search-form */
.search-form {
	display: flex;
}
.search-form label {
	width: 70%;
}
.search-form label .search-field {
    width: 100%;
	height: 45px;
	color: #666;
    border: 1px solid #eaeaea;
    padding: 5px 15px;
    outline: 0;
	background: #fff;
}
.search-form .search-submit {
	width: 30%;
	height: 45px;
	padding: 10px 0;
	background: #000;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	border: 1px solid #eaeaea;
	border-left: 0;
}

footer {
	position: relative;
}


/* article */
.post_inner {
	animation: innershow .4s forwards;
	animation-delay: 1200ms;
	-o-transition: all .3s;
	-ms-transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	transition: all .3s;
	opacity: 0;
}
#breadcrumb {
	display: block;
	max-width: 960px;
    width: 80%;
    margin: 0 auto 4%;
    padding-top: 2%;
    font-weight: bold;
}
#breadcrumb li {
	display: inline-block;
    position: relative;
    margin-right: 8px;
    padding-right: 15px;
}
#breadcrumb li::before {
    display: block;
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    right: 0;
    width: 6px;
    height: 6px;
    margin: auto;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
#breadcrumb li:last-child::before {
	display: none;
}
#breadcrumb li {
	display: inline-block;
    position: relative;
    margin-right: 8px;
    padding-right: 15px;
}
#breadcrumb small,
#breadcrumb br {
	display: none;
}

article.content {
    max-width: 960px;
    width: 80%;
    margin: 0 auto;
	padding-bottom: 60px;
}
.cont_main {
	padding-top: 40px;
	border-top: 2px solid #01a7bf;
}
article.content h3,
article.content h4,
article.content p,
article.content figure,
article.content iframe{
	margin: 0 0 20px 0;
	padding-right: 2%;
	padding-left: 2%;
}
article.content h3,
article.content h4{
	margin-top: 6%;
}
article.content h2 {
	margin: 0 0 20px 0;
	padding: 0;
	/*padding: 2%;
	background: #01a7bf;
	color: #fff;*/
	font-size: 26px;
	letter-spacing: normal;
	line-height: 1.6;
	text-align: left;
}
article.content h2 small:nth-of-type(2) {
	font-size: 16px;
}
article.content h3 {
	padding: 2px 15px 2px;
	font-size: 20px;
	background: #01a7bf;
	color: #fff;
}
article.content h4 {
	font-size: 18px;
	padding: 2px 15px 2px;
	border-bottom: 1px solid #000;
}
article.content figure{
	margin: 4% 0;
}

article.content .info_box {
	display: flex;
	margin-bottom: 20px;
	justify-content: flex-end;
}
article.content .date {
	margin-left: 10px;
	letter-spacing: 2px;
}
article.content .cat_list span {
	display: block;
    width: 100%;
    padding: 0 10px;
    color: #fff;
}
article.content .cat_list .info {
    color: #fff;
    background-color: #2e5ec0;
}
article.content .cat_list .event {
    color: #fff;
    background-color: #f7470e;
}
article.content .event_detail {
	margin: 5% 0;
}

article.content .btn a {
	display: block;
	width: 80%;
	max-width: 500px;
	margin: 10% auto;
	padding: 14px 2px;
	border-radius: 25px;
	background: #000;
	color: #fff;
	font-size: 14px;
	text-align: center;
	-o-transition: all .3s;
	-ms-transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	transition: all .3s;
}
article.content .btn a:hover {
	background: #444;
}

article.content .post_btn a {
	display: block;
	width: 80%;
	max-width: 500px;
	margin: 10% auto;
	padding: 12px 2px;
	border-radius: 25px;
	background: #000;
	color: #fff;
	font-size: 14px;
	text-align: center;
	-o-transition: all .3s;
	-ms-transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	transition: all .3s;
}
article.content .post_btn a:hover {
	background: #444;
}
.wp-block-embed {
	width: 80%;
	margin:  0 auto!important;
    text-align: center;
}
.wp-block-embed__wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	text-align: center;
}
.wp-block-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.wp-block-image {
	margin: 40px auto;
}
.wp-block-image img {
	margin: 0 auto;
}
iframe {
	width: 100%;
}

.post_link_box {
	display: flex;
	justify-content: space-between;
	padding: 4% 0;
	border-top: 2px solid #000;
}
.post_link_box .previous {
	width: 40%;
}
.post_link_box .next {
	width: 40%;
	text-align: right;
}
.post_link_box a {
	padding: 2% 0;
}
.post_link_box small,
.post_link_box br {
	display: none;
}


/* 404 */
.not_found {
	padding-bottom: 200px;
	text-align: center;
}
.not_found .btn a {
	display: block;
	width: 80%;
	max-width: 500px;
	margin: 5% auto;
	padding: 14px 2px;
	border-radius: 25px;
	background: #000;
	color: #fff;
	font-size: 14px;
	text-align: center;
	-o-transition: all .3s;
	-ms-transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.not_found .btn a:hover {
	background: #444;
}

/* 404 */
.search {
	padding-bottom: 200px;
}
.search .txt {
	margin: 0 auto;
}


/* school */
.school article.content h3{
	background: #0b7d8e;
}
.school .school_info_box {
	display: flex;
	flex-wrap: wrap;
	margin: 40px 0 60px;
}
.school .school_info_box .img {
	width: 44%;
	margin-right: 4%;
}
.school .school_info_box .list {
	width: 52%;
}
.school .school_info_box dl {
	display: flex;
	flex-wrap: wrap;
}
.school .school_info_box dt {
	width: 22%;
	margin-right: 2%;
	margin-bottom: 4px;
	padding: 4px 2px 4px 8px;
	background: #d9e9eb;
}
.school .school_info_box dd {
	width: 76%;
	margin-bottom: 2px;
	padding: 4px 0;
}
.school .schoo_btn {
	margin-top: 20px;
}
.school .schoo_btn a{
	display: block;
	position: relative;
    width: 80%;
    max-width: 500px;
    padding: 10px 2px;
    border-radius: 6px;
    background: #01a7bf;
    color: #fff;
    font-size: 14px;
	font-weight: bold;
    text-align: center;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.school .schoo_btn a::after {
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	right: -8px;
	content: "";
	width: 10px;
	height: 10px;
	margin: auto;
	border: 0px;
	border-top: solid 3px #fff;
	border-right: solid 3px #fff;
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	-o-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.school .schoo_btn a:hover::after {
	right: 5%;
}


@media only screen and (min-width: 1200px) {
	.grid-item {
		width: 33%;
		padding: 15px;
	}
}
@media only screen and (max-width: 768px) {
	.sidebar {
		flex-wrap: wrap;
	}
	.sidebar .side_box {
		width: 100%;
		margin-bottom: 40px;
	}
	#breadcrumb {
		display: none;
	}
	article.content {
		width: 100%;
	}
	article.content h2 {
		padding-top: 50px;
	}
}
@media only screen and (max-width: 767px) {
	.grid-item {
		width: 100%;
	}
	#breadcrumb {
		display: none;
	}
	article.content h2 {
		font-size: 18px;
	}
	article.content h3 {
		font-size: 16px;
	}
	article.content h4 {
		font-size: 15px;
	}
	/*.post_link_box {
		flex-wrap: wrap;
	}
	.post_link_box .previous {
		width: 100%;
		margin-bottom: 30px;
	}
	.post_link_box .next {
		width: 100%;
	}*/
}