/* リセットと基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: '游明朝', 'Yu Mincho', serif;
    text-shadow: 1px 1px 5px #1F6B3A;
    line-height: 1.6;
    background: linear-gradient(45deg, #6AB8E3, #8CCBED);
    background-size: 200% 200%;
    animation: gradientBG 20s ease infinite;
}

/* アニメーション付きグラデーション */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* グラスモーフィズムスタイル */
.glass {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

header:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

footer:hover {
    transform: translateY(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* スクロールアニメーションの初期状態 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ヘッダー */
header.glass {
    text-align: center;
    padding: 50px 20px; /* モバイルで余白調整 */
    margin: auto;
    width: 100%;
    border-radius: 0 0 15px 15px;
    background: rgba(240, 240, 240, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

header:hover {
    background-color: #D47FA6;
    transition: transform 0.3s ease;
}

/* ナビゲーション */
.nav-bar {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000; /* 他の要素より上 */
}

.hamburger-btn {
    background: rgba(240, 240, 240, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 10px;
    font-size: 1.5em;
    color: #E69BC2;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger-btn:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.nav-links {
    display: none; /* 初期状態で非表示 */
    flex-direction: column;
    align-items: flex-start;
    list-style: none;
    padding: 15px;
    margin: 0;
    background: rgba(240, 240, 240, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px; /* 固定幅 */
}

.nav-links.active {
    display: flex; /* クリックで表示 */
}

.nav-links li a {
    color: #E69BC2;
    text-decoration: none;
    font-size: 1.1em;
    text-shadow: 1px 1px 3px rgba(31, 107, 58, 0.7);
    padding: 10px 15px;
    width: 100%;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links li a:hover {
    color: #ffffff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links li{
    transition: transform 0.3s ease;
}

.nav-links li:hover {
    scale: 1.1;
    border-radius: 15px;
    background-color: #D47FA6;
    transition: transform 0.3s ease;
}

/* レスポンシブ対応 */
@media (min-width: 601px) {
    .hamburger-btn {
        display: none; /* デスクトップでは非表示 */
    }
    .nav-bar {
        width: 95%;
        max-width: 1200px;
        margin: 20px auto;
        padding: 10px 20px;
        background: rgba(240, 240, 240, 0.9);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        border-radius: 15px;
        position: sticky;
        top: 10px;
    }
    .nav-links {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        position: static;
        width: auto;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    .nav-links li a {
        padding: 10px 15px;
        width: auto;
    }
}

@media (max-width: 600px) {
    .nav-bar {
        width: auto; /* モバイルでは幅を固定せず */
        padding: 0;
    }
    .nav-links {
        width: 300px; /* モバイルで少し狭く */
    }
}

/* 見出し */
h1 {
    font-size: 2em; /* デフォルトサイズ */
}

h2 {
    color: #E69BC2;
    text-shadow: 1px 1px 3px rgba(31, 107, 58, 0.7);
    font-size: 2em;
}

h3 {
    color: #E69BC2;
    font-size: 1.2em;
    margin: 15px 0 5px;
    text-shadow: 1px 1px 3px rgba(31, 107, 58, 0.7);
}

h4 {
    font-size: 1.5em;
    margin: 15px 0 0px;
}

/* セクション */
section {
    width: 95%;
    max-width: 1200px; /* デスクトップでの最大幅 */
    margin: 20px auto;
    padding: 20px;
    border-radius: 15px;
    background: rgba(240, 240, 240, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* 自己紹介セクション */
#intro .intro-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

#intro .standing-image {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

#intro .standing-image:hover {
    transform: scale(1.05);
}

#intro .intro-text {
    flex: 1;
}

/* 自己紹介のリスト */
#intro ul {
    margin: 15px 0;
    padding-left: 20px;
}

#intro ul li {
    margin-bottom: 10px;
}

#intro ul li a{
    color: #000;
    text-shadow: 1px 1px 3px rgba(31, 107, 58, 0.7);
}

#intro ul li a:hover{
    color: #000;
    text-shadow: none;
}

#intro ul ul {
    padding-left: 20px;
    list-style-type: circle;
}

/* 配信スケジュール */
#schedule ul {
    margin: 15px 0;
    padding-left: 20px;
}

#schedule li{
    list-style: none;
}

#schedule img{
    width: 200px;
    box-shadow: 2px 2px 10px #333;
    transition: all 0.3s ease-in-out;
}

#schedule img:hover{
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}

/* コミッション情報 */
#commission .commission-details {
    flex: 1 1 100%;
    gap: 20px;
}

#commission .commission-details ul {
    margin: 0 0 15px 20px;
    padding-left: 20px;
    flex: 1 1 45%;
}

/* ギャラリー */
.gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.gallery-item_glass {
    padding: 10px;
    flex: 0 0 auto;
    text-align: center;
    background: rgba(240, 240, 240, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    max-width: 300px;
    transition: box-shadow 0.3s ease;
}

.gallery-item_glass:hover {
    box-shadow: 0 8px 25px rgba(230, 155, 194, 0.7);
}

.gallery-item_glass iframe {
    border-radius: 15px;
    width: 100%;
    height: 200px;
}

/* お問い合わせボタン */
.contact {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    margin: 20px auto 0;
    background: rgba(230, 155, 194, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.glass-btn:hover {
    background: rgba(212, 127, 166, 0.9);
    transform: scale(1.05);
}

.glass-btn a {
    text-decoration: none;
    color: white;
}

.glass-btn i {
    margin-right: 8px;
}

/* フッダー */
footer {
    text-align: center;
    padding: 50px 20px;
    width: 100%;
    border-radius: 15px 15px 0 0;
    background: rgba(240, 240, 240, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

footer:hover {
    background-color: #D47FA6;
    transition: transform 0.3s ease;
}

footer:hover h2{
    color: #fff;
}
    .text-pink {
      color: #ee91fa;
    }



/* SNSボタンのベースデザイン */
.sns-button {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding: 0;
    flex-wrap: wrap;
}

.sns-button li {
    list-style: none;
    text-align: center;
}

.sns-button li i{
    margin: 0;
}

.sns-button li a.glass-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 24px;
    width: 80px;
    padding: 12px 0;
    background: rgba(230, 155, 194, 0.9);
    color: #fff;
    text-shadow: 0 0 5px rgba(31, 107, 58, 0.6);
    transition: all 0.3s ease;
    text-decoration: none;
}

.sns-button li a.glass-btn:hover {
    background: rgba(212, 127, 166, 0.9);
    transform: rotate(5deg) scale(1.1);
    box-shadow: 1px 1px 10px rgba(230, 155, 194, 0.9);
}

.sns-button li a span {
    font-size: 14px;
    margin-top: 8px;
    color: #fff;
    text-shadow: 0 0 3px rgba(31, 107, 58, 0.6);
}

.sns-button li a svg.sns-icon {
    width: 24px;
    height: 24px;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    /* ヘッダー */
    header.glass {
        padding: 30px 15px;
    }
    h1 {
        font-size: 1.5em; /* モバイルで小さく */
    }

    /* セクション全般 */
    section {
        width: 90%;
        padding: 15px;
        margin: 10px auto;
    }
    h2 {
        font-size: 2em;
    }

    /* 自己紹介 */
    #intro .intro-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    #intro .standing-image {
        max-width: 200px;
        margin-bottom: 15px;
    }
    #intro ul {
        padding-left: 15px;
    }
    #intro ul ul {
        padding-left: 15px;
    }

    /* 配信スケジュール */
    #schedule ul {
        padding-left: 15px;
    }

    /* コミッション情報 */
    #commission .commission-details ul {
        margin: 0 0 10px 10px;
        padding-left: 15px;
    }
    #commission .commission-details h3 {
        font-size: 1.1em;
    }

    /* ギャラリー */
    .gallery {
        gap: 8px;
        padding-bottom: 8px;
    }
    .gallery-item_glass {
        max-width: 250px;
        padding: 8px;
    }
    .gallery-item_glass iframe {
        height: 150px;
    }

    /* お問い合わせボタン */
    .contact {
        bottom: 5px;
        right: 5px;
    }
    .glass-btn {
        width: 120px;
        padding: 10px;
        font-size: 0.9em;
    }

    /* フッダー */
    footer {
        padding: 30px 15px;
    }
    .sns-button {
        gap: 10px;
    }
    .sns-button li a.glass-btn {
        width: 60px;
        font-size: 20px;
        padding: 10px 0;
    }
    .sns-button li a span {
        font-size: 12px;
    }
    .sns-button li a svg.sns-icon {
        width: 20px;
        height: 20px;
    }
}