@charset "utf-8";

/* 初期設定リセット */
*{margin: 0;padding: 0}

/* 基本設定 */
html,body {
margin: 0;
padding: 0;
width : 100%;
height: 100%;
}

/* リンク */
a { text-decoration : none}
a:hover { text-decoration : underline}
a {color: #0161a4;}

a:hover, a:focus, a:active, a.active {
color: #382d2a;
text-decoration: underline;
}

a, a:hover, a:focus, a:active, a.active {outline: 0;}
a img:hover {opacity:0.5;}

a:hover {
transition: all 0.2s ease;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
}

body {
overflow-x: hidden;
font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 500;
color: #362e2b;
animation: fadeIn 2s ease 0s 1 normal;
-webkit-animation: fadeIn 2s ease 0s 1 normal;
1em;
}

@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(https://cdn.kabunogakkou.com/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 {
position: relative;
max-width: 1000px;
margin: 0 auto;
color: #fff;
}

.txt01 {
    text-align: center;
    color: #333;
}

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

.fx-txt-center .fx-row .fx-txt-center {
    text-align: center;
    vertical-align: bottom;
    margin-top: auto !important;
}

header h1 {
    font-size: 8pt !important;
    text-align: right;
    font-weight: normal;
    margin: 0 !important;
    line-height: 10pt !important;
    padding-left: 30% !important;
}
}


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

.txt01 {
    text-align: left;
    color: #333;
    font-size: 14px;
    line-height: 1.2;
}

header h1 {
    font-size: 8pt !important;
    text-align: right;
    font-weight: normal;
    margin: 0 !important;
    line-height: 10pt !important;
    padding-left: 30% !important;
}

.headline {
    max-width: 372px;
    width: 95%;
}

.count {
    width: 100%;
    height: 88px !important;
    background: url(https://cdn.kabunogakkou.com/img/countbg.jpg) no-repeat top center;
    background-size: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.05;
}

.count-inner {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    max-width: 580px;
    font-size: 0.8em !important;
    text-align: center;
    margin-top: -15px;
}

.fx-col-100-xs {
    -ms-flex-preferred-size: 50% !important;
    flex-basis: 50% !important;
    max-width: 50% !important;
}
}

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

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

header h1 {
    font-size: 6pt !important;
    text-align: right;
    font-weight: normal;
    margin: 0 !important;
    line-height: 10pt !important;
    padding-left: 23% !important;
}

.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%;
    margin-top: 7px;
}

}

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

.fixed {
position: fixed;
top: 0px;
left: 0;
z-index: 9999;
}

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

#navi a {
display: inline-block;
padding: 10px 0;
margin: 10px 0;
text-decoration: none;
color: #36312a;
width: 10%;
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;}

img {width: 100%;margin: 0 auto 1em;}
.fx-row div {}
ul {list-style-position:inside;}

.header {
background: #e9e6d7;
margin: 10px auto;
padding: 10px;
}

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

.voice {
max-width: 100%;
margin: 30px auto;
padding: 5px;
text-align: left;
background: #f7f6f3;
border-radius: 15px;
}

.vinner {
border-radius: 12px;
margin: 0;
border: 2px solid #fff;
padding: 20px 25px;
line-height: 1.5;
}

.vinner p {
margin: 0 auto 1em;
font-size: 95% !important;
}

.vheader {
text-align: center;
font-size: 1.2em !important;
margin: 0 auto;
padding: 10px 0;
max-width: 880px;
color: #c60000;
}

.vinner img {
max-width: 150px;
padding-top: 30px;
padding-left: 15px;
}

.bullet {
border: 5px solid #f7f6f3;
padding: 15px;
}

.bullet p {
margin: 0;
line-height: 40px;
background: url(https://cdn.kabunogakkou.com/images/check.png) no-repeat center left;
height: 40px;
padding-left: 45px;
line-height: 40px;
}

.tv {
margin: 0 0 5px !important;
background: url(https://cdn.kabunogakkou.com/images/tv.png) no-repeat left;
padding: 0 0 5px 60px !important;
border-bottom: 1px dotted #ddd;
}

.web {
margin: 0 0 5px !important;
background: url(https://cdn.kabunogakkou.com/images/web.png) no-repeat left;
padding: 0 0 5px 60px !important;
border-bottom: 1px dotted #ddd;
}

.mag {
margin: 0 0 5px !important;
background: url(https://cdn.kabunogakkou.com/images/mag.png) no-repeat left;
padding: 0 0 5px 60px !important;
border-bottom: 1px dotted #ddd;
}

.sidecontent {
background: ;
border-radius: ;
padding: 0;
margin-bottom: 1em;
box-shadow :
0px 1px 3px rgba(0,0,0,0.1);
}

a.mmbtn {
display: block;
border: 1px solid;
border-radius: 50px;
padding: 15px;
margin: 30px 15%;
text-align: center;
transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
}

a.mmbtn:hover {
color: #ff9900;
text-decoration: none;
}

.sidecontent img {margin: 0 auto;}

.sidecontent p {
line-height: 1.25;
margin: 0 0 0.5em;
}

.sidetitle {
text-align: center;
line-height: 2;
background: #e9e6d7;
}

.sidecontent ul {
background: #fff;
padding: 15px;
font-size: 0.8em;
line-height: 2;
}

.white {
padding: 15px;
font-size: 0.8em;
line-height: 1.25;
margin: 0;
}

div.news
{
    position: relative;
    height:160px;
    width: auto;
    overflow:auto;
    margin: 0 0 15px;
    padding: 0 10px 10px;
    border: 2px solid #ccc;
}

.news
{
    width: 100%;
    margin: 10px 0;
    padding: 0 10px;
    border: 1px solid #eee;
font-size: 0.8em;
}

.news ul
{
    margin: 10px;
    padding: 0;
    list-style: none;
    line-height :1.25;
}

.news li
{
    margin: 0;
    padding: 0 0 5px;
    letter-spacing: 0;
}



.form-group {padding: 10px;}
input,textarea {
width: 98%;
padding: 1%;
border:none;
background: #eee;
}

.form-group .btn {
background: #608c01 !important;
padding: 10px 0;
color: #fff;
}

.default {margin-bottom: 30px;}

h5 {
  font-size: 1.2em;
  margin: 15px 0;
  font-weight: normal;
  text-align: center;
}

.btn {
  border: 1px solid;
  padding: 5px 10px;
  border-radius: 30px;
  font-size:0.8em;
  float: right;
  line-height: 1.1;
  text-decoration: none;
}

footer {padding: 1em 0;font-size: 0.7em;
    overflow-x: hidden;}
footer img {max-width: 70px;margin: 10px 0;vertical-align:top;}
footer a {color: #333;}
footer ul {margin-left: 50px;}

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

@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) {
 .container {padding: 0 2%}
  header {font-size: 10px;text-align: right;}
  .brand {width: 60px;margin: 0 0 0 10px;}
  .brand img {width: 35px;}
  #navi {height: 42px}
  .no {margin: 0 2% 1.5em;}
  .bullet p {line-height: 1.2;margin-bottom: 10px;}
  .hfbtn {font-size:80%;margin: 12px 10px 2px;text-decoration: none;}
  .hinfo {margin: px 0 0;line-height: 1;text-align: center;font-size: 0.7em;}
  .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: 500px;
}

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

.box2 {
    position: relative;
    width: auto;
    line-height: 1.25;
    margin: 20px 0;
    padding: 0 10px;
    font-size: 1em;
    border: 1px solid #ccc;
}

.vbheader {
    font-size: 18px;
    font-style: normal;
    font-family: "ヒラギノ角ゴ Pro W6";
    line-height: 30px;
    color: rgb(0, 0, 0);
    font-weight: normal;
    padding: 7px 0px 3px;
    border-bottom: 1px dotted rgb(153, 153, 153);
    margin: 5px;
}

.vbtvheader {
    font-size: 18px;
    font-style: normal;
    font-family: "ヒラギノ角ゴ Pro W6";
    line-height: 30px;
    color: rgb(0, 0, 0);
    font-weight: normal;
    padding: 7px 0px 3px 47px;
    background: url(https://tpromote-tyo.s3.amazonaws.com/kabunogakkou/img/tvicon.gif) left center no-repeat;
    border-bottom: 1px dotted rgb(153, 153, 153);
    margin: 5px;
}

ul.wp-block-social-links.has-small-icon-size.is-style-default.is-content-justification-space-between.is-nowrap.is-layout-flex.wp-container-core-social-links-layout-1.wp-block-social-links-is-layout-flex {
    list-style: none;
    width: fit-content;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5em var(--wp--preset--spacing--20);
    justify-content: space-between;
    right: 0px;
    position: absolute;
    margin-top: 3px !important;
}

span.wp-block-social-link-label.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    word-wrap: normal!important;
    border: 0;
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.wp-container-core-social-links-layout-1.wp-container-core-social-links-layout-1 {
    flex-wrap: nowrap;
    gap: 0.5em var(--wp--preset--spacing--20);
    justify-content: space-between;
}

.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook {
    background-color: #1778f2;
    color: #fff;
}

.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram {
    background-color: #f00075;
    color: #fff;
}

.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter {
    background-color: #1da1f2;
    color: #fff;
}

.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube {
    background-color: red;
    color: #fff;
}

.wp-block-social-link a {
    align-items: center;
    display: flex;
    line-height: 0;
    transition: transform .1s ease;
}

.wp-block-social-links .wp-social-link a, .wp-block-social-links .wp-social-link a:hover {
    border-bottom: 0;
    box-shadow: none;
    text-decoration: none;
}

.wp-block-social-links .wp-social-link a {
    padding: 0.25em;
}

.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited {
    fill: currentColor;
    color: currentColor;
}

.wp-block-social-link {
    border-radius: 9999px;
    display: block;
    height: auto;
    transition: transform .1s ease;
    margin-left: 7px;
}

.wp-block-social-links.has-small-icon-size {
    font-size: 16px;
}

.wp-block-social-links .wp-social-link svg {
    height: 1em;
    width: 1em;
}

.wp-container-core-social-links-layout-1.wp-container-core-social-links-layout-1 {
    flex-wrap: nowrap;
    gap: 0.5em var(--wp--preset--spacing--20);
    justify-content: space-between;
}

.wp-block-social-links.has-small-icon-size {
    font-size: 16px;
}

header h1 {
    font-size: 10pt;
    text-align: right;
    font-weight: normal;
    margin: 0 !important;
}

.white img {
    width: 33%;
    margin-right: 3px;
}

.sidecontent .white {
    display: inline-flex;
    border-bottom: 1px solid #f7f6f3;
    margin-right: 10px;
    margin-left: 10px;
    padding: 10px 0px;
}

.sidecontent .white span.date {
    font-size: 90%;
    line-height: 22px;
}

.sidecontent .white p {
    width: 67%;
}