/* -----------------------------------------------------
	全体・共通
  -----------------------------------------------------*/
#hp {
    margin: 0 auto;
    padding: 0;
}

#hp #right-sidebar {
    padding-bottom: 30px;
    background: #fff;
}

#hp #layout-wrap {
    border-top: none;
}

#hp h3 {
    color: #1b4784;
}

#hp p {
    color: #000;
}

/* -----------------------------------------------------
	ヘッダー
  -----------------------------------------------------*/
#hp header {
    padding: 8px 0;
    background: #fff;
}

#hp #layout-header-logo {
    position: relative;
    width: 289px;
    height: 180px;
    background: url(/assets/img/hp/hp_logo.png?2025042501)  center no-repeat;
    margin: 0 16px 0 13px;
}

#hp #layout-header-logo div#logo_header {
    position: absolute;
    top: 25px;
    left: 20px;
    width: 130px;
    height: 130px;
    text-indent: -9999px;
}

#hp header .ascii_logo {
    position: absolute;
    bottom: 30px;
    right: 20px;
    width: 90px;
    height: 40px;
    text-indent: -9999px;
}

#hp header .ascii_logo a {
    display: block;
    height: 2.5rem;
}

#hp #layout-header-logo div#logo_header a {
    display: block;
    height: 8rem;
}

#hp #layout-wrap header {
    background-color: #fff;
}

/* 
#hp #layout-header-ad .ad-box {
    margin: 0;
}

#hp #layout-header-ad {
    display: inline-block;
    width: 728px;
    background: transparent;
}
*/

/* -----------------------------------------------------
	過去記事アーカイブ
  -----------------------------------------------------*/
#hp #article_archive{
    margin-bottom: 6px;
}

#hp #article_archive .title-box h2{
    padding: 5px 10px;
    border: 0;
    background: #024ad8;
    color: #fff;
    font-size: 0.9rem;
    min-height: 32px;
    -webkit-box-shadow: 0px 3px 4px -3px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 3px 4px -3px rgba(0,0,0,0.5);
    box-shadow: 0px 3px 4px -3px rgba(0,0,0,0.5);
    font-weight: normal;
    margin-bottom: 5px;
}

#hp #article_archive dl{
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    font-size: 0.8rem;
    line-height: 1.6;
    margin-top: 5px;
    margin-bottom: 3px;
}

#hp #article_archive dl:last-child{
    border-bottom: none;
}

#hp #article_archive dt{
    border-right: 1px solid #ddd;
    display: inline-block;
    margin: 0 5px 3px 0;
    padding: 4px 10px;
    font-weight: normal;
}

#hp #article_archive dd{
    color: #ccc;
    display: inline-block;
    padding: 4px 9px 4px 0;
    margin-bottom: 3px;
}

/* -----------------------------------------------------
	サイドバー
  -----------------------------------------------------*/
#hp #right-sidebar{
    background-color: #ffffff;
}

#hp #right-sidebar #youtube_area {
    line-height: 0;
    margin-bottom: 15px;
}

#hp #right-sidebar #ad_box {
    margin-bottom: 15px;
}

#hp #right-sidebar #ad_box div {
    margin-bottom: 5px;
}

/* アクセスランキング */
#hp #right-sidebar .right_contents_box{
    margin-bottom: 15px;
}

#hp #right-sidebar .right_contents_box#ranking .title-box{
    font-size: 0.6rem;
    min-height: 32px;
}

#hp #right-sidebar .right_contents_box#ranking h2{
    padding: 5px 10px;
    border: 0;
    background: #024ad8;
    color: #fff;
    font-size: 0.9rem;
    min-height: 32px;
    -webkit-box-shadow: 0px 3px 4px -3px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 3px 4px -3px rgba(0,0,0,0.5);
    box-shadow: 0px 3px 4px -3px rgba(0,0,0,0.5);
    font-weight: normal;
    margin-bottom: 5px;
}

#hp #right-sidebar .right_contents_box#ranking ul{
    padding-top: 0;
}

#hp #right-sidebar .right_contents_box#ranking li{
    position: relative;
    border-bottom: 1px solid #dfdfdf;
    color: #666;
    display: grid;
    font-size: 0.75rem;
    padding: 15px 8px 10px 10px;
}

#hp #right-sidebar .right_contents_box#ranking li:last-child{
    border-bottom: none;
}

#hp #right-sidebar .right_contents_box#ranking li i{
    position: absolute;
    top: 7px;
    left: 5px;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    display: block;
    font-style: normal;
    font-weight: bold;
    line-height: 17px;
    text-align: center;
    width: 18px;
    height: 17px;
}

/*
#hp #right-sidebar .right_contents_box#ranking li i.rank-1,
#hp #right-sidebar .right_contents_box#ranking li i.rank-2,
#hp #right-sidebar .right_contents_box#ranking li i.rank-3{
    background-color: #FA9A1C;
    border-color: #c00;
    color: #fff;
}

#hp #right-sidebar .right_contents_box#ranking li i.rank-4,
#hp #right-sidebar .right_contents_box#ranking li i.rank-5,
#hp #right-sidebar .right_contents_box#ranking li i.rank-6,
#hp #right-sidebar .right_contents_box#ranking li i.rank-7,
#hp #right-sidebar .right_contents_box#ranking li i.rank-8,
#hp #right-sidebar .right_contents_box#ranking li i.rank-9,
#hp #right-sidebar .right_contents_box#ranking li i.rank-10{
    background-color: #efefef;
    border-color: #ccc;
    color: #003377;
}

#hp #right-sidebar .right_contents_box#ranking li i.rank-10{
    letter-spacing: -2px;
    padding: 0 3px 0 0;
}
*/

#hp #right-sidebar .right_contents_box#ranking li a{
    display: block;
}

#hp #right-sidebar .right_contents_box#ranking li a:after{
    display: block;
    clear: both;
    content: "";
}

#hp #right-sidebar .right_contents_box#ranking li a:hover {
    text-decoration: none;
}

#hp #right-sidebar .right_contents_box#ranking a .img_box {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border: 1px  solid #ccc;
    float: left;
    margin: 0 10px 0 0;
}

#hp #right-sidebar .right_contents_box#ranking a:hover .img_box {
    border: 1px solid #0099ff;
}

#hp #right-sidebar .right_contents_box#ranking .img_box img{
    width: 60px;
    height: 60px;
    object-fit: contain;
}

#hp #right-sidebar .right_contents_box#ranking li h3{
    float: left;
    width: 210px;
    font-size: 0.8rem;
    font-weight: normal;
}

#hp #right-sidebar .right_contents_box#ranking li a:hover h3 {
    text-decoration: underline;
}

#hp #right-sidebar .right_contents_box#ranking li a p {
    color: #666;
}

/* -----------------------------------------------------
	トップページ
  -----------------------------------------------------*/
#hp.top #latest_review,
#hp.top #latest_news{
    margin-bottom: 30px;
}

#hp.top #latest_review .title-box h2,
#hp.top #latest_news .title-box h2{
    padding: 5px 10px;
    border: 0;
    background: #024ad8;
    color: #fff;
    font-size: 0.9rem;
    min-height: 32px;
    -webkit-box-shadow: 0px 3px 4px -3px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 3px 4px -3px rgba(0,0,0,0.5);
    box-shadow: 0px 3px 4px -3px rgba(0,0,0,0.5);
    font-weight: normal;
    margin-bottom: 5px;
}

#hp.top #latest_review .c_box {
    padding: 10px 0 10px 10px;
    display: flex;
}

#hp.top #latest_review a .img_box {
    width: 240px;
    height: 180px;
    overflow: hidden;
    border: 1px solid #0d0d5e;
}

#hp.top #latest_review a .img_box img {
    width: 240px;
    height: 180px;
    object-fit: contain;
}

#hp.top #latest_review .text_box {
    width: 480px;
    padding: 0 10px;
    line-height: 19px;
}

#hp.top #latest_review .sub_title {
    font-size: 0.8rem;
    margin-bottom: 3px;
    color: #9f5000;
}

#hp.top #latest_review .text_box h3 a{
    line-height: 1.3;
}

#hp.top #latest_review .text_box .description {
    font-size: 0.80rem;
}

#hp.top #latest_news .news_box .c_box{
    padding: 5px 10px;
}

#hp.top #latest_news .news_box .c_box a{
    display: block;
}

#hp.top #latest_news .news_box .c_box a .text_box{
    width: 100%;
    display: flex;
}

#hp.top #latest_news .news_box .c_box a .text_box time{
    font-size: 0.8rem;
    text-align: right;
    color: #666;
    display: block;
    width: 20%;
}

#hp.top #latest_news .news_box .c_box a:hover{
	text-decoration: none;
	color: #333;
}

#hp.top #latest_news .news_box .c_box a:hover h3{
	text-decoration: underline;
	color: #333;
}

#hp.top #latest_news .news_box .c_box .text_box h3{
    font-size: 0.8rem;
    display: block;
    width: 80%;
    color: #333;
}

#hp.top #latest_news .news_box .c_box .text_box h3 p{
    margin-right: 5px;
}

/* -----------------------------------------------------
	記事アーカイブ
  -----------------------------------------------------*/
#hp.archive .list_box h2{
    font-size: 1.2rem;
    margin-bottom: 15px;
    color:#444;
    font-weight: bold;
}
#hp.archive .list_box ul{
    margin-bottom: 10px;
    padding: 0 5px 10px;
    border-bottom: 1px solid #ccc;
}
#hp.archive .list_box li{
    position: relative;
    padding-left: 12px;
    line-height: 1.2;
    margin-bottom: 5px;
}
#hp.archive .list_box li:before{
    position: absolute;
    top: 1px;
    left: 0;
    font-family: "Font Awesome 5 Free";
    content: "\f0da";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-weight: bold;
    color:#444;
}

/* -----------------------------------------------------
	特集・連載
  -----------------------------------------------------*/
#hp.special #special_title{
    padding: 40px 10px 10px;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #ccc;
    background-color: #F4F5F7;
    position: relative;
    color: #444;
    min-height: 205px;
}
#hp.special #special_title .special_type{
    background-color: #c00;
    color: #fff;
    padding: 0 5px;
    display: inline-block;
    font-size: 1.0rem;
    position: absolute;
    top: 10px;
    left: 10px;
}
#hp.special #special_title h1{
    font-size: 1.4rem;
    color: #000;
    font-weight: 500;
    width: 550px;
}
#hp.special #special_title p.lead{
    font-size: 1.0rem;
    width: 550px;
    margin-bottom: 15px;
}
#hp.special #special_title .special_info{
    position: absolute;
    bottom: 10px;
    width: 710px;
}
#hp.special #special_title .special_info:after{
    display: block;
    clear: both;
    content: "";
}
#hp.special #special_title .author{
    font-size: 0.9rem;
    width: 480px;
    float: left;
}

#hp.special #special_title time{
    font-size: 0.8rem;
    color: #666;
    text-align: right;
    display: block;
    float: right;
    width: 220px;
}
#hp.special #special_title .title_img {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #fff;
}
#hp.special #special_title .title_img img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

#hp.special .special_box {
    padding: 0 10px 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

#hp.special .special_box a:after {
    display: block;
    clear: both;
    content: "";
}

#hp.special .special_box a:hover {
    text-decoration: none;
}

#hp.special .special_box .text_box {
    width: 575px;
    min-height: 125px;
    float: left;
}

#hp.special .special_box .text_box .subtitle {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

#hp.special .special_box .text_box h2 {
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 10px;
    font-weight: 600;
}

#hp.special .special_box .text_box p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

#hp.special .special_box .text_box time {
    font-size: 0.7rem;
    color: #666;
}

#hp.special .special_box a .img_box {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border: 1px solid #ccc;
    float: right;
}

#hp.special .special_box a:hover .img_box {
    border: 1px solid #0099ff;
}

#hp.special .special_box .img_box img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

/* -----------------------------------------------------
	記事詳細ページ
  -----------------------------------------------------*/
#hp.detail #detail_info .author:empty {
    display: none;
}

#hp.detail #detail_info .author:before {
    position: relative;
    top: 0;
    left: 0;
    content: "文●"; 
}

#hp.detail #detail_box {
    word-break: break-all;
}

#hp.detail #detail_box #detail_contents h2,
#hp.detail #detail_box #detail_contents h3 {
    margin: 2em 0 1em;
    padding: 5px 5px 2px 12px;
    font-size: 1.1rem;
    line-height: 1.2;
    font-weight: 600;
    color: #263D5E;
    border-left: 8px solid #263D5E;
    background: #ccc;
    background: -moz-linear-gradient(top, #E8EAEE 0%, #fff 100%);
    background: -webkit-linear-gradient(top, #E8EAEE 0%,#fff 100%);
    background: linear-gradient(to bottom, #E8EAEE 0%,#fff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#E8EAEE', endColorstr='#fff',GradientType=0 );
}

#hp.detail #detail_box #detail_contents .column h2,
#hp.detail #detail_box #detail_contents .column h3 {
    border-left: none;
    background: none;
}

#hp.detail #detail_recommend h2,
#hp.detail #detail_special h2 {
    padding: 5px 10px;
    border: 0;
    background: #024ad8;
    color: #fff;
    font-size: 0.9rem;
    min-height: 32px;
    -webkit-box-shadow: 0px 3px 4px -3px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 3px 4px -3px rgba(0,0,0,0.5);
    box-shadow: 0px 3px 4px -3px rgba(0,0,0,0.5);
    font-weight: normal;
}
