/*------------------------------
	機種ページ用CSS
------------------------------*/

/* 機種名 */
.article_title_scroll {
    margin: -16px -16px 0;
    padding: 0 16px;
    width: cala(100% + 16px);
    overflow: hidden;
    line-height: clamp(3rem, 2.667rem + 1.67vw, 4rem);
    white-space: nowrap;
    color: #fff;
    background-color: #1f2c5c;
}
.article_title_scroll_txt {
    display: inline-block;
}
.play .article_title_scroll_txt {
    padding-left: 100%;
    animation: scroll 12s linear infinite;
}
@keyframes scroll {
    0% {
		transform: translateX(0%); 
    } 
	100% { 
		transform: translateX(-100%); 
    } 
}
/* 記事サムネ */
.article_headerBox .article_mainimage {
    margin: 0 -16px;
}
/* 更新情報 */
.machIndexNewListBox {
    margin: 16px auto;
    border: solid 1px #4B6AB4;
}
.machIndexNewListTitle {
    padding: 12px;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    background-color: #4B6AB4;
}
.newList {
    overflow: auto;
    max-height: 116px;
    background-color: #ffc;
}
.newList li {
    padding: 12px;
    font-size: 14px;
    background-color: #ffc;
    border-top: solid 1px #4B6AB4;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: YakuHanJP, Arial, Helvetica, sans-serif;
    overflow: hidden;
    cursor: pointer;
}
.newList li:first-of-type {
    border-top: none;
}
.newList li time {
    margin-right: 1em;
    color: #FF0404;
}
/* ピックアップ */
.machIndexPickupBox {
    margin: 16px auto;
}
.machIndexPickupBox .bannerBox {
    margin: 0 auto;
    gap: 8px;
}
.machIndexPickupBox .bannerBox a {
    flex: 0 1 calc(50% - 4px);
}
/* メニュー */
.topMachIndexBox .machIndexPickupBox,
.topMachIndexBox .indexList > li {
	display: none;
}
.machIndexBox {
    margin: 16px auto;
}
.aside_container #newmachine .sectionTitle,
.machIndexBox .sectionTitle {
    padding: 12px;
    font-size: clamp(1.125rem, 1rem + 0.63vw, 1.5rem);
}
.indexList {
    border: solid 1px #4B6AB4;
    border-top: none;
}
.indexList .subtitle a {
    padding: 12px;
    display: block;
    font-size: clamp(1rem, 0.958rem + 0.21vw, 1.125rem);
    font-weight: 900;
    color: #fff;
    background-color: #4B6AB4;
    border-top: solid 1px #4B6AB4;
    pointer-events: none;
}
.indexList .subtitle.current a {
    color: #FF0404;
    background-color: #FFFF00;
}
.subheadingListBox li {
    padding: 12px;
    text-align: center;
    font-size: clamp(0.875rem, 0.833rem + 0.21vw, 1rem);
    color: #fff;
    background-color: rgba(75,106,180,0.8);
    border-top: solid 1px #4B6AB4;
    font-family: YakuHanJP, Arial, Helvetica, sans-serif;
}
.subheadingListBox li[id^="index"] {
    text-align: left;
    color: #333;
    background-color: #deebff;
    cursor: pointer;
}
/* サブメニュー */
.machMiniIndexBox {
    margin: 16px auto;
    line-height: 1;
    border: solid 1px #6f88c3;
}
.machMiniIndexTitle {
    margin: 0 !important;
    padding: 12px;
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    background-color: #6f88c3;
}
.machMiniIndex li,
.machMiniIndexBox p:not(.machMiniIndexTitle) {
    margin: 0 !important;
    padding: 12px;
    font-size: 12px;
    background-color: #f6f7fb;
    border-top: solid 1px #6f88c3;
    cursor: pointer;
}
.newList li:hover,
.subheadingListBox li[id^="index"]:hover,
.machMiniIndex li:hover,
.machMiniIndexBox p:not(.machMiniIndexTitle):hover {
    opacity: 0.8;
}
/* NEWマーク */
.newmark {
    margin-left: 5px;
    font-size: 0.8em;
    color: #FF0404;
    white-space: nowrap;
}
/* コメント */
.subheadingListBox li .text {
    margin-left: 5px;
    font-size: 0.8em;
    color: #808080;
}
/* 記事内見出し */
.article_contentBox h2.sectionTitle {
    margin-left: -16px;
    margin-right: -16px;
    font-size: clamp(1.25rem, 1rem + 1.25vw, 2rem);
    border-left: none;
}
.article_contentBox h2:not(.sectionTitle) {
    margin-top: calc(32px + 1.5em);
    padding: 16px;
    border-top: 2px solid #4B6AB4;
    border-bottom: 2px solid #4B6AB4;
    border-left: 8px solid #4B6AB4;
    border-right: 8px solid #4B6AB4;
}
.article_contentBox h2.sectionTitle + h2:not(.sectionTitle) {
    margin-top: 32px;
}
/* ライター一言解説 */
.machWriterCommentBox {
    margin: 32px auto;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.4;
    background-color: #fbdfcc;
    border-radius: 10px;
}
.machWriterCommentBox_heading {
    margin: 0 !important;
    padding: 6px 0;
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 900;
    color: #fff;
    background-color: #ea6000;
    border-radius: 100vh;
}
.machWriterCommentBox_img {
    margin: 0 !important;
    flex: 0 1 15%;
    height: auto;
    display: flex;
    align-items: center;
    background-image: url("../images/noimage.png");
    background-size: 100% auto;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-color: #fff;
    border-radius: 100vh;
    aspect-ratio: 1 / 1;
    position: relative;
}
.machWriterCommentBox_img img {
    margin: 0 !important;
    width: 100% !important; 
    height: 100% !important; 
    border: solid 4px #ea6000;
    object-fit: cover;
    border-radius: 100vh;
}
.machWriterCommentBox_txt {
    flex: 1 1 50%;
    margin: 0 !important;
}
/* 機種TOPに戻るボタン */
.backbtnBox {
    margin: 32px auto;
    max-width: 640px;
}
.backbtnBox a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    line-height: 3em;
    color: #fff;
    background-color: #1f2c5c;
    border-radius: 8px;
    /*box-shadow: 2px 2px 8px rgba(0,0,0,0.5);*/
    border: groove 6px #1f2c5c;
    position: relative;
}
.backbtnBox a svg {
    width: 1em;
    height: 1em;
    fill: #fff;
    position: absolute;
    left: 1em;
}
/* ドロワーメニュー */
.drawermenuBox .drawermenuBox_inner {
    margin: 0 auto;
    width: 320px;
    height: 100%;
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    position: fixed;
    top: 0;
    left: -640px;
    transition: 1s;
    z-index: 9998;
    opacity: 0;
}
.drawermenuBox.open .drawermenuBox_inner {
    left: 0;
    transition: 0.5s;
    opacity: 1;
}
.drawermenuBox .machIndexBox .sectionTitle,
.drawermenuBox .indexList::-webkit-scrollbar {
    display: none;
}
/*.drawermenuBox .subheadingListBox li {
    color: #333;
    background-color: #fff;
}*/
.drawermenuBox .subheadingListBox ul li:not([id^="index"]) {
    color: #fff;
    background-color: rgba(75, 106, 180, 0.8);
}
.drawermenuBox_overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.4);
	z-index: 9997;
}
.drawermenuBox.open .drawermenuBox_inner + .drawermenuBox_overlay {
	display: block;
}
/* ドロワーメニューボタン */
.drawermenuBox_btn {
    position: fixed;
    bottom: 240px;
    right: 50%;
    width: 100%;
    max-width: 1410px;
    z-index: 99;
    transform: translate(50%);
}
.drawermenuBox_btn.active {
    left: 240px;
    max-width: none;
    z-index: 9999;
    transform: translate(0);
}
.drawermenuBox_btn p {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: #FFF;
    background-color: rgba(31,44,92,0.5);
    border-radius: 100vh;
    position: absolute;
    bottom: 0;
    left: 10px;
}
.drawermenuBox_btn svg {
    width: 28px;
    height: 28px;
    fill: #FFF;
}
.drawermenuBox_btn span {
    margin: 1px auto;
    font-size: 8px;
}
.drawermenuBox_btn p.close,
.drawermenuBox_btn.active p.menu {
    display: none;
}
.drawermenuBox_btn.active p.close {
    display: flex;
}
/* コンテンツリスト */
.contentListBox {
    margin: 16px auto;
}
.contentListBox > ul {
    border: solid 1px #b4b4b4;
}
.contentListBox > ul::before {
    content: "コンテンツリスト";
    padding: 12px;
    display: block;
    font-size: clamp(1rem, 0.958rem + 0.21vw, 1.125rem);
    font-weight: 900;
    color: #fff;
    background-color: #1f2c5c;
}
.contentListBox li {
    border-top: solid 1px #b4b4b4;
}
.contentListBox a {
    padding: 12px;
    display: block;
    font-size: clamp(0.875rem, 0.833rem + 0.21vw, 1rem);
    color: #333;
    background-color: #fff;
}
/* コンテンツリスト内アコーディオン */
.contentListBox .headerBox_menu_list_accordion .accordion_header {
    padding: 12px;
    display: flex;
    font-size: clamp(0.875rem, 0.833rem + 0.21vw, 1rem);
    color: #333;
}
.contentListBox .headerBox_menu_list_accordion .accordion_header::after {
    content: "";
    margin-top: -4px;
    margin-left: calc(1em - 3px);
    width: 6px;
    height: 6px;
    border-top: 2px solid;
    border-right: 2px solid;
    border-color: #333;
    transition: all 0.3s ease-in-out;
    transform: rotate(135deg);
}
.contentListBox .headerBox_menu_list_accordion .accordion_header.open::after {
    margin-top: 4px;
    transform: rotate(-45deg);
}
.contentListBox .headerBox_menu_list_accordion .accordion_header::before,
.contentListBox .headerBox_menu_list_accordion .accordion_header.open::before {
    content: none;
}
.contentListBox .headerBox_menu_list_accordion .accordion_body {
    margin-left: 0;
}
.contentListBox .headerBox_menu_list_accordion .accordion_body li {
    padding-left: 1em;
}
@media(min-width: 961px){
    /* NEW MACHINE */
    .aside_container #newmachine .linkBox li.slot .linkBox_title span,
    .aside_container #newmachine .linkBox li.pachi .linkBox_title span {
        font-size: 0.5em;
    }
    /* 注目機種 */
    .aside_container .trendwordBox_tag {
        max-height: none;
    }
    .aside_container .trendwordBox_tag li:first-child {
        padding: 0 8px;
        font-size: 16px;
        line-height: 28px;
    }
    .aside_container .trendwordBox_tag .label {
        padding: 0 8px;
        font-size: 14px;
        line-height: 28px;
    }
}
/*****************************************************************************************************
　　　　　for タブレット
*****************************************************************************************************/
@media(max-width: 960px){
    .aside_container {
        border-top: solid 1px #b4b4b4;
    }
    /* 機種名 */
    .play .article_title_scroll_txt {
        animation: scroll 7s linear infinite;
    }
    .newList li:hover,
    .subheadingListBox li[id^="index"]:hover,
    .machMiniIndex li:hover {
        opacity: 1;
    }
    /* ライター一言解説 */
    .machWriterCommentBox_img,
    .machWriterCommentBox2_img {
        flex-basis: 20%;
    }
    /* ピックアップ／メニュー／コンテンツリスト */
    .aside_container .machIndexPickupBox,
    .aside_container .machIndexBox,
    .aside_container .contentListBox {
        margin: 16px;
    }
    /* ドロワーメニュー */
    .drawermenuBox .machIndexPickupBox {
        margin: 8px;
    }
    .drawermenuBox .machIndexPickupBox .bannerBox {
        gap: 8px;
    }
    .drawermenuBox .machIndexBox,
    .drawermenuBox .contentListBox {
        margin: 0;
    }
    /* NEW MACHINE */
    .aside_container #newmachine .sectionTitle {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}


/*****************************************************************************************************
　　　　　for スマホ
*****************************************************************************************************/
@media(max-width: 600px){
    /* 更新情報／メニュー／サブメニュー／コンテンツリスト */
    .machIndexNewListTitle,
    .newList li,
    .machIndexBox .sectionTitle,
    .aside_container #newmachine .sectionTitle,
    .machIndexBox .subtitle a,
    .subheadingListBox li,
    .machMiniIndexTitle,
    .machMiniIndex li,
    .machMiniIndexBox p:not(.machMiniIndexTitle),
    .contentListBox a,
    .contentListBox ul::before,
    .contentListBox .headerBox_menu_list_accordion .accordion_header {
        padding: 10px 8px;
    }
    /* 更新情報 */
    .newList {
        max-height: 104px;
    }
    /* NEWマーク */
    .newmark {
        margin-left: 2px;
    }
    /* 記事内見出し */
    .article_contentBox h2:not(.sectionTitle) {
        margin-top: calc(24px + 1.5em);
        padding: 8px;
    }
    .article_contentBox h2.sectionTitle + h2:not(.sectionTitle) {
        margin-top: 24px;
    }
    /* ライター一言解説 */
    .machWriterCommentBox {
        margin: 24px auto;
        padding: 8px;
        gap: 4px;
        font-size: 14px;
    }
    .machWriterCommentBox_heading {
        padding: 4px 0;
    }
    .machWriterCommentBox_img {
        flex-basis: 25%;
    }
    /* 機種TOPに戻るボタン */
    .backbtnBox {
        margin: 24px auto;
    }
    .backbtnBox a {
        font-size: 1.1em;
        line-height: 2.2em;
        border-width: 4px;
    }
    /* ドロワーメニュー */
    .drawermenuBox .drawermenuBox_inner {
        width: 80%;
        max-width: 320px;
    }
    /* ドロワーメニューボタン */
    .drawermenuBox_btn {
        bottom: 165px;
    }
    .drawermenuBox_btn.active {
        left: calc(clamp(16rem, 80vw, 20rem) - 72px);
    }
}


