/* 広告用のスタイル  */
@media screen and (min-width: 1161px) {
    .pc-hidden {
        display: none;
    }
}

@media screen and (max-width: 1160px) {
    .sp-hidden {
        display: none;
    }
}

/* プリント用のスタイル  */
.print-only {
    display: none;
}

@media print {
    .print-only {
        display: block;
    }
}


/* 記事リスト関連  */

body.home section.hero .hero-carousel .hero-carousel-slide .detail .category > a,
.section .article-cards .card .detail .category > a {
    color: inherit;
}

.no-image-container {
    overflow: hidden;
}


/* UOMO LIST */

body.uomolist .uomolist-head p {
    font-size: 1.6rem;
    line-height: 2;
}

@media screen and (max-width: 1160px) {
    body.uomolist .uomolist-head p {
        font-size: 1.4rem;
        line-height: 1.7142857143;
    }
}

body.uomolist .uomolist-head .uomolist-head__top {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

body.uomolist .uomolist-head .date {
    margin-bottom: 0;
}


/* UOMO LIST Article */

body.uomolist-article .uomolist-article-hero .title__top {
    display: flex;
    align-items: center;
    margin-bottom: 2.6rem;
}

body.uomolist-article .uomolist-article-hero .title__date {
    margin-bottom: 0;
}

body.uomolist-article .uomolist-article-hero .title__modified-date {
  margin-bottom: 0;
  margin-left: 1rem;
}

body.uomolist .uomolist-head .pr,
body.uomolist-article .uomolist-article-hero .pr {
    font-family: "Roboto", sans-serif;
    width: 2.5rem;
    height: 1.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: #4b8cb7;
    margin-right: 1rem;
}

body.uomolist-channel .section.uomolist-channel .uomolist-channel-wrapper .list .card .image,
body.uomolist .uomolist-pickup .card .image,
body.uomolist .uomolist-list .card .image,
body.uomolist-article .section.uomolist-listed .uomolist-list .card .image {
    position: relative;
}

body.uomolist-channel .section.uomolist-channel .uomolist-channel-wrapper .list .card .image .pr,
body.uomolist .uomolist-pickup .card .image .pr,
body.uomolist .uomolist-list .column .item .image .pr,
body.uomolist .uomolist-list .card .image .pr,
body.uomolist-article .section.uomolist-column .column .item .image .pr,
body.uomolist-article .section.uomolist-listed .uomolist-list .card .image .pr,
.section .article-cards .card .video span.pr {
    position: absolute;
    z-index: 1;
    right: 0.6rem;
    top: 0.6rem;
    width: 2.4rem;
    height: 1.4rem;
    background-color: #fff;
    color: #1870ab;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}


/* Cookie */

.cookie-confirm {
    position: relative;
    z-index: 21000;
    top: 0;
    left: 0;
    width: 100%;
    height: 8rem;
    padding-top: 2rem;
    background: rgba(0, 0, 0, 0.8);
}

.cookie-confirm > div.flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
    margin: 0px auto 15px auto;
    max-width: 760px;
}

.cookie-confirm > div > p {
    flex-basis: 82.5136%;
    word-break: break-all;
    line-height: 1.76;
    letter-spacing: 0.05em;
    font-size: 12.5px;
    font-weight: normal;
    color: #ffff;
}

.cookie-confirm > div > .close {
    flex-basis: 1.2432%;
    display: inline-block;
    margin-right: 12px;
    border: none;
    line-height: 1;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
}

.cookie-confirm > div > .detail-link {
  flex-basis: 16.2432%;
  display: inline-block;
  background: #1870ab;
  padding: 7px 0 7px 0;
  margin-left: 12px;
  text-align: center;
  border: none;
  line-height: 1;
  cursor: pointer;
}

.cookie-confirm > div > .detail-link a {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

@media screen and (max-width: 1160px) {
  .cookie-confirm {
    height: unset;
    padding-top: 0;
  }
  .cookie-confirm > .close {
    color: #fff;
    font-size: 20px;
    text-align: center;
    padding-bottom: 12px;
  }
  .cookie-confirm > div.flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
    padding: 10px 10px 0px 10px;
    margin:0px auto 0px auto;
    max-width: 760px;
  }
  .cookie-confirm > div > p {
    flex-basis: 75%;
    font-size: 12px;
    padding: 0px 4px 0px 4px;
  }
  .cookie-confirm > div > .detail-link {
    flex-basis: 25%;
    margin-left: 10px;
    padding: 7px 0 7px 0;
  }
  .cookie-confirm > div > .detail-link a {
    font-size: 11px;
  }
}

/* テーマトップ */

@media screen and (max-width: 1160px) {
    body.theme .default {
        padding-bottom: 5.75rem;
    }
}

.theme-header .pr {
    font-family: "Roboto", sans-serif;
    width: 2.5rem;
    height: 1.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: #4b8cb7;
    margin-right: 1rem;
}


/* 記事 */

.article-header .hashtag a::before {
    content: "#";
}

.article-main .module-link-blank a .title {
    color: inherit;
}

.article-main .module-embed.--code iframe {
    width: auto;
    max-width: 100%;
}

.article-main .module-information .heading + .text {
    margin-top: 2.1rem;
}

@media screen and (max-width: 1160px) {
    .article-main .module-information .heading + .text {
        margin-top: 1.8rem;
    }
}


/* メンバー限定記事のオーバーレイ  */

.article-main .is-member-content {
    overflow: hidden;
    position: relative;
    height: calc(720px * 1.2);
}

@media screen and (max-width: 1160px) {
    .article-main .is-member-content {
        height: 150vw;
    }
}

.article-main .is-member-content .error-login-required {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(243, 242, 237, 0.4), rgba(243, 242, 237, 0.7) 50%, rgba(243, 242, 237, 1) 90%);
}

.article-main .is-member-content .error-login-required > div {
    padding: 25px 25px 20px 25px;
    width: 82%;
    background: #fff;
    box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.1);
}

.article-main .is-member-content .error-login-required > div h2 {
    text-align: center;
    line-height: 1.4;
    font-size: 17px;
    font-weight: bold;
    margin-top: 16px;
}

.article-main .is-member-content .error-login-required > div p {
    text-align: center;
    line-height: 1;
    font-size: 16px;
    font-weight: bold;
    margin: 16px 0;
}

.article-main .is-member-content .error-login-required > div p a {
    display: inline-block;
    padding: 15px;
    width: 70%;
    background: #1260d6;
    text-decoration: none;
    color: #fff;
}

.article-main .is-member-content + .article-footer .module-pagination {
    margin-top: 0;
}

.article-main .is-member-content + .article-footer .article-data,
.article-main .is-member-content + .article-footer .article-gallery {
    display: none;
}


/* リッチテンプレート */

body.rich_template p + .subtitle {
    margin-top: 3rem;
}

body.rich_template .subtitle.large {
    font-size: 2.6rem;
    line-height: 1.4615384615;
}

@media screen and (max-width: 1160px) {
    body.rich_template .subtitle.large {
        font-size: 1.9rem;
        line-height: 1.4210526316;
    }
}

body.rich_template .subtitle.medium {
    font-size: 2.4rem;
    line-height: 1.5;
}

@media screen and (max-width: 1160px) {
    body.rich_template .subtitle.medium {
        font-size: 1.8rem;
    }
}

body.rich_template .subtitle.small {
    font-size: 2rem;
}

@media screen and (max-width: 1160px) {
    body.rich_template .subtitle.small {
        font-size: 1.7rem;
    }
}

body.rich_template .subtitle.x-small {
    font-size: 1.6rem;
    font-weight: bold;
}

body.rich_template [data-aspect-ratio="1:1"] .block-video__inner {
    padding-top: 100%;
}

body.rich_template .related .related-list__item .image {
    position: relative;
}

body.rich_template .related .related-list__item .image span.pr {
    position: absolute;
    z-index: 1;
    right: 0.6rem;
    top: 0.6rem;
    width: 2.4rem;
    height: 1.4rem;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}


/* キーワード一覧 */

.keywords .hashtag a {
    line-height: 1.8181818182;
    color: #1870ab;
    margin-right: 1.5rem;
    font-size: 1.3rem;
    display: inline-block;
}

/* ログインアイコン */

.g-header .login-spinner,
.g-header .login-spinner:before,
.g-header .login-spinner:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: login-spinner 1.8s infinite ease-in-out;
    animation: login-spinner 1.8s infinite ease-in-out;
}

.g-header .login-spinner {
    color: #000000;
    font-size: 3px;
    margin: 8px auto 0;
    position: relative;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.g-header .login-spinner:before,
.g-header .login-spinner:after {
    content: '';
    position: absolute;
    top: 0;
}

.g-header .login-spinner:before {
    left: -3.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.g-header .login-spinner:after {
    left: 3.5em;
}

@-webkit-keyframes login-spinner {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

@keyframes login-spinner {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

.g-header .large-header-wrapper .sub-menu .menu-item .login,
.g-header .large-header-wrapper .sub-menu .menu-item .mypage {
    display: none;
}

/* 本文パーツのマージン対策 */

.article-main div[data-vpvpath] + .wysiwyg p:first-child,
.article-main div[data-vpvpath] + .wysiwyg ul:first-child,
.article-main div[data-vpvpath] + .wysiwyg ol:first-child,
.article-main div[data-vpvpath] + .wysiwyg blockquote:first-child,
.article-main div[data-vpvpath] + .wysiwyg figure:first-child,
.article-main .common-banner-area + .wysiwyg p:first-child,
.article-main .common-banner-area + .wysiwyg ul:first-child,
.article-main .common-banner-area + .wysiwyg ol:first-child,
.article-main .common-banner-area + .wysiwyg blockquote:first-child,
.article-main .common-banner-area + .wysiwyg figure:first-child {
    margin-top: 4rem;
}

.article-main .module-snap div[data-vpvpath] + .wysiwyg figure:first-child,
.article-main .module-snap .common-banner-area + .wysiwyg figure:first-child {
    margin-top: 5rem;
}

body.plan .plan-header .category a {
    color: inherit;
}

.g-footer .footer-menu ul li .heading.manga::after {
    display: none;
}

/* サブカテゴリトップ FEATURE */

body.channel .section.feature {
    margin-bottom: 10rem;
}

@media screen and (max-width: 1160px) {
    body.channel .section.feature {
        margin-bottom: 5.75rem;
    }
}

body.channel .section.feature + .section.choice {
    padding-top: 0;
}

/* 正方形が崩れる問題に対策 */
.article-cards.--type-card2 .card .image {
    aspect-ratio: 1 / 1;
}

/* スナップパーツが1つ目に来た際に、上に不要なマージンができることへの対策 */
.article-main .article-content-wrapper > *:first-of-type > *:first-child > *:first-child {
    margin-top: 0 !important;
}

/* カルーセルの矢印がアウトラインに含まれることへの対策 */
.common-carousel-section__prev::after {
    content: '<';
}
.common-carousel-section__next::after {
    content: '>';
}
