/* body * {outline: red 1px solid;} */
*{padding: 0;margin: 0; box-sizing: border-box;}
.main{
  font-family: "Zen Kaku Gothic New", serif;
  font-weight: 400;
  font-style: normal;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}
body {margin-top: 100px; /* ヘッダーの高さ分だけ下げる */}
:root{scroll-padding: 90px;scroll-behavior: smooth;}
:root {
  --main-color: rgb(22, 15, 95);
  --secondary-color: #ce0c0c;
}


 /*-----------------ハンガーガーメニュー・ロゴ--------------------------*/
 .header {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--main-color);
  position: fixed; /* ヘッダーを固定する */
  top: 0; /* 画面の上部に固定 */
  width: 100%; /* 画面の幅いっぱいに広げる */
  background-color: #fff;
  z-index: 10000;
  transition: top .5s;
}


.logo {width: 320px;box-sizing: border-box;margin-left: 5px;}
.logo img{max-width: 260px;}
.logo h1{font-size: 12px;color: #777777;padding: 3px;line-height: 1;}

.hamburger-menu {
  margin-right: 5px;
  width: 70px;
  height: 70px;
  position: relative;
  border: none;
  background: transparent;
  appearance: none;
  padding: 0;
  cursor: pointer;
  background-color: var(--main-color);
}
.hamburger-menu__bar {
  display: inline-block;
  width: 55%;
  height: 3px;
  background: #ffffff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: .5s;
  
}
.hamburger-menu__bar:first-child {top: 22px;}
.hamburger-menu__bar:nth-child(2) {top: 34px;}
.hamburger-menu__bar:last-child {top: 46px;}
.hamburger-menu--open .hamburger-menu__bar {top: 50%;}
.hamburger-menu--open .hamburger-menu__bar:first-child {transform: translateX(-50%) translateY(-50%) rotate(45deg);}
.hamburger-menu--open .hamburger-menu__bar:last-child {transform: translateX(-50%) translateY(-50%) rotate(-45deg);}
.hamburger-menu--open .hamburger-menu__bar:nth-child(2) {display: none;}

.navigation {
  display: none;
  background: var(--main-color);
  opacity: 0.9;
  position: absolute;
  top: 90px;
  width: 100%;
  z-index: 9999;
}
.navigation__list {
  text-align: center;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Zen Kaku Gothic New", serif;
  font-weight: 400;
  font-style: normal;
}
.navigation__list-item {border-bottom: solid 1px #777777;}
.navigation__list-item:first-child {border-top: solid 1px #777777;}
.navigation__link {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: block;
  padding: 24px 15px;
  transition: .5s;
}
  /*-----------------トップスライダー--------------------------*/

  .flex_top{display: flex;}
  .slick{width: 40%;padding-left: 10px;}
  .slick img{width: 100%;}
  .catch_img{width: 60%;}

  /*-----------------ポジション調整-------------------------*/

  .top_seach{position: relative;}


  /*------------------タブ-----------------------*/

  .tab_container {
    position: absolute;
    bottom: 90px;
    right: 20px;
    max-width: 700px;
    width: 100%;
    background-color: #e1e6ee;
    border:1px solid #d1d1d1;
    box-shadow: 2px 3px 3px -2px rgba(59, 59, 59, 0.555); /* 影 */
  }

  .tab_item {
    width: calc(100%/2);
    padding:15px 0;
    border-bottom: 1px solid #d1d1d1;
    background-color: #f7f7f7;
    text-align: center;
    color: var(--main-color);
    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: 1em;
    clear: both;
    overflow: hidden;
  }
  #tab1:checked ~ #tab1_content,
  #tab2:checked ~ #tab2_content,
  #tab3:checked ~ #tab3_content,
  #tab4:checked ~ #tab4_content {
    display: block;
  }
  .tab_container input:checked + .tab_item {
    background-color: var(--main-color);
    color: #fff;
  }

   /*-----------------エリア、分野選択1-------------------------*/

   .styled-select {
    /* デフォルトのスタイルを解除 */
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    /* スタイル */
    display: inline-block;
    width: 100%; /* 幅 */
    margin: 1em 0; /* 前後の余白 */
    padding: 0.6em 1.5em 0.6em 0.5em; /* 文字周りの余白 */
    cursor: pointer; /* カーソルを指に */
    line-height: 1.4; /* 行高 */
    font-size: 0.95em; /* フォントサイズ */
    font-weight: 700; /* 太字に */
    color: #333; /* 文字色 */
    border-radius: 4px; /* 角丸 */
    background-color: #ffffff; /* 背景色 */
    border: solid 1px #e1e8ef; /* 枠線 */
    box-shadow: 0 3px 3px -2px rgba(3, 29, 41, 0.15); /* 影 */
    /* 三角マークを作る */
    background-image: linear-gradient(45deg, transparent 50%, rgba(0,0,0,0.4) 50%),  linear-gradient(135deg, rgba(0,0,0,0.4) 50%, transparent 50%);
    background-size: 5px 5px, 5px 5px;
    background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
    background-repeat: no-repeat;
    display: block;
  }
  /* フォーカス時 */
  .styled-select:focus {
    outline: 0;
    border-color: #b0c5ff; /* 枠線色を変更 */
  }
  /* IEでデフォルトの矢印を消す */
  .styled-select::-ms-expand {
    display: none;
  }

  .styled-select a{background-color: #a73131;}


/*------------------各コンテンツバナー------------------------*/
.contents{background-color: #dddddd;padding: 20px;margin-top: 20px;}
.banner{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap
}

.banner a{
  display: block;
  width: 32%;
  box-shadow: 0px 0px 8px 2px rgba(59, 59, 59, 0.171);
  transition: opacity .3s; /* アニメーション速度 */
}

.banner a:hover{
  box-shadow: none;
  position: relative;
  top: 2px;;
  opacity: 0.6;
}

/*------------------学校一覧------------------------*/

.head{
  width: 280px;
  font-weight: bold;
  text-align: center;
  margin: 100px auto 40px;
  font-size: 24px;
  padding: 10px 10px 15px 10px;
  border-bottom: 2px solid var(--main-color);
  color: var(--main-color);
}


.school{background-color: #dce2ec;padding: 5px 0;}
.school_box{
  padding: 20px 10px 35px 10px;
  width: 95%;
  margin: 20px auto;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0px 0px 8px 2px rgba(59, 59, 59, 0.171);
}
.school .list1{background-color: #0b68a7;display: inline-block;color: #ffffff;font-weight: bold;padding: 3px 10px;}
.school .list2{background-color: #e2802f;display: inline-block;color: #ffffff;font-weight: bold;padding: 3px 10px;}
.school_name{display: block;padding: 10px;font-size: 23px;font-weight: bold;color: #008ddf;}

.school_box .flex{display: flex;justify-content: space-between;}
.text_box{width: 68%;}
.text_box p{margin: 10px;}
.text_box .bd_left{border-left: 5px solid #727272;display: block;font-weight: bold;margin-bottom: 8px;padding-left: 10px;}
.text_box .text{display: block;margin: 0 10px 25px 10px;}
.cv_flex{display: flex;justify-content: center;width: 98%;margin: 30px auto 0px;}

.school_button{
  text-align: center;
  width: 95%;
  border: none;
  border-bottom: solid 5px #a80000;
  border-radius: 5px;
  background-color: #bd0f0f;
  color: #fff;
  font-weight: 600;
  font-size: 1em;
  transition: .5s ease;
  padding: 3px;
}
/*ボタン追加用*/
/* .school_link{
  margin-left: 5px;
  text-align: center;
  width: 35%;
  border: none;
  border-bottom: solid 5px #292929;
  border-radius: 5px;
  background-color: #505050;
  color: #fff;
  font-weight: 600;
  font-size: 1em;
  transition: .5s ease;
  padding: 5px;
} */

.school_button:hover,.school_link:hover,.school_name:hover{
  opacity: 0.5;
}


/*画像部分*/
/*画像部分*/
.img_box {
  /* cursor: pointer;
  overflow: hidden; */
  width: 30%;

}
/* .img_box img {
  height: auto;
  transition: transform .6s ease;
}
.img_box:hover img {
  transform: scale(1.1);
} */


/*------------------フッター------------------------*/
.footer{
  height: 100px;
  margin-top: 60px;
  background-color:var(--main-color);
  color: #ffffff;
  
}
.footer ul{
  display: inline-block;
  padding: 20px;

}
.footer_flex{
  display: flex;
}



  @media (max-width: 860px){

  .tab_container {
    position: absolute;
    bottom: 30px;
    right: 20px;
    max-width: 450px;
    width: 100%;
  }


}
  

@media (max-width: 630px){

    /*-----------------トップスライダー--------------------------*/

    .flex_top{display: flex;}
    .slick{width: 43%;padding-left: 10px;}
    .slick img{width: 100%;}
    .catch_img{width: 57%;}

  /*------------------タブ-----------------------*/

  .tab_container {
    bottom: 10px;
    right: 10px;
    max-width: 290px;
  }

  .tab_content {
    padding: 0.5em;
  }

  .tab_item {
    padding:5px 0;
    font-size: 0.8em;

  }


   /*-----------------エリア、分野選択1-------------------------*/

   .styled-select {
    margin: 0.7em 0; /* 前後の余白 */
    padding: 0.2em 1em 0.2em 0.2em; /* 文字周りの余白 */
    font-size: 0.8em; /* フォントサイズ */
  }

  /*------------------各コンテンツバナー------------------------*/
  .contents{padding: 20px;margin-top: 20px;}
  .banner{display: block;justify-content: start;}
  .banner a{display: block;width: 100%;margin-bottom: 10px;}

/*------------------学校一覧------------------------*/
.school_box .flex{display: block;}
.head{width: 180px;margin: 70px auto 20px;font-size: 21px;}
.school_name{display: block;font-size: 20px;padding: 10px 0;}
.text_box{width: 100%;}
.school_box{padding: 20px 10px 30px 10px;}
.text_box p{margin: 10px 0px;}


.text_box .text{display: block;margin: 0px 0px 25px 0px;}
.cv_flex{display: flex;justify-content: center;width: 98%;margin: 30px auto 0px;}

.school_button{
  text-align: center;
  width: 95%;
  border: none;
  border-bottom: solid 5px #a80000;
  border-radius: 5px;
  background-color: #bd0f0f;
  color: #fff;
  font-weight: 600;
  font-size: 1em;
  transition: .5s ease;
  padding: 3px;
}
/*ボタン追加用*/
/* .school_link{
  margin-left: 5px;
  text-align: center;
  width: 35%;
  border: none;
  border-bottom: solid 5px #292929;
  border-radius: 5px;
  background-color: #505050;
  color: #fff;
  font-weight: 600;
  font-size: 1em;
  transition: .5s ease;
  padding: 5px;
} */

.school_button:hover,.school_link:hover,.school_name:hover{
  opacity: 0.5;
}






}
  