/* main */
main {
    min-height: 100svh;
    /* スマホ対応の安定単位 */
}

html {
    overflow-y: scroll;
}

.photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.item {
    cursor: pointer;
    /* height:40vh; */
    flex: 0 1 12%;
    /* 横に4列表示 */
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    margin-bottom: 1%;
    font-size: small;
    aspect-ratio: 10 / 14;
}

.item img {
    width: 100%;
    height: 100;
}

.item h2 {
    margin: 0;
    padding: 6px;
    font-size: 25px;
    line-height: 1.2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* header */
body {
    margin: 0px;
    max-width: 100vw;
    /* ビューポート幅を超えない */
    overflow-x: hidden;
    /* 横スクロール禁止 */
}

li {
    list-style-type: none;
    /* 点を消す */
    margin: 5px 0;
    /* 上下に5px、左右に0px */
}

.block-center {
    flex: 1;
    /* 残りの幅を自動で占有 */
    text-align: center;
}

.container2 {
    display: flex;
}

.block-left {
    flex: 0 0 13%;
    /* 固定幅 */
    background-color: #fffafa;
}

.block-right {
    flex: 0 0 13%;
    /* 固定幅 */
    background-color: #fffafa;
    width: 10%;
}

.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

header {
    background-color: #ff27e2;
    /* 赤い背景色 */
    padding: 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer {
    background-color: #ff27e2;
    /* 赤い背景色 */
    padding: 10px 10px;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    color: white;
    float: right;
}

nav ul li {
    margin: 0 10px;
}

footer a,
nav,
nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

/* 検索ボックス */
.search-form-3 {
    margin: 0px 10%;
    display: flex;
    overflow: hidden;
    border: 1px solid #000000;
    border-radius: 25px;
}

.search-form-3 input {
    padding: 5px 15px;
    border: none;
}

.search-form-3 input::placeholder {
    color: #777777;
}

/* パンくずリスト */
.breadcrumb {
    list-style: none;
    display: flex;
    padding: 0;
}

.breadcrumb li {
    margin-right: 5px;
}

.breadcrumb li+li:before {
    content: '>';
    margin-right: 5px;
}

.breadcrumb a {
    text-decoration: none;
    color: blue;
}

/* main */
.read-more-button {
    padding: 10px 20px;
    color: white;
    background-color: rgb(255, 0, 43);
    border-radius: 50px;
    font-weight: bold;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.read-more-button:hover {
    background-color: #ff0080;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}


@keyframes glow {
    0% {
        box-shadow: 0 0 5px #ff27e2, 0 0 10px #ff0000;
    }

    100% {
        box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
    }
}

.button {
    cursor: pointer;
    display: inline-block;
    padding: 10px 15px;
    background-color: #be1300;
    color: white;
    margin: 5px;
    font-size: 15px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    width: 25%;
    animation: glow 1s infinite alternate;
}

/* タグ */
.tag {
    display: inline-block;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px 10px;
    margin: 5px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

/* detail */
.genre,
.actress,
.maker {
    cursor: pointer;
    display: inline-block;
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    margin: 3px;
}


.genre {
    background-color: #005a96ff;
}

.actress {
    background-color: #700bb4ff;
}

.maker {
    background-color: #109246;
}

/* ビデオボタン */
.video-container {
    cursor: pointer;
    margin: 2% 15%;
    position: relative;
    height: 28vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    overflow: hidden;
}

.play-button {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.play-button::before {
    content: '';
    border-style: solid;
    border-width: 20px 0 20px 35px;
    border-color: transparent transparent transparent #000;
    margin-left: 8px;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    z-index: 1;
}

.progress-bar-fill {
    flex-grow: 1;
    height: 100%;
    background: #76c7c0;
}

.progress-time {
    color: #fff;
    padding-left: 10px;
}

.video-background-img {
    position: absolute;
    height: 100%;
    filter: blur(2px);
}



/* レビュー星*/
.stars {
    display: inline-block;
    position: relative;
    color: gray;
    /* 空の星の色 */
}

.stars::before {
    content: '★★★★★';
    /* 5つの灰色の星 */
    display: block;
}

.stars::after {
    content: '★★★★★';
    /* 5つの金色の星 */
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    color: gold;
    /* 満たされた星の色 */
    width: var(--rating);
    /* 評価に応じた幅 */
    overflow: hidden;
    /* 指定幅を超えた部分を隠す */
}

/* 署名部分 */
.admin-box {
    width: 90%;
    margin: 10% auto 0 auto;
    /* 上10%、左右自動、下0 */
    border: 2px solid #e6007e;
    /* マゼンタ色の枠線 */
    border-radius: 8px;
    background-color: #f9ebf4;
    /* 白背景 */
}

.admin-box h2 {
    margin: 0;
    color: #e6007e;
    /* マゼンタ色 */
    font-size: 20px;
}

.admin-box p {
    margin: 5px 0;
    line-height: 1.6;
    color: #333333;
    font-size: 14px;
}

.admin-box .subheading {
    color: #666666;
    font-size: 12px;
    margin-bottom: 10px;
}


/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    flex-wrap: wrap;
}

.pagination li {
    margin: 0 5px;
}

.pagination a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #9400a1;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
    background-color: #9400a1;
    color: white;
}

.pagination .active a {
    background-color: #9400a1;
    color: white;
    pointer-events: none;
}

.pagination .disabled a {
    color: #ccc;
    pointer-events: none;
    border-color: #ddd;
}

/* ここからプルダウン */

.monthly-links-container {
    display: inline-block;
    position: relative;
    width: 200px;
    text-shadow: none;
}

.monthly-links-summary {
    border: 1px solid #424242;
    cursor: pointer;
    text-align: center;
    color: #0011ff;
    margin-top: 4px;
}

.monthly-links-list {
    display: none;
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: #fffeff;
}

.monthly-link-item a {
    text-shadow: none;
}

.monthly-links-dropdown[open] .monthly-links-list {
    display: block;
}

.monthly-link-item:hover {
    background: #fa71ff;
}

/* ここまでプルダウン */

/* ここまでアコーディオン */
.faq-block h3,
.toggle-content-block .toggle-header {
    cursor: pointer;
    position: relative;
    padding-right: 1.5em;
}

.faq-block h3::after,
.toggle-content-block .toggle-header::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 0;
    transition: transform 0.3s;
}

.faq-block h3.open::after,
.toggle-content-block .toggle-header.open::after {
    transform: rotate(180deg);
}

.faq-block p,
.toggle-content-block .toggle-body {
    display: none;
}

.faq-block p.show,
.toggle-content-block .toggle-body.show {
    display: block;
}

/* ここまでアコーディオン */

/* lazdyloadのdummy画像の代わり */
.imgdelay {
    width: 100%;
    height: 100;
    background-color: #f0f0f0;
    /* プレースホルダー色 */
    background-size: cover;
    background-position: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.card {
    padding: 8px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease;
}

.card:hover {
    transform: scale(1.05);
}

.video {
    background: linear-gradient(135deg, #ff9966, #ff5e62);
}

.vr {
    background: linear-gradient(135deg, #5e9cff, #3370ff);
}

.amateur {
    background: linear-gradient(135deg, #72e198, #4ab471);
}

.unknown {
    background: #aaa;
}


.chat-box {
    margin: 32px 0;
    font-size: 14px;
    line-height: 1.7;

    /* 中央基準＋最大幅 */
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.chat-row {
    display: flex;
    margin-bottom: 14px;
}

/* 左右の配置を「中央からずらす」 */
.chat-row.left {
    justify-content: flex-start;
    padding-right: 60px;
    /* 中央寄り → 左へ */
}

.chat-row.right {
    justify-content: flex-end;
    padding-left: 60px;
    /* 中央寄り → 右へ */
}

.chat-bubble {
    max-width: 62%;
    padding: 12px 16px;
    border-radius: 14px;
    background: #f1f1f1;
}

/* 右側だけ色を変える */
.chat-row.right .chat-bubble {
    background: #e6f0ff;
}

/* 名前は必ず左寄せ */
.chat-name {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
    text-align: left;
}


/* お気に入りボタン */
.favorite-btn{
    position:fixed;
    right:20px;
    bottom:20px;
    z-index:9999;
    border:none;
    padding:12px 18px;
    border-radius:999px;
    background:rgba(0,0,0,.55);
    color:#fff;
    backdrop-filter:blur(6px);
    cursor:pointer;
    font-size:14px;
}

.favorite-btn:hover{
    background:rgba(0,0,0,.8);
}

.favorite-area{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:20px;
}

.favorite-item{
    width:120px;
    position:relative;
}

.favorite-item img{
    width:100%;
    border-radius:8px;
    display:block;
}

.favorite-remove{
    position:absolute;
    top:4px;
    right:4px;
    border:none;
    background:rgba(0,0,0,.7);
    color:#fff;
    width:24px;
    height:24px;
    border-radius:50%;
    cursor:pointer;
    font-size:12px;
}

.favorite-title{
    font-size:12px;
    margin-top:4px;
    line-height:1.4;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
}

.item-details {
    margin-top: 4px;
    font-size: 13px;
}

.item-details summary {
    cursor: pointer;
    color: #06c;
    font-size: 12px;
}

.item-desc {
    margin-top: 4px;
    line-height: 1.7;
}

/* maxなのでスマホのみ */
@media (max-width: 768px) {

    .block-left,
    .block-center,
    .block-right {
        flex: 1;
        /* 残りの幅を自動で占有 */
        background-color: #fffafa;
        width: 100%;
    }

    header,
    footer {
        font-size: 11px;
        /* SEO的に問題ない最小文字サイズ */
        line-height: 1.2;
        /* 文字の間隔を詰める */
    }

img {
    width: 100%;
}
    h1 {
        font-size: 1em;
    }

    #nav li {
        margin: 10px 10px;
    }

    .photos .item {
        flex: 0 1 49%;
    }

    .container2 {
        flex-direction: column;
    }

    /* 閉じるトグル */
    .toggle-container {
        cursor: pointer;
        display: inline-block;
        padding: 2px;
        border: 1px solid #000;
        border-radius: 5px;
        user-select: none;
    }

    .toggle-content {
        display: none;
        padding: 10px;
    }

    /* チェックボックスのスタイルを隠す */
    #toggle {
        display: none;
    }

    /* チェックされた場合に表示 */
    input[type="checkbox"]:checked~.toggle-content {
        display: block;
    }

    /* チェックされた場合のラベルの変化 */
    input[type="checkbox"]:checked+.toggle-container::before {
        content: "閉じる▲";
    }

    /* 初期状態のラベル */
    .toggle-container::before {
        content: "絞り込み検索▼";
        margin-right: 5px;
    }

    .menu li {
        margin-bottom: 10px;
        /* 各リンクの下にスペースを追加 */
    }

    .video-container {
        width: 90%;
        margin: 0px 0px 5% 5%;
        height: 250px;
    }

    .pagination a {
        font-size: 12px;
        padding: 3px;
    }
}


/* 右の最新月一覧 */
.genre-month-table-wrap {
  margin: 20px 0;
  font-size: 14px;
}

/* テーブル本体 */
.genre-month-table-wrap .genre-month-table {
  border-collapse: collapse;
  width: 100%;
}

/* ヘッダー */
.genre-month-table-wrap .gmt-head {
  background: #f7f7f7;
  padding: 8px 12px;
}

/* ジャンル列 */
.genre-month-table-wrap .gmt-genre {
  background: #fafafa;
  padding: 8px 12px;
  text-align: left;
  white-space: nowrap;
}

.compare-section {
    margin: 18px 0 24px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}

.compare-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.compare-table th,
.compare-table td {
    padding: 9px;
    border: 1px solid #ddd;
    vertical-align: top;
    line-height: 1.7;
}

.compare-table th {
    background: #f6f6f6;
    text-align: left;
}

.compare-chip {
    display: inline-block;
    margin: 2px 4px 2px 0;
    padding: 3px 7px;
    border: 1px solid #ddd;
    font-size: 12px;
}
@media (max-width: 600px) {
    .compare-section h2 {
        margin: 0 0 8px;
        font-size: 16px;
    }

    .compare-table-wrap {
        overflow-x: visible;
    }

    .compare-table,
    .compare-table thead,
    .compare-table tbody,
    .compare-table tr,
    .compare-table th,
    .compare-table td {
        display: block;
        width: 100%;
    }

    .compare-table thead {
        display: none;
    }

    .compare-table tr {
        margin-bottom: 8px;
        padding: 6px 8px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
    }

    .compare-table td {
        box-sizing: border-box;
        padding: 3px 0;
        border: none;
        font-size: 12px;
        line-height: 1.45;
    }

    .compare-table td::before {
        content: attr(data-label);
        display: inline-block;
        width: 54px;
        margin-right: 4px;
        font-weight: bold;
        color: #666;
        font-size: 11px;
        vertical-align: top;
    }



    .compare-table .compare-chip {
        display: inline-block !important;
        width: auto !important;
        max-width: none !important;
        margin: 1px 3px 2px 0;
        padding: 1px 5px;
        border: 1px solid #ddd;
        border-radius: 999px;
        background: #fafafa;
        font-size: 10px;
        line-height: 1.45;
        color: #333;
        white-space: nowrap;
    }
}

#modal-video{
    position:fixed;
    inset:0;
    z-index:9999;
}

#modal-video .modal-bg{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.7);
}

#modal-video .modal-inner{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:100%;
    max-width:1200px;
}

#modal-video .modal-close{
    position:absolute;
    top:-40px;
    right:0;
    border:0;
    background:none;
    color:#fff;
    font-size:32px;
    cursor:pointer;
}

#modal-video .modal-content{
    width:100%;
    max-width:1200px;
    margin:auto;
}

#modal-video iframe{
    width:100%;
    aspect-ratio:16 / 9;
    border:0;
    display:block;
}

#modal-video .affiliate-button{
    display:block;
    width:100%;
    padding:14px;
    box-sizing:border-box;
    text-align:center;
    background:#e60033;
    color:#fff;
    text-decoration:none;
    font-weight:bold;
}

#modal-video .modal-iframe-wrap{
    width:100%;
    aspect-ratio:16 / 9;
    position:relative;
}

#modal-video .modal-iframe-wrap iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
}