/* ------------------------------------------------------------ */
/*
【フォントサイズ】
font-size: clamp(1.375rem, 1.1477rem + 1.1364vw, 2rem); 22px~32px 
font-size: clamp(1.125rem, 0.9432rem + 0.9091vw, 1.625rem); 18px~26px 
font-size: clamp(1rem, 0.9091rem + 0.4545vw, 1.25rem); 16px~20px
font-size: clamp(0.875rem, 0.8295rem + 0.2273vw, 1rem); 14px~16px
font-size: clamp(0.75rem, 0.7045rem + 0.2273vw, 0.875rem); 12px~14px
font-size: clamp(0.625rem, 0.5795rem + 0.2273vw, 0.75rem); 10px~12px
font-size: clamp(0.5rem, 0.4545rem + 0.2273vw, 0.625rem); 8px~10px

【空間サイズ】
margin: clamp(1rem, 0.6364rem + 1.8182vw, 2rem) 0; 16px~32px
margin: clamp(0.5rem, 0.3182rem + 0.9091vw, 1rem) 0; 8px~16px
margin: clamp(0.125rem, 0.0795rem + 0.2273vw, 0.25rem) 0; 2px~4px

*/

/* ------------------------------------------------------------ */

html,
body {
    height: 100%;
    margin: 0;
}
.body-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.body-content {
    flex: 1;
    z-index: 1;
}
/* 背景を装飾するためのラッパー */
.background-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
}

img {
    width: 100%;
}
video {
    width: 100%;
}
p {
    font-size: clamp(0.75rem, 0.6rem + 0.8vw, 1.2rem);
    color: #333;
}
a {
    font-size: clamp(0.75rem, 0.6rem + 0.8vw, 1.2rem);
    transition: all 0.3s ease 0s;
    color: #333;
}
a:hover {
    opacity: 0.8;
}
.pc {
    display: block;
}
.pc-inline {
    display: inline-block;
}
.sp {
    display: none;
}
@media screen and (max-width: 500px) {
    .pc {
        display: none;
    }
    .pc-inline {
        display: none;
    }
    .sp {
        display: block;
    }
}

/* 共通指定
====================================================*/
main {
    z-index: 3;
}
section {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    z-index: 3;
}

/* カテゴリータイトル */
.heading-title {
    margin: 40px 10px 20px;
    text-align: left;
    position: relative;
    padding: 0.3em 1em 0.2em 1em;
    border-bottom: 5px solid #ff56ee;
    color: #333333;
    font-size: clamp(1.125rem, 0.625rem + 2.5vw, 2.5rem);
    font-weight: bold;
}

.heading-title::before {
    position: absolute;
    top: 0;
    left: 0.3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #ff56ee;
    content: "";
}

.heading-title::after {
    position: absolute;
    transform: rotate(15deg);
    top: 0.6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #ff56ee;
    content: "";
}

/* カード */
.card-wrap {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card {
    width: calc(33.333% - 20px);
    margin: 10px;
    background: #fff;
    border: 1px solid #ddd;
    overflow: hidden;
    text-align: center;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 10px;
}
@media screen and (max-width: 500px) {
    .card {
        margin: 10px;
        width: calc(50% - 20px);
        border-radius: 5px;
    }
}
.card img {
    width: 100%;
    height: auto;
    display: block;
}
/* ツイート */
.tweet {
    display: flex;
}
.tweet .avatar {
    width: 15%;
    margin-right: 2%;
}
.tweet .avatar img {
    margin-right: 10px;
    border-radius: 50%;
}
.tweet .tweet-content {
    width: 75%;
    text-align: left;
}
.tweet .icon {
    width: 8%;
}
.tweet .name {
    margin-right: 5px;
    font-size: clamp(0.875rem, 0.7841rem + 0.4545vw, 1.125rem);
    font-weight: bold;
}
.tweet .username {
    margin-right: 5px;
    font-size: clamp(0.625rem, 0.4886rem + 0.6818vw, 1rem);
    color: gray;
}
.tweet-message {
    text-align: left;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    margin-bottom: 10px;
    font-size: clamp(0.625rem, 0.4886rem + 0.6818vw, 1rem);
    height: calc(1.5em * 3);
}
.tweet-date {
    margin: 10px 0;
    text-align: left;
    font-size: clamp(0.4375rem, 0.2784rem + 0.7955vw, 0.875rem);
    color: gray;
}
.tweet-onx {
    border-top: 1px solid #cbcbcb;
    font-size: clamp(0.625rem, 0.4886rem + 0.6818vw, 1rem);
    padding-top: 10px;
    text-align: center;
}
/* ピックアップ */
.card .title {
    text-align: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    font-size: clamp(1rem, 0.7955rem + 1.0227vw, 1.5625rem);
    line-height: 1.4;
    height: calc(1.4em * 3);
    margin: 8px;
    font-weight: bold;
    color: #400139;
}
.card-more {
    text-align: right;
    margin-right: 10px;
    margin-top: 10px;
}
.card-more a {
    display: inline-block;
    padding: 10px 20px;
    background: #ff56ee;
    color: #fff;
    text-decoration: none;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background 0.3s ease;
}
.card-more a:hover {
    background: #ff83f3;
}

/* リスト */
.list-head {
    font-weight: bold;
    text-align: right;
    padding-right: 10px;
}
.list-bottom {
    font-weight: bold;
    text-align: center;
}

/* ページネーション */
.pagination {
    color: #fff;
    display: flex;
    width: 70%;
    justify-content: space-between;
    margin: 3% auto;
    max-width: 600px;
}
.pagination li {
    display: inline-block;
    width: 60px;
    height: 60px;
    margin-right: 8px;
    border: 1px solid #ff56ee;
    border-radius: 4px;
    font-size: 18px;
    color: #333;
    line-height: 60px;
    text-align: center;
}
.pagination .active {
    background-color: #fff7fe;
    color: #000;
}
@media screen and (max-width: 500px) {
    .pagination {
        width: 95%;
    }
    .pagination li {
        display: inline-block;
        width: 46px;
        height: 46px;
        margin-right: 0px;
        border: 1px solid #ff56ee;
        border-radius: 2px;
        font-size: 16px;
        color: #333;
        line-height: 46px;
        text-align: center;
    }
}

/* ーーーーーーーーーーーーーーーーーーーーーーーー
18歳確認 
ーーーーーーーーーーーーーーーーーーーーーーーーーー*/
/* モーダルの背景 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* モーダル本体 */
.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px 40px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    margin-bottom: 15px;
    font-size: 16px;
}
.modal-content p {
    font-size: 12px;
}

.modal-buttons {
    margin-top: 20px;
}

.modal-buttons button {
    font-size: 12px;
    padding: 10px 25px;
    margin: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.modal-buttons .yes {
    background-color: #be19ad;
    color: #fff;
}

.modal-buttons .yes:hover {
    background-color: #9c098d;
}

.modal-buttons .no {
    background-color: #e5e7eb;
    color: #111;
}

.modal-buttons .no:hover {
    background-color: #d1d5db;
}
