/*
 * Custom CSS overrides and additions
 * This file contains only differences from style.css
 * Duplicates have been removed automatically
 */

@media screen and (max-width: 960px) {
    main {
        padding: 55px 0 0 0;
    }

    .sp {
        display: block;
    }

    .pc {
        display: none;
    }
}

/* header */

@media screen and (max-width: 960px) {
    .nav01 {
        height: 55px;
    }

    .header-left {
        width: 100%;
        height: 55px;
        justify-content: space-between;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .header-logo {
        width: 130px;
        position: relative;
        z-index: 1001;
        transition: opacity 0.2s ease-in-out;
     }   

/* ハンバーガーモーダル */
    .header-text1 {
        font-size: 14px;
        color: #3C617E; /* モーダルのリンク色 */
    }
    .header-btn1 {
        height: 30px;
    }

    .header-btn1.sp {
        display: flex;
    }

    .header-btn1._modal {
        border-radius: 5px;
    }

    .header-btn2 {
        display: flex;
        align-items: center;
        background: #F4F6F7 0% 0% no-repeat padding-box;
        width: fit-content;
        height: 30px;
        text-decoration: none;
        font-size: 15px;
        font-weight: 700;
        color: #3C617E;
        padding: 0 20px;
    }


    .header-modal {
        position: fixed;
        top: 55px;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff; /* モーダルの背景色 */
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        text-align: center;
        padding: 20px 0;
    }

    .header-modal.is-active {
        right: 0;
        display: flex;
    }

    .header-ul {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .header-ul2 {
        display: flex;
        align-items: center;
        padding: 20px;
        box-sizing: border-box;
        gap: 1rem;
    }

    .header-li {
        width: 100%;
        border-bottom: 1px solid #F4F6F7; /* モーダルのリンクの下線の色 */
        padding: 20px;
        box-sizing: border-box;
        margin: 0;
    }


/* ハンバーガーボタン */
    .ham-btn {
        width: 30px;
        height: 30px;
        border: none;
        background: #F4F6F7 0% 0% no-repeat padding-box; /* ハンバーガーボタンの背景色 */
        border-radius: 5px;
        position: relative;
        cursor: pointer;
        z-index: 1001;
        margin: 10px 10px 0 0;
    }

    .ham-btn span {
      position: absolute;
      background: #3C617E; /* ハンバーガーボタンの3本線の色 */
      border-radius: 2px;
      transition: all 0.3s ease;
      left: 50%;
      transform: translateX(-50%);
      width: 15px;
      height: 2px;
    }

    /* 通常位置 */
    .ham-btn span:nth-of-type(1) {
      top: 9px;
    }
    .ham-btn span:nth-of-type(2) {
      top: 15px;
    }
    .ham-btn span:nth-of-type(3) {
      top: 21px;
    }

    /* アクティブ */
    .ham-btn.is-active span:nth-of-type(1) {
      top: 15px;
      transform: translateX(-50%) rotate(45deg);
    }

    .ham-btn.is-active span:nth-of-type(2) {
      opacity: 0;
      transform: translateX(-50%) scaleX(0);
    }

    .ham-btn.is-active span:nth-of-type(3) {
      top: 15px;
      transform: translateX(-50%) rotate(-45deg);
    }

    body.no-scroll {
        overflow: hidden;
    }

}

/* フロントページ */

/* トップ fv */

.fv-wrapper {
    padding: 35px 10px 50px 10px;
}

/* トップ fv slick */
/* NOTE: スライダー画像のサイズはslick.cssとcenterModeの自動調整に任せる */
/* NOTE: .fv-slider-img のスタイルは style.css で定義 */

/* React Slickが生成するラッパーdivの対応 */
.fv-slider .slick-slide > div {
    display: block;
}

.fv-slider .slick-slide a {
    display: block;
}

@media screen and (max-width: 960px) {
    .fv {
        background-image: url('../img/fv-bg-sp.webp');
    }
}

/* トップ bnr */

/* トップ lineup */

.lineup-area .user-history-block {
    grid-column: 1 / -1;
}

.lineup-block {
    border-radius: 10px;
    overflow: hidden;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 10px #00000029;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.lineup-img-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    aspect-ratio: 334/203;
}

.lineup-content {
    padding: 10px 20px;
    box-sizing: border-box;
}

.lineup-text1 {
    font-size: 16px;
    font-weight: 700;
    color: #3C617E;
    margin: 0 0 3px 0;
}

.lineup-time-flex {
    display: flex;
    justify-content: space-between;
    margin: 0 0 10px 0;
}

.lineup-text3._end {
    display: none;
}

.lineup-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 10px 0;
}

.lineup-text5 {
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #3C617E;
    margin: 0;
    padding: 10px 0 0 0;
    border-top: 1px solid #F2F2F2;
}

@media screen and (max-width: 960px) {
    .lineup {
        background-image: url('../img/lineup-bg-sp.webp');
    }
}

/* トップ about */

/* トップ event */

/* トップ news */

/* トップ faq */

@media screen and (max-width: 960px) {
    .faq-accordion-head-img1,
    .faq-accordion-body-img1 {
        width: min(9.333vw, 35px);
        height: min(9.333vw, 35px);
        margin: 0 min(2.133vw, 8px) 0 0;
    }

    .faq-accordion-body-content{
        padding: min(4vw, 15px) min(5.333vw, 20px);
    }

    .faq-accordion-head-text1 {
        width: 80%;
    }
}

/* serviceページ */

/*  一覧 共通 fv */

@media screen and (max-width: 960px) {
    .fv2 {
        background-image: url('../img/lowerpage-fv-sp.webp');
    }

    .fv2-h1-en {
        font-size: min(11.733vw, 44px);
    }

    .cfv2-h1 {
        font-size: 16px;
    }

}

/* 一覧 共通 ページネーション */

.pagenum li a,
.pagenum li button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    text-align: center;
    font-size: 16px;
    border-radius: 50%;
    color: #707070;
    text-decoration: none;
    width: 47px;
    height: 47px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagenum li a:hover,
.pagenum li a.current,
.pagenum li a.active,
.pagenum li button:hover,
.pagenum li button.current,
.pagenum li button.active {
    background: #1E303F 0% 0% no-repeat padding-box;
    color: #fff;
}

.pagenum li a.current,
.pagenum li a.active,
.pagenum li button.current,
.pagenum li button.active {
    cursor: default;
}

.pagenum li a.pre-btn,
.pagenum li a.next-btn,
.pagenum li button.pre-btn,
.pagenum li button.next-btn {
    font-size: 14px;
}

.pagenum li button:disabled {
    cursor: not-allowed;
}

@media screen and (max-width: 960px) {
    .pagenum {
        gap: 0.5rem;
    }
    .pagenum li a,
    .pagenum li button {
        width: min(10.256vw, 40px);
        height: min(10.256vw, 40px);
    }
}

/* 投稿日専用 */

/* 専用 くじ詳細 */

.heading._single-lineup {
    max-width: 1600px;
    padding: 50px min(10% ,160px) 40px min(10% ,160px);
    box-sizing: border-box;
}

@media screen and (max-width: 960px) {
    .heading._single-lineup {
        max-width: 480px;
        padding: 20px min(5.333% ,20px);
        box-sizing: border-box;
    }
}

/* 専用 くじ詳細 fv */

/* 専用 くじ詳細 fv slider */
/* 専用 くじ詳細 fv main */
/* NOTE: .single-lineup-content-down and .single-lineup-content-btn defined in style.css */

@media screen and (max-width: 960px) {
    .single-lineup-content-h1 {
        font-size: 22px;
    }
    .single-lineup-content-table-block tr {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .single-lineup-content-price-img {
        max-width: 32px;
    }

    .single-lineup-content-price-text1 {
        font-size: 18px;
    }

    .single-lineup-content-price-text1 ._large {
        font-size: 26px;
    }
}

/* 専用 くじ詳細 〇賞 */

/* A賞～D賞 */

.single-lineup-prize-h2 {
    font-weight: bold;
}


@media screen and (max-width: 960px) {
    .single-lineup-prize-area {
        margin: 0 0 60px 0;
    }

    .single-lineup-prize-h2 {
        font-size: 80px;
    }

    .single-lineup-prize-h2 ._small {
        font-size: 50px;
    }

    .single-lineup-prize-text1 {
        font-size: 16px;
        margin: 0 0 30px 0;
    }

}

/* 専用 くじ詳細 〇賞 画像モーダル */

.single-lineup-prize-modal {
  position: relative;
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.single-lineup-prize-modal-content {
  max-width: 90%;
  max-height: 90%;
}

#single-lineup-prize-modal-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

@media screen and (max-width: 960px) {
    .single-lineup-prize-prev-btn,
    .single-lineup-prize-next-btn {
        width: 40px;
        height: 40px;
    }
}

/* 専用 くじ詳細 詳細情報 */

/* 専用 くじ詳細 cta */
/* NOTE: .single-lineup-cta-btn-wrapper and .single-lineup-cta-btn defined in style.css */

@media screen and (max-width: 960px) {
    .single-lineup-cta {
        width: 100%;
        bottom: 0;
        left: 0;
        right: auto;
    }

    .single-lineup-cta-content {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        box-shadow: 0px -3px 5px #00000029;
        border-radius: 0;
        border: none;
    }

    .single-lineup-cta-btn-wrapper {
        width: 60%;
        text-align: center;
        gap: 8px;
    }
    .single-lineup-cta-block {
        width: 40%;
        text-align: center;
    }

    .single-lineup-cta-btn {
        flex: 1;
        font-size: 12px;
        padding: 8px 6px;
    }
    .single-lineup-cta-price-img {
        max-width: 30px;
        margin: 0 10px 0 0;
    }

    .arrow-fixed {
        position: fixed;
        height: auto;
        right: 10px;
        bottom: 10px;
        z-index: 13;
    }

    .arrow-fixed._single-lineup {
        bottom: 60px;
    }

    .single-lineup-cta-text2 {
        margin: 0;
    }

    /* くじ詳細spのみarrowの位置 */
    .arrow-fixed._single-lineup {
        bottom: 100px;
    }
}

/* userページ */

/* ログイン 新規会員登録 共通 */

.user-email-text {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    color: #3C617E;
    margin: 0 0 30px 0;
}

/* 新規会員アカウント入力 */

/* 新規会員詳細入力 */

.user-registration-detail-block {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border-radius: 10px;
    padding: 30px min(4.392vw ,60px);
    box-sizing: border-box;
    margin: 0 0 30px;
}

/* 新規会員入力確認 */

/* マイページ */

/* マイページ　会員情報 */

/* マイページ　くじ購入履歴 一覧 */

/* マイページ　抽選景品ポイント交換登録 */

.user-history-block._exchange {
    background: rgba(0,0,0,0.05);
    margin: 0 0 50px 0;
}

/* マイページ　発送景品選択 */

/* マイページ　くじ購入履歴 注文履歴詳細 */

/* マイページ くじ購入履歴 くじ購入履歴詳細*/

/* A賞～D賞 */

/* マイページ　発送景品確認 */

/* マイページ ポイント履歴 */

/* マイページ 抽選商品一覧 */

/* 決済　くじ購入結果（ログイン必須） */

/* アニメーション */

/* 結果画像の表示 */

/* 決済　くじ購入選択（ログイン必須） */

.user-purchase-select-h3 {
    font-size: 20px;
    font-weight: 700;
    padding: 0 0 5px 0;
    color: #3C617E;
    border-bottom: 2px solid #3C617E;
    margin: 0 0 30px 0;
}

.purchase-select-radio-label {
    font-size: 18px;
    color: #3C617E;
    line-height: 38px;
}

.premium-set-img-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    aspect-ratio: 7/4;
    border-radius: 10px;
    margin: 0 0 5px 0;
}

#purchase-select-input {
    width: 80px;
    padding: 4px 10px;
    box-sizing: border-box;
    background: #F4F6F7 0% 0% no-repeat padding-box;
    border: 2px solid #E4E9ED;
    border-radius: 10px;
    margin: 0 8px 0 0;
}

.premium-set-rank-section {
    margin: 0 0 30px 0;
}

.premium-set-rank-section:last-child {
    margin: 0;
}

.premium-set-rank-title {
    font-size: 18px;
    font-weight: 700;
    color: #3C617E;
    margin: 0 0 15px 0;
    padding: 10px 15px;
    background: #F4F6F7;
    border-left: 4px solid #3C617E;
}

.premium-set-area {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0;
}

.premium-set-prize {
    margin: 0;
}

.remaining-prize-block .premium-set-img-wrapper {
    aspect-ratio: 1/1;
}

.premium-set-radio span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0px;
    color: #3C617E;
    margin: 0 0 0 5px;
}

.purchase-select-address-table {
    border: 2px solid #E4E9ED;
    border-radius: 10px;
    width: 100%;
    padding: min(0.732vw ,10px) min(2.196vw, 30px);
    box-sizing: border-box;
}

/* A賞～D賞 */

.remaining-prize-h4._a {
    background: rgba(229,176,56,1);
}

.remaining-prize-text1._a {
    background: rgba(229,176,56,0.1);
}

.remaining-prize-h4._b {
    background: rgba(119,131,154,1);
}

.remaining-prize-text1._b {
    background: rgba(229,176,56,0.1);
}

.remaining-prize-h4._c {
    background: rgba(128,99,78,1);
}

.remaining-prize-text1._c {
    background: rgba(128,99,78,0.1);
}

.remaining-prize-h4._d {
    background: rgba(60,97,126,1);
}

.remaining-prize-text1._d {
    background: rgba(60,97,126,0.1);
}

/*
 * 以下はstyle.cssで定義済みのため削除
 * - .user-purchase-select-confirm-h3: style.cssで font-size: 20px, margin: 0 0 20px 0 として定義
 * - .user-purchase-select-confirm table: border-bottomは不要（デザイン変更）
 * - .user-purchase-select-confirm table tr td._total: style.cssと重複
 */

@media screen and (max-width: 1200px) {
    .user-purchase-select-area {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .premium-set-area {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .premium-set-area {
        grid-template-columns: 1fr;
    }
}

/* 決済　くじ購入内容の確認（ログイン必須） */

/* マイページ 投げ銭 入力・確認 */

/*
 * 以下はstyle.cssで定義済みのため削除
 * - .form-common-btn._throwing-coins-input: style.cssで width: 40px, box-sizing: content-box として定義
 * - #points-input: style.cssで width: 120px として定義
 * - .throwing-coins-point-possession: style.cssと重複
 * - .throwing-coins-point-applicable: style.cssで font-size: 14px として定義
 */

.user-login-throwing-coins-confirm table tr td._use {
    font-size: 19px;
    font-weight: 700;
    color: #FD6981;
    padding-bottom: 20px;

}

/* マイページ　退会 */

/* お問合せ */

/* ポイント履歴 */

.user-point-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 0 40px 0;
}

.user-point-summary-item {
    background: #F4F6F7;
    border: 1px solid #3C617E;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.user-point-summary-label {
    font-size: 14px;
    color: #3C617E;
    margin: 0 0 10px 0;
    font-weight: 400;
}

.user-point-summary-value {
    font-size: 28px;
    color: #3C617E;
    font-weight: 700;
    margin: 0;
}

.user-point-summary-value._earned {
    color: #4CAF50;
}

.user-point-summary-value._used {
    color: #FD6981;
}

.user-point-summary-unit {
    font-size: 18px;
    font-weight: 400;
    margin-left: 5px;
}

.user-point-history-area {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.user-point-history-table {
    width: 100%;
    border-collapse: collapse;
}

.user-point-history-table thead {
    background: #3C617E;
    color: #fff;
}

.user-point-history-table thead th {
    padding: 15px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
}

.user-point-history-table tbody tr {
    border-bottom: 1px solid #E4E9ED;
}

.user-point-history-table tbody tr:last-child {
    border-bottom: none;
}

.user-point-history-table tbody td {
    padding: 15px;
    font-size: 14px;
    color: #3C617E;
}

.user-point-history-table tbody td._positive {
    color: #4CAF50;
    font-weight: 700;
}

.user-point-history-table tbody td._negative {
    color: #FD6981;
    font-weight: 700;
}

@media screen and (max-width: 1200px) {
    .user-point-summary {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .user-point-history-table {
        font-size: 12px;
    }

    .user-point-history-table thead th,
    .user-point-history-table tbody td {
        padding: 10px 5px;
    }
}

@media screen and (max-width: 767px) {
    .user-point-summary-value {
        font-size: 24px;
    }

    .user-point-history-table {
        display: block;
        overflow-x: auto;
    }

    .user-point-history-table thead {
        display: none;
    }

    .user-point-history-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #E4E9ED;
        border-radius: 8px;
        padding: 10px;
    }

    .user-point-history-table tbody td {
        display: block;
        text-align: left;
        padding: 5px 0;
    }

    .user-point-history-table tbody td::before {
        content: attr(data-label);
        font-weight: 700;
        margin-right: 10px;
    }
}

/* くじ詳細 商品のお届けについて */
/* NOTE: .delivery-info, .delivery-section, .delivery-section-title, .delivery-section-text defined in style.css */

/* くじ詳細 SNS共有 */
/* NOTE: .sns-share, .sns-share-text, .sns-share-buttons, .sns-share-btn and modifiers defined in style.css */
