@charset "utf-8";
/* CSS Document */
html { scroll-behavior: smooth;}
*{
	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;
}

.header__inner{
	align-items: center;
    display: flex;
    height: 50px;
    justify-content: space-between;
    margin: 10px 0;
    position: relative;
}

.header{
    background-color: #e23828;
    margin-top: -10px;
    padding: 10px;
}

@media screen and (max-width: 900px){
.header__inner {
    display:none;
}
.header__menu{
	align-items: center;
    display: flex;
    justify-content: center;
}

.header__menu li{
	font-size: 0.8rem;
    padding: 0 4vw;
}

.menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #e23828;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(226,56,40,0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
    background-color: rgba(255,255,255);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
    background-color: rgba(255,255,255);
}


.menu-content {
    width: 70%;
    height: 60%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background-color: #e23828;
    transition: all 0.5s;
}

#menu-btn-check:checked ~ .menu-content {
    left: 30%;
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}
#menu-btn-check{
    display:none;
}
}


@media screen and (min-width: 900px){
    #menu-btn-check{
    display:none;
}
    .hamburger-menu{
	display:none;
}
}

.header__inner nav, ul{
	    list-style: none;
}

.header__menu{
	align-items: center;
    display: flex;
    justify-content: center;

}

.header__menu li{
		padding: 0 20px;
}

.header__menu li a{
        color: #fff;
}

.red{color: red;}


.logo-space{
	text-align: left;
	display: block;
}

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

.logo-bsi{
	width:180px ;
	height: 50px;
}
@media screen and (min-width: 768px){
.logo-con{
	width:280px ;
	margin-left: 30px;
    height: 50px;
}
}
@media screen and (max-width: 768px){
.logo-con{
    width:280px ;
    height: 50px;
}
}

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

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

.section2{
	background-color:#ededed;
	width:1280px;
	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: 1280px;
  max-width:100%;
  margin: 0 auto;}

.tab_item {
    width: calc(90%/3);
  overflow: hidden;
  padding: 0.5rem 0.2rem;
  color: #e23828;
  border-radius: 0;
  background: #fff;
  display: block;
  float: left;
  font-weight: bold;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.1em;
  margin: 0 10px;
  text-align: center;
  height: 100px;
}

.tab_item:before {
  position: absolute;
  top: 0;
  left: 30px;
  width: 180%;
  height: 350%;
  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(-98%) translateY(-70%) rotate(135deg);
  transform: translateX(-98%) translateY(-70%) rotate(135deg);
  background: #e23828;
  
}

.tab_item span {
  position: relative;
}

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

.tab_item:hover:before {
  -webkit-transform: translateX(-9%) translateY(-25%) rotate(135deg);
  transform: translateX(-9%) translateY(-25%) rotate(135deg);
  
}

.tab_item:hover span {
 
}

.tabs input:checked + .tab_item {
  background-color: #e23828;
  color: #fff;
}
.tabs input:checked + .tab_item:before {
	  background-color: #e23828;
    -webkit-transform: translateX(-9%) translateY(-25%) rotate(135deg);
  	transform: translateX(-9%) translateY(-25%) rotate(135deg);
}

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

.tab_content {
  display: none;
  width: 768px;
  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;
}

.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;
}

#flow{
    width: 768px;
}

#judge{
    width: 900px;    
}

.judge-parent{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    margin: 0 auto;
    padding: 2em 0;
    width: 1280px;
    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: 20px;
    padding: .5rem 2rem;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.btn:hover {
	opacity: 0.8;
}

.bigger{
	padding: 2rem 4rem;
	font-size: 20px;
}

.btn-center{
    text-align: center;
    margin: 45px auto;
}

#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;
}

.pc-main-visual {
	display: block !important;
    margin-bottom: 10px;
 }
.sp-main-visual {
	display: none !important;
    margin-bottom: 10px
  }

@media only screen and (max-width: 900px) {
    .pc-main-visual { 
    	display: none !important;
        margin-bottom: 10px
  }
    .sp-main-visual {
    	display: block !important;
    	margin-bottom: 10px;
        margin-top: 10px;
    }
}

@media screen and (max-width: 549px) {

	*{
	font-size:14px;
}
	
	.tab_item {
  width: calc(80%/2);
	font-size: 0.8rem;
	margin-bottom: 10px;
  overflow: hidden;
  padding: 0.5rem 0.2rem;
  color: #e23828;
  border-radius: 0;
  background: #fff;
  display: block;
  float: left;
  font-weight: bold;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.1em;
  text-align: center;
  height: 80px;
	}
	.tab_item:before {
  position: absolute;
  top: 0;
  left: 30px;
  width: 180%;
  height: 350%;
  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(-98%) translateY(-70%) rotate(135deg);
  transform: translateX(-98%) translateY(-70%) rotate(135deg);
  background: #e23828;
  
}
	.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 {
  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: 95%;
	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;
}

.log{
  margin: 0 auto 50px;
  width: 960px;
  max-width: 90%;
  display: flex;
  justify-content: space-between;
}