html {
    margin: 0; padding: 0;
    background: #f8f0f8;
    scroll-behavior: smooth;
}
body {
    margin: 0; padding: 0;
    width: 100%;
    background: #f8f0f8;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
#visual-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #f8f0f8;
    display: flex;
    justify-content: center;
}

/* PCナビゲーション */
#pc-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* メニューバー（枠）の背景透過を2%に設定 */
    background: rgba(255, 255, 255, 0.02);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(212, 137, 212, 0.05);
    display: block;
    backdrop-filter: blur(3px);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 0;
}
#pc-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
}
#pc-nav ul li a {
    display: block;
    padding: 8px 18px;
    color: #8a5a8a;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    border-radius: 50px;
    border: 1px solid rgba(212, 137, 212, 0.5);
    /* 通常時のボタン背景透過を50%に設定 */
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}
/* ホバー時の設定：文字色を白、背景色を0.5に設定 */
#pc-nav ul li a:hover {
    color: #fff;
    background: rgba(212, 137, 212, 0.5);
    border-color: #d489d4;
}

/* --- スマホ・F12専用メニュー設定 --- */

/* デフォルト（PC）では非表示 */
#sp-menu-section, #sp-menu-btn, #sp-menu-anchor {
    display: none !important;
}

/* 800px以下（スマホ・F12）の場合のみ有効 */
@media (max-width: 800px) {
    #pc-nav { display: none !important; }
    
    #sp-menu-section { 
        display: block !important; 
        margin-top: 20px; 
    }
    
    #sp-menu-anchor { 
        display: block !important; 
        position: relative; 
        top: -20px; 
        visibility: hidden; 
    }

    /* スマホ固定ボタン：既存の設定を維持 */
    #sp-menu-btn {
        display: flex !important;
        position: fixed;
        top: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
        background: rgba(212, 137, 212, 0.5);
        color: #fff;
        border-radius: 50%;
        border: 2px solid #fff;
        z-index: 2000;
        justify-content: center;
        align-items: center;
        font-size: 0.85rem;
        font-weight: bold;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    #sp-menu-btn.visible {
        opacity: 1;
        pointer-events: auto;
    }

    .sp-section-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-width: 500px;
        margin: 0 auto;
    }

    /* メニュー内のリンクボタン：「過去のお知らせはこちら」のデザインに統一 */
    .sp-section-links a {
        display: block;
        padding: 10px 40px;
        text-decoration: none;
        font-weight: bold;
        border-radius: 10px;
        text-align: center;
        transition: all 0.3s ease;
        background: #fff;
        color: #d489d4;
        border: 1px solid #d489d4;
        font-size: 1rem;
    }

    .sp-section-links a:active {
        background: #fdf5fd;
        opacity: 0.7;
    }

    #sp-menu-section .info-box {
        padding: 40px 20px;
        margin-bottom: 30px;
    }
}

.background-layer {
    position: absolute; 
    top: 0; 
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%; /* アスペクト比指定を削除し全画面に */
    z-index: 1;
    overflow: hidden; 
}
#bg-img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block;
    object-position: center top; 
}
#stage-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 5;
    pointer-events: none;
    clip-path: inset(0 0 0 0);
}
#stage {
    position: absolute; left: 50%; transform: translateX(-50%);
    width: 100%; display: flex; flex-direction: column;
    align-items: center;
}
#intro-text {
    color: #66eaff; font-weight: bold; line-height: 2.2; font-family: serif;
    opacity: 0; text-align: left; width: fit-content;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.9), 0 0 10px rgba(102, 234, 255, 0.6);
    visibility: hidden;
}
.intro-line { display: block; white-space: nowrap; }
.intro-line-3 { display: block; text-align: center; width: 100%; }
#logo-text {
    position: absolute; color: #efa9ef; font-weight: bold;
    text-shadow: 0 0 15px #d489d4, 0 0 30px #800080;
    opacity: 0; white-space: nowrap;
}

#creating-msg {
    position: absolute; 
    top: -150px; 
    font-weight: bold; font-family: serif;
    background: linear-gradient(to bottom, #fff9ad 0%, #fceb4f 50%, #e1d12d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
    opacity: 0; visibility: hidden; z-index: 100; text-align: center; white-space: nowrap;
}

.starwars-path {
    position: absolute; left: 50%;
    transform: translateX(-50%) perspective(200px) rotateX(35deg);
    width: 100%; max-width: 1000px; transform-origin: 50% 100%;
    overflow: hidden; z-index: 2; visibility: hidden;
}
#target {
    position: absolute; left: 50%; transform: translateX(-50%);
    color: #fceb4f; font-family: serif; font-weight: bold; text-align: justify;
    white-space: normal; word-wrap: break-word;
}

/* PR文言セクション */
.pr-banner {
    background: #fff;
    padding: 60px 20px;
    border-top: 1px solid rgba(212, 137, 212, 0.3);
    border-bottom: 1px solid rgba(212, 137, 212, 0.3);
    text-align: center;
    position: relative;
    z-index: 15;
    background-image: radial-gradient(circle at 10% 20%, rgba(212, 137, 212, 0.05) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(212, 137, 212, 0.05) 0%, transparent 20%);
}
.pr-banner-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 30px;
    border: 1px solid rgba(212, 137, 212, 0.2);
    border-radius: 4px;
}
.pr-banner-container::before, .pr-banner-container::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #d489d4;
    border-style: solid;
    pointer-events: none;
}
.pr-banner-container::before {
    top: -5px; left: -5px;
    border-width: 2px 0 0 2px;
}
.pr-banner-container::after {
    bottom: -5px; right: -5px;
    border-width: 0 2px 2px 0;
}
.pr-lead {
    font-family: serif;
    font-size: 1.6rem;
    color: #8a5a8a;
    margin-bottom: 25px;
    letter-spacing: 0.1rem;
    font-weight: bold;
}
.pr-description {
    font-size: 1.15rem;
    line-height: 2;
    color: #4a3a4a;
    margin: 0;
}
.pc-only { display: inline; }

#content-section { position: relative; width: 100%; background: #f8f0f8; color: #4a3a4a; z-index: 10; padding-top: 60px; }
.profile-container { 
    margin: 0 auto; 
    padding: 20px; 
    width: 100%; 
    max-width: 1200px; 
    box-sizing: border-box;
}
.info-box { background: rgba(255, 255, 255, 0.65); border: 1px solid rgba(234, 169, 234, 0.45); border-radius: 20px; padding: 60px 50px; margin-bottom: 50px; box-shadow: 0 8px 20px rgba(212, 137, 212, 0.08); text-align: center; overflow: hidden; }
.info-title { font-family: serif; font-size: 2rem; color: #8a5a8a; margin-bottom: 35px; letter-spacing: 0.3rem; border-bottom: 1px solid #efa9ef; display: inline-block; padding-bottom: 8px; white-space: nowrap; }
.info-text { font-size: 1.15rem; line-height: 2.4; text-align: justify; color: #4a3a4a; max-width: 1000px; margin: 0 auto; overflow-wrap: break-word; }
.name-highlight { color: #d489d4; font-weight: bold; font-size: 1.3rem; margin-bottom: 5px; display: block; }

.profile-flex { display: flex; align-items: flex-start; gap: 30px; text-align: justify; }
.profile-image { width: 180px; height: auto; border-radius: 10px; flex-shrink: 0; box-shadow: 0 4px 12px rgba(212, 137, 212, 0.15); }
.profile-main-text { flex: 1; }

.price-group { text-align: left; margin-bottom: 35px; }
.price-text { font-weight: bold; color: #8a5a8a; font-size: 1.15rem; display: block; margin-bottom: 10px; padding-left: 1em; }
.note-text { font-size: 1.05rem; color: #4a3a4a; line-height: 1.8; display: block; margin-bottom: 0; }
.important-note { text-align: left; font-size: 1.1rem; line-height: 1.8; margin-bottom: 35px; color: #4a3a4a; }

.info-text a:not(.open-archive-link):not(.close-archive-link):not(.radio-link) {
    color: #0000FF;
    text-decoration: underline;
    font-weight: bold;
}

.info-text span[style*="color"] a:not(.open-archive-link):not(.close-archive-link):not(.radio-link) {
    color: inherit !important;
    text-decoration: underline !important;
    text-decoration-color: inherit !important;
}

.license-section { margin-top: 40px; padding-top: 30px; border-top: 1px dotted #efa9ef; text-align: left; }
.license-list { list-style: none; padding: 0; margin: 0; column-count: 2; column-gap: 30px; font-size: 1rem; }
.license-list li { white-space: nowrap; break-inside: avoid; margin-bottom: 8px; }
.license-list li::before { content: "・"; color: #d489d4; font-weight: bold; }
.news-list { list-style: none; padding: 0; margin: 0 auto; max-width: 800px; text-align: left; }
.news-item { padding: 15px 0; border-bottom: 1px dotted #efa9ef; display: flex; flex-wrap: wrap; }
.news-date { font-weight: bold; color: #8a5a8a; margin-right: 20px; min-width: 120px; }
.news-content { flex: 1; min-width: 200px; line-height: 1.6; overflow-wrap: break-word; }

.video-layout { width: 100%; max-width: 560px; margin: 20px 0; }
.video-frame { position: relative; width: 100%; padding-top: 56.25%; }
.video-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; border-radius: 8px; }

#radio-archive-section { display: none; }
.radio-archive-list { 
    list-style: none; padding: 0; margin: 0; text-align: left;
    display: flex; flex-wrap: wrap; gap: 0 40px;
}
.radio-archive-item { 
    padding: 25px 0; border-bottom: 1px dotted #efa9ef;
    width: calc(50% - 20px); box-sizing: border-box;
}
.radio-date { font-weight: bold; color: #8a5a8a; font-size: 1.1rem; display: block; margin-bottom: 5px; }
.radio-title { font-weight: bold; color: #4a3a4a; font-size: 1.15rem; display: block; margin-bottom: 15px; min-height: 3em; }
.radio-audio-player { width: 100%; max-width: 400px; height: 35px; margin-bottom: 10px; }
.radio-link { color: #8a5a8a; text-decoration: underline; font-size: 0.9rem; }
.close-archive-link { display: block; color: #d489d4; text-decoration: none; font-weight: bold; border: 1px solid #d489d4; border-radius: 10px; cursor: pointer; width: fit-content; margin: 20px auto; padding: 10px 30px; }
.open-archive-link { display: inline-block; color: #d489d4; text-decoration: none; font-weight: bold; border: 1px solid #d489d4; border-radius: 10px; cursor: pointer; padding: 10px 40px; margin-top: 15px; font-size: 1rem; }

.year-button-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
    padding: 0 10px;
}
.year-button-container .open-archive-link {
    margin-top: 0;
    padding: 10px 5px;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.9rem;
}

#privacy-section { display: none; text-align: left; }
#privacy-section a { text-decoration: underline; }
.policy-content { font-size: 1.1rem; line-height: 2.2; color: #4a3a4a; text-align: justify; }
.policy-section-title { font-weight: bold; color: #8a5a8a; font-size: 1.25rem; margin-top: 40px; margin-bottom: 15px; border-left: 4px solid #d489d4; padding-left: 15px; text-align: left; }
.back-link-container { text-align: center; margin-top: 40px; }
.back-link { display: inline-block; color: #d489d4; text-decoration: underline; font-weight: bold; cursor: pointer; }

footer { 
    width: 100%; 
    padding: 60px 10px; 
    text-align: center; 
    color: #8a7a8a; 
    font-size: 0.9rem; 
    background: #f0e4f0; 
    box-sizing: border-box; 
}
.footer-logos {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.footer-logos img {
    height: 40px;
    width: auto;
    border-radius: 5px;
    transition: opacity 0.3s ease;
}
.footer-logos a:hover img {
    opacity: 0.8;
}
.character { font-weight: bold; }
.footer-links { margin-top: 15px; }
.footer-links a { color: #8a7a8a; text-decoration: underline; cursor: pointer; }

@media (min-width: 801px) {
    #bg-img { object-position: center center; }
    #intro-text { font-size: 2.2rem; }
    #logo-text { font-size: 8rem; }
    #creating-msg { font-size: 4rem; }
    #target { width: 90%; font-size: 2.2rem; line-height: 1.6; }
    .starwars-path { bottom: 150px; height: 150vh; }
}
@media (max-width: 800px) {
    .background-layer { width: 100%; max-width: none; aspect-ratio: auto; height: 100%; }
    .starwars-path { bottom: 72vh !important; height: 50vh !important; }
    #target { width: 85%; font-size: 1.1rem; line-height: 1.7; }
    #logo-text { font-size: 4rem; }
    #creating-msg { 
        position: absolute;
        font-size: 1.6rem; 
        width: 100%;
        top: auto !important; 
        bottom: 20px !important;
        background: linear-gradient(to bottom, #fff9ad 0%, #fceb4f 50%, #e1d12d 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        z-index: 100 !important;
    }
    
    .pr-banner {
        padding: 40px 15px;
    }
    .pr-banner-container {
        padding: 20px 10px;
    }
    .pr-lead {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    .pr-description {
        font-size: 1rem;
        line-height: 1.8;
        text-align: justify;
    }
    .pc-only { display: none; }

    .info-box { padding: 40px 20px; }
    .info-title { 
        font-size: clamp(1rem, 4.5vw, 1.4rem);
        letter-spacing: 0.1rem; 
        white-space: nowrap; 
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .license-list { column-count: 1; }
    .profile-flex { flex-direction: column; align-items: flex-start; gap: 20px; }
    .profile-image { width: 140px; margin: 0; }
    .info-text { font-size: 1.05rem; line-height: 2.0; }
    .price-text { padding-left: 0.5em; }
    .radio-archive-item { width: 100%; }
    .radio-title { min-height: auto; }
    .year-button-container { grid-template-columns: repeat(2, 1fr); }
    .footer-logos { gap: 20px; }
    .footer-logos img { height: 35px; }
    .video-layout { max-width: 100%; }
}

#consultation-section .info-text div[style*="color: #666;"] {
    color: #d489d4 !important;
    font-size: 1.3rem !important;
    font-weight: bold;
}

@keyframes fade-intro { 0% { opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes logo-shrink { 0% { opacity: 1; transform: scale(2.5); } 100% { opacity: 0; transform: scale(0); } }
@keyframes scroll-up-pc { 0% { top: 100%; } 100% { top: -500%; } }
@keyframes scroll-up-sp { 0% { top: 100%; } 100% { top: -2500%; } }
@keyframes fade-in-msg { 0% { opacity: 0; } 100% { opacity: 1; } }