/*HEADER*/
.p-header-nav li:nth-child(6){
    padding-left: 22px;
    margin-left: 5px;
    position: relative;
}

.p-header-nav li:nth-child(6):before{
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 1px;
    height: 22px;
    background: #ddd;
}
.p-header-nav li:nth-child(6):after{
    content: "";
    position: absolute;
    left: 18px;
    top: 17px;
    background: url(http://myksnp385.xsrv.jp/img/icn_login.svg) center no-repeat;
    width: 13px;
    height: 13px;
}
.p-global-nav > li:nth-child(3).menu-item-has-children > .sub-menu {
    border-top: 6px solid #395fc4;
}
.p-global-nav > li:nth-child(3).menu-item-has-children > .sub-menu {
    border-top: 6px solid #395fc4;
}
.p-global-nav > li:nth-child(4).menu-item-has-children > .sub-menu {
    border-top: 6px solid #00b2ec;
}
.p-global-nav > li:nth-child(5).menu-item-has-children > .sub-menu {
    border-top: 6px solid #2e7419;
}
.p-global-nav > li:nth-child(6).menu-item-has-children > .sub-menu {
    border-top: 6px solid #e62943;
}
.p-global-nav > li:nth-child(7).menu-item-has-children > .sub-menu {
    border-top: 6px solid #ff4824;
}
.p-global-nav > li:nth-child(8).menu-item-has-children > .sub-menu {
    border-top: 6px solid #a33aca;
}
.p-global-nav > li:nth-child(9) a{
    padding-left: 38px;
    position: relative;
}
.p-global-nav li:nth-child(9) a:after{
    content: "";
    position: absolute;
    left: 18px;
    top: 22px;
    background: url(https://miyakoshinpo.com/img/icn_login.svg) center no-repeat;
    width: 13px;
    height: 13px;
}

/*TOP PAGE*/
.p-header-blog[data-division="4"] .p-header-blog__item-thumbnail {
    padding-top: 100%;
}
.p-cb__item-header__has-button .p-cb__item-headline,
#cb_2 .p-cb__item-headline{
    padding-left: 29px;
    letter-spacing: .1em;
    position: relative;
}
.p-cb__item-header__has-button .p-cb__item-headline:after,
#cb_2 .p-cb__item-headline:after{
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
}
.p-cb__item-header__has-button .p-cb__item-headline:after{
    background: url(https://miyakoshinpo.com/img/icn_new.svg) center no-repeat;
}
#cb_2 .p-cb__item-headline:after{
    background: url(https://miyakoshinpo.com/img/icn_news.svg) center no-repeat;
}
#ranking_list_widget-5 h2,
#styled_post_list1_widget-2 h2,
#styled_post_list1_widget-3 h2,
#styled_post_list1_widget-4 h2{
    padding-left: 29px;
    letter-spacing: .1em;
    position: relative;
}
#ranking_list_widget-5 h2::after,
#styled_post_list1_widget-2 h2:after,
#styled_post_list1_widget-3 h2:after,
#styled_post_list1_widget-4 h2:after{
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
}
#ranking_list_widget-5 h2:after{
    background: url(https://miyakoshinpo.com/img/icn_ranking.svg) center no-repeat;
}
#styled_post_list1_widget-2 h2:after{
    background: url(https://miyakoshinpo.com/img/icn_attention.svg) center no-repeat;
}
#styled_post_list1_widget-3 h2:after{
    background: url(https://miyakoshinpo.com/img/icn_feature.svg) center no-repeat;
}
#styled_post_list1_widget-4 h2:after{
    background: url(https://miyakoshinpo.com/img/icn_pickup.svg) center no-repeat;
}

/*FOOTER*/
.l-footer {
    margin-top: 120px;
}
.l-footer .styled_post_list1_widget h2{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: .1em;
}
.p-footer__logo .p-logo img{
    width: 200px;
}
.p-footer-nav li + li::before{
    margin-left: 15px;
    margin-right: 18px;
    color: #ccc;
}
@media screen and (max-width: 991px) , (max-device-width : 991px) {
    .p-global-nav li:nth-child(9) a:after{
        top: 16px;
    }
}

/*会社案内*/
#site_wrap .p-entry__body h2{
    font-size: 20px;
    margin: 40px 0 30px;
    color: #000;
}
#site_wrap .p-entry__body h3{
    font-size: 18px;
    margin-bottom: 20px;
    color: #000;
}
#site_wrap .p-entry__body p{
    margin-bottom: 40px;
}
#site_wrap .p-entry__body .wp-block-separator{
    margin: 40px 0;
}
#site_wrap hr.wp-block-separator{
    border-top: 1px solid #ddd;
    border-bottom: none;
}
#site_wrap .p-entry__body iframe{
    width: 100%;
}
#site_wrap .staff-area .staff-box{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 40px 0;
}
#site_wrap .staff-area .staff-box .image-staff{
    width: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 40px;
}
#site_wrap .staff-area .staff-box .text-staff{
    width: calc(100% - 190px);
}
#site_wrap .staff-area .staff-box .text-staff p{
    margin-bottom: 0;
    font-size: .9em;
}
#site_wrap .p-entry__body h4 {
    font-size: 100%;
    font-weight: 700;
}
@media screen and (max-width: 991px) , (max-device-width : 991px) {
    #site_wrap .staff-area .staff-box .text-staff{
        width: 100%;
    }
    #site_wrap .staff-area .staff-box .image-staff{
        margin: 0 auto;
    }
    #site_wrap .p-entry__body h4{
        text-align: center;
        margin-top: 15px;
        margin-bottom: 10px;
    }
}

/*購読申込 / 会員登録 / 広告プラン*/
.page-id-1575 .p-entry__body td, .page-id-1575 .p-entry__body th,
.page-id-1677 .p-entry__body td, .page-id-1677 .p-entry__body th,
.page-id-1681 .p-entry__body td, .page-id-1681 .p-entry__body th,
.page-id-49 .p-entry__body td, .page-id-49 .p-entry__body th{
	padding: 20px 15px;
    line-height: 1.8;
	font-size: .8em;
}
.page-id-1575 .p-entry__body tr:first-child td,
.page-id-1677 .p-entry__body tr:first-child td,
.page-id-1681 .p-entry__body tr:first-child td,
.page-id-49 .p-entry__body tr:first-child td{
	font-weight: 700;
}
.page-id-1575 .p-entry__body tr:first-child td:first-child,
.page-id-1677 .p-entry__body tr:first-child td:first-child,
.page-id-1681 .p-entry__body tr:first-child td:first-child,
.page-id-49 .p-entry__body tr:first-child td:first-child{
	 width: 120px;
}
.p-entry__body td.line{
    text-decoration: line-through;
}
.page-id-1575 .p-entry__body td span.red,
.page-id-1677 .p-entry__body td span.red,
.page-id-1681 .p-entry__body td span.red,
.page-id-49 .p-entry__body td span.red{
	background: #EB1C24;
	padding: 5px;
	color: #fff;
}
.page-id-1575 .p-entry__body td span.br,
.page-id-1677 .p-entry__body td span.br,
.page-id-1681 .p-entry__body td span.br,
.page-id-49 .p-entry__body td span.br{
	background: #754C24;
	padding: 0px 5px;
    color: #fff;
    margin-top: 3px;
    display: inline-block;
}
.page-id-1575 .p-entry__body td span.bk,
.page-id-1677 .p-entry__body td span.bk,
.page-id-1681 .p-entry__body td span.bk,
.page-id-49 .p-entry__body td span.bk{
	background: #000;
    padding: 0px 5px;
    color: #fff;
    margin-top: 3px;
    display: inline-block;
}
.page-id-151 .p-entry__body span.bk{
	background: #000;
    padding: 10px;
    color: #fff;
    display: inline-block;
	line-height: 1.5;
	font-size: .8em;
}
.page-id-49 .p-entry__body ul{
	margin: 0 0 40px 0;
}
.page-id-49 .p-entry__body li{
	background: #000;
    padding: 5px 10px;
    margin-top: 10px;
    display: table;
    color: #fff;
    list-style: none;
}
.page-id-1575 .p-entry__body a,
.page-id-1677 .p-entry__body a,
.page-id-1681 .p-entry__body a,
.page-id-151 .p-entry__body a{
    background: #29A9E0;
    color: #fff;
    padding: 15px;
    transition: .3s all ease;
}
.page-id-1575 .p-entry__body a:hover,
.page-id-1677 .p-entry__body a:hover,
.page-id-1681 .p-entry__body a:hover,
.page-id-151 .p-entry__body a:hover{
	background: #2483ac;
}
.page-id-49 .stripe-button-el,
.page-id-1681 .stripe-button-el{
        height: auto;
    line-height: 1.2em;
    color: #fff;
    padding: 15px;
    transition: .3s all ease;
    background: #29A9E0;
    border-radius: initial;
    border: none;
}
.page-id-49 .stripe-button-el span,
.page-id-1681 .stripe-button-el span{
    background: none;
    height: auto;
    line-height: 1.3;
    text-shadow: 0 0 black;
    border-radius: 0;
    box-shadow: 0 0;
}
.page-id-49 .stripe-button-el:hover,
.page-id-1681 .stripe-button-el:hover{
	background: #2483ac;
}
@media screen and (max-width: 1310px) , (max-device-width : 1310px) {
	.page-id-1575 .p-entry__body table,
	.page-id-1677 .p-entry__body table,
	.page-id-1681 .p-entry__body table,
	.page-id-49 .p-entry__body table{
		width: 600px;
	}
}

/*ギャラリー*/
.temp-gallery .more{
	transition: .3s all ease;
	overflow: hidden;
}
.temp-gallery .more a{
	position: relative;
	display: block;
    text-align: center;
    background: #395fc4;
    color: #fff;
    padding: 15px;
	transition: .3s all ease;
}
.temp-gallery .more a:hover{
	background: #25428e;
}
.temp-gallery .more a:before,
.temp-gallery .more a:after{
	position: absolute;
    right: 0;
    top: 0;
    display: flex;
    content: "\02228";
    background: #25428e;
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    height: 100%;
    align-items: center;
}
.temp-gallery .more a:after{
	right: initial;
    top: 0;
	left: 0;
}
.more-g-box{
	transition: .3s all ease;
	overflow: hidden;
}

/*各アカウントページ */
/*会員登録*/
.page-id-50 .p-entry__body td,
.page-id-50 .p-entry__body th,
.page-id-52 .p-entry__body td,
.page-id-52 .p-entry__body th{
	padding: 20px 15px;
}
.page-id-50 .swpm-section input[type="text"],
.page-id-50 .swpm-section input[type="email"],
.page-id-50 .swpm-section input[type="password"],
.page-id-51 .swpm-login-widget-form input,
.page-id-52 .swpm-section input[type="text"],
.page-id-52 .swpm-section input[type="email"],
.page-id-52 .swpm-section input[type="password"],
.page-id-53 .swpm-pw-reset-email-input input[type="text"]{
    border: none;
    background: #eee;
    padding: 10px;
}
.page-id-50 .swpm-section input[type="text"],
.page-id-50 .swpm-section input[type="email"],
.page-id-50 .swpm-section input[type="password"],
.page-id-52 .swpm-section input[type="text"],
.page-id-52 .swpm-section input[type="email"],
.page-id-52 .swpm-section input[type="password"]{
    width: 100%;
}
.page-id-50 .swpm-legend,
.page-id-52 .swpm-legend{
    display: none;
}
.page-id-50 input.swpm-submit,
.page-id-51 .swpm-login-submit input,
.page-id-52 input.swpm-submit,
.page-id-53 .swpm-pw-reset-submit-button input{
    position: relative;
    display: block;
    width: 225px;
    height: 48px;
    margin: auto 0;
    background-color: #333333;
    cursor: pointer;
    border: none !important;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.page-id-50 input.swpm-submit:hover,
.page-id-51 .swpm-login-submit input:hover,
.page-id-52 input.swpm-submit:hover,
.page-id-53 .swpm-pw-reset-submit-button input:hover{
	opacity:0.7;
}
.swpm-form-builder ul li{
    font-size: 1.1em;
}
.swpm-username-input, .swpm-password-input{
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}
.page-id-51 .p-entry__body a {
    color: #777;
	 -webkit-transition: all .3s;
    transition: all .3s;
}
.page-id-51 .p-entry__body a:hover {
	opacity:0.7;
}
.page-id-51 .swpm-logged-label{
	border-bottom: 1px solid #ddd;
	padding: 15px;
}
.page-id-51 .swpm-logged-value{
	border-bottom: 2px solid #555;
	padding: 15px;
}
.page-id-51 .swpm-edit-profile-link{
	padding: 15px 10px 0;
}
.page-id-51 .swpm-logged-logout-link{
	padding: 15px;
}
/*新聞広告ガイド*/
.page-id-4687 #site_wrap h2{
    font-size: 24px;
}
.page-id-4687 h2,
.page-id-4687 h3{
    font-weight: 700;
}
.page-id-4687 tbody td{
    border: 1px solid #fff;
    background: #bfdcf3;
    color: #333;
}