:root {
    /* メインカラー */
    --primary-color: #285FF4;
    --primary-color-light: #0099CC;
    
    /* 背景色 */
    --bg-gradient: linear-gradient(to right, var(--primary-color), var(--primary-color-light));
    --bg-white: #FFF;
    --bg-light: #f8f9fa;
    
    /* テキスト色 */
    --text-light: #F8F9FA;
    --text-dark: #333;
    --text-gray: #666;
    --text-white: white;
    
    /* 透過色 */
    --white-transparent: rgba(255,255,255,0.7);
    --black-transparent: rgba(0,0,0,0.1);

    /* ホワイトボードテーマ用の色 */
    --whiteboard-bg: #f0f0f0;
    --whiteboard-border: #e0e0e0;
    --sticky-note-yellow: #ffeb3b;
    --sticky-note-pink: #ffcdd2;
    --sticky-note-blue: #bbdefb;
    --sticky-note-green: #c8e6c9;
}

/* スタートアニメーション */
.logo_fadein {
    background: var(--bg-white);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo_fadein p {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none; /* 初期状態で非表示 */
    z-index: 9999;
    width: 20%; /* さらに小さく */

    /* Flexbox を使用して中央配置 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo_fadein p img {
    width: 100%;
    height: auto;
}

body {
    /* margin: 0; */
    /* padding: 20px; 画面端から全体的に20pxの余白を設定 */
    background: var(--bg-gradient);
    color: var(--text-light);
    
    font-family: Arial, sans-serif; /* フォントを統一 */
}


/* index.html */

/*↓メインビジュアル関係*/
.main-visual {
    position: relative;
    width: 100vw;
    height: 700px;
    /* overflow: hidden; */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
}

/* 文字マスク用コンテナ */
.text-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw; /* 文字間のスペース */
}

/* 文字マスクエフェクト */
.text-mask {
    font-size: 30vw;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-white);
    cursor: pointer;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: var(--text-white);
    background-size: cover;
    background-position: center;
}

/* ホバー時の拡大 */
.text-mask:hover {
    transform: scale(1.5);
}

/* 他の文字を非表示 */
.text-container:hover .text-mask:not(:hover) {
    opacity: 0.3; 
}

/* ホバー時に異なる画像を適用 */
.text-mask[data-text="S"]:hover {
    background-image: url("pcwork.jpg");
    -webkit-text-fill-color: transparent;
}

.text-mask[data-text="O"]:hover {
    background-image: url("prise.jpg");
    -webkit-text-fill-color: transparent;
}

.text-mask[data-text="R"]:hover {
    background-image: url("facilitation.jpg");
    -webkit-text-fill-color: transparent;
}

.text-mask[data-text="A"]:hover {
    background-image: url("mc.jpg");
    -webkit-text-fill-color: transparent;
}

/* 説明テキスト */
.description {
    position: absolute;
    top: 90%; /* 文字の下に表示 */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* タイトル部分（大きく表示） */
.desc-title {
    font-size: 3vw; /* 大きめ */
    font-weight: bold;
    display: block;
    color: var(--text-white);
    margin-bottom: 10px;
}

/* 詳細文章（小さめに表示） */
.desc-text {
    font-size: 1.5vw; /* 小さめ */
    display: block;
    color: var(--text-white);
}
/*↑メインビジュアル関係*/



/* showcase.html */

/* スマートフォン全体のコンテナ */
.showcase-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    padding: 20px;
    position: relative;
    background: var(--bg-gradient);
}

/* スマートフォンの枠画像 */
.smartphone {
    position: relative;
    width: 375px; /* iPhone 14のサイズに合わせて調整 */
    height: 812px;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

/* スマートフォンのホバーエフェクト */
.smartphone:hover {
    transform: scale(1.02);
}

.phone-frame {
    width: 100%;
    height: 100%;
    pointer-events: none;
    object-fit: contain;
}

/* スマートフォンの画面（アプリ部分のみ） */
.screen {
    position: absolute;
    top: 6%; /* 上部の位置を調整 */
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%; /* 幅を少し狭く */
    height: 87%; /* 高さを調整 */
    display: flex;
    flex-direction: column;
    background-color: var(--bg-light);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: inset 0 0 10px var(--black-transparent);
}

/* ステータスバー */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 8px; /* パディングを調整 */
    background: transparent;
    font-size: 12px; /* フォントサイズを小さく */
    color: #000;
    font-weight: 600;
    border-radius: 40px 40px 0 0;
}

/* ホーム画面のアプリ配置 */
.home-screen {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px; /* ギャップをさらに縮小 */
    padding: 10px;
    width: 100%;
    height: 80%; /* 高さを調整 */
    overflow-y: auto;
    background-color: transparent;
    align-content: start;
    margin: 5px 0; /* マージンを縮小 */
}

/* アプリアイコン */
.app-icon {
    width: 45px; /* サイズをさらに調整 */
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    margin: 0 auto;
    position: relative;
}

.app-icon:hover {
    transform: scale(1.1);
}

.app-icon-img {
    width: 100%;
    height: 100%;
    border-radius: 12px; /* 角丸を少し小さく */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 影を軽く */
}

/* ドック */
.dock {
    position: absolute;
    bottom: 12px; /* 位置を調整 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-around;
    padding: 8px;
    background-color: var(--white-transparent);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    width: 85%;
    margin: 0 auto;
    box-shadow: 0 0 15px var(--black-transparent);
}

.dock-icon {
    width: 40px; /* サイズを調整 */
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s;
    margin: 0 4px;
}

.dock-icon:hover {
    transform: scale(1.1);
}

/* アプリ画面 */
.app-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    text-align: center;
    display: none;
    overflow: hidden;
    border-radius: 40px;
}

/* アプリ詳細画面のスタイル */
.app-detail {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
    background-color: #fff;
}

.app-header {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 20px;
    background-color: #f8f9fa;
    margin-bottom: 20px;
}

.app-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-right: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* 戻るボタン */
.back-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    color: #007ACC;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
    transition: all 0.2s ease;
}

.back-btn:hover {
    transform: scale(1.1);
    background-color: rgba(255,255,255,0.9);
}

/* スクロールバーのカスタマイズ */
.home-screen::-webkit-scrollbar,
.app-detail::-webkit-scrollbar {
    width: 6px;
}

.home-screen::-webkit-scrollbar-track,
.app-detail::-webkit-scrollbar-track {
    background: transparent;
}

.home-screen::-webkit-scrollbar-thumb,
.app-detail::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 3px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .showcase-container {
        padding: 10px;
    }
    
    .smartphone {
        width: 100%;
        max-width: 375px;
        height: auto;
        aspect-ratio: 9/19.5;
    }
    
    .screen {
        top: 6.5%;
        height: 86%;
    }

    .home-screen {
        gap: 10px;
        padding: 8px;
        height: 78%;
    }
    
    .app-icon {
        width: 40px;
        height: 40px;
    }

    .dock {
        bottom: 10px;
        padding: 6px;
    }

    .dock-icon {
        width: 36px;
        height: 36px;
        margin: 0 3px;
    }

    .status-bar {
        padding: 8px 15px 6px;
        font-size: 11px;
    }
}

/* アニメーション */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.showcase-container {
    animation: fadeIn 0.5s ease-in-out;
}


/* showcase.html */



/* overview.html */
.timeline-container {
    background: var(--whiteboard-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
    border: 2px solid var(--whiteboard-border);
}

/* タブコンテナ */
.tab-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 10px;
    background: transparent;
    border-radius: 8px;
}

/* タブ */
.tab {
    padding: 10px 20px;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.2em;
}

.tab::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab:hover::before {
    transform: scaleX(1);
}

.tab.active {
    background: transparent;
    color: var(--primary-color);
    border: none;
    box-shadow: none;
}

.tab.active::before {
    transform: scaleX(1);
}

/* カードコンテナ */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    background: var(--whiteboard-bg);
    border-radius: 8px;
}

/* カード（付箋） */
.card {
    background: var(--sticky-note-yellow);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    text-align: left;
    font-weight: bold;
    color: var(--text-dark);
}

.card:nth-child(2n) {
    background: var(--sticky-note-pink);
}

.card:nth-child(3n) {
    background: var(--sticky-note-blue);
}

.card:nth-child(4n) {
    background: var(--sticky-note-green);
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
    z-index: 1;
}

/* 付箋の日付 */
.card-date {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8em;
    color: rgba(0, 0, 0, 0.6);
    font-weight: normal;
}

/* 付箋のタイトル */
.card-title {
    font-size: 1.2em;
    margin: 25px 0 10px 0;
    line-height: 1.4;
}

/* 付箋の説明 */
.card-description {
    font-size: 0.9em;
    font-weight: normal;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.8);
    margin-top: auto;
}

/* コンテンツエリア */
.content {
    background: var(--whiteboard-bg);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 2px solid var(--whiteboard-border);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* overview.html */


/* about.html */
/* 自己紹介ページ */
/* 自己紹介ページ */
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 50px;
    max-width: 1000px;
    margin: auto;
}

/* プロフィール画像 */
.profile-image img {
    width: 250px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* プロフィール詳細 */
.profile-details {
    max-width: 600px;
}

.name {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-title {
    font-size: 20px;
    margin-top: 20px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.hobby, .history, .motto {
    font-size: 16px;
    line-height: 1.6;
}

/* スキルリスト */
.skills, .achievements, .goals {
    list-style: none;
    padding: 0;
}

.skills li, .achievements li, .goals li {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin: 5px;
}

/* ロゴセクション */
.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.logo-image img {
    width: 150px;
    height: auto;
}

.logo-description {
    max-width: 500px;
}
/* about.html */


/* reports.html */
/* 活動報告・イベント情報ページ */
.report-container {
    max-width: 1000px;
    margin: auto;
    padding: 50px;
}

/* 見出し */
.report-container h1, .report-container h2 {
    text-align: center;
    color: var(--text-white);
    margin-bottom: 20px;
}

/* 活動報告カード */
.report-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.report-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.report-card h3 {
    color: #007ACC;
    margin-bottom: 10px;
}

.report-card .date {
    font-size: 12px;
    color: gray;
}

/* イベントタイムライン */
.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

.event-date {
    font-size: 14px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 5px 10px;
    border-radius: 5px;
}

.event-title {
    font-weight: bold;
}

/* reports.html */

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        width: auto;
        margin: 5px 0;
    }
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .logo-section {
        flex-direction: column;
        text-align: center;
    }

    .profile-image img {
        width: 180px;
    }
    .report-cards {
        flex-direction: column;
        align-items: center;
    }
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #000;
}

.modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.modal-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin: 0;
    padding-right: 30px;
}

.modal-date {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

.modal-body {
    color: #333;
}

.modal-description {
    font-size: 1em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-details h3 {
    color: var(--primary-color);
    margin: 15px 0 8px 0;
    font-size: 1.1em;
}

.modal-details ul {
    list-style-type: none;
    padding-left: 0;
}

.modal-details li {
    margin: 6px 0;
    padding-left: 20px;
    position: relative;
}

.modal-details li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* スクロールバーのカスタマイズ */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color-light);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    /* タブコンテナ */
    .tab-container {
        gap: 10px;
        padding: 5px;
    }

    /* タブ */
    .tab {
        padding: 8px 15px;
        font-size: 1em;
    }

    /* カードコンテナ */
    .card-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    /* カード */
    .card {
        min-height: 100px;
        padding: 15px;
    }

    .card-title {
        font-size: 1.1em;
        margin: 20px 0 8px 0;
    }

    .card-description {
        font-size: 0.85em;
    }

    .card-date {
        font-size: 0.75em;
    }

    /* モーダル */
    .modal {
        padding: 10px;
    }

    .modal-content {
        padding: 15px;
        max-height: 90vh;
    }

    .modal-title {
        font-size: 1.4em;
        padding-right: 30px;
    }

    .modal-date {
        font-size: 0.8em;
    }

    .modal-description {
        font-size: 1em;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .modal-details h3 {
        font-size: 1.1em;
        margin: 15px 0 8px 0;
    }

    .modal-details li {
        font-size: 0.9em;
        margin: 6px 0;
    }

    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 20px;
    }
}

/* 小さいスマートフォン向け */
@media (max-width: 360px) {
    .tab {
        padding: 6px 12px;
        font-size: 0.9em;
    }

    .card {
        min-height: 90px;
        padding: 12px;
    }

    .card-title {
        font-size: 1em;
        margin: 15px 0 6px 0;
    }

    .card-description {
        font-size: 0.8em;
    }

    .modal-content {
        padding: 12px;
    }

    .modal-title {
        font-size: 1.2em;
    }
}