
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
.bg-slider {
width: 100%;
height: 65vh;
background-position:center center;
background-size: cover;
background-image: url(../images/bg2.jpg);
display: flex;
align-items: center;
justify-content: center;
position: relative;
z-index: -1;
}

@-webkit-keyframes 'fadeIn' {
0% {
opacity:0;
}
100% {
opacity:1;
}
}

.fadeIn, img.fadeIn {
-webkit-animation-name: 'fadeIn';
-webkit-animation-duration: 2s;
-webkit-animation-timing-function: ease-in;
-webkit-animation-iteration-count: 1;
}

section {padding: 100px 100px 30px;}
p {margin-bottom: 1em;line-height: 1.5;}
hr {border:none;}

/*タブ切り替え全体のスタイル*/
.tabs {
  padding-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  width: 100%;
  margin: 0 auto;}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/3);
  height: 50px;
  border-bottom: 3px solid #413c32;
  background-color: #d9d9d9;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 40px 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: #413c32;
  color: #fff;
}

.headline {
margin: 0;
color: #fff;
z-index:3;
filter: drop-shadow(1px 5px 5px rgba(0,0,0,0.3));
text-align: left;
}

.headline h1 {font-size: 4em;line-height: 1.25;margin: 0;padding:0;}
.headline h2 {font-size: 3em;line-height: 1.25;margin: 0;padding:0;}

.brand {
width: 120px;
background: #fff;
position: absolute;
top: 0;
left: 0;
box-shadow :
0 0 0 2px #d9d19b,
0 0 0 5px #fff,
1px 5px 7px rgba(0,0,0,0.3);
text-align: center;
z-index: 99;
}

.brand img {
width: 70px;
margin: 0 auto;
}

header {
position: relative;
width: 100%;
margin: 0 auto;
background: #312f22;
height: 30px;
text-align: center;
line-height: 30px;
}

.inner {
text-align: right;
}

@media screen and (min-width: 1600px) and (max-width: 1920px) {
.inner {
max-width: 1100px;
}
}

@media screen and (min-width: 1921px) and (max-width: 2160px)  {
.inner {
max-width: 1200px;
}
}

@media screen and (min-width: 2161px) {
.brand {
    padding: 10px 0;
    margin-left: 20px;
    position: fixed !important;
    left: 20%;
}
}

header a {text-decoration: none;}
.brand {padding: 10px 0;margin-left: 20px;}
.brand img {max-width: 200px;}

.sub-title {
font-family:"Times New Roman", serif;
font-size: 6em;
line-height: 1;
padding: 0;
margin: 0 0 -50px;
color: #eee;
}

#navi {
width: 100%;
margin: 0;
padding: 0;
height: 60px;
line-height: 60px;
background-color:#e9e6d7;
box-shadow :
1px 3px 5px rgba(0,0,0,0.1);
z-index: 10;
}

#navi span:first-child {
margin-left: 28%;
}

#navi a {
display: inline-block;
padding: 10px 0;
margin: 10px 0;
text-decoration: none;
color: #36312a;
width: 12%;
text-align: center;
font-size: 0.7em;
line-height: 1.1;
}

#navi a:hover {
background: #d2ceb9;
text-decoration: none;
border-radius: 30px;
}

.container {max-width: 1000px;margin: 0 auto;padding: 30px 0;text-align: left;}
[class*="fx-col-"] {padding: 0 15px !important;}

.no {margin: 1em auto 2em;}

.sp {display: block;}
.pc {display: none;}

@media screen and (min-width: 768px) {
.sp {display: none;}
.pc {display: block;}
}

@media screen and (max-width: 960px) {
.brand {width: 70px;}
.brand img {width: 50px;}
#navi span a {
width: 15%;
line-height: 1.25;
}
#navi span:first-child {
margin-left: 15%;
}
#navi {
    height: 40px !important;
}
}

@media screen and (max-width: 600px) {
.bg-slider {height: 50vh;}
.brand {width: 70px;}
.brand img {width: 50px;}
#navi span a {
width: 15%;
line-height: 1.25;
}
#navi span:first-child {
margin-left: 25%;
}

}

@media screen and (max-width: 468px) {
  .bg-slider {
  	width: 100%;
	  height: 50vh;
	  background-position:center center;
	  background-size: auto 60vh !important;
	  display: flex;
	  align-items: center;
	  justify-content: center;
    position: relative;
    margin-top: -10px;
  }
  section {padding: 0 2%;}
  .tab_content {padding: 0;}
  footer {padding-bottom: 10px;font-size: 0.9em;}
  footer img {display: none;}
  .sub-title {font-size: 3em;}
  .default {margin: 50px 0;}
  .tabs {box-shadow: none;}
}

.spmenu label {
position: absolute;
top: 40px;
right: 10px;
}

.mmenu label {
border: 1px solid #333;
color: #333;
text-align: center;
padding: 3px 10px;
display: inline-block;
margin: 0 auto;
border-radius: 30px;
max-width:200px;
display: block;
font-size: 80%;
}

.mmenu input[type="checkbox"].on-off{
    display: none;
}

.mmenu input[type="checkbox"].on-off + ul{
    height: 0;
    overflow: hidden;
}

.mmenu input[type="checkbox"].on-off:checked + ul{
height: 148px;
}

.mmenu {
margin: 0 !important;
padding: 3px 0 !important;
border-radius: 0px;
}

.mmenu ul {
margin: 0 !important;
padding: 0 !important;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-ms-transition: all 0.5s;
-o-transition: all 0.5s;
transition: all 0.5s;
list-style: none;
border-radius: 0px;
}

.mmenu a {
margin: 0 0 2px;
padding: 18px 0;
display: block;
width: 100%;
line-height: 1;
text-align: center;
font-size: 12px;
letter-spacing: 0.2em;
background-color:#e9e6d7;
}

