@charset "utf-8";
/* CSS Document */

*{
	margin: 0;
	padding: 0;
	font-size:16px;
	line-height: 1.8;
	font-family: 'Sawarabi Gothic', sans-serif;
}

img{
	width: 100%;
}

.mb80{margin-bottom: 80px;}

a{
	text-decoration: none;
	color: #e23828;
}

i{
	padding-left: 5px;	
}

h2{
	text-align: center;
	margin: 0 auto 65px;
	font-size: 25px;
	font-weight: bolder;
	color:#e23828;
	position: relative;
	line-height: 1.2;
	font-family: 'Noto Sans JP', sans-serif;
}

h2:after{
	 border: 25px solid transparent;
     border-top-color: #e23828;
     border-bottom-width: 0;
     bottom: -40px;
     content: "";
     display: block;
     margin: 0 auto;
	 left: 0;
     right: 0;
     position: absolute;
     width: 0;
}

h2 span{
	color: #000;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-weight:bold;
}

.red{color: red;}


.logo-space{
	background-color: #fff;
	padding: 10px;
	text-align: left;
	margin: 0 0 0 auto;
}

.logo-space img{
	width:250px ;
}

.logo{
	width:180px ;
}

.logo-con{
	width:280px ;
	margin-left: 30px;
}


.container{
	margin: 0 auto;
	width:550px;
	max-width:100%;
}

.section1{
	width:800px;
	max-width:100%;
	padding: 70px 0;
	margin: 0 auto;	
}

.section2{
	background-color:#ededed;
	width:800px;
	max-width:100%;
	padding: 70px 0;
	margin: 0 auto 70px;	
}

.section3{
	background-color: #ededed;
	padding: 70px 0;	
}

.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  width: 800px;
  max-width:100%;
  margin: 0 auto;}

.tab_item {
  width: calc(100%/3);
  height: 50px;
  border-bottom: 3px solid #e23828;
  background-color: #fff;
  line-height: 50px;
  font-size: 20px;
  text-align: center;
  color: #e23828;
  display: block;
  float: left;
  font-weight: bold;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3em;
}

.tab_item:before {
  position: absolute;
  top: -250%;
  left: -100px;
  width: 180px;
  height: 300%;
  content: '';
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background: #fff;
  border-right: 3px solid #e23828;
  
}

.tab_item span {
  font-size: 25px;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-left: 10px;
  color: #e23828;
  letter-spacing: 0;
}

.tab_item:hover {
  background-color: #e23828;
  color: #fff;
  cursor: pointer;
}

.tab_item:hover:before {
  position: absolute;
  top: -250%;
  left: -100px;
  width: 180px;
  height: 300%;
  content: '';
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background: #e23828;
  border-right: 3px solid #fff;
  
}

.tab_item:hover span {
  font-size: 25px;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-left: 10px;
  color: #fff;
}

input[name="tab_item"] {
  display: none;
}

.tab_content {
  display: none;
  width: 550px;
  max-width:100%;
  margin: auto;
  padding:70px 0; 
  clear: both;
  overflow: hidden;
}


#all:checked ~ #all_content,
#programming:checked ~ #programming_content,
#design:checked ~ #design_content {
  display: block;
}

.tabs input:checked + .tab_item {
  background-color: #e23828;
  color: #fff;
}

.tabs input:checked + .tab_item:before {
  position: absolute;
  top: -250%;
  left: -100px;
  width: 180px;
  height: 300%;
  content: '';
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background: #e23828;
  border-right: 3px solid #fff;
  
}

.tabs input:checked + .tab_item span {
  font-size: 25px;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-left: 10px;
  color: #fff;
}

.c-txtsp{
	text-indent: -1em;
    margin-left: 1em;
}

.c-txtsp:before {
    content: '';
    display: inline-block;
    width: .5em;
    height: .5em;
    margin-right: .5em;
    background: #e23828;
    transform: rotate(45deg);
    vertical-align: 2px;
}

.judge-parent{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    margin: 0 auto;
    padding: 2em 0;
    width: 800px;
    max-width: 100%;
}

.judge-child {
    margin:0 20px 50px;
    flex: 1 0 150px;
	width: 100%;
}

.judge-child p{
	width: 225px;
	margin: 0 auto;
}

.judge-child img{
	width: 200px;
}

.judge-child p span{
	font-size: 14px;
	color: #e23828;
}

.btn {
    color: #fff;
	background-color:  #e23828;
    border-radius: 1vh;
    text-decoration: none;
    display: inline-block;
    margin: 0 auto;
    padding: .5rem 2rem;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.btn-center{text-align: center;}

#consult{margin-bottom: 20px;
}
#consult th{
  width: 20%;
  vertical-align: top;
  text-align: left;
}


footer{
	background-color: #e23828;
	padding: 10px;
	color: #fff;
	text-align: center;
}

@media screen and (max-width: 549px) {
	
	*{
	font-size:14px;
}
	
	.tab_item {
  		width: calc(100%/2);
		font-size: 16px;
	}
	
	.bg{
	background-image:none;
}
}

/* entry-work-container */

h3{
	text-align: center;
	font-size: 25px;
	max-width: 960px;
	width: 90%;
	border-bottom: solid 3px #e23828;
	margin: 80px auto 30px;
}

h4{
	font-size: 20px;
	margin-top: 20px;
	line-height: 28px;
	height: 60px;
}

.lower-head {
  display: flex;
  align-items: center;
}
 
.entry-work-container {
    max-width: 960px;
    margin: 0 auto 80px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	grid-gap: 30px;
}
 
.lower-head {
	height:40px;
  	background-color: #fff;
	line-height: 40px;
}

.lower-head-img{
	height: 30px;
	width: auto;
	vertical-align: middle;
	margin-left: 20px;
}
 
.logo {
  height: 50px;
  margin-right: 20px;
}
 
.leading {
	margin-bottom: 30px;
	padding: 60px 0;
	background-color:#ededed ;
	color: #000;
}

.leading h2{
	color: #000;
	font-size: 30px;
}

.leading-container {
    max-width: 650px;
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 20px;
	text-align: center;
}

.leading-container a{
	font-weight: bold;
	border-bottom: solid 3px #e23828;
	width: 80%;
	margin: 0 auto;
	display: block;
}

.leading-container a:hover{
	color: #000;
}
 
.cards {
  max-width: 960px;
  margin: 0 auto 30px;
}
 
article {
  box-shadow: 4px 4px #ededed;
	padding: 30px 0 10px;
	position: relative;
	
}
 
.article-img {
  height: auto;
  width: 90%;
  object-fit: cover;
	margin: 0 auto;
	display:block; 
}

.h-50{
	width: 90%;
	aspect-ratio: 8 / 3;
	object-fit: cover;
}
 
.article-text {
  bottom: 0;
  width: 90%;
  margin: 0 auto;
}

.article-text p{
	margin: 10px 0 20px;
	line-height: 1.6;
}

.medal{
	width: 120px;
	height: auto;
	z-index:2;
	position: absolute;
	top:10px;
}

.strong{
	font-size: 1.5rem;
	font-weight: bolder;
}

@media screen and (min-width: 768px) {
.log{
  display: flex;
	width: 960px;
	margin: 0 auto 20px;

}

.log .btn-center{
	width: 768px;
	float: left;
	text-align: center;
}
}
@media screen and (max-width: 768px) {
.log{
  display:block;
	width: 100%;
	margin: 0 auto;
}
.log .btn-center{
	width: 100%;
	float: left;
	text-align: center;
	margin: 10px 0;
}
}
