/* ============================ style.css (v1.0.2) 公開日: 2025-09-14 ============================ */

/* ===== 全体 ===== */
body {
    font-family: 'Segoe UI', 'Hiragino Kaku Gothic ProN', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff0f5;
    color: #333;
    position: relative;
}

/* ===== ヘッダー ===== */
header {
    background: linear-gradient(90deg, #ffb6c1, #ff69b4);
    color: white;
    padding: 12px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-family: "Hachi Maru Pop", cursive, sans-serif;
    font-weight: 400;
    color: #fffafc;
    text-shadow: 2px 2px 5px rgba(255,105,180,0.3);
    letter-spacing: 2px;
}

header h1 a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

header h1 a:hover {
    color: #ffe4f1;
}

/* ===== メニューボタン ===== */
.menu-toggle {
    font-size: 1.8rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: none;
    z-index: 1100;
}

/* ===== ナビゲーション ===== */
nav ul {
    list-style: none;
    margin: 15px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background 0.3s, opacity 0.3s;
}

nav ul li a:hover {
    background: rgba(255,255,255,0.2);
}

/* ===== メイン ===== */
main {
    padding: 40px 20px;
    max-width: 900px;
    margin: 30px auto;
}

/* ===== カードデザイン ===== */
.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-3px);
}

.card h2 {
    color: #ff69b4;
    border-bottom: 2px solid #ffb6c1;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-family: "Hiragino Maru Gothic ProN", "Hachi Maru Pop", sans-serif;
}

/* ===== ガイドライン専用装飾 ===== */
.card h3 {
    border-left: 4px solid #66ccff;
    padding-left: 8px;
    margin-top: 25px;
    font-size: 1.3em;
    color: #333;
}

.card p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.card ul {
    margin: 10px 0 20px 25px;
    padding: 0;
    list-style: disc;
}

.card li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.card b {
    color: #d9534f;
}

.card u {
    text-decoration: underline;
    font-weight: bold;
    color: #444;
}

.card .summary {
    background: #fff5f8;
    border: 2px solid #ff99cc;
    padding: 15px;
    margin: 20px 0;
    border-radius: 10px;
}

.card .summary ul {
    list-style: "✅ ";
    margin-left: 20px;
}

.card .summary li {
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

/* ===== プロフィール ===== */
.profile-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffb6c1;
}

/* ===== リンクリスト ===== */
ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
}

ul li a {
    color: #ff69b4;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

ul li a:hover {
    text-decoration: underline;
    color: #ff1493;
}

/* ===== SNSリンクカード ===== */
.sns-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    list-style: none;
}

.sns-links li {
    margin: 0;
}

.sns-links li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    border-radius: 15px;
    background: #ffe4f1;
    color: #ff69b4;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: all 0.25s ease;
    font-size: 1rem;
    text-decoration: none;
}

.sns-links li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255,105,180,0.3);
    background: #ffb6c1;
    color: #fffafc;
}
ul.sns-links {
    list-style-type: none; /* 黒点を消す */
    padding-left: 0;       /* 左の余白もリセット */
    margin-left: 0;        /* 念のため */
}

/* ===== YouTube埋め込み ===== */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== プロフィールページ ===== */
.profile-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.profile-info {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-info h2 {
    color: #ff69b4;
    border-bottom: 2px solid #ffb6c1;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-family: "Hachi Maru Pop", cursive, sans-serif;
}

.profile-info p,
.profile-info ul {
    line-height: 1.8;
    margin-bottom: 15px;
}

.profile-info ul {
    margin-left: 20px;
    list-style: disc;
}

.profile-info li {
    margin-bottom: 8px;
}

/* ===== メイン画像とタブ ===== */
.tab-image-container {
    width: 900px;
    max-width: 100%;
    height: 300px;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.tab-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.tab-image-container img.active {
    display: block;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.tab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.tab-btn.active {
    border-color: #ff69b4;
    transform: scale(1.1);
}

.profile-title {
    text-align: center;
    font-size: 2rem;
    color: #ff69b4;
    margin: 30px 0 15px;
    font-family: "Hachi Maru Pop", cursive, sans-serif;
    text-shadow: 1px 1px 3px rgba(255,105,180,0.3);
}

.header-image {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
}

.header-image img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== ハッシュタグ装飾 ===== */
.highlight-tag {
    font-family: 'Segoe UI', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-weight: 700;
    color: #ff1493;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    background: #ffe4f1;
    padding: 2px 6px;
    border-radius: 6px;
}

/* ===== フッター ===== */
footer {
    background-color: #D8BFD8;
    color: #333;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* ===== スマホ対応 ===== */
@media screen and (max-width:  1024px) {

    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }

    header h1 {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .menu-toggle {
        display: block;
        font-size: 1.6rem;
    }

    /* スマホメニュー背景 */
    body.menu-open::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 900;
    }

    nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        background: #fffafc;
        border: 2px solid #ffb6c1;
        border-radius: 20px;
        box-shadow: 0 6px 20px rgba(255,105,180,0.3);
        z-index: 1000;
        overflow: hidden;
    }

    nav.active {
        display: block;
        animation: fadeSlide 0.3s ease;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 10px 0;
    }

    nav ul li {
        border-bottom: 1px solid #ffe4f1;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 50px;
        padding: 0;
        line-height: normal;
        color: #ff69b4; /* 文字色固定 */
    }

    nav ul li a:hover {
        background: #ffe4f1;
        color: #ff1493; /* ホバー色固定 */
    }

    main {
        padding: 20px 15px;
        margin: 20px auto;
    }

    .card {
        padding: 20px;
    }

    .profile-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-icon {
        width: 80px;
        height: 80px;
    }

    footer {
        font-size: 0.8rem;
        padding: 12px;
    }

    .sns-links {
        flex-direction: column;
        gap: 8px;
        padding-left: 0;
        margin-left: 0;
    }

    .sns-links li a {
        width: auto;
        max-width: 100%;
        text-align: left;
        padding: 10px 12px;
    }
}

/* ===== スマホメニュー開くアニメーション ===== */
@keyframes fadeSlide {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.strike {
    text-decoration: line-through;
}

/* タブ画像切替 */
.tab-images {
    max-width: 900px;
    margin: 0 auto 15px;
    border-radius: 15px;
    position: relative;
    overflow: visible; /* overflow hidden を解除 */
    height: auto;      /* 高さを固定せず自動に */
    padding-bottom: 0; /* padding-bottom をリセット */
}

.tab-images img {
    position: relative; /* absolute ではなく relative に変更 */
    width: 100%;
    height: auto;       /* 高さ自動 */
    object-fit: contain; /* cover → contain に変更 */
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 0;
}

.tab-images img.active {
    opacity: 1;
    transform: scale(1); /* 拡大しない */
    z-index: 1;
}
