.page-top .bg, .about {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

section {
  width: 90%;
}

.page-top {
  position: relative;
}

.page-top .bg {
  width: 100%;
  height: 252px;
  background: url(../img/top-sp.jpg) no-repeat center center/cover;
}

@media (min-width: 700px) {
  .page-top .bg {
    height: 599px;
    display: block;
    background-image: url(../img/top.jpg);
  }
}

.page-top .bg span {
  width: 100%;
  font-size: 2rem;
  display: block;
  text-align: center;
  line-height: 1.5;
}

@media (min-width: 700px) {
  .page-top .bg span {
    font-size: 3.125rem;
    display: inline-block;
    margin-top: 10.25rem;
    width: unset;
    margin-left: 10vw;
  }
  .page-top .bg span br {
    display: none;
  }
}

.page-top .scroll-down-btn {
  opacity: 0;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #D6CFC7;
  position: absolute;
  bottom: -27.5px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: none;
}

@media (min-width: 700px) {
  .page-top .scroll-down-btn {
    opacity: 1;
    cursor: default;
  }
}

.page-top .scroll-down-btn img {
  width: 21.75px;
  height: 14.5px;
  -webkit-animation: slide-bottom 0.8s linear infinite;
  animation: slide-bottom 0.8s linear infinite;
  -moz-animation: slide-bottom 0.8s linear infinite;
}

@-webkit-keyframes slide-bottom {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
  }
}

@keyframes slide-bottom {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
  }
}

.about {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
}

@media (min-width: 700px) {
  .about {
    min-height: 768px;
    margin-bottom: 0;
    text-align: inherit;
  }
}

/* .about::after {
  content: '';
  width: 40%;
  max-width: 250.78px;
  height: 137.22px;
  position: absolute;
  top: -4em;
  right: 55%;
  background: url(../img/whatseffmile.png) no-repeat center center/contain;
} */
@media (min-width: 1025px) {
  .mg01 {
    margin: -110px 70px 0px 40px;
    padding-top: 0px;
    width: 53%;
  }
  
}


@media (min-width: 700px) {
  .about::after {
    max-width: 419.83px;
    height: 356.74px;
  }
}

.about p {
  line-height: 2;
  margin: 0;
  font-weight: 400;
}

.about p:first-child span:first-child {
  display: block;
  font-size: 1.875rem;
}

.about p:first-child span:nth-child(3), .about p:first-child span:nth-child(4) {
  font-size: 1.5rem;
}

.about p:nth-child(2) span {
  font-size: 1.25rem;
  display: block;
}

.about p:last-child span:nth-child(3) {
  font-size: 1.25rem;
}

.about p:last-child span:nth-child(5) {
  font-size: 1.5rem;
}

.service {
  width: 82%;
}

@media (min-width: 700px) {
  .service {
    margin-top: 0;
  }
}

@media (min-width: 1025px) {
  .service {
    height: 100vh;
    min-height: 768px;
    background-color: #e6e6e569;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

@media (min-width: 1025px) {
  .service .service-inner {
    width: 80%;
    max-width: 1080px;
    padding-top: 5em;
  }
}

.service .service-inner h1 {
  margin-bottom: 2em;
}

@media (min-width: 1025px) {
  .service .service-inner h1 {
    margin-bottom: 3em;
  }
}

@media (min-width: 1025px) {
  .service .service-inner ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.service .service-inner ul li {
  margin-bottom: 2.3em;
}

@media (min-width: 1025px) {
  .service .service-inner ul li {
    width: 23%;
  }
}

.service .service-inner ul li .title h2 {
  font-size: 1rem;
  line-height: 1;
}

.service .service-inner ul li .title h3 {
  font-size: .875rem;
}

.service .service-inner ul li .img-wrapper {
  margin: 2em 0;
}

@media (min-width: 1025px) {
  .service .service-inner ul li .img-wrapper {
    height: 173px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 0;
  }
}

.service .service-inner ul li p {
  text-align: left;
  margin: 3em 0;
}

@media (min-width: 1025px) {
  .service .service-inner ul li p {
    height: 204px;
    margin-top: 0;
  }
}

.service .service-inner ul li:first-child img {
  max-width: 101.7px;
  height: 84.41px;
}

.service .service-inner ul li:nth-child(2) img {
  max-width: 59.51px;
  height: 84.41px;
}

.service .service-inner ul li:nth-child(3) img {
  max-width: 97px;
  height: 75px;
}

.service .service-inner ul li:nth-child(4) img {
  max-width: 78.19px;
  height: 86.73px;
}

.menu {
  max-width: 1080px;
}

.menu .menu-box a {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
}

.menu .menu-box a::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  background: transparent;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-animation-name: effect_animation;
          animation-name: effect_animation;
  -webkit-animation-duration: 1.5s;
          animation-duration: 1.5s;
}

.menu .menu-box a:hover:after {
  -webkit-transform: scale(100);
          transform: scale(100);
  -webkit-transition: -webkit-transform 2s cubic-bezier(0.54, 0.24, 0.6, 0.89);
  transition: -webkit-transform 2s cubic-bezier(0.54, 0.24, 0.6, 0.89);
  transition: transform 2s cubic-bezier(0.54, 0.24, 0.6, 0.89);
  transition: transform 2s cubic-bezier(0.54, 0.24, 0.6, 0.89), -webkit-transform 2s cubic-bezier(0.54, 0.24, 0.6, 0.89);
  -webkit-animation: none;
          animation: none;
}

.menu .menu-box {
  overflow: hidden;
}

.menu .menu-box .title {
  -webkit-transition: .5s ease-in;
  transition: .5s ease-in;
}

.menu .menu-box .title p {
  -webkit-transition: .3s ease-in;
  transition: .3s ease-in;
}

.menu .menu-box .title span {
  -webkit-transition: .4s ease-out;
  transition: .4s ease-out;
}

.menu .menu-box a img {
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

.menu .menu-box a:hover .title {
  background-color: transparent;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.menu .menu-box a:hover .title p, .menu .menu-box a:hover .title span {
  z-index: 1;
  display: block;
}

.menu .menu-box a:hover .title p {
  font-size: 2rem;
}

.menu .menu-box a:hover img {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}

.menu .menu-box .hp-hover:after {
  background-color: rgb(197 220 219 / 80%);
}

.menu .menu-box .wb-hover:after {
  background-color: rgb(197 220 219 / 80%);
}

.menu .menu-box .line-hover:after {
  background-color: rgb(197 220 219 / 80%);
}

.menu .menu-box .card-hover:after {
  background-color: rgb(197 220 219 / 80%);
}

.menu .menu-box .pc-hover:after {
  background-color: rgb(197 220 219 / 80%);
}

.menu .menu-box .ad-hover:after {
  background-color: rgb(197 220 219 / 80%);
}

@media (min-width: 1025px) {
  .menu {
    width: 80%;
  }
}

@media (min-width: 700px) {
  .menu ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-pack: space-evenly;
    -webkit-justify-content: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
  }
}

@media (min-width: 1025px) {
  .menu ul {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

@-webkit-keyframes effect_animation {
  0% {
    -webkit-transform: scale(100);
            transform: scale(100);
    opacity: 1;
  }
  40% {
    -webkit-transform: scale(100);
            transform: scale(100);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(100);
            transform: scale(100);
    opacity: 0;
  }
}

@keyframes effect_animation {
  0% {
    -webkit-transform: scale(100);
            transform: scale(100);
    opacity: 1;
  }
  40% {
    -webkit-transform: scale(100);
            transform: scale(100);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(100);
            transform: scale(100);
    opacity: 0;
  }
}

@media (min-width: 1025px) {
  .works {
    width: 100%;
    background-color: #E6E6E5;
    padding: 2em 0;
  }
  .works h1 {
    margin-bottom: .8em;
  }
}

.works ul {
  max-width: 1080px;
}

@media (min-width: 700px) {
  .works ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-pack: space-evenly;
    -webkit-justify-content: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
  }
}

@media (min-width: 1025px) {
  .works ul {
    width: 78%;
    margin: 0 auto;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

@media (min-width: 1025px) {
  .works ul li {
    max-width: 350px;
  }
}

.works ul li:nth-child(3), .works ul li:nth-child(4), .works ul li:nth-child(5), .works ul li:nth-child(6) {
  position: absolute;
  left: -1000vw;
  opacity: 0;
}

@media (min-width: 1025px) {
  .works ul li:nth-child(3), .works ul li:nth-child(4), .works ul li:nth-child(5), .works ul li:nth-child(6) {
    opacity: 1;
    left: 0;
    position: relative;
  }
}

.works .btn:hover {
  background-color: #E5CEC8;
}
.works-page {
  width: 90%;
  margin: 0 auto;
  max-width: 1080px;
}
@media (min-width: 700px) {
  .works-page {
    width: 80%;
  }
}
@media (min-width: 700px) {
  .work-card {
    height: 50%;
  }
  .work-card .title {
    font-size: 1.5vw;
  }
}

@media (min-width: 700px) and (min-width: 1025px) {
  .works-page .title {
    font-size: .9rem;
  }
}
.works-page h1, h2, p {
  text-align: center;
}

.works-page > p {
  font-size: .75rem;
  line-height: 1.5;
  margin-bottom: 2em;
}

.works-page > p span {
  display: block;
}

@media (min-width: 700px) {
  .works-page > p span {
    display: inline;
  }
}

.works-page > p span a {
  border-bottom: 1px solid #583822;
}

@media (min-width: 700px) {
  .works-page ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-pack: space-evenly;
    -webkit-justify-content: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
  }
  .works-page ul li {
    max-width: 350px;
  }
}

@media (min-width: 700px) and (min-width: 1025px) {
  .works-page {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
.Bcenter {
  margin-left: 43%;

}

.mgb40 {
  margin-bottom: 40px!important ; 
}
.works-page {
  padding-bottom: 60px;
}


