@charset "utf-8";

body {
        background: black;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    a {
        color: white;
        font-family: 'Josefin Sans', 'Noto Sans JP', sans-serif;
    }

    p {
        color: white;
        font-size: 0.9rem;
        /* 文字の大きさを変更 */
        font-family: 'Noto Sans JP', sans-serif;
        line-height: 1.5rem;
    }

    .multi-line-button {
        height: auto;
        white-space: normal;
        background: #111;
        font-family: 'Noto Sans', sans-serif;
    }

    .selected-option {
        font-size: 14px;
        /* 文字の大きさを変更 */
        color: orange;
        /* 文字の色を変更 */
    }

    .prompt-container {
        display: flex;
        /* Flexboxを有効にする */
        align-items: center;
        /* 子要素を中央揃えにする */
    }

    .card {
        border-color: #561620;
        font-family: 'Noto Sans JP', sans-serif;
    }

    .card-header, .card-footer {
        background: #555;
    }

    .card-body {
        background: #333;
    }

    #promptDisplay {
        flex-grow: 1;
        /* 可能な限りの空きスペースを割り当てる */
        margin-right: 10px;
        /* 「コピー」ボタンとの間隔を設定 */
    }

    #negativePromptDisplay {
        flex-grow: 1;
        /* 可能な限りの空きスペースを割り当てる */
        margin-right: 10px;
        /* 「コピー」ボタンとの間隔を設定 */
        font-size: 12px;
        /* 文字の大きさを変更 */
    }


    .reset-container {
        text-align: right;
        /* リセットボタンを右端に配置 */
    }

    #copyBtn {
        min-width: 72px;
        /* 例: 最小幅を80pxに設定 */
        white-space: nowrap;
        /* 改行を防ぐ */
        /* color: white; */
        font-family: 'Josefin Sans', sans-serif;

    }

    #resetBtn {
        font-family: 'Josefin Sans', sans-serif;
    }

    #copyNegativeBtn {
        min-width: 72px;
        /* 例: 最小幅を72pxに設定 */
        white-space: nowrap;
        /* 改行を防ぐ */
        font-family: 'Josefin Sans', sans-serif;
    }

    .cap {
        color: #ddd;
        font-size: 13px;
        /* 文字の大きさを変更 */
        font-family: 'Josefin Sans', sans-serif;
    }

    /* Age Confirmation Modal Styles */
    .modal-content h, .modal-content p {
        color: black;
    }

    .carousel-control-prev,
.carousel-control-next {
    width: 6%; /* 矢印の幅 */
    height: 100%; /* 矢印をカルーセルの高さいっぱいにする */
}

.carousel-control-prev-icon {
    background-image: url('img/矢印左.png'); /* 独自の矢印画像へのパス */
}

.carousel-control-next-icon {
    background-image: url('img/矢印右.png'); /* 独自の矢印画像へのパス */
}

.carousel-control-prev {
    left: calc(-4% - 15px); /* 矢印をカルーセルの左端からさらに外側に配置 */
}

.carousel-control-next {
    right: calc(-4% - 15px); /* 矢印をカルーセルの右端からさらに外側に配置 */
}

.spacing {
    margin-bottom: 15px;
}

.affiliate-links-container {
display: flex;
flex-direction: column;
align-items: center;
}

.affiliate-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.affiliate-link {
margin: 10px;
}

/* button {
margin-top: 10px;
} */

iframe {
      display: block;
      margin: 0 auto;
      padding: 0;
    }
    .carousel-item .row {
      margin-left: 0;
      margin-right: 0;
    }

        .affiliate-links {
      display: flex;
      flex-wrap: nowrap;
      overflow-x: auto;
    }

    /* Sidebar adjustments */
aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
}

aside img {
    margin-bottom: 15px;
}


.carousel-inner img {
    width: 100%;
}

/* デスクトップ表示時のスタイル */
@media (min-width: 576px) {
    .carousel-control-prev,
    .carousel-control-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 5%;
    }
}

/* スマホ表示時のスタイル */
@media (max-width: 576px) {
    .carousel-control-prev,
    .carousel-control-next {
        position: absolute;
        top: 50%;
        /* transform: translateY(-50%); */
        width: 10%;
        margin-bottom: 1rem;
    }

    .carousel-control-prev {
        left: 0;
    }

    .carousel-control-next {
        right: 0;
    }

    .carousel-indicators {
        position: absolute;
        bottom: -30px;
        width: 100%;
        text-align: center;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }

    .carousel-control-prev {
        margin-bottom: 10px;
    }

    .carousel-control-next {
        margin-bottom: 20px;
    }

    .btn-primary {
        width: 100%;
        margin-top: 10px;
    }

    .row.mt-2 .col {
        text-align: center; /* ボタンを中央揃え */
    }
}

/* デフォルトでは横並び、パソコン表示時に両端配置 */
@media (min-width: 576px) {
    .row.mb-4 {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .row.mb-4 .col-md-6 {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

     .row.mb-4 .col-md-6 p {
        align-self: flex-end; /* 下揃え */
    }
}

/* スマホ表示時に縦並びにする */
@media (max-width: 575.98px) {
    .row.mb-4 {
        display: block;
    }

    .row.mb-4 .col-md-6 {
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }

    .row.mb-4 .col-md-6 p {
        margin: 0;
        padding: 5px 0;
    }
}

/* スマホ表示時にサイドバーを隠す */
@media (max-width: 575.98px) {
    aside {
        display: none;
    }
}

  .responsive-widget {
    width: 100%;
    max-width: 250px;
    /* Adjust the maximum width as needed */
    margin: 0 auto;
  }

  @media (max-width: 576px) {
    .responsive-widget {
      max-width: 100%;
    }
  }

    .r18-link {
    color: white !important;
    font-size: 1.2em;
    /* Adjust the size as needed */
    font-weight: bold;
  }

/* noteへのリンクコンテナ */
.prompt-link {
display: block; /* inline-blockからblockに変更 */
text-align: center;
width: 100%;
}

/* プロンプトバナー画像のスタイル */
.prompt-banner {
max-width: 640px; /* width指定をmax-widthに変更 */
width: 100%; /* 追加：常に親要素に合わせる */
height: auto;
display: block;
margin: 0 auto;
}

/* ホバーエフェクト */
.prompt-banner:hover {
opacity: 0.9;
}

/* メディアクエリは不要になったので削除 */