.contact .layout.-con {
  max-width: 794px;
}

.contact h1,
.contact h2,
.contact h3 {
  font-weight: bold;
}

.contact h1 {
  font-size: 36px;
}

.contact h2 {
  font-size: 24px;
}

.contact h3 {
  font-size: 22px;
}

.contact .bold {
  font-weight: bold;
}

/* -----head----- */


.contact .section-hero {
  min-height: 395px;
  padding: 80px 0;
  background: url(/img/contact/bg-top.jpg) no-repeat center center / cover;
  color: #ffffff;
  text-align: center;
}

.contact .section-hero .shoulder {
  display: inline-block;
  width: fit-content;
  height: 30px;
  margin-bottom: 11px;
  padding: 4px 10px 2px;
  background-color: #ffffff;
  color: #007780;
  font-weight: 600;
}

.contact h1 {
  margin-bottom: 48px;
  letter-spacing: 3.6px;
}

.contact .section-hero .lead-txt {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
}

.js-inlink {
  /* display: inline-block; */
  cursor: pointer;
  transition: 0.3s;

}

.js-inlink:hover {
  opacity: 0.7;
  transition: 0.3s;
}

@media screen and (max-width:1023px) {
  .contact h1 {
    font-size: 22px;
    line-height: 1.4;
  }
}


/* -----inquiry----- */

.contact .section-inquiry {
  padding: 80px 0;
  background-color: #ffffff;
}

.contact .section-inquiry .btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 auto;
  gap: 32px;
}

.contact .section-inquiry .btn a {
  display: block;
  flex: 1;
}

.contact .section-inquiry a:nth-child(2):hover {
  opacity: 1;
}

@media screen and (max-width:1023px) {
  .contact .section-inquiry .btn {
    flex-direction: column;
  }
}




/* -----pain----- */


.contact .section-pain {
  position: relative;
  padding: 105px 0 116px;
}

.contact .section-pain::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 96px;
  background: #F3F5F5;
  translate: -50% -50px;
  rotate: 45deg;
  aspect-ratio: 1 / 1;
}

.contact .section-pain h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.contact .section-pain h2::before {
  content: '';
  width: 22px;
  height: 37px;
  background: transparent url(/img/contact/pain-h.svg) no-repeat center / contain;
}

.contact .section-pain .head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 42px;
}

.contact .section-pain .head h3 {
  color: #007780;
}

.contact .section-pain .head p {
  font-size: 15px;
}

.contact .section-pain .container+.container {
  margin-top: 40px;
}

.contact .section-pain .head::before {
  content: '';
  min-width: 72px;
  background: url(/img/contact/pain-icon-01.svg) no-repeat center / contain;
  aspect-ratio: 1 / 1;
}

.contact .section-pain .container:nth-of-type(2) .head::before {
  content: '';
  min-width: 72px;
  background: url(/img/contact/pain-icon-02.svg)no-repeat center / contain;
  aspect-ratio: 1 / 1;
}

.contact .section-pain .line {
  display: inline-block;
  margin: 2px;
  padding: 0 4px;
  background-size: 90% 100%;
  background-color: #28B9B9;
  color: #ffffff;
}

.contact .section-pain .body {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 794px;
  margin: 0 auto;
  gap: 32px;
}

.contact .section-pain .balloon {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 381px;
  min-height: 150px;
  padding: 8px;
  border-radius: 8px;
  background: #ffffff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.contact .section-pain .balloon p {
  margin-bottom: 10px;
}

.contact .section-pain .item .balloon::after {
  content: '';
  clip-path: polygon(0 0, 100% 100%, 85% 0);
  position: absolute;
  top: 100%;
  left: 50%;
  width: 40px;
  height: 32px;
  background: inherit;
  translate: -50% -1px;
}

.contact .section-pain .item:nth-child(1) .balloon::after {
  left: 230px;
}

.contact .section-pain .item:nth-child(2) .balloon::after {
  clip-path: polygon(15% 0, 0 100%, 100% 0);
  left: 140px;
}

.contact .section-pain .item:nth-child(3) .balloon::after {
  clip-path: polygon(15% 0, 0 100%, 100% 0);
  left: 245px;
}

.contact .section-pain .container:nth-of-type(2) .item:nth-child(3) .balloon::after {
  clip-path: polygon(0 0, 100% 100%, 85% 0);
  left: 130px;
}

.contact .section-pain .item {
  position: relative;
  margin-bottom: 50px;
}

.contact .section-pain .item img {
  position: absolute;
  bottom: -44px;
  z-index: 1;
}

.contact .section-pain .item:nth-child(1) img {
  left: 277px;
}

.contact .section-pain .item:nth-child(2) img {
  left: 32px;
}

.contact .section-pain .item:nth-child(3) img {
  left: 129px;
}

.contact .section-pain .container:nth-of-type(2) .item:nth-child(3) img {
  left: 185px;
}

@media screen and (max-width:1023px) {
  .contact .section-pain .body {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .contact .section-pain h2 {
    font-size: 20px;
    text-align: left;
  }

  .contact .section-pain .head h3 {
    font-size: 20px;
  }

  .contact .section-pain .head p {
    font-size: 12px;
  }

  .contact .section-pain .balloon {
    width: 343px;
    font-size: 15px;
    /* max-width: 90%; */
  }

  .contact .section-pain .head {
    width: 343px;
    margin: 0 auto 24px;

  }

  .contact .section-pain .item:nth-child(1) img {
    left: 261px;
  }
}



/* -----solution----- */



.contact .bgWrapper {
  padding: 105px 0 104px;
  background: url(/img/contact/bg-solution.jpg) no-repeat center / cover;
}

.contact .section-solution {
  color: #ffffff;
  text-align: center;
}

.contact .section-solution .lead {
  width: fit-content;
  font-size: 15px;
  font-weight: 300;
  text-align: left;
}

#contact .contact .section-solution .lead {
  margin: 0 auto 46px;
}

.contact .section-solution .persons {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 195px;
  gap: 0px;
}

.contact .section-solution .persons .item:nth-child(2) {
  align-self: flex-end;
}

.contact .section-solution .persons .item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact .section-solution .persons img {
  border-radius: 50%;
}


@media screen and (max-width:1023px) {
  .contact .bgWrapper {
    padding: 105px 0 104px;
  }



  .contact .section-solution .persons {
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .contact .section-solution .persons .item:nth-child(2) {
    align-self: center;
  }

  .contact .section-solution .lead {
    width: 343px;
    font-size: 12px;
  }

  .contact .bgWrapper {
    background: url(/img/contact/bg-solution-sp.jpg) no-repeat center / cover;
  }

  #contact .contact .section-solution .lead {
    margin-bottom: 9px;
  }

}


/* -----strength----- */


.contact .section-strength {
  padding-top: 64px;
  color: #ffffff;
}

.contact .section-strength h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.contact .section-strength h2::before {
  content: '';
  width: 32px;
  height: 45px;
  background: transparent url(/img/contact/strength-h.svg) no-repeat center / contain;
}

.contact .section-strength .items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.contact .section-strength .item {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  width: 298px;
  height: 80px;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

.contact .section-strength .item p {
  display: flex;
  font-size: 18px;
  line-height: 1.5;
  gap: 16px;
}

.contact .section-strength .item p::before {
  content: '';
  width: 40px;
  margin-left: 16px;
  background: url(/img/contact/strength-before.svg) no-repeat center / contain;
  aspect-ratio: 1 / 1;
}

@media screen and (max-width:1023px) {

  .contact .section-strength h2 {
    text-align: start;
  }



  .contact .section-strength .items {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 960px;
    gap: 24px;
  }

  .contact .section-strength .item p {
    font-size: 16;
    line-height: 1.5;
  }

  .contact .section-strength .item:nth-of-type(even) {
    margin-left: 43px;
  }

  .contact .section-strength .item:nth-of-type(odd) {
    margin-right: 43px;
  }
}



/* section-vision */



.contact .section-vision {
  padding: 120px 0 96px;
  background: url(/img/contact/bg-vision.jpg)no-repeat center top / cover;
  color: #fff;
}

.contact .section-vision .shoulder::before {
  content: '';
  display: inline-block;
  position: relative;
  width: 28px;
  height: 1px;
  margin-right: 6px;
  background: url(/img/contact/vision-line.svg) no-repeat center;
  vertical-align: middle;
}

.contact .section-vision h2 {
  margin: 27px 0;
  line-height: 2.5;
  text-align: start;
}

.contact .section-vision h2 .line {
  display: inline;
  padding: 5px 7px;
  background-color: #fff;
  color: #007780;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.contact .section-vision p {
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
}

.contact .section-vision p+p {
  margin-top: 18px;
}

.contact .section-vision .light {
  font-weight: 300;
}

.contact .section-vision .box {
  width: fit-content;
  margin: 35px 0;
  padding: 15px 28px;
  border: #fff 1px solid;
  border-radius: 8px;
}

.contact .section-vision .box li {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.9;
}

.contact .section-vision .box li::before {
  content: "";
  display: inline-block;
  width: auto;
  height: 8px;
  margin-right: 13px;
  border-radius: 50%;
  background-color: #fff;
  aspect-ratio: 1 / 1;
}


/* section-message */


.contact .section-message {
  padding: 120px 0 146px;
  background: #fff;
}

.contact .section-message h2 {
  margin-bottom: 36px;
}

.contact .section-message img {
  border-radius: 8px;
}

.contact .section-message .container {
  display: grid;
  grid-template-columns: 248px 1fr;
  align-items: flex-start;
  gap: 80px;
}

.contact .section-message .container+.container {
  margin-top: 80px;
}

.contact .section-message .corner-box {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 40px 32px;
  box-sizing: border-box;
}

.contact .section-message .corner-box::before,
.contact .section-message .corner-box::after {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border: 3px solid #28B9B9;
}

/* 左上 */
.contact .section-message .corner-box::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

/* 右下 */
.contact .section-message .corner-box::after {
  right: 0;
  bottom: 0;
  border-left: none;
  border-top: none;
}

.contact .section-message p {
  font-size: 18px;
  line-height: 2;
}

.contact .section-message .under {
  margin-top: 32px;
}


@media screen and (max-width:1023px) {
  .contact .section-message .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .contact .section-message .container+.container {
    margin-top: 36px;
  }

  .contact .section-message .corner-box {
    display: flex;
    flex-direction: column;
    /* position: relative; */
    width: 303px;
    /* min-height: 220px; */
    padding: 40px 34px;
    box-sizing: border-box;
  }

  .contact .section-message .corner-box::before,
  .contact .section-message .corner-box::after {
    width: 90%;
    height: 60%;
  }

  .contact .section-message img {
    width: 200px;
    height: auto;
  }

  .contact .section-message p {
    font-size: 14px;
  }

  .contact .section-message .under {
    margin-top: 20px;
  }
}


/* フォーム変更できたらいらない */


.contact .front-foam {
  padding-top: 64px;
  background: #DFF4F4;
}

.contact .front-foam p {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}


/* section-action */


.contact .section-action {
  padding: 96px 0 120px;
  background: #fff;
}

.contact .section-action .item {
  display: flex;
  align-items: flex-start;
  align-items: center;
  padding: 51px;
  background: #DFF4F4;
  gap: 32px;
}

.contact .section-action .item+.item {
  margin-top: 42px;
}

.contact .section-action .box {
  display: grid;
  gap: 12px;
}

.contact .section-action .left img {
  border-radius: 4px;
}

.contact .section-action .center {
  width: 381px;
}

.contact .section-action .right {
  width: 248px;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}

.contact .section-action .item p:not(.title) {
  font-size: 15px;
}

.contact .section-action .radius {
  border-radius: 8px;
}

@media screen and (max-width:1023px) {
  .contact .section-action .item {
    flex-direction: column;
    gap: 20px;
  }

  .contact .section-action .title {
    text-align: center;
  }

  .contact .section-action .center {
    width: 287px;
  }
}








.-pc {
  display: inline;
}

.-sp {
  display: none;
}

@media screen and (max-width: 1023px) {
  .-pc {
    display: none;
  }

  .-sp {
    display: block;
  }
}