/* フロントページ専用スタイル */
.p-fv {
  bottom: 12vh;
  left: 20px;
  position: absolute;
  z-index: 51;
}

.p-fv__title--main {
  font-size: clamp(24px, 10.7vw, 40px);
  font-style: italic;
  font-weight: 500;
}

.p-fv__title--text:not(:first-child) {
  margin-top: 8px;
}

.p-fv__title--sub {
  background-color: #023e78;
  color: #fff;
  font-size: clamp(12px, 4.3vw, 16px);
  font-weight: 700;
  margin-top: 17px;
}

.p-slider {
  height: 100%;
  margin-left: 41px;
}

.p-swiper {
  height: 100%;
}

.p-slide {
  height: 100%;
  width: 100%;
}

.p-slide__img {
  height: 100%;
  width: 100%;
}

.p-slide__img img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
  object-position: top;
}

.l-content {
  margin-bottom: 100px;
  margin-top: 65px;
}

.l-content__side {
  margin-top: 100px;
}

.l-top__fv {
  height: 100vh;
  margin-top: 15px;
  position: relative;
  z-index: 50;
}

.p-section__title-box {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.p-section__title {
  flex-shrink: 0;
}

.p-section__button {
  padding-bottom: 45px;
  padding-top: 45px;
}

.l-top__about {
  background-image: url("../img/home-about-bg-img.jpg");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 78.7% 43.6%;
  margin-top: 60px;
  position: relative;
}

.p-section__content-about {
  margin-top: 67px;
}

.p-section__card-about__img {
  aspect-ratio: 335/210;
}

.p-section__card-about__img img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.p-section__bg-about {
  background-image: url("../img/home-section-bg-sp.png");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 100%;
  position: absolute;
  top: 110px;
  width: 100%;
  z-index: -1;
}

.l-top__service {
  margin-top: 185px;
  position: relative;
}

.l-top__service-inner {
  margin-inline: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.p-section-service__content {
  margin-inline: auto;
  margin-top: 67px;
  max-width: 480px;
  width: 100%;
}

.p-section-service__cards {
  align-items: self-end;
  display: flex;
  flex-direction: column;
  gap: 75px;
}

.p-section-service__card {
  position: relative;
  width: 95.5%;
}

.p-section-service__card__number {
  aspect-ratio: 103/123;
  position: absolute;
  right: 0;
  top: -55px;
  width: 103px;
}

.p-section-service__card__number img {
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.p-section-service__card-head {
  aspect-ratio: 320/427;
  position: relative;
  z-index: -1;
}

.p-section-service__card-head img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.p-section-service__card-title {
  bottom: 33px;
  left: -15px;
  position: absolute;
}

.p-section-service__card-title h4 {
  color: #023e78;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(20px, 7.5vw, 40px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  width: -moz-fit-content;
  width: fit-content;
}

.p-section-service__card-body {
  margin-top: 14px;
}

.p-section-service__button {
  margin-top: 40px;
}

.p-section__bg-service {
  background-image: url("../img/home-service-bg-sp.png");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  bottom: -110px;
  height: 53.5%;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.l-top__case {
  background-image: url("../img/case-bg-img.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 128px;
}

.l-top__case-inner {
  padding-top: 60px;
}

.p-section-case__contents {
  margin-inline: auto;
  max-width: 390px;
  padding-top: 42px;
}

.p-section-case__cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  row-gap: 46px;
}

.p-section-case__card:hover .p-section-case__arrow {
  color: #fff400;
  transform: translateX(15px);
}

.p-section-case__card-head {
  align-items: center;
  aspect-ratio: 335/251;
  background-color: #fff;
  display: flex;
  justify-content: center;
}

.p-section-case__card-head img {
  aspect-ratio: 160/161;
  width: 60.1%;
}

.p-section-case__card-body {
  margin-top: 14px;
}

.p-section-case__company {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.p-section-case__tag-box {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  width: 100%;
}

.p-section-case__tag-box svg {
  color: #fff;
  transition: all 0.3s ease;
}

.p-section-case__tag {
  border: 1px solid currentColor;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding-bottom: 6px;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 6px;
}

.p-section-case__arrow {
  aspect-ratio: 1/1;
  width: 30px;
}

.p-section-case__button {
  margin-top: 70px;
  padding-bottom: 60px;
}

.l-top__news {
  margin-bottom: 100px;
  margin-top: 60px;
  padding-bottom: 40px;
  position: relative;
}

.p-section-news__contents {
  margin-top: 60px;
  width: 100%;
}

.p-section-news__list {
  background-color: #fff;
  box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.16);
  padding-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 35px;
  width: 100%;
}

.p-section-news__item {
  border-bottom: 1px solid #888888;
  padding-bottom: 25px;
}

.p-section-news__item:not(:first-child) {
  margin-top: 15px;
}

.p-section-news__head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.p-section-news__tag {
  border: 1px solid currentColor;
  color: #e61264;
  display: inline-block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding-bottom: 6px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 6px;
}

.p-section-news__date {
  color: #888888;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.p-section-news__body {
  padding-top: 20px;
}

.p-section-news__title {
  color: #1a1a1a;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.p-section-news__bg {
  background-image: url("../img/home-news-bg-sp.png");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  bottom: -5px;
  height: 83.6%;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.l-breadcrumbs {
  background-color: #fff;
  padding-top: 10px;
}

.l-about__philosophy {
  margin-top: 60px;
}

.l-about__philosophy__list {
  margin-inline: auto;
  max-width: 540px;
  width: 100%;
}

.l-about__philosophy__item {
  height: 100%;
  max-height: 470px;
}

.l-about__philosophy__item:not(:first-child) {
  margin-top: 65px;
}

.l-about__history {
  margin-top: 90px;
}

.l-about__staff {
  margin-bottom: 145px;
  margin-top: 60px;
}

.l-news__title {
  margin-top: 20px;
}

.l-news__thumbnail {
  margin-top: 24px;
}

.l-news__heading--type1 {
  margin-top: 20px;
}

.l-news__text {
  margin-top: 14px;
}

.l-news__heading--type2 {
  margin-top: 30px;
}

.l-news__heading--type3 {
  margin-top: 30px;
}

.l-news__list--bullet {
  margin-top: 14px;
}

.l-news__list--number {
  margin-top: 14px;
}

.l-news__quotation {
  margin-top: 14px;
}

.l-news__pagenation {
  margin-top: 40px;
}

.l-service__contents {
  position: relative;
}

.l-service__list {
  margin-top: 60px;
}

.l-service__item:not(:first-child) {
  margin-top: 80px;
}

.l-service__bg {
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: -2;
}

.l-service__introduction {
  margin-top: 60px;
}

.l-service__qanda {
  margin-top: 60px;
  padding-bottom: 100px;
}

.l-case__category {
  margin-top: 67px;
}

.l-case__contents {
  margin-bottom: 100px;
  margin-top: 60px;
}

.l-case__inner {
  max-width: 615px;
}

.l-case__communication {
  margin-top: 60px;
}

.l-case__program {
  margin-top: 60px;
}

.l-case__button {
  margin-top: 40px;
  text-align: center;
}



.l-download__contents {
  margin-bottom: 100px;
  margin-inline: auto;
  margin-top: 70px;
  max-width: 500px;
  width: 100%;
}

.l-download__right {
  margin-top: 68px;
}

.l-download__materials {
  margin-top: 40px;
}

.l-download__form {
  margin-top: 40px;
}

.l-contact {
  margin-bottom: 100px;
  margin-top: 70px;
}

.l-contact__contents {
  margin-inline: auto;
  max-width: 687px;
}

.l-contact__form {
  margin-top: 40px;
}

.l-contact-thanks {
  margin-bottom: 100px;
  margin-top: 70px;
}

.c-breadcrumb a {
  color: #888888;
  margin-right: 8px;
}

.post-root {
  color: #1a1a1a;
  margin-left: 8px;
}

.c-breadcrumb--current {
  color: #888888;
  margin-right: 8px;
}

.p-section-service__card-title {
  bottom: 33px;
  left: -15px;
  position: absolute;
}

.p-section-service__card-title h3 {
  color: #023e78;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(20px, 7.5vw, 40px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  width: -moz-fit-content;
  width: fit-content;
}

.p-section-service__card-title span {
  background-color: #fff;
  display: block;
  width: fit-content;
}

.p-section-service__button {
  margin-top: 0px;
}

.p-section-case__button {
  margin-top: 20px;
  padding-bottom: 60px;
}

.p-fv__title--sub {
  background-color: #023e78;
  color: #fff;
  font-size: clamp(12px, 4.3vw, 16px);
  font-weight: 700;
  margin-top: 17px;
  width: fit-content;
}

.p-pagenation {
  margin-top: 40px;
}

.p-pagenation__box {
  align-items: center;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.p-pagenation__link {
  background-color: #f8f8f8;
  display: block;
  padding-bottom: 8px;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 8px;
  width: -moz-fit-content;
  width: fit-content;
}

.p-pagenation__text {
  color: #888888;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

.p-pagenation__arrow {
  height: 40px;
  position: relative;
  width: 40px;
}

.p-pagenation__arrow::before {
  background-color: #f8f8f8;
  background-image: url("../img/pagenation-arrow.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 7.5px 12.7px;
  content: "";
  display: inline-block;
  height: 40px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
}

.p-form-privacy-box {
  cursor: pointer;
  padding-left: 38px;
  position: relative;
}

.p-form-privacy-box::before {
  background: #fff;
  border: 1px solid #3e3e3e;
  content: "";
  cursor: pointer;
  display: inline-block;
  height: 28px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
}

.p-form-privacy-box::after {
  background-image: url("../img/privacy-check.png");
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: none;
  height: 15px;
  left: 6px;
  position: absolute;
  top: 6px;
  width: 15px;
}

.p-form-privacy-checkbox:checked + .p-form-privacy-box::after {
  display: block;
}

.p-form-privacy-checkbox:focus + .p-form-privacy-box::before {
  border: 1px solid #023e78;
}

.p-form-button button {
  letter-spacing: 20px;
}

.p-form-select-box::after {
  background-image: url("../img/contact-arrow-icon.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 6.8px;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 10.8px;
}

.u-pagenation--active {
  background-color: #023e78;
}

.u-pagenation--active span {
  color: #ffffff;
}

@media screen and (min-width: 375px) {
  .p-form-privacy-link {
    font-size: 14px;
  }

  .p-form-privacy-text {
    font-size: 14px;
  }
}

@media screen and (min-width: 768px) {
  .p-fv {
    bottom: 14vh;
    left: 50px;
  }

  .p-fv__title--main {
    font-size: clamp(50px, 4.7vw, 120px);
  }

  .p-fv__title--sub {
    font-size: clamp(20px, 1.5vw, 40px);
  }

  .p-slider {
    margin-left: 90px;
  }

  .l-top__about {
    background-size: 39% 100%;
    margin-top: 150px;
    padding-bottom: 93px;
  }
  
  .p-section__content-about {
    margin-top: 28px;
  }

  .p-section__card-about {
    align-items: center;
    display: flex;
    gap: 3.6%;
  }
  
  .p-section__card-about__text {
    width: 34.5%;
  }

  .p-section__card-about__img {
    aspect-ratio: 682/426;
    width: 61.9%;
  }

  .p-section__bg-about {
    background-image: url("../img/home-section-bg-pc.png");
  }

  .l-top__about-inner {
    padding-top: 104px;
  }

  .l-top__service {
    margin-top: 260px;
  }

  .l-top__service-inner {
    max-width: 1180px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .p-section-service__content {
    margin-top: 85px;
    max-width: 100%;
  }

  .p-section-service__cards {
    align-items: flex-start;
    flex-direction: row;
    gap: 6.4%;
  }

  .p-section-service__card:nth-child(2) {
    margin-top: 60px;
  }

  .p-section-service__card:nth-child(3) {
    margin-top: 120px;
  }

  .p-section-service__card-title {
    left: -32px;
  }

  .p-section-service__card-title h3 {
    font-size: clamp(20px, 2.2vw, 30px);
  }

  .p-section-service__button {
    margin-top: 10px;
  }

  .p-section__bg-service {
    background-image: url("../img/home-service-bg-pc.png");
    bottom: -200px;
    height: 79.1%;
  }

  .l-top__case {
    margin-top: 109px;
  }

  .l-top__case-inner {
    padding-bottom: 130px;
    padding-top: 100px;
  }

  .p-section-case__contents {
    max-width: 100%;
    padding-top: 72px;
  }

  .p-section-case__cards {
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 70px;
    column-gap: 70px;
    row-gap: 70px;
  }

  .p-section-case__card-head {
    aspect-ratio: 320/240;
  }

  .p-section-case__card-head img {
    width: 62.3%;
  }

  .l-top__news {
    margin-top: 155px;
  }

  .p-section-news__contents {
    margin-inline: auto;
    margin-top: 80px;
    max-width: 768px;
  }

  .p-section-news__list {
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 80px;
  }

  .p-section-news__item {
    padding-bottom: 30px;
  }

  .p-section-news__item:not(:first-child) {
    margin-top: 28px;
  }

  .p-section-news__tag {
    font-size: 14px;
    padding-bottom: 8px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 8px;
  }

  .p-section-news__title {
    font-size: 16px;
  }

  .p-section-news__bg {
    background-image: url("../img/home-news-bg-pc.png");
    bottom: -249px;
    padding-bottom: 24px;
  }

  .l-about__philosophy {
    margin-top: 70px;
  }

  .l-about__philosophy__list {
    max-width: 1180px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .l-about__philosophy__item:not(:first-child) {
    margin-top: 140px;
  }

  .l-about__history {
    margin-top: 175px;
  }

  .l-about__staff {
    margin-bottom: 187px;
    margin-top: 120px;
  }

  .l-service__inner {
    margin-inline: auto;
    max-width: 1280px;
    padding-left: 50px;
    padding-right: 50px;
  }

  .l-service__list {
    margin-left: auto;
    margin-top: 133px;
  }

  .l-service__item:not(:first-child) {
    margin-top: 248px;
  }

  .l-service__bg {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
  }

  .l-service__qanda {
    margin-top: 160px;
    padding-bottom: 160px;
  }

  .l-case__category {
    margin-top: 77px;
  }

  .l-case__contents {
    margin-bottom: 160px;
    margin-top: 80px;
  }

  .l-case__inner {
    max-width: 100%;
  }

  .l-case__communication {
    margin-top: 80px;
  }

  .l-case__program {
    margin-top: 80px;
  }

  .l-case__button {
    margin-top: 60px;
  }

  .l-download__contents {
    display: flex;
    gap: 3%;
    margin-bottom: 160px;
    margin-inline: 0;
    margin-top: 80px;
    max-width: 100%;
  }

  .l-download__left {
    width: 47.5%;
  }

  .l-download__right {
    margin-top: 0;
    width: 49.5%;
  }

  .l-contact {
    margin-bottom: 160px;
    margin-top: 80px;
  }

  .l-contact__form {
    margin-top: 60px;
  }

  .l-contact-thanks {
    margin-bottom: 160px;
    margin-top: 80px;
  }

  .l-contact-thanks__contents {
    margin-inline: auto;
    padding-right: 65px;
    width: -moz-fit-content;
    width: fit-content;
  }

  .p-section-news__title {
    font-size: 16px;
    padding-right: 40px;
  }

  .p-form-privacy-box {
    padding-left: 42px;
  }

  .p-form-privacy-box::before {
    height: 32px;
    width: 32px;
  }

  .p-form-privacy-box::after {
    left: 8px;
    top: 8px;
  }
}

@media screen and (min-width: 1024px) {
  .l-content {
    margin-top: 75px;
    padding-bottom: 60px;
  }

  .l-content__inner {
    display: flex;
    gap: 3.6%;
  }

  .l-content__main {
    width: 69.1%;
  }

  .l-content__side {
    margin-top: 0;
    width: 27.3%;
  }

  .l-news__heading--type1 {
    margin-top: 40px;
  }

  .l-service__introduction {
    margin-top: 160px;
  }
}

@media screen and (min-width: 1280px) {
  .l-top__fv {
    margin-top: 68px;
  }
}
