@charset "utf-8";
.service__top {
      background-color: #FEEAEA;
    padding: 20px 0;
}
.service-top__inner {
  padding: 0 clamp(2.5rem, 0.167rem + 4.86vw, 6rem);
}
.servide-top__container {
      background-color: #Fff;
    padding: 40px;
    text-align: center;
}
.servise-top__title {
      font-size: clamp(1.25rem, 0.75rem + 1.04vw, 2rem);
    font-weight: 600;
}
.servise-top__title--sp {
      font-size: clamp(1.25rem, 0.75rem + 1.04vw, 2rem);
    font-weight: 600;
  display: none;
}
.service-top__text {
      margin-top: clamp(1.25rem, 0.625rem + 1.3vw, 2.188rem);
    font-size: clamp(0.875rem, 0.708rem + 0.35vw, 1.125rem);
    font-weight: 600;
    line-height: 2;
    margin-bottom: 20px;
}
.service-top__text--sp {
      margin-top: clamp(1.25rem, 0.625rem + 1.3vw, 2.188rem);
    font-size: clamp(0.875rem, 0.708rem + 0.35vw, 1.125rem);
    font-weight: 600;
    line-height: 2;
    margin-bottom: 20px;
  display: none;
}
.service-top__bottom {
      display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    background-color: #C7081C;
    color: #fff;
    padding: 4px clamp(0.625rem, 0.375rem + 0.52vw, 1rem);
    line-height: 2.5;
    font-size: clamp(1.188rem, 0.979rem + 0.43vw, 1.5rem);
    font-weight: 600;
}
.service-top__bottom--sp {
      display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    background-color: #C7081C;
    color: #fff;
    padding: 4px clamp(0.625rem, 0.375rem + 0.52vw, 1rem);
    line-height: 2.5;
    font-size: clamp(1.188rem, 0.979rem + 0.43vw, 1.5rem);
    font-weight: 600;
  display: none;
}

.worries {
      background-image: url(https://shinsei-j.com/system_panel/uploads/images/worries-bg.png);
    background-size: cover;
    background-position: center;
    padding-top: 64px;
    padding-bottom: 100px;
  position: relative;
}
.black-mask {
      background: rgba(0, 0, 0, .46);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  z-index: 10;
}
.worries__inner {
      padding: 0 clamp(1.25rem, -13.917rem + 31.6vw, 24rem);
    padding-right: clamp(2.813rem, -11.313rem + 29.43vw, 24rem);
  position: relative;
  z-index: 15;
}
.worries__container {
      display: flex;
    flex-direction: column;
    align-items: center;
}
.worries__header {
      font-size: clamp(1.25rem, 1.083rem + 0.35vw, 1.5rem);
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.worries__header:before,
.worries__header:after {
    content: "";
    height: 2px;
  width: clamp(2.375rem, 2.125rem + 0.52vw, 2.75rem);
    background-color: #fff;
}
.worries__header:before {
    margin-right: clamp(0.25rem, -1rem + 2.6vw, 2.125rem);
  transform: rotate(45deg);
}
.worries__header:after {
    margin-left: clamp(0.25rem, -1rem + 2.6vw, 2.125rem);
  transform: rotate(-45deg);
}
.worries-items__wrap {
  width: 100%;
  margin-top: 40px;
    display: flex;
    flex-direction: column;
  row-gap: clamp(1.25rem, 0.417rem + 1.74vw, 2.5rem);
}
.worries__items {
  width: 92%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.25rem, 0.417rem + 1.74vw, 2.5rem);
}
.worries__items:nth-child(2n) {
  margin-left: auto;
}
.worries__item {
      display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    row-gap: clamp(0.5rem, 0.167rem + 0.69vw, 1rem);
    background-color: #FFEBEB;
    border-radius: 91px;
    padding: clamp(1.25rem, 0.75rem + 1.04vw, 2rem) 16px;
  position: relative;
}
.worries__item::before {
        position: absolute;
    content: "";
    display: inline-block;
    width: clamp(1.563rem, 1.104rem + 0.95vw, 2.25rem);
    height: clamp(1.313rem, 0.896rem + 0.87vw, 1.938rem);
    background-image: url('https://shinsei-j.com/system_panel/uploads/images/worries-hukidashi.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    top: 90%;
    right: 6%;
}
.worries-item__title {
      font-size: clamp(0.875rem, 0.458rem + 0.87vw, 1.5rem);
    color: #C7081C;
    font-weight: 600;
}
.worries-item__text {
      line-height: 2;
    font-size: clamp(0.875rem, 0.708rem + 0.35vw, 1.125rem);
    font-weight: 600;
}

.service {
      padding-top: 95px;
    padding-bottom: 80px;
}
.service__inner {
      padding: 0 clamp(2.5rem, -7.833rem + 21.53vw, 18rem);
    padding-right: clamp(2.813rem, -7.313rem + 21.09vw, 18rem);
}
.service__container {
      display: flex;
    flex-direction: column;
    align-items: center;
}
.service__title {
      text-align: center;
    position: relative;
}
.service-title__sub {
      position: absolute;
    background-color: #C7081C;
    border-radius: 23px;
    padding: 4px clamp(2.063rem, 1.604rem + 0.95vw, 2.75rem);
    font-size: clamp(0.938rem, 0.729rem + 0.43vw, 1.25rem);
    font-weight: 600;
    color: #fff;
    top: -18%;
    left: 50%;
    transform: translateX(-50%);
}
.service-title__main {
      font-size: clamp(1.438rem, 1.063rem + 0.78vw, 2rem);
    font-weight: 600;
    padding: clamp(1.25rem, 0.75rem + 1.04vw, 2rem) clamp(1.25rem, -5.75rem + 14.58vw, 11.75rem);
    border: 3px solid #C7081C;
    border-radius: 52px;
}
.service__content {
      margin-top: clamp(1.25rem, 0.083rem + 2.43vw, 3rem);
    display: flex;
    column-gap: clamp(1.25rem, 0.083rem + 2.43vw, 3rem);
}
.service__left {
  width: 65%;
      display: flex;
    flex-direction: column;
    row-gap: clamp(1.25rem, 0.75rem + 1.04vw, 2rem);
}
.service__item {
      width: 90%;
    display: flex;
    align-items: center;
    column-gap: clamp(1.25rem, 0.875rem + 0.78vw, 1.813rem);
}
.service__item:nth-child(2n) {
  margin-left: auto;
}
.service-item__number {
      width: 16%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 2px solid #C7081C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2rem, 1.375rem + 1.3vw, 2.938rem);
    font-weight: 600;
    color: #C7081C;
}
.service-item__text {
      width: 82%;
    font-size: clamp(0.75rem, 0.417rem + 0.69vw, 1.25rem);
    font-weight: 600;
    padding: 20px;
    background-color: #FFEBEB;
}
.service__right {
      width: 35%;
    height: auto;
    aspect-ratio: 480/418;
    object-fit: cover;
}
.service__btn {
      margin-top: clamp(2.5rem, 0.833rem + 3.47vw, 5rem);
    position: relative;
    max-width: 940px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #C7081C;
    border-radius: 10px;
  overflow: hidden;
}
.service-btn__bg {
      aspect-ratio: 940/206;
    object-fit: cover;
    height: auto;
    border-radius: 10px;
    transition: all 0.5s;
}
.service-btn__box {
      position: absolute;
    z-index: 15;
    display: flex;
    align-items: center;
    column-gap: clamp(1.125rem, 0.875rem + 0.52vw, 1.5rem);
}
.service-btn__text {
      color: #fff;
    font-size: clamp(1.25rem, 0.75rem + 1.04vw, 2rem);
    font-weight: 700;
}
.service-btn__arrow {
      width: 0;
    height: 0;
    border-style: solid;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 16px solid #fff;
    border-right: 0;
}
.service__btn:hover .service-btn__bg {
  transform:scale(1.1);
}

.flow {
      background-color: #F7F7F7;
    padding: 40px 0;
}
.flow__inner {
      padding: 0 clamp(2.5rem, -11.833rem + 29.86vw, 24rem);
    padding-right: clamp(2.813rem, -11.313rem + 29.43vw, 24rem);
}
.flow__container {
      padding: 40px clamp(1.25rem, -1.917rem + 6.6vw, 6rem);
    background-color: #fff;
}
.flow__items {
      margin-top: 40px;
    display: flex;
    flex-direction: column;
    row-gap: 40px;
}
.flow-item__wrap {
   width: 82%;
}
.flow-item__wrap:nth-child(2n) {
  margin-left: auto;
}
.flow__item {
      display: flex;
    column-gap: clamp(1.25rem, 0.417rem + 1.74vw, 2.5rem);
}
.flow-item__left {
  position: relative;
  width: 19%;
}
.flow-item__number {
      position: absolute;
    width: clamp(1.688rem, 1.271rem + 0.87vw, 2.313rem);
    height: clamp(1.688rem, 1.271rem + 0.87vw, 2.313rem);
    background-color: #C7081C;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: clamp(0.875rem, 0.625rem + 0.52vw, 1.25rem);
    font-weight: 700;
    left: 0;
    top: 0;
}
.flow-item__icon {
    object-fit: contain;
}
.flow-item__right {
  width: 81%;
}
.flow-item__title {
      font-size: clamp(1.125rem, 1.042rem + 0.17vw, 1.25rem);
    font-weight: 700;
}
.flow-item__text {
      margin-top: 16px;
    font-weight: 400;
}
.flow-item__text a {
      text-decoration: underline;
    text-decoration-color: #C7081C;
    color: #C7081C;
  transition: all 0.5s;
}
.flow-item__text a:hover {
  opacity: 0.5;
}
.flow-item__text--sp {
      font-size: 14px;
    font-weight: 400;
    display: none;
}

@media (max-width: 767px) {
  .service-top__inner {
    padding: 0 20px;
  }
  .servide-top__container {
    padding: 20px;
  }
  .servise-top__title {
    display: none;
  }
  .servise-top__title--sp {
    display: block;
  }
  .service-top__text {
    display: none;
}
.service-top__text--sp {
  display: block;
}
  .service-top__bottom {
    display: none;
  }
  .service-top__bottom--sp {
    display: inline;
    font-size: 16px;
  }
  
  .worries__inner {
    padding: 0 20px;
  }
  .worries__container {
        max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .worries__items {
        grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }
  .worries__item:nth-child(2n)::before {
    transform: scaleX(-1);
    right: unset;
    left: 6%;
}
  .worries-item__title {
    font-size: 16px;
  }
  
  .service__inner {
    padding: 0 20px;
  }
  .service__content {
        flex-direction: column-reverse;
    row-gap: 32px;
  }
  .service__left {
        width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .service__item {
        width: 100%;
    flex-direction: column;
    row-gap: 8px;
  }
  .service-item__number {
        width: clamp(2.313rem, 1.472rem + 3.45vw, 3.125rem);
    height: clamp(2.313rem, 1.472rem + 3.45vw, 3.125rem);
    font-size: 16px;
  }
  .service-item__text {
    width: 100%;
    padding: 12px;
  }
  .service__right {
        width: 100%;
    aspect-ratio: 357/178;
    max-width: 500px;
  }
  .service__btn {
    max-width: 500px;
  }
  .service-btn__bg {
    aspect-ratio: 350/140;
  }
  
  .flow__inner {
    padding: 0 20px;
  }
  .flow__items {
        max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .flow-item__wrap {
    width: 100%;
  }
  .flow__item {
    align-items: center;
  }
  .flow-item__left {
    width: unset;
  }
  .flow-item__icon {
        width: 106px;
    min-width: 106px;
  }
  .flow-item__right {
    width: unset;
  }
  .flow-item__text {
    display: none;
  }
  .flow-item__text--sp {
        display: block;
    margin-top: 16px;
  }
  .flow-item__text--sp a {
        text-decoration: underline;
    text-decoration-color: #C7081C;
    color: #C7081C;
  }
  .flow-item__text--sp a:hover {
    opacity: 0.5;
  }
}

@media (max-width: 389px) {
  .servide-top__container {
    padding: 20px 10px;
  }
  .service-top__bottom--sp {
    font-size: clamp(0.75rem, 0.17rem + 2.9vw, 0.875rem);
  }
  
  .worries__inner {
    padding: 0 10px;
  }
  .worries__header {
    font-size: 16px;
  }
  .worries-item__title {
    font-size: 14px;
  }
  
  .service-title__sub {
    font-size: 12px;
  }
  .service-title__main {
    font-size: 18px;
  }
  
  .flow__item {
    column-gap: 8px;
  }
  .flow-item__number {
        width: 24px;
    height: 24px;
    font-size: 12px;
  }
  .flow-item__icon {
    width: 72px;
    min-width: 72px;
  }
  .flow-item__title {
    font-size: 15px;
  }
}