/*
 Theme Name:   zoomy_child
 Description:  zoomy_child Theme
 Author:       John Doe
 Template:     zoomy_tcd067
 Version: 2.0.4
*/


/* 写真フルサイズ */
.l-inner {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 100%;
    max-width: 1200px; }

@media only screen and (max-width: 991px) {
	.l-main { padding-bottom: 40px; padding-top: 0px; }
}

/* 記事単独ページの文字の余白 */
.p-entry-photo__inner { width: 88.8888%; }

/* フッター余白 */
.p-footer-widget-area .p-footer-widget-area__inner { padding: 0 22px; }

/* 投稿者を上にするやつ */
.p-blog-archive__item-author {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    margin-top: 13px;
    padding: 0 15px 12px;
}

.p-blog-archive__item-title {
    -webkit-flex: 1 0 auto;
    flex: 1 0 auto;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 15px;
    max-height: 3em;
    overflow: hidden;
    padding: 27px 22px 0px;
}

.p-blog-archive__item-counts {
    line-height: 1;
    margin: 12px 0 0 0 !important;
    padding: 0 22px;
    pointer-events: none;
    text-align: left;
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    z-index: 3;
}

.p-blog-archive__item.has-counts a {
    padding-bottom: 0px; 
}

/* スマホフルサイズにするやつ */
@media only screen and (max-width: 991px) {
	.p-blog-archive__item a {
        display: block;
        height: auto;
        overflow: hidden;
        padding-bottom: 0 !important;
    }
	.p-blog-archive__item-thumbnail {
        float: left;
        width: 100%;
    }
	.p-blog-archive__item-title {
        font-size: 14px;
        font-weight: 400;
        margin-left: 0px;
        margin-top: 0px;
        max-height: 4.5em;
        padding: 37px 12px 0px;
    }
	.p-blog-archive__item-author {
        font-size: 12px;
        margin: 12px;
        padding: 0;
        position: static;
    }
	.p-blog-archive__item.has-counts .p-blog-archive__item-author {
        bottom: 37px;
    }
	.p-blog-archive__item-counts {
        font-size: 12px;
        padding: 0;
        text-align: left;
        white-space: nowrap;
        bottom: 45px;
        left: 12px;
        right: auto;
    }
	.p-blog-archive__item-counts li + li {
        margin-left: 4px !important;
    }
	.p-blog-archive__sort {
        margin-bottom: 20px;
    }
	.p-blog-archive__sort-item {
        height: 47px;
        line-height: 45px;
        text-align: center;
    }
	.p-blog-archive__sort-item span {
        padding: 0;
    }
    .p-above-footer-widget-area .p-blog-archive__item::after {
    border-bottom: 1px solid #ddd;
    border-top: 0px none;
    border-right: 0px none;
    border-left: 0px none;
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0; z-index: 1; }

    .p-cb__item .p-index-archive .p-blog-archive__item::after {
    border-bottom: 1px solid #ddd;
    border-top: 0px none;
    border-right: 0px none;
    border-left: 0px none;
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; top: 0; z-index: 1; }
    
    .p-blog-archive__item::after { 
    border-bottom: 1px solid #ddd;
    border-top: 0px none;
    border-right: 0px none;
    border-left: 0px none;
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; top: 0; z-index: 1; }
}

/* 枠線消し */
@media (min-width: 992px) {
    .p-above-footer-widget-area .p-blog-archive__item::after {
    border: 0px solid #ddd;
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0; z-index: 1; }

    .p-cb__item .p-index-archive .p-blog-archive__item::after { border: 0px solid #ddd; content: ''; position: absolute; bottom: 0; left: 0; right: 0; top: 0; z-index: 1; }
    }

/* 広告バナーの隙間消し */
@media only screen and (max-width: 1023px) {
	.p-index-ad--2ads { -webkit-box-direction: normal; -webkit-flex-direction:column; -ms-flex-direction:column; flex-direction:column; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; }
	.p-index-ad__item:nth-child(2) { margin-top: 0px; }
}
@media only screen and (max-width: 991px) {
	.p-index-ad__item:nth-child(2) { margin-top: 0px; }
}

/* ヘッドラインニュースの余白 */
.p-index-newsticker__inner { padding: 12px; }

/* カテゴリタイトルとサブタイトルの余白 */
.p-page-header__title + .p-page-header__desc { padding: 0 12px 0; }

/* ログイン */
@media only screen and (max-width: 991px) {
	.p-membership-form__login-username { margin-bottom: 20px !important; }
}
@media (min-width: 992px) {
	.l-main.has-bg--pc .p-membership-form input[type="username"] { background: #fff; }
}
@media only screen and (max-width: 991px) {
	.p-membership-form input[type="username"] { height: 40px; line-height: 38px; padding: 0 20px; }
}
.p-membership-form input[type="username"] { background: #eee; border: 1px solid #ddd; height: 50px; line-height: 48px; padding: 0 20px; width: 100%; }

/* ios form */
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
	input[type="text"], input[type="email"], input[type="username"], input[type="url"], input[type="password"], input[type="number"], textarea, select { font-size: 16px !important; }
	.p-membership-form input[type="text"], .p-membership-form input[type="email"], .p-membership-form input[type="username"], .p-membership-form input[type="url"], .p-membership-form input[type="password"] { line-height: normal; padding-top: 0.15em; }
	.p-membership-form input[type="text"]::-webkit-input-placeholder, .p-membership-form input[type="email"]::-webkit-input-placeholder, .p-membership-form input[type="username"]::-webkit-input-placeholder, .p-membership-form input[type="url"]::-webkit-input-placeholder, .p-membership-form input[type="password"]::-webkit-input-placeholder { height: inherit; line-height: normal; padding-top: 3px; }
}
