@charset "UTF-8";

.p-top-fv {
    position: relative;
    height: calc(100vh - 122px);
    z-index: -1;
}

.p-top-bg {
    position: fixed;
    top: 0;
    top: 122px;
    left: 0;
    width: 100%;
    height: calc(100vh - 122px);
}

.p-top-container {
    background: #fff;
    position: relative;
    z-index: 10;
}

.p-top-catch {
    position: absolute;
    width: 100%;
    z-index: 2;
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 30px;
}

.p-top-heading {
  font-size: 4.3rem;
  white-space: pre;
  line-height: 2;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.p-top-en {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 0.3em;
    padding: 20px 0 0;
}


@media screen and (max-width: 1200px){
  .p-top-fv {
      position: relative;
      height: calc(100vh - 80px);
      z-index: -1;
  }

  .p-top-bg {
      position: fixed;
      top: 0;
      top: 80px;
      left: 0;
      width: 100%;
      height: calc(100vh - 80px);
  }

  .p-top-heading {
      font-size: 3rem;
  }

}

@media screen and (max-width: 767px){

  .p-top-heading {
      font-size: 2.1rem;
  }

  .p-top-en {
      font-size: 1rem;
  }
}

@media screen and (max-width: 413px){

  .p-top-heading {
      font-size: 1.6rem;
  }

}

/* p-about */

.p-about {
    padding: 80px 0 100px;
}

.p-about-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 30px;
}

.p-about-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-about-txt01 {
  color: #207178;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  padding-bottom: 15px;
}

.p-about-txt02 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 2;
}

.p-about-bg {
  position: absolute;
  pointer-events: none;
  color: #F1F4F7;
  font-size: 4.3rem;
  line-height: 1.5;
  letter-spacing: 0.12em;
  font-weight: 500;
  z-index: -1;
  left: 160px;
  bottom: 30px;
}

.p-about-button {
    text-align: right;
    margin: 120px 0 0;
}

.p-about-pic {
  width: 300px;
}

.p-about-block {
  width: calc(100% - 300px);
}

@media screen and (max-width: 767px){

  .p-about {
      padding: 60px 0 70px;
  }

  .p-about-bg {
    font-size: 2.3rem;
    left: 0;
    bottom: -30px;
  }

  .p-about-inner {
    display: block;
  }


  .p-about-txt02 {
      font-size: 1.6rem;
      padding-bottom: 30px;
  }


  .p-about-block {
    width: 100%;
  }

  .p-about-pic {
    width: 194px;
    margin: 0 0 0 auto;
  }

}

/* p-service */

.p-service {
  background: #F6F8FA;
  padding: 130px 0;
}

.p-service .m-ttl {
  padding-bottom: 30px;
}

.p-lead {
    font-size: 1.5rem;
    line-height: 1.8;
    padding-bottom: 70px;
}



.p-service .box {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 30px;
  border: solid 1px #E0E0E0;
}

.p-service .box:last-child {
  padding: 30px 20px;
}

.p-service .box:last-child p {
  padding: 0 10px;
}

.p-service .box p {
  font-size: 1.4rem;
  line-height: 1.7;
  color: #555555;
}

.p-service .box a {
  color: #207178;
  font-size: 1.2rem;
}

.p-service .box .logo {
  max-width: 123px;
  margin: 10px auto 0;
}

.p-service .ttl {
  text-align: center;
  padding: 18px 0;
  font-size: 1.6rem;
  font-weight: 500;
}

.p-service .ttl small {
  font-size: 1.1rem;
}

.p-contact {
    padding: 60px 0 0;
    text-align: center;
}

.p-contact p {
    color: #207178;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.9;
    padding: 0 0 40px;
}

.p-contact-button {
	width: 494px;
  margin: 0 auto;
}

.p-contact-button a {
  display: block;
	background: #207178;
	color: #fff;
	min-height: 93px;
	border-radius: 60px;
	padding: 12px 0;
  text-decoration: none;
  transition: .3s;
}
.p-contact-button a span {
	display: inline-block;
	font-size: 3.6rem;
	padding-left: 27px;
	font-weight: 500;
	background: url("../../images/common/ico_phone.svg")no-repeat;
	background-position: left center;
	background-size: 24px;
	line-height: 1.2;
}

.p-contact-button a small {
	font-size: 1.4rem;
}

@media screen and (min-width: 768px){

  .p-service-content {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
  }

  .p-service .js-ttl {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .p-service .box:nth-child(n + 5) {
    margin-top: 40px;
  }

  .p-service .box {
      width: 24%;
      min-height: 308px;
  }

  .p-contact-button a:hover {
    opacity: .8;
  }
}

@media screen and (max-width: 767px){


  .p-service {
    padding: 70px 0;
  }

  .p-lead {
      font-size: 1.1rem;
      padding-bottom: 40px;
  }

  .p-service .m-ttl {
    padding-bottom: 20px;
  }

  .p-service .box {
    max-width: 334px;
    margin: 0 auto;
    padding: 30px 30px 50px;
  }

  .p-service .box + .box {
    margin-top: 50px;
  }

  .p-contact-button {
  	width: 100%;
    max-width: 334px;
  }

  .p-contact-button a {
  	min-height: 64px;
  	padding: 8px 0;
  }
  .p-contact-button a span {
  	font-size: 2.4rem;
  	padding-left: 20px;
  	background: url("../../images/common/ico_phone.svg")no-repeat;
  	background-position: left center;
  	background-size: 16px;
  }

  .p-contact-button a small {
  	font-size: 1rem;
  }

  .p-contact p {
    font-size: 1.7rem;
    padding: 0 0 20px;
  }
}
