@charset "utf-8";
/* CSS Document */

/*  ------------------------------------------------------ top common */
/* タイトル */
.top-ttl span {
  position: relative;
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 14px;
  font-weight: var(--font-semi-bold);
  color: var(--color-gray);
  line-height: 1.2;
  margin-bottom: 8px;
  padding-left: 16px;
  letter-spacing: 0.04em;
}

.top-ttl span:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4px;
  margin: auto;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-orange);
}

.top-ttl {
  font-size: 36px;
  line-height: 1.4;
  color: var(--color-light_black);
  font-weight: var(--font-medium);
  letter-spacing: 0.06em;
}

/* sp */
@media screen and (max-width:767px) {
  .top-ttl span {
    font-size: 12px;
  }
  .top-ttl {
    font-size: 24px;
  }
}

/*  ------------------------------------------------------ attention */
.attention {
  background: var(--color-bg1-gray);
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.attention.occurring{
  background: var(--color-light_orange);
}

.attention h2 {
  font-size: 14px;
  color: var(--color-orange);
  padding: 5px 8px 6px;
  text-align: center;
  background: var(--color-white);
  letter-spacing: 0;
  line-height: 1.2;
}

.attention.occurring h2{
  color: var(--color-white);
  background: var(--color-orange);
}

.attention .txt {
  width: calc(100% - 130px);
}

.attention.occurring time{
  flex: none;
  line-height: 1.2;
}

.attention.occurring .txt{
  display: flex;
  align-items: center;
  gap: 0 16px;
}

.attention .txt a {
  text-decoration: underline;
  display: block;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
  transition: opacity var(--ease-base);
}
.attention .txt a:hover {
  opacity: 0.6;
  text-decoration: none;
}

/* SP版 */
@media screen and (max-width:767px) {
  .attention {
    padding: 4px 8px;
  }

  .attention h2 {
    font-size: 12px;
  }

  .attention .txt{
    width: calc(100% - 72px);
  }

  .attention.occurring .txt{
    flex-wrap: wrap;
    gap: 4px 0;
  }

  .attention .txt a,
  .attention.occurring time {
    font-size: 12px;
  }

  .attention.occurring time{
    width: 100%;
  }
}

/*  ------------------------------------------------------ kv */
.top-kv {
  position: relative;
}

/* スライダー部分 */
ul.top-kv-slider > li:not(:first-child) {
  display: none;
}

.top-kv{
  overflow: hidden;
}

.top-kv .slick-list,
.top-kv .slick-track{
  height: 100%;
}

.top-kv .top-kv-slider {
  width: 100%;
}
.top-kv .top-kv-slider img {
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center center;
}

/* タイトル部分 */
.top-kv-title .inner{
  width: fit-content;
}

.top-kv .top-kv-title {
  position: absolute;
  top: min(9.52vw,160px);
  left: 0;
  width: 100%;
  z-index: 2;
}

.top-kv .top-kv-slider li:first-child .top-kv-title{
  top: 11.9vw;
}

.top-kv .top-kv-title h2 {
  font-family: "Zen Old Mincho", serif;
  font-size: 40px;
  font-weight: var(--font-semi-bold);
  line-height: 1.5;
  color: var(--color-white);
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(0, 0, 0, .8);
}

.top-kv .slider-controls{
  position: absolute;
  bottom: 20px;
  right: 40px;
  padding: 0 26px;
  z-index: 3;
}

.top-kv .slick-prev,
.top-kv .slick-next{
  width: 10px;
  height: 10px;
}

.top-kv .slick-prev{
  left: 0;
}

.top-kv .slick-next{
  right: 0;
}

.top-kv .slick-prev:before,
.top-kv .slick-next:before{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  margin: auto;
  border-top: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  transform: rotate(45deg);
  box-sizing: border-box;
  opacity: 1;
}

.top-kv .slick-prev:before{
  transform: rotate(-135deg);
}

.top-kv .slick-next:before{
  right: 2px;
}

.top-kv .slider-controls .slick-dots{
  position: static;
  display: flex;
}

.top-kv .slick-dots li{
  width: 10px;
  height: 10px;
  margin: 0 8px;
}

.top-kv .slick-dots li button{
  width: 10px;
  height: 10px;
  padding: 0;
}

.top-kv .slick-dots li button:before{
  content: "";
  font-size: 0;
  line-height: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 1;
  background: var(--color-white);
}

.top-kv .slick-dots li.slick-active button:before{
  border: 1px solid var(--color-white);
  background: none;
}

.top-kv .slick-dotted.slick-slider{
  margin: 0;
}

/* PC版調整 */
@media screen and (max-width: 1380px) and (min-width: 768px) {
  .top-kv .top-kv-slider li:nth-child(2) img,
  .top-kv .top-kv-slider li:nth-child(3) img{
    object-position: 80% center;
  }
  .top-kv .top-kv-slider li:nth-child(2) .top-kv-title{
    top: auto;
    bottom: 100px;
  }
}

@media screen and (max-width: 1100px) {
  .top-kv .top-kv-slider li:first-child .top-kv-title{
    top: 9.52vw;
  }
  .top-kv .top-kv-title h2 {
    font-size: 3.64vw;
    margin-bottom: 24px;
  }
  
}

/* ニュース部分 */
.top-kv .top-kv-news {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 1086px;
  margin-right: 210px;
  z-index: 3;
}
.top-kv .top-kv-news ul {
  display: flex;
  gap: 2px;
}

.top-kv .top-kv-news li:first-child {
  width: 120px;
  flex-shrink: 0;
  padding: 12px 16px;
  background: rgba(247, 247, 247, 0.92);
}

.top-kv .top-kv-news li:first-child h3 {
  position: relative;
  font-size: 14px;
  font-weight: var(--font-semi-bold);
  color: var(--color-gray);
  padding-left: 16px;
}

.top-kv .top-kv-news li:first-child h3:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4px;
  margin: auto;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-orange);
}

.top-kv .top-kv-news li:not(:first-child) {
  width: calc((100% - 120px - 6px) / 3);
}

.top-kv .top-kv-news li a,
.top-kv .top-kv-news li div {
  display: block;
  height: 100%;
  padding: 8px 12px;
  background: rgba(247, 247, 247, 0.92);
  transition: all var(--ease-base);
}
.top-kv .top-kv-news li a:hover {
  background: rgba(255, 255, 255, 1);
}
.top-kv .top-kv-news li .day {
  font-size: 12px;
  color: var(--color-light_black);
}

.top-kv .top-kv-news li .txt {
  font-size: 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 2行まで表示 */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.top-kv .top-kv-news li a .txt {
  text-decoration: underline;
}

.top-kv .top-kv-news li div .txt {
  text-decoration: none;
}

.top-kv .top-kv-news li a:hover .txt {
  text-decoration: none;
}

/* SP版 */
@media screen and (max-width:767px) {
  .top-kv .top-kv-slider img {
    object-position: top center;
  }

  .top-kv .top-kv-title,
  .top-kv .top-kv-slider li:first-child .top-kv-title{
    top: auto;
    bottom: 212px;
  }
  
  .top-kv .top-kv-title h2{
    font-size: 24px;
    margin-bottom: 8px;
  }

  .top-kv .slider-controls{
    bottom: 162px;
    right: 16px;
  }

  .top-kv .top-kv-news{
    width: calc(100% - 16px);
    margin-right: 0;
  }
  .top-kv .top-kv-news ul{
    flex-wrap: wrap;
    gap: 0;
  }
  .top-kv .top-kv-news li:not(:first-child){
    width: 100%;
    border-bottom: 1px solid var(--color-border-gray);
  }
  .top-kv .top-kv-news li:last-child{
    border: none;
  }
  .top-kv .top-kv-news li a,
  .top-kv .top-kv-news li div{
    padding: 8px 16px;
  }
  .top-kv .top-kv-news li:first-child h3{
    font-size: 12px;
  }
  .top-kv .top-kv-news li .day{
    font-size: 10px;
  }
  .top-kv .top-kv-news li .txt {
    font-size: 12px;
    -webkit-line-clamp: 1;
  }
}

/* SP版調整 */
@media screen and (max-width: 375px) {
  .top-kv .top-kv-title,
  .top-kv .top-kv-slider li:first-child .top-kv-title{
    bottom: 183px;
  }
  .top-kv .slider-controls{
    bottom: 138px;
  }
  .top-kv .top-kv-title h2{
    font-size: 6vw;
  }
  .top-kv .top-kv-news li:first-child{
    padding: 8px 16px;
  }
  .top-kv .top-kv-news li a,
  .top-kv .top-kv-news li div{
    padding: 4px 16px;
  }
}

/*  ------------------------------------------------------ about */
.top-about {
  padding: 80px 0 160px;
}

/* コンテンツ部分 */
.top-about .wrapper{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0 4.76vw;
}

.top-about .wrapper figure{
  width: calc(50vw + 80px);
  margin-left: calc(50% - 50vw);
}

.top-about .wrapper figure img{
  width: 100%;
}

.top-about .wrapper .inner{
  position: relative;
  max-width: 440px;
  min-width: 320px;
  flex: 1;
}

.top-about .wrapper .inner .bg-txt {
  position: absolute;
  top: max(-5.71vw,-96px);
  left: max(-2.38vw,-40px);
  width: min(42.44vw,713px);
  z-index: -1;
}

.top-about .top-ttl{
  margin-bottom: 40px;
}

.top-about p {
  line-height: 2;
  margin-bottom: 32px;
}

/* PC版調整 */
@media screen and (max-width: 1400px) {
  .top-about .wrapper .inner .bg-txt{
    left: -4vw;
  }
}

/* SP版 */
@media screen and (max-width:767px) {
  .top-about {
    padding: 80px 0 0;
  }

  /* コンテンツ部分 */
  .top-about .wrapper{
    flex-wrap: wrap;
    gap: 0;
  }

  .top-about .wrapper .inner {
    width: 100%;
    max-width: none;
    min-width: auto;
    order: 1;
  }

  .top-about .wrapper .inner .bg-txt {
    top: max(-10.51vw,-41px);
    left: max(-2.05vw,-8px);
    width: min(91.54%,357px);
  }

  .top-about .top-ttl {
    margin-bottom: 32px;
  }

  .top-about p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .top-about .wrapper figure{
    width: calc(100% + 32px);
    margin: 35px -16px 0;
    order: 2;
  }
}


/*  ------------------------------------------------------ works */
.top-works {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
}

.top-works:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 67.86%;
  height: calc(100% - 40px);
  background: var(--color-bg1-gray);
  z-index: -1;
}

/* 背景文字 */
.top-works .bg-txt {
  position: absolute;
  bottom: 0;
  right: max(-1.07vw,-18px);
  width: min(48.93vw, 822px);
  max-width: 822px;
  z-index: 0;
}

/* テキスト部分 */
.top-works .txt {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 50px;
  gap: 0 40px;
}

.top-works .top-ttl{
  width: fit-content;
  max-width: 300px;
}

.top-works .txt > div {
  width: 69.75%;
  flex: 1;
  max-width: 837px;
}

.top-works .txt p {
  line-height: 2;
  margin-bottom: 32px;
}

.top-works .border-btn:before{
  background: var(--color-white);
}

/* リスト部分 */
.top-works .list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.top-works .list li {
  width: calc((100% - 72px) / 4);
}

.top-works .list a {
  display: block;
}

.top-works .list a:hover figure > span{
  box-shadow: var(--drop-shadow);
}

.top-works .list figure > span {
  display: block;
  position: relative;
  padding-top: 161.7%;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--ease-base);
}

.top-works .list figure span img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-base);
}

.top-works .list a:hover figure span img {
  transform: scale(1.1);
}

.top-works .list figcaption {
  position: relative;
  font-size: 20px;
  font-weight: var(--font-bold);
  padding: 5px 56px 5px 0;
  letter-spacing: 0;
  transition: all var(--ease-base);
}

.top-works .list a:hover figcaption{
  color: rgba(0, 0, 0, .6);
}

.top-works .list figcaption::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 17px;
  width: 6px;
  height: 6px;
  margin: auto;
  border-top: 2px solid var(--color-orange);
  border-right: 2px solid var(--color-orange);
  transform: rotate(45deg);
  box-sizing: border-box;
}

.top-works .list figcaption::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border-gray);
  background: var(--color-white);
  transform: scale(1);
}

.top-works .list a:hover figcaption:before{
  animation: circleAnimation var(--ease-base);
}

/* PC版調整 */
@media screen and (max-width: 1130px) {
  .top-works .list figcaption{
    font-size: max(1.77vw,16px);
  }
}

@media screen and (max-width: 1080px) {
  .top-works .txt p br.is-pc{
    display: none !important;
  }
}

@media screen and (max-width: 880px) {
  .top-works .list{
    gap: 24px 16px;
  }

  .top-works .list li{
    width: calc((100% - 16px) / 2);
  }
  .top-works .txt > div{
    width: 100%;
  }
  .top-works .top-ttl{
    margin-bottom: 32px;
  }
  .top-works .txt {
    margin-bottom: 25px;
  }
}

/* SP版 */
@media screen and (max-width:767px) {
  .top-works {
    padding: 120px 0 96px;
  }

  .top-works:before{
    top: 80px;
    width: 73.08%;
    height: calc(100% - 96px);
  }

  /* 背景文字 */
  .top-works .bg-txt {
    right: 0;
    left: 0;
    margin: auto;
    width: min(105.64%, 412px);
  }

  /* テキスト部分 */
  .top-works .txt {
    margin-bottom: 35px;
    gap: 0;
  }

  .top-works .txt .top-ttl,
  .top-works .txt > div {
    width: 100%;
    max-width: none;
  }

  .top-works .txt p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  /* リスト部分 */
  .top-works .list figure > span {
    margin-bottom: 8px;
  }

  .top-works .list figcaption {
    font-size: 16px;
    padding: 8px 56px 8px 0;
  }
}

@media screen and (max-width:389px) {
  .top-works .list figcaption{
    font-size: max(4.11vw,14px);
    padding: 8px 40px 8px 0;
  }
  .top-works .list figcaption::before{
    width: 32px;
    height: 32px;
  }
  .top-works .list figcaption::after{
    width: 6px;
    height: 6px;
    right: 13px;
  }
}

/*  ------------------------------------------------------ recruit */
.top-recruit{
  padding: 120px 0 160px;
  overflow: hidden;
}

.top-recruit .wrapper{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0 4.76vw;
}

.top-recruit .wrapper .img-slider{
  width: calc(50vw + 80px);
  margin-right: calc(50% - 50vw);
}

.top-recruit .slick-list {
  margin: 0 -2px;
}
.top-recruit .slick-slide {
  margin: 0 2px;
}

.top-recruit .slider-lower{
  margin-top: 4px;
}

.top-recruit .wrapper .img-slider img{
  width: 100%;
}

.top-recruit .wrapper .inner{
  position: relative;
  max-width: 440px;
  min-width: 320px;
  flex: 1;
}

.top-recruit .wrapper .inner .bg-txt{
  position: absolute;
  top: max(-7.14vw,-120px);
  left: max(-5.71vw,-96px);
  width: min(34.23vw, 575px);
  z-index: -1;
}

.top-recruit .top-ttl{
  margin-bottom: 40px;
}

.top-recruit p {
  line-height: 2;
  margin-bottom: 32px;
}

/* PC版調整 */
@media screen and (max-width: 1330px) {
  .top-recruit .wrapper .inner .bg-txt {
    position: absolute;
    left: -3.01vw;
  }
}

/* SP版 */
@media screen and (max-width:767px) {
  .top-recruit {
    padding: 64px 0 80px;
  }

  .top-recruit .wrapper {
    flex-wrap: wrap;
    gap: 0;
  }

  .top-recruit .wrapper .inner{
    width: 100%;
    max-width: none;
    min-width: auto;
  }

  .top-recruit .wrapper .inner .bg-txt {
    top: max(-9.23vw,-36px);
    left: max(-2.05vw,-8px);
    width: min(73.85%, 288px);
  }

  .top-recruit .wrapper .img-slider{
    width: calc(100% + 32px);
    margin: 35px -16px 0;
  }

  .top-recruit .top-ttl{
    margin-bottom: 32px;
  }

  .top-recruit p {
    font-size: 14px;
    margin-bottom: 24px;
  }
}

/*  ------------------------------------------------------ johoku */
.top-johoku {
  position: relative;
  padding: 180px 0;
  overflow: hidden;
  background: url('/assets/images/top/johoku-bg_pc.jpg') center / cover no-repeat;
}

/* 背景文字 */
.top-johoku .bg-txt {
  position: absolute;
  bottom: max(-1.19vw,-20px);
  right: max(-1.19vw,-20px);
  width: min(55.48%, 932px);
  z-index: 1;
}

.top-johoku .bg-txt img {
  width: 100%;
  height: auto;
}

/* コンテンツ部分 */
.top-johoku .wrapper {
  position: relative;
  z-index: 2;
}

.top-johoku .inner {
  width: 50%;
}

.top-johoku .top-ttl span{
  color: #C0C0C0;
}

.top-johoku .top-ttl {
  margin-bottom: 40px;
  color: var(--color-white);
}

.top-johoku p {
  color: var(--color-white);
  line-height: 2;
  margin-bottom: 32px;
}

/* PC版調整 */
@media screen and (max-width: 1240px) {
  .top-johoku {
    background-position: center right 32%;
  }
}

/* SP版 */
@media screen and (max-width:767px) {
  .top-johoku {
    padding: 80px 0 155px;
    background: url('/assets/images/top/johoku-bg_sp.jpg') center / cover no-repeat;
  }

  /* 背景文字 */
  .top-johoku .bg-txt {
    bottom: max(-2.05vw,-8px);
    right: max(-4.1vw,-16px);
    width: min(73.33%, 286px);
  }

  /* コンテンツ部分 */
  .top-johoku .inner {
    width: fit-content;
  }

  .top-johoku .top-ttl {
    margin-bottom: 32px;
  }

  .top-johoku p {
    font-size: 14px;
    margin-bottom: 24px;
  }

}

/*  ------------------------------------------------------ news */
.top-news{
  padding: 160px 0 0;
}

.top-news .wrapper{
  display: flex;
  justify-content: space-between;
  gap: 0 80px;
}

.top-news .top-ttl{
  margin-bottom: 40px;
}

.top-news .news-list{
  max-width: 837px;
  flex: 1;
}

/* SP版 */
@media screen and (max-width:767px) {
  .top-news{
    padding: 80px 0 0;
  }
  .top-news .wrapper{
    flex-wrap: wrap;
    gap: 0;
  }

  .top-news .wrapper > div{
    display: flex;
    justify-content: space-between;
    align-items: end;
    width: 100%;
    margin-bottom: 32px;
  }

  .top-news .top-ttl{
    margin: 0;
  }
}