@charset "utf-8";
.top-fv {
  padding-top: 120px;
      position: relative;
    height: clamp(30.625rem, 9.375rem + 44.27vw, 62.5rem);
}
.top-fv-deco1 {
      position: absolute;
    width: 512px;
    top: 40px;
    right: 0;
    z-index: -1;
}
.top-fv-deco2 {
      position: absolute;
        width: clamp(13.75rem, -20.833rem + 72.05vw, 65.625rem);
    top: clamp(21.25rem, 18.75rem + 5.21vw, 25rem);
    right: 0;
    z-index: -1;
}
.top-fv__inner {
      padding-left: clamp(1.25rem, 0.083rem + 2.43vw, 3rem);
    padding-right: clamp(1.25rem, -9.917rem + 23.26vw, 18rem);
}
.top-fv__container {
  display: flex;
}
.top-recruit {
      width: 372px;
    position: relative;
    min-width: 260px;
}
.top-recruit a {
      position: absolute;
    bottom: 8%;
    left: 10%;
}

.img-box{
  width: 100%;
  position: relative;
}
.img-box>img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  object-fit: cover;
  z-index: 10;
  opacity: 0;
  animation-name: fade;
  animation-duration: 14s;
  animation-iteration-count: infinite;
    aspect-ratio: 1282/943;
    border-radius: 20px;
}
@keyframes fade {
  0%{
    opacity: 1;
  }
  100%{
    opacity: 1;
    z-index: 0;
  }
}
/* 2枚目のスライド */
.img-box>img:last-of-type{
  animation-delay: 7s;
}

.top-fv__title {
      position: absolute;
        width: clamp(18.125rem, 8.792rem + 19.44vw, 32.125rem);
    top: clamp(20rem, 12rem + 16.67vw, 32rem);
    left: clamp(1.25rem, -1.917rem + 6.6vw, 6rem);
    z-index: 10;
}
.top-fv-title__main {
      font-size: clamp(0.75rem, 0.5rem + 0.52vw, 1.125rem);
    background-color: #87C74A;
    border-radius: 15px;
    line-height: 1;
    padding: 4px;
    text-align: center;
    color: #fff;
}

.top-fv-title__img {
  height: auto!important;
}

.top-about {
  padding-top: clamp(2.5rem, -1.458rem + 8.25vw, 8.438rem);
}
.top-about__inner {
  padding-right: clamp(2.5rem, -7.833rem + 21.53vw, 18rem);
}
.top-about__container {
      display: flex;
    column-gap: clamp(1.25rem, -3.333rem + 9.55vw, 8.125rem);
    align-items: flex-start;
}
.top-about__img {
        border-radius: 50px;
    padding-left: 20px;
    width: 55%;
    object-fit: contain;
}
.top-about__content {
  width: 45%;
}
.top-section__title {
      display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin: auto;
    padding: clamp(0.625rem, 0.375rem + 0.52vw, 1rem) clamp(1.5rem, 0.917rem + 1.22vw, 2.375rem);
    background-color: #fff;
    border-radius: clamp(0.625rem, -0.208rem + 1.74vw, 1.875rem);
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
}
.top-section-title__sub {
      height: clamp(1rem, 0.75rem + 0.52vw, 1.375rem);
    object-fit: contain;
}
.top-section-title__main {
      font-size: clamp(0.875rem, 0.5rem + 0.78vw, 1.438rem);
    padding-bottom: 4px;
    border-bottom: 2px dashed #402D2D;
}
.top-about-title__wrap {
      margin-top: 20px;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}
.top-about__title {
      padding: clamp(0.5rem, 0.25rem + 0.52vw, 0.875rem) clamp(0.938rem, 0.313rem + 1.3vw, 1.875rem);
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
    text-align: center;
    width: fit-content;
    font-size: clamp(1.125rem, 0.542rem + 1.22vw, 2rem);
    font-weight: 500;
}
.top-about__text {
      margin-top: clamp(1rem, 0.292rem + 1.48vw, 2.063rem);
    font-size: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
    line-height: 2;
    font-weight: 400;
}
.top-about__content a {
      margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.top-service {
      margin-top: 49px;
    background-color: #FFFCEA;
}
.top-service__inner {
      padding: 0 clamp(1.25rem, -5.833rem + 14.76vw, 11.875rem);
}
.top-service__container {
      padding-top: clamp(2.5rem, 1.125rem + 2.86vw, 4.563rem);
    padding-bottom: clamp(3.063rem, 0.104rem + 6.16vw, 7.5rem);
}
.top-service__items {
      margin-top: clamp(2.5rem, 2.083rem + 0.87vw, 3.125rem);
    display: flex;
    flex-direction: column;
    row-gap: clamp(2.5rem, 1.5rem + 2.08vw, 4rem);
}
.top-service__item {
      display: flex;
    column-gap: clamp(0.625rem, 0.208rem + 0.87vw, 1.25rem);
}
.top-service__item:nth-child(2) {
  flex-direction: row-reverse;
}
.top-service-item__left {
      display: flex;
    align-items: flex-start;
    width: 50%;
    column-gap: clamp(0.5rem, 1.04vw, 1.25rem);
}
.top-service-item__left--2 {
  flex-direction: row-reverse;
}
.top-service__title {
      width: clamp(3.188rem, 0.104rem + 6.42vw, 7.813rem);
    object-fit: contain;
}
.top-service__img {
       width: clamp(18.125rem, 4.167rem + 29.08vw, 39.063rem);
    height: auto;
    border-radius: 50px;
    object-fit: contain;
}
.top-service-item__content {
      width: 50%;
    padding: clamp(1rem, -0.292rem + 2.69vw, 2.938rem) clamp(1.25rem, -3.167rem + 9.2vw, 7.875rem);
    background-image: url(https://higasahoukan.jp/system_panel/uploads/images/top-service-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
        position: relative;
    z-index: 1;
}
.top-service-content-title__wrap {
      width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: clamp(0.688rem, 0.479rem + 0.43vw, 1rem);
}
.top-service-content__title {
      width: fit-content;
    font-size: clamp(0.875rem, 0.458rem + 0.87vw, 1.5rem);
    padding-bottom: clamp(0.25rem, 0.083rem + 0.35vw, 0.5rem);
    border-bottom: 2px dashed #402D2D;
}
.top-service-content__text {
       font-size: clamp(0.75rem, 0.583rem + 0.35vw, 1rem);
    margin-top: clamp(0.625rem, 0.208rem + 0.87vw, 1.25rem);
    font-weight: 400;
    line-height: 2;
    width: 100%;
}
.top-service-item__content a {
      margin-left: auto;
    margin-top: clamp(0.438rem, -0.104rem + 1.13vw, 1.25rem);
}

.top-bottom {
      padding-top: clamp(2.5rem, 0.833rem + 3.47vw, 5rem);
    position: relative;
}
.top-bottom__deco {
      position: absolute;
    width: clamp(25rem, 9.292rem + 32.73vw, 48.563rem);
    bottom: 0;
}
.top-bottom__inner {
  position: relative;
      padding-left: clamp(1.25rem, -5.917rem + 14.93vw, 12rem);
    padding-right: clamp(1.25rem, -9.917rem + 23.26vw, 18rem);
}
.top-bottom__container {
      display: flex;
    column-gap: clamp(1.25rem, -1.792rem + 6.34vw, 5.813rem);
}
.top-bottom__left {
      width: 55%;
    display: flex;
}
.top-bottom__img1 {
      width: 50%;
    object-fit: contain;
    margin-bottom: clamp(6.25rem, 2.083rem + 8.68vw, 12.5rem);
}
.top-bottom__img2 {
      width: 50%;
    object-fit: contain;
    margin-top: clamp(6.25rem, 2.083rem + 8.68vw, 12.5rem);
}

.top-cta {
      padding-top: clamp(5rem, 3rem + 4.17vw, 8rem);
    padding-bottom: clamp(5rem, 1.667rem + 6.94vw, 10rem);
    position: relative;
}
.top-cta__deco1 {
      position: absolute;
    bottom: 0;
    right: 0;
    width: clamp(12.5rem, -0.458rem + 27vw, 31.938rem);
    z-index: -1;
}
.top-cta__deco2 {
      position: absolute;
    width: 192px;
    bottom: 0;
    z-index: -1;
}
.top-cta__inner {
  padding: 0 clamp(1.25rem, -9.917rem + 23.26vw, 18rem);
}
.top-cta__container {
      display: flex;
    column-gap: clamp(1.25rem, -4rem + 10.94vw, 9.125rem);
}
.top-cta__container a {
  width: 50%;
}
.top-cta__banner {
      background-image: url(https://higasahoukan.jp/system_panel/uploads/images/top-cta-bg1.png);
    aspect-ratio: 601/317;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    column-gap: clamp(0.875rem, 0.625rem + 0.52vw, 1.25rem);
    padding-top: clamp(0.5rem, 0.292rem + 0.43vw, 0.813rem);
    padding-left: 20px;
    align-items: flex-start;
    transition: all 0.7s;
}
.top-cta__banner:hover {
  background-color:rgba(255,255,255,0.3);
  background-blend-mode:lighten;
}
.top-cta__banner--2 {
      background-image: url(https://higasahoukan.jp/system_panel/uploads/images/top-cta_bg2.png);
}
.top-cta-title__wrap {
  text-align: center;
}
.top-cta-title__sub {
      font-size: clamp(0.75rem, 0.583rem + 0.35vw, 1rem);
    font-weight: 700;
    color: #fff;
}
.top-cta-title__main {
      font-size: clamp(1.25rem, 0.75rem + 1.04vw, 2rem);
    color: #fff;
}
.top-cta__icon {
    width: clamp(2.813rem, 1.938rem + 1.82vw, 4.125rem);
    height: auto;
    object-fit: contain;
}

.top-news {
      padding: 40px 0;
    background-color: #FFFCEA;
}
.top-news__inner {
  padding: 0 clamp(1.25rem, -15.75rem + 35.42vw, 26.75rem);
}
.top-news__container {
      position: relative;
    z-index: 1;
}

.news__main {
  margin-top: 56px;
  margin-bottom: 30px;
}
.news__main section {
      display: flex;
    flex-direction: column;
    row-gap: clamp(1.25rem, 0.417rem + 1.74vw, 2.5rem);
}
.newsLink {
      display: flex;
     color: #000;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px dashed #000;
}
.newsItemText {
      display: flex;
    column-gap: clamp(1rem, 0.667rem + 0.69vw, 1.5rem);
  width: 36%;
}
.newsItemTime {
      font-size: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
    font-weight: 400;
    white-space: nowrap;
}
.newsItemCate {
      font-size: clamp(0.75rem, 0.667rem + 0.17vw, 0.875rem);
    background-color: #FDDAE6;
    padding: 2px clamp(1rem, 0.667rem + 0.69vw, 1.5rem);
    white-space: nowrap;
}
.newsItemTit {
      font-size: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
    font-weight: 700;
  width: 64%;
  transition: all 0.5s;
}
.newsLink:hover .newsItemTit {
  opacity: 0.5;
}

.top-news__btn {
      display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
  .top-fv {
    height: clamp(45rem, 24.31rem + 84.88vw, 65rem);
  }
  .top-fv-deco1 {
    width: 265px;
  }
  .top-fv-deco2 {
        top: clamp(25rem, 5.603rem + 79.58vw, 43.75rem);
    width: clamp(13.75rem, 2.112rem + 47.75vw, 25rem);
  }
  .top-fv__inner {
    padding-right: 0;
  }
  .top-fv__container {
    flex-direction: column;
  }
  .top-recruit {
        width: clamp(11rem, 5.569rem + 22.28vw, 16.25rem);
    min-width: unset;
  }
  .btn__pink--fv {
        width: 124px;
    column-gap: 8px;
    padding: 6px;
    justify-content: center;
  }
  .btn__text {
    font-size: 12px;
  }
  .slideshow {
    width: 100%;
  }
  .top-fv__title {
        top: unset;
    bottom: 0;
    width: 312px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .top-about__inner {
    padding-right: 20px;
  }
  .top-about__container {
        flex-direction: column;
    row-gap: 40px;
  }
  .top-about__img {
    width: 100%;
  }
  .top-about__content {
        width: 100%;
    padding-left: 20px;
  }
  
  .top-service__item {
        flex-direction: column;
    row-gap: 20px;
  }
  .top-service__item:nth-child(2) {
    flex-direction: column;
  }
  .top-service-item__left {
    width: 100%;
  }
  .top-service__title {
    width: 16%;
  }
  .top-service__img {
    width: 84%;
  }
  .top-service-item__content {
        width: 100%;
    background-image: unset;
    padding: 0 20px;
  }
  
  .top-bottom__deco {
        bottom: unset;
    top: 0;
  }
  .top-bottom__container {
        flex-direction: column;
    row-gap: 20px;
  }
  .top-bottom__left {
        flex-direction: column;
    width: 100%;
  }
  .top-bottom__img1 {
        margin-bottom: unset;
    width: 70%;
  }
  .top-bottom__img2 {
        margin-top: unset;
    width: 70%;
    margin-left: auto;
  }
  
  .top-cta__deco2 {
    display: none;
  }
  .top-cta__container {
        flex-direction: column;
    row-gap: 20px;
  }
  .top-cta__container a {
    width: 100%;
  }
  
  .news__main {
    margin-top: 32px;
  }
  .newsLink {
        flex-direction: column;
    align-items: flex-start;
    row-gap: 8px;
    padding-bottom: 8px;
  }
  .newsItemText {
    width: 100%;
  }
  .newsItemTit {
        width: 100%;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }
}

@media (max-width: 389px) {
  .top-fv__title {
    width: 290px;
  }
  
  .top-about__title {
    font-size: 16px;
  }
  
  .top-service-content__title {
    font-size: clamp(0.875rem, 0.295rem + 2.9vw, 1rem);
  }
  
  .top-cta__banner {
        flex-direction: column;
    row-gap: 10px;
  }
}