/* ----------------------------------------
  keyframes
---------------------------------------- */
@keyframes arrowBump {
  0% {
    transform: translate(0, -50%);
  }
  40% {
    transform: translate(5px, -50%);
  }
  100% {
    transform: translate(0, -50%);
  }
}
/* ----------------------------------------
  MV
---------------------------------------- */
.mv {
  overflow: hidden;
  position: relative;
}
.mv-inner {
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 460px;
  position: relative;
}
@media (max-width: 767px) {
  .mv-inner {
    width: 100%;
    height: auto;
    padding: 0;
  }
}
.mv-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
}
@media (max-width: 767px) {
  .mv-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    position: relative;
    left: 0;
    top: 0;
    transform: none;
  }
}

.mv-primary-btn {
  width: 380px;
  height: 100px;
  position: absolute;
  bottom: 66px;
  left: 220px;
  display: block;
  text-decoration: none;
  color: #fff;
  text-align: center;
  border-radius: 999px;
  padding: 16px 0 23px;
  background: linear-gradient(180deg, #1474FA 0%, #105AC2 100%);
  border: 4px solid #6DA6E0;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
}
@media (max-width: 767px) {
  .mv-primary-btn {
    width: 295px;
    height: 80px;
    max-width: calc(100% - 40px);
    position: absolute;
    left: 50%;
    bottom: 17.333vw;
    transform: translateX(-50%);
    margin: 0;
    padding: 14px 0 12px;
    border-width: 3px;
  }
}

.mv-primary-btn:hover {
  opacity: 0.8;
}

.mv-primary-btn:hover::after {
  animation: arrowBump 520ms ease-in-out;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    .mv-primary-btn:hover::after {
    animation: none;
  }
}

.mv-primary-btn::after {
  content: "";
  position: absolute;
  right: 23px;
  top: 50%;
  width: 7px;
  height: 16px;
  background: url("/assets/img/common/shared/icon-arrow-white.svg") no-repeat center / contain;
  transform: translate(0, -50%);
}
@media (max-width: 767px) {
  .mv-primary-btn::after {
    right: 18px;
    width: 6px;
    height: 14px;
  }
}

.mv-primary-btn-lead {
  display: block;
  font-size: 16px;
  font-weight: bold;
}
@media (max-width: 767px) {
  .mv-primary-btn-lead {
    font-size: 14px;
  }
}

.mv-primary-btn-main {
  display: block;
  margin-top: 12px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
@media (max-width: 767px) {
  .mv-primary-btn-main {
    margin-top: 11px;
    font-size: 23px;
  }
}

.mv-note {
  width: 100%;
  display: flex;
  gap: 10px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
  position: absolute;
  left: 20px;
  bottom: 14px;
}
@media (max-width: 767px) {
  .mv-note {
    width: auto;
    font-size: 12px;
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 10px;
    flex-direction: column;
    gap: 0;
    max-width: none;
    margin: 0;
  }
}
.mv-note-item {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.2em;
}
@media (max-width: 767px) {
  .mv-note-item {
    gap: 6px;
  }
}

.mv-note__mark {
  line-height: 1.8;
}

.mv-note__text {
  min-width: 0;
}

/* ----------------------------------------
  Procedure
---------------------------------------- */
.procedure {
  padding: 120px 0;
  background: #fff;
}
@media (max-width: 767px) {
  .procedure {
    padding: 60px 0;
  }
}

.procedure .inner {
  width: 1000px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .procedure .inner {
    width: auto;
  }
}

.procedure-head {
  text-align: center;
  margin-bottom: 85px;
}
@media (max-width: 767px) {
  .procedure-head {
    margin-bottom: 35px;
  }
}

.procedure-title {
  margin: 0 auto 40px;
  font-weight: bold;
  font-size: 32px;
}
@media (max-width: 767px) {
  .procedure-title {
    margin: 0 auto 30px;
    font-size: 20px;
  }
}

.procedure-title::after {
  content: "";
  width: 48px;
  height: 12px;
  display: block;
  margin: 24px auto 0;
  background: url("/assets/img/common/shared/icon-title-dots.svg") no-repeat center / contain;
}
@media (max-width: 767px) {
  .procedure-title::after {
    width: 32px;
    height: 8px;
    margin-top: 15px;
  }
}

.procedure-catch {
  width: 296px;
  margin: 0 auto;
  transform: translateX(15px);
}
@media (max-width: 767px) {
  .procedure-catch {
    width: 185px;
    transform: translateX(22px);
  }
}

.procedure-catch__img {
  width: 100%;
  height: auto;
}


.procedure-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto 116px;
  display: flex;
  flex-direction: column;
  gap: 103px;
}
@media (max-width: 767px) {
  .procedure-steps {
    margin-bottom: 56px;
    gap: 75px;
  }
}

.procedure-step {
  position: relative;
}

/* 赤い三角 */
.procedure-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -53px;
  transform: translateX(-50%);
  width: 30px;
  height: 24px;
  background: url("/assets/img/common/shared/icon-arrow-bottom.svg") no-repeat center / contain;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,0.08));
}
@media (max-width: 767px) {
  .procedure-step:not(:last-child)::after {
    bottom: -38px;
    width: 24px;
    height: 20px;
  }
}

.procedure-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.18);
  position: relative;
}

.procedure-pill {
  width: 140px;
  height: 40px;
  position: absolute;
  left: 50%;
  top: -21px;
  transform: translateX(-50%);
  margin: 0;
  border-radius: 999px;
  background: #fff;
  border: 3px solid #F72E52;
  color: #F72E52;
  font-weight: bold;
  font-size: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
@media (max-width: 767px) {
  .procedure-pill {
    width: 100px;
    height: 30px;
    padding: 4px 16px;
    top: -15px;
    font-size: 12px;
    border: 2px solid #F72E52;
  }
}

.procedure-pill__num {
  font-size: 26px;
}
@media (max-width: 767px) {
  .procedure-pill__num {
    font-size: 22px;
  }
}

.procedure-card__head {
  height: 85px;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  background: #F72E52;
}
@media (max-width: 767px) {
  .procedure-card__head {
    height: 69px;
    padding: 25px 0 15px;
    font-size: 20px;
  }
}

.procedure-card__body {
  padding: 60px;
}
@media (max-width: 767px) {
  .procedure-card__body {
    padding: 30px;
  }
}

.procedure-card__body--split {
  display: flex;
  align-items: center;
  gap: 40px;
}
@media (max-width: 767px) {
  .procedure-card__body--split {
    flex-direction: column;
    gap: 20px;
  }
}

.procedure-card__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .procedure-card__lead {
    font-size: 14px;
  }
}

.procedure-card__media {
  margin: 0;
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .procedure-card__media {
    justify-content: center;
  }
}
.procedure-step.step--1 .procedure-card__media {
  width: 400px;
}
@media (max-width: 767px) {
  .procedure-step.step--1 .procedure-card__media {
    width: 275px;
  }
}
.procedure-step.step--2 .procedure-card__media {
  width: 400px;
}
@media (max-width: 767px) {
  .procedure-step.step--2 .procedure-card__media {
    width: 275px;
  }
}
.procedure-step.step--3 .procedure-card__media {
  width: 220px;
}
@media (max-width: 767px) {
  .procedure-step.step--3 .procedure-card__media {
    width: 100%;
  }
}

.procedure-card__img {
  width: 100%;
  height: auto;
}

.procedure-card__desc {
  margin: 0 0 40px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 767px) {
  .procedure-card__desc {
    margin-bottom: 17px;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
  }
}

/* STEP3：画面3枚 + 矢印 */
.procedure-step.step--3 .procedure-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.procedure-flow {
  margin: 0 0 56px;
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}
@media (max-width: 767px) {
  .procedure-flow {
    margin: 0 -30px 66px;
    width: calc(100% + 60px);
  }
}

.procedure-flow-list {
  display: flex;
  justify-content: center;
  gap: 50px;
  position: relative;
  width: 100%;
  max-width: 840px;
}
@media (max-width: 767px) {
  .procedure-flow-list {
    gap: 12px;
  }
}

.procedure-flow__item {
  width: 220px;
  position: relative;
}
@media (max-width: 767px) {
  .procedure-flow__item {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }
}

/* 矢印（三角）をカード間に表示 */
.procedure-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -31px;
  top: 47%;
  transform: translateY(-50%);
  width: 16px;
  height: 28px;
  background: url("/assets/img/common/shared/icon-arrow-right.svg") no-repeat center / contain;
}
@media (max-width: 767px) {
  .procedure-flow__item:not(:last-child)::after {
    right: -10px;
    width: 12px;
    height: 12px;
  }
}

.procedure-flow__img {
  width: 100%;
  height: auto;
  display: block;
}

.procedure-flow-note {
  margin: 20px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
}
@media (max-width: 767px) {
  .procedure-flow-note {
    max-width: 275px;
    margin: 10px auto 0;
    font-size: 12px;
  }
}

.procedure-flow-note__num {
  color: #F72E52;
  font-weight: bold;
  margin-right: 4px;
  font-size: 18px;
}
@media (max-width: 767px) {
  .procedure-flow-note__num {
    font-size: 14px;
  }
}

.procedure-flow-note__text {
  flex: 0 1 auto;
  min-width: 0;
}
@media (max-width: 767px) {
  .procedure-flow-note__text {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* STEP3：details（検査の項目例） */
.procedure-detail {
  width: 100%;
  margin: 0 auto;
}

.procedure-detail__summary {
  width: 320px;
  height: 60px;
  margin: 0 auto;
  cursor: pointer;
  user-select: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 52px 0 50px; /* 右側アイコン分の余白を確保 */
  border-radius: 999px;
  border: 1px solid #2F2C2B;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-weight: bold;
  font-size: 16px;
  transition: opacity 0.3s ease;
}
@media (max-width: 767px) {
  .procedure-detail__summary {
    width: 235px;
    height: 45px;
    padding: 0 46px 0 50px;
    font-size: 14px;
  }
}
.procedure-detail__summary:hover {
  opacity: 0.8;
}

.procedure-detail__summary:focus-visible {
  outline: 3px solid #2F2C2B;
  outline-offset: 2px;
}

.procedure-detail__label {
  display: inline-block;
  line-height: 1.2;
  color: #2F2C2B;
}

.procedure-detail__icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  .procedure-detail__icon {
    right: 2px;
  }
}
.procedure-detail__icon::before,
.procedure-detail__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: #2F2C2B;
  transform: translate(-50%, -50%);
}
@media (max-width: 767px) {
  .procedure-detail__icon::before,
  .procedure-detail__icon::after {
    width: 10px;
    height: 2px;
  }
}
.procedure-detail__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
  transition: transform 220ms ease, opacity 220ms ease;
}

.procedure-detail__item.is-open .procedure-detail__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.procedure-detail__body {
  background: #fff;
  overflow: hidden;
  height: 0px;
  transition: height 240ms ease;
}

.procedure-detail__caption {
  margin: 0;
  padding: 48px 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
@media (max-width: 767px) {
  .procedure-detail__caption {
    padding: 35px 0 20px;
    gap: 10px;
  }
}

.procedure-detail__caption::before,
.procedure-detail__caption::after {
  width: 100px;
  height: 1px;
  content: "";
  background: #C4C4C4;
}
@media (max-width: 767px) {
  .procedure-detail__caption::before,
  .procedure-detail__caption::after {
    width: 45px;
  }
}

.procedure-detail__caption-text {
  font-size: 16px;
}
@media (max-width: 767px) {
  .procedure-detail__caption-text {
    font-size: 14px;
  }
}
.procedure-detail__img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 767px) {
  .procedure-detail__img {
    width: 275px;
    margin: 0 auto;
  }
}

/* STEP3：SPのみカルーセル */
.procedure-carousel {
  display: none;
}
@media (max-width: 767px) {
  .procedure-carousel {
    display: block;
    position: relative;
    width: 100%;
    max-width: 335px;
    margin: 0 auto;
  }
}

.procedure-carousel__viewport {
  overflow: hidden;
  border-radius: 8px;
  touch-action: pan-y;
}

.procedure-carousel .procedure-flow-list {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  max-width: none;
  width: 100%;
  transition: transform 260ms ease;
  will-change: transform;
}

.procedure-carousel .procedure-flow__item {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}

.procedure-carousel .procedure-flow__item:not(:last-child)::after {
  content: none;
}

.procedure-carousel .procedure-flow__img {
  width: 165px;
  margin: 0 auto;
}

.procedure-carousel .procedure-flow-note {
  margin-top: 18px;
  justify-content: center;
  font-size: 18px;
  text-align: center;
  align-items: center;
}
@media (max-width: 767px) {
  .procedure-carousel .procedure-flow-note {
    margin-top: 14px;
  }
}

.procedure-carousel .procedure-flow-note__num {
  font-size: 18px;
}
@media (max-width: 767px) {
  .procedure-carousel .procedure-flow-note__num {
    font-size: 15px;
  }
}

.procedure-carousel__nav {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #F72E52;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.procedure-carousel__nav::after {
  content: "";
  width: 6px;
  height: 12px;
  display: block;
  margin: 0 auto;
  background: url("/assets/img/common/shared/icon-arrow-white.svg") no-repeat center / contain;
}

.procedure-carousel__prev {
  left: 15px;
  top: 45%;
}

.procedure-carousel__prev::after {
  transform: rotate(180deg);
}

.procedure-carousel__next {
  right: 15px;
  top: 45%;
}

.procedure-carousel__dots {
  display: none;
}
@media (max-width: 767px) {
  .procedure-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: absolute;
    left: 50%;
    bottom: -36px;
    transform: translateX(-50%);
  }
}

.procedure-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #F72E52;
  opacity: 0.2;
  cursor: pointer;
}

.procedure-carousel__dot.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .procedure-carousel .procedure-flow-list {
    transition: none;
  }
  .procedure-detail__body {
    transition: none;
  }
}

/* STEP4：レイアウト（右の申込ボックス） */
.procedure-step4 {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 74px;
  align-items: center;
  position: relative;
}
@media (max-width: 767px) {
  .procedure-step4 {
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
  }
}

.procedure-step4__figure {
  width: 514px;
}
@media (max-width: 767px) {
  .procedure-step4__figure {
    width: 275px;
    margin: 0 auto;
  }
}
.procedure-step4__img {
  width: 100%;
  height: auto;
  display: block;
}


/* ----------------------------------------
  Tips
---------------------------------------- */
.tips {
  border-radius: 20px;
  box-shadow: 0 0 5px rgba(0,0,0,0.16);
  background: #fff;
  border: 4px solid #FFF4E0;
}
@media (max-width: 767px) {
  .tips {
    border: 5px solid #FFF4E0;
  }
}

.tips__head {
  border-radius: 16px 16px 0 0;
  background: #FFB342;
  height: 80px;
  padding: 0;
  display: block;
  position: relative;
}
@media (max-width: 767px) {
  .tips__head {
    border-radius: 14px 14px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.tips__title-img {
  display: block;
  width: 434px;
  position: absolute;
  left: 50%;
  top: -28px;
  transform: translateX(-50%);
}
@media (max-width: 767px) {
  .tips__title-img {
    width: 280px;
    top: -11px;
    left: calc(50% - 5px);
  }
}

.tips__body {
  padding: 60px 30px 75px;
  border-radius: 0 0 20px 20px;
}
@media (max-width: 767px) {
  .tips__body {
    padding: 6px 25px 6px;
  }
}

.tips__grid {
  display: flex;
  gap: 0;
  align-items: start;
}
@media (max-width: 767px) {
  .tips__grid {
    flex-direction: column;
  }
}

.tips-item {
  flex: 1 1 0;
  padding: 0 26px;
  text-align: center;
  position: relative;
}
@media (max-width: 767px) {
  .tips-item {
    width: 100%;
    padding: 20px 0 19px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
  }
}

/* 区切り線（PC:縦 / SP:横） */
@media (max-width: 767px) {
  .tips-item + .tips-item {
    border-top: 1px solid #E0E0E0;
  }
}
.tips-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  right: 0;
  width: 1px;
  background: #E0E0E0;
}
@media (max-width: 767px) {
  .tips-item:not(:last-child)::after {
    content: none;
  }
}

.tips-item__icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
}
@media (max-width: 767px) {
  .tips-item__icon {
    width: 80px;
    height: 80px;
    margin: 0;
    flex-shrink: 0;
  }
}

.tips-item__icon-img {
  width: 100%;
  height: auto;
  display: block;
}

.tips-item__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .tips-item__text {
    font-size: 14px;
    letter-spacing: -0.02em;
  }
}

/* ----------------------------------------
  Recommend
---------------------------------------- */
.recommend {
  padding: 120px 0 105px;
  background: url("/assets/img/app/p/bg-recommend.webp") no-repeat center center / cover;
  position: relative;
  overflow: hidden;
}
@media (max-width: 767px) {
  .recommend {
    padding: 60px 0 50px;
    background: url("/assets/img/app/s/bg-recommend.webp") no-repeat center center / cover;
  }
}

.recommend .inner {
  width: 1200px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .recommend .inner {
    width: 100%;
    max-width: 375px;
  }
}

.recommend-head {
  margin-bottom: 80px;
  text-align: center;
}
@media (max-width: 767px) {
  .recommend-head {
    margin-bottom: 62px;
  }
}

.recommend-head__img {
  width: 440px;
  height: auto;
  display: block;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .recommend-head__img {
    width: 271px;
    max-width: 100%;
    transform: translateX(8px);
  }
}

.recommend-cards {
  margin: 0 -10px;
  display: flex;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 767px) {
  .recommend-cards {
    flex-direction: column;
    gap: 40px;
  }
}

.recommend-card {
  width: 100%;
  flex: 1 1 0;
  position: relative;
  background: url("/assets/img/app/shared/bg-recommend-item.webp") no-repeat top center / contain;
  padding: 76px 34px 60px;
  min-height: 260px;
}
@media (max-width: 767px) {
  .recommend-card {
    max-width: 310px;
    padding: 60px 30px 45px;
    min-height: auto;
  }
}
@media (max-width: 767px) {
  .recommend-card:nth-child(1),
  .recommend-card:nth-child(3) {
    margin-left: 3px;
  }
  .recommend-card:nth-child(2) {
    margin-left: auto;
    margin-right: 3px;
  }
}

.recommend-card__icon {
  width: 108px;
  height: auto;
  position: absolute;
  left: 49%;
  top: -42px;
  transform: translateX(-50%);
}
@media (max-width: 767px) {
  .recommend-card__icon {
    top: -32px;
    width: 89px;
    height: auto;
  }
}

.recommend-card__icon-img {
  width: 100%;
  height: auto;
  display: block;
}

.recommend-card__title {
  margin: 0;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .recommend-card__title {
    font-size: 16px;
  }
}

.recommend-card__text {
  margin: 45px 0 0;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}
@media (max-width: 767px) {
  .recommend-card__text {
    margin-top: 33px;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.01em;
  }
}
/* ----------------------------------------
  Apply
---------------------------------------- */
.apply {
  padding: 120px 0;
}
@media (max-width: 767px) {
  .apply {
    padding: 60px 0;
  }
  .apply .inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

.apply-head {
  text-align: center;
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .apply-head {
    margin-bottom: 30px;
  }
}

.apply-eyebrow {
  margin: 0;
  font-weight: bold;
  color: #F72E52;
  font-size: 20px;
}
@media (max-width: 767px) {
  .apply-eyebrow {
    font-size: 14px;
  }
}

.apply-title {
  font-weight: bold;
  font-size: 32px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .apply-title {
    font-size: 20px;
  }
}

.apply-title::after {
  content: "";
  width: 48px;
  height: 12px;
  display: block;
  margin: 20px auto 0;
  background: url("/assets/img/common/shared/icon-title-dots.svg") no-repeat center / contain;
}
@media (max-width: 767px) {
  .apply-title::after {
    width: 32px;
    height: 8px;
    margin-top: 15px;
  }
}

.apply-lead {
  text-align: center;
  margin: 0 0 135px;
  font-size: 16px;
  line-height: 1.5;
  color: #2F2C2B;
}
@media (max-width: 767px) {
  .apply-lead {
    margin-bottom: 90px;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .apply-line {
    height: 50px;
  }
}
.apply-lead__strong {
  color: #F72E52;
  font-weight: bold;
  font-size: 20px;
}
@media (max-width: 767px) {
  .apply-lead__strong {
    font-size: 18px;
  }
}


.apply-app-wrap {
  position: relative;
  width: 960px;
  margin: 0 auto 40px;
}
@media (max-width: 767px) {
  .apply-app-wrap {
    width: 100%;
  }
}

.apply-app {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #105AC2 0%, #1474FA 100%);
  border-radius: 18px;
  padding: 31px 60px 23px;
  color: #fff;
  z-index: 1;
  box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.16);
}
@media (max-width: 767px) {
  .apply-app {
    padding: 25px 20px 3px;
  }
}

/* 半円 */
.apply-app-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -63px;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: #105AC2;
  border-radius: 300px 300px 0 0;
  z-index: 0;
}
@media (max-width: 767px) {
  .apply-app-wrap::before {
    top: -35px;
    width: 150px;
    height: 75px;
    border-radius: 75px 75px 0 0;
  }
}
/* 線 */
.apply-app-wrap::after {
  width: 100%;
  height: 1px;
  background: #fff;
  opacity: 0.2;
  position: absolute;
  left: 0;
  top: 78px;
  z-index: 1;
  content: "";
}
@media (max-width: 767px) {
  .apply-app-wrap::after {
    top: 65px;
  }
}

.apply-app__cap {
  position: absolute;
  left: 50%;
  top: -97px;
  transform: translateX(-50%);
}
@media (max-width: 767px) {
  .apply-app__cap {
    top: -65px;
  }
}

.apply-app__cap-img {
  width: 58px;
  height: auto;
}
@media (max-width: 767px) {
  .apply-app__cap-img {
    width: 43px;
  }
}

.apply-app__title {
  margin: 0 auto 60px;
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  letter-spacing: 0.01em;
}
@media (max-width: 767px) {
  .apply-app__title {
    margin-bottom: 45px;
    font-size: 18px;
  }
}

.apply-app__sub {
  margin: 0 0 33px;
  text-align: center;
  font-size: 16px;
}
@media (max-width: 767px) {
  .apply-app__sub {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
  }
}

.apply-store {
  margin-bottom: 35px;
  display: flex;
  gap: 40px;
  justify-content: center;
}
@media (max-width: 767px) {
  .apply-store {
    margin-bottom: 25px;
    gap: 20px;
    flex-direction: column;
  }
}

.apply-store__card {
  flex: 1 1 0;
  width: 400px;
  background: #fff;
  border-radius: 20px;
  padding: 21px 34px 28px 36px;
  position: relative;
}
@media (max-width: 767px) {
  .apply-store__card {
    width: 100%;
    padding: 10px 20px 20px;
    border-radius: 10px;
    max-width: 100%;
    margin: 0 auto;
  }
}
.apply-store__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 65px;
  width: 100%;
  height: 1px;
  background: #E5E5E6;
}
@media (max-width: 767px) {
  .apply-store__card::before {
    top: 41px;
  }
}
.apply-store__name {
  margin: 0 0 50px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.5;
  color: #2F2C2B;
}
@media (max-width: 767px) {
  .apply-store__name {
    margin: 0 0 31px;
    font-size: 14px;
  }
}

.apply-store__row {
  display: flex;
  align-items: center;
  gap: 30px;
}
@media (max-width: 767px) {
  .apply-store__row {
    justify-content: center;
    gap: 20px;
  }
}

.apply-store__badge {
  width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
@media (max-width: 767px) {
  .apply-store__badge {
    width: 145px;
    max-width: 61.7%;
  }
}
.apply-store__badge:hover {
  opacity: 0.8;
}

.apply-store__badge img {
  max-width: 100%;
  height: auto;
}

.apply-store__qr {
  width: 120px;
  height: auto;
}
@media (max-width: 767px) {
  .apply-store__qr {
    width: 90px;
    max-width: 38.3%;
  }
}

.apply-store__qr img {
  max-width: 100%;
  height: auto;
}

.apply-app__more {
  text-align: center;
}
@media (max-width: 767px) {
  .apply-app__more {
    font-size: 14px;
  }
}

.apply-app__link {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-right: 12px; /* 矢印分の余白 */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.02em;
  transition: opacity 0.3s ease;
}

.apply-app__link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 48%;
  width: 7px;
  height: 16px;
  background: url("/assets/img/common/shared/icon-arrow-white.svg") no-repeat center / contain;
  transform: translate(0, -50%);
}
@media (max-width: 767px) {
  .apply-app__link::after {
    width: 6px;
    height: 14px;
    top: 44%;
  }
}

.apply-app__link:hover {
  opacity: 0.8;
}

.apply-app__link:hover::after {
  animation: arrowBump 520ms ease-in-out;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .apply-app__link:hover::after {
    animation: none;
  }
}

.apply-web {
  width: 960px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  border: 4px solid #E5F1FB;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.16);
}
@media (max-width: 767px) {
  .apply-web {
    width: 100%;
  }
}

.apply-web__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 42px 55px 30px;
}
@media (max-width: 767px) {
  .apply-web__inner {
    padding: 26px 30px 30px;
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 767px) {
  .apply-web__text {
    text-align: center;
  }
}

.apply-web__title {
  margin: 0 auto 13px;
  font-weight: bold;
  font-size: 20px;
}
@media (max-width: 767px) {
  .apply-web__title {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.5;
  }
}

.apply-web__desc {
  font-size: 14px;
  line-height: 1.5;
}

.apply-web__action {
  width: 320px;
  margin: 0;
  flex: 0 0 auto;
  transform: translateY(-5px);
}
@media (max-width: 767px) {
  .apply-web__action {
    width: 235px;
    max-width: 100%;
    margin: 0 auto;
    transform: none;
  }
}

.apply-web__button {
  width: 100%;
  height: 60px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #0B5BCE;
  color: #0B5BCE;
  text-decoration: none;
  font-weight: bold;
  background: #fff;
  transition: opacity 0.3s ease;
}
@media (max-width: 767px) {
  .apply-web__button {
    height: 45px;
    font-size: 14px;
    width: 100%;
    min-width: 0;
  }
}

.apply-web__button::after {
  content: "";
  position: absolute;
  right: 19px;
  top: 50%;
  width: 7px;
  height: 16px;
  background: url("/assets/img/common/shared/icon-arrow-blue.svg") no-repeat center / contain;
  transform: translate(0, -50%);
}
@media (max-width: 767px) {
  .apply-web__button::after {
    right: 17px;
    top: 47%;
    width: 6px;
    height: 14px;
  }
}

.apply-web__button:hover {
  opacity: 0.8;
}

/* hover時に矢印を右へ移動→元へ戻す */
.apply-web__button:hover::after {
  animation: arrowBump 520ms ease-in-out;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .apply-web__button:hover::after {
    animation: none;
  }
}


/* ----------------------------------------
  Environment
---------------------------------------- */
.environment {
  padding: 120px 0;
  background: #F7F7F7;
}
@media (max-width: 767px) {
  .environment {
    padding: 60px 0;
  }
}
.environment .inner {
  width: 1000px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .environment .inner {
    width: auto;
  }
}

.environment-head {
  margin: 0 auto 40px;
  text-align: center;
}
@media (max-width: 767px) {
  .environment-head {
    margin-bottom: 30px;
  }
}

.environment-title {
  font-weight: bold;
  font-size: 32px;
  letter-spacing: 0.01em;
}
@media (max-width: 767px) {
  .environment-title {
    font-size: 20px;
  }
}

.environment-title::after {
  content: "";
  width: 48px;
  height: 12px;
  display: block;
  margin: 23px auto 0;
  background: url("/assets/img/common/shared/icon-title-dots.svg") no-repeat center / contain;
}
@media (max-width: 767px) {
  .environment-title::after {
    width: 32px;
    height: 8px;
    margin-top: 18px;
  }
}

.environment-body {
  display: flex;
  justify-content: center;
}

.environment-card {
  width: 960px;
  margin-bottom: 30px;
  padding: 6px 60px 12px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 5px rgba(0,0,0,0.16);
  overflow: hidden;
}
@media (max-width: 767px) {
  .environment-card {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    padding: 17px 30px;
  }
}

.environment-row {
  display: flex;
  align-items: center;
  padding: 40px 0 30px;
}
@media (max-width: 767px) {
  .environment-row {
    padding: 18px 0;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
  }
}

.environment-row + .environment-row {
  border-top: 1px solid #E0E0E0;
}

.environment-label {
  width: 240px;
  font-weight: bold;
  font-size: 16px;
}
@media (max-width: 767px) {
  .environment-label {
    width: auto;
    font-size: 14px;
    text-align: center;
  }
}

.environment-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
}
@media (max-width: 767px) {
  .environment-value {
    font-size: 14px;
    text-align: center;
  }
}
.environment-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.environment-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .environment-item {
    font-size: 12px;
    line-height: 1.9;
  }
}

.environment-item__mark {
  flex: 0 0 auto;
  line-height: 1.5;
}

.environment-item__text {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.5;
}


/* ----------------------------------------
  Attention
---------------------------------------- */
.attention {
  padding: 120px 0;
  display: flex;
  justify-content: center;
}
@media (max-width: 767px) {
  .attention {
    padding: 60px 0;
  }
}
.attention .inner {
  width: 1000px;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .attention .inner {
    width: 100%;
  }
}

.attention-head {
  text-align: center;
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .attention-head {
    margin-bottom: 30px;
  }
}

.attention-title {
  margin: 0;
  font-weight: bold;
  font-size: 32px;
  letter-spacing: 0.01em;
}
@media (max-width: 767px) {
  .attention-title {
    font-size: 20px;
  }
}

.attention-title::after {
  content: "";
  width: 48px;
  height: 12px;
  display: block;
  margin: 24px auto 0;
  background: url("/assets/img/common/shared/icon-title-dots.svg") no-repeat center / contain;
}
@media (max-width: 767px) {
  .attention-title::after {
    width: 32px;
    height: 8px;
    margin-top: 15px;
  }
}

.attention-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.attention-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .attention-item {
    font-size: 14px;
  }
}

.attention-list-child {
  width: 100%;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.attention-item-child {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .attention-item-child {
    font-size: 12px;
  }
}


.attention-item__mark {
  flex: 0 0 auto;
  line-height: 1.5;
}

.attention-item__text {
  flex: 1 1 auto;
  min-width: 0;
}
.attention-item__text a {
  color: #0B5BCE;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.8;
}
a.blank::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url('/assets/img/common/shared/icon-blank-blue.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ----------------------------------------
  Modal
---------------------------------------- */
body.is-modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.modal__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 108px 20px;
  overflow: scroll;
}
@media (max-width: 767px) {
  .modal__content {
    padding: 60px 20px;
    display: block;
  }
}

.modal__inner {
  width: 960px;
  text-align: center;
}
@media (max-width: 767px) {
  .modal__inner {
    width: 100%;
  }
}
.modal__lead {
  margin: 0 0 140px;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .modal__lead {
    margin: 0 0 90px;
    font-size: 16px;
  }
}
.modal__lead__strong {
  font-size: 20px;
  font-weight: bold;
}
@media (max-width: 767px) {
  .modal__lead__strong {
    font-size: 18px;
  }
}

.modal__close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
@media (max-width: 767px) {
  .modal__close {
    top: 16px;
    right: 15px;
    width: 30px;
    height: 30px;
  }
}
.modal__close:hover {
  opacity: 0.8;
}

.modal__close > span {
  position: relative;
  width: 34px;
  height: 34px;
  display: block;
}
@media (max-width: 767px) {
  .modal__close > span {
    width: 30px;
    height: 30px;
  }
}

.modal__close > span::before,
.modal__close > span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 6px;
  background: #fff;
  transform-origin: center;
}
@media (max-width: 767px) {
  .modal__close > span::before,
  .modal__close > span::after {
    width: 25px;
    height: 4px;
  }
}

.modal__close > span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close > span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 767px) {
  .modal .apply-app-wrap {
    margin-bottom: 0;
  }
}


/* ----------------------------------------
  Floating
---------------------------------------- */
.floating {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.floating__btn {
  width: 340px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(180deg, #1474FA 0%, #105AC2 100%);
  border: 4px solid #6DA6E0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease;
  position: relative;
}
@media (max-width: 767px) {
  .floating__btn {
    width: 295px;
    max-width: 92%;
    height: 50px;
    margin: 0 auto;
    gap: 12px;
    font-size: 18px;
    border: 3px solid #6DA6E0;
  }
}

.floating__btn:hover {
  opacity: 0.9;
}

.floating__btn:hover .floating__icon {
  animation: floatingIconDown 520ms ease-in-out;
  will-change: transform;
}

@keyframes floatingIconDown {
  0% {
    transform: translateY(-4px) rotate(90deg);
  }
  40% {
    transform: translateY(-1px) rotate(90deg); /* 下に3px */
  }
  100% {
    transform: translateY(-4px) rotate(90deg);
  }
}

.floating__icon {
  width: 8px;
  height: 14px;
  display: block;
  background: url("/assets/img/common/shared/icon-arrow-white.svg") no-repeat center / contain;
  transform: translateY(-4px) rotate(90deg);
  position: absolute;
  top: 22px;
  right: 27px;
}
@media (max-width: 767px) {
  .floating__icon {
    width: 7px;
    height: 12px;
    transform: translateY(-4px) rotate(90deg);
    position: absolute;
    top: 18px;
    right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating {
    transition: none;
  }
  .floating__btn:hover .floating__icon {
    animation: none;
  }
}
