@charset "UTF-8";

body {
  font-family: "Montserrat","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 16px;
  letter-spacing: .05em;
  color: #333;
}

a {
  transition: opacity .3s;
  text-decoration: none;
  color: #28988C;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}

/*--------------------------------
 Common
---------------------------------*/
.wrapper {
  padding-top: 70px;
}

.section {
  padding: 90px  0  60px;
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

.title {
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  padding-top: 40px;
  text-align: center;
  letter-spacing: .05em;
  color: #333;
}

/*--------------------------------
 Header
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #fff;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.header-logo {
  font-size: 1em;
  font-weight: bold;
  line-height: 1.2;
  margin-right: 20px;
  letter-spacing: .05em;
}

.header-logo a {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
}

.header-logo a:hover {
  opacity: 0.9;
}

/*--------------------------------
 Navigation
---------------------------------*/
.nav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.nav-item:not(:last-child) {
  margin-right: 24px;
}

.nav-item a {
  position: relative;
  font-size: 1em;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
}

.nav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #28988C;
}

.nav-item a:hover:after {
  width: 100%;
}

/*--------------------------------
 Profile
---------------------------------*/

.prof {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  background-color: #28988C;
}

.prof-container {
  padding: 0 40px;
}

.profile-body {
  text-align: center;
}

.profile-inner {
  display: inline-block;
  text-align: left;
  margin-top: 1rem;
  padding-top: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.8;
  color: #FFF;
}

.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 0 auto;
}

.profile-img {
  width: 40%;
  margin-right: 16px;
  margin-top: -16px;
}

.scroll{
  width: 100%;
  bottom: 0;
  color: #fff;
  }

  .scroll a {
    position: relative;
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    padding: 10px 0 50px;
    
  }
/* 矢印 */
  .scroll a:before{
      content: "";
      position: absolute;
      width: 10px;
      height: 10px;
      left: 0;
      right: 0;
      bottom: 25px;
      margin: 0 auto;
      border-bottom: 2px solid #d4d3d3;
      border-right: 2px solid #d4d3d3;
      transform: rotate(45deg);
      animation: move 2s infinite;
    }

/* 矢印アニメーション */
@keyframes move {
  0% {
    transform: rotate(45deg) translate(0, 0);
  }
  20% {
    transform: rotate(45deg) translate(10px, 10px);
  }
  40% {
    transform: rotate(45deg) translate(0, 0);
  }
}

/*--------------------------------
 Service
---------------------------------*/
.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -50px;
  margin-top: 20px;
  padding: 0 20px;
}

.service-item {
  text-align: center;
  margin-bottom: 60px;
  width: calc(30%);
}

.service-item img {
  width: 180px;
  height: 180px;
  border-radius: 25%;
  margin-bottom: 30px;
}

.service-name {
  margin-top: 15px;
  margin-bottom: 15px;
}

.service-details {
  font-size: 0.8rem;
  text-align: left;
  padding: 8px 12px;
  margin-bottom: 20px;
}

.service-wrapper {
  padding-top: 40px;
  text-align: center;
}

.service-wrapper img {
  width: 90%;
}

/*--------------------------------
 Works
---------------------------------*/
#works {
   background: #F5F5F5;
}

.works-list {
  display: flex;
  justify-content: space-between;
  margin-bottom: -50px;
}

.works-list-center {
  display: flex;
  justify-content: center;
  margin-bottom: -50px;
}

.works-item {
  text-align: center;
  margin-bottom: 80px;
  width: calc(30%);
}
.works-item img {
  width: 300px;
  height: auto;
  margin-bottom: 30px;
}

.works-name {
  margin-top: 15px;
  margin-bottom: 15px;
}

.works-details {
  font-size: 0.8rem;
  text-align: center;
  margin: 8px 0px;
  padding: 8px 12px;
  margin-bottom: 20px;
}

.works-wrapper {
  text-align: center;
}

.btn {
  text-align: center;
  padding: 0.5em 1em;
  margin-bottom: 1em;
  text-decoration: none;
  cursor: pointer;
  color: #28988C;
  font-size: 1.1em;
  font-weight: 600;
  transition: .4s;
}

/*--------------------------------
 FAQ
---------------------------------*/
.Qa-Box {
  width: 80%;
  margin: 0 auto;
}

.Qa-Box .Qa dt,
.Qa-Box .Qa dd {
  display: flex;
  align-items: baseline;
  margin: 15px 0;
  padding: 15px;
}

.Qa-Box .Qa dt {
  background: #F5F5F5;
}

.Qa-Box .Qa dt p {
  margin: 0;
  padding-left: 15px;
  font-weight: bold;
  width: 100%;
}

.Qa-Box .Qa dd p {
  margin: 0;
  padding-left: 15px;
  width: 100%;
}

.Qa-Box .Qa dd a {
  font-weight: 800;
}

.Qa-Box .Qa dt::before {
  content: "Q";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #28988C;
  width: 2em;
  height: 2em;
  border-radius: 50%;
}

.Qa-Box .Qa dd::before {
  content: "A";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #f1608c;
  width: 2em;
  height: 2em;
  border-radius: 50%;
}


@media screen and (max-width: 960px) {
  .Qa-Box {
    width: 95%;
  }
}


/*--------------------------------
 Footer
---------------------------------*/
footer {
  background-color: #333;
}

footer .container {
  max-width: 1200px;
  padding: 30px;
  margin: 0 auto;
}

.footer-list {
  display: flex;
  justify-content: space-between; 
  font-size: 0.9rem;
  color: #fff; 
}

.footer-list ul, li {
  float: left;
  list-style: none;
}

.footer-list li {
  margin-right: 20px;
}

.footer-list a {
  color: #FFF;
}

.footer-list a:hover {
  opacity: 0.7;
}

.footer-list p {
  padding-top: 120px;
  text-align: end;
}

.footer-logo {
  width: 200px ;
}

/*-------------------------------------------
Go top
-------------------------------------------*/
.gotop{
  display: block;
  width: 60px;
  height: 60px;
  box-sizing: border-box;
  background: #F2F415;
  border: 2px solid #F2F415;
  border-radius: 50%;
  padding-top: 30px;
  text-align: center;
  font-size: 0.8rem;
  text-decoration: none;
  color: #333;
  opacity: 0.7;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 10000;
}
.gotop::before{
  content: "";
  display: block;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  width: 25%;
  height: 25%;
  top: 25%;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
  transform: rotate(-45deg);
}
.gotop:hover{
  opacity: 1.0;
}

/*--------------------------------
 sp
---------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .wrapper {
    padding-top: 57px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  .header .container {
    padding:20px 15px 15px;
  }

  .header-logo {
    font-size: 15px;
    margin: 0 auto;
  }

  .nav {
    display: none;
  }


  .prof {
    height: 75vh;
  }

  .prof-container {
    padding: 0 20px;
  }

  .profile {
    display: block;
  }

  .profile-img {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    margin-bottom: 15px;
  }

  .profile-inner {
    font-size: 1rem;
  }

  .profile-body p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .profile-body p:not(:last-child) {
    margin-bottom: 20px;
  }

  .service-list {
    display: block;
    margin-bottom: 0;
  }

  .service-item {
    width:100%; 
   }

  .works-list, .works-list-center {
    flex-direction: column;
    display: block;
    margin-bottom: 0;
  }

  .works-name {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  
  .works-item {
      width:100%; 
      margin-bottom: 35px;
     }

  .works-item img {
      width:80%;
      height: auto;
    }
  .works-item :last-child {
      margin-bottom: 0;
    }

  .works-wrapper {
    display: block;
    text-align: center; 
    margin-bottom: 35px;
  }

  .btn {
    font-size: 0.98em;
  }

  .service-wrapper {
    padding-top: 30px;
  }

  .footer-list {
    display: block;
    text-align: center;
  }

  .footer-list ul, li {
    list-style: none;
  }
  
  .footer-list a {
    color: #FFF;
  }
  
  .footer-list a:hover {
    opacity: 0.7;
  }

  .footer-list p {
    padding-top: 0;
    margin: 10px;
  }

  .footer-logo {
    text-align: center;
  }

}



