/*==========================
common
==========================*/
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  background: #ECECE7;
}

body {
  @import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Noto+Sans+JP:wght@400;700&display=swap");
  font-family: "Noto Sans JP", "Yu Gothic", "Noto Sans JP", "Yu Gothic Medium", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

.inner {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
}
@media (min-width: 768px) and (max-width: 1279px) {
  .inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 767px) {
  .inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.title {
  text-align: center;
  margin-top: 50px;
}

.subtitle {
  text-align: center;
}

/*==========================
header
==========================*/
header {
  height: 100px;
  width: 100%;
  z-index: 100;
  top: 0;
  left: 0;
  position: fixed;
  background: #bbe6ae;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16);
          box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16);
}
@media (max-width: 767px) {
  header {
    height: 60px;
  }
}

.header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: inherit;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

@media (max-width: 767px) {
  .header__logo {
    font-size: 20px;
    width: 100%;
  }
}
.header__nav-items {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: auto;
}

.header__nav-item {
  font-weight: 700;
}
.header__nav-item:not(:first-child) {
  margin-left: 40px;
}
.header__nav-item a {
  display: inline-block;
  text-decoration: none;
}
@media (max-width: 767px) {
  .header__nav-item {
    display: none;
  }
}

@media (min-width: 768px) {
  .drawer-hamburger {
    display: none;
  }
  .drawer--right .drawer-nav {
    right: 0;
    display: none;
  }
  .drawer-nav {
    position: relative;
  }
  .drawer-nav .drawer-menu li {
    display: inline-block;
  }
}
/*==========================
main-visual
==========================*/
.main-visual {
  margin-top: 100px;
  background: url(../img/top1.jpg) no-repeat center center/cover;
  height: 400px;
  width: 100%;
  text-align: center;
  position: relative;
}
@media (max-width: 767px) {
  .main-visual {
    margin-top: 60px;
  }
}

.main-visual__title {
  display: block;
  position: absolute;
  width: 100%;
  top: 30%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.main-visual__subtitle {
  font-weight: 700;
  display: block;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -40%);
          transform: translate(-50%, -40%);
}
@media (max-width: 767px) {
  .main-visual__subtitle {
    font-size: 20px;
    width: 100%;
  }
}

/*==========================
About
==========================*/
.about__box {
  display: block;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
  height: 300px;
  width: 500px;
  border: 1px solid #707070;
}
@media (max-width: 767px) {
  .about__box {
    width: 90%;
    height: 100%;
  }
}

.about__box-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media (max-width: 767px) {
  .about__box-flex {
    display: block;
    padding: 5px;
  }
}

.about__left {
  width: 40%;
  position: relative;
}
@media (max-width: 767px) {
  .about__left {
    width: 100%;
  }
}

.about__right {
  width: 60%;
}
@media (max-width: 767px) {
  .about__right {
    width: 100%;
  }
}

.about__logo {
  text-align: center;
}
.about__logo img {
  position: absolute;
  width: 150px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 20px;
}
@media (max-width: 767px) {
  .about__logo img {
    position: inherit;
    -webkit-transform: none;
            transform: none;
    width: auto;
    height: 200px;
  }
}

.about__box-title {
  font-weight: 700;
  margin-top: 10px;
}

.about__name {
  margin-top: 10px;
}

.about__introduce {
  margin-top: 10px;
}

.about__introduce-sub span {
  font-size: 15px;
  color: #707070;
}

/*==========================
Service
==========================*/
.service {
  text-align: center;
  margin-top: 50px;
}

.service__boxes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 10px;
}
@media (max-width: 767px) {
  .service__boxes {
    display: block;
  }
}

.service__box {
  border: 1px solid #707070;
  width: 400px;
  height: 400px;
  margin-top: 30px;
  padding: 10px;
}
.service__box:not(:first-child) {
  margin-left: 40px;
}
@media (max-width: 767px) {
  .service__box:not(:first-child) {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 767px) {
  .service__box {
    width: 90%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}
.service__box img {
  height: 200px;
  width: 90%;
}
@media (max-width: 767px) {
  .service__box img {
    width: 70%;
  }
}

/*==========================
Work
==========================*/
.work__boxes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 10px;
}
@media (max-width: 767px) {
  .work__boxes {
    display: block;
  }
}

.work__box {
  border: 1px solid #707070;
  width: 500px;
  height: 350px;
  margin-top: 30px;
  padding: 10px;
}
.work__box:not(:first-child) {
  margin-left: 40px;
}
@media (max-width: 767px) {
  .work__box:not(:first-child) {
    margin-left: auto;
  }
}
.work__box img {
  width: 100%;
}
@media (max-width: 767px) {
  .work__box {
    width: 90%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.work__text {
  margin-top: 40px;
  text-align: center;
}

/*==========================
Contact
==========================*/
@media (max-width: 767px) {
  .contact {
    padding: 10px;
  }
}

.contact__text {
  text-align: center;
  margin-top: 30px;
}

.contact__sns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.contact__twitter {
  margin-left: 40px;
}

.totop {
  position: fixed;
  right: 24px;
  bottom: 44px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
@media (max-width: 767px) {
  .totop {
    right: 12px;
    bottom: 12px;
  }
}
.totop.is-show {
  opacity: 1;
  visibility: visible;
}
.totop a img {
  width: 60px;
}
.totop a img:hover {
  opacity: 0.6;
}
@media (max-width: 767px) {
  .totop a img {
    width: 40px;
  }
}

/*==========================
Footer
==========================*/
.footer {
  height: 50px;
  background: rgb(55, 0, 164);
  color: #fff;
  text-align: center;
}

@media (max-width: 767px) {
  .footer__text {
    font-size: 13px;
  }
}