:root {
    --bg: #0a0a0f;
    --text: #ffffff;
    --accent: #5838a9;
    --wave-bg: #00010e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif JP', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}

p, li, .explanation-text, .section-title, .sub-title {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/*-----------------------------------
    ヘッダー
-----------------------------------*/
header {
    height: 100vh;
    position: relative;
    background: url('../img/audition_hero.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: right;
    text-align: center;
    overflow: hidden;
    padding-top: 20vh;
    padding-right: 10%;
}
.hero-inner {
    max-width: 900px;
    text-align: left;
}
/* 初期状態：非表示にする */
.catchphrase,
.title,
.sub-title,
.apply-button {
    opacity: 0;
}
.catchphrase {
    font-size: 4.2rem;
    font-weight: 400;
    margin-bottom: 12vh;
    line-height: 1.3;
    text-align: left;
    animation: fadeIn 1s ease forwards;
}
.title {
    font-size: 2.0rem;
    font-weight: 400;
    margin-bottom: 5vh;
    line-height: 1.3;
    text-align: left;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
}
.sub-title {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 5vh;
    line-height: 1.3;
    text-align: left;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
}
.apply-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(45deg, #ff77a9, #9b59b6);
    border: none;
    border-radius: 10px;
    transition: background 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease forwards;
    animation-delay: 2s;
}
.apply-button:hover {
    opacity: 0.9;
}
@media (max-width: 768px) {
    header {
        background-position: left center;
        padding-right: 5%;
    }
    .hero-inner {
        max-width: 100%;
        padding: 0 10px;
    }
    .catchphrase {
        font-size: 1.6rem;
        margin-bottom: 8vh;
        text-align: left;
    }
    .title {
        font-size: 1.0rem;
        margin-bottom: 4vh;
        text-align: left;
    }
    .sub-title {
        font-size: 0.8rem;
        margin-bottom: 4vh;
        text-align: left;
    }
    .apply-button {
        padding: 10px 20px;
        font-size: 1rem;
        margin-top: 15px;
    }
}

/*-----------------------------------
    アニメーション定義
-----------------------------------*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*-----------------------------------
    TOPへ戻るボタン
-----------------------------------*/
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    background: linear-gradient(45deg, #ff77a9, #9b59b6);
    color: #fff;
    padding: 12px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
    display: none; /* 初期は非表示 */
}
.back-to-top:hover {
    opacity: 0.9;
}
/* モバイル（768px以下）用にサイズを縮小 */
@media (max-width: 768px) {
    .back-to-top {
        right: 10px;
        bottom: 10px;
        padding: 8px 14px;
        font-size: 1rem;
    }
}

/*-----------------------------------
    共通
-----------------------------------*/
.content {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}
section {
    padding-top: 140px;
    padding-bottom: 60px;
}
.section-title {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.section-title.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/*-----------------------------------
    動画セクション
-----------------------------------*/

.movie {
    text-align: center;
}
.movie video {
    width: 80%;
}
@media (max-width: 768px) {
    .movie video {
        width: 95%;
    }    
}

/*-----------------------------------
    説明セクション
-----------------------------------*/
.explanation .explanation-text {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-top: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.explanation .explanation-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.explanation-gallery {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 120px;
}
.explanation-gallery img {
    max-height: 230px;
    border-radius: 4px;
    object-fit: contain;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.explanation-gallery img.fade-in {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .section-title {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .explanation .section-title {
        text-align: left;
    }
    .explanation .explanation-text {
        font-size: 1rem;
        margin-top: 40px;
        text-align: left;
    }
    .explanation-gallery {
        margin-top: 60px;
        gap: 5px;
        flex-wrap: wrap;
    }
    .explanation-gallery img {
        max-height: 150px;
        width: 100%;
        object-fit: contain;
    }
}

/*-----------------------------------
    idol_program セクション
-----------------------------------*/
.idol-program {
    padding: 140px 0 60px;
    text-align: center;
}
.idol-program-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 60px auto 40px;
    max-width: 900px;
    text-align: center;
    color: var(--text);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.idol-program-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.idol-program-movie {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    max-width: 900px;
}
.idol-program-movie iframe {
    width: 100%;
    max-width: 420px;
    border: none;
    aspect-ratio: 16 / 9;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.idol-program-movie iframe.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.idol-program-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}
.idol-program-gallery img {
    width: calc(33.33% - 10px);
    max-height: 230px;
    border-radius: 4px;
    object-fit: cover;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.idol-program-gallery img.fade-in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .idol-program .section-title {
        text-align: left;
    }
    .idol-program-text {
        font-size: 1rem;
        margin: 40px auto;
        padding: 0 10px;
        text-align: left;
    }
    .idol-program-movie {
        flex-direction: column;
        gap: 20px;
    }
    .idol-program-gallery {
        gap: 5px;
    }
    .idol-program-gallery img {
        width: 100%;
        max-height: 150px;
        object-fit: cover;
    }
}

/*-----------------------------------
    producer セクション
-----------------------------------*/
.producer {
    padding: 140px 0 60px;
    text-align: center;
}
.producer-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 60px auto 40px;
    max-width: 900px;
}
.producer-profile img {
    width: 300px;
    border-radius: 4px;
    object-fit: cover;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.producer-profile img.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.producer-text {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
    max-width: 600px;
    color: var(--text);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.producer-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.producer-message {
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 40px;
    text-align: center;
    color: var(--text);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.producer-message.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.producer-name {
    font-weight: bold;
    color: var(--accent); /* 例えばアクセントカラー */
    display: block;
    margin-top: 10px;
}
@media (max-width: 768px) {
    .producer .section-title {
        text-align: left;
    }
    .producer-profile {
        flex-direction: column;
        gap: 20px;
        padding: 0 10px;
    }
    .producer-profile img {
        width: 100%;
        max-width: 300px;
    }
    .producer-text {
        text-align: center;
        max-width: 100%;
        padding: 0 10px;
        font-size: 1rem;
        text-align: left;
    }
    .producer-message {
        font-size: 1rem;
        padding: 0 10px;
        text-align: left;
    }
}

/*-----------------------------------
    こんな方を募集
-----------------------------------*/
.recruitment-list {
    list-style: none;
    padding-left: 0;
    font-size: 1.2rem;
    margin-top: 120px;
}
.recruitment-list li {
    display: flex;
    align-items: center;
    margin-bottom: 42px;
    margin-left: 132px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.recruitment-list li.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.list-icon {
    width: 52px;
    height: auto;
    margin-right: 34px;
}
@media (max-width: 768px) {
    .recruitment-list {
        margin-top: 60px;
        font-size: 0.8rem;
    }
    .recruitment-list li {
        margin-left: 20px;
        margin-bottom: 24px;
    }
    .list-icon {
        width: 40px;
        margin-right: 16px;
    }
}

/*-----------------------------------
    選考の流れ
-----------------------------------*/
.selection-steps-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 120px 0 60px;
}
.selection-step {
    text-align: center;
    max-width: 280px;
}
.step-icon {
    height: auto;
    margin-bottom: 40px;
    opacity: 0;
    transition: opacity 1.5s ease-out;
}
.step-icon.fade-in {
    opacity: 1;
}
.selection-step p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.selection-step p.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.selection-note {
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.selection-note.fade-in {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .selection-steps-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 60px 0;
        justify-content: flex-start;
    }
    .selection-step {
        min-width: 120px;
    }
    .step-icon {
        margin-bottom: 20px;
    }
    .selection-step p {
        font-size: 0.6rem;
    }
    .selection-note {
        font-size: 0.6rem;
    }
}

/*-----------------------------------
    応募資格
-----------------------------------*/
.qualification-list {
    list-style: none;
    font-size: 1.3rem;
    margin: 120px 0;
}
.qualification-list li {
    position: relative;
    margin-bottom: 24px;
    margin-left: 170px;
    padding-left: 2em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.qualification-list li.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.qualification-list li::before {
    content: "\2713";         /* チェックマーク(✓) */
    color: #9b59b6;           /* 紫色 */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
}
@media (max-width: 768px) {
    .qualification-list {
        font-size: 0.9rem; /* フォントサイズを少し縮小 */
        margin: 60px 0;    /* 上下の余白を縮小 */
    }
    .qualification-list li {
        margin-left: 20px;      /* 左側のマージンを大幅に縮小 */
        padding-left: 1.5em;    /* チェックマーク分のスペースも調整 */
    }
    .qualification-list li::before {
        font-size: 0.9rem; /* チェックマークのサイズを縮小 */
    }
}

/*-----------------------------------
    応募フォームセクション
-----------------------------------*/
.limit-content {
    margin: 120px 0;
    text-align: center;    
}
.limit-date {
    font-size: 1.5rem;
    text-align: center;    
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.limit-date.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.limit-text {
    font-size: 1.0rem;
    margin-top: 20px;
    text-align: center;    
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.limit-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.limit-info {
    margin-top: 50px;
    text-align: center;    
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.limit-info.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.sns-icon img {
    width: 40px;
    margin: 20px auto;    
}
@media (max-width: 768px) {
    .limit-date {
        font-size: 1.2rem; /* フォントサイズを少し縮小 */
        margin: 60px 0;    /* 上下の余白を縮小 */
    }
    .limit-text {
        font-size: 0.8rem;
    }
    .limit-info {
        font-size: 0.6rem;
    }
}

/*-----------------------------------
    応募フォームセクション
-----------------------------------*/
.apply-instructions {
    font-size: 0.95rem;
    margin-top: 120px;
    margin-bottom: 10px;
    padding-left: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.apply-instructions.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.form-link-container {
    text-align: center;
    margin: 20px auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.form-link-container.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.form-link-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(45deg, #ff77a9, #9b59b6);
    border: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.form-link-button:hover {
    opacity: 0.9;
}
.inquiry {
    margin-top: 80px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.inquiry.fade-in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .apply-instructions {
        font-size: 0.7rem;
    }    
    .form-link-button {
        padding: 10px 20px;  /* パディングを縮小 */
        font-size: 1.2rem;   /* フォントサイズを縮小 */
    }
}

/*-----------------------------------
    フッター
-----------------------------------*/
footer {
    text-align: center;
    padding: 30px 20px;
}
.footer-catch {
    font-size: 1.4rem;
    margin-top: 40px;
}

.footer-logo {
    display: block;
    margin: 140px auto 20px;
    max-width: 300px;
}
.copyright {
    font-size: 0.9rem;
    margin-bottom: 10px;
}
  
@media (max-width: 768px) {
    .footer-catch {
        font-size: 1.0rem;
    }
    
    .footer-logo {
        max-width: 200px;
    }
    .copyright {
        font-size: 0.7rem;
    }
}

