/* 共通 */

body{
    color:white;
    position: relative;
    font-size: 14px;
    letter-spacing: 1.5px;
    font-family: "Josefin Sans", "Noto Sans JP",sans-serif;
    background: linear-gradient(220deg, rgb(50 50 50), rgba(105,105,105,1), rgb(0 0 0), rgba(0, 0, 0, 1));
    background-size: 400% 400%;
    animation: gradient 10s ease infinite;
}
@keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
.bg-white{
    background-image: linear-gradient(180deg, rgba(233, 233, 233, 1) 12%, rgba(172, 172, 172, 1));
    color: #222222;
}
.service,.works,.company,.profile{
    padding: 80px 0;
}
.inner{
    padding: 0 3vw;
}
.ttl {
    font-size: 8vw;
    font-weight: bold;
}
h3 {
    font-size: 20px;
    padding: 15px 0;
}
.text{
    line-height: 2;
}
/* 共通 */

/* ハンバーガーメニュー */
.hamburger {
    display: none; /* デフォルトでは表示しない */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: white;
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px); /* 1本目を斜めに */
}

.hamburger.active span:nth-child(2) {
    opacity: 0; /* 2本目を消す */
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px); /* 3本目を斜めに */
}

/* ハンバーガーメニュー */

/* フェードイン */
.fade-in {
    opacity: 0; /* 完全に透明 */
    /* transform: translateY(30px); 下に30px移動 */
    transition: opacity 0.8s ease, transform 0.8s ease; /* スムーズなアニメーション */
}

.fade-in.active {
    opacity: 1; /* 不透明に */
    transform: translateY(0); /* 元の位置に戻す */
}
/* フェードイン */

/* ヘッダー */
nav ul{
    display: flex;
}
nav ul li{
    list-style: none;
    padding: 0 20px;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}
.nav{
    display: none;
}
.header{
    width: 100%;
    position: fixed;
    display: flex;
    justify-content: space-between;
    padding: 30px;
    height: 150px;
    z-index: 10;
}
.list-item{
    font-size: 18px;
}
.list-item a:hover{
    opacity: 0.7;
}
/* ヘッダー */

/* top */
.top {
    padding-top: 130px;
}
.mv{
    position: relative;
}
.mv img{
    width: 60%;
    position: absolute;
    right: 0;
    width: 50%;
    top: -50px;
    z-index: 1;
}
.arrow{
    position: absolute;
    width: 16px;
    bottom: 400px;
    left: 8vw;
}
.concept {
    position: relative;
}
.ttl-concept{
    font-size: 10vw;
    font-weight: bold;
}
.textArea{
    padding: 30px;
    width: 90%;
    z-index: -1;
}
.concept-text{
    padding: 30px 0 50px;
    text-align: center;
    width: 70%;
}
.text-inner {
    text-align: left;
    display: inline-block;
}
/* top */

/* サービス */
.service-inner {
    display: flex;
}
.movie,.casting,.sns{
    position: relative;
    padding: 20px;
}
.Sttl{
    font-size: 5vw;
    font-weight: bold;
    position: relative;
    z-index: 1;
    line-height: 0.5;
}
.ttl-service{
    text-align: right;
}
.img-wrapper {
    position: relative;
    overflow: hidden;
  }
.service-text{
    padding: 1rem;
}
  /* オーバーレイ */
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  /* テキスト */
  .service-text {
    text-align: center;
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  /* hover時のアクション */
  .img-wrapper:hover .overlay {
    opacity: 1;
    visibility: visible;
  }
  
  .img-wrapper:hover .service-text {
    transform: translateY(0);
    opacity: 1;
  }
/* サービス */

/* 実績 */
.works-wrapper {
    overflow: hidden; /* 横スクロールを隠す */
    position: relative; /* 子要素の流れを制御 */
    width: 100%; /* 全幅に対応 */
  }
  
  .works-container {
    display: flex;
    white-space: nowrap; /* 画像を横並びに */
    position: relative;
    animation: scroll 15s linear infinite; /* 無限スクロール */
  }
  
  .works-item {
    flex: 0 0 auto;
    width: calc(100vw / 3); /* 見える画面上で3枚表示 */
    margin-left:30px;
  }
  
  .works-item img {
    width: 100%;
    transition: transform 0.3s ease-in-out;
  }
  
  .works-item img:hover {
    transform: scale(1.1); /* ホバー時に拡大 */
    z-index: 1; /* 拡大した画像を最前面に表示 */
    cursor: pointer;
  }
  
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    position: relative;
  }
  
  .modal img {
    max-width: 90%;
    max-height: 90%;
  }
  
  .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
  }
  
  @keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
/* 実績 */

/* 会社 */
.ttl-company{
    text-align: center;
    padding-bottom: 50px;
}
table {
    margin: 0 auto;
}
tr,td{
    padding: 10px 30px;
    line-height: 2;
    font-size: 12px;
}
/* 会社 */

/* プロフィール */
.flex{
    display: flex;
    justify-content: center;
}
img.profile-img {
    width: 350px;
    padding: 50px 0;
}
.right{
    padding: 0 6vw 70px 6vw;
}
.sp-name{
    display: none;
}
.Lname,.Fname{
    font-weight: bold;
    font-size: 5vw;
    opacity: 0.7;
    line-height: 1.2;
}
.Lname{
    text-align: center;
}
.Fname{
    text-align: right;
}
/* プロフィール */

/* 問い合わせ */
.contact-inner{
    padding: 50px;
}
.address {
    padding: 50px 100px;
    font-family: "Noto Sans JP",sans-serif;
}
.icon{
    width: 40px;
    padding: 0 10px;
}
.tel,.mail{
    font-size: 16px;
    padding:  10px 0;
}
.copyright{
    text-align: center;
    font-size: 12px;
    padding: 15px;
}
.back{
    z-index: 100;
    position: fixed;
    right: 10px;
    bottom: 0;
    font-size: 40px;
    color: #222222;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}
/* 問い合わせ */

/* pcのみ */
@media (min-width: 769px) {
.tel a{
    pointer-events: none;
}
}
/* pcのみ */

/* スマホ */
@media (max-width: 768px) {
    body{
        font-size: 12px;
    }
    .ttl {
        font-size: 15vw;
    }
    /* ハンバーガー */
    .hamburger {
        display: flex; /* スマホ時にハンバーガーアイコンを表示 */
    }

    .nav {
        display: none; /* 初期状態では非表示 */
        position: absolute;
        top: 75px;
        right: 0;
        padding: 50px;
        width: 100%;
        background-color: rgb(50 50 50);
    }

    .nav.active {
        display: block; /* ハンバーガーアイコンをクリックしたときに表示 */
    }

    .list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .list-item {
        padding: 15px 0;
    }
    .hamburger span {
        transition: all 0.3s ease;
    }
    .nav {
        transition: max-height 0.5s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    /* ハンバーガー */

    /* ヘッダー */
    .header{
        background-color: rgb(50 50 50);
        height: 75px;
    }
    /* ヘッダー */

    /* top */
    .top {
        padding-top: 300px;
    }
    .pc-nav{
        display: none;
    }
    .mv img{
        width: 85%;
        top: -200px;
    }
    .ttl-concept {
        font-size: 17vw;
    }
    .concept-text{
        width: 100%;
    }
    .arrow{
        width: 12px;
        bottom: 510px;
        left: auto;
        right: 100px;
    }
    .textArea {
        padding: 10vh 30px;
    }
    /* top */

    /* サービス */
    .service-inner{
        flex-direction: column;
    }
    .Sttl {
        font-size: 10vw;
    }
    /* サービス */

    /* 実績 */
    .works-item{
        width: calc(100vw / 2);
    }
    /* 実績 */

    /* 会社概要 */
    .company {
        padding-bottom: 10px;
    }
    /* 会社概要 */

    /* プロフィール */
    .profile{
        position: relative;
    }
    img.profile-img {
        width: 250px;
        padding: 50px 20px;
    }
    .sp-name{
        display: block;
        position: absolute;
        top: 60px;
        right: 20px;
    }
    .pc-name{
        display: none;
    }
    .Lname, .Fname{
        font-size: 14vw;
    }
    h3 {
        font-size: 20px;
    }
    .flex{
        flex-direction: column;
    }
    /* プロフィール */

    /* 問い合わせ */
    .contact-ttl{
        text-align: center;
    }
    .address {
        padding: 20px 0 0;
        text-align: center;
    }
    /* 問い合わせ */
}
/* スマホ */