@charset "UTF-8";

/**
 *
 *  default
 *
 */
 h2 {
     text-align: center;
     padding: 20px;
     margin-top: 0px;
     font-size: 1.7em;
 }
 i,span {
     display: inline-block;
 }
 section {
   padding-top: 50px;
   padding-bottom: 50px;
 }
 .fa-file-pdf,.fa-youtube {
   color: red;
 }


/**
 *
 *  header
 *
 */
 #global-navi {
  background: #fff;
  border-bottom: solid rgb(var(--main-color));
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    z-index: 100;
    height: 60px;
  }
  #header nav ul {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
  }
  #header .logo {
    position: absolute;
    top:0;
    left:0;
    z-index: 120;
    color: rgb(var(--main-color));
  }
  #header a svg {
    position: fixed;
    width: 216px;
      height: 50px;
      margin: 5px 20px;
      margin-left: auto;
      z-index: 10;
  }
  #header a svg g path:nth-child(1),
  #header a svg g path:nth-child(2),
  #header a svg g path:nth-child(3) {
    fill:currentColor;
    stroke:currentColor;
  }
  #header nav ul li {
    text-align: center;
    display: inline-block;
    height: 60px;
    font-size: 18px;
    margin: 0;
    vertical-align: top;
    margin-left:auto;
    transition: 0.5s;
  }
  #header nav ul li a {
    display: inline-block;
    height: 100%;
    width: 100px;
  }
  #header nav ul li i {
    margin: 5px;
    font-size: 1.5em;
    color: rgb(var(--main-color));
  }
  #header nav ul li:hover {
    background: rgb(var(--main-color));
    color: #fff;
  }
  #header nav ul li:hover i {
    font-size: 1.5em;
    color: #fff;
  }
  
  @media screen and (max-width: 960px) {
    #header a img {
        z-index: 1;
    }
    #global-navi {
      border-top: solid rgb(var(--main-color));
    }
    #header {
    position: fixed;
      width: 100vw;
      height: 60px;
      background: #fff;
      border-bottom: solid rgb(var(--main-color));
    }
    #header nav {
      right: -320px;
      max-width: 300px;
      height: calc(100vh - 60px);
      margin-top: 60px;;
      z-index: 10;
    }
    #header nav ul {
      padding-inline-start: 0;
      width: 300px;
      height: calc(100vh - 60px);
      background: rgba(var(--main-color),0.2);
    }
    #header nav ul li {
      display: block;
      padding: 0px 0px;
      height: 80px;
      float: none;
      border-bottom: solid rgb(var(--main-color));
    }
    #header nav ul li a {
      display: inline-block;
      width: 100%;
      height: 100%;
    }
    #header nav ul li a i {
      margin-top: 20px;
    }

    /*ハンバーガーメニュー*/
    #header .btn-hamburger {
      position: fixed;
      top: 20px;
      right: 20px;
      height: 24px;
      z-index: 3;
      box-sizing: border-box;
    }
    #header .btn-hamburger,
    #header .btn-hamburger span {
      width: 30px;
      -webkit-transition: all 0.4s;
      transition: all 0.4s;
    }
    #header .btn-hamburger span {
      position: absolute;
      height: 4px;
      background: #666;
      border-radius: 10px;
    }
    #header .btn-hamburger span:nth-child(1) {
      top: 0;
    }
    #header .btn-hamburger span:nth-child(2) {
      top: 10px;
    }
    #header .btn-hamburger span:nth-child(3) {
      top: 20px;
    }
    #header .btn-hamburger.open {
      -webkit-transform: rotate(180deg);
      transform: rotate(180deg);
    }
    #header .btn-hamburger.open span {
      background: #666;
      width: 24px;
    }
    header nav span {
      display: inline-block;
    }
    header nav span.nav_span {
      display: none;
    }
  }


/**
 *
 *  top_img
 *
 */
  /*
 .secTopImg {
   padding: 30px 0px 0px 0px;
   width: 100%;
   position: relative;
 }


 .secTopImg img {
   width: 100%;
 }
*/

 @media screen and (max-width:960px) {
  .secTopImg {
    padding: 20px 0px 0px 0px;
  }
 }

.secTopImg{
  width: 100%;
  height: 50vw;
  overflow: hidden;
  position: relative;
}
.secTopImg>div{
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 50vw;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 10;
  opacity: 0;
  animation-name: fade;
  animation-duration: 24s;
  animation-iteration-count: infinite;
}
@keyframes fade {
  0%{
    opacity: 0;
  }
  20%{
    opacity: 1;
  }
  80%{
    opacity: 0;
    transform: scale(1.2);
  }
  100%{
    opacity: 0;
    z-index: 0;
  }
}
/* 1枚目のスライド */
.secTopImg>div:first-of-type{
  background-image: url("../img/top/2023_1.JPG");
    /* 追記 */
    animation-delay: 0s;
}

/* 2枚目のスライド */
.secTopImg>div:nth-of-type(2){
  background-image: url("../img/top/2023_2.JPG");
  /* 追記 */
  animation-delay: 3s;
}

/* 3枚目のスライド */
.secTopImg>div:last-of-type(3){
  background-image: url("../img/top/2023_3.JPG");
  /* 追記 */
  animation-delay: 6s;
}

/* 4枚目のスライド */
.secTopImg>div:first-of-type(4){
  background-image: url("../img/top/2023_4.JPG");
    /* 追記 */
    animation-delay: 9s;
}

/* 5枚目のスライド */
.secTopImg>div:nth-of-type(5){
  background-image: url("../img/top/2023_5.JPG");
  /* 追記 */
  animation-delay: 12s;
}

/* 6枚目のスライド */
.secTopImg>div:last-of-type(6){
  background-image: url("../img/top/2023_6.JPG");
  /* 追記 */
  animation-delay: 15s;
}
/* 7枚目のスライド */
.secTopImg>div:nth-of-type(7){
  background-image: url("../img/top/2023_7.JPG");
  /* 追記 */
  animation-delay: 18s;
}

/* 8枚目のスライド */
.secTopImg>div:last-of-type(8){
  background-image: url("../img/top/2023_8.JPG");
  /* 追記 */
  animation-delay: 21s;
}

 /**
 *
 *  notice
 *
 */
 #noticeBox dl {
   text-align: center;
   border: solid rgb(var(--main-color));
   width: calc(95vw - 60px);
   max-width: 1050px;
   margin: auto;
   padding:20px
 }
 #noticeBox dt {
   font-size: 1.5em;
   margin-bottom: 20px;
 }
 #noticeBox dd p {
   margin: 10px auto;
   text-align: left;
 }
 #noticeBox dd a {
   vertical-align: top;
   margin: 15px 10px;
   width: 80%;
   max-width: 300px;
   display: inline-block;
   text-align: center;
   padding: 10px;
   border: solid rgba(var(--main-color),0.4);
   border-radius: 20px;
   transition: 0.5s;
 }
 #noticeBox dd a:hover {
    border: solid rgb(var(--main-color));
    background: rgb(var(--main-color));
    color: #fff;
  }
 @media screen and (max-width:960px) {
  #noticeBox dt {
    font-size: 1.2em;
  }
  #noticeBox dd {
    font-size: 0.9em;
  }
  #noticeBox dd a {
    margin: 10px 10px;
  }
  
 }


/**
 *
 *  ROBOCON 大会
 *
 */ 
#secTournament {
  background: rgba(var(--main-color),0.1);
  text-align: center;
}
#secTournament article {
  margin: 30px 0px;
}
#secTournament .artOrganization h3 {
  margin-top: 10px;
  font-size: 1.5em;
}

#secTournament .artOrganization p {
  font-size: 1.1em;
}

#secTournament a {
  vertical-align: top;
  margin: 15px 20px;
  width: 80%;
  max-width: 300px;
  display: inline-block;
  text-align: center;
  padding: 10px;
  border: solid rgba(var(--main-color),0.4);
  border-radius: 20px;
  transition: 0.5s;
  background: #fff;
  cursor: pointer;
}
#secTournament a:hover {
   border: solid rgb(var(--main-color));
   background: rgb(var(--main-color));
   color: #fff;
 }

 /*主催・日時・場所*/
 #secTournament .artDetails {
   max-width: 960px;
   margin-left: auto;
   margin-right: auto;
 }
 #secTournament .artDetails div {
   vertical-align: top;
   display: inline-block;
   width: 40%;
 }
 #secTournament .artDetails p:nth-child(2n) {
   font-size: 1.3em;
 }
 @media screen and (max-width:500px) {
  #secTournament .artDetails div {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    margin-top: 20px;
  }
 }

 /*競技説明*/
 #secTournament .artCompetition {
   margin-top: 100px;
 }
 #secTournament .artCompetition a {
   margin: 5px;
   padding: 0;
 }
 #secTournament .artCompetition a div {
  overflow: hidden;
  border-radius: 20px 20px 0px 0px;
  max-height: 150px;
 }
 #secTournament .artCompetition img {
  width: 100%;
  border-radius: 20px 20px 0px 0px;
  transition:1s all;
}
#secTournament .artCompetition a:hover img {
  transform:scale(1.2,1.2);
}
#secTournament .artCompetition h3 {
  font-size: 1.5em;
}
.artCompetition h4 {
  height: 40px;
  margin: 20px auto 15px auto;
}
#secTournament .artCompetition br {display: none;}
#secTournament .artCompetition h4 br {display: block;}
@media screen and (max-width:1300px) {
  #secTournament .artCompetition br {display: block;}
}


/**
 *
 *  secResult
 *
 */
#secResult {
  text-align: center;
}
#secResult article {
  max-width: 1000px;
  width: 90%;
  margin: 0px auto;
  display: flex;
  display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:nowrap;
    overflow: auto;
    white-space: nowrap;
}
#secResult article div {
  vertical-align: top;
  flex: 0 0 auto;
  text-align: left;
  display: inline-block;
  width: 250px;
  margin: 10px;
  background: rgba(var(--main-color),0.01);
  box-shadow: 0 2px 10px 0 rgba(var(--main-color),0.2);
  overflow: hidden;
}
#secResult article div h3 {
  text-align: center;
  margin-top: 10px;
  padding: 10px;
  font-size: 1.2em;
}
#secResult article div a {
  display: block;
  margin: 15px auto;
  width: 80%;
  text-align: center;
  padding: 10px;
  border: solid rgba(var(--main-color),0.4);
  border-radius: 20px;
  transition: 0.5s;
  background: #fff;
  cursor: pointer;
}
#secResult article div a:hover {
  border: solid rgb(var(--main-color));
  background: rgb(var(--main-color));
  color: #fff;
}


/**
 *
 * secWorkshop
 *
 */
#secWorkshop {
  background: rgba(var(--main-color),0.1);
  text-align: center;
}
#secWorkshop a {
  vertical-align: top;
  margin: 15px auto;
  width: 80%;
  max-width: 300px;
  display: inline-block;
  text-align: center;
  padding: 10px;
  border: solid rgba(var(--main-color),0.4);
  border-radius: 20px;
  transition: 0.5s;
  background: #fff;
  cursor: pointer;
}
#secWorkshop a:hover {
   border: solid rgb(var(--main-color));
   background: rgb(var(--main-color));
   color: #fff;
 }

 /*主催・日時・場所*/
 #secWorkshop .artDetails {
   max-width: 960px;
   margin-left: auto;
   margin-right: auto;
 }
 #secWorkshop .artDetails div {
   vertical-align: top;
   display: inline-block;
   width: 40%;
 }
 #secWorkshop .artDetails p:nth-child(2n) {
   font-size: 1.3em;
 }
 @media screen and (max-width:500px) {
  #secWorkshop .artDetails div {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    margin-top: 20px;
  }
 }

 #secWorkshop .artWorkshop {
  max-width: 1000px;
  width: 90%;
  margin: 100px auto 20px auto;
  display: flex;
  display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:nowrap;
    overflow: auto;
    white-space: nowrap;
}
#secWorkshop .artWorkshop div {
  vertical-align: top;
  flex: 0 0 auto;
  text-align: left;
  display: inline-block;
  width: 250px;
  margin: 10px;
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(var(--main-color),0.2);
  overflow: hidden;
}
#secWorkshop .artWorkshop div h3 {
  text-align: center;
  margin-top: 10px;
  padding: 10px;
  font-size: 1.2em;
}
#secWorkshop .artWorkshop div a {
  display: block;
  margin: 15px auto;
  width: 80%;
  text-align: center;
  padding: 10px;
  border: solid rgba(var(--main-color),0.4);
  border-radius: 20px;
  transition: 0.5s;
  background: #fff;
  cursor: pointer;
}
#secWorkshop .artWorkshop div a:hover {
  border: solid rgb(var(--main-color));
  background: rgb(var(--main-color));
  color: #fff;
}
 

/**
 *
 *  sponsor
 *
 */
 .secSponsor {
     max-width: 1300px;
     margin: 0px auto;
 }
 #sponsor {
     text-align: center;
 }
 #sponsor section {
     margin: 25px 0;
     padding-top: 0px;
     padding-bottom: 0px;
 }
.kn1,.kn2,.kn3,.kn4,.kn5,.kn6,.kn7 {
    vertical-align: top;
    display: inline-block;
    text-align: center;
    padding: 10px 0px;
    background: #eeeeee;
    margin: 2px 5px;
    border-radius: 5px;
}
.kn1 {
    width: calc(50% - 10px);
    padding: 20px 0px;
    font-size: var(--sponsor-font-size-kn1);
}
.kn2 {
    width: calc(33.3% - 10px);
    
    padding: 15px 0px;
    font-size: var(--sponsor-font-size-kn2);
}
.kn3 {
    width: calc(33.3% - 10px);
    padding: 10px 0px;
    font-size: var(--sponsor-font-size-kn3);
}
.kn4 {
    width: calc(33.3% - 10px);
    padding: 5px 0px;
    font-size: var(--sponsor-font-size-kn4);
}
.kn5 {
    width: calc(25% - 10px);
    font-size: var(--sponsor-font-size-kn5);
}
.kn6 {
    width: calc(25% - 10px);
    font-size: var(--sponsor-font-size-kn6);
}
.kn7 {
    width: calc(25% - 10px);
    font-size: var(--sponsor-font-size-kn7);
}
@media screen and (max-width:960px) {
    .kn1 {
        width: 100%;
        margin: 2px 0px;
    }
    .kn2 {
        width: calc(50% - 10px);
    }
    .kn3 {
        width: calc(50% - 10px);
    }
    .kn4 {
        width: calc(50% - 10px);
    }
    .kn5 {
        width: calc(33.3% - 10px);
    }
    .kn6 {
        width: calc(33.3% - 10px);
    }
    .kn7 {
        width: calc(33.3% - 10px);
    }
}
@media screen and (max-width:500px) {
    .kn1 {
        width: 100%;
        margin: 2px 0px;
    }
    .kn2 {
        width: 100%;
        margin: 2px 0px;
    }
    .kn3 {
        width: 100%;
        margin: 2px 0px;
    }
    .kn4 {
        width: 100%;
        margin: 2px 0px;
    }
    .kn5 {
        width: calc(50% - 10px);
    }
    .kn6 {
        width: calc(50% - 10px);
    }
    .kn7 {
        width: calc(50% - 10px);
    }
}


/**
 *
 *  Robocon Link
 *
 */
 .secRoboconLink {
    background: rgba(var(--main-color),0.1);
    padding: 20px 0px;
    margin-top: 100px;
 }
 #roboconLink {
     text-align: center;
 }
 #roboconLink a {
     background: #fff;
     vertical-align: top;
     display: inline-block;
     width: calc(50% - 20px);
     max-width: 500px;
     height: 80px;
     margin: 10px;
     box-shadow: 0 2px 10px 0 rgb(33 61 97 / 30%);
 }
 #roboconLink h3 {
     min-height: 26px;
     max-height: 26px;
     vertical-align: top;
     text-align: left;
     padding: 10px;
     display: -webkit-box;
     -webkit-box-orient: vertical;
     -webkit-line-clamp: 2;
     overflow: hidden;
 }
 #roboconLink span {
     display: inline-block;
     margin-left: auto;
     display: -webkit-box;
     -webkit-box-orient: vertical;
     -webkit-line-clamp: 1;
     overflow: hidden;
 }
 #roboconLink img {
     float: left;
     max-width: 142px;
     height: 80px;
 }
 @media screen and (max-width: 700px) {
    #roboconLink a {
        vertical-align: top;
        display: inline-block;
        width: calc(100% - 20px);
        max-width: 500px;
        height: 80px;
        margin: 10px;
        box-shadow: 0 2px 10px 0 rgb(33 61 97 / 30%);
    } 
 }


/**
 *
 *  footer
 *
 */
footer {
    text-align: center;
}
footer a {
    display: block;
    font-size: 1.1em;
    margin: 20px auto;
}
footer p {
    font-size: 0.9em;
}

.secretariat {
    background: rgba(var(--main-color),0.6);
    padding: 15px 0px;
}

.copyright {
    padding: 15px 0px;
    background: black;
    color: #fff;
}


/**
 *
 *  モーダルエリア
 *
 */
 .modalArea {
  display: none;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
}
.modalArea,
.modalBg {
  width: 100%;
  height: 100%;
}
.modalBg {
  background-color: rgba(30, 30, 30, 0.9);
}
.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 99%;
  max-width: 750pt;
  background-color: #fff;
  border: solid rgba(var(--main-color),1);
  height: calc(100vh - 5px);
  max-height: 700px;
  overflow-y: scroll;
  overflow-x: hidden;
}
@media screen and (max-width:500px) {
  .modalWrapper {
    top: calc(0% + 0px);
    transform: translate(-50%, 0%);
    max-height: 1700px;
  }
}
.closeModal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
  font-size: 3em;
}
.closeModall {
  width: 100px;
  padding: 15px;
  margin: 70px auto;
  background: rgba(var(--main-color),0.2);
  border-radius: 20px;
  cursor: pointer;
}
.modalContents {
  position: relative;
  z-index: 1;
  text-align: center;
}
.modalContents h3 {
  text-align: left;
  font-size: 1.3em;
  display: block;
  margin: 50px auto 20px auto;
  padding: 0px 5px;
  max-width: 80%;
  border-bottom: solid rgb(var(--main-color));
}
.modalContents a {
  margin: 15px auto;
  width: 80%;
  max-width: 300px;
  display: block;
  text-align: center;
  padding: 10px;
  border: solid rgba(var(--main-color),0.4);
  border-radius: 20px;
  transition: 0.5s;
}
.modalContents a:hover {
   border: solid rgb(var(--main-color));
   background: rgb(var(--main-color));
   color: #fff;
 }
.modalContents img {
  width: 90%;
  max-width: 600px;
  margin: 0px auto;
}
.modalContents h4 {
  margin: 30px auto;
  width: 90%;
  padding-top: 20px;
  max-width: 500px;
  white-space:normal;
  margin-top: 15px;
  line-height: 1.5;
  font-size: 1.3em;
}
.modalContents p {
  text-align: left;
  margin: 15px auto;
  width: 90%;
  max-width: 500px;
  white-space:normal;
  margin-top: 15px;
  line-height: 1.5;
}


/*********************/
/* 　スクロールバー関連　 */
/*********************/
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
/*スクロールバーの周りのもの*/
::-webkit-scrollbar-track {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
}
/*スクロールバー*/
::-webkit-scrollbar-thumb {
  background-color: rgb(var(--main-color));	
  border-radius: 10px;
  box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
}

/**
*
*  特定
*
*/
