@charset "UTF-8";

@media screen and (min-width:601px) {
  /* PC版のcss */

  body {
    background-color: #ffffff;
  }

  body {
    font-family: "BIZ UDMincho", "Meiryo", "メイリオ", "sans-serif", serif;
  }

  * {
    margin: 0;
    padding: 0;
  }

  a {
    color: #000000;
    text-decoration: none;
    display: block;
  }

  a:hover {
    color: #0c1db6;
  }

  ul {
    list-style: none;
  }

  h2 {
    margin-top: 150px;
    margin-bottom: 20px;
    text-align: center;
  }

  #Inner {
    height: 80px;
    background-color: rgba(98, 222, 120, 0.7);
    width: 100%;
  }

  .header {
    display: flex;
    align-items: center;
    position: relative;
  }

  .icon {
    font-size: 24px;
    width: 280px;
    display: flex;
    justify-content: flex-start;
    margin-top: 5px;
  }

  .name {
    font-size: 30px;
    display: flex;
    justify-content: flex-start;
    margin-top: 15px;
  }

  .humberger {
    display: none;
  }


  #mainmenu {
    position: absolute;
    top: 77px;
    list-style: none;
    width: 100%;
    margin-bottom: 7px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
  }

  #mainmenu li {
    width: 20%;
    height: 50px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.998);
    line-height: 3;
    border: 1.5px solid rgb(24, 193, 123);
    font-size: 14px;
    border-width: 1.5px;
    font-weight: bold;
  }

  #mainmenu li:first-child {
    width: 19.74%;
    /*幅。６個メニューなので、割り切れない分をここで再設定。*/
  }

  #serch {
    position: absolute;
    top: 20px;
    right: 15px;
    z-index: 3;
  }

  #mainPhoto {
    position: absolute;
    top: 45px;
    width: 100%;
    height: 300px;
    margin-bottom: 300px;
    z-index: 5;
  }

  .box0 {
    position: relative;
    display: flex;
    top: 200px;
    margin-left: auto;
    margin-right: auto;
    height: 80px;
    background-color: #0c1db6;
    opacity: 0.7;
  }

  #caaci {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    font-size: 30px;
    color: #ffffff;
  }

  #main {
    float: left;
    width: 77%;
    margin-top: 200px;
  }

  #sub {
    float: right;
    position: absolute;
    right: 0;
    top: 750px;
    width: 23%;
  }


  #news {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 30px;
    margin-right: auto;
    margin-left: auto;
    border: 2px solid black;
    width: 60%;
    height: 50%;
    box-shadow: 3px 3px 3px #878787;
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s;
  }

  #news.show {
    opacity: 1;
    transform: translateY(0);
  }

  #news p {
    margin-left: 15px;
  }

  #news a {
    text-decoration: underline;
  }


  #faculty1 {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s;
  }

  #faculty1.show {
    opacity: 1;
    transform: translateY(0);
  }

  #FacultyName1 {
    display: flex;
    justify-content: center;
    gap: 190px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s;
  }

  #FacultyName1.show {
    opacity: 1;
    transform: translateY(0);
  }


  #faculty2 {
    display: flex;
    justify-content: center;
    gap: 50px;
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s;
  }

  #faculty2.show {
    opacity: 1;
    transform: translateY(0);
  }


  #FacultyName2 {
    display: flex;
    justify-content: center;
    gap: 190px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s;
  }

  #FacultyName2.show {
    opacity: 1;
    transform: translateY(0);
  }

  #facility {
    display: flex;
    justify-content: center;
    gap: 35px;
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s;
  }

  #facility.show {
    opacity: 1;
    transform: translateY(0);
  }


  #sentence {
    display: flex;
    justify-content: center;
    gap: 70px;
    margin-top: 5px;
    margin-bottom: 200px;
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s;
  }

  #sentence.show {
    opacity: 1;
    transform: translateY(0);
  }


  .submenu {
    background-color: rgb(221, 221, 221);
    width: 80%;
    height: 550px;
    padding-top: 10px;
    margin-top: 10px;
    box-shadow: 2px 2px 2px #a8a2a2, -2px -2px 2px #a8a2a2;
  }

  .submenu li {
    margin-top: 10px;
    padding-top: 30px;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
  }

  .submenu img {
    width: 80%;
  }

  #otoiawase img {
    text-align: center;
    margin-top: 20px;
    width: 80%;
  }



  #three {
    list-style: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  #three li {
    float: left;
    width: 16.55%;
    height: 50px;
    text-align: center;
    background-color: #31fb85;
    line-height: 3;
    border: 1px solid #47cb7e;
    font-size: 14px;
  }

  #three li:first-child {
    width: 16.6%;
    /*幅。６個メニューなので、割り切れない分をここで再設定。
}*/
  }




  #footerInner {
    height: 80px;
    background-color: rgba(98, 222, 120, 0.7);
    width: 100%;
    clear: both;
    margin-bottom: 0px;
    display: flex;
    position: relative;
  }


  #copy {
    display: flex;
    position: absolute;
    color: #000000;
    left: 10px;
    margin-top: -17px;
    bottom: 5px;
    font-size: 10px;
  }
}


@media screen and (max-width:600px) {
  /* スマホ版のcss */

  body {
    background-color: #ffffff;
  }

  body {
    font-family: "BIZ UDMincho", "Meiryo", "メイリオ", "sans-serif", serif;
  }

  * {
    margin: 0;
    padding: 0;
  }

  a {
    color: #000000;
    text-decoration: none;
    display: block;
  }

  ul {
    list-style: none;
  }

  h2 {
    margin-top: 45px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 80%;
  }


  #Inner {
    height: 75px;
    background-color: rgba(98, 222, 120, 0.7);
    width: 100%;
  }

  .header {
    display: flex;
    align-items: center;
    position: relative;
  }

  .icon {
    font-size: 24px;
    width: 280px;
    display: flex;
    justify-content: flex-start;
    margin-top: 5px;
  }

  .name {
    font-size: 25px;
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
  }


  /* ハンバーガーメニューCSS */


  /* チェックボックスを非表示にする */
  .drawer_hidden {
    display: none;
  }

  /* ハンバーガーアイコンの設置スペース */
  .drawer_open {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 50px;
    top: 35px;
    z-index: 100;
    cursor: pointer;
  }

  /* ハンバーガーメニューのアイコン */
  .drawer_open span,
  .drawer_open span:before,
  .drawer_open span:after {
    content: '';
    display: block;
    height: 4px;
    width: 27px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
  }

  /* 三本線の一番上の棒の位置調整 */
  .drawer_open span:before {
    bottom: 10px;
  }

  /* 三本線の一番下の棒の位置調整 */
  .drawer_open span:after {
    top: 10px;
  }

  /* アイコンがクリックされたら真ん中の線を透明にする */
  #drawer_input:checked~.drawer_open span {
    background: rgba(255, 255, 255, 0);
  }

  /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
  #drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #drawer_input:checked~.drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* メニューのデザイン*/
  .nav_content {
    width: 200px;
    height: 250px;
    position: fixed;
    bottom: 100%;
    right: 0px;
    z-index: 99;
    background: rgb(110, 110, 110);
    transition: .5s;
    text-align: center;
    font-size: 18px;
  }

  /* メニュー黒ポチを消す */
  .nav_list {
    list-style: none;
  }

  .nav_item {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .nav_item a {
    color: #fff;
    text-decoration: none;
  }

  /* アイコンがクリックされたらメニューを表示 */
  #drawer_input:checked~.nav_content {
    bottom: 0;
    /* メニューを画面に入れる */

  }

  #serch {
    position: absolute;
    top: 20px;
    right: 70px;
    z-index: 3;
  }

  #mainPhoto {
    position: absolute;
    z-index: 1;
  }

  #mainPhoto img {
    width: 400px;
    height: 260px;
  }

  .box0 {
    position: relative;
    display: flex;
    bottom: 110px;
    margin-left: auto;
    margin-right: auto;
    height: 45px;
    background-color: #0c1db6;
    opacity: 0.7;
    z-index: 2;
  }

  #caaci {
    margin-top: 7px;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    color: #ffffff;
  }


  #mainmenu {
    display: none;
  }

  #sub {
    display: none;
  }

  #faculty1 img,
  #faculty2 img,
  #facility img {
    max-width: 80%;
  }


  #news {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 15px;
    margin-bottom: 30px;
    display: flex;
    margin-right: auto;
    margin-left: auto;
    border: 2px solid black;
    width: 290px;
    height: 140px;
    box-shadow: 3px 3px 3px #878787;
    font-size: 2vw;
  }

  #news p {
    margin-left: 15px;
  }

  #news a {
    text-decoration: underline;
  }

  #faculty1 {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
    margin-left: 20px;
  }


  #FacultyName1 {
    display: flex;
    justify-content: center;
    gap: 140px;
    margin-bottom: 30px;
    font-size: 50%;
    margin-left: -20px;
  }


  #faculty2 {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-left: 20px;
  }


  #FacultyName2 {
    display: flex;
    justify-content: center;
    gap: 140px;
    margin-bottom: 60px;
    font-size: 50%;
  }

  #facility {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-left: 20px;
  }

  #facility img {
    width: 80%;
  }

  #sentence {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 5px;
    margin-bottom: 150px;
    font-size: 40%;
  }

  #otoiawase {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 60px;
  }

  .submenu {
    display: none;
  }



  #three {
    list-style: none;
    float: left;
    overflow: hidden;
    width: 100%;
  }

  #three li {
    float: left;
    width: 33%;
    height: 30px;
    text-align: center;
    background-color: #31fb85;
    line-height: 2;
    border: 1px solid #47cb7e;
    font-size: 14px;
  }

  #three li:first-child {
    width: 32.9%;
  }

  #footerInner {
    height: 80px;
    background-color: rgba(98, 222, 120, 0.7);
    width: 100%;
    clear: both;
    margin-bottom: 0px;
    display: flex;
    position: relative;
  }


  #copy {
    display: flex;
    position: absolute;
    color: #000000;
    left: 10px;
    margin-top: -17px;
    bottom: 5px;
    font-size: 10px;
  }


}