/* ========== Title Section ========== */
.c-title-main span {
  font-size: clamp(32px, 13vw, 120px) !important;
}

/* ========== Purpose Top Block ========== */
.c-content-top {
  text-align: center;
  font-weight: 700;
  padding-top: 100px;
}

.c-c-top-prettl {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 24px;
  color: #272727;
  margin-top: 25px;
}

.s .c-c-top-prettl {
  font-size: 18px;
}

.c-c-top-ttl {
  font-family: "Montserrat", sans-serif;
  font-size: 80px;
  color: #fd0200;
  margin-top: 7px;
}

.c-c-top-subttl {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 60px;
  line-height: 180%;
  color: #fd0200;
  margin-top: 10px;
  letter-spacing: -6%;
}

.purpose_img {
  padding-top: 40px;
  width: 100%;
}

/* middle */
.purpose-middle-section {
  position: relative;
  overflow: hidden;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  margin-top: 70px;
  padding-bottom: 100px;
}
.s .purpose-middle-section {
  padding: 0 30px;
  margin-top: 0;
}

.purpose-middle-section .section-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  min-height: 760px;
  margin: 0 auto;
}
.s .purpose-middle-section .section-inner {
  margin: 0 0;
}

.purpose-middle-section .earth-bg {
  position: absolute;
  inset: 0;
  background: url("../../images/purpose/middle-bg.webp") center 100px / 100% auto no-repeat;
  z-index: 0;
}
.s .purpose-middle-section .earth-bg {
  background: url("../../images/purpose/middle-bg-sp.webp") center 240px / 100% auto no-repeat;
}

.purpose-middle-section .arrow-bg {
  position: absolute;
  top: 130px;
  left: 43%;
  width: 840px;
  height: 800px;
  transform: translateX(-50%);
  background: url(../../images/purpose/middle-arrow.webp) center / contain no-repeat;
}
.s .purpose-middle-section .arrow-bg {
  background: url("../../images/purpose/middle-arrow-sp.webp") center / contain no-repeat;
  z-index: -1;
  top: unset;
  left: unset;
  transform: unset;
  width: 100%;
  height: 104%;
}

.purpose-middle-section .card-icon {
  position: absolute;
  top: -12px;
}

.s .purpose-middle-section .card-icon {
  position: static;
  top: unset;
}

.purpose-middle-section .card-icon img {
  width: 126px;
}

.s .purpose-middle-section .card-icon img {
  width: 80px;
}

.purpose-middle-section .card-txt {
  margin-left: 140px;
}

.s .purpose-middle-section .card-txt {
  margin-left: 0;
  width: 223px;
}

.purpose-middle-section .purpose-card {
  position: absolute;
  padding: 0px 15px 20px 30px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
}
.s .purpose-middle-section .purpose-card {
  position: unset;
  padding: 20px 0 20px 15px;
}

.purpose-middle-section .purpose-main {
  top: 0;
  left: 50%;
  width: 770px;
  transform: translateX(-50%);
  border: 1px solid #fff;
  margin-top: 20px;
}
.s .purpose-middle-section .purpose-main {
  width: 100%;
  transform: none;
  left: 0;
}

.purpose-middle-section .purpose-ism {
  top: 324px;
  right: max(44px, min(3vw, 126px));
  width: 460px;
  border: 1px solid #fff;
}
.s .purpose-middle-section .purpose-ism {
  width: 100%;
  right: unset;
  top: unset;
  margin-top: 32px;
}

.purpose-middle-section .purpose-work {
  top: 420px;
  left: max(50px, min(3.5vw, 180px));
  width: 445px;
  border: 1px solid #fff;
}
.s .purpose-middle-section .purpose-work {
  width: 100%;
  left: unset;
  top: unset;
  margin-top: 32px;
}

.purpose-middle-section .card-label span {
  display: inline-block;
  padding: 10px 18px;
  border: 2px solid #ff2a2a;
  border-radius: 999px;
  color: #ff2a2a;
  background: #fff;
  font-size: 20px;
  font-weight: 700;
}
.s .purpose-middle-section .card-label span {
  font-size: 17px;
  padding: 10px 26px;
}

.purpose-middle-section .card-title {
  margin-top: 20px;
  font-size: 35px;
  font-weight: 700;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 13px;
  letter-spacing: -3%;
}

.purpose-middle-section .card-title .card-title {
  margin-top: 0;
}

.s .purpose-middle-section .card-title {
  font-size: 29px;
  margin-top: 6px;
  gap: 0;
}

.purpose-middle-section .card-label {
  line-height: 1;
}

.purpose-middle-section .card-catch {
  margin-top: 6px;
  color: #ff2a2a;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -2%;
}
.s .purpose-middle-section .card-catch {
  font-size: 23px;
}

.purpose-middle-section .card-text {
  margin-top: 5px;
  line-height: 1.8;
  font-size: 20px;
  letter-spacing: -4%;
}
.s .purpose-middle-section .card-text {
  font-size: 17px;
  letter-spacing: 0;
  padding-right: 16px;
  letter-spacing: -2.8%;
}

/* ========== Purpose Bottom Block ========== */
.c-lead-lines {
  padding: 0 !important;
}

.c-lead-red {
  background: none !important;
}

.c-lead-line {
  display: block;
  background: #fd0200;
  color: #fff;
  padding: 0 5px;
}

.c-lead-line-pc {
  display: inline-block;
}

.c-lead-line-pc + .c-lead-line-pc {
  margin-top: 3px;
}

.c-lead-line-sp {
  display: none;
}

.c-lead-line-sp + .c-lead-line-sp {
  margin-top: 3px;
}

/* ========== sp画面 ========== */

.s .c-content-top {
  padding-top: 36px;
}

.s .c-c-top-ttl {
  font-size: 46px;
  margin-top: 3px;
  letter-spacing: 2%;
}

.s .c-c-top-subttl {
  font-size: 34px;
  line-height: 1.6;
  letter-spacing: 0;
  margin-top: 2px;
}

.s .c-lead-line-pc {
  display: none;
}

.s .c-lead-line-sp {
  display: inline-block;
  letter-spacing: -0.3vw;
  padding: 2px 5px;
}

/* .c-page {
  background-image: url(../img/bg-top.webp), url(../img/bg-bottom.webp) !important;
  background-size:
    100% 600px,
    100% 1500px !important;
} */

.s .c-page {
  background-size:
    100% 250px,
    100% 2000px !important;
}

.c-cta {
  padding-top: 180px !important;
}
.s .c-cta {
  margin-top: 0 !important;
}

.c-block {
  margin-top: 70px !important;
}
.c-block-body {
  margin-top: 0 !important;
}
.c-block-body .c-text {
  font-size: 24px;
  margin-top: 37px;
  letter-spacing: -6%;
}
.s .c-block-body {
  margin-top: 40px !important;
}
.s .purpose-top-section > .c-block-body {
  margin-top: 29px !important;
}
.s .c-text {
  font-size: 19px !important;
  line-height: 1.7;
}

.c-pageInner {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(236, 247, 252, 1) 55%, rgba(68, 173, 238, 1) 100%) !important;
  /* background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 300px, rgba(255, 255, 255, 0.5) 15%, rgba(255, 255, 255, 0.5) 85%, rgba(255, 255, 255, 0) 100%) !important; */
}

.s .c-title-sub {
  margin-top: 16px;
}

.s .c-text.bottom {
  letter-spacing: -0.6vw;
}
