@charset "UTF-8";




body {
  background: #ffffff;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: "Zen Kaku Gothic New", serif;
  font-weight: 400;
  font-style: normal;
  /* overflow: hidden; */
}



p {
  color: #555555;
}

h1,
h2,
h3,
h4 {
  color: #393939;
}

h2{
  margin-bottom: 5px;
}

a {
  text-decoration: none;
  color: #393939;
}

.keyvisual {
  height: 85vh;
  width: 90%;
  position: relative;
}

.image {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  background-size: cover;
  background-position: center center;

  animation: image-switch-animation 25s infinite;
}

.src1 {
  background-image: url(https://gakuseikai.toba-cmt.ac.jp/gakuseikai_test/image/top1.JPG);
  border-top-right-radius: 45px;
}

.src2 {
  background-image: url(https://gakuseikai.toba-cmt.ac.jp/gakuseikai_test/image/P1090456.JPG);
  border-top-right-radius: 45px;
}

.src3 {
  background-image: url(https://gakuseikai.toba-cmt.ac.jp/gakuseikai_test/image/P1090142.JPG);
  border-top-right-radius: 45px;
}

.src4 {
  background-image: url(https://gakuseikai.toba-cmt.ac.jp/gakuseikai_test/image/P1200647.JPG);
  border-top-right-radius: 45px;
}

.src5 {
  background-image: url(https://gakuseikai.toba-cmt.ac.jp/gakuseikai_test/image/P1060445.JPG);
  border-top-right-radius: 45px;
}

@keyframes image-switch-animation {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  25% {
    opacity: 1;
  }

  30% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.image:nth-of-type(1) {
  animation-delay: 0s;
}

.image:nth-of-type(2) {
  animation-delay: 5s;
}

.image:nth-of-type(3) {
  animation-delay: 10s;
}

.image:nth-of-type(4) {
  animation-delay: 15s;
}

.image:nth-of-type(5) {
  animation-delay: 20s;
}






.news h2 {
  padding: 1em 0px 0px 1.5em;
}



.cover {
  height: 100%;
  width: 90%;
  margin: 12% auto;
  background-color: #f5fafb;
  border-radius: 45px;
  padding: 1.5em 2em;
}




.about-sns p {
  font-size: 0.8em;
}

.club-title,
.group-title {
  margin-right: 1rem;
  font-size: 1rem;
}

.update-date {
  text-align: right;
}



@media screen and (min-width: 1025px) {

  /* 基本スタイル（PC向けスタイル） */
  /* ヘッダーのスタイル */
  p{
    font-size: 18px;
  }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    flex-wrap: nowrap;
    /* 子要素の改行を防ぐ */
  }

  /* ロゴのスタイル */
  .logo {
    white-space: nowrap;
    /* 改行を防ぐ */
  }

  /* ナビゲーションメニューのスタイル */
  nav ul {
    display: flex;
    list-style: none;
    padding-left: 0;
  }

  nav ul li {
    margin-left: 20px;
  }

  nav ul li a {
    color: #252525;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 600;
    white-space: nowrap;
    /* 改行を防ぐ */
  }


  /* お知らせ */
  .news {
    height: 100%;
    width: 65%;
    margin-top: 8%;
    margin-left: auto;
    background-color: #f9f9f9;
    border-top-left-radius: 50px;
  }







  .logo-footer {
    text-align: left;
    width: 70%;
  }

  .logo-footer img {
    width: 35%;
  }

  header .logo {
    width: 50%;
  }

  .logo img {
    width: 50%;
  }

  .club {
    height: 100%;
    width: 90%;
    margin: 12% auto;
    background-color: #fef7e8;
    border-radius: 45px;
    padding: 1.5em 2em;
  }

  .work{
    margin-top: 2%;
    display: flex;
    justify-content: center;
  }

  .work p{
    display: inline;
  }

  .swork{
    display: none;
  }

  .clubbox,
  .groupbox {
    width: 40%;
    margin-left: 2%;
    margin-right: 2%;
    margin-bottom: 2%;
    background-color: white;
    border-radius: 25px;
    padding: 1.5%;
  }

  .club-title, .group-title{
    font-size: 1.3em;
  }

  .flexphote {
    display: flex;
    justify-content: center;
    margin-top: 3%;
    flex-wrap: wrap;
  }

  .flexphoteb {
    display: flex;
    justify-content: center;
    margin-top: 3%;
    flex-wrap: wrap;
  }

  .flexphote img {
    width: 30%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 2%;
    border-radius: 20px;
  }

  .flexphoteb img {
    width: 30%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 2%;
    border-radius: 20px;
  }

  .sports {
    height: 100%;
    width: 90%;
    margin-left: auto;
    background-color: #f5fafb;
    border-radius: 45px 0px 0px 45px;
    padding: 1.5em 2em;
  }

  .event-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .gakusai {
    height: 100%;
    width: 90%;
    margin-right: auto;
    margin-bottom: 10%;
    background-color: #f5fafb;
    border-radius: 0px 45px 45px 0px;
    padding: 1.5em 2em;
  }

  .pcgakusaibotton{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 2%;
  }

  .spgakusaibotton{
    display: none;
  }

  .kainumber{
    font-family: "Roboto";
    font-size: 1.5em;
  }

  .fontbig{
    font-size: 2em;
  }

  .gakusaidate{
    margin-bottom: 2%;
  }

  .about {
    margin: 10% auto;
    height: 100%;
    width: 85%;
    display: flex;
    margin-bottom: 25vh;
  }


  .about-sns {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2em;
  }

  .about-sns img {
    width: 12%;
    /* height: 100%; */
    margin-right: 10px;
  }

  .snsicon {
    display: flex;
    width: 50%;
    align-items: center;
    margin-top: 15px;

  }

  .aboutp {
    line-height: 2;
    margin-top: 10px;
  }

  .about-left {
    width: 50%;
  }

  .about-right {
    width: 50%;
    height: 100%;
    position: relative;
  }

  .about-right img {
    border-radius: 45px;

  }

  .about1 {
    width: 20vw;
    height: 14em;
    position: absolute;
    top: -7em;
    left: 24vw;
  }

  .about2 {
    width: 30vw;
    height: 20em;
    position: absolute;
    top: 3em;
    left: 5vw;

  }

  .about3 {
    width: 15em;
    height: 15em;
    position: absolute;
    top: 17em;
    left: 26vw;
  }

  .about1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;

  }

  .contact {
    background-color: #f9f9f9;
    height: 100%;
    width: 90%;
    margin: 12% auto 0 auto;
    border-radius: 45px 0 0 45px;
    display: flex;
  }

  .contact img {
    border-radius: 45px 0 0 45px;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .conimg {
    width: 40%;
  }

  .context {
    width: 60%;
    padding: 4em;
    margin: auto 0;
    /* display: flex; */
  }

  .conbotton {
    display: flex;
    justify-content: space-evenly;
    margin: 3em auto 0 auto;
    text-align: center;
  }

  .congakusei,
  .conschool {
    font-size: 1.2em;
    width: 20vw;
    height: 3em;
    color: white;
    background-color: #004eaf;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
  }



  footer {
    text-align: center;
    width: 100%;
    padding: 5%;
  }

  .footer-index {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px;
  }


}

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

  /* タブレット向けのスタイル */
  /* ヘッダーのスタイル */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    flex-wrap: nowrap;
    /* 子要素の改行を防ぐ */
  }

  /* ロゴのスタイル */
  .logo {
    font-size: 1.5em;
    white-space: nowrap;
    /* 改行を防ぐ */
  }

  /* ナビゲーションメニューのスタイル */
  nav ul {
    display: flex;
    list-style: none;
    padding-left: 0;
  }

  nav ul li {
    margin-left: 15px;
  }

  nav ul li a {
    color: #252525;
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
    white-space: nowrap;
    /* 改行を防ぐ */
  }

  header .logo {
    width: 70%;
  }

  .logo img {
    width: 80%;
  }

  .logo-footer {
    text-align: left;
    width: 70%;
  }

  .logo-footer img {
    width: 80%;
  }


  .about {
    margin: 10% auto;
    height: 100%;
    width: 85%;
    margin-bottom: 110%;
  }

  .about-sns {
    display: flex;
    /* flex-wrap: wrap; */
    margin-top: 2em;
  }

  .about-sns img {
    width: 15%;
    /* height: 100%; */
    margin-right: 10px;
  }

  .snsicon {
    display: flex;
    width: 50%;
    align-items: center;
    margin-top: 15px;
    justify-content: center;
  }

  .aboutp {
    line-height: 2;
    margin-top: 10px;
  }



  .about-right {
    /* width: 50%; */
    position: relative;
    transform: translate(-50%, -50%);
  }

  .about-right img {
    border-radius: 45px;
  }

  .about1 {
    width: 17em;
    height: 12em;
    position: fixed;
    top: 4em;
    left: 90vw;
  }

  .about2 {
    width: 60vw;
    height: 23em;
    position: absolute;
    top: 14em;
    left: 50vw;
  }

  .about3 {
    width: 30vw;
    height: 15em;
    position: absolute;
    top: 35em;
    left: 90vw;
  }

  .about1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .club {
    height: 100%;
    width: 90%;
    margin: 12% auto;
    background-color: #fef7e8;
    border-radius: 45px;
    padding: 1.5em 2em;
  }

  .flexphote {
    display: flex;
    justify-content: center;
    margin-top: 5%;
    flex-wrap: wrap;
  }

  .flexphoteb {
    display: flex;
    justify-content: center;
    margin-top: 5%;
    flex-wrap: wrap;
  }

  .flexphote img {
    width: 45%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 3%;
    border-radius: 15px;
  }

  .flexphoteb img {
    width: 45%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 3%;
    border-radius: 15px;
  }


  .sports {
    height: 100%;
    width: 90%;
    margin-left: auto;
    background-color: #f5fafb;
    border-radius: 45px 0px 0px 45px;
    padding: 1.5em 2em;
  }

  .event-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .gakusai {
    height: 100%;
    width: 90%;
    margin-right: auto;
    margin-bottom: 10%;
    background-color: #f5fafb;
    border-radius: 0px 45px 45px 0px;
    padding: 1.5em 2em;
  }

  .pcgakusaibotton{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 2%;
  }

  .spgakusaibotton{
    display: none;
  }

  .kainumber{
    font-family: "Roboto";
    font-size: 1.5em;
  }

  .gakusaidate{
    margin-bottom: 2%;
  }

  .fontbig{
    font-size: 1.5em;
  }

  .work{
    margin-top: 2%;
    display: flex;
    justify-content: center;
  }

  .work p{
    display: inline;
  }

  .swork{
    display: none;
  }

  .clubbox,
  .groupbox {
    width: 50%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 2%;
    background-color: white;
    border-radius: 25px;
    padding: 1.5%;
  }


  .contact {
    background-color: #f9f9f9;
    height: 100%;
    width: 90%;
    margin: 12% auto;
    border-radius: 45px 45px 0 0;
  }

  .contact img {
    border-radius: 45px 45px 0 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .context {
    padding: 4em;
    margin: auto 0;
    padding: 1.5em 2em;
  }

  .conbotton {
    /* display: flex; */
    text-align: center;
    margin-top: 1em;
  }

  .congakusei,
  .conschool {
    font-size: 1.2em;
    /* margin-bottom: 1em; */
    width: 100%;
    height: 3.3em;
    color: white;
    background-color: #004eaf;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    padding: 0 1em;
  }


  footer {
    text-align: center;
    width: 100%;
    padding: 5%;
  }

  .footer-index {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px;
  }

  /* お知らせ */
  .news {
    height: 50vh;
    width: 85%;
    margin-top: 8%;
    margin-left: auto;
    background-color: #f9f9f9;
    border-top-left-radius: 50px;
  }

}

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

  /* モバイル向けスタイル */

  /* レスポンシブ対応 */
  header {
    flex-direction: column;
    align-items: flex-start;
    font-size: 14px;
    padding: 5px;
    /* 固定するのに使う
    position: fixed; */
  }

  nav {
    margin: 0 auto;
  }

  header .logo {
    margin: 0 auto;
  }

  nav ul {
    align-items: flex-start;
  }

  nav ul li {
    margin: 0px 0.5em;
  }

  nav ul li a {
    color: #252525;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 600;
    white-space: nowrap;
    /* 改行を防ぐ */
  }


  .logo-footer {
    text-align: left;
    width: 70%;
  }

  .logo-footer img {
    width: 85%;
  }

  header .logo {
    width: 70%;
  }

  .logo img {
    width: 100%;
  }

  .about {
    margin: 10% auto;
    height: 100%;
    width: 85%;
    margin-bottom: 140%;
  }


  .about-sns {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2em;
  }

  .about-sns img {
    width: 18%;
    /* height: 100%; */
    margin-right: 10px;
  }

  .snsicon {
    display: flex;
    width: 50%;
    align-items: center;
    margin-top: 15px;
  }

  .aboutp {
    line-height: 2;
    margin-top: 10px;
  }

  .about-right {
    /* width: 50%; */
    height: 100%;
    position: relative;
  }

  .about-right img {
    border-radius: 20px;
  }

  .about1 {
    width: 10em;
    height: 7em;
    position: absolute;
    top: 4em;
    left: 85vw;
  }

  .about2 {
    width: 17em;
    height: 12em;
    position: absolute;
    top: 10em;
    left: 45vw;
  }

  .about3 {
    width: 10em;
    height: 10em;
    position: absolute;
    top: 21em;
    left: 90vw;
  }

  .about1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .club {
    height: 100%;
    width: 100%;
    background-color: #fef7e8;
    border-radius: 45px 45px 0px 0px;
  }

  .swork {
    margin-top: 10%;
    margin-bottom: 3%;
    display: flex;
    justify-content: center;
  }

  .work{
    display: none;
  }

  .clubbox, .groupbox{
    width: 50%;
    margin: 0;
    background-color: #fef7e8;
  }

  .flexphote {
    width: 106.2%;
    display: flex;
    margin-top: 15%;
    overflow-x: scroll;
    justify-content: normal;
    flex-wrap: nowrap;
  }

  .flexphoteb{
    width: 106.2%;
    display: flex;
    margin-top: 3%;
    overflow-x: scroll;
    justify-content: normal;
    /* flex-wrap: nowrap; */
  }

  .flexphote img {
    width: 92%;
    margin-bottom: 5%;
    border-radius: 20px;
  }

  .flexphoteb img {
    width: 92%;
    margin-bottom: 5%;
    border-radius: 20px;
  }

  .sports {
    height: 100%;
    width: 95%;
    margin-left: auto;
    background-color: #f5fafb;
    border-radius: 45px 0px 0px 45px;
    padding: 1.3em;
  }

  .event-title {
    display: block;
  }

  .gakusai {
    height: 100%;
    width: 95%;
    margin-right: auto;
    margin-bottom: 10%;
    background-color: #f5fafb;
    border-radius: 0px 45px 45px 0px;
    padding: 1.3em;
  }

  .pcgakusaibotton{
    display: none;
  }
  .spgakusaibotton{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 10%;
  }

  .kainumber{
    font-family: "Roboto";
    font-size: 1.2em;
  }


  .gakusaidate{
    margin-bottom: 2%;
    text-align: center;
  }


  .fontbig{
    font-size: 1.5em;
  }

  .contact {
    background-color: #f9f9f9;
    height: 100%;
    width: 100%;
    margin: 12% auto;
    border-radius: 45px 0 0 0;
  }

  .contact img {
    border-radius: 45px 0 0 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }



  .context {
    padding: 4em;
    margin: auto 0;
    padding: 1.5em 2em;
  }

  .conbotton {
    /* display: flex; */
    text-align: center;
    margin-top: 1em;
    font-size: 14px;
  }

  .congakusei,
  .conschool {
    font-size: 1.2em;
    /* margin-bottom: 1em; */
    width: 100%;
    height: 3.3em;
    color: white;
    background-color: #004eaf;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
  }

  footer {
    text-align: center;
    width: 100%;
    padding: 5%;
  }

  .footer-index {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px;
  }



  /* お知らせ */
  .news {
    height: 50vh;
    width: 90%;
    margin-top: 8%;
    margin-left: auto;
    background-color: #f9f9f9;
    border-top-left-radius: 50px;
  }

  .Privacy {
    font-size: 1em;
  }
}




.table_design08 {
  border-collapse: collapse;
  table-layout: fixed;
  width: 90%;
  max-width: 850px;
  text-align: center;
  margin: 10px auto 0px auto;
}

.table_design08 th,
.table_design08 td {
  border: 2px solid #fff;
  padding: 1em;
  background: rgba(255, 255, 255, 0.45);
}

.table_design08 thead th {
  background-color: #0C3090;
  color: #fff;
  border: 2px solid #fff;
}

/* .table_design08 thead th:last-of-type {
  border-right: 2px solid #0C3090;
} */

.table_design08 tbody th {
  color: black;
  font-weight: 100;
  text-align: center;
}

@media screen and (max-width: 787px) {
  .table_design08 {
    text-align: left;

  }

  .table_design08 thead {
    display: none;
  }

  .table_design08 th,
  .table_design08 td {
    display: block;
    border: 0;
    border-bottom: 2px solid #0C3090;
    display: flex;
  }

  .table_design08 tbody th {
    background: #0C3090;
    color: #fff;
    display: flex;
    justify-content: center;
  }

  .table_design08 td::before {
    content: attr(data-label);
    color: #0C3090;
    font-weight: bold;
    display: inline-block;
    width: 30%;
    min-width: 4em;
  }
}