@charset "utf-8";

html {
    color: #333;
    font-size: 1em;
    line-height: 1.2;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

ol,
ul,
figure,
h2,
blockquote {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

p {
    -webkit-margin-before: 0;
    margin-block-start: 0;
}

input,
button,
select,
textarea {
    -webkit-appearance: none;
}

input[type="search"] {
    -webkit-appearance: none;
}

input,
textarea {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-appearance: none;
    max-width: 100%;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* グローバルレイアウト */

.container {
    min-height: 100vh;
}

.g-header,
.g-nav {
    height: 56px;
    background-color: #fff;
}

.g-footer {
    height: 300px;
}

.g-header {
    z-index: 4;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.g-main,
.g-aside,
.g-footer {
    z-index: 1;
}

.g-main {
    background: #fff;
    margin: 0 5px;
}

.g-aside {
    background: #f5f5f5;
}

.g-footer {
    background: #eee;
}

/* グローバルヘッダー */

.g-header-search {
    display: none;
}

.g-header-logo {
    height: 44px;
}

input::-webkit-input-placeholder {
    color: #b8b8b8;
    font-size: 16px;
}

input::-moz-placeholder {
    color: #b8b8b8;
    font-size: 16px;
}

input:-ms-input-placeholder {
    color: #b8b8b8;
    font-size: 16px;
}

input::-ms-input-placeholder {
    color: #b8b8b8;
    font-size: 16px;
}

input::placeholder {
    color: #b8b8b8;
    font-size: 16px;
}

/* パンくず */

.breadcrumbs {
    font-size: 12px;
    padding-top: 10px;
    width: 100%;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
}

.breadcrumb {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.breadcrumb-item:after {
    content: "›";
    padding: 0 3px;
}

.breadcrumb-item:last-child:after {
    content: none;
}

.breadcrumb-item-a:hover,
.breadcrumb-item-a:active {
    opacity: 0.7;
}

/* グローバルナビ */

.g-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 2;
}

.g-nav-flex {
    padding: 0 14px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    z-index: 3;
}

.g-nav-flex li {
    width: 15%;
}

@media screen and (min-width: 1024px) {
    .g-nav-flex li {
        width: 20%;
    }
}

.g-nav-a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.g-nav-flex > li:hover a.g-nav-a div.g-nav-menu,
.g-nav-flex > li:hover a.g-nav-a i.material-icons,
.g-nav-flex > li:active a.g-nav-a div.g-nav-menu,
.g-nav-flex > li:active a.g-nav-a i.material-icons {
    color: #f54a5d;
}

.g-nav-a-choice {
    color: #f54a5d;
}

.nav-shadow {
    position: absolute;
    top: 0;
    left: 0;
    height: 56px;
    width: 100vw;
    background: transparent;
    -webkit-box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.2);
}

.g-nav-menu {
    font-size: 10px;
    margin-top: 2px;
}

.hidden_show {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    position: absolute;
    width: 100%;
    left: 0;
    margin-top: 6px;
    border-top: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
    background-color: #eee;
}

.g-nav-search-check {
    display: none;
}

.g-nav-search-check:checked ~ .hidden_show {
    padding: 15px 0;
    height: 30px;
    opacity: 0.97;
    -webkit-transition: 0.1s;
    -o-transition: 0.1s;
    transition: 0.1s;
}

.g-nav-search-check:checked + label.g-nav-a,
.g-nav-search-check:checked + label.g-nav-a i.material-icons {
    color: #f54a5d;
    -webkit-transition: 0.12s;
    -o-transition: 0.12s;
    transition: 0.12s;
}

#sbox2,
#sbtn2 {
    border: 1px solid #ccc;
    background-color: #fff;
}

#sbox2 {
    border-radius: 3px 0 0 3px;
    padding: 0 0.5rem;
    width: calc(100% - 50px);
}

#sbtn2 {
    border-left: initial;
    background-color: #f8f8f8;
    border-radius: 0 3px 3px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 50px;
}

.g-nav-search {
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 32px;
    width: 90%;
}

.search-btn {
    padding-top: 1px;
}

/* サイドバー */

.chara-icon {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.aside-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0;
    width: 100%;
    margin-bottom: 5px;
}

.aside-list-site {
    margin: 0;
    padding-bottom: 20px;
}

.aside-list-li {
    padding: 7.5px 10px 7.5px;
    width: calc(50% - 20px);
}

.aside-list-li:hover,
.aside-list-li:active {
    background: #eee;
}

.aside-list-li-a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.aside-list-name {
    margin-left: 10px;
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.aside-h {
    margin: 0;
    padding: 20px 0 12.5px 10px;
    font-size: 16px;
    color: #666;
    font-weight: initial;
}

.aside-link {
    display: block;
    margin: 7.5px 15px 10px 0;
    text-align: right;
    font-size: 14px;
}

.aside-link:hover,
.aside-link:active {
    color: #999;
}

.aside-section {
    border-bottom: solid 1px #dadada;
}

.aside-section-border-none {
    border: 0;
    padding-bottom: 1px;
}

/* メインリスト */

.g-main-grid {
    display: -ms-grid;
    display: grid;
    /*grid-auto-rows: minmax(170px, 1fr);*/
    grid-auto-rows: auto;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-row-gap: 15px;
    grid-column-gap: 5px;
    padding-bottom: 40px;
    border-bottom: 1px solid #dadada;
}

.box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.box:hover,
.box:active {
    opacity: 0.8;
}

.box-h2 {
    font-size: 18px;
    word-break: break-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 2.3em;
    width: 100%;
    box-sizing: border-box;
}

.box-text1,
.box-text2 {
    font-size: 12px;
    color: #666;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.box-text1 {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.box-h2,
.box-text1 {
    margin-bottom: 5px;
}

.box-text-in,
.figure-text-in {
    display: inline-block;
}

.figure-text-in {
    font-size: 12px;
    padding: 0 0 2px 5px;
}

.box-text-in {
    margin-left: 5px;
}

.box-text2 .box-text-in {
    word-break: break-all;
    white-space: inherit;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 18px;
    margin-top: -1.5px;
    box-sizing: border-box;
    width: 100%;
}

.main-h {
    font-size: 18px;
    margin: 40px 0;
    text-align: center;
    overflow-wrap: break-word;
}

.box-figure {
    position: relative;
}

.f-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: absolute;
    width: calc(100% - 10px);
    top: -0.1rem;
    padding: 5px;
    color: #fff;
    font-size: 14px;
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(rgba(0, 0, 0, 0.95)),
        to(rgba(0, 0, 0, 0))
    );
    background: -o-linear-gradient(
        top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0) 100%
    );
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0) 100%
    );
}

.f-label-in {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 40px auto 30px;
}

.page-link {
    padding: 8px 12px;
}

.page-item {
    margin-bottom: 15px;
}

span.page-link {
    background-color: #f54a5d;
    border-radius: 3px;
    color: #fff;
}

a.page-link:hover,
a.page-link:active {
    /*background-color: #F54A5D;*/
    /*border-radius: 3px;*/
    color: #f54a5d;
}

.main-thumbnail {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
}

/* メインリスト-ソートボタン */

.main-sort {
    font-size: 13px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    border-bottom: solid 1px #dadada;
    margin-bottom: 40px;
}

.main-sort-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 50px;
    width: 25%;
}

.main-sort-button:hover,
.main-sort-button:hover i.material-icons,
.main-sort-button:active,
.main-sort-button:active i.material-icons {
    color: #f54a5d;
}

.main-sort-button:hover,
.main-sort-button:active {
    border-bottom: 2px solid #f54a5d;
}

.sort-border {
    position: absolute;
    height: calc(100% + 7px);
    width: 100%;
    border-bottom: 2px solid #f54a5d;
}

.sort-choice {
    color: #f54a5d;
    border-bottom: 2px solid #f54a5d;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

.sort-button-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.sort-button-text {
    margin-left: 5px;
}

.hidden_show2 {
    border-top: solid 1px #dadada;
    height: 0;
    width: 100%;
    opacity: 0;
    padding: 0 10px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    visibility: hidden;
}

#label2:checked ~ .hidden_show2 {
    height: auto;
    opacity: 1;
    padding: 20px 5px;
    margin: 5px 0 -4px;
    visibility: visible;
    background-color: #eee;
}

.filter-search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 32px;
    width: 100%;
}

.filter-search-box,
.filter-search-btn {
    border: 1px solid #ccc;
}

.filter-search-box {
    padding-top: 3px;
    border-radius: 3px 0 0 3px;
    padding: 0 0.5rem;
    width: 70%;
}

.filter-search-btn {
    border-left: initial;
    background-color: #f8f8f8;
    border-radius: 0 3px 3px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 30%;
}

.filter-search-h2-1,
.filter-search-h2-2 {
    font-size: 16px;
}

.filter-search-h2-1 {
    margin-bottom: 20px;
}

.filter-search-h2-2 {
    margin-top: 20px;
}

.filter-search-h3 {
    font-size: 14px;
    margin: 20px 0;
}

.search-btn-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.search-btn-filter {
    display: inline-block;
    border: solid 1px #ccc;
    background-color: #fff;
    padding: 15px 0px;
    border-radius: 4px;
    color: #333;
    font-size: 15px;
    margin: 0 5px 10px 0;
}

.search-btn-filter-link {
    padding: 15px;
}

/* タグボタン */

.tag-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border: solid 1px #f54a5d;
    background-color: #f54a5d;
    padding: 5px 10px;
    border-radius: 3px;
    color: #fff;
    font-size: 15px;
    margin: 0 10px 10px 0;
    -webkit-transition: 0.3s ease-out;
    -o-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
        0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12),
        0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

.tag-btn:hover {
    background: #f54a5d;
    -webkit-box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.14),
        0 1px 8px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.14), 0 1px 8px 0 rgba(0, 0, 0, 0.12),
        0 3px 1px -1px rgba(0, 0, 0, 0.2); /*浮き上がるように*/
}

.tag-text {
    margin-left: 5px;
}

/* メイン動画ページ */

.g-main-video {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.g-main-video-article,
.g-main-video-related {
    margin-top: 20px;
    width: 100%;
}

.g-main-video-article {
    border-bottom: 1px solid #dadada;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.g-main-grid-related {
    border: initial;
}

.video-img {
    width: 100%;
}

.video-figure {
    position: relative;
}

.video-figure:hover,
.video-figure:active {
    opacity: 0.9;
}

.video-important_points {
    text-align: left;
    margin-top: 0;
    font-size: 12px;
    margin: 20px 0 0;
}

.video-h1 {
    text-align: left;
    margin-top: 0;
    font-size: 22px;
    margin: 20px 0 20px;
}

.video-h2 {
    font-size: 16px;
    margin-bottom: 30px;
    text-align: center;
    word-break: break-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.video-views {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /* padding-bottom: 20px; */
    margin-bottom: 20px;
    /* border-bottom: 1px solid #dadada; */
}

.video-text {
    font-size: 16px;
    padding: 0 0 0 5px;
}

.video-text2 {
    font-size: 12px;
}

.video-text-icon {
    margin-bottom: 1px;
}

.video-li {
    margin-left: 10px;
}

.video-h2-information {
    font-size: 16px;
    margin-bottom: 10px;
    display: inline-block;
    vertical-align: sub;
}

.video-h2-authors {
    margin-bottom: 15px;
}

.video-information-comment {
    word-break: break-all;
    line-height: 1.7;
}

.video-information {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 5px 10px 0;
    display: inline-block;
}

.video-center {
    display: inline-block;
    vertical-align: middle;
}

.video-tag {
    display: contents;
}

.video-tag-btn {
    margin: 0 5px 10px 0;
}

.video-h2-tag {
    margin-bottom: 10px;
    vertical-align: middle;
}

.video-watch-btn1 {
    position: absolute;
    color: #fff;
    background-color: #f54a5d;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
        0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12),
        0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

.video-watch-btn2 {
    border-radius: 100px;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
        0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12),
        0 3px 1px -2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    padding: 11px 16px;
    position: relative;
    text-align: center;
    white-space: nowrap;
    background-color: #f54a5d;
    color: #fff;
    display: block;
    margin: 30px auto 20px;
    width: 85%;
    -webkit-transition: 0.3s ease-out;
    -o-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
}

.video-watch-btn2:hover {
    -webkit-box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.14),
        0 1px 8px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.14), 0 1px 8px 0 rgba(0, 0, 0, 0.12),
        0 3px 1px -1px rgba(0, 0, 0, 0.2); /*浮き上がるように*/
}

.video-watch-favorite {
    margin-bottom: 20px;
    border-bottom: 1px solid #dadada;
}

.video-watch-favorite-btn {
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.video-watch-favorite-remove {
    background-color: #fff;
    color: #333;
    border: 1px solid #dadada;
    box-shadow: 0 1px 1px 0 rgb(0 0 0 / 6%), 0 1px 5px 0 rgb(0 0 0 / 6%),
        0 1px 1px -2px rgb(0 0 0 / 10%);
    -webkit-box-shadow: 0 1px 1px 0 rgb(0 0 0 / 6%), 0 1px 5px 0 rgb(0 0 0 / 6%),
        0 1px 1px -2px rgb(0 0 0 / 10%);
}

@media screen and (min-width: 1024px) {
    .video-watch-favorite-remove {
        background-color: #f9f9f9;
    }
}

.video-watch-favorite-txt {
    margin-left: 4px;
}

.video-section-tag {
    margin-bottom: 10px;
}

/* リストグループ */

.g-list {
    max-width: 1180px;
    margin: 0 auto;
}

.group-sort-btn {
    width: 50%;
}

.group-list-ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    margin: 40px 0;
}

.group-list-li {
    width: 100%;
}

.group-list-li-a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #dadada;
    margin-bottom: 10px;
}

.group-list-li-a:hover,
.group-list-li-a:active {
    opacity: 0.7;
}

.group-list-li-a-number {
    font-size: 12px;
}

.group-list-li-a-flex1 {
    width: 82%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.group-list-li-a-flex2 {
    width: 65%;
}

.group-list-li-a-flex3 {
    width: 82%;
}

.group-list-li-a-chara {
    max-width: 81%;
    margin-left: 10px;
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    font-size: 15px;
}

.group-list-li-a-chara2 {
    max-width: 100%;
    margin-left: 0;
}

.group-list-li-a-chara-origins {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.54);
    margin-left: 4px;
}

.group-sort-margin {
    margin-bottom: 20px;
}

.group-sort2 {
    -webkit-box-pack: initial;
    -ms-flex-pack: initial;
    justify-content: initial;
    margin-bottom: 20px;
}

.group-sort-btn2 {
    width: 10%;
    height: 38px;
}

/* カルーセル */

.carousel {
    width: 100%;
    margin: 10px 0;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

.carousel-li {
    width: 210px;
    margin: 10px 0;
    display: inline-block;
}

.carousel-box-h2 {
    height: auto;
}

/* PCレイアウト */

@media screen and (min-width: 1024px) {
    .container {
        display: -ms-grid;
        display: grid;
        -ms-grid-rows: 56px 1fr 80px;
        grid-template-rows: 56px 1fr 80px;
        -ms-grid-columns: 240px 1fr 350px;
        grid-template-columns: 240px 1fr 350px;
        grid-template-areas: "g-header  g-header  g-nav " "g-aside  g-main   g-main" "g-footer g-footer g-footer";
    }

    .g-header {
        grid-area: g-header;
        -webkit-box-pack: initial;
        -ms-flex-pack: initial;
        justify-content: initial;
    }

    .g-header-logo {
        margin-left: 20px;
        height: 36px;
    }

    .g-nav {
        grid-area: g-nav;
        position: initial;
        top: initial;
    }

    .g-nav-flex {
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }

    .g-main {
        grid-area: g-main;
        background-color: #f9f9f9;
        margin: 0;
    }

    .g-main-list {
        padding: 0 40px 0.2px;
        height: 100%;
    }

    .g-main-video {
        margin: 0 auto;
        height: auto;
    }

    .g-main-grid {
        grid-auto-rows: minmax(187.5px, 1fr);
        grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
        grid-row-gap: 30px;
        grid-column-gap: 30px;
    }

    .g-aside {
        grid-area: g-aside;
        background-color: #fff;
    }

    .g-footer {
        grid-area: g-footer;
        height: 140px;
    }

    .pc-none {
        display: none !important;
    }

    .g-header-search {
        display: block;
        margin: 0 auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        height: 32px;
        width: 50%;
    }

    #sbox1,
    #sbtn1 {
        border: 1px solid #ccc;
        background-color: #fff;
    }

    #sbox1 {
        border-radius: 3px 0 0 3px;
        padding: 0 0.5rem;
        width: 77%;
    }

    #sbtn1 {
        border-left: initial;
        background-color: #f8f8f8;
        border-radius: 0 3px 3px 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 80px;
    }

    .nav-shadow {
        top: 0px;
        height: 56px;
    }

    .aside-list-li {
        width: 100%;
        padding: 5px 20px 5px;
    }

    .aside-list-name {
        margin-left: 20px;
        font-size: 15px;
    }

    .aside-h {
        padding: 20px 0 15px 20px;
    }

    .aside-link {
        margin: 15px 0 20px 20px;
        text-align: left;
    }

    .box-text1,
    .box-text2 {
        font-size: 14px;
    }

    .box-text2 .box-text-in {
        margin-top: 0;
        line-height: 21px;
    }

    .figure-text-in {
        font-size: 14px;
    }

    .main-sort {
        -webkit-box-pack: initial;
        -ms-flex-pack: initial;
        justify-content: initial;
        font-size: 16px;
    }

    .main-sort-button {
        width: 15%;
    }

    .group-sort-btn {
        width: 25%;
    }

    .main-h {
        text-align: left;
        margin-top: 0;
        padding-top: 40px;
        overflow-wrap: break-word;
    }

    .video-h2 {
        color: #666;
        font-weight: initial;
        text-align: initial;
    }

    .g-list {
        padding: 0 40px;
    }

    .group-list-li {
        width: calc(100% / 2 - 20px);
    }

    .group-sort-btn2 {
        width: 5%;
    }

    .group-list-li-a-flex2 {
        width: 75%;
    }
}

@media screen and (min-width: 1024px) {
    .g-header {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
    }

    .g-nav {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }

    .g-main {
        -ms-grid-row: 2;
        -ms-grid-column: 2;
        -ms-grid-column-span: 2;
    }

    .g-aside {
        -ms-grid-row: 2;
        -ms-grid-column: 1;
    }

    .g-footer {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }
}

.group-list-li-carousel {
    width: 100%;
}

@media screen and (min-width: 1024px) {
    .g-header {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
    }

    .g-nav {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }

    .g-main {
        -ms-grid-row: 2;
        -ms-grid-column: 2;
        -ms-grid-column-span: 2;
    }

    .g-aside {
        -ms-grid-row: 2;
        -ms-grid-column: 1;
    }

    .g-footer {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }
}

/* 動画ページレイアウト */
@media screen and (max-width: 374px) {
    .main-sort-button-se {
        width: 23%;
    }

    .g-main-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .figure-text-in {
        font-size: 10px;
    }
}

@media screen and (min-width: 1670px) {
    .g-main-video {
        width: 1390px;
    }

    .g-main-video-article {
        width: 930px;
    }
}

@media screen and (min-width: 1560px) and (max-width: 1669px) {
    .g-main-video {
        width: 1280px;
    }

    .g-main-video-article {
        width: 820px;
    }
}

@media screen and (min-width: 1300px) and (max-width: 1559px) {
    .g-main-video {
        width: 1060px;
    }

    .g-main-video-article {
        width: 600px;
    }
}

@media screen and (min-width: 1300px) {
    .g-main-video-article {
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
    }

    .g-main-video-related {
        width: 440px;
        margin-left: 20px;
    }

    .g-main-grid-related {
        grid-row-gap: 20px;
        grid-column-gap: 20px;
    }

    .video-h2 {
        margin-bottom: 20px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1299px) {
    .g-main-video {
        width: 784px;
    }

    .g-main-grid-related {
        grid-template-columns: repeat(auto-fill, minmax(173px, 1fr));
    }
}

/* その他レイアウト */

@media screen and (min-width: 1810px) {
    .g-main-list {
        padding: 0 100px 0.2px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .g-main {
        margin: 0 20px;
    }
}

@media screen and (min-width: 768px) {
    .filter-search {
        height: 32px;
        width: 40%;
    }

    #label2:checked ~ .hidden_show2 {
        padding: 20px;
    }
}

@media screen and (max-width: 374px) {
    .sort-iphonese {
        width: 30%;
    }
}

@media screen and (max-width: 340px) {
    .main-sort {
        font-size: 12px;
    }

    .sort-button-text {
        margin-left: 2px;
    }
}

/* IE11 */

@media screen and (-ms-high-contrast: active),
    screen and (-ms-high-contrast: none) {
    .g-main-grid {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .g-main-grid > article {
        height: auto;
        margin: 0 5px 40px 0;
    }

    @media screen and (max-width: 559px) {
        .g-main-grid > article {
            -ms-flex-preferred-size: calc(50.45% - 5px);
            flex-basis: calc(50.45% - 5px);
        }

        .g-main-grid > article:nth-of-type(2n) {
            margin-right: 0;
        }
    }

    @media screen and (min-width: 560px) and (max-width: 744px) {
        .g-main-grid > article {
            -ms-flex-preferred-size: calc(33.5% - 5px);
            flex-basis: calc(33.5% - 5px);
        }

        .g-main-grid > article:nth-of-type(3n) {
            margin-right: 0;
        }
    }

    @media screen and (min-width: 745px) and (max-width: 767px) {
        .g-main-grid > article {
            -ms-flex-preferred-size: calc(25% - 5px);
            flex-basis: calc(25% - 5px);
        }

        .g-main-grid > article:nth-of-type(4n) {
            margin-right: 0;
        }
    }

    @media screen and (min-width: 768px) and (max-width: 774px) {
        .g-main-grid > article {
            -ms-flex-preferred-size: calc(33% - 5px);
            flex-basis: calc(33% - 5px);
        }

        .g-main-grid > article:nth-of-type(3n) {
            margin-right: 0;
        }
    }

    @media screen and (min-width: 775px) and (max-width: 959px) {
        .g-main-grid > article {
            -ms-flex-preferred-size: calc(25% - 5px);
            flex-basis: calc(25% - 5px);
        }

        .g-main-grid > article:nth-of-type(4n) {
            margin-right: 0;
        }
    }

    @media screen and (min-width: 960px) and (max-width: 1023px) {
        .g-main-grid > article {
            -ms-flex-preferred-size: calc(20% - 5px);
            flex-basis: calc(20% - 5px);
        }

        .g-main-grid > article:nth-of-type(5n) {
            margin-right: 0;
        }
    }

    @media screen and (min-width: 1024px) {
        .g-main-grid > article {
            margin: 0 30px 30px 0;
        }
    }

    @media screen and (min-width: 1024px) and (max-width: 1153px) {
        .g-main-grid > article {
            -ms-flex-preferred-size: calc(34.5% - 30px);
            flex-basis: calc(34.5% - 30px);
        }

        .g-main-grid > article:nth-of-type(3n) {
            margin-right: 0;
        }
    }

    @media screen and (min-width: 1154px) and (max-width: 1369px) {
        .g-main-grid > article {
            -ms-flex-preferred-size: calc(25.7% - 30px);
            flex-basis: calc(25.7% - 30px);
        }

        .g-main-grid > article:nth-of-type(4n) {
            margin-right: 0;
        }
    }

    @media screen and (min-width: 1370px) and (max-width: 1585px) {
        .g-main-grid > article {
            -ms-flex-preferred-size: calc(20.47% - 30px);
            flex-basis: calc(20.47% - 30px);
        }

        .g-main-grid > article:nth-of-type(5n) {
            margin-right: 0;
        }
    }

    @media screen and (min-width: 1586px) {
        .g-main-grid > article {
            -ms-flex-preferred-size: calc(17% - 30px);
            flex-basis: calc(17% - 30px);
        }

        .g-main-grid > article:nth-of-type(6n) {
            margin-right: 0;
        }
    }

    @media screen and (min-width: 1300px) {
        .g-main-grid-related > article {
            -ms-flex-preferred-size: calc(52.27% - 20px);
            flex-basis: calc(52.27% - 20px);
            margin: 0 20px 20px 0;
        }

        .g-main-grid-related > article:nth-of-type(2n) {
            margin-right: 0;
        }
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.footer-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 14%;
    width: 100%;
    font-size: 14px;
}

.footer-flex-a:hover,
.footer-flex-a:active {
    opacity: 0.7;
}

.footer-caution {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 12px;
    padding: 12px 10px 0;
    height: 40%;
}

@media screen and (min-width: 1024px) {
    .footer-flex {
        height: calc(50% - 20px);
        padding: 0 0 20px;
    }

    .footer-caution {
        padding: 20px 0 0;
        height: calc(50% - 20px);
    }
}

.footer-sitename {
    margin-left: 12px;
}

/* ==========================================================================
   Material icons
   ========================================================================== */

/* Material iconsを利用する */
.material-icons {
    font-family: "Material Icons";
    font-weight: normal;
    font-style: normal;
    font-size: 24px; /* 推奨サイズ */
    display: inline-block;
    width: 1em;
    height: 1em;
    line-height: 1.2;
    text-transform: none;

    /* WebKitブラウザサポート */
    -webkit-font-smoothing: antialiased;
    /* Chrome、Safariサポート */
    text-rendering: optimizeLegibility;

    /* Firefoxサポート */
    -moz-osx-font-smoothing: grayscale;

    /* IEサポート */
    -webkit-font-feature-settings: "liga";
    font-feature-settings: "liga";
}

/* Rules for sizing the icon. */
.material-icons.md-18-20 {
    font-size: 18px;
}

.material-icons.md-18 {
    font-size: 18px;
}

.material-icons.md-20 {
    font-size: 20px;
}

.material-icons.md-30 {
    font-size: 30px;
}

.material-icons.md-36 {
    font-size: 36px;
}

.material-icons.md-48 {
    font-size: 48px;
}

.material-icons.md-5em {
    font-size: 5em;
}

@media screen and (min-width: 1024px) {
    .material-icons.md-18-20 {
        font-size: 20px;
    }
}

/* Rules for using icons as black on a light background. */
.material-icons.md-dark {
    color: rgba(0, 0, 0, 0.54);
}

.material-icons.md-dark.md-inactive {
    color: rgba(0, 0, 0, 0.26);
}

/* Rules for using icons as white on a dark background. */
.material-icons.md-light {
    color: rgba(255, 255, 255, 1);
}

.material-icons.md-light.md-inactive {
    color: rgba(255, 255, 255, 0.3);
}

.material-icons.orange600 {
    color: #fb8c00;
}

.sort-choice i.material-icons {
    color: #f54a5d;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

@media screen and (max-width: 480px) {
    .ad-sp {
        display: block;
        /*text-align: center;*/
        margin: 1rem auto;
    }

    .ad-sp-margin2 {
        margin: 1rem -5px;
    }

    .ad-pc {
        display: none;
    }
}

@media screen and (min-width: 481px) {
    .ad-sp {
        display: none;
    }

    .ad-pc {
        text-align: center;
        margin: 1rem auto;
    }

    .display-flex {
        display: flex !important;
    }

    .justify-center {
        justify-content: center !important;
    }

    .justify-center > div {
        margin: 0 0.5rem;
    }
}

/* 広告用 */
@media screen and (min-width: 1300px) and (max-width: 1559px) {
    .show_blade_ad img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 948px) {
    .ad-pc-none-948 {
        display: none;
    }
}

@media screen and (max-width: 1669px) {
    .ad-pc-none-1669 {
        display: none;
    }
}

/* spリスト途中告用 */

@media screen and (min-width: 415px) and (max-width: 480px) {
    .ad-sp-margin {
        margin: 0 -5px 0;
    }
}

@media screen and (min-width: 396px) and (max-width: 414px) {
    .ad-sp-margin {
        margin: -5px -5px 0;
    }
}

@media screen and (min-width: 361px) and (max-width: 395px) {
    .ad-sp-margin {
        margin: -10px -5px 0;
    }
}

@media screen and (min-width: 346px) and (max-width: 360px) {
    .ad-sp-margin {
        margin: -15px -5px 0;
    }
}

@media screen and (min-width: 346px) and (max-width: 360px) {
    .ad-sp-margin {
        margin: -15px -5px 0;
    }
}

@media screen and (min-width: 325px) and (max-width: 345px) {
    .ad-sp-margin {
        margin: -20px -5px 0;
    }
}

@media screen and (max-width: 324px) {
    .ad-sp-margin {
        margin: -23px -5px 0;
    }
}

/* 透明オーバーレイ */

#full-size-ol {
    position: fixed;
    display: block;
    opacity: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10000000;
}

/* お気に入り */

.fav-active {
    color: #f00;
}

/*試し読み*/
.ds-3 {
    padding: 0;
    margin: 0;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}
.ds-3__list {
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    display: flex;
    padding: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 0 24px 0;
}
.ds-3__item {
    flex: 0 0 auto;
    display: flex;
    width: 95%;
    margin-right: 8px;
    align-items: center;
    justify-content: flex-start;
    scroll-snap-align: start;
}
.ds-3__item:last-child {
    justify-content: center;
}
.ds-3__item img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}
.ds-3__item--btn {
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
    background-color: #2979ff;
    border-radius: 2px;
    padding: 16px 0;
    width: 80%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1), 0 1px 10px 0 rgba(0, 0, 0, 0.06);
}
.ds-3__item--btn:hover {
    background-color: #9e9e9e;
}
.ds-3__item--btn svg {
    color: #ffffff;
    font-size: 12px;
    margin-right: 4px;
}
.ds-3__btn {
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    background-color: #ee6e73;
    border-radius: 2px;
    padding: 16px 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1), 0 1px 10px 0 rgba(0, 0, 0, 0.06);
    margin: 0 0 24px 0;
}
.ds-3__btn:hover {
    background-color: #9e9e9e;
}
.ds-3__btn svg {
    color: #ffffff;
    font-size: 12px;
    margin-right: 8px;
}

/* 共通カードスタイル */
.ds-5__card {
    max-width: 100%;
    width: 100%;
    margin: 2em auto;
    background: #fff;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 1.2em 0.2em;
    box-sizing: border-box;
}

/* プロフィール */
.ds-5__profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8em;
}

.ds-5__profile img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: none;
}

.ds-5__profile strong {
    font-weight: 600;
    font-size: 15px;
    color: rgba(0, 0, 0, 0.87);
}

.ds-5__ad-label {
    margin-left: auto;
    font-size: 12px;
    color: #888;
}

/* 説明文 */
.ds-5__description {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 1em;
    color: rgba(0, 0, 0, 0.87);
    text-align: left;
}

/* メイン画像 */
.ds-5__main-image {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em 0.5em 1rem 0.5em;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.ds-5__main-image label {
    display: block;
    width: 100%;
}

.ds-5__main-image label img {
    max-width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    border-radius: 24px;
    box-shadow: none;
}

/* オーバーレイ制御 */
.ds-5__wrapper input[type="checkbox"] {
    display: none;
}

/* ✅ 重要：チェックされたinputの隣の.overlayだけ表示 */
.ds-5__wrapper input:checked + .ds-5__card + .ds-5__overlay {
    display: flex;
}

/* オーバーレイ全体 */
.ds-5__overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 10001;
    overflow-y: auto;
    padding: 2em 0;
    background: transparent;
}

.ds-5__overlay .ds-5__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 1000;
}

/* 中の画像エリア */
.ds-5__overlay-content {
    position: relative;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 800px;
    padding: 0 4px 0 4px;
    margin-bottom: 300px;
}

.ds-5__overlay-content img {
    width: 100%;
    height: auto;
    display: block;
}

/* 閉じるボタン */
.ds-5__overlay label.ds-5__close {
    position: fixed;
    top: 4px;
    right: 4px;
    font-size: 36px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 10px 16px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1100;
    line-height: 1;
    transition: background 0.2s, transform 0.2s;
}

.ds-5__overlay label.ds-5__close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* 共通の画像スタイル */
.ds-5__card img,
.ds-5__profile img,
.ds-5__main-image img {
    box-shadow: none;
}

/* スマホ用レスポンシブ調整 */
@media (max-width: 600px) {
    .ds-5__card {
        /*border-radius: 0;*/
        /*margin: 2em 0;*/
    }

    .ds-5__overlay-content {
        max-width: 100%;
    }
}

@media only screen and (min-width: 601px) {
    .ds-5__description {
        font-size: 12px;
    }

    .ds-5__profile strong {
        font-size: 12px;
    }

    .ds-5__profile img {
        width: 40px;
        height: 40px;
    }

    .ds-5__main-image {
        padding: 0.5em 0 1rem 0;
    }

    .ds-5__card {
        margin: 1em auto;
    }
}

@media only screen and (min-width: 1024px) {
    .ds-5__card {
        display: none;
    }
}

/* オプション: リンク内の構造調整 */
.ds-5__overlay-content div li a {
    width: 100% !important;
    box-sizing: border-box;
    list-style: none;
}

.ds-5__overlay-content div li {
    width: 100% !important;
    box-sizing: border-box;
}

.ds-5__overlay-content div {
    width: 100% !important;
    box-sizing: border-box;
    list-style: none;
}
