.img-box img {
  width: 100%;
  padding-top: 50px;
}

.homesyasin {
  width: 100vw;
  height: auto;
  max-width: 1440px;
  margin-inline: auto;
}

.syasinn {
  width: 100%;
  object-fit: contain;
  object-position: top center;
}

.mokuji {
  text-align: center;
}

/*伴走支援のメニュー*/
.hannsou {

  text-align: center;
  position: relative;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.marumenu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 140px;
  row-gap: 23px;
  max-width: 950px;
}

.kuwasiku {
  text-align: right;
  max-width: 950px;
  display: block;
  /* ブロック要素にする */
  margin: 0 auto;
  /* 要素中央揃え */
  position: relative;
  /* 位置指定 */
  animation: anime1 2s ease;
  /* アニメーション指定 */
}

@keyframes anime1 {
  0% {
    opacity: 0;
    /* 透明度指定 */
    top: 50px;
    /* 位置指定 */
  }

  100% {
    opacity: 1;
    /* 透明度指定 */
    top: 0;
    /* 位置指定 */
  }
}

/*プロフィール*/
.purofiru {
  margin-top: 100px;
  margin-inline: auto;
  font-size: 16px;
  color: #353535;
  display: flex;
  flex-wrap: wrap;
  min-height: 700px;
  /* 高さ指定 */
  padding: 96px 0;
  /* 余白指定 */
  background-color: #D9F4FF;
  /* 背景色指定 */
}

.purofirusiro {
  background-color: #fff;
  /* 高さ指定 */
  width: 100%;
  /* 幅指定 */
  background-color: #fff;
  /* 位置指定 */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-inline: auto;
  max-width: 1120px;
  padding: 30px 16px;
}

.purofirumoji {
  font-size: 32px;
  color: #353535;
  font-weight: bold;
  text-align: center;
}

.namae {
  margin: auto;
  font-size: 32px;
  color: #353535;

}

.ugokuneko {
  width: 300px;
  height: 200px;
  object-fit: contain;
  object-position: top right;
  margin-inline: auto 0;
  display: block;
}

/*キャッチフレーズ*/

.midashibenntya {
  background: #fff;
  padding-bottom: 200px;
  padding-top: 108px;
  text-align: center;
}

.fuchidori {
  font-weight: bold;
  font-size: 24px;
  color: rgba(0, 0, 0, 0);
  text-shadow: 1px 3px 0 #009CCD;
  -webkit-text-stroke: 1px #03008A;
  padding: 0 16px 10px;
}

.fuchidori2 {
  font-weight: bold;
  font-size: 16px;
  color: rgba(0, 0, 0, 0);
  text-shadow: 1px 3px 0 #009CCD;
  -webkit-text-stroke: 1px #03008A;
  padding-inline: 16px;
}

@media screen and (min-width: 768px) {
  .fuchidori {
    font-size: 32px;
  }

  .fuchidori2 {
    font-size: 24px;
  }

  .purofirusiro {
    flex-wrap: nowrap;
  }
}

@media screen and (min-width: 960px) {
  .fuchidori {
    font-size: 50px;
  }

  .fuchidori2 {
    font-size: 40px;
  }
}

.nayami {
  text-align: center;
}

/*プラン内容*/
.border-box {
  min-height: 182px;
  background-color: #ffffff;
  position: relative;
  padding: 16px 8px;
  width: 100%;
}

.puranneko {
  text-align: center;
}

.bacuhaikei {
  background-color: #D9F4FF;
  padding-top: 80px;
  padding-bottom: 140px;
}

.purasu {
  grid-column: 1 / 2;
  align-self: center;
}

.puransikaku {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.sanpuran {
  align-items: stretch;
  display: grid;
  grid-auto-rows: 1fr;
  gap: 24px;
  max-width: 1120px;
  margin-inline: auto;
}

/*伴走支援のメニュー*/
.sample1oya {
  text-align: center;
  background: #ffffff;
  padding: 15px;
  display: block;
  /* ブロック要素にする */
  margin: 0 auto;
  /* 要素中央揃え */
  position: relative;
  /* 位置指定 */
  animation: anime1 2s ease;
  /* アニメーション指定 */
}

@keyframes anime1 {
  0% {
    opacity: 0;
    /* 透明度指定 */
    top: 50px;
    /* 位置指定 */
  }

  100% {
    opacity: 1;
    /* 透明度指定 */
    top: 0;
    /* 位置指定 */
  }
}

.sample1 {
  margin-top: 170px;
  display: inline-block;
  font-size: 100%;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 10px #777,
    -2px 2px 10px #777,
    2px -2px 10px #777,
    -2px -2px 10px #777;

}

.sample2 {
  margin-bottom: 80px;
  display: inline-block;
  font-size: 180%;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 10px #03008A,
    -2px 2px 10px #ffffff,
    2px -2px 10px #03008A,
    -2px -2px 10px #03008A;

}

/*トップに戻るボタン*/

.topbutton {
  border-radius: 6px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
}

.topbutton:hover {
  background-color: #555;
}

.c-box {
  display: grid;
  position: relative;
  z-index: 0;
  grid-template-columns: auto auto 1fr;
  width: 100%;
}

.c-box::before {
  content: "";
  background: no-repeat center top / contain url(../img/top/img_marker01.png);
  display: inline-block;
  grid-area: 1 / 1 / 3 / 3;
  position: relative;
  height: 84px;
  width: 48px;
  z-index: 1;
}

.sanpuran > :nth-child(2) .c-box::before {
  background-image: url(../img/top/img_marker02.png);
}

.sanpuran > :nth-child(3) .c-box::before {
  background-image: url(../img/top/img_marker03.png);
}

.c-box__inner {
  grid-area: 2 / 2 / 6 / 4;
  display: flex;
  flex-direction: column;
}

.c-box__content {
  flex-grow: 1;
}

.c-box__heading {
  background-color: #009CCD;
  color: #ffffff;
  padding-block: 16px;
  text-align: center;
}

.p-profile__image {
  inline-size: 100%;
  max-height: 418px;
  max-width: 513px;
  object-fit: contain;
  flex-shrink: 1;
}

.p-profile__content {
  max-width: 463px;
}

@media screen and (min-width: 640px) {
  .sanpuran {
    grid-template-columns: 1fr 1fr;
  }

  .puransikaku {
    grid-template-columns: 40px 1fr;
  }

  .puransikaku:first-child {
    margin-left: -40px;

  }

  .c-box {
    grid-column: 2 / 3;
    max-width: 280px;
  }

  .sample1 {
    font-size: 190%;
  }

  .sample2 {
    font-size: 300%;
  }
}

@media screen and (min-width: 960px) {
  .sanpuran {
    grid-template-columns: auto auto auto;
  }
}