#cover {
  width: 100%;
  height: 550px;
  margin-top: 135px;
  background-color: white;
}

.bx-wrapper {
  border: none!important;
}

.slider div {
  visibility: hidden;
}
.bx-viewport .slider div {
  visibility: visible!important;
}

.slider{
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.slider_content {
  height: 550px!important;
  background-size: cover;
  background-position: 50% 50%;
}

.slider_content img {
  display: none!important;
}

#cover1 {
  background-image: url(../img/top/top_1.jpg?186);
}
#cover2 {
  background-image: url(../img/top/top_2.jpg?186);
}
#cover3 {
  background-image: url(../img/top/top_3.jpg?186);
}
#cover4 {
  background-image: url(../img/top/top_4.jpg?186);
}
#cover5 {
  background-image: url(../img/top/top_5.jpg?186);
}
#cover6 {
  background-image: url(../img/top/top_6.jpg?186);
}

.bx-caption {
  background: none!important;
}

.bx-caption span {
  font-family:
  "游明朝", "YuMincho",
  "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝",
  "ＭＳ 明朝", serif!important;
  max-width: 1000px;
  margin: 0 auto;
  padding: 15px!important;
  text-align: right;
  font-size: 1.25em!important;
}

.bx-wrapper .bx-prev, .bx-next {
  display: none;
  z-index: 99!important;
}

.bx-pager {
  padding: 15px 0 20px 0!important;
  bottom: -50px!important;
  background-color: white;
}

.bx-pager-link {
  background-color: darkgray !important;
}

.bx-pager-link.active {
  background-color: #1FA1C4 !important;
}

h1 {
  width: 30%;
  margin: 0 auto 40px auto;
  padding: 20px 0 0 0;
  text-align: center;
  font-size: 28px;
  border-bottom: 1px solid silver;
}

#course_bg {
  width: 100%;
  margin: 50px 0 0 0;
  padding: 50px 0 60px 0;
  background-color: #eee;
}

.course {
  width: 31%;
  height: 500px;
  padding: 0;
  border-radius: 4px;
  background-color: white;
  overflow: hidden;
}

.c_content {
  width: 100%;
  height: 50%;
  margin: 0;
  overflow: hidden;
}

.c_content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px 4px 0 0;
}

.course_desc {
  padding: 25px 7% 75px 7%;
}

.course_desc h2 {
  margin: 0;
  line-height: 1.5;
  text-align: center;
}

.course_desc p {
  margin: 20px 0 0 0;
  font-size: 14px;
  line-height: 1.75;
}

.course_desc a {
  display: block;
  text-decoration: none;
  color: black;
  padding: 0;
  transition: .2s;
}

#link_spot3 {
  display: inline;
  text-decoration: underline;
}

#course1 {
  border-bottom: 3px solid #d22e64;
}

#course2 {
  border-bottom: 3px solid #95579a;
}

#course3 {
  border-bottom: 3px solid #006eb9;
}

#spot {
  padding: 50px 0 0 0;
  text-align: center;
  background-color: white;
}

.spot_content {
  position: relative;
  width: 31.5%;
  margin: 0;
  overflow: hidden;
}

.spot_content h2 {
  margin: -5px 0 0 0;
}

.spot_content a {
  color: black;
  text-decoration: none;
  transition: opaceity .2s;
}

.spot_content img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.img_course2 {
  transform: scale(1.4);
  object-position: 35% -25px;
}
.img_course3 {
  transform: scale(1.4);
  object-position: 70% -25px;
}

#spot_else {
  margin: 0px auto 0 auto;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: .3s;
}

#container {
  display: grid;
  margin: 0 auto;
  max-width: 1000px;
  width: 82%;
  grid-template-columns: repeat(5,1fr);
  grid-template-rows: auto;
  column-gap: 2%;
}

.item {
  margin-top: 40px;
}

.item h3 {
  margin: -5px;
}

.item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

#spot_input {
  display: none;
}

#spot label {
  display: block;
  height: 54px;
  border-bottom: 1px solid white;
  font-weight: 600;
  cursor: pointer;
  transition: border .2s;
}
#spot label > span {
  display: inline-block;
  width: 100%;
  height: 26px;
}

#spot_input_label {
  margin: 75px auto 0 auto;
  padding-top: 10px;
  width: 80px;
}

#spot_input_label2 {
  margin: -65px auto 0 auto;
  padding-top: 10px;
  width: 80px;
  visibility: hidden;
  opacity: 0;
}

#spot_input:checked ~ #spot_else {
  height: 500px;
  opacity: 1;
}
#spot_input:checked ~ #spot_input_label {
  visibility: hidden;
  opacity: 0;
}
#spot_input:checked ~ #spot_input_label2 {
  visibility: visible;
  opacity: 100;
}

#download {
  padding: 50px 0 0 0;
  background-color: white;
}

#download .wrapper {
  padding: 0 0 8% 0;
  justify-content: center;
}

#download h1 {
  position: relative;
  padding-top: 20px;
  z-index: 1;
  border-bottom: 1px solid dimgray;
}

#download-wrapper {
  position: relative;
  width: 100%;
  padding: 50px 0 0 0;
  border-radius: 4px;
  background-image: url(../img/top/map-bg.jpg?186);
  background-size: cover;
  background-position: 50% 45%;
}

#download-wrapper::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.6);
  z-index: 0;
}

#download-wrapper > p {
  position: relative;
  margin: 0 auto 30px auto;
  text-align: center;
  z-index: 1;
}

.unset {
  align-items: unset;
}

.download_txt {
  display: flex;
  position: relative;
  box-sizing: border-box;
  width: 45%;
  height: auto;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

#download figure {
  margin: 0 1%;
  width: 200px;
}

#download figure img {
  display: block;
  box-sizing: border-box;
  border: 1px solid #405066;
  width: 100%;
}

figcaption p {
  margin: 0;
  font-size: 14px;
}

.download_txt:nth-of-type(2){
  flex-direction: column;
  justify-content: space-around;
}

.download_txt:nth-of-type(2) a {
  /* display: block; */
  position: relative;
  width: 60%;
  margin: 0 auto;
  padding: 4% 0;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  transition: background-color .3s;
  font-size: 1em;
  font-weight: bold;
  color: #eee;
  /* background: #405066; */
  background: #354a67;
  background: #375680;
}
/* .download_txt:nth-of-type(2) a:nth-of-type(2) {
  margin-top: 25px;
} */

.download_txt:nth-of-type(2) a::after {
  font-family: 'Material Icons';
  content: "\e89e";
  font-size: 1.2em;
  font-weight: 400;
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  color: #ddd;
}

.download_txt:nth-of-type(2) a span {
  font-size: .8em;
}

/* info */
#info_bg {
  padding: 180px 0;
  background-color: white;
}

#info_bg h1 {
  width: 65%;
  margin: 0 auto 40px auto;
  padding: 20px 0 0 0;
  font-size: 24px;
  text-align: center;
}

#info_bg iframe {
  width: 100%;
  height: 820px;
}

.info {
  width: 650px;
  margin: 0 auto;
}

#pri {
  padding: 100px 0 0 0;
}

#pri p,
#pri a {
  color: dimgray;
}
/* infoここまで */





@media screen and (max-width: 1367px) {

  .course_desc a,
  .spot_content a,
  .download_txt:nth-of-type(2) a {
    transition: 0s;
  }

}





@media screen and (min-width: 1025px) {

  .course a:hover {
    opacity: .8;
  }

  .spot_content a:hover {
    opacity: 0.8;
  }

  #spot label:hover {
    border-bottom: 1px solid darkgray;
  }

  .download_txt:nth-of-type(2) a:hover {
    background: rgba(50, 50, 70, 1);
  }

}





@media screen and (max-width: 1024px) {

  .bx-caption span {
    font-size: 17px!important;
  }

  .course_desc h2 {
    font-size: 1.2em;
  }

  #spot label:active {
    border-bottom: 1px solid darkgray;
  }

}





@media screen and (max-width: 1000px) {
  #cover {
    position: relative;
    width: 100vw;
    height: 350px;
    margin-top: 80px;
    z-index: 3;
  }

  .slider_content {
    height: 300px !important;
  }

  .bx-pager {
    padding-top: 0 !important;
    margin-top: 10px !important;
  }

  .bx-caption span {
    font-size: 14px!important;
  }

  h1 {
    font-size: 22px;
  }

  .course_desc h2,
  .spot_content h2 {
    font-size: 18px;
  }

  #course_bg {
    position: relative;
    margin: 0;
    z-index: 2;
  }

  #course_bg_scroll {
    overflow: scroll;
  }

  #course_bg .wrapper {
    width: 1000px;
    padding: 0 4.5% 30px 4.5%;
  }

  .course {
    width: 31.5%;
    height: 450px;
  }

  .c_content {
    height: 45%;
  }

  .course_desc {
    padding-bottom: 50px;
  }

  #spot {
    position: relative;
    z-index: 1;
  }

  #container {
    grid-template-columns: repeat(4,1fr);
    column-gap: 1.5%;
  }

  #spot_input:checked ~ #spot_else {
    height: 550px;
    overflow: auto;
    opacity: 1;
  }

  .item img {
    height: 100px;
    border-radius: 2px;
  }

  .download_txt {
    width: 100%;
  }

  .download_txt:nth-of-type(1) {
    margin: 15px 0 40px 0;
  }

  .download_txt:nth-of-type(2) a {
    padding: 20px 0;
    width: 50%;
    border-radius: 5px;
  }

  /* info */
  #info_bg {
    padding: 40px 0 120px 0;
  }

  #info_bg h2 {
    font-size: 1.1em;
  }

  #info_bg p {
    font-size: .9em;
  }

  #pri {
    width: 80vw;
  }

  .info {
    width: 90vw;
    margin: 0 auto;
    padding: 60px 0 0 0;
  }
  /* infoここまで */
}





@media screen and (max-width: 541px) {

  #cover1 {
    background-image: url(../img/course2/course2_04.jpg?186);
  }
  #cover2 {
    background-image: url(../img/course1/course1_10.jpg?186);
  }
  #cover3 {
    background-image: url(../img/course2/course2_08.jpg?186);
  }
  #cover4 {
    background-image: url(../img/course3/course3_07.jpg?186);
    background-position: 65% 60%;
  }
  #cover5 {
    background-image: url(../img/spot2/spot2_05.jpg?186);
  }
  #cover6 {
    background-image: url(../img/spot1/spot1_01.jpg?186);
  }

  h1 {
    width: 70%;
  }

  #course_bg {
    margin-top: -50px;
    padding: 60px 0 30px 0;
  }

  #course_bg .wrapper {
    width: 850px;
  }

  .course {
    width: 32%;
  }

  .course_desc {
    display: block;
    width: 85%;
  }

  .course_desc a {
    padding: 0;
    text-align: center;
  }

  .course_desc h2 {
    font-size: 1.05em;
    width: 100%;
    text-align: center;
  }

  .course_desc p {
    margin: 7% auto;
  }

  #spot {
    margin: -40px auto 0 auto;
    padding: 60px 0 20px 0;
  }

  .spot_content {
    display: block;
    margin: 30px auto 0 auto;
    width: 100%;
  }

  .spot_content:nth-of-type(1) {
    margin: 0 auto;
  }

  .spot_content img {
    height: 150px;
    object-position: 50% 80%;;
  }

  #spot_input_label {
    margin: 45px auto 0 auto;
  }

  #spot label > span:first-child {
    font-size: 14px;
  }
  #spot label > span:last-child {
    font-size: 20px;
  }

  #container {
    grid-template-columns: repeat(2,1fr);
    column-gap: 4%;
  } 

  .item h3 {
    font-size: 14px;
  }

  #spot_input:checked ~ #spot_else {
    height: 810px;
  }

  #download-wrapper {
    padding: 20px 0 0 0;
  }

  #download .wrapper {
    padding: 0 0 15% 0;
  }

  .download_txt:nth-of-type(1) {
    width: 80%;
  }

  .download_txt:nth-of-type(2) a {
    width: 75%;
    font-size: .95em;
  }

  #download p {
    font-size: .8em;
  }

  #download figure img {
    width: 100%;
  }

  #info_bg h1 {
    font-size: 1.2em;
  }

  #info_bg iframe {
    height: 1000px;
  }
}




@media screen and (max-width: 320px) {

  .item img {
    height: 80px;
    border-radius: 2px;
  }

  .item h3 {
    font-size: 13px;
  }
}
