/* CSS Document */
#header {
  overflow: scroll;
}
#header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1200px;
  margin: 0 auto;
}
#header ul {
  display: flex;
  width: auto;
}
#header ul li.opinion-link a {
  padding: 17px 10px;
  background-color: #e44;
  text-decoration: none;
  color: #ffffff;
}
#header ul li.opinion-link a:hover {
  background-color: #ff6464;
}

.counseling-btn-wrap {
  display: flex;
  align-items: center;
}
.counseling-btn-wrap p {
  width: 100%;
  margin: 0;
}
.counseling-btn-wrap p:last-child {
  margin-left: 1rem;
}
.counseling-btn-wrap p:last-child a {
  background-color: #e44;
}
.counseling-btn-wrap p:last-child a:hover {
  background-color: #ff6464;
}
.counseling-btn-wrap p a {
  color: #ffffff;
  background: #9e812e;
  font-size: 2rem;
  font-weight: 600;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.counseling-btn-wrap p a:hover {
  background-color: #eacd77;
}

@media screen and (max-width: 1260px) {
  #header .inner {
    margin: 0 30px;
  }
}
@media screen and (max-width: 768px) {
  #header h1 {
    width: 40%;
  }

  #header ul li a {
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    font-size: 18px;
    display: block;
  }

  #header ul li a span {
    font-size: 10px;
    font-weight: bold;
  }

  #header ul .tel-icon a {
    background: #c7211c;
    padding: 5px 20px;
  }

  #header ul .price-icon a {
    background: #202d52;
  }

  #header ul .counseling-icon a {
    background: #9e812e;
  }

  #header {
    overflow: inherit;
  }
  #header .inner {
    width: 100%;
    margin: auto;
    padding-left: 2%;
  }
  #header ul.pc {
    display: none !important;
  }
  #header ul.sp {
    display: block !important;
    position: relative;
  }
  #header .child {
    opacity: 0;
    width: 260px;
    position: absolute;
    top: -120px;
    right: 0;
    pointer-events: none;
    z-index: -1;
    transition: .3s;
    display: flex;
  }
  #header .child.active {
    opacity: 1;
    top: 100%;
    pointer-events: auto;
    z-index: 1;
  }
  #header .child p {
    width: 100%;
  }
  #header .child p a {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background: #dea600;
  }
  #header .child p a i {
    display: block;
    width: 100%;
    margin-bottom: 3px;
  }
  #header .child p.second a {
    background-color: #c7211c;
  }

  .counseling-btn-wrap p a {
    font-size: 4vw;
    height: 16vw;
  }
}
