
/*===============================================
●共通
===============================================*/

.sub-menu-hydro > div > ul > li:nth-of-type(3) > a {
  color: #e89f42;
}

/*===============================================
●画面の横幅が813px以上(タブレット・PC)
===============================================*/
@media screen and (min-width: 813px) {

  .main-img {
    width: 100%;
    margin: 0 auto;
  }

  .main-img img {
    width: 100%;
  }

  .qa-wrap {
    width: 98%;
    max-width: 1400px;
    margin: 0 auto 250px auto;
  }

  .cate {
    width: 20%;
    margin: 0;
    border-top: 1px solid #cccccc;
  }

  .cate > ul li {
    margin: 0;
    text-align: left;
    border-bottom: 1px solid #cccccc;
  }

  .cate > ul li a {
    position: relative;
    display: block;
    margin: 0;
    padding: 30px 0 30px 70px;
    font-size: 16px;
    color: #779652;
    line-height: 100%;
  }

  .cate > ul li a:hover {
    color: #e89f42;
  }

  .cate > ul li a.cate01:before {
    position: absolute;
    top: 18px;
    left: 9px;
    content: '';
    width: 35px;
    height: 39px;
    background: url(/images/qa/cate01.png) top center no-repeat;
    background-size: 35px 39px;
  }

  .cate > ul li a.cate01:hover:before {
    background: url(/images/qa/title01.png) top center no-repeat;
    background-size: 35px 39px;
  }

  .cate > ul li a.cate02:before {
    position: absolute;
    top: 32px;
    left: 14px;
    content: '';
    width: 32px;
    height: 18px;
    background: url(/images/qa/cate02.png) top center no-repeat;
    background-size: 32px 18px;
  }

  .cate > ul li a.cate02:hover:before {
    background: url(/images/qa/title02.png) top center no-repeat;
    background-size: 32px 18px;
  }

  .cate > ul li a.cate03:before {
    position: absolute;
    top: 19px;
    left: 10px;
    content: '';
    width: 34px;
    height: 43px;
    background: url(/images/qa/cate03.png) top center no-repeat;
    background-size: 34px 43px;
  }

  .cate > ul li a.cate03:hover:before {
    background: url(/images/qa/title03.png) top center no-repeat;
    background-size: 34px 43px;
  }

  .cate > ul li a.cate04:before {
    position: absolute;
    top: 26px;
    left: 21px;
    content: '';
    width: 19px;
    height: 25px;
    background: url(/images/qa/cate04.png) top center no-repeat;
    background-size: 19px 25px;
  }

  .cate > ul li a.cate04:hover:before {
    background: url(/images/qa/title04.png) top center no-repeat;
    background-size: 19px 25px;
  }

  .detail {
    width: 75%;
    margin: 0 0 0 5%;
    text-align: left;
  }

  .detail > p.title {
    position: relative;
    margin: 0;
    padding: 12px 0 0 65px;
    font-size: 25px;
    color: #e89f42;
    line-height: 100%;
  }

  .detail > p#title01:before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 35px;
    height: 39px;
    background: url(/images/qa/title01.png) top left no-repeat;
    background-size: 35px 39px;
  }

  .detail > p#title02 {
    margin: 150px 0 0 0;
    padding: 0 0 0 65px;
  }

  .detail > p#title02:before {
    position: absolute;
    top: 3px;
    left: 0;
    content: '';
    width: 38px;
    height: 22px;
    background: url(/images/qa/title02.png) top left no-repeat;
    background-size: 38px 22px;
  }

  .detail > p#title03 {
    margin: 150px 0 0 0;
    padding: 10px 0 0 65px;
  }

  .detail > p#title03:before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 34px;
    height: 43px;
    background: url(/images/qa/title03.png) top left no-repeat;
    background-size: 34px 43px;
  }

  .detail > p#title04 {
    margin: 150px 0 0 0;
    padding: 2px 0 0 65px;
  }

  .detail > p#title04:before {
    position: absolute;
    top: 0;
    left: 15px;
    content: '';
    width: 22px;
    height: 29px;
    background: url(/images/qa/title04.png) top left no-repeat;
    background-size: 22px 29px;
  }

  .detail > div.qa-box {
    margin: 50px 0 0 0;
    padding: 20px 50px;
    background-color: #fbfaf5;
    border-radius: 30px;
  }

  .detail > div.qa-box > p {
    position: relative;
    margin: 0 auto;
    padding: 20px 40px 20px 45px;
    font-size: 16px;
    color: #779652;
    line-height: 30px;
    cursor: pointer;
  }

  .detail > div.qa-box > p:after {
    content: '';
    position: absolute;
    top: 30%;
    right: 0;
    width: 13px;
    height: 13px;
    border-top: 4px solid #779652;
    border-right: 4px solid #779652;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
  }

  .detail > div.qa-box > p.on:after {
    top: 33%;
    border-top: 4px solid #cccccc;
    border-right: 4px solid #cccccc;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .detail > div.qa-box > p > span.q {
    font-family: 'Lato', sans-serif;
    position: absolute;
    top: 20px;
    left: 0;
    font-size: 25px;
    line-height: 100%;
  }

  .detail > div.qa-box > div {
    display: none;
    position: relative;
    margin: 10px 0 20px 0;
    padding: 30px 50px 30px 80px;
    font-size: 16px;
    line-height: 30px;
    background-color: #ffffff;
    border-radius: 30px;
  }

  .detail > div.qa-box > div > span.a {
    font-family: 'Lato', sans-serif;
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 25px;
    color: #e89f42;
    line-height: 100%;
  }


}

/*===============================================
●画面の横幅が812px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 812px) {

  /* メイン画像 */
  .main-img {
    width: 100%;
    margin: 0 auto;
  }

  .main-img img {
    width: 100%;
  }

  .qa-wrap {
    width: 90%;
    margin: 60px auto 100px auto;
  }

  .cate {
    width: 100%;
    margin: 0;
    border-top: 1px solid #cccccc;
  }

  .cate > ul li {
    margin: 0 auto;
    text-align: left;
    border-bottom: 1px solid #cccccc;
  }

  .cate > ul li a {
    position: relative;
    display: block;
    margin: 0;
    padding: 30px 0 30px 70px;
    font-size: 16px;
    color: #779652;
    line-height: 100%;
  }

  .cate > ul li a.cate01:before {
    position: absolute;
    top: 18px;
    left: 9px;
    content: '';
    width: 35px;
    height: 39px;
    background: url(/images/qa/cate01.png) top center no-repeat;
    background-size: 35px 39px;
  }

  .cate > ul li a.cate02:before {
    position: absolute;
    top: 32px;
    left: 14px;
    content: '';
    width: 32px;
    height: 18px;
    background: url(/images/qa/cate02.png) top center no-repeat;
    background-size: 32px 18px;
  }

  .cate > ul li a.cate03:before {
    position: absolute;
    top: 19px;
    left: 10px;
    content: '';
    width: 34px;
    height: 43px;
    background: url(/images/qa/cate03.png) top center no-repeat;
    background-size: 34px 43px;
  }

  .cate > ul li a.cate04:before {
    position: absolute;
    top: 26px;
    left: 21px;
    content: '';
    width: 19px;
    height: 25px;
    background: url(/images/qa/cate04.png) top center no-repeat;
    background-size: 19px 25px;
  }

  .detail {
    width: 100%;
    margin: 110px auto 0 auto;
    text-align: left;
  }

  .detail > p.title {
    position: relative;
    margin: 0 auto 40px auto;
    padding: 12px 0 0 65px;
    font-size: 25px;
    color: #e89f42;
    line-height: 100%;
  }

  .detail > p#title01:before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 35px;
    height: 39px;
    background: url(/images/qa/title01.png) top left no-repeat;
    background-size: 35px 39px;
  }

  .detail > p#title02 {
    margin: 100px 0 0 0;
    padding: 0 0 0 65px;
  }

  .detail > p#title02:before {
    position: absolute;
    top: 3px;
    left: 0;
    content: '';
    width: 38px;
    height: 22px;
    background: url(/images/qa/title02.png) top left no-repeat;
    background-size: 38px 22px;
  }

  .detail > p#title03 {
    margin: 100px 0 0 0;
    padding: 10px 0 0 65px;
  }

  .detail > p#title03:before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 34px;
    height: 43px;
    background: url(/images/qa/title03.png) top left no-repeat;
    background-size: 34px 43px;
  }

  .detail > p#title04 {
    margin: 100px 0 0 0;
    padding: 6px 0 0 65px;
  }

  .detail > p#title04:before {
    position: absolute;
    top: 0;
    left: 15px;
    content: '';
    width: 22px;
    height: 39px;
    background: url(/images/qa/title04.png) top left no-repeat;
    background-size: 22px 39px;
  }

  .detail > div.qa-box {
    margin: 20px 0 0 0;
    padding: 40px 20px 20px 20px;
    background-color: #fbfaf5;
    border-radius: 30px;
  }

  .detail > div.qa-box > p {
    position: relative;
    margin: 0 auto;
    padding: 0 50px 20px 45px;
    font-size: 14px;
    color: #779652;
    line-height: 30px;
    cursor: pointer;
  }

  .detail > div.qa-box > p:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 13px;
    height: 13px;
    border-top: 4px solid #779652;
    border-right: 4px solid #779652;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
  }

  .detail > div.qa-box > p.on:after {
    border-top: 4px solid #cccccc;
    border-right: 4px solid #cccccc;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .detail > div.qa-box > p > span.q {
    font-family: 'Lato', sans-serif;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 25px;
    line-height: 100%;
  }

  .detail > div.qa-box > div {
    display: none;
    position: relative;
    margin: 20px auto 0 auto;
    padding: 30px 30px 30px 75px;
    font-size: 14px;
    line-height: 30px;
    background-color: #ffffff;
    border-radius: 30px;
  }

  .detail > div.qa-box > div > span.a {
    font-family: 'Lato', sans-serif;
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 25px;
    color: #e89f42;
    line-height: 100%;
  }

}
