@charset "UTF-8";

/* テーブル */
.users-table-parent .users-table-child tbody th:not(.heading) {
    text-align: left;
}

/* placeholder */
::-webkit-input-placeholder {
    color: #ccc;
}
:-ms-input-placeholder {
    color: #ccc;
}
::placeholder {
    color: #ccc;
}

.message {
    color: red;
}

/*  */
.users-checkbox {
    margin-top: 20px;
    text-align: center;
}
.users-checkbox label {
    vertical-align: middle;
}
.users-checkbox label a {
    color: #ea0018;
    text-decoration: underline;
}
.users-checkbox label a:hover {
    text-decoration: none;
}

/*  */
.users-submit input,
.users-submit a,
.top-link a {
    min-width: 240px;
    font-weight: bold;
}

/* 各プラン共通 */
/* -------------------------------------------------------------------------- */
.plan-list {
    margin: 0;
}
.plan-item {
    margin: 0 0 15px 0;
    box-shadow: 0 0 0 2px rgba(100, 100, 100, 0.2);
    border-radius: 4px;
    overflow: hidden;
    display: grid;
    grid-template-rows: 170px 60px;
    grid-template-columns: 253px 1fr;
}
.plan-header {
    margin: 0;
    padding-top: 70px;
    text-align: center;
    font-size: 22px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}
.plan-header .title {
    line-height: 1;
}
.plan-header p {
    padding-top: 15px;
    box-sizing: border-box;
}
.plan-header .text-sm {
    font-size: 12px;
}
.plan-header .text-normal {
    font-size: 16px;
}
.plan-header .text-bold {
    font-weight: bold;
}
.plan-header .text-underline {
    text-decoration: underline;
}
.plan-price-area {
    height: 170px;
    box-sizing: border-box;
}
.plan-price-list {
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    display: flex;
}
.plan-price-item {
    height: 170px;
    padding: 20px 15px 15px 15px;
    margin: 0;
    flex-basis: calc((100%) / 3);
    box-sizing: border-box;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    line-height: 1.2;
}
.plan-price-item p.text-sm {
    margin-top: 0px;
    font-size: 12px;
    color: #8B8B8B;
    font-weight: lighter;
}
.plan-price-item::before {
    content: "";
    display: inline-block;
    width: 2px;
    height: 50px;
    background-color: rgba(100, 100, 100, 0.2);
    position: absolute;
    top: 60px;
    left: 0;
}
.plan-price-item .strikethrough {
    text-decoration: line-through 2px solid #CF360C;
}
.plan-price-area .price {
    margin: 8px 0 0 0;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0;
}
.plan-price-area .price .text-sm{
    margin-left: 2px;
    font-size: 11px;
    color: #000;
}
.plan-price-area .price .num {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: -1px;
    display: inline-block;
}
.plan-price-area .invisible::before {
    content: "　";
}
.plan-price-item p.discount-rate {
    margin: 0 6px 10px 0;
    text-align: right;
    font-size: 11px;
    color: #8B8B8B;
    font-weight: lighter;
}
.plan-btn-area .btn {
    width: 140px;
    margin: auto;
    padding: 10px 5px;
    display: block;
    border-radius: 4px;
    border: none;
    background-color: #EA0019;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}
.plan-btn-area .btn:hover {
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    opacity: 0.75;
}
.plan-large-btn {
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    background-color: #EA0019;
    color: #fff;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    text-decoration: none;
}
.plan-large-btn:hover {
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    opacity: 0.75;
}
.plan-text-area {
    padding: 10px 15px;
    font-size: 11px;
    background: #F5F5F5;
    grid-row: 2 / 3;
    grid-column: 1 / 5;
}
.plan-text-list {
    margin-top: 2px;
    background: #F5F5F5;
    display: flex;
}
.plan-text-list li {
    width: 185px;
    padding-left: 20px;
    font-weight: bold;
    display: block;
    position: relative;
    font-size: 12px;
}
.plan-item-free .plan-text-list li,
.plan-item-paid-newspaper .plan-text-list li {
    width: auto;
    flex-grow: 1;
}
.plan-text-list li .text-sm,
.plan-btn-area .btn .text-sm {
    margin-left: 2px;
    font-size: 10px;
}
.plan-text-list li::before,
.plan-text-list li::after {
    content: "";
    display: block;
    position: absolute;
}
.plan-text-list li::before {
    width: 16px;
    height: 16px;
    border-radius: 8px;
    background: #ccc;
    left: 0;
    top: 2px;
}
.plan-text-list li::after {
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    width: 6px;
    height: 3px;
    transform: rotate(-45deg);
    left: 4px;
    top: 7px;
}

/* メルマガ会員フォントサイズ */
/* -------------------------------------------------------------------------- */
.plan-item-free .price .num {
    /* 通常のフォントサイズ - .plan-item-freeのフォントサイズ */
    margin-top: calc(36px - 60px);
    font-size: 60px;
}

/* 各プランの色 */
/* -------------------------------------------------------------------------- */

/* メルマガ会員 (赤) */
.plan-item-free .btn,
.plan-item-free .plan-text-list li::before {
    background: #EA0018;
}

/* 有料会員 - スタンダードプラン (オレンジ) */
.payment-item .payment-plan-paid-standard,
.payment-item .payment-plan-paid-standard .plan-btn-area .btn .text-sm {
    background: #EA4E19;
    color: #fff;
}
.plan-item-paid-standard .btn,
.plan-item-paid-standard .plan-text-list li::before {
    background: #EA4E19;
}

/* 有料会員 - プレミアムプラン (オレンジ) */
.payment-item .payment-plan-paid,
.payment-item .payment-plan-paid .plan-btn-area .btn .text-sm {
    background: #CF360C;
    color: #fff;
}
.plan-item-paid .btn,
.plan-item-paid .plan-text-list li::before {
    background: #CF360C;
}

/* 有料会員 - 新聞郵送セット割 (オレンジ) */
.payment-item .payment-plan-paid-newspaper,
.payment-item .payment-plan-paid-newspaper .plan-btn-area .btn .text-sm {
    background: #A92805; /* やや濃いオレンジ */
    color: #fff;
}
.plan-item-paid-newspaper .btn,
.plan-item-paid-newspaper .plan-text-list li::before {
    background: #A92805;
}

/* 競馬会員 (緑) */
.payment-item .payment-plan-horse,
.payment-item .payment-plan-horse .plan-btn-area .btn .text-sm {
    background: #157B00;
    color: #fff;
}
.plan-item-horse .btn,
.plan-item-horse .plan-text-list li::before {
    background: #157B00;
}

/* アクティブ (.active) のプラン */
/* -------------------------------------------------------------------------- */
.plan-item-free.active {
    box-shadow: 0 0 0 3px #EA0018,
                0 0 0 8px rgba(234, 0, 24, 0.2);
}
.plan-item-paid-standard.active {
    box-shadow: 0 0 0 3px #EA4E19;
}
.plan-item-paid.active {
    box-shadow: 0 0 0 3px #CF360C;
}
.plan-item-paid-newspaper.active {
    box-shadow: 0 0 0 3px #A92805;
}
.plan-item-horse.active {
    box-shadow: 0 0 0 3px #157B00;
}

/* 選択中 (.current) のプラン */
/* -------------------------------------------------------------------------- */
.plan-item.current,
.plan-price-item.current {
    color: #777;
}

/* メルマガ会員 (赤) */
.plan-item-free.current .btn,
.plan-item-free.current .plan-text-list li::before {
    background: #EA001880;
}
.plan-item-free.current .btn {
    background: #EA001840;
    color: #EA0018;
}

/* 有料会員 - スタンダードプラン (オレンジ) */
/* .plan-item-paid-standard.current .plan-text-list li::before {
    background: #EA4E1980;
} */
.plan-item-paid-standard .plan-price-item.current .btn {
    background: #EA4E1940;
    color: #EA4E19;
}

/* 有料会員 - プレミアムプラン (オレンジ) */
/* .plan-item-paid.current .plan-text-list li::before {
    background: #CF360C80;
} */
.plan-item-paid .plan-price-item.current .btn {
    background: #CF360C40;
    color: #CF360C;
}

/* 有料会員 - 新聞郵送セット割 (オレンジ) */
.plan-item-paid-newspaper.current .plan-text-list li::before {
    background: #A9280580;
}
.plan-item-paid-newspaper.current .btn {
    background: #A9280540;
    color: #A92805;
}

/* 競馬会員 (緑) */
/* .plan-item-horse.current .plan-text-list li::before {
    background: #157B0080;
} */
.plan-item-horse .plan-price-item.current .btn {
    background: #157B0040;
    color: #157B00;
}

/* 選択中のボタン */
.plan-item .plan-btn-area .btn-disabled,
.plan-item .plan-btn-area .btn-disabled:hover {
    opacity: 1;
    pointer-events: none; /* 押下できなくする */
    cursor: default;
}

/* 非アクティブ = 下位のプラン (.inactive) */
/* -------------------------------------------------------------------------- */
.plan-item.inactive,
.plan-price-item.inactive {
    color: #777;
}
.plan-item.inactive .plan-btn-area .btn,
.plan-price-item.inactive .plan-btn-area .btn,
.plan-item.inactive .plan-text-list li::before {
    background: #aaa;
}
.plan-item.inactive .price .num {
    color: #aaa;
}

/* おすすめ */
/* -------------------------------------------------------------------------- */
.recommended-plan-hader {
    margin: 0;
    padding-top: 18px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}
.recommended-plan-hader p {
    box-sizing: border-box;
    padding: 5px 10px;
    display: block;
    border-radius: 4px;
    border: none;
    background-color: #EA0019;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
}
.plan-item-paid .recommended-plan-hader p {
    background-color: #CF360C;
}

/* バナー */
/* -------------------------------------------------------------------------- */
.bnr-add-user {
    margin-bottom: 20px;
    display: block;
}
.bnr-add-user:hover {
    opacity: 0.5;
}
.bnr-add-user img {
    display: block;
}

/* -------------------------------------------------------------------------- */
/* 支払い方法 */
.payment-area {
    margin: 20px 0;
}
.payment-list {
    height: 180px;
    margin: 10px 0 0 0;
    display: flex;
    gap: 15px;
}
.payment-item {
    margin: 0;
    padding: 15px;
    flex-grow: 0;
    flex-shrink: 0;
    /* (横幅 - .payment-item間の余白) / 5 (横幅を3:2の割合にするため) */
    flex-basis: calc((100% - 15px) / 5);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    background: #F5F5F5;
    position: relative;
    font-size: 12px;
    line-height: 1.4;
}
.payment-item .payment-plan-list {
    display: flex;
    gap: 10px;
}
.payment-item .payment-plan-item {
    width: 150px;
    height: 30px;
    margin-bottom: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.payment-item-full {
    flex-grow: 1;
    flex-basis: calc((100% - 15px));
}
.payment-item-3-5 {
    margin-left: auto;
    /* (横幅 - .payment-item-paid間の余白) * 横幅5分割のうち3 */
    flex-basis: calc((100% - 15px) * 3 / 5);
}
.payment-item-2-5 {
    margin-left: auto;
    /* (横幅 - .payment-item-paid間の余白) * 横幅5分割のうち2 */
    flex-basis: calc((100% - 15px) * 2 / 5);
}
.payment-item .text-sm {
    font-size: 10px;
}
.payment-item ul {
    padding-left: 15px;
    list-style-type: disc;
}
.payment-item li {
    display: list-item;
    list-style: disc;
}

/* 支払い背景 */
.payment-item-paid {
    background: #FCDACF;
    box-shadow: 0 0 0 2px rgba(100, 100, 100, 0.2);
}

.payment-item-horse {
    background: #D5EFD0;
    box-shadow: 0 0 0 2px rgba(100, 100, 100, 0.2);
}

/* 上書き */
.annotation-list {
    margin: 25px 0;
}

/* 記事 */
.article-detail-box .photo-box {
    position: relative;
    z-index: 100;
}
.fadeout-area {
    margin-top: -27px;
    height: 80px;
    background: #fff;
    position: relative;
    z-index: 50;
}
.fadeout-area::before {
    content: "";
    margin-top: -120px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    display: block;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,0.8+60,0.8+60,1+100 */
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 60%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.invitation-area {
    margin-bottom: 20px;
}
.invitation-announce-text {
    text-align: center;
    font-weight: bold;
    color: #EA4E19;
}
.invitation-announce-body-length {
    text-align: right;
    font-weight: bold;
    color: #242424;
    width: 66%;
    margin: 0 auto;
}
.invitation-announce-login-link {
    text-align: center;
    font-weight: bold;
    margin: 6px auto 0 auto;
    text-decoration: underline;
    color: #242424;
}
.invitation-announce-login-link a,
.invitation-announce-login-link a:link,
.invitation-announce-login-link a:visited {
    text-decoration: underline;
    color: #242424;
}
.invitation-announce-login-link-text {
    text-align: center;
    font-weight: bold;
    margin: 0 auto 6px auto;
    color: #242424;
}
.invitation-announce-text-large {
    text-align: center;
    color: #EA4E19;
    font-weight: bold;
    font-size: 20px;
    margin: 6px auto;
}
.invitation-announce-plan-list {
    display: grid;
    gap: 3px 10px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 28px 30px 30px auto 50px;
    box-sizing: border-box;
    margin: 20px 0px;
    color: #242424;
    font-size: 13px;
}
.invitation-announce-plan-item {
    border: 4px solid #EA4E19;
    display: grid;
    grid-row: 1 / 6;
    grid-column: span 1;
    grid-template-rows: subgrid;
}
.invitation-announce-plan-recommend {
    grid-row: 1 / 2;
    grid-column: 1;
    margin: 2px auto 0;
    padding: 0px 8px;
    border-radius: 4px;
    align-self: end;
    font-weight: bold;
    color: #fff;
    background-color: #EA4E19;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.invitation-announce-plan-title {
    grid-row: 2 / 3;
    grid-column: 1;
    align-self: center;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
}
.invitation-announce-plan-price {
    grid-row: 3 / 4;
    grid-column: 1;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}
.invitation-announce-plan-price-unit {
    font-size: 13px;
    font-weight: normal;
    padding-left: 0.5em;
}
.invitation-announce-plan-description {
    grid-row: 4 / 5;
    grid-column: 1;
    padding: 0 4px;
    text-align: justify;
    overflow-wrap: break-word;
}
.invitation-announce-plan-button-area {
    grid-row: 5 / 6;
    grid-column: 1;
    display: grid;
    place-content: center;
}
.invitation-announce-plan-button {
    width: 140px;
    margin: auto;
    padding: 10px 5px;
    display: block;
    border-radius: 4px;
    border: none;
    background-color: #EA4E19;
    color: #fff;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}
.invitation-announce-plan-button:hover {
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    opacity: 0.75;
}
.inactive {
    pointer-events: none;
    opacity: 0.5;
}
.icon-paywall {
    vertical-align: text-bottom;
}
