

/********************************

　　全体

********************************/


li {
    list-style: none;
}

img {
    display: block;
    width: 100%;
}

a {
    display: block;
    text-decoration: none;
    color: #000000;
}

.wr {
    max-width: 1100px;
    margin: 50px auto;
}

.top-hwr .en {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #010088;
    font-size: 1.2rem;
    font-weight: 500;
}

.top-hwr .en::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background-color: #010088;
}

.top-hwr h2 {
    font-size: 2rem;
    letter-spacing: 0.1rem;
    font-weight: 500;
    margin-top: 20px;
}


/********************************

　　FV

********************************/

#fv {
    position: relative;
}

#fv .catch {
    position: absolute;
    z-index: 30;
    bottom: 120px;
    left: 20px;
    font-size: clamp(2.5rem, 1.9872rem + 2.5641vw, 3.75rem);
    line-height: 1.2;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.8);
}

/* 基本レイアウト */

.news {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    max-width: 600px;
    width: 100%;
    background-color: #ffffff;
    flex-wrap: wrap;
}

.news > p {
    width: 100%;
    padding: 10px 0;
    background-color: #ffffff;
    text-align: center;
}

.news .news-list {
    height: 50px;
    overflow: hidden;
}

.news .news-list > :first-child {
    animation: news-slide 10s ease-in-out infinite;
}

@media (min-width:550px) {
    .news > p {
        width: auto;
        padding: 0;
        text-align: left;
    }
    
    #fv .catch {
        left: 40px;
    }

    .news {
        bottom: 50px;
        left: 40px;
        width: 90%;
    }
}

.news .news-list li {
    display: flex;
    flex-wrap: wrap;
    height: 50px;
}

@keyframes news-slide {
    0% { margin-top: 0; }
    23% { margin-top: 0; }
    33% { margin-top: -50px; }
    56% { margin-top: -50px; }
    66% { margin-top: -100px; }
    90% { margin-top: -100px; }
    100% { margin-top: -150px; }
}

.news .news-list li p {
    display: block;
    margin: auto;
}

.news .news-list li .date {
    font-weight: bold;
}

#fv .wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    max-height: 500px;
}

#fv .slideshow {
    overflow: hidden;
    display: flex;
    width: 100%;
}

#fv .slideshow img {
    width: inherit;
    height: inherit;
    height: 500px;
    object-fit: cover;
}

#fv .slideshow > :first-child {
    animation-delay: 0s;
}

#fv .slideshow:nth-child(odd) > :first-child,
#fv .slideshow:nth-child(even) > :first-child {
    animation: slide 10s ease-in-out infinite;
}

@keyframes slide {
    0% { margin-left: 0; }
    23% { margin-left: 0; }
    33% { margin-left: -100%; }
    56% { margin-left: -100%; }
    66% { margin-left: -200%; }
    90% { margin-left: -200%; }
    100% { margin-left: -300%; }
}

#about > p{
    margin: 30px 0;
}

.box {
    display: inline;
    line-height: 1.4;
}

@media (min-width:600px) {
    .box {
        display: block;
    }
}

#about img {
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

#tiktok {
    background-color: #E4E8F3;
    padding: 30px 10px;
}

#tiktok .wr {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#tiktok h2 {
    font-size: 2rem;
    letter-spacing: 0.1rem;
    line-height: 1.4;
}

.btn {
    margin-top: 20px;
    padding: 20px 40px;
    color: #ffffff;
    background-color: #000000;
}

#tiktok .tiktok-wr {
    display: flex;
    overflow-y: scroll;
    overflow-x: unset;
    width: 100%;
    gap: 10px;
    margin-top: 30px;
}

@media (min-width:950px) {
    #tiktok {
        padding: 30px 0;
    }

    #tiktok .tiktok-wr {
        width: 70%;
        margin: 0;
    }
}

#tiktok .tiktok-wr li {
    min-width: 300px;
    max-width: 350px;
    max-height: 600px;
}

#tiktok .tiktok-embed {
    height: 100%;
    width: 100%;
}

#work .top-hwr {
    text-align: center;
}

#work .top-hwr .en {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#work .work-list {
    margin: 40px auto;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

#work .work-list li {
    min-width: 300px;
    flex-basis: 30%;
    height: 300px;
    border-radius: 10px;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (min-width:600px) {
    #work .work-list li {
        height: 400px;
    }
}

#work .work-list li.kiso {
    background-image: url(./kiso.jpg);
}

#work .work-list li.load {
    background-image: url(./load.jpg);
}

#work .work-list li.koukyo {
    background-image: url(./kokyo.jpg);
}

#work .work-list li h3 {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #010088;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 6px;
}

#work .work-list li h3::before {
    content: "#";
    display: block;
    width: 20px;
    height: 20px;
}

#case .base {
    width: 95%;
    margin: 0 auto;
    gap: 20px;
}

#case .base .top-hwr {
    flex-basis: 30%;
    min-width: 300px;
}

#case .base .case-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    flex-basis: 60%;
    margin-top: 30px;
}


@media (min-width:650px) {
    #case .base .case-list {
        flex-wrap: nowrap;
    }
}

#case .base .case-list li {
    min-width: 300px;
    max-width: 400px;
    flex-basis: 50%;
}

#case .base .case-list li p {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 20px;
    line-height: 1.4;
    letter-spacing: 0.05rem;
}

#case .btn {
    max-width: 400px;
    text-align: center;
    margin-top: 30px;
    margin-left: auto;
}

#recruit .base {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
}

#recruit .top-hwr {
    margin-bottom: 30px;
}

#recruit .contents p {
    line-height: 1.4;
}

#recruit .btn {
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: scrollRight 30s linear infinite;
}

.roop {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.roop li {
  max-width: 400px; /* 各画像の幅に応じて調整 */
}

.roop img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    height: 200px;
    object-position: bottom;
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}
