/* ==================================
共通
================================== */
:root {
  --color-red: #f01034;
  --color-black: #4c4c4c;
  --color-pink: #fef3f5;
  --color-white: #fff;
  --font-base: "Noto Sans JP", sans-serif;
  --font-mon: "Montserrat", sans-serif;
}

body {
  color: var(--color-black);
  font-family: var(--font-base);
}
html {
  scroll-padding-top: 169px;
  scroll-behavior: smooth;
}
@media screen and (max-width: 840px) {
  html {
    scroll-padding-top: 46px;
  }
}
.l-container {
  inline-size: min(100%, 1160px);
  margin-inline: auto;
}
.l-container-large {
  inline-size: min(100%, 1430px);
  margin-inline: auto;
}
@media screen and (max-width: 840px) {
  .l-container-large {
    padding-inline: 16px;
  }
}
img {
  width: 100%;
  height: auto;
}
/* ==================================
タイトル
================================== */

.section__title {
  font-size: clamp(24px, calc(0.71vw + 21.33px), 35px);
  font-weight: 900;
  text-align: center;
  display: inline-block;
  letter-spacing: 0.05rem;
  position: relative;
  color: var(--color-black);
  padding-inline: clamp(24px, calc(1.68vw + 17.69px), 50px);
}

@media screen and (max-width: 840px) {
  .section__title {
    margin-inline: 16px;
  }
}

.section__title .logo {
  display: inline-block;
  max-width: clamp(221px, calc(3.5vw + 207.89px), 275px);
  margin-inline-end: 20px;
}
@media screen and (max-width: 840px) {
  .section__title .logo {
    margin-inline-end: 5px;
  }
}
.section__title:before,
.section__title:after {
  content: "";
  width: 6px;
  height: 44px;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (max-width: 840px) {
  .section__title:before,
  .section__title:after {
    height: 55px;
  }
}
.section__title:before {
  left: 0;
}
.section__title:after {
  right: 0;
}

.section__title--black::before,
.section__title--black::after {
  background-color: var(--color-black);
}
.section__title--red::before,
.section__title--red::after {
  background-color: var(--color-red);
}

.section__lead {
  font-size: 18px;
  font-weight: 500;
  font-feature-settings: "palt";
  text-align: center;
}
/* ==================================
ボタン
================================== */
.c-button {
  border-radius: 100vw;
  text-align: center;
  position: relative;
  padding-block: 1.4rem;
  padding-inline: 5.2rem;
  transition: 0.3s ease;
  font-weight: 700;
  font-size: clamp(18px, calc(0.13vw + 17.51px), 20px);
}
.c-button--red {
  background-color: var(--color-red);
}

.c-button--red:hover {
  outline: solid 2px var(--color-red);
  background-color: var(--color-white);
}

.c-button .text {
  display: inline-block;
  padding-right: 24px;
  position: relative;
}

.c-button--red:hover .text {
  color: var(--color-red);
}
.c-button--red .text {
  color: var(--color-white);
}
.c-button--red .text:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}
.c-button--red:hover .text:after {
  border-top: 2px solid var(--color-red);
  border-right: 2px solid var(--color-red);
}

.c-hover {
  transition: 0.3s ease;
}

.c-hover:hover {
  transform: translateY(-10px);
}
/* ==================================
FV
================================== */
.fv {
  max-width: 1920px;
  margin-inline: auto;
  height: clamp(340px, calc(41vw + -1px), 778px);
}
@media screen and (max-width: 840px) {
  .fv {
    height: auto;
    background-image: url(../img/fv-bg-sp.webp);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

.fv__inner {
  position: relative;
  height: inherit;
}
.fv__bg--pc {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: inherit;
}
@media screen and (max-width: 840px) {
  .fv__bg--pc {
    display: none;
  }
}
.fv-title {
  position: absolute;
  top: clamp(30px, calc(22.5vw + -294px), 138px);
  left: clamp(268px, calc(36.04vw + -251px), 441px);
}

@media screen and (min-width: 1281px) and (max-width: 1440px) {
  .fv-title {
    left: clamp(255px, calc(28.3vw + -107.55px), 300px);
  }
}
@media screen and (min-width: 841px) and (max-width: 1280px) {
  .fv-title {
    left: clamp(120px, calc(31vw + -141px), 256px);
  }
}

@media screen and (max-width: 840px) {
  .fv-title {
    padding-inline: 36px;
    padding-block-start: 12px;
    position: relative;
    z-index: 2;
    left: auto;
  }
}
.fv-detail {
  position: absolute;
  top: clamp(15px, calc(8.96vw + -114px), 58px);
  width: 100%;
  padding-inline-start: 55px;
  padding-inline-end: clamp(39.99px, calc(19.79vw + -245.04px), 135px);
  max-width: clamp(700px, calc(35.63vw + 187px), 871px);
  right: 0;
}
@media screen and (min-width: 1281px) and (max-width: 1440px) {
  .fv-detail {
    max-width: clamp(550px, calc(16.69vw + 409.6px), 650px);
  }
}
@media screen and (min-width: 841px) and (max-width: 1280px) {
  .fv-detail {
    max-width: clamp(400px, calc(34vw + 113px), 550px);
  }
}

@media screen and (max-width: 840px) {
  .fv-detail {
    position: relative;
    z-index: 2;
    margin-inline: auto;
    right: auto;
    padding-inline: 16px;
  }
}
.fv-detail__image {
  display: inline-block;
  max-width: clamp(400px, calc(58.54vw + -443px), 681px);
}

@media screen and (max-width: 840px) {
  .fv-detail__image {
    display: inline-block;
    width: 82%;
  }
}

.fv-detail__head {
  display: block;
  margin: 0 auto;
  padding-inline: 18px;
  max-width: clamp(350px, calc(51.88vw + -397px), 599px);
}

@media screen and (max-width: 1280px) {
  .fv-detail__head {
    display: none;
  }
}
.fv-detail__card {
  background-color: var(--color-white);
  padding: 35px;
  margin-block-start: 15px;
  box-shadow: 3px 4px 8px rgba(0, 0, 0, 0.25);
}
@media screen and (min-width: 841px) and (max-width: 1280px) {
  .fv-detail__card {
    padding: 6px 10px;
  }
}
@media screen and (max-width: 840px) {
  .fv-detail__card {
    margin-block-start: 0;
    margin-top: -15px;
    padding: 5px 15px;
  }
}
.fv-detail__list {
  padding-block-start: 12px;
}
@media screen and (max-width: 840px) {
  .fv-detail__list {
    padding-block-start: 0;
  }
}
.fv-detail__item {
  padding-block: 14px;
  border-bottom: solid 1px #cfcfcf;
}
@media screen and (min-width: 841px) and (max-width: 1440px) {
  .fv-detail__item {
    padding-block: clamp(5px, calc(1.5vw + -7.64px), 14px);
  }
}
@media screen and (max-width: 840px) {
  .fv-detail__item {
    padding-block: 7px;
  }
}
.fv-detail__item:first-child {
  padding-block-start: 0;
}
.fv-detail__item:last-child {
  border-bottom: none;
  padding-block-end: 0;
}

.fv-detail__text {
  position: relative;
  padding-inline-start: 30px;
  line-height: 1.5;

  font-size: clamp(12px, calc(0.19vw + 11.27px), 15px);
  font-weight: 700;
}
@media screen and (max-width: 840px) {
  .fv-detail__text {
    line-height: 1.5;
  }
}
.fv-detail__text:before {
  content: "";
  width: 20px;
  display: block;
  height: 20px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-image: url(../img/icon-check-red.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
@media screen and (max-width: 840px) {
  .fv-detail__text:before {
    top: 30%;
  }
}
.fv-detail__item .color {
  color: var(--color-red);
}

.fv-title__image {
  max-width: clamp(391px, calc(28.13vw + -14px), 526px);
  display: inline-block;
}
@media screen and (min-width: 841px) and (max-width: 1440px) {
  .fv-title__image {
    max-width: clamp(216px, calc(29.22vw + -29.7px), 391px);
  }
}
.fv-title__detail {
  margin-block-start: 35px;
  color: var(--color-white);
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
  font-size: clamp(14px, calc(0.26vw + 13.03px), 18px);
}

@media screen and (min-width: 841px) and (max-width: 1440px) {
  .fv-title__detail {
    font-size: clamp(10px, calc(1vw + 6px), 13px);
  }
}
@media screen and (max-width: 840px) {
  .fv-title__detail {
    margin-block-start: 10px;
    font-size: 14px;
  }
}
.fv-title__cta {
  display: inline-block;
  margin-block-start: 76px;
  max-width: 472px;
}
@media screen and (min-width: 841px) and (max-width: 1440px) {
  .fv-title__cta {
    margin-block-start: clamp(20px, calc(9.35vw + -58.62px), 76px);

    max-width: clamp(300px, calc(28.71vw + 58.51px), 472px);
  }
}
@media screen and (max-width: 840px) {
  .fv-title__cta {
    margin-block-start: 9px;
    padding-inline: 18px;
  }
}
.fv-title__sp {
  display: none;
}

@media screen and (max-width: 840px) {
  .fv-title__sp {
    display: block;
    width: 92%;
    margin: 0 auto;
  }
}

.fv-jpx {
  position: absolute;
  bottom: 2%;
  right: clamp(16px, calc(3.17vw + 4.11px), 65px);
  display: flex;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width: 840px) {
  .fv-jpx {
    position: relative;
    bottom: auto;
    right: auto;
    padding-inline-end: 16px;
    margin-block: 27px 17px;
    justify-content: flex-end;
    background-color: var(--color-white);
  }
}
.fv-jpx__text {
  display: inline-block;
  font-size: clamp(14px, calc(0.13vw + 13.51px), 16px);
  font-weight: 500;
}
.fv-jpx__logo {
  max-width: 50px;
}

/* ==================================
お悩み
================================== */
.trouble {
  background-color: #f9f3e7;
}

.trouble__inner {
  position: relative;
  padding-block: 96px 70px;
}
@media screen and (max-width: 840px) {
  .trouble__inner {
    padding-block: 90px 44px;
  }
}
.trouble__list {
  position: relative;
  min-height: 437px;
  z-index: 2;
  margin-block-start: 76px;
}

@media screen and (max-width: 840px) {
  .trouble__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 54px;
    margin-block-start: 49px;
  }
}
.trouble-item {
  background-color: var(--color-white);
  border-radius: 15px;
  padding: 0 43px;
  align-content: center;
  position: relative;
  min-height: 175px;
  max-width: 490px;
  box-shadow: 0px 1px 14px #938a8a;
}
.trouble-item:first-child {
  padding: 0 14px 0 43px;
}
@media screen and (max-width: 840px) {
  .trouble-item:first-child {
    padding: 24px 16px;
  }
}
@media screen and (max-width: 840px) {
  .trouble-item {
    min-height: auto;
    padding: 24px 16px;
  }
}
.trouble-item:after {
  content: "";
  position: absolute;
  width: 90px;
  height: 78px;
  background-image: url(../img/trouble-balloon.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.trouble-item:first-child:after {
  bottom: -78px;
  right: 32%;
}

@media screen and (max-width: 840px) {
  .trouble-item:first-child:after {
    bottom: -56px;
    left: 11px;
  }
}
.trouble-item:first-child {
  position: absolute;
  left: 13%;
  top: 0;
}

@media screen and (max-width: 840px) {
  .trouble-item:first-child {
    position: relative;
    left: auto;
  }
}
.trouble-item:nth-child(2) {
  position: absolute;
  right: 14%;
  top: 0;
}

@media screen and (max-width: 840px) {
  .trouble-item:nth-child(2) {
    position: relative;
    right: auto;
  }
}

.trouble-item:nth-child(2):after {
  bottom: -78px;
  left: 48%;
  transform: scale(-1, 1);
}

@media screen and (max-width: 840px) {
  .trouble-item:nth-child(2):after {
    bottom: -54px;
    right: 0;
    left: auto;
  }
}
.trouble-item:nth-child(3) {
  position: absolute;
  left: 4%;
  bottom: 0;
  max-width: 425px;
}
@media screen and (max-width: 840px) {
  .trouble-item:nth-child(3) {
    position: relative;
    left: auto;
  }
}

.trouble-item:nth-child(3):after {
  bottom: -72px;
  right: -10%;
}
@media screen and (max-width: 840px) {
  .trouble-item:nth-child(3):after {
    bottom: -55px;
    left: 3%;
  }
}
.trouble-item:last-child {
  position: absolute;
  right: 4%;
  bottom: 0;
  max-width: 435px;
}

@media screen and (max-width: 840px) {
  .trouble-item:last-child {
    position: relative;
    right: auto;
  }
}

.trouble-item:last-child:after {
  bottom: -70px;
  left: -9%;
  transform: scale(-1, 1);
}
@media screen and (max-width: 840px) {
  .trouble-item:last-child:after {
    bottom: -55px;
    right: 0;
    left: auto;
  }
}

.trouble-item__body {
  display: flex;
  gap: 15px;
}
.trouble-item__icon {
  max-width: 50px;
  flex-shrink: 0;
}

.trouble-item__title {
  font-weight: 700;
  font-size: clamp(16px, calc(0.13vw + 15.51px), 18px);
}
@media screen and (max-width: 840px) {
  .trouble-item__title {
    line-height: 1.7;
  }
}

.trouble-item__detail {
  font-size: clamp(14px, calc(0.13vw + 13.51px), 16px);
  line-height: 1.5;
  margin-block-start: 15px;
}

@media screen and (max-width: 840px) {
  .trouble-item__detail {
    margin-block-start: 21px;
  }
}

.trouble-bottom__image {
  position: absolute;
  bottom: 30px;
  left: 50%;
  width: 100%;
  z-index: 1;
  transform: translateX(-50%);
}

@media screen and (max-width: 840px) {
  .trouble-bottom__image {
    position: static;
  }
}

/* ==================================
研修の対象となる方
================================== */

.target__inner {
  padding-block: 120px 170px;
}
@media screen and (max-width: 840px) {
  .target__inner {
    padding-block: 91px 76px;
  }
}
.target__list {
  margin-block-start: 40px;
  display: flex;
  gap: 25px 23px;
  flex-wrap: wrap;
}

@media screen and (max-width: 840px) {
  .target__list {
    margin-block-start: 51px;

    gap: 28px 14px;
  }
}
.target__item {
  width: calc(100% / 5 - 19px);
  color: var(--color-black);
  font-size: clamp(16px, calc(0.26vw + 15.03px), 20px);
  font-weight: 700;
  border-radius: 13px;
  background-color: var(--color-white);
  line-height: 1;
  position: relative;
  text-align: center;
  padding-block: 15px;
  box-shadow: 5px 5px var(--color-red);
  outline: solid 2px var(--color-red);
}
@media screen and (max-width: 840px) {
  .target__item {
    width: calc(100% / 2 - 7px);
  }
}
.target-head {
  background-color: var(--color-pink);
  padding-block: 60px;
  padding-inline: 80px;
  margin-block-start: 120px;
}
@media screen and (max-width: 840px) {
  .target-head {
    padding-block: 40px;
    padding-inline: 21px;
    margin-block-start: 65px;
  }
}

.target-head__cta {
  display: inline-block;
  max-width: 405px;
  margin-inline-end: 20px;
}

@media screen and (max-width: 840px) {
  .target-head__cta {
    display: inline;

    margin-inline-end: 0;
  }
}
.target-head__text {
  font-size: clamp(16px, calc(0.13vw + 15.51px), 18px);
  line-height: 1.5;
  display: inline-block;
  font-weight: 500;
}
@media screen and (max-width: 840px) {
  .target-head__text {
    text-align: center;
    margin-block-start: 20px;
    line-height: 1.8;
  }
}
.target-head__text .color {
  color: var(--color-red);
  font-size: clamp(20px, calc(0.19vw + 19.27px), 23px);
  font-weight: 700;
}

.target-head__list {
  background-color: var(--color-red);
  border-radius: 10px;
  display: flex;
  padding-block: 15px;
  justify-content: space-between;
  margin-block-start: 37px;
}

@media screen and (max-width: 840px) {
  .target-head__list {
    flex-direction: column;
    padding-block: 32px;
    border-radius: 0;
    padding-inline: 40px;
    margin-block-start: 12px;
  }
}
.target-head__item {
  width: calc(100% / 4);
  text-align: center;
  position: relative;
}

@media screen and (max-width: 840px) {
  .target-head__item {
    width: 100%;
    padding-block: 10px;
    text-align: left;
    border-bottom: solid 1px var(--color-white);
  }
  .target-head__item:last-child {
    border-bottom: 0;
    padding-block-end: 0;
  }
  .target-head__item:first-child {
    padding-block-start: 0;
  }
}
.target-head__item:after {
  content: "";
  width: 1px;
  height: stretch;
  background-color: var(--color-white);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.target-head__item:last-child::after {
  display: none;
}

@media screen and (max-width: 840px) {
  .target-head__item:after {
    display: none;
  }
}

.target-head__item a {
  display: inline-block;
  color: var(--color-white);
  font-size: 16px;
  text-align: center;
  font-weight: 500;
  position: relative;
}
@media screen and (max-width: 840px) {
  .target-head__item a {
    text-align: left;
    display: block;
  }
}
.target-head__item a:after {
  content: "";
  width: 12px;
  height: 10px;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -20px;
  background-color: var(--color-white);
  clip-path: polygon(50% 10px, 0% 0%, 12px 0%);
}
@media screen and (max-width: 840px) {
  .target-head__item a:after {
    right: 0;
  }
}
/* ==================================
人気な理由
================================== */
.reason__inner {
  padding-block-end: 170px;
}
@media screen and (max-width: 840px) {
  .reason__inner {
    padding-block-end: 196px;
  }
}
.reason__title {
  font-size: clamp(20px, calc(0.97vw + 16.36px), 35px);
}
.reason-head {
  display: flex;
  align-items: center;
  gap: 73px;
  justify-content: space-between;
  margin-block-start: 45px;
}

@media screen and (max-width: 840px) {
  .reason-head {
    flex-direction: column;
    gap: 24px;
  }
}
@media screen and (max-width: 840px) {
  .reason-head__body {
    text-align: center;
  }
}
.reason-head__image {
  max-width: 580px;
}

.reason-head__logo {
  max-width: clamp(182px, calc(6.99vw + 155.79px), 290px);
  display: inline-block;
}

.reason-head__text {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  margin-block-start: 55px;
}
@media screen and (max-width: 840px) {
  .reason-head__text {
    margin-block-start: 19px;
  }
}
.reason__list {
  display: flex;
  gap: 53px;
  flex-wrap: wrap;
  margin-block-start: 53px;
}

@media screen and (max-width: 840px) {
  .reason__list {
    flex-direction: column;
    padding-inline: 16px;
    gap: 24px;
  }
}

.reason__item {
  background-color: var(--color-white);
  box-shadow: 0px 2px 11px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-block: 60px;
  padding-inline: 33px;
  width: calc(100% / 2 - 27px);
}

@media screen and (max-width: 840px) {
  .reason__item {
    width: 100%;
    padding-block: 46px 24px;
    padding-inline: 24px;
  }
}
.reason__item:before {
  content: "";
  width: 100%;
  height: 8px;
  background-color: var(--color-red);
  position: absolute;
  top: 0;
  left: 0;
}

.reason__item:after {
  content: "";
  position: absolute;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media screen and (max-width: 840px) {
  .reason__item:after {
    background-position: top;
  }
}

.reason__item--01:after {
  right: 21px;
  top: 30px;
  width: clamp(83px, calc(3vw + 72px), 128px);
  height: 138px;
  background-image: url(../img/reason-01.webp);
}
.reason__item--02:after {
  right: 30px;
  top: 47px;
  width: clamp(87px, calc(5vw + 66px), 169px);
  height: 114px;
  background-image: url(../img/reason-02.webp);
}
@media screen and (max-width: 840px) {
  .reason__item--02:after {
    top: 20px;
  }
}
.reason__item--03:after {
  right: 18px;
  top: 21px;
  width: clamp(82px, calc(4vw + 67px), 141px);
  height: 110px;
  background-image: url(../img/reason-03.webp);
}
@media screen and (max-width: 840px) {
  .reason__item--03:after {
    top: 20px;
  }
}
.reason__item--04:after {
  right: 17px;
  top: 33px;
  width: clamp(170px, calc(7vw + 142px), 280px);

  height: 74px;
  background-image: url(../img/reason-04.webp);
}
@media screen and (max-width: 840px) {
  .reason__item--04:after {
    top: 30px;
  }
}
.reason__annotation {
  position: absolute;
  right: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  text-align: right;
  bottom: -30px;
}

@media screen and (max-width: 840px) {
  .reason__annotation {
    right: 7%;
    bottom: -39px;
  }
}
.reason__number {
  color: var(--color-red);
  font-size: clamp(32px, calc(1.5vw + 26.14px), 55px);
  font-weight: 700;
  font-family: var(--font-mon);
  line-height: 1;
}
.reason-item__title {
  font-size: clamp(20px, calc(0.26vw + 19.03px), 24px);
  line-height: 1.5;
  color: #111827;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 840px) {
  .reason-item__title {
    margin-block-start: 14px;
    line-height: 1.6;
  }
}
.reason__text {
  margin-block-start: 25px;
  font-size: 15px;
  font-weight: 500;
  color: #4c4c4c;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 840px) {
  .reason__text {
    line-height: 1.7;
  }
}

/* ==================================
導入企業ロゴ
================================== */
.client {
  overflow: hidden;
}
.client__lead {
  margin-block-start: 40px;
}
@media screen and (max-width: 840px) {
  .client__lead {
    margin-block-start: 22px;
  }
}
.client__annotation {
  font-size: 10px;
  display: inline-block;
  line-height: 1.5;
  text-align: left;
  margin-block: 35px 45px;
}
@media screen and (max-width: 840px) {
  .client__annotation {
    padding-inline: 16px;
    margin-block: 35px 0;
  }
}
@media screen and (max-width: 840px) {
  #TopClient {
    padding-bottom: 0;
  }
}
/* ==================================
事例
================================== */
.case__inner {
  padding-block: 170px 180px;
}
@media screen and (max-width: 840px) {
  .case__inner {
    padding-block: 80px 180px;
  }
}
.case__lead {
  margin-block-start: 40px;
}
@media screen and (max-width: 840px) {
  .case__lead {
    margin-block-start: 22px;
  }
}

.case__list {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  max-width: 900px;
  margin-block: 60px;
  margin-inline: auto;
}
@media screen and (max-width: 840px) {
  .case__list {
    flex-direction: column;
    margin-block: 42px 57px;
    max-width: 500px;
  }
}

.case-item {
  width: calc(100% / 2 - 13px);
  border-radius: 17px;
  overflow: hidden;
  background-color: var(--color-white);
  box-shadow: 3.33095px 6.66189px 29.9785px rgba(0, 0, 0, 0.12);
}

@media screen and (max-width: 840px) {
  .case-item {
    width: 100%;
  }
}

.case-item__body {
  position: relative;
  padding-block: 34px;
  padding-inline: 11px;
}

@media screen and (max-width: 840px) {
  .case-item__body {
    padding-block: 34px 22px;
  }
}

.case-item__label {
  background-color: var(--color-red);
  color: var(--color-white);
  font-size: clamp(16px, calc(0.19vw + 15.27px), 19px);
  font-weight: 700;
  text-align: center;
  line-height: 1;
  padding-block: 5px;
  padding-inline: 18px;
  position: absolute;
  top: -20px;
  left: 0;
}
@media screen and (max-width: 840px) {
  .case-item__label {
    top: -15px;
  }
}

.case-item__title {
  font-size: clamp(16px, calc(0.26vw + 14.98px), 20px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-red);
  padding-block-end: 15px;
  border-bottom: solid 1px var(--color-black);
}
@media screen and (max-width: 840px) {
  .case-item__title {
    line-height: 1.4;
  }
}
.case-item__company {
  font-size: clamp(14px, calc(0.19vw + 13.27px), 17px);
  color: #616161;
  font-weight: 700;
  margin-block-start: 15px;
}
@media screen and (max-width: 840px) {
  .case-item__company {
    margin-block-start: 8px;
  }
}

/* ==================================
選ばれる理由
================================== */
.about {
  background-image: url(../img/about-bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-block-end: clamp(80px, calc(5vw + 60px), 160px);
}
.about__inner {
  padding-block: 130px 113px;
}
@media screen and (max-width: 840px) {
  .about__inner {
    padding-block: 80px;
  }
}
.about__title {
  font-size: clamp(20px, calc(0.98vw + 16.18px), 35px);
}
@media screen and (max-width: 840px) {
  .section__title {
    margin-inline: auto;
  }
}

.about__lead {
  margin-block-start: clamp(24px, calc(1vw + 20px), 40px);
}

.about-card {
  margin-block-start: 25px;
}
.about-card__item {
  background-color: var(--color-white);
  padding: 40px 50px;
  position: relative;
}

@media screen and (max-width: 840px) {
  .about-card__item {
    pad: 50px 24px;
  }
}
.about-card__item--smb.about-card__item {
  padding: 70px 50px 50px 50px;
}
@media screen and (max-width: 840px) {
  .about-card__item--smb.about-card__item {
    padding: 50px 24px;
  }
}
.about-card__item--lecturer {
  outline: solid 3px var(--color-red);
}
@media screen and (max-width: 840px) {
  .about-card__item--lecturer {
    margin-block-end: 40px;
  }
}

.about-card__item--smb {
  outline: solid 3px #4481eb;
}
.about-card__title {
  font-size: 25px;
  text-align: center;
  font-weight: 900;
  color: var(--color-white);
  position: absolute;
  display: inline-block;
  top: -30px;
  left: -3px;
  width: 100%;
  max-width: 300px;
  display: inline-block;
  padding-block: 10px;
}

@media screen and (max-width: 840px) {
  .about-card__title {
    display: none;
  }
}

.about-card__body {
  text-align: left;
}
.about-card__item--lecturer .about-card__title {
  background-color: #c3364c;
}
.about-card__item--smb .about-card__title {
  background-color: #4481eb;
}

.about-card__subtitle {
  font-weight: 900;
  line-height: 1.5;
  display: inline-block;
}

.about-card__item--lecturer .about-card__subtitle {
  font-size: 30px;
  padding-inline-end: 80px;
  color: #c3364c;
}
@media screen and (max-width: 840px) {
  .about-card__item--lecturer .about-card__subtitle {
    padding-inline-end: 0;
  }
}
.about-card__item--smb .about-card__subtitle {
  font-size: 25px;
  color: #4481eb;
}
.about-card__item--smb .about-card__title img {
  max-width: 250px;
}
.about-card__text {
  font-size: 20px;
  font-weight: 500;
  display: inline-block;
}

.about-card__text .color {
  font-weight: 700;
}

.about-card__item--lecturer .about-card__text .color {
  color: #c3364c;
}
@media screen and (max-width: 840px) {
  .about-card__item--lecturer .about-card__text {
    margin-block-start: 10px;
  }
}

.about-card__item--smb .about-card__text .color {
  color: #4481eb;
}
.about-card__item--smb .about-card__text {
  margin-block-start: 20px;
}
@media screen and (max-width: 840px) {
  .about-card__item--smb .about-card__text {
    margin-block-start: 10px;
  }
}

.about-card__item--smb .about-card__body {
  width: calc(100% / 2);
  display: inline-block;
}
@media screen and (max-width: 840px) {
  .about-card__item--smb .about-card__body {
    width: 100%;
  }
}
.about-card__flex {
  display: flex;
  gap: 80px;
}
@media screen and (max-width: 840px) {
  .about-card__flex {
    flex-direction: column;
    gap: 48px;
  }
}
.about-card__mark {
  width: 78px;
  height: 78px;
  position: relative;
  margin-inline: auto;
  margin-block: 45px;
}

@media screen and (max-width: 840px) {
  .about-card__mark {
    display: none;
  }
}

.about-card__mark span {
  width: 10px;
  height: 100px;
  background-color: #e1939f;
  position: absolute;
  left: 45%;
  top: -12px;
  transform: translateX(-50%);
}
.about-card__mark span:first-child {
  transform: rotate(45deg);
}
.about-card__mark span:last-child {
  transform: rotate(-45deg);
}

.about-card__lead {
  margin-block-start: clamp(27px, calc(3vw + 16px), 70px);
  text-align: center;
  line-height: 1.5;
  font-weight: 900;
  font-size: 30px;
}

.about__cta {
  margin-block-start: clamp(24px, calc(1vw + 20px), 40px);
  width: 100%;
  display: inline-block;
  max-width: 472px;
}
/* ==================================
フロー
================================== */
.flow-step {
  display: flex;
  width: 100%;
  max-width: 1027px;
  margin-inline: auto;
  position: relative;
  justify-content: space-between;
  margin-block-start: 100px;
}
@media screen and (max-width: 840px) {
  .flow-step {
    max-width: none;
    width: 45px;
    margin-inline: 0;
    margin-block-start: 0;
    height: 977px;
    flex-direction: column;
  }
}
.flow-step::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--color-red);
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}
@media screen and (max-width: 840px) {
  .flow-step::before {
    height: 100%;
    width: 3px;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(0);
  }
}
.flow-step__number {
  font-size: clamp(20px, calc(0.32vw + 18.79px), 25px);
  color: var(--color-red);
  font-weight: 700;
  font-family: var(--font-mon);
  text-align: center;
  border-radius: 50%;
  background-color: var(--color-white);
  outline: solid 3px var(--color-red);
  width: 43px;
  height: 43px;
  position: relative;
  z-index: 2;
  line-height: 43px;
}
@media screen and (max-width: 840px) {
  .flow-step__number:nth-child(2) {
    margin-block-start: 74px;
  }
}
.flow__lead {
  margin-block-start: 40px;
}
@media screen and (max-width: 840px) {
  .flow__lead {
    margin-block-start: 22px;
  }
}
@media screen and (min-width: 501px) and (max-width: 840px) {
  .flow__body {
    display: flex;
    margin-block-start: 40px;
    max-width: 500px;
    margin-inline: auto;
    justify-content: center;
  }
}
@media screen and (max-width: 500px) {
  .flow__body {
    display: flex;
    margin-block-start: 40px;
  }
}
.flow__list {
  display: flex;
  justify-content: space-between;
  margin-block-start: 23px;
}

@media screen and (max-width: 840px) {
  .flow__list {
    flex-direction: column;
    gap: 30px;
    padding-inline-start: 43px;
    margin-block-start: 8px;
  }
}
.flow-item {
  width: calc(100% / 4 - 20px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 840px) {
  .flow-item {
    width: 74%;
  }
}

.flow-item__image {
  display: block;
}

.flow-item:first-child .flow-item__image {
  max-width: 160px;
}
@media screen and (max-width: 840px) {
  .flow-item:first-child .flow-item__image {
    margin-block-start: 20px;
  }
}

.flow-item:nth-child(2) .flow-item__image {
  max-width: 266px;
}
@media screen and (max-width: 840px) {
  .flow-item:nth-child(2) .flow-item__image {
    margin-block-start: 22px;
  }
}
.flow-item:nth-child(3) .flow-item__image {
  max-width: 255px;
}
@media screen and (max-width: 840px) {
  .flow-item:nth-child(3) .flow-item__image {
    margin-block-start: 20px;
  }
}

.flow-item:last-child .flow-item__image {
  max-width: 276px;
}
@media screen and (max-width: 840px) {
  .flow-item:last-child .flow-item__image {
    margin-block-start: 20px;
  }
}

.flow-item__title {
  font-size: clamp(20px, calc(0.32vw + 18.79px), 25px);
  font-weight: 700;
  flex-grow: 1;
  line-height: 2;
  letter-spacing: 0.03rem;
  color: #4c4c4c;
}
.flow-item__text {
  font-weight: 500;
  line-height: 1.5;
  font-size: 16px;
  color: #4c4c4c;
  margin-block-start: 15px;
}

/* ==================================
お問い合わせ
================================== */
.contact__inner {
  padding-block: 180px;
}

@media screen and (max-width: 840px) {
  .contact__inner {
    padding-block: 132px 96px;
  }
}

.contact__body {
  background-color: var(--color-pink);
  padding-inline: 165px 128px;
  padding-block: 70px;
  display: grid;
  grid-template-rows: auto auto auto;
  grid-template-columns: 155px auto;
  column-gap: 120px;
  align-items: center;
  margin-block-start: 45px;
}

@media screen and (max-width: 840px) {
  .contact__body {
    padding-block: 78px 44px;
    padding-inline: 16px;
    row-gap: 35px;
    grid-template-rows: auto auto auto auto;
    grid-template-columns: 1fr;
    justify-items: center;
    margin-block-start: 40px;
  }
}

.contact__text {
  text-align: left;
  grid-column: 2/4;
  grid-row: 1/3;
}

@media screen and (max-width: 840px) {
  .contact__text {
    display: contents;
  }
}

.contact__image {
  grid-column: 1/2;
  grid-row: 1/3;
}

@media screen and (max-width: 840px) {
  .contact__image {
    grid-column: 1/2;
    grid-row: 2/3;
    max-width: 155px;
  }
}

.contact__subtitle {
  font-weight: 700;
  font-size: clamp(20px, calc(0.33vw + 18.73px), 25px);
}

@media screen and (max-width: 840px) {
  .contact__subtitle {
    grid-column: 1/2;
    grid-row: 1/2;
  }
}

.contact__detail {
  font-size: 18px;
  font-weight: 500;
  margin-block-start: 13px;
}
@media screen and (max-width: 840px) {
  .contact__detail {
    grid-column: 1/2;
    grid-row: 3/4;
    font-size: 16px;
  }
}
.contact__cta {
  max-width: 472px;
  display: inline-block;
  margin-block-start: 28px;
}

@media screen and (max-width: 840px) {
  .contact__cta {
    grid-column: 1/2;
    grid-row: 4/5;
    margin-block-start: 0;
    padding-inline: 16px;
  }
}
