#menu_sp, #menu_sp_list, #sp_menu_close {
  display: none;
}

#menu_sp {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 99;
}

#menu_sp_list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #00a2e8;
  position: fixed;
  top: 60px;
  right: 0;
  width: 200px;
}

#menu_sp_list li a {
  display: block;
  color: #fff;
  padding: 0.8em 1em;
  border-top: 1px solid #fff;
}

#menu_sp_list li a:hover {
  color: #ddd;
}

#menu_sp_btn {
  position: fixed;
  right: 0;
}

#img1 {
  left: 0px;
}

#img2 {
  left: 540px;
}

#img3 {
  left: 1080px;
}

.sp_only, .sp_only_inline {
  display: none;
}

#wonderp {
  width: 176px;
}

#top_slide {
  width: 540px;
  height: 357px;
  margin: 0 20px 20px;
}
#main.facilities {
  width: 700px;
  margin: 0 30px;
}
#event_main.facilities {
  margin: 0;
  width: 720px;
}
.open_title {
  background: #ff7979;
  text-align: center;
  color: #fff;
  font-size:18px;
}
.open_detail {
  margin: 0 0 8px;
  box-sizing: border-box;
  border: 3px solid #ff7979;
  border-top: none;
  padding: 4px;
  background: #fffec6;
  font-weight: bold;
}
.open_detail p {
  margin: 0;
  line-height: 1.4em;
}
.open_detail p.sport {
  font-size: 11px;
  font-weight: normal;
}
.open_detail .red {
  color: #f00;
}
/* facilities */
img[usemap] {
  max-width: 100%;
  height: auto;
  margin: 5px 20px 15px;
}
/* look */
#main.non_right {
  width: 720px;
  margin: 0 30px;
}
#event_main.look {
  width: 720px;
  margin: 0 30px;
}
#event_main.look div {
  width: 720px;
}
#event_main.look .table001.course {
  width: 750px;
}
#look_slide {
  margin: 12px 5px 0;
  height: 130px;
  overflow: hidden;
  position: relative;
}
#event_main.look div .sekitanchan_left {
  display: inline-block;
  width: calc(70% - 20px);
  margin-left:20px;
  vertical-align: top;
}
#event_main.look div .sekitanchan_right {
  display: inline-block;
  width: 30%;
  vertical-align: top;
  text-align: center;
}
/* access */
#access_map {
  width: 80%;
  height: 400px;
  margin: 0 0 0 30px;
}
.access_photo {
  margin-left: 30px;
  margin-bottom: 20px;
}
div.access div img {
  max-width: calc(100% - 30px);
  height: auto;
}
.access_photo div {
  display: inline-block;
  width: 50%;
  margin-left: 0;
  margin-right: 0;
}
div.access_photo div img {
  height: 192px;
  width: auto;
}
.access_red_box {
  width: 500px;
  margin: 10px 0 10px 26px;
  padding: 4px;
  color: #ff0000;
  border: 1px solid #ff0000;
}
.access #address {
  padding:0 0 10px 30px;
}
.access .left_space {
  padding-left: 30px;
}

/* worksheet */
#main.worksheet {
  width: 750px;
}
table.brief {
  width: 750px;
}
/* question */
#main.question {
  width: 750px;
  margin:0 10px;
}
#main.question img {
  margin: 0 0 0 30px;
}
/* picnic */
.picnic_contents {
  width: 720px;
  padding: 10px;
}
#main.picnic #event_main {
  width: 720px;
  margin: 10px 0;
}
.lunch .table1 {
  margin-left: 10px;
}
/* sunday */
#event_main.sunday {
  width: calc(100% - 200px);
}
#event_main.sunday img {
  max-width: 100%;
}

@media screen and (max-width: 979px) {
  #top, #header, #menu, #contents, #footer {
    width: 100%;
  }
  
  .pc_only {
    display: none !important;
  }

  #menu ul {
    text-align: center;
  }

  #menu li {
    float: none;
    display: inline-block;
    text-align: center;
  }

  #wonderp {
    width: auto;
    display: inline-block;
    margin-top: 10px;
  }

  #subR {
    width: auto;
    float: none;
  }

  #main, #main.worksheet {
    width: calc(100% - 200px);
  }
  
  #main.worksheet img.subtitle_image {
    max-width: 100%;
  }

  #top_slide {
    margin: 0 auto 20px;
  }

   /* facilities */
  #main.facilities {
    max-width: calc(100% - 200px);
    margin: 0 10px;
  }
  #event_main.facilities {
    width: 100%;
  }
  img[usemap] {
    margin: 0;
  }

  /* look */
  #main.non_right, #event_main.look {
    width: calc(100% - 200px);
    margin: 0 10px;
  }
  #event_main.look div {
    width: 100%;
  }
  #event_main.look .table001.course {
    width: 100%;
  }

  /* access */
  .access_photo div {
    display: block;
    width: 100%;
  }
  
  /* worksheet */
  table.brief {
    width: auto;
  }
  table.brief .left {
    display: block;
    width: 100%;
    text-align: center;
  }
  table.brief .left img {
    max-width: calc(100% - 2px);
  }
  table.brief .right {
    display: block;
    width: 100%+
  }
  
  /* question */
  #event_main.question {
    width: calc(100% - 200px);
  }
  #event_main.question img {
    max-width:100%;
  }
  #main.question img {
    max-width: calc(100% - 30px);
  }
  #main.question {
    width: 100%;
    margin:0;
  }

  /* picnic */
  .picnic_contents {
    width: 100%;
    padding: 0;
  }
  #main.picnic #event_main {
    width: 100%;
  }
}


@media screen and (max-width: 880px) {
  #menu ul {
    height: auto;
    background-repeat: repeat;
  }

  #menu li {
    min-width: 32.8%;
    text-align: center;
  }

  #menu li a {
    padding: 0;
    margin: 0;
  }
}

/* sp */
@media screen and (max-width: 799px) {
  #menu {
    display: none;
  }
  #subL {
    float: none;
    width: 98%;
    margin: 0 1%;
  }

  #menu_sp {
    display: block;
  }

  #header {
    height: 60px;
    position: fixed;
    top: 0;
    z-index: 99;
  }

  #header h1 {
    height:60px;
  }

  #header h1 img {
    height: 60px;
    width: auto;
  }

  #main, #main.facilities, #main.non_right, #event_main, #event_main.look, #event_main.sunday, #main.worksheet {
    float: none;
    margin: 0 1%;
    width: 98%;
  }
  #main.facilities {
    max-width: initial;
  }

  #top_slide {
    width: 100%;
    height: 65vw;
  }

  #contents {
    padding-top: 60px;
  }

  #top {
    border-top: none;
  }

  #img1, #img2, #img3 {
    max-width: 100vw;
  }

  #img1 img, #img2 img, #img3 img {
    width: 100vw;
    height: 65vw;
  }

  #img1 {
    left: 0px;
  }

  #img2 {
    left: 100vw;
  }

  #img3 {
    left: 200vw;
  }

  #sp_box {
    width: 98%;
    margin: 0 1%;
  }

  .sp_only {
    display: block;
  }

  .sp_only_inline {
    display: inline;
  }

  .pc_only2 {
    display: none !important;
  }

  img.main_image {
    max-width: 100%;
    margin: 10px 0;
  }

  /* information */
  .information table {
    width: auto;
    teble-layout: fixed;
  }
  .information table td {
    word-break: break-all;
  }
  
  /* look */
  #look_slide {
    margin: 12px auto 0;
    max-width: 100%;
    width: 710px;
  }
  table.table001.app {
    width: calc(100% - 20px);
  }
  .table001.course td {
    display: block;
    text-align:center;
  }
  table.table001.app th, table.table001.app td {
    display: block;
    width: calc(100% - 12px);
  }
  .table001.course td.course_name {
    color: #fff;
    background: #1B3AB4;
    font-weight: bold;
    display: block;
  }
  .table001.course td.course_name:before {
    content: '見学コース：';
  }
  .table001.course td.course_desc:before {
    content: '見学内容：';
    color: #1B3AB4;
  }
  .table001.course td.course_time:before {
    content: '所要時間：';
    color: #1B3AB4;
  }

  /* access */
  #access_map {
    width: 100%;
    margin: 0;
  }
  .access div#etitle {
    padding-left: 0;
  }
  .access #address {
    padding-left: 1em;
  }
  .access .left_space {
    padding-left: 12px;
  }

  /* question */
  #event_main.question {
    width: 98%;
    margin: 0 1%;
  }
  #event_main.question img {
    width: 100%;
    max-width: initial;
  }
  #main.question {
    width: 100%;
    margin:0;
  }
  #main.question img {
    max-width: initial;
    width: 100%;
    margin: 0;
  }
  #main.question #etitle {
    padding-left: 0;
  }
  #main.question #etitle table td {
    display: block;
  }

  /* picnic */
  .lunch {
    display: block;
  }
  .lunch .table1 {
    margin-left: 0;
    width: 100%;
    table-layout: fixed;
  }
  .lunch:nth-child(1) {
    text-align: center;
  }

/* sunday */
  /*#event_main.sunday {
    width: calc(100% - 20px);
  }*/
  #event_main.sunday table {
    margin: 0 auto;
  }
  /*#event_main.sunday table td {
    display: block;
  }
  #event_main.sunday table td:nth-child(2) {
    text-align: center;
  }*/
  #event_main.sunday .ewrap {
    width: calc(100% - 20px);
    margin: 0 10px;
  }

/* sport */
  table#rental {
    width: 100%;
    border: none;
    table-layout: fixed;
  }
  table#rental th, table#rental td {
    display: block;
    padding: 2px 5px;
    width: calc(100% - 10px);
  }
  table#rental tr {
    border: none;
  }
  table#rental th, table#rental tr:nth-child(1) td {
    border-bottom: none;
  }

  /* event */
  #wonder_news {
    margin-top: -60px;
    padding-top: 60px;
  }
}

@media screen and (max-width: 599px) {
  #event_main.look div .sekitanchan_left {
    display: block;
    width: 100%;
    margin: 0;
  }
  #event_main.look div .sekitanchan_right {
    display: block;
    width: 100%;
  }
  
  /* access */
  .access_red_box {
    width: calc(100% - 10px);
    margin-left: 0;
  }
  div.access_photo div img {
    height: auto;
    max-height: 192px;
  }
  div.access_photo {
    margin-left: 0;
  }
  div.access div img {
    max-width: 100%;
  }
}