*, *:after, *:before {
    box-sizing: border-box;
}
.accordion * {
  transition: all .3s ease 0s; }

.accordion {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 100%;
  list-style: none;
  
  position: absolute;
  top: 0;
  left: 0;
  z-index: 97;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  overflow: hidden;
  transition: 0.1s ease background; }

.section {
  flex: initial;
  width: 25%;
  height: 100%;
  text-align: center;
  color: #fff;
  text-decoration: none;
  vertical-align: bottom;
  box-sizing: border-box;
  padding: 2vh 1vw;
  position: relative;
  cursor: pointer;
  border-right: 1px solid #fff;
  transition: 1.2s ease all; }

.accordion .section:last-of-type {
  border-right: none; }

.section .heading {
  transition: 0.5s ease all; }

.section:hover .heading {
  margin-top: -30px; }

div.enabled article {
  flex: initial;
  width: 4%; }

.section.open {
  width: 88%;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.4+0,0+100 */
  /* FF3.6-15 */
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#66000000', endColorstr='#00000000',GradientType=1 );
  /* IE6-9 */
  cursor: default; 
  transition: 0.5s ease;
}

.inside-content {
  opacity: 0;
  transition: opacity .3s ease 0;font-family: '微軟正黑體'; }
.inside-content h3{color: #fff;font-weight: 800;}




.section.open > .inside-content {
  opacity: 1;
  transition: opacity .3s ease .3s; }

/* navigation */
.heading {
  top: 20vh;
  height: 80vh;
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  width: 70%;
  max-width: 100%;
  margin: 0;
  font-size: 28px;
  text-transform: uppercase;
  font-weight: 200;
  text-align: left;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.3; }

.accordion:not(.enabled) .section:not(.open) .heading >span:not(.below){height: 50%;width: 100%;}
.heading .above {
  font-size: 13px;
  font-weight: 400;
  display: block;
  margin-bottom: 5px; }

.heading .below {
  display: block;
  width: 36px;
  height: 36px;
  border: 1px solid #fff;
  margin-top: 15px;
  text-align: center;
  line-height: 33px;
  border-radius: 100%;
  font-size: 30px; }

.accordion.enabled .section:not(.open) {
  background: rgba(0, 0, 0, 0.1); }

.accordion.enabled .section:not(.open) h2.heading {
  top: 20vh;
  left: 13%;
  text-align: left;
  font-size: 22px;
  width: 400px;
  height: 400px;
  pointer-events: none;
  transform-origin: 0px 0px 0px;
  transform: matrix(0, 1, -1, 0, 27, 0);
  white-space: nowrap;
  line-height: 1; }

.accordion.enabled .section:not(.open) h2.heading .above,
.accordion.enabled .section:not(.open) h2.heading .below {
  display: none; }

.accordion.enabled .section.open h2.heading .below {
  display: none; }

.accordion.enabled .section.open h2.heading {
  padding-left: 25px;
  max-width: 70vw; }

.accordion.enabled .section:not(.open):hover {
  background: rgba(222, 90, 26, 0.6); }

.accordion.enabled .section:hover .heading {
  margin-top: -5px; }

.accordion.enabled .section.open:hover {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.4+0,0+100 */
  /* FF3.6-15 */
  /* Chrome10-25,Safari5.1-6 */
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  /* IE6-9 */ }

.accordion:not(.enabled) .section:hover {
  background: rgba(222, 90, 26, 0.6); }
  .accordion:not(.enabled) .section:hover .heading .below {
    /* IE 9 */
    /* Chrome, Safari, Opera */
    transform: rotate(90deg); }

.accordion .menu_button{border:1px solid #fff;padding: 10px 20px;color: #fff;margin-top: 30px;display: block;transition: 0.5s ease;width: fit-content;font-weight: 100;}

.accordion .menu_button:hover{background-color: #e16b17a6}


@media screen and (min-width: 768px) {
  .accordion.enabled .section.open h2.heading {
    font-size: 45px;
    top: 180px; 
  } 
  .accordion.enabled .section:not(.open) h2.heading{
    top: 0;
  }

}
@media screen and (max-width: 480px) {
  .accordion.enabled .section:not(.open) h2.heading{
    top: 2vh;
    left: 5%
  }

}

/* Article layouts */
.inside-content {
  text-align: left;
  width: 475px;
  padding-left: 25px;
  max-width: 80%;
  position: absolute;
  top: 250px;
  line-height: 1.4; }

.inside-content p,
.inside-content h2,
.inside-content h3 {
  margin: 0 0 1em 0; }

.close {
  display: none;
  z-index: 300;
  width: 40px;
  height: 40px;
  border-radius: 24px;
  border: 2px solid #FFF;
  cursor: pointer;
  transform: matrix(0.7071, 0.7071, -0.7071, 0.7071, 0, 0);
  position: absolute;
  left: 50%;
  cursor: pointer; 
  z-index: 999;
  top: 10%;
}

.close .cross {
  position: absolute;
  left: 18px;
  top: 18px; }

.close .a {
  position: absolute;
  width: 14px;
  height: 2px;
  background-color: #FFF;
  left: -7px;
  top: -1px; }

.close .b {
  position: absolute;
  width: 2px;
  height: 14px;
  background-color: #FFF;
  left: -1px;
  top: -7px; }

.section.open .close {
  display: block; 
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5));
}

@media (max-width: 1350px) {
  .close{top: 13vh;}
  .section {
    padding: 2vh 3vw; }
  .heading {
    transform: rotate(90deg);
    min-width: 100vh;
    text-align: left;
    transform-origin: 0 0 0;
    opacity: 1;
    top: 15vh;
    font-size: 22px;
    width: auto;
    left: 61%; 
    pointer-events: none;
    }
  .heading .above,
  .heading .below {
    display: none; }
  .accordion.enabled .section.open h2.heading {
    transform: none;
    width: 95%;
    min-width: 200px;
    max-width: 95%;
    left: 0;
    top: 22vh;
    height: 70vh; }
  .inside-content {
    max-height: calc(72%);
    overflow-y: auto;
    left: 0;
    top: 30%; } }

@media (max-width: 640px) {
  .close{left: 7%;}
  .accordion.enabled .section{
    width: 100%!important;
  }
  .accordion.enabled .section:not(.open) {
    height: 6%;
    padding: 3px; 
  } 
  .accordion.enabled .section.open{
    height: 70%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  }
  .section{
    width: 100%;
    height: 16.6666%;
    border-bottom: 1px solid #fff;
  }

  .heading{transform: none!important;left: 5%;top: 15px;}

  .accordion{display: block;}

  .accordion.enabled .section:not(.open):hover{background:none!important;}

  .inside-content {max-height: 100%;top: 25%}
  .accordion.enabled .section.open h2.heading{top: 18%}
  .close{top: 5%}

}