@charset "UTF-8";

/* CSS変数定義 */
:root {
    --primary-color: #ce9eff;
    --secondary-color: #fff4ff;
    --accent-color: #ffccff;
    --text-color: #bf7fff;
    --transition-duration: 0.3s;
    --mobile-breakpoint: 768px;
    --z-index-menu: 9999;
    --z-index-toggle: 1001;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(206, 158, 255, 0.3);
}

/*共通
ーーーーーーーーーーーーーーーーーーー*/
html {
    font-size: 100%;
}
/*見出し*/
.font-english,.header,.footer{
    font-family: "Mochiy Pop P One", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #ce9eff;
}
.page-title{
    padding: 5rem;
}
.body {
    font-family: "Mochiy Pop P One", sans-serif;
    line-height: 2.5;
    margin: 0;
    padding: 0;
    background-color: #fff4ff;
    text-align: center;
}
.header {
    background: #ce9eff;
    color: #fff4ff;
    padding: 1rem 0;
    text-align: center;
}

.header h1 {
    font-size: 4rem;
}

.header h1 a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.header h1 a:hover {
    color: #ffccff;
    transition: color 0.3s ease;
}

.nav ul {
    list-style-type: none;
    padding: 0;
    border-bottom: #fff4ff dotted 10px;
}

.nav ul li {
    display: inline;
    margin-right: 1rem;
    border-right: 10px dotted #fff4ff;
    padding-right: 1rem;
}

.nav ul li:last-child {
    border-right: none;
}

.nav ul li a {
    color: #fff4ff;
    text-decoration: none;
    font-size: 2.5rem;
}

.nav ul li a:hover {
    color: #ffccff;
    transition: .5s ease-in-out;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff4ff;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    transition: all 0.3s ease-in-out;
    border-radius: 4px;
    z-index: 1001;
}

.menu-toggle:hover {
    color: #ffccff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.menu-toggle:active {
    transform: scale(0.95);
}

.nav.mobile-menu-open ul {
    display: block;
}

/* モバイル環境でのみ非表示にする */
@media (max-width: 768px) {
    .nav.mobile-menu-closed ul {
        display: none;
    }
}

/* 共通セクションスタイル */
.about, .hobbies {
    color: #bf7fff;
    margin: 3rem auto;
    max-width: 1000px;
    padding: 0 2rem;
}

/* プロフィールコンテナ */
.profile-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.profile-item {
    margin-bottom: 1.5rem;
}

/* クリック可能なプロフィールアイテム用のスタイル */
.profile-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.profile-item.clickable {
    cursor: pointer;
    position: relative;
}

.profile-item h3 {
    font-size: 1.8rem;
    color: #ce9eff;
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: center;
}

.profile-item p {
    font-size: 1.6rem;
    color: #bf7fff;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    border: 3.5px solid #ce9eff;
    border-radius: 10px;
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(206, 158, 255, 0.2);
    transition: padding 0.3s ease;
}

/* Hobbyセクション専用スタイル - 削除済み */

.profile-item p a {
    color: #bf7fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.profile-item p a:hover {
    color: #ce9eff;
    text-decoration: underline;
}

.profile-images {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    border: 2px solid #ce9eff;
    border-radius: 10px;
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(206, 158, 255, 0.2);
}

.profile-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(206, 158, 255, 0.3);
}

.profile-images-item {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* 画像スライダー */
.slider-container {
    position: relative;
    max-width: 600px;
    margin: 2rem auto;
    background: transparent; 
    border-radius: var(--border-radius);
    box-shadow: none; 
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* 背景を透明に */
    cursor: pointer;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* 全てのスライドに対してホバー効果を適用 */
.slide:hover {
    opacity: 1 !important; /* ホバー時は非アクティブでも表示 */
    z-index: 5; /* 他のスライドより前面に表示 */
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* coverからcontainに変更して画像全体を表示 */
    border-radius: var(--border-radius);
    background: transparent;
    filter: drop-shadow(0 4px 8px rgba(206, 158, 255, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.slide img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 6px 12px rgba(206, 158, 255, 0.4));
    opacity: 1; /* ホバー時は完全に不透明に */
}

/* スライダーボタン */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(206, 158, 255, 0.8);
    color: var(--secondary-color);
    border: none;
    padding: 0.5rem 0.8rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: background var(--transition-duration);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: 1rem;
}

.slider-btn-next {
    right: 1rem;
}

/* スライダードット */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: transparent; /* 背景を透明に */
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(206, 158, 255, 0.5);
    cursor: pointer;
    transition: background var(--transition-duration);
}

.dot.active {
    background: var(--primary-color);
}

.dot:hover {
    background: var(--accent-color);
}

/* レスポンシブ対応 */
/* PC版でナビゲーションを表示 */
@media (min-width: 769px) {
    .nav ul {
        display: block;
        position: static;
        width: auto;
        background: transparent;
        box-shadow: none;
        z-index: auto;
    }
    
    .menu-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .profile-images {
        justify-content: center;
    }
    
    /* スライダーのモバイル対応 */
    .slider-container {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .slider {
        height: 250px;
    }
    
    .slider-btn {
        padding: 0.3rem 0.6rem;
        font-size: 1.2rem;
    }
    
    .slider-btn-prev {
        left: 0.5rem;
    }
    
    .slider-btn-next {
        right: 0.5rem;
    }
    
    /* ハンバーガーメニューを表示 */
    .menu-toggle {
        display: block;
    }
    
    .header {
        position: relative;
    }
    
    .nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ce9eff;
        border-bottom: none;
        box-shadow: 0 2px 10px rgba(206, 158, 255, 0.3);
        z-index: 9999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
        opacity: 0;
        transform: translateY(-10px);
    }
    
    .nav.mobile-menu-open ul {
        max-height: 400px !important; 
        min-height: 200px; 
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav ul li {
        display: block;
        margin: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 244, 255, 0.3);
        padding: 0;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        transition-delay: 0.1s;
    }
    
    .nav.mobile-menu-open ul li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav ul li:nth-child(1) {
        transition-delay: 0.1s;
    }
    
    .nav ul li:nth-child(2) {
        transition-delay: 0.15s;
    }
    
    .nav ul li:nth-child(3) {
        transition-delay: 0.2s;
    }
    
    .nav ul li:nth-child(4) {
        transition-delay: 0.25s;
    }
    
    .nav ul li:last-child {
        border-bottom: none;
    }
    
    .nav ul li a {
        display: block;
        padding: 1rem;
        font-size: 1.8rem;
        border-radius: 0;
        transition: background-color 0.2s ease-in-out;
    }
    
    .nav ul li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .music-item {
        touch-action: manipulation;
    }
    
    .music-item:active,
    .music-item.tapped {
        background-color: #d9ccff;
        box-shadow: 0 6px 25px rgba(206, 158, 255, 0.5);
        transform: translateY(-3px);
    }
    
    .music-item:active .music-description::after,
    .music-item.tapped .music-description::after,
    .music-item:active .game-description::after,
    .music-item.tapped .game-description::after {
        opacity: 1;
        transform: scale(1.05);
        background-color: transparent;
        padding: 0.5rem;
        border-radius: 8px;
    }
}

/* 共通見出しスタイル */
.about h2, .hobbies h2 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* 共通段落スタイル */
.about p, .hobbies > p {
    font-size: 2.2rem;
    color: #bf7fff;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10rem;
    padding: 5rem;
}

.video-container iframe {
    margin-bottom: 2rem;
}

.music-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 3rem auto 0;
}

.music-item {
    text-align: center;
    background-color: #f0e6ff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(206, 158, 255, 0.3);
    width: 100%;
    max-width: 500px;
    transition: all 0.3s ease;
}

.music-item:hover {
    background-color: #e6d9ff;
    box-shadow: 0 4px 20px rgba(206, 158, 255, 0.4);
    transform: translateY(-2px);
}

/* モバイル用のタッチ対応 */
.music-item:active,
.music-item.tapped {
    background-color: #e6d9ff;
    box-shadow: 0 4px 20px rgba(206, 158, 255, 0.4);
    transform: translateY(-2px);
}

.music-item a:focus {
    outline: none;
}

.music-item a:focus .music-image {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(206, 158, 255, 0.6);
}

.music-image {
    width: 100%;
    max-width: 450px;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.music-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(206, 158, 255, 0.6);
}

.music-image:active {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(206, 158, 255, 0.8);
}
.music-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.music-item a:hover {
    text-decoration: none;
}
.music-item a:active .music-image {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(206, 158, 255, 0.8);
}

.music-description {
    margin-top: 1rem;
    font-size: 1.5rem;
    color: #bf7fff;
    position: relative;
}

.music-description::after {
    content: "🔗 Click to visit YouTube channel";
    display: block;
    font-size: 1.5rem;
    color: #9966cc;
    margin-top: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(1);
}

.music-item:hover .music-description::after {
    opacity: 1;
    transform: scale(1.05);
    background-color: transparent;
    padding: 0.5rem;
    border-radius: 8px;
}

/* モバイル用の説明文表示 */
.music-item:active .music-description::after,
.music-item.tapped .music-description::after,
.music-item a:focus .music-description::after {
    opacity: 1;
}

/* ゲームページ用のスタイル */
.game-description {
    margin-top: 1rem;
    font-size: 1.5rem;
    color: #bf7fff;
    position: relative;
}

.game-description::after {
    content: "🎮 Click to visit YouTube channel";
    display: block;
    font-size: 1.5rem;
    color: #9966cc;
    margin-top: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(1);
}

.music-item:hover .game-description::after {
    opacity: 1;
    transform: scale(1.05);
    background-color: transparent;
    padding: 0.5rem;
    border-radius: 8px;
}

/* モバイル用のゲーム説明文表示 */
.music-item:active .game-description::after,
.music-item.tapped .game-description::after,
.music-item a:focus .game-description::after {
    opacity: 1;
}

/* お問い合わせフォーム*/
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: #bf7fff;
    font-weight: bold;
}

.required {
    color: #ff6b6b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ce9eff;
    border-radius: 8px;
    font-size: 1.2rem;
    background-color: #fff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #bf7fff;
    box-shadow: 0 0 5px rgba(191, 127, 255, 0.3);
}

.submit-btn {
    background-color: #ce9eff;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto;
}

.submit-btn:hover {
    background-color: #bf7fff;
}

/* Hobbies ページの個別スタイル */
.hobby-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 0;
}

/* Disney ページの個別スタイル */
.disney {
    color: #bf7fff;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.disney h2 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.disney-gallery {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-bottom: 4rem;
}

.disney-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: #f0e6ff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(206, 158, 255, 0.3);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.disney-item:nth-child(even) {
    flex-direction: row-reverse;
}

.disney-image {
    width: 300px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(206, 158, 255, 0.4);
    transition: all 0.5s ease;
    cursor: pointer;
    z-index: 1;
}

.disney-image.fullscreen {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    z-index: 1001;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.disney-image.fullscreen::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    pointer-events: none;
}

.disney-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.disney-overlay.show {
    opacity: 1;
}

.disney-text.show-text {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    padding: 2rem;
    border-radius: 15px;
    max-width: 350px;
    transition: all 0.5s ease;
    color: white;
}

.disney-text.show-text p {
    color: white;
}

.disney-item:nth-child(odd) .disney-text.show-text {
    left: 2rem;
}

.disney-item:nth-child(even) .disney-text.show-text {
    right: 2rem;
}

.disney-text {
    flex: 1;
    text-align: left;
}

.disney-text h3 {
    font-size: 2.2rem;
    color: #ce9eff;
    margin-bottom: 1rem;
    font-weight: bold;
}

.disney-text p {
    font-size: 1.6rem;
    color: #bf7fff;
    line-height: 1.8;
    margin: 0;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .disney-item {
        flex-direction: column !important;
        text-align: center;
    }
    
    .disney-text {
        text-align: center;
    }
    
    .disney-image {
        width: 100%;
        max-width: 300px;
        height: 200px;
    }
    
    /* モバイル版でのディズニーテキスト表示を画面下部に */
    .disney-text.show-text {
        position: fixed;
        top: auto;
        bottom: 2rem;
        left: 1rem;
        right: 1rem;
        transform: none;
        max-width: none;
        width: auto;
        background-color: transparent;
        backdrop-filter: none;
        box-shadow: none;
        z-index: 1001;
    }
    
    .disney-item:nth-child(odd) .disney-text.show-text,
    .disney-item:nth-child(even) .disney-text.show-text {
        left: 1rem;
        right: 1rem;
    }
}

.hobby-item {
    background-color: #f0e6ff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(206, 158, 255, 0.3);
    text-align: center;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hobby-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(206, 158, 255, 0.4);
}

.hobby-title {
    font-size: 2.2rem;
    color: #ce9eff;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hobby-description {
    font-size: 1.8rem;
    color: #bf7fff;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.hobby-description:hover {
    transform: scale(1.05);
}

.hobby-link {
    display: inline-block;
    color: #ce9eff;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 2px solid #ce9eff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hobby-link:hover {
    background-color: #ce9eff;
    color: #fff;
    transform: translateY(-2px);
}

.hobby-image {
    width: 100%;
    max-width: 320px;
    height: 220px;
    object-fit: contain;
    border-radius: 10px;
    margin: 1rem auto;
    display: block;
    background-color: #f0e6ff;
}

.footer {
    text-align: center;
    padding: 1.5rem;
    background: #ce9eff;
    color: #fff4ff;
    width: 100%;
    font-size: 3rem;
    
}

@media (max-width: 600px) {
    .header, .footer {
        padding: 1rem;
    }
    
    .header h1 {
        font-size: 3rem;
    }
    
    .menu-toggle {
        font-size: 1.8rem;
        top: 0.8rem;
        right: 0.8rem;
    }

    .nav ul li a {
        font-size: 1.6rem;
        padding: 0.8rem;
    }
    
    .footer {
        font-size: 2rem;
    }
    
    /* 小さなスマートフォンでのディズニーテキスト調整 */
    .disney-text.show-text {
        bottom: 1rem;
        left: 0.5rem;
        right: 0.5rem;
        padding: 1.5rem;
        font-size: 0.9rem;
    }
    
    .disney-text.show-text h3 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .disney-text.show-text p {
        font-size: 1.4rem;
        line-height: 1.6;
    }
}