@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+JP:wght@100;200;300;400;500;600;700&display=swap');


:root {
    --bg-color: #faf8f5;
    /* ほっと一息つける温かみのあるオフホワイト */
    --text-color: #333333;
    /* ユーザー指定テキストカラー（サブ） */
    --text-muted: #5c5c5c;
    /* 少し和らいだテキストカラー */
    --card-bg: #ffffff;
    /* カードの背景（クリーンな白） */
    --card-border: #f0e6e1;
    /* 柔らかい境界線 */
    --acc-color: #ffaf91;
    /* ユーザー指定メインカラー（コーラルピーチ） */
    --acc-hover: #ff9166;
    /* ホバー時の少し濃いめのメインカラー */

    /* サイトタイトルなどに使う柔らかいグラデーション */
    --grad-primary: linear-gradient(135deg, #ffaf91, #ffcba4);
}

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

body {
    overflow-x: hidden;
    overflow-y: scroll;
    /* スクロールバーの有無による横揺れを防ぐ */
    font-family: 'IBM Plex Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    /* 余白を持たせて読みやすく */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background-image:
        repeating-linear-gradient(-45deg,
            rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2) 80px,
            transparent 0, transparent 160px);
}

.background-blobs {
    position: fixed;
    /* スクロールしても背景位置を固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    /* ★ここが重要：はみ出した装飾をカットする */
    z-index: -1;
    /* コンテンツの背面に配置 */
    pointer-events: none;
    /* マウス操作を邪魔しない */
}

/* body::before, body::after だったものを .background-blobs に変更 */
.background-blobs::before,
.background-blobs::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    /* z-index: -1; は親要素にあるので削除してもOKですが、念のため残しても可 */
    animation: float 15s ease-in-out infinite alternate;
}

.background-blobs::before {
    background: rgba(255, 175, 145, 0.2);
    top: -50px;
    left: -100px;
}

.background-blobs::after {
    background: rgba(255, 203, 164, 0.2);
    bottom: -100px;
    right: -100px;
    animation-delay: -7s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, 40px);
    }
}

a {
    color: var(--acc-hover);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: var(--acc-color);
    opacity: 0.8;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.account-grid li {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.account-grid li a {
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 15px 10px;
    min-height: 60px;
    display: flex;
    align-items: center;
}

/* iframe プレイリストの横並びコンテナ */
.iframe-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.iframe-container iframe {
    flex: 1 1 300px;
    /* 最小幅300pxでフレックスにサイズ調整 */
    border-radius: 12px;
    height: 450px;
}

/* Container */
main {
    flex: 1;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* セクション間の余白をしっかり取る */
}

/* 柔らかいカードスタイル */
section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    /* 大きめな角丸で安心感 */
    padding: 50px;
    /* 内側の余白を広く */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    /* 優しく浮いているような影 */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 見出し周り */
section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

/* ふんわりした下線 */
section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--acc-color);
    border-radius: 2px;
}

section h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin: 35px 0 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* トップページ: MP4動画をフル背景として表示 */
body.is-top {
    background-image:
        radial-gradient(circle, rgba(153, 153, 153, 0.1) 1.2px, transparent 1.2px);
    background-size: 8px 8px;
    background-position: center;
    background-repeat: repeat;
}

/* トップページではblob装飾を非表示にして背景を邪魔しない */
body.is-top .background-blobs {
    display: none;
}

/* トップページ: 背景動画 */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}

/* 動画の上に半透明オーバーレイ（ドット＋白グラデーション） */
#bg-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle, rgba(153, 153, 153, 0.1) 1.2px, transparent 1.2px), linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 1));
    background-size: 8px 8px, cover;
    background-position: center, center;
    z-index: -1;
    pointer-events: none;
}

/* プロフィールエリア */
.profile-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 10px;
}

.profile-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(255, 175, 145, 0.2);
    flex-shrink: 0;
}

.profile-text {
    flex: 1;
}

.works-link {
    font-weight: bold;
    margin-top: 25px;
    transition: transform 0.25s ease;
}

.works-link:hover {
    transform: translateY(-4px);
}

.works-link a {
    display: flex;
    align-items: center;
}

.works-link a:hover {
    color: var(--acc-hover);
    filter: drop-shadow(rgba(255, 93, 34, 0.2) 0px 0px 10px);
}

.works-link a span {
    color: var(--acc-color);
    line-height: 1rem;
    margin-bottom: 4px;
}

p {
    margin-bottom: 20px;
    color: var(--text-muted);
    word-break: break-word;
}

/* Lists */
ul {
    list-style: none;
    display: grid;
    gap: 15px;
    /* リスト間の余白も少し広めに */
}

li {
    background: #fdfdfd;
    border-radius: 15px;
    /* ボタンのような丸み */
    border: 1px solid var(--card-border);
    padding: 15px 25px;
    transition: all 0.3s ease;
    color: var(--text-muted);
    word-break: break-word;
    align-items: center;
}

li:has(a):hover {
    background: #fffafa;
    border-color: var(--acc-color);
    box-shadow: 0 4px 15px rgba(255, 175, 145, 0.15);
    transform: translateY(-2px);
}

/* highlight the portal site entry and remove hover/animation */
.site-self {
    background: #f2f2f2;
    border: 1px solid #ccc;
    color: var(--text-color);
    font-weight: 700;
    transition: none;
}

.site-self:hover {
    /* keep the same appearance on hover */
    background: #f2f2f2;
    border-color: #ccc;
    box-shadow: none;
    transform: none;
}


li a {
    font-weight: 600;
    color: var(--text-color);
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

li a:hover {
    color: var(--acc-hover);
}

/* 今いるページをふんわりハイライト */
li.current,
li.current:hover {
    background: rgba(255, 175, 145, 0.15);
    border: 1px solid rgba(255, 175, 145, 0.4);
    color: var(--text-color);
    transform: translateY(0);
    box-shadow: none;
    font-weight: 700;
}

/* アイコン (Material Symbols用) */
.icon,
.material-symbols-rounded {
    font-size: 1.8rem;
    color: var(--acc-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}



/* レスポンシブ (スマホ表示時も優しく) */
@media (max-width: 600px) {
    main {

        margin-top: 3rem;
        padding: 0 15px 60px;
        gap: 25px;
    }

    section {
        padding: 30px 20px;
        border-radius: 20px;
    }

    section h2 {
        font-size: 1.4rem;
    }

    li {
        padding: 12px 18px;
    }

    .profile-container {
        flex-direction: column;
        gap: 20px;
    }

    .profile-container p:nth-child(1) {
        width: fit-content;
        display: block;
        margin: 1rem auto;
    }

}

/* ===== 準備中ページ ===== */
.contact-status-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 8px 25px;
    border-radius: 50px;
    margin: 10px 0 20px 0;
    box-shadow: 0 4px 15px rgba(255, 175, 145, 0.4);
    letter-spacing: 0.05em;
    animation: pulse-badge 8s infinite;
}

@keyframes pulse-badge {
    0% {
        box-shadow: 0 4px 15px rgba(255, 175, 145, 0.4);
    }

    50% {
        box-shadow: 0 6px 20px rgba(255, 175, 145, 0.6);
    }

    100% {
        box-shadow: 0 4px 15px rgba(255, 175, 145, 0.4);
    }
}

.coming-soon-section {
    text-align: center;
    padding: 60px 40px;
}

.coming-soon-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.coming-soon-icon .material-symbols-rounded {
    font-size: 5rem;
    color: var(--acc-color);
    animation: float 3s ease-in-out infinite alternate;
}

.coming-soon-section h2 {
    font-size: 2rem;
    justify-content: center;
    margin-bottom: 0;
    padding-bottom: 0;
}

.coming-soon-section h2::after {
    display: none;
}

.coming-soon-label {
    display: inline-block;
    background: var(--grad-primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 4px 18px;
    border-radius: 100px;
    margin-bottom: 8px;
}

.coming-soon-desc {
    max-width: 480px;
    text-align: left;
    line-height: 1.9;
}

.coming-soon-desc p {
    margin-bottom: 12px;
}