@charset "utf-8";
.top-fv {
    background-image: url(https://ability7700.co.jp/system_panel/uploads/images/top--fv.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #121820;
    position: relative;
    height: clamp(67.5rem, 25.833rem + 86.81vw, 130rem);
}
.top-fv__inner {
  padding-left: clamp(2.5rem, -15.929rem + 28.79vw, 18.625rem);
}
.top-fv__container {
  padding-top: clamp(33.75rem, 0.167rem + 69.97vw, 84.125rem);
}
.top-about__img {
      position: absolute;
    bottom: 76px;
    right: clamp(2.5rem, -8.357rem + 16.96vw, 12rem);
    width: clamp(21.25rem, 9.833rem + 23.78vw, 38.375rem);
}
.top-about__title {
      font-family: "Pinyon Script", cursive;
    color: #D0A443;
    position: relative;
    font-size: clamp(1.75rem, -0.583rem + 4.86vw, 5.25rem);
}
.top-about__text {
      margin-top: 32px;
    font-size: clamp(0.875rem, 0.589rem + 0.45vw, 1.125rem);
    color: #fff;
    line-height: 1.5;
    position: relative;
    width: clamp(18.75rem, 3.25rem + 32.29vw, 42rem);
}
.top-about__btn {
  margin-top: 40px;
}

.top-news {
      padding: 80px 0;
    background-color: #DFDFDF;
  　　display: none;
}
.top-news__inner {
  padding: 0 clamp(2.5rem, -15.214rem + 27.68vw, 18rem);
}
.top-news__header {
      display: flex;
    align-items: center;
    column-gap: clamp(2.5rem, -6.5rem + 14.06vw, 10.375rem);
}
.top-news-title__sub {
      font-size: clamp(0.875rem, 0.589rem + 0.45vw, 1.125rem);
    font-weight: 700;
}
.top-news-title__main {
      font-size: clamp(2rem, -1.714rem + 5.8vw, 5.25rem);
    font-family: "Pinyon Script", cursive;
    font-weight: 400;
}
.top-news__block {
  margin-top: 8px;
}
.top-news__block section {
        display: grid;
        column-gap: clamp(1rem, -4.714rem + 8.93vw, 6rem);
    row-gap: clamp(1.25rem, -3.036rem + 6.7vw, 5rem);
    grid-template-columns: repeat(3, 1fr);
}
.newsItemImg img {
        width: 100%;
    aspect-ratio: 384 / 260;
    object-fit: cover;
}
.newsItemText {
        margin-top: 16px;
    display: flex;
    flex-direction: row;
    column-gap: 16px;
}
.newsItemTime {
        font-size: clamp(0.75rem, 0.464rem + 0.45vw, 1rem);
    color: #FFF;
    font-weight: 700;
    background-color: #000;
    padding: 1px 6px;
    display: inline-block;
    text-align: center;
    transition: .5s;
}
.newsItemCate {
        font-size: clamp(0.75rem, 0.464rem + 0.45vw, 1rem);
    color: #0A1C32;
    transition: .5s;
}
.newsItemTit {
        font-size: clamp(0.875rem, 0.446rem + 0.67vw, 1.25rem);
    margin-top: 8px;
    font-weight: 700;
    transition: .5s;
}
.newsItemContent {
      margin-top: 8px;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: clamp(0.875rem, 0.732rem + 0.22vw, 1rem);
    transition: .5s;
}
.newsItemLine {
      margin-left: auto;
    margin-top: 8px;
    width: 163px;
    border-bottom: 7px solid #0A1C32;
    transition: .5s;
}
.newsItem:hover .newsItemTime {
  background-color: #D0A443;
}
.newsItem:hover .newsItemCate {
  color: #D0A443;
}
.newsItem:hover .newsItemTit {
  color: #D0A443;
}
.newsItem:hover .newsItemContent {
  color: #D0A443;
}
.newsItem:hover .newsItemLine {
  border-bottom: 7px solid #D0A443;
}
.top-news-btn__sp {
    display: none;
}

.top-main {
  background-color: #121820;
      padding-top: 120px;
    padding-bottom: 103px;
  position: relative;
}
.top-main-deco__1 {
      position: absolute;
    width: clamp(24rem, -17.143rem + 64.29vw, 60rem);
    bottom: 0;
    right: 0;
    z-index: 1;
}
.top-main-deco-2 {
      position: absolute;
    width: 217px;
    height: 100%;
    object-fit: contain;
    top: 0;
    right: clamp(0rem, -6.857rem + 10.71vw, 6rem);
    z-index: 2;
}
.top-main__inner {
  position: relative;
  z-index: 4;
}
.top-service__items {
      margin-top: 96px;
    display: flex;
    flex-direction: column;
    row-gap: 80px;
}
.top-service__item {
      display: flex;
    column-gap: clamp(2.5rem, -0.357rem + 4.46vw, 5rem);
    padding-right: 40px;
}
.top-service__item:nth-child(2n) {
      justify-content: end;
    padding-right: 0;
    padding-left: 40px;
}
.top-service__left {
  width: 884px;
}
.top-service__right {
  width: 572px;
}
.top-service__title {
      font-size: clamp(1.25rem, 0.75rem + 0.78vw, 1.688rem);
    font-weight: 700;
    color: #fff;
}
.top-service__text {
      margin-top: 22px;
    font-size: clamp(0.938rem, 0.723rem + 0.33vw, 1.125rem);
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
}
.top-service__btn {
  margin-top: 40px;
}

.top-greeting {
      padding-top: 158px;
    display: flex;
    column-gap: clamp(2.5rem, -4.214rem + 10.49vw, 8.375rem);
    padding-left: clamp(2.5rem, -8.357rem + 16.96vw, 12rem);
    padding-right: 40px;
}
.slider__wrapper {
  display: none;
}
.top-greeting__left {
  width: 578px;
}
.top-greeting__right {
      width: 536px;
    padding-top: clamp(0rem, -7.071rem + 11.05vw, 6.188rem);
}
.top-greeting__text {
      margin-top: 56px;
    font-size: clamp(0.875rem, 0.589rem + 0.45vw, 1.125rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.5;
}
.top-greeting__btn {
  margin-top: 56px;
}

@media (max-width: 767px) {
  .top-fv {
    background-image: url(https://ability7700.co.jp/system_panel/uploads/images/top--fv--sp.png);
    height: 1436px;
    margin-top: 42px;
    background-size: 100%;
    height: clamp(89.75rem, 66.216rem + 96.55vw, 112.5rem);
  }
  .top-fv__inner {
    padding: 0 20px;
  }
  .top-fv__container {
    padding-top: clamp(59.375rem, 30.28rem + 119.36vw, 87.5rem);
  }
  .top-about__img {
        bottom: 500px;
    width: 257px;
    right: 20px;
  }
  .top-about__text {
        margin-top: 24px;
    line-height: 1.4;
    width: 100%;
  }
  .top-about__btn {
        margin-left: auto;
    margin-right: auto;
  }
  
  .top-news {
    padding: 40px 0;
  }
  .top-news__inner {
    padding: 0 20px;
  }
  .top-news__header {
    justify-content: center;
  }
  .top-news__title {
    text-align: center;
  }
  .top-news-btn__pc {
    display: none;
  }
  .top-news__block section {
    grid-template-columns: repeat(2, 1fr);
  }
  .top-news-btn__sp {
    display: block;
    margin-top: 40px;
  }
  .top-news-btn__sp > div {
         margin-left: auto;
    margin-right: auto;
  }
  
  .top-main {
    padding-top: 80px;
    padding-bottom: 207px;
  }
  .top-main-deco__1 {
    width: 100%;
  }
  .top-main-deco-2 {
    display: none;
  }
  .top-service__items {
    margin-top: 40px;
  }
  .top-service__item {
        flex-direction: column;
    row-gap: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .top-service__item:nth-child(2n) {
        flex-direction: column-reverse;
    padding-left: 20px;
    padding-right: 20px;
  }
  .top-service__left {
    width: 100%;
  }
  .top-service__right {
    width: 100%;
  }
  .top-service__text {
    margin-top: 8px;
  }
  .top-service__btn {
        margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .top-greeting {
        padding-top: 257px;
    padding-left: 20px;
    padding-right: 20px;
    flex-direction: column;
    row-gap: 40px;
    position: relative;
    overflow: hidden;
  }
  .slider__wrapper {
  display: flex;
    width: 100vw;
    position: absolute;
    top: 80px;
}
.slider {
  animation: scroll-left 40s infinite linear .5s both;
  display: flex; 
      align-items: center;
}
.slide {
  width: 100vw;
      display: flex;
    column-gap: 20px;
}
.slide img {
    width: clamp(81.438rem, -11.134rem + 144.64vw, 162.438rem);
    max-width: unset;
}
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
  .top-greeting__left {
    width: 100%;
  }
  .top-greeting__right {
        width: 100%;
    padding-top: 0;
  }
  .top-greeting__text {
    margin-top: 16px;
  }
  .top-greeting__btn {
        margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 389px) {
  .top-fv__container {
    padding-top: 860px;
  }
  .top-about__img {
    bottom: 600px;
  }
  
  .top-news__block section {
    grid-template-columns: repeat(1, 1fr);
  }
}