@charset "UTF-8";


.howto {}
label.howto__title {
  display: none;
}
.howto__navmenu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.howto__navmenu li {
  background-color: #ffedee;
  width: 19.7%; 
  height: 50px;
  margin-top: 3px;
}
.howto__navmenu li a {
  background-color: #ffedee;
  color: #773A3D;
  font-weight: bold;
  text-align: center;
  display: block;
  line-height: 50px;
  font-size: 16px;
}

.howto__navmenu li:nth-child(even) a {
  background-color: #ffe3e3;
}
/*.howto__navmenu li:nth-child(even):nth-child(-n+7) a {
  background-color: #ffe3e3;
}
.howto__navmenu li:nth-child(n+7):nth-child(odd) a {
  background-color: #ffe3e3;
}*/

.howto__navmenu li a.current {
  color: #fff;
  background-color: #cd3138!important;
}


.howto__lead {
  margin: 60px 0 0;
  text-align: center;
  color: #434343;
}
.howto__lead__title {
  font-size: 48px;
}
.howto__lead p {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
}
.howto__topmenu {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 1000px;
  align-items: center;
}
.howto__topmenu li {
  height: 240px;
  text-align: center;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
  /*background: #000;
  border: solid 1px #ddd;*/
}
.howto__topmenu li a {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.9);
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
}
.howto__topmenu li a img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: auto;
  height: 150%;
  transition-property: all;
  transition: 0.1s linear;
  z-index: 1;
  opacity: 0.3;
}
.howto__topmenu li a span {
  width: 100%;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  z-index: 2;
}
.howto__topmenu li a:hover {
  opacity: 1;
  background-color: rgba(255,255,255,0.9);
}
.howto__topmenu li a:hover span {
  color: #000;
}
.howto__topmenu li a:hover img {
  height: 200%;
  opacity: 0.2;
}
.howto__topmenu li.duo {
  width: 49%;
}
.howto__topmenu li.quad {
  width: 24%;	
}

@media screen and (max-width: 1000px) {
  .howto__topmenu {
    width: auto;
    margin: 0 10px;
  }
  .howto__topmenu li {
    height: 200px;
  }

  .howto__navmenu {
    margin: 0;
  }
  .howto__navmenu li {
    height: 40px;
  }
  .howto__navmenu li a {
    font-size: 14px;
    line-height: 40px;
  }

@media screen and (max-width: 768px) {
  .howto__lead__title {
    font-size: 36px;
  }
  .howto__lead p {
    font-size: 3.125vw;
    margin: 0 2.5vw;
  }
  .howto__topmenu li {
    height: 22.5vw;
    margin-top: 10px;
  }
  .howto__topmenu li a span  {
    font-size: 24px;
  }

  label.howto__title {
    background-color: #11cccc;
    cursor: pointer;
    display: block;
    width: auto;
    margin: 30px 0 0;
    text-align: center;
    font-size: 14px;
    background: #FFE3E3;
    padding: 0.3em 0;
    color: #773A3D;
    font-weight: bold;
    position: relative;
  }
  label.howto__title:after {
    position: absolute;
    right: 0;
    content: "\f0dc";
    font-family: icons;
    margin-right: 0.5em;
  }
  #menu-toggle {
    display: none;
  }
  #menu {
    width: auto;
    overflow: hidden;
    max-height: 0;
    padding: 0;
    margin: 0 10px;
    -webkit-transition: all 0.3s ease;
  }
  #menu-toggle:checked + #menu {
    max-height: 150vw;
  }
  .knowhow h3 {
    font-size: 24px;
  }
  .howto__navmenu {
    justify-content: center;
    border: solid 2px #FFE3E3;
    border-top: none;
    margin: 0 10px;
  }
  .howto__navmenu li {
    width: 50%;
    margin: 0;
  }
  .howto__navmenu li a {
    background: #fff;
    border: solid 1px #FFE3E3;
  }

  .howto__navmenu li:nth-child(even) a {
    background-color: #fff;
  }
  /*.howto__navmenu li:nth-child(even):nth-child(-n+7) a {
    background-color: #fff;
  }
  .howto__navmenu li:nth-child(n+7):nth-child(odd) a {
    background-color: #fff;
  }*/
}

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

  label.howto__title {
    margin: 6.25vw 0 0;
    font-size: 4.375vw
  }

  .howto__lead {
    margin: 5vw 0 0;
    padding: 0 0 6.25vw;
    text-align: justify;
    line-height: 1.3;
  }

  .howto__lead__title {
    font-size: 6.875vw;
    margin: 0;
    padding: 0.5em 0;
    border-bottom: dotted 2px #ccc;
    
  }
  .howto__lead p {
    margin: 0;
    font-size: 3.75vw;
    padding: 0.5em 0;
    
  }
  .howto__topmenu {
    margin: 3.125vw 0;
  }
  .howto__topmenu li {
    height: 18.75vw;
    margin-top: 1.875vw;
  }

  .howto__topmenu li a img {
    width: 100%;
    height: auto;
  }
  .howto__topmenu li a span {
    font-size: 5vw;
  }

  .howto__topmenu li a span br {
   	display: none;
  }

  .howto__topmenu li.duo,
  .howto__topmenu li.quad {
    width: 49%;
  }
}

