@charset "utf-8";

/* ------------------------------
 Common
------------------------------ */
.c-head {
  width: 100%;
  height: 300px;
  position: relative;
}

.c-head_wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.c-head_ttl {
  height: 300px;
  padding-top: 115px;
  position: relative;
  z-index: 10;
}

.c-head_ttl_eng {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 6.5rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #46aec5;
  transform-origin: bottom left;
  transform: scaleX(1.1);
}

.c-head_ttl_jpn {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 16px;
}

.c-head_img {
  width: calc( 50% + 400px );
  height: 300px;
  position: absolute;
  top: 0;
  left: calc( 50% - 400px );
  z-index: 1;
  background-size: cover;
  background-position: center center;
}

.p-company .c-head_img {
  background-image: url("../img/company/ttl-img.jpg");
}

.p-advantage .c-head_img {
  background-image: url("../img/advantage/ttl-img.jpg");
}

.p-service .c-head_img {
  background-image: url("../img/service/ttl-img.jpg");
}

.p-contact .c-head_img {
  background-image: url("../img/contact/ttl-img.jpg");
}

.c-head_img img {
  width: 300px;
  height: 300px;
}

.c-heading-basic {
  text-align: center;
}

.c-heading-basic .jpn {
  display: block;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.c-heading-basic .jpn .br {
  font-weight: 700;
  display: inline-block;
}

.c-heading-basic .eng {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #46aec5;
  padding-top: 13px;
  transform-origin: bottom center;
  transform: scaleX(1.1);
}

@media only screen and (max-width: 767px) {
  .c-head {
    height: auto;
  }

  .c-head_ttl {
    height: auto;
    padding-top: 50px;
  }

  .c-head_ttl_eng {
    font-size: 4rem;
  }

  .c-head_ttl_jpn {
    font-size: 2rem;
  }

  .c-head_img {
    width: calc( 100% + 40px );
    height: 150px;
    position: static;
    margin: 50px -20px 0 -20px;
  }

  .c-head_img img {
    width: 150px;
    height: 150px;
  }
}



/* ------------------------------
 Company
------------------------------ */

/*  greeting  */
.p-company .greeting {
  width: 100%;
  padding: 150px 0 0 0;
  position: relative;
}

.p-company .greeting::before {
  content: "";
  width: 200px;
  height: 200px;
  display: block;
  background-image: url("../img/triangle03.svg");
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
}

.p-company .greeting_head {
  max-width: 1040px;
  margin: 50px auto 0 auto;
  padding: 0 20px;
}

.p-company .greeting_img {
  width: 44%;
}

.p-company .greeting_copy {
  display: block;
  width: 64%;
  font-family: 'Noto Serif JP', serif;
  font-size: 3.2rem;
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin: -135px 0 0 36%;
  padding: 40px 0px 0px 50px;
  background-color: #ffffff;
  position: relative;
  z-index: 1;
}

.p-company .greeting_copy .br {
  display: inline-block;
}

.p-company .greeting_body {
  max-width: 840px;
  margin: 90px auto 0 auto;
  padding: 0 20px;
}

.p-company .greeting_txt {
  font-size: 1.4rem;
  line-height: 2;
}

.p-company .greeting_txt + .greeting_txt {
  margin-top: 28px;
}

.p-company .greeting_sign {
  text-align: right;
  font-size: 1.4rem;
  margin-top: 30px;
}

.p-company .greeting_sign img {
  width: 182px;
  margin-top: 12px;
}

@media only screen and (max-width: 767px) {
  .p-company .greeting {
    padding: 80px 0 0 0;
  }

  .p-company .greeting::before {
    width: 60px;
    height: 60px;
  }

  .p-company .greeting_img {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }

  .p-company .greeting_copy {
    width: 100%;
    max-width: 400px;
    font-size: 2.2rem;
    margin: 30px auto 0 auto;
    padding: 0;
  }

  .p-company .greeting_body {
    margin: 40px auto 0 auto;
  }
}

/*  philosophy  */
.p-company .philosophy {
  width: 100%;
  display: block;
  margin-top: 150px;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.p-company .philosophy::before {
  content: "";
  width: calc( 100% + 100px );
  height: 100%;
  display: block;
  background-color: #46aec5;
  position: absolute;
  top: 0;
  left: -50px;
  z-index: -1;
  transform-origin: 50% 50%;
  transform: rotate(4deg);
}

.p-company .philosophy::after {
  content: "";
  width: calc( 100% + 100px );
  height: 100%;
  display: block;
  background-color: #f0e9db;
  position: absolute;
  top: 0;
  left: -50px;
  z-index: -1;
  transform-origin: 50% 50%;
  transform: rotate(-4deg);
}

.p-company .philosophy_txt {
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  letter-spacing: 0.1em;
  line-height: 2;
  margin-top: 80px;
}

.p-company .philosophy_txt .br {
  display: inline-block;
}

.p-company .philosophy_txt + .philosophy_txt {
  margin-top: 18px;
}

@media only screen and (max-width: 767px) {
  .p-company .philosophy {
    margin-top: 100px;
    padding: 60px 0;
  }

  .p-company .philosophy_txt {
    font-size:   1.8rem;
    margin-top: 30px;
  }
}


/* sdgs */
.sdgs {
  width: 100%;
  max-width: 940px;
  margin: 150px auto 100px auto;
  padding: 0 20px;
}

.sdgs_intro {
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  letter-spacing: 0.1em;
  margin-top: 100px;
}

.sdgs_img {
  margin-top: 50px;
}

.sdgs_text {
  width: 100%;
  max-width: 800px;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  line-height: 2;
  margin: 50px auto 0 auto
}

.sdgs_copy {
  text-align: center;
  width: 100%;
  max-width: 800px;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  margin: 50px auto 0 auto
}

.sdgs_btn {
  width: 100%;
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.sdgs_btn a {
  width: 480px;
  height: 100px;
  border: 1px solid #46aec5;
  position: relative;
}

.sdgs_btn a::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  background-color: #46aec5;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.sdgs_btn a::after {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  background-color: #FFFFFF;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: .3s;
  transform-origin: left;
  transform: scaleX(0);
}

.sdgs_btn a:hover::after {
  transform: scaleX(1);
}

.sdgs_btn a span {
  width: 100%;
  height: 100%;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: .3s;
}

.sdgs_btn a:hover span {
  color: #46aec5;
}

.sdgs_btn a span::before {
  content: "";
  display: block;
  width: 10px;
  height: 1px;
  background-color: #FFFFFF;
  position: absolute;
  bottom: 10px;
  right: 10px;
  transform-origin: bottom right;
  transform: rotate(38deg);
  transition: .3s;
}

.sdgs_btn a:hover span::before {
  background-color: #46aec5;
}

.sdgs_btn a span::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background-color: #FFFFFF;
  position: absolute;
  bottom: 10px;
  right: 10px;
  transition: .3s;
}

.sdgs_btn a:hover span::after {
  background-color: #46aec5;
}

.sdgs_sp {
  display: none;
}

@media only screen and (max-width: 767px) {
  .sdgs {
    margin: 100px auto 100px auto;
  }
  
  .sdgs_intro {
    font-size: 1.8rem;
    line-height: 2;
    margin-top: 40px;
  }
  
  .sdgs_img {
    margin-top: 30px;
  }
  
  .sdgs_text {
    font-size: 1.3rem;
    margin: 40px auto 0 auto
  }
  
  .sdgs_copy {
    font-size: 1.8rem;
    line-height: 2;
    margin: 40px auto 0 auto
  }

  .sdgs_btn a {
    width: 100%;
    max-width: 480px;
    height: 80px;
  }

  .sdgs_btn a span {
    font-size: 2rem;
  }

  .sdgs_sp {
    display: block;
  }
}


/*  information  */
.p-company .information_wrap {
  width: 100%;
  background-color: #f0e9db;
  padding: 100px 0;
}

.p-company .information {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 20px;
}

.p-company .information_list {
  width: 100%;
  margin-top: 100px;
}

.p-company .information_item {
  display: flex;
  justify-content: space-between;
}

.p-company .information_item:first-child .information_head {
  border-top: solid 1px #46aec5;
}

.p-company .information_item:first-child .information_body {
  border-top: solid 1px #FFFFFF;
}

.p-company .information_head {
  width: 22.5%;
  color: #46aec5;
  padding: 32px 0;
  border-bottom: solid 1px #46aec5;
}

.p-company .information_body {
  width: 71.25%;
  font-size: 1.4rem;
  line-height: 1.6;
  border-bottom: solid 1px #FFFFFF;
  display: flex;
  align-items: center;
}

@media only screen and (max-width: 767px) {
  .p-company .information {
    margin:  0 auto;
  }

  .p-company .information_list {
    margin-top: 50px;
  }

  .p-company .information_item {
    display: block;
  }

  .p-company .information_item:first-child .information_head {
    border-top: solid 1px #46aec5;
  }

  .p-company .information_item:first-child .information_body {
    border-top: none;
  }

  .p-company .information_head {
    width: 100%;
    color: #46aec5;
    padding: 15px 0 12px 0;
    border-bottom: none;
  }

  .p-company .information_body {
    width: 100%;
    padding: 0 0 15px 0;
    border-bottom: solid 1px #46aec5;
  }
}

/*  history  */
.p-company .history {
  max-width: 840px;
  margin: 100px auto 0 auto;
  padding: 0 20px;
}

.p-company .history_list {
  width: 100%;
  margin-top: 100px;
}

.p-company .history_item {
  display: flex;
  justify-content: space-between;
}

.p-company .history_item:first-child .history_body {
  border-top: solid 1px #f0e9db;
}

.p-company .history_head {
  width: 22.5%;
  color: #46aec5;
  padding: 26px 0;
  border-left: solid 1px #46aec5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.p-company .history_head::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #46aec5;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.p-company .history_head .year {
  width: calc( 100% - 56px );
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-style: italic;
  transform-origin: center left;
  transform: scaleX(1.1);
  padding-right: 5px;
}

.p-company .history_head .era {
  width: 56px;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.p-company .history_body {
  width: 71.25%;
  font-size: 1.4rem;
  line-height: 1.6;
  padding: 26px 0;
  border-bottom: solid 1px #f0e9db;
  display: flex;
  align-items: center;
}

@media only screen and (max-width: 767px) {
  .p-company .history_list {
    width: 100%;
    margin-top: 30px;
  }

  .p-company .history_item {
    display: block;
  }

  .p-company .history_item:first-child .history_head {
    border-top: none;
  }

  .p-company .history_item:first-child .history_body {
    border-top: none;
  }

  .p-company .history_head {
    width: 100%;
    padding: 15px 0 12px 0;
    justify-content: flex-start;
    border-top: solid 1px #f0e9db;
  }

  .p-company .history_head .year {
    width: auto;
    text-align: left;
    padding-left: 20px;
    padding-right: 30px;
  }

  .p-company .history_head .era {
    width: auto;
  }

  .p-company .history_body {
    width: 100%;
    padding: 0 0 15px 20px;
    border-left: solid 1px #46aec5;
    border-bottom: none;
  }
}

/*  technique  */
.p-company .technique {
  width: 100%;
  margin-top: 100px;
  padding: 50px 0;
  background-color: #351f00;
  position: relative;
}

.p-company .technique::before {
  content: "";
  display: block;
  width: 200px;
  height: 200px;
  background-image: url("../img/triangle04.svg");
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
}

.p-company .technique::after {
  content: "";
  display: block;
  width: 200px;
  height: 200px;
  background-image: url("../img/triangle05.svg");
  background-size: cover;
  position: absolute;
  bottom: 0;
  left: 0;
}

.p-company .technique_wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  color: #ffffff;
}

.p-company .technique_heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 3.7rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  padding-right: 50px;
}

.p-company .technique_heading .small {
  display: block;
  font-size: 2.8rem;
}

.p-company .technique_heading .br {
  display: inline-block;
}

.p-company .technique_body {
  margin-top: 50px;
  display: flex;
}

.p-company .technique_info {
  width: 32.5%;
  margin-right: 3.5%;
}

.p-company .technique_name {
  font-size: 2.8rem;
  font-weight: 700;
  height: 65px;
  margin-left: 75px;
  display: flex;
  align-items: center;
  border-bottom: solid 1px #ffffff;
  position: relative;
  white-space: nowrap;
}

.p-company .technique_name::before {
  content: "";
  width: 55px;
  height: 65px;
  display: block;
  background-image: url("../img/company/technique-icon.png");
  background-size: cover;
  position: absolute;
  top: 0;
  left: -75px;
}

.p-company .technique_txt {
  text-align: justify;
  font-size: 1.4rem;
  line-height: 1.8;
  margin-top: 18px;
}

.p-company .technique_img {
  width: 30%;
  margin-left: 2%;
}

.p-company .technique_notes {
  text-align: justify;
  font-size: 1.4rem;
  line-height: 1.8;
  margin-top: 50px;
  margin-left: 150px;
}

@media only screen and (max-width: 767px) {
  .p-company .technique::before {
    width: 60px;
    height: 60px;
  }

  .p-company .technique::after {
    width: 60px;
    height: 60px;
  }

  .p-company .technique_heading {
    font-size: 2.6rem;
    padding-right: 0px;
  }

  .p-company .technique_heading .small {
    font-size: 1.6rem;
  }

  .p-company .technique_heading .br {
    display: inline;
  }

  .p-company .technique_body {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .p-company .technique_info {
    width: 100%;
    margin-right: 0;
  }

  .p-company .technique_name {
    font-size: 2.4rem;
  }

  .p-company .technique_img {
    width: 49%;
    margin-left: 0;
    margin-top: 20px;
  }

  .p-company .technique_notes {
    margin-top: 30px;
    margin-left: 30px;
  }
}

/*  access  */
.p-company .access {
  width: 100%;
  margin: 100px auto;
}

.p-company .access_map {
  margin-top: 90px;
}

@media only screen and (max-width: 767px) {
  .p-company .access_map {
    margin-top: 50px;
  }
}



/* ------------------------------
 Advantage
------------------------------ */

/*  message  */
.p-advantage .message {
  width: 100%;
  padding: 150px 0 0 0;
  position: relative;
}

.p-advantage .message::before {
  content: "";
  width: 200px;
  height: 200px;
  display: block;
  background-image: url("../img/triangle03.svg");
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
}

.p-advantage .message_wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.p-advantage .message_copy {
  font-family: 'Noto Serif JP', serif;
  font-size: 3.2rem;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.p-advantage .message_copy .br {
  display: inline-block;
}

.p-advantage .message_body {
  width: 64%;
  display: block;
  background-color: #ffffff;
  margin-top: 100px;
  padding: 0 50px 50px 0;
  position: relative;
  z-index: 10;
}

.p-advantage .message_txt {
  text-align: justify;
  font-size: 1.4rem;
  line-height: 2;
}

.p-advantage .message_txt + .message_txt {
  margin-top: 28px;
}

.p-advantage .message_sign {
  text-align: right;
  font-size: 1.4rem;
  margin-top: 28px;
}

.p-advantage .message_sign .large {
  font-size: 1.8rem;
  letter-spacing: 0.1em;
}

.p-advantage .message_img {
  width: 44%;
  margin: -175px 0 0 56%;
}

@media only screen and (max-width: 767px) {
  .p-advantage .message {
    padding: 50px 0 0 0;
  }

  .p-advantage .message::before {
    width: 60px;
    height: 60px;
  }

  .p-advantage .message_copy {
    font-size: 2rem;
    letter-spacing: 0.05em;
  }

  .p-advantage .message_body {
    width: 100%;
    margin-top: 50px;
    padding: 0;
  }

  .p-advantage .message_img {
    width: 100%;
    max-width: 440px;
    margin: 50px auto 0 auto;
  }
}

/*  flow  */
.p-advantage .flow {
  max-width: 1040px;
  margin: 100px auto 0 auto;
  padding: 0 20px;
}

.p-advantage .flow_intro {
  max-width: 800px;
  text-align: justify;
  font-size: 1.4rem;
  line-height: 2;
  letter-spacing: 0.05em;
  margin: 80px auto 0 auto;
}

.p-advantage .flow_main {
  width: 100%;
  margin-top: 50px;
}

.p-advantage .flow_item {
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: -7%;
}

.p-advantage .flow_item:first-child {
  margin-top: 0;
}

.p-advantage .flow_ttl {
  order: 2;
  width: 38%;
  height: 80px;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  background-image: url("../img/advantage/flow-line-beige.svg");
  background-position: center right 30px;
  background-repeat: no-repeat;
  background-size: 510px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.p-advantage .flow_ttl::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 15px 0 15px;
  border-color: #f0e9db transparent transparent transparent;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.p-advantage .flow_img {
  order: 1;
  width: 31%;
  padding: 10px 10px 10px 0;
  background-image: url("../img/advantage/flow-triangle-beige.svg");
  background-position: right;
  background-repeat: no-repeat;
  background-size: contain;
}

.p-advantage .flow_item.alt {
  flex-direction: row-reverse;
}

.p-advantage .alt .flow_ttl {
  background-image: url("../img/advantage/flow-line-blue.svg");
  background-position: center left 30px;
}

.p-advantage .alt .flow_ttl::after {
  border-color: #46aec5 transparent transparent transparent;
}

.p-advantage .alt .flow_img {
  padding: 10px 0 10px 10px;
  background-image: url("../img/advantage/flow-triangle-blue.svg");
  background-position: left;
}

.p-advantage .flow_item:last-child .flow_ttl::after {
  content: none;
}

@media only screen and (max-width: 930px) {
  .p-advantage .flow_ttl {
    font-size: 1.7rem;
  }
}

@media only screen and (max-width: 767px) {
  .p-advantage .flow_intro {
    margin: 50px auto 0 auto;
  }

  .p-advantage .flow_item {
    margin-top: 0px;
  }

  .p-advantage .flow_ttl {
    width: 55%;
    height: 60px;
    font-size: 1.4rem;
    background-position: center right;
  }

  .p-advantage .flow_img {
    width: 45%;
  }

  .p-advantage .alt .flow_ttl {
    background-position: center left;
  }
}

/*  point  */
.p-advantage .point {
  max-width: 1040px;
  margin: 100px auto 55px auto;
  padding: 0 20px;
}

.p-advantage .point_heading {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  padding-bottom: 30px;
  position: relative;
}

.p-advantage .point_heading::before {
  content: "";
  width: 100px;
  height: 5px;
  display: block;
  background-color: #46aec5;
  position: absolute;
  bottom: 0;
  left: 0;
}

.p-advantage .point_heading .br {
  font-weight: 700;
  display: inline-block;
}

.p-advantage .point_list {
  width: 100%;
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.p-advantage .point_item {
  width: 30%;
  margin-bottom: 45px;
}

.point_txt {
  text-align: justify;
  font-size: 1.4rem;
  line-height: 2;
  margin-top: 20px;
}

@media only screen and (max-width: 767px) {
  .p-advantage .point {
    margin: 80px auto 55px auto;
  }

  .p-advantage .point_heading {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.4;
    padding-bottom: 30px;
    position: relative;
  }

  .p-advantage .point_list {
    margin-top: 50px;
  }

  .p-advantage .point_item {
    width: 48%;
    margin-bottom: 30px;
  }

  .point_txt {
    margin-top: 10px;
  }
}

@media only screen and (max-width: 450px) {
  .p-advantage .point_item {
    width: 100%;
    margin-bottom: 30px;
  }
}



/* ------------------------------
 Service
------------------------------ */

/*catchcopy*/
.p-service .catchcopy {
  width: 100%;
  position: relative;
  padding: 150px 0 0 0;
}

.p-service .catchcopy::before {
  content: "";
  width: 200px;
  height: 200px;
  display: block;
  background-image: url("../img/triangle03.svg");
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
}

.p-service .catchcopy_txt {
  font-family: 'Noto Serif JP', serif;
  font-size: 3.2rem;
  letter-spacing: 0.1em;
  line-height: 1.6;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.p-service .catchcopy_txt .br {
  display: inline-block;
}

@media only screen and (max-width: 767px) {
  .p-service .catchcopy {
    padding: 50px 0 0 0;
  }

  .p-service .catchcopy::before {
    width: 60px;
    height: 60px;
  }

  .p-service .catchcopy_txt {
    font-size: 2rem;
    letter-spacing: 0.05em;
  }
}

/*  menu  */
.p-service .menu {
  width: 100%;
  margin-top: 50px;
  padding-bottom: 70px;
  position: relative;
}

.p-service .menu::before {
  content: "";
  width: 200px;
  height: 200px;
  display: block;
  background-image: url("../img/triangle06.svg");
  background-size: cover;
  position: absolute;
  bottom: 0;
  left: 0;
}

.p-service .menu_list {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.p-service .menu_item {
  display: block;
  width: 27%;
  height: 80px;
  margin: 0 0 3% 3%;
}

.p-service .menu_item a {
  width: 100%;
  height: 100%;
  font-size: 2rem;
  font-weight: 700;
  background-color: #f0e9db;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .4s ease-out;
}

.p-service .menu_item a:hover {
  background-color: #46aec5;
}

.p-service .menu_item a::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 15px 0 15px;
  border-color: #46aec5 transparent transparent transparent;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform-origin: top;
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
  transition: all .4s ease-out;
}

.p-service .menu_item a:hover::after {
  opacity: 1;
  transform: translateX(-50%) scaleY(1);
}

@media only screen and (max-width: 900px) {
  .p-service .menu_item a {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 767px) {
  .p-service .menu {
    width: 100%;
    margin-top: 50px;
    padding-bottom: 60px;
    position: relative;
  }

  .p-service .menu::before {
    width: 60px;
    height: 60px;
  }

  .p-service .menu_list {
    justify-content: space-between;
  }

  .p-service .menu_item {
    display: block;
    width: 48%;
    height: 60px;
    margin: 0 0 15px 0;
  }

  .p-service .menu_item a {
    font-size: 1.4rem;
  }

  .p-service .menu_item a::after {
    border-width: 10px 10px 0 10px;
    bottom: -10px;
  }
}

/*  detail  */
.p-service .detail,
.p-service .detail-alt {
  width: 100%;
}

.p-service #id01,
.p-service #id03 {
  margin-top: -90px;
  padding-top: 90px;
  padding-bottom: 80px;
}

.p-service #id02,
.p-service #id04 {
  margin-top: -90px;
  padding-top: 90px;
  padding-bottom: 100px;
}

.p-service #id05 {
  margin-top: -90px;
  padding-top: 90px;
  padding-bottom: 130px;
}

.p-service .detail_wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.p-service .detail_body {
  display: flex;
  width: 76%;
  margin-top: -50px;
  margin-left: 24%;
  padding: 50px 0 0 50px;
  background-color: #ffffff;
  background-image: url("../img/triangle02.svg");
  background-position: top left;
  background-repeat: no-repeat;
  background-size: 50px;
  position: relative;
  z-index: 10;
}

.p-service .detail-alt_body {
  display: flex;
  width: 76%;
  padding: 20px 50px 50px 0;
  background-color: #ffffff;
  background-image: url("../img/triangle01.svg");
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: 200px;
  position: relative;
  z-index: 10;
}

.p-service .detail_info {
  width: 48%;
  margin-top: -8px;
}

.p-service .detail_heading {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.p-service .detail_txt {
  text-align: justify;
  font-size: 1.4rem;
  line-height: 2;
  margin-top: 20px;
}

.p-service .detail_img-small {
  width: 45%;
  margin-left: 7%;
}

.p-service .detail_img-large-pc {
  width: calc( 50% + 210px );
  height: 380px;
  background-position: center center;
  background-size: cover;
}

.p-service .detail-alt_img-large-pc {
  width: calc( 50% + 210px );
  height: 380px;
  background-position: center center;
  background-size: cover;
  margin: -50px 0 0 auto;
}

.p-service .detail_img-large-pc.one {
  background-image: url("../img/service/detail01-large.jpg");
}

.p-service .detail-alt_img-large-pc.two {
  background-image: url("../img/service/detail02-large.jpg");
}

.p-service .detail_img-large-pc.three {
  background-image: url("../img/service/detail03-large.jpg");
}

.p-service .detail-alt_img-large-pc.four {
  background-image: url("../img/service/detail04-large.jpg");
}

.p-service .detail_img-large-pc.five {
  background-image: url("../img/service/detail05-large.jpg");
}

.p-service .detail_img-large-sp {
  display: none;
}

@media only screen and (max-width: 767px) {
  .p-service #id01,
  .p-service #id03 {
    margin-top: -60px;
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .p-service #id02,
  .p-service #id04 {
    margin-top: -60px;
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .p-service #id05 {
    margin-top: -60px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .p-service .detail_body {
    display: block;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    padding: 20px 20px 0 20px;
    background-image: none;
  }

  .p-service .detail-alt_body {
    display: block;
    width: 100%;
    padding: 20px 20px 0 20px;
    background-image: none;
  }

  .p-service .detail_info {
    width: 100%;
    margin-top: 0;
  }

  .p-service .detail_heading {
    font-size: 2.4rem;
  }

  .p-service .detail_txt {
    margin-top: 15px;
  }

  .p-service .detail_img-small {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 18px;
  }

  .p-service .detail_img-large-pc {
    display: none;
  }

  .p-service .detail-alt_img-large-pc {
    display: none;
  }

  .p-service .detail_img-large-sp {
    display: block;
    margin-top: 20px;
  }
}

/*  facility  */
.p-service .facility {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  padding-right: 20px;
  padding-left: 20px;
}

#id06 {
  margin-top: -90px;
  padding-top: 110px;
}

.p-service .facility_list {
  width: 100%;
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.p-service .facility_item {
  width: 30%;
}

.p-service .facility_name {
  margin-top: 5px;
  margin-bottom: 50px;
  font-size: 1.4rem;
}

.p-service .facility_etc {
  width: 100%;
  font-size: 1.4rem;
  line-height: 1.6;
  border: solid 1px #e3e3e3;
  padding: 18px;
}

.p-service .facility_etc .space {
  display: inline-block;
  margin-left: 0.6em;
}

@media only screen and (max-width: 767px) {
  .p-service .facility {
    margin: 80px auto 50px auto;
  }

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

  .p-service .facility_item {
    width: 48%;
  }
}

@media only screen and (max-width: 600px) {
  .p-service .facility {
    margin-bottom: 80px;
  }
  
  #id06 {
    margin-top: -60px;
    padding-top: 80px;
  }

  .p-service .facility_list {
    display: block;
  }

  .p-service .facility_item {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}



/* ------------------------------
 Contact
------------------------------ */

/*  intro  */
.p-contact .intro {
  width: 100%;
  padding: 150px 0 0 0;
  position: relative;
}

.p-contact .intro::before {
  content: "";
  width: 200px;
  height: 200px;
  display: block;
  background-image: url("../img/triangle03.svg");
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
}

.p-contact .intro_txt {
  max-width: 840px;
  margin: 100px auto 0 auto;
  padding: 0 20px;
  text-align: center;
  font-size: 1.4rem;
  line-height: 2;
}

.p-contact .intro_txt.thanks {
  margin-bottom: 150px;
}

@media only screen and (max-width: 767px) {
  .p-contact .intro {
    padding: 80px 0 0 0;
  }

  .p-contact .intro::before {
    width: 60px;
    height: 60px;
  }

  .p-contact .intro_txt {
    max-width: 760px;
    margin: 50px auto 0 auto;
    text-align: left;
  }
}

/*  form  */
.p-contact .form {
  max-width: 840px;
  margin: 80px auto 0 auto;
  padding: 0 20px;
}

.p-contact .form.check {
  margin-bottom: 150px;
}

.p-contact .form_notes {
  text-align: right;
  font-size: 1.4rem;
  color: #46aec5;
}

.p-contact .form_list {
  width: 100%;
  margin-top: 15px;
}

.p-contact .form_item {
  display: flex;
  justify-content: space-between;
}

.p-contact .form_item.alt {
  flex-wrap: wrap;
}

.p-contact .form_item:first-child .form_name {
  border-top: solid 1px #46aec5;
}

.p-contact .form_item:first-child .form_input {
  border-top: solid 1px #f0e9db;
}

.p-contact .form_name {
  width: 22.5%;
  color: #46aec5;
  padding: 32px 0;
  border-bottom: solid 1px #46aec5;
}

.p-contact .form_name.alt {
  border-bottom: none;
}

.p-contact .form_name .required {
  display: inline-block;
  font-size: 1rem;
  margin-left: 5px;
  transform: translateY(-5px);
}

.p-contact .privacy {
  margin-top: 50px;
}

.p-contact .check .privacy {
  display: none;
}

.p-contact .privacy_ttl {
  color: #46aec5;
}

.p-contact .privacy_ttl .br {
  display: inline-block;
}

.p-contact .privacy_body {
  width: 100%;
  height: 150px;
  border: solid 1px #46aec5;
  overflow-y: scroll;
  margin-top: 15px;
  padding: 20px 30px;
}

.p-contact .privacy_heading {
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: 700;
  margin-top: 25px;
}

.p-contact .privacy_txt {
  font-size: 1.4rem;
  line-height: 1.6;
}

.p-contact .privacy_heading + .privacy_txt {
  margin-top: 10px;
}

.p-contact .privacy_txt + .privacy_txt {
  margin-top: 10px;
}

.p-contact .privacy_check {
  display: inline-block;
  margin-right: 10px;
  transform: scale(1.4) translateY(-1px);
}

.p-contact .privacy_agree {
  margin-top: 20px;
  text-align: center;
}

.p-contact .privacy_agree span {
  font-weight: 700;
  color: #46aec5;
}

.p-contact .privacy_agree span.error {
  font-weight: 400;
  color: #B70000;
}

.p-contact .form_input {
  width: 71.25%;
  border-bottom: solid 1px #f0e9db;
  display: flex;
  align-items: center;
}

.p-contact .form_input.alt {
  width: 100%;
  border-bottom: none;
  display: block;
}

.p-contact .check .form_input.alt {
  border: solid 1px #46aec5;
  padding: 15px;
  line-height: 1.6;
}

.p-contact .form_input-txt {
  width: 100%;
  border: none;
  outline: none;
  padding: 12px;
  background-color: #efefef;
}

.p-contact .form_input-txt.small {
  width: 30%;
}

.p-contact .form_input-txt.medium {
  width: 50%;
}

.p-contact .form_input-txtarea {
  width: 100%;
  height: 20em;
  border: solid 1px #46aec5;
  outline: none;
}

.p-contact .form_btn {
  margin-top: 50px;
  text-align: center;
}

.p-contact .form_btn_submit {
  display: inline-block;
  width: 300px;
  color: #ffffff;
  letter-spacing: 0.1em;
  margin: 0 5px;
  padding: 20px 0 19px 0;
  background-color: #46aec5;
  border: none;
  outline: none;
  cursor: pointer;
  transition: .3s;
}

.p-contact .form_btn_submit:hover {
  opacity: 0.7;
}

.p-contact .mw_wp_form .error {
  white-space: nowrap;
}

@media only screen and (max-width: 767px) {
  .p-contact .form {
    margin: 50px auto 0 auto;
  }

  .p-contact .form_item {
    display: block;
  }

  .p-contact .form_item:first-child .form_input {
    border-top: none;
  }

  .p-contact .form_name {
    width: 100%;
    padding: 15px 0;
    border-bottom: none;
  }

  .p-contact .form_input {
    width: 100%;
    border-bottom: solid 1px #46aec5;
    display: block;
    padding-bottom: 15px;
  }

  .p-contact .form_input-txtarea {
    height: 10em;
  }

  .p-contact .form_btn {
    margin-top: 20px;
  }

  .p-contact .form_btn_submit {
    width: 130px;
    margin: 0 3px;
    padding: 16px 0 15px 0;
  }
}

/*  tel  */
.p-contact .tel {
  max-width: 840px;
  margin: 100px auto;
  padding: 0 20px;
}

.p-contact .tel_list {
  width: 100%;
  margin-top: 90px;
}

.p-contact .tel_item {
  display: flex;
  justify-content: space-between;
}

.p-contact .tel_item:first-child .tel_name {
  border-top: solid 1px #46aec5;
}

.p-contact .tel_item:first-child .tel_body {
  border-top: solid 1px #f0e9db;
}

.p-contact .tel_name {
  width: 22.5%;
  color: #46aec5;
  padding: 32px 0;
  border-bottom: solid 1px #46aec5;
}

.p-contact .tel_body {
  width: 71.25%;
  border-bottom: solid 1px #f0e9db;
  display: flex;
  align-items: center;
}

@media only screen and (max-width: 767px) {
  .p-contact .tel {
    margin: 60px auto 80px auto;
  }

  .p-contact .tel_list {
    margin-top: 50px;
  }

  .p-contact .tel_item {
    display: block;
  }

  .p-contact .tel_item:first-child .tel_body {
    border-top: none;
  }

  .p-contact .tel_name {
    width: 100%;
    padding: 15px 0 10px 0;
    border-bottom: none;
  }

  .p-contact .tel_body {
    width: 100%;
    border-bottom: solid 1px #46aec5;
    display: block;
    padding-bottom: 15px;
    line-height: 1.4
  }
}



/* ------------------------------
 Default Page
------------------------------ */
.p-default {
  
}

.p-default .body {
  max-width: 840px;
  min-height: 400px;
  margin: 100px auto;
}

.p-default .body h1 {
  font-size: 18px;
  text-align: center;
}

.p-default .body .content {
  margin-top: 50px;
}