.as-commitment {
  position: relative;
  overflow: hidden;
  padding: 40px 0 80px;
  background: #fff;
  color: #0b1220;
  font-family:
    "Noto Sans JP",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}

.as-commitment__inner {
  position: relative;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  z-index: 2;
  min-height: 980px;
}

.as-commitment__rail {
  position: absolute;
  left: 200px;
  top: -10px;
  width: 150px;
  height: calc(100% + 120px);
  background: rgba(11, 18, 32, 0.04);
  overflow: hidden;
  z-index: 0;
}

.as-commitment__railFill {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.05);
  transform: scaleY(0);
  transform-origin: top;
}

.as-commitment__railWord {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  font-family: "Noto Serif JP", Georgia, serif;
  font-size: 102px;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-align: center;
  color: rgba(11, 18, 32, 0.08);
  user-select: none;
  pointer-events: none;
  transform: translateY(-105px);
}

.as-commitment__arrows {
  position: absolute;
  left: calc(200px + 75px);
  top: 92%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 10;
}

.as-commitment__arrows span {
  display: block;
  width: 18px;
  height: 18px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  opacity: 0.18;
  transform: rotate(45deg);
  transition: opacity 0.3s;
}

.as-commitment__arrows span:nth-child(1) {
  border-color: #0075c2;
  opacity: 0.55;
  animation: arrowGlow 1.8s infinite ease-in-out;
}

.as-commitment__arrows span:nth-child(2) {
  border-color: #4a9ed9;
  opacity: 0.7;
  animation: arrowGlow 1.8s infinite ease-in-out;
  animation-delay: 0.25s;
}

.as-commitment__arrows span:nth-child(3) {
  border-color: #8cc63f;
  opacity: 1;
  animation: arrowGlow 1.8s infinite ease-in-out;
  animation-delay: 0.5s;
}

@keyframes arrowGlow {
  0% {
    opacity: 0.18;
  }

  25% {
    opacity: 0.95;
  }

  50% {
    opacity: 0.45;
  }

  100% {
    opacity: 0.18;
  }
}

.as-commitment__head {
  position: relative;
  z-index: 3;
  margin: 0 0 70px;
  padding-left: 10px;
}

.as-commitment__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.as-commitment__titleMain,
.as-commitment__titleSub {
  font-family: "Noto Serif JP", Georgia, serif;
  font-weight: 700;
}

.as-commitment__titleMain {
  font-size: 102px;
  line-height: 1;
  letter-spacing: 0.18em;
}

.as-commitment__titleSub {
  margin-top: 10px;
  margin-left: 120px;
  font-size: 68px;
  line-height: 1;
  letter-spacing: 0.22em;
}

.as-commitment__title > .as-commitment__titleMain > span {
  color: #0075c2;
}

.as-commitment__bgNums {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.as-commitment__bgNum {
  position: absolute;
  font-family: "Noto Serif JP", serif;
  font-size: 160px;
  line-height: 1;
  font-weight: 600;
  color: #ededf1;
  opacity: 1;
  transition:
    color 0.4s ease,
    opacity 0.4s ease,
    transform 0.4s ease;
}

.as-commitment__bgNum.is-active {
  color: rgba(0, 117, 194, 0.14);
  transform: translateY(-6px);
}

.as-commitment__bgNum--1 {
  left: 210px;
  top: 200px;
}

.as-commitment__bgNum--2 {
  left: 370px;
  top: 520px;
}

.as-commitment__bgNum--3 {
  left: 550px;
  top: 830px;
}

.as-commitmentCard {
  position: relative;
  display: flex;
  align-items: center;
  width: 700px;
  height: 200px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(2px);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(11, 18, 32, 0.08);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    background-color 0.45s ease;
  z-index: 4;
}

.as-commitmentCard:nth-child(1) {
  margin-top: 140px;
  margin-left: 330px;
}

.as-commitmentCard:nth-child(2) {
  margin-top: 110px;
  margin-left: 510px;
}

.as-commitmentCard:nth-child(3) {
  margin-top: 120px;
  margin-left: 690px;
}

.as-commitmentCard:hover,
.as-commitmentCard.is-active {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(11, 18, 32, 0.12);
}

.as-commitmentCard__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.62)
    ),
    var(--card-img);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 0.45s ease,
    transform 0.7s ease;
}

.as-commitmentCard:hover .as-commitmentCard__bg,
.as-commitmentCard.is-active .as-commitmentCard__bg {
  opacity: 1;
  transform: scale(1);
}

.as-commitmentCard__line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 220px;
  transform: translateY(-50%);
  background: #0075c2;
  z-index: 2;
}

.as-commitmentCard__icon {
  position: relative;
  z-index: 2;
  flex: 0 0 130px;
  width: 130px;
  display: grid;
  place-items: center;
  margin-left: 28px;
}

.as-commitmentCard__icon::before {
  content: "";
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #f2f4f6;
  display: block;
  transition: background-color 0.35s ease;
}

.as-commitmentCard__iconImg {
  position: absolute;
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: opacity 0.35s ease;
}

.as-commitmentCard__iconImg--base {
  opacity: 1;
}

.as-commitmentCard__iconImg--hover {
  opacity: 0;
}

.as-commitmentCard:hover .as-commitmentCard__iconImg--base,
.as-commitmentCard.is-active .as-commitmentCard__iconImg--base {
  opacity: 0;
}

.as-commitmentCard:hover .as-commitmentCard__iconImg--hover,
.as-commitmentCard.is-active .as-commitmentCard__iconImg--hover {
  opacity: 1;
}

.as-commitmentCard__body {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  padding: 28px 92px 28px 0;
}

.as-commitmentCard__kicker {
  margin: 0 0 10px;
  color: #9f9f9f;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.as-commitmentCard__title {
  margin: 0 0 14px;
  color: #000;
  font-size: 33px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.as-commitmentCard__desc {
  margin: 0;
  color: #9f9f9f;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
}

.as-commitmentCard__num {
  position: absolute;
  right: 18px;
  bottom: 10px;
  z-index: 2;
  font-family: "Libre Bodoni", "Noto Serif JP", serif;
  font-size: 56px;
  line-height: 1;
  color: #ededf1;
  transition: color 0.35s ease;
}

.as-commitmentCard:hover .as-commitmentCard__num,
.as-commitmentCard.is-active .as-commitmentCard__num {
  color: rgba(0, 117, 194, 0.3);
}

.as-commitmentCard:hover .as-commitmentCard__title,
.as-commitmentCard.is-active .as-commitmentCard__title {
  color: #0075c2;
}

.as-commitmentCard:hover .as-commitmentCard__icon::before,
.as-commitmentCard.is-active .as-commitmentCard__icon::before {
  background: #0075c2;
}

.as-commitment__panels {
  margin-top: 70px;
}

.as-commitment__more {
  position: absolute;
  left: 180px;
  bottom: 0;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0 0 18px;
  color: #0075c2;
  text-decoration: none;
  border-bottom: 2px solid #0075c2;
}

.as-commitment__moreText {
  font-size: 27px;
  line-height: 1;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.as-commitment__moreArrow {
  font-size: 30px;
  line-height: 1;
  font-weight: 400;
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

.as-commitment__more:hover .as-commitment__moreArrow {
  transform: translate(8px, -2px);
}

.as-commitment__panels:hover .as-commitmentCard.is-active:not(:hover) {
  transform: none;
}

.as-commitment__head,
.as-commitment__panels,
.as-commitment__more {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.as-commitment.is-in .as-commitment__head,
.as-commitment.is-in .as-commitment__panels,
.as-commitment.is-in .as-commitment__more {
  opacity: 1;
  transform: translateY(0);
}

.as-commitment__panels {
  transition-delay: 0.2s;
}

.as-commitment__more {
  transition-delay: 0.4s;
}

.as-commitmentCard__title br {
  display: none;
}

@media (max-width: 767px) {
  .as-commitment {
    padding: 0 0 40px;
    background: #fff;
    overflow: hidden;
  }

  .as-commitment__inner {
    width: calc(100% - 28px);
    margin: 20px auto 0;
    position: relative;
    z-index: 2;
    min-height: auto;
  }

  .as-commitment__rail {
    left: 14px;
    top: 0;
    width: 62px;
    height: 510px;
    background: rgba(11, 18, 32, 0.05);
    overflow: hidden;
  }

  .as-commitment__railFill {
    background: rgba(11, 18, 32, 0.04);
    transform: none;
  }

  .as-commitment__railWord {
    inset: auto;
    top: 38px;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    text-align: center;
    font-family: "Noto Serif JP", Georgia, serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: rgba(11, 18, 32, 0.1);
    transform: none;
  }

  .as-commitment__head {
    position: relative;
    z-index: 3;
    margin: 40px 0 26px;
    padding-left: 17px;
  }

  .as-commitment__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
  }

  .as-commitment__titleMain {
    font-size: 42px;
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: 0.1em;
  }

  .as-commitment__titleSub {
    margin-top: 8px;
    margin-left: 58px;
    font-size: 30px;
    line-height: 1;
    letter-spacing: 0.16em;
    font-weight: 500;
  }

  .as-commitment__bgNums {
    display: none;
  }

  .as-commitment__panels {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 0;
    margin-left: 88px;
    position: relative;
    z-index: 2;
  }

  .as-commitmentCard,
  .as-commitmentCard:nth-child(1),
  .as-commitmentCard:nth-child(2),
  .as-commitmentCard:nth-child(3) {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 130px;
    height: auto;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(11, 18, 32, 0.08);
    overflow: hidden;
  }

  .as-commitmentCard__bg {
    opacity: 0;
    transform: scale(1.03);
    background-image:
      linear-gradient(
        to right,
        rgba(255, 255, 255, 0.92),
        rgba(255, 255, 255, 0.62)
      ),
      var(--card-img);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition:
      opacity 0.45s ease,
      transform 0.7s ease;
  }

  .as-commitmentCard:hover .as-commitmentCard__bg,
  .as-commitmentCard.is-active .as-commitmentCard__bg {
    opacity: 1;
    transform: scale(1);
  }

  .as-commitmentCard__line {
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    transform: none;
  }

  .as-commitmentCard__icon {
    flex: 0 0 62px;
    width: 62px;
    margin-left: 7px;
  }

  .as-commitmentCard__icon::before {
    width: 50px;
    height: 50px;
  }

  .as-commitmentCard__iconImg {
    width: 24px;
    height: 24px;
  }

  .as-commitmentCard__body {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 20px 18px 5px;
  }

  .as-commitmentCard__kicker {
    margin: 0 0 6px;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.18em;
    font-weight: 600;
  }

  .as-commitmentCard__title {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: 0;
    font-weight: 800;
  }

  .as-commitmentCard__desc {
    margin: 0;
    font-size: 11px;
    line-height: 1.6;
    font-weight: 500;
  }

  .as-commitmentCard__num {
    right: 8px;
    bottom: 3px;
    font-size: 32px;
    line-height: 1;
    color: #bfe0f5;
  }

  .as-commitment__more {
    position: relative;
    left: 110px;
    bottom: auto;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0 0 88px;
    padding: 0 0 10px;
    border-bottom: 1px solid #0075c2;
  }

  .as-commitment__moreText {
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.1em;
    font-weight: 700;
  }

  .as-commitment__moreArrow {
    font-size: 16px;
    line-height: 1;
    transform: translateY(-1px);
  }

  .as-commitmentCard__title br {
    display: block;
  }

  .as-commitment__arrows {
    position: absolute;
    left: 11%;
    top: 85%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
  }

  .as-commitment__arrows span {
    display: block;
    width: 18px;
    height: 18px;
    border-right: 2px solid;
    border-bottom: 2px solid;
    opacity: 0.18;
    transform: rotate(45deg);
    transition: opacity 0.3s;
  }

  .as-commitment__arrows span:nth-child(1) {
    border-color: #0075c2;
    opacity: 0.55;
    animation: arrowGlow 1.8s infinite ease-in-out;
  }

  .as-commitment__arrows span:nth-child(2) {
    border-color: #4a9ed9;
    opacity: 0.7;
    animation: arrowGlow 1.8s infinite ease-in-out;
    animation-delay: 0.25s;
  }

  .as-commitment__arrows span:nth-child(3) {
    border-color: #8cc63f;
    opacity: 1;
    animation: arrowGlow 1.8s infinite ease-in-out;
    animation-delay: 0.5s;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .as-commitment {
    padding: 10px 0 48px;
    background: #fff;
  }

  .as-commitment__inner {
    width: calc(100% - 40px);
    margin: 44px auto 0;
    position: relative;
    z-index: 2;
    min-height: auto;
  }

  .as-commitment__rail {
    left: 16px;
    top: 0;
    width: 72px;
    height: 100%;
    background: rgba(11, 18, 32, 0.05);
    overflow: hidden;
  }

  .as-commitment__railFill {
    background: rgba(11, 18, 32, 0.04);
    transform: none;
  }

  .as-commitment__railWord {
    inset: auto;
    top: 51px;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    text-align: center;
    font-size: 46px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0.02em;
    color: rgba(11, 18, 32, 0.1);
    transform: none;
  }

  .as-commitment__head {
    margin: 0 0 20px;
    padding-left: 17px;
    position: relative;
    z-index: 3;
  }

  .as-commitment__titleMain {
    font-size: 46px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .as-commitment__titleSub {
    margin-top: 6px;
    margin-left: 48px;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.12em;
  }

  .as-commitment__panels {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 92px;
    margin-top: 0;
    position: relative;
    z-index: 2;
  }

  .as-commitmentCard,
  .as-commitmentCard:nth-child(1),
  .as-commitmentCard:nth-child(2),
  .as-commitmentCard:nth-child(3) {
    width: 100%;
    height: auto;
    min-height: 160px;
    margin: 0 !important;
  }

  .as-commitmentCard__body {
    padding: 20px 40px 18px 0;
  }

  .as-commitmentCard__title {
    font-size: 22px;
  }

  .as-commitmentCard__desc {
    font-size: 13px;
  }

  .as-commitment__more {
    position: relative;
    left: 580px;
    bottom: auto;
    margin: 24px 0 0 92px;
    padding-bottom: 6px;
    border-bottom: 1px solid #0075c2;
  }

  .as-commitment__moreText {
    font-size: 20px;
  }

  .as-commitment__moreArrow {
    font-size: 20px;
  }

  .as-commitment__arrows {
    position: absolute;
    left: 52px;
    top: 85%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    z-index: 10;
  }

  .as-commitment__arrows span {
    display: block;
    width: 18px;
    height: 18px;
    border-right: 2px solid;
    border-bottom: 2px solid;
    opacity: 0.18;
    transform: rotate(45deg);
  }

  .as-commitment__arrows span:nth-child(1) {
    border-color: #0075c2;
    opacity: 0.55;
    animation: arrowGlow 1.8s infinite ease-in-out;
  }

  .as-commitment__arrows span:nth-child(2) {
    border-color: #4a9ed9;
    opacity: 0.7;
    animation: arrowGlow 1.8s infinite ease-in-out;
    animation-delay: 0.25s;
  }

  .as-commitment__arrows span:nth-child(3) {
    border-color: #8cc63f;
    opacity: 1;
    animation: arrowGlow 1.8s infinite ease-in-out;
    animation-delay: 0.5s;
  }

  .as-commitment__bgNums {
    display: none;
  }
}

@media (min-width: 1280px) and (max-width: 1580px) {
  .as-commitment {
    padding: 34px 0 80px;
  }

  .as-commitment__inner {
    width: calc(100% - 40px);
    margin: 44px auto 0;
    min-height: 1000px;
  }

  .as-commitment__rail {
    left: 130px;
    width: 120px;
    top: -10px;
  }

  .as-commitment__railWord {
    font-size: 84px;
    transform: translateY(-106px);
  }

  .as-commitment__head {
    margin: 60px 0 40px;
    padding-left: 137px;
  }

  .as-commitment__titleMain {
    font-size: 84px;
  }

  .as-commitment__titleSub {
    font-size: 54px;
    margin-left: 100px;
  }

  .as-commitment__panels {
    position: relative;
    margin-left: 370px;
    margin-top: 100px;
  }

  .as-commitmentCard {
    width: 620px;
    height: 180px;
    margin-left: 0 !important;
  }

  .as-commitmentCard:nth-child(1) {
    transform: translateX(0);
    margin-top: 60px;
  }

  .as-commitmentCard:nth-child(2) {
    transform: translateX(110px);
    margin-top: 90px;
  }

  .as-commitmentCard:nth-child(3) {
    transform: translateX(220px);
    margin-top: 90px;
  }

  .as-commitmentCard__title {
    white-space: nowrap;
  }

  .as-commitment__bgNum {
    margin-left: 80px;
    margin-top: 30px;
    font-size: 130px;
  }

  .as-commitment__bgNum--1 {
    left: 170px;
    top: 120px;
  }

  .as-commitment__bgNum--2 {
    left: 280px;
    top: 390px;
  }

  .as-commitment__bgNum--3 {
    left: 400px;
    top: 660px;
  }

  .as-commitment__more {
    left: 260px;
  }

  .as-commitment__arrows {
    top: 88%;
    left: 190px;
  }
}
