/*
 Theme Name:   ego_welcart_tcd079-child
 Description:  ego_welcart_tcd079 child Theme
 Author:       Joto
 Template:     ego_welcart_tcd079
 Version:      1.5.1
 Text Domain:  ego_welcart_tcd079-child
*/
/* -------------------------
   Reset
------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, .tax {
    font-weight: 500;
}

/* -------------------------
   共通
------------------------- */
@media screen and (max-width: 750px) {
    .sp_none {
        display: none;
    }
}

div.p-archive03__item-thumbnail {
    padding-top: 100%;
}
div.p-archive03__sort-filter__item-title::after {
    top: 0;
}
/* div.p-archive03__item-thumbnail__image {
    background-size: 90%;
} */

/* カテゴリーページ ヘッダータイトル非表示 */
.archive.category .p-page-header .p-page-header__title,
.archive.category .p-page-header .p-float-category {
    display: none;
}
.p-page-header__image .p-page-header__overlay {
    background-color: transparent !important;
}

/* 商品詳細ページ */
.p-entry-product__tab-content__desc.p-body strong {
    font-weight: bold;
}


/* バナー */
.p-body .new_member_campaign_bnr a:hover {
    opacity: 0.6;
}

/* ナビ */
@media screen and (min-width: 992px) {
    .p-global-nav {
        font-size: 12px;
    }
    .p-global-nav > li {
        flex: 0 1 140px;
    }
    .p-header__lower-inner a, .p-global-nav > li > a {
        font-weight: bold;
    }
    .p-global-nav .sub-menu a {
        padding: 10px 20px;
    }
    /* pcのみ非表示 */
    #menu-item-1230,#menu-item-1231,#menu-item-1232,
    #menu-item-1233,#menu-item-1234,#menu-item-1235,
    #menu-item-1236,#menu-item-1237 {
        display: none;
    }

}
@media screen and (max-width: 991px) {
    #menu-item-1230,#menu-item-1231,#menu-item-1232,
    #menu-item-1233,#menu-item-1234,#menu-item-1235,
    #menu-item-1236,#menu-item-1237 {
        display: block;
    }
}

/* 下層ページタイトル */
.p-entry__title {
    background-color: #348858;
    color: #fff;
    padding: 10px 16px;
}
.p-body h2 {
    background-color: #40210F;
    color: #fff;
    padding: 10px 16px;
    font-size: 115%;
    font-weight: bold;
}
.p-body h3 {
    margin-bottom: 14px;
    font-size: 115%;
    font-weight: bold;
    color: #432717;
}
.p-body h4 {
    margin-bottom: 14px;
    font-size: 105%;
    font-weight: bold;
}

.p-body ul {
    font-size: 14px;
    list-style-type: disc;
}
.p-body p {
    font-size: 14px;
    line-height: 32px;
}
.p-body p strong span {
    font-weight: bold;
}

/* ページの余白削除 */
.p-entry-page__inner {
    padding: 0;
    border: none;
}

/* デフォルトグループ 余白調整 */
.wp-block-group {
    margin-bottom: 60px;
}
.wp-block-gallery .blocks-gallery-grid {
    margin: 0;
}
@media screen and (max-width: 750px) {
    .wp-block-group {
        margin-bottom: 40px;
    }
}

/* ウィジェット */
/* リンク色変更 */
.p-widget-categories li a {
    color: #333333 !important;
    font-weight: bold;
}
/* タイトル テキストから画像へ */
.p-widget-sidebar .p-widget__title {
    width: 250px;
    height: 60px;
    margin: 0 auto 20px;
    background: url("./img/widget_title_ulindeck.jpg") center center no-repeat;
    background-size: contain;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
/* .p-widget-sidebar#tcdw_product_category_list_widget-4 .p-widget__title{
    background-image: url("./img/widget_title_luminoglass.jpg");
}
.p-widget-sidebar#tcdw_product_category_list_widget-3 .p-widget__title{
    background-image: url("./img/widget_title_luxiron.jpg");
}
.p-widget-sidebar#tcdw_product_category_list_widget-6 .p-widget__title{
    background-image: url("./img/widget_title_tile.jpg");
}
.p-widget-sidebar#tcdw_product_category_list_widget-7 .p-widget__title{
    background-image: url("./img/widget_title_osb.jpg");
} */

/* カテゴリ並び替え後 ウィジェット＋サイドバー設定*/
.p-widget-sidebar#nav_menu-4 .p-widget__title {/* ガラスブロック */
    background-image: url("./img/widget_title_luminoglass.jpg");
}
.p-widget-sidebar#nav_menu-3 .p-widget__title {/* ロートアイアン */
    background-image: url("./img/widget_title_luxiron.jpg");
}
.p-widget-sidebar#nav_menu-2 .p-widget__title {/* スペインタイル */
    background-image: url("./img/widget_title_tile.jpg");
}

.p-widget-sidebar ul {
    background: #fff;
    border: 1px solid #D8D8D8;
    border-top: none;
    margin: 0;
    padding: 0;
}
.p-widget-sidebar li {
    border-top: 1px solid #D8D8D8;
    margin: 0;
}
.p-widget-sidebar li a {
    display: block;
    line-height: 1.31;
    padding: 20px 22px;
    text-decoration: none;
    color: #333333;
    font-weight: bold;
}
.p-widget-sidebar li a:hover {
    background: #f5f5f5;
}
@media screen and (max-width: 750px) {
    .p-widget-sidebar .p-widget__title {
        width: 100%;
        height: auto;
        padding-top: 24%;
        background-size: 100%;
    }
}
.p-widget-categories, .p-widget-categories li {
    border-color: #D8D8D8;
}


/* table */
.p-body .form td, .p-body .form th {
    width: 100%;
    border-color: #ccc;
    text-align: left;
}
/* .p-body th {
    width: 20%;
    text-align: left;
} */
.page-id-112 .p-body th,
.page-id-104 .p-body th {
    width: 20%;
    text-align: left;
}
.p-body .form th {
    width: 25%;
    font-weight: 500;
    background-color: #f0f0f0;
}
@media screen and (max-width: 750px) {
    .p-body .p-wc-customer_form th, .p-body .p-wc-customer_form td,
    .page-id-112 .p-body th, .page-id-112 .p-body td,
    .page-id-104 .p-body th, .page-id-104 .p-body td,
    .p-body .form td, .p-body .form th {
        display: block;
        width: 100% !important;
    }
    .p-body .p-wc-customer_form th,
    .page-id-112 .p-body th,
    .page-id-104 .p-body th,
    .p-body .form th {
        border-top: none;
    }
    .p-body .p-wc-customer_form tr:first-child th,
    .page-id-112 .p-body tr:first-child th,
    .page-id-104 .p-body tr:first-child th,
    .p-body .form tr:first-child th {
        border-top: 1px solid #ccc;
    }
    .p-body .p-wc-customer_form td,
    .page-id-112 .p-body td,
    .page-id-104 .p-body td,
    .p-body .form td {
        border-top: none;
    }
    .p-body .p-wc-customer_form tr:last-child td,
    .page-id-112 .p-body tr:last-child td,
    .page-id-104 .p-body tr:last-child td,
    .p-body .form tr:last-child td {
        border-bottom: 1px solid #ccc;
    }
}



/* -------------------------
   トップページ
------------------------- */
/* スライダー */
.p-header-slider__item .p-header-content__catch {
    text-shadow: 3px 3px 2px rgba(4,0,0,0.8) !important;
}

/* ランキング */
.p-body .top_ranking .p-archive03__item {
    counter-increment: rank;
    position: relative;
}
.p-body .top_ranking .p-archive03__item::before {
    content: counter(rank);
    width: 40px;
    height: 40px;
    background: #C7B66E;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 50;
}
.p-body .top_ranking .p-archive03__item:nth-child(2n):before {
    background: #A1A1A1;
}
.p-body .top_ranking .p-archive03__item:nth-child(3n):before {
    background: #A78361;
}
.p-body .top_ranking .p-archive03__item:nth-child(4n):before {
    background: #BBBBBB;
}

.p-body .top_ranking .p-archive03__item p:last-child,
.p-body .top_ranking .p-archive03__item a p:first-child {
    display: none;
}

.p-body .top_ranking .ranking__thumbnail {
    padding: 13px 16px;
    border: 1px solid #ccc;
}

.p-body .top_ranking .ranking__thumbnail p {
    display: none;
}
.p-body .top_ranking h2.p-cb__item-headline {
    margin: -0.2em 0;
    padding: 0;
    color: #333333;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.4;
    background: none;
    text-align: center;
}
.p-body .top_ranking div.p-archive03__item-thumbnail {
    padding-top: 100%;
}
.p-body .top_ranking p.p-article__meta {
    margin-bottom: 3px;
    font-size: 12px;
    line-height: 1.8;
    color: #333;
}
.p-body .top_ranking h3.p-article__title {
    margin-bottom: 0;
    font-weight: 700;
    max-height: 3.6em;
    overflow: hidden;
    word-break: break-all;
}
.p-body .top_ranking p.p-article__price {
    margin-top: 3px;
    color: #333;
    line-height: 1.8;
}


/* 8ブロック */
.p-cb__item--8blocks .p-cb__item-content {
    margin-top: 30px;
}
.p-cb__item--8blocks .p-cb__item-headline {/*cb_6*/
    width: 523px;
    height: 66px;
    margin: 0 auto;
    background: url("./img/title_ulindeck.png") center center no-repeat;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
#cb_7.p-cb__item--8blocks .p-cb__item-headline {
    width: 375px;
    height: 111px;
    background: url("./img/title_luxiron.png") center center no-repeat;
}
#cb_8.p-cb__item--8blocks .p-cb__item-headline {
    width: 438px;
    height: 85px;
    background: url("./img/title_luminoglass.png") center center no-repeat;
}
@media screen and (max-width: 750px) {
    .p-cb__item--8blocks .p-cb__item-content {
        margin-top: 10px;
    }
    .p-cb__item--8blocks .p-cb__item-headline {
        width: 100%;
        height: auto;
        padding-top: 12.61%;
        background-size: 100%;
    }
    #cb_7.p-cb__item--8blocks .p-cb__item-headline {
        width: 100%;
        height: auto;
        padding-top: 29.6%;
        background-size: 100%;
    }
    #cb_8.p-cb__item--8blocks .p-cb__item-headline {
        width: 100%;
        height: auto;
        padding-top: 19.4%;
        background-size: 100%;
    }
}
.p-cb-blocks__info {
    padding: 16px 14px;
    background: url("./img/title_ulindeck_bg.png") left top repeat;
}
#cb_7 .p-cb-blocks__info {
    background: url("./img/title_luxiron_bg.png") left top repeat;
}
#cb_8 .p-cb-blocks__info {
    background: url("./img/title_luminoglass_bg.png") left top repeat;
}
.p-cb-blocks__catch {
    font-size: 25px;
    letter-spacing: -1px;
}
@media screen and (max-width: 991px) {
    .p-cb-blocks__catch {
        font-size: 21px;
    }
}
@media screen and (max-width: 750px) {
    .p-cb-blocks__info {
        padding: 10px;
    }
    .p-cb-blocks__catch {
        font-size: 16px;
        letter-spacing: 0;
    }
}


/* -------------------------
   固定ページ  共通
------------------------- */
.wp-block-image.page_img_main {
    margin-bottom: 40px;
}
.wp-block-group.page_img_wrap .wp-block-group__inner-container {
    display: flex;
    flex-wrap: wrap;
}
.wp-block-group.page_img_wrap .wp-block-image {
    width: calc((100% - 60px) / 3);
    max-width: 250px;
    margin-right: 30px;
}
.wp-block-group.page_img_wrap .wp-block-image:nth-child(3n) {
    margin-right: 0;
}
.wp-block-group.page_img_wrap .wp-block-image figcaption {
    font-weight: bold;
    line-height: 1.8em;
}
.wp-block-group.page_img_wrap .wp-block-image a:hover {
    opacity: 0.6;
}

@media screen and (max-width: 750px) {
    .wp-block-image.page_img_main {
        margin-bottom: 20px;
    }
    .wp-block-group.page_img_wrap .wp-block-group__inner-container {
        display: block;
    }
    .wp-block-group.page_img_wrap .wp-block-image {
        width: 100%;
        max-width: initial;
        margin-right: 0;
    }
    .wp-block-group.page_img_wrap .wp-block-image img {
        width: 100%;
    }
}


/* -------------------------
   施工例
------------------------- */
.wp-block-group.works_top .wp-block-image {
    margin-bottom: 40px;
}
.wp-block-group.works_top .wp-block-image a:hover {
    opacity: 0.6;
}
.wp-block-group.works_img .wp-block-image {
    margin-bottom: 13px;
}


/* -------------------------
   オーダーメイド
------------------------- */
/* 共通 */
.wp-block-group.order_interview {
    padding: 30px;
    background-color: #F4E8DA;
}
.wp-block-group.order_interview .wp-block-image {
    margin-bottom: 25px;
    text-align: center;
}
.wp-block-group.order_interview .p-body h3 {
    margin-bottom: 8px;
}
@media screen and (max-width: 750px) {
    .wp-block-group.order_interview {
        padding: 15px;
    }
}


/* -------------------------
   当社について
------------------------- */
/* Google map埋め込み */
.map_wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}
.map_wrap iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}


/* -------------------------
   ご利用ガイド
------------------------- */
.page_link_btn {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.page_link_btn a {
    display: block;
    margin: 0 20px 20px 0;
    padding: 6px 10px;
    border: 1px solid #348858;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #348858 !important;
    transition-duration: 0.3s;
}
.page_link_btn a:last-child {
    margin-right: 0;
}
.page_link_btn a:hover {
    background-color: #348858;
    color: #fff !important;
    transition-duration: 0.3s;
}
.wp-block-group.use_link {
    margin-top: -140px;
    padding-top: 140px;
}
@media screen and (max-width: 991px) {
    .wp-block-group.use_link {
        margin-top: -110px;
        padding-top: 110px;
    }
}
@media screen and (max-width: 750px) {
    .page_link_btn {
        margin-bottom: 5px;
    }
    .page_link_btn a {
        margin: 0 10px 10px 0;
        padding: 4px 7px;
    }
}


/* -------------------------
   よくある質問
------------------------- */
.p-body p.pdf_link::before {
    content: url("./img/pdf_icon.png");
    width: 15px;
    height: 18px;
    vertical-align: middle;
}
.p-body p.pdf_link a {
    padding: 0 5px;
}


/* -------------------------
   お問い合わせ
------------------------- */
/* フォーム */
.form input,.form textarea, .form select,
.form_item input, .form_message textarea {
	width: 100%;
	padding: 12px 10px;
	border: 1px solid #ccc;
}
.form select {
	width: auto;
}
.form input[type="checkbox"],
.form input[type="radio"] {
	width: auto;
}
.form {
    margin: 0 auto;
}
.form_item p {
	margin-bottom: 0;
}
.form_right_wrap, .form_right {
    display: flex;
    align-items: center;
}
.form_right {
    margin-right: 10px;
}
.right_text {
    margin-right: 10px;
}
.form_item.kana .right_text {
    white-space: nowrap;
}
.right_input {
    max-width: 10em;
}

.form_request {
	line-height: 44px;
}

.form_item.add .add_01,
.form_item.mail .mail_02 {
    margin-top: 10px;
}
.form_item.add .right_input {
    max-width: initial;
    margin-right: 0;
}

.form_privacy-policy p:last-child {
    display: none;
}
p.form_privacy-policy_text {
	margin-bottom: 1em;
	line-height: 1.5;
}
.form_privacy-policy_text p:last-child {
    display: none;
}
p.form_privacy-policy_text a {
	color: #c5211f;
}
p.form_privacy-policy_text a:hover {
	color: #e45250;
}
.form_privacy-policy_required {
	justify-content: flex-start;
	align-items: baseline;
	width: 100%;
}
.form_privacy-policy_required .mwform-checkbox-field-text {
	margin-right: 10px;
	font-weight: bold;
}
.form_required {
	font-size: 14px;
    font-weight: bold;
    color: #ff3333;
}
.form_attention {
	color: #ff3333;
	font-size: 14px;
    font-weight: bold;
}

.form_button_wrap {
    text-align: center;
    margin-top: 50px;
}
.form_button_wrap .form_button {
	display: inline-block;
}
.form_button_wrap p {
	display: none;
}
.form_button_wrap input[type="submit"] {
	width: 260px;
	margin: 0 auto;
	padding: 1em 2em;
	background: #348858;
	color: #fff;
	font-weight: bold;
	border: none;
	cursor: pointer;
}
.form_button_wrap input[type="submit"]:hover {
	background: #246647;
}
.page-id-100 .form_button_wrap .form_back_button {
    display: none;
}

/* エラー */
.mw_wp_form .error {
	margin: 8px 0;
	color: #ff3333;
}

@media screen and (max-width: 750px) {
    .form_right_wrap {
        display: block;
    }
    .form_right_wrap p:last-child {
        display: none;
    }
    .form_right {
        margin-right: 0;
    }
    .form_right:first-child {
        margin-bottom: 10px;
    }
    .form_item.add .right_text {
        width: 100%;
    }
    .right_text,
    .form_item.zip .form_right .right_text {
        margin-right: 10px;
    }
    .right_input {
        width: 100%;
        max-width: initial;
    }
    .form_button_wrap {
        margin-top: 30px;
    }
}

/* 確認ページ */
.page-id-125 .form .right_text,
.page-id-125 .form .form_item.mail .form_attention,
.page-id-125 .form .form_message .form_attention {
    display: none;
}
.form_button_wrap .form_back_button {
    margin-right: 30px;
}
.form_button_wrap .form_back_button .contact_back_btn {
	background-color: #999;
}
.form_button_wrap .form_back_button .contact_back_btn:hover {
	background-color: #ccc;
}

@media screen and (max-width: 750px) {
    .form_button_wrap {
        margin-top: 30px;
    }
    .form_button_wrap .form_back_button {
        margin-right: 0;
        margin-bottom: 30px;
    }
}


/* -------------------------
   カートページ
------------------------- */
div.p-wc-cart-page .p-wc-cart_table td.quantity input.quantity {
    width: 80px;
    padding-left: 10px;
    text-align: right;
}
.p-wc-headline, .p-wc h2.p-wc-headline,
.p-wc-headline02, .p-wc h2.p-wc-headline02 {
    padding-bottom: 16px;
    line-height: 1;
}
@media screen and (max-width: 750px) {
    .p-wc-headline, .p-wc h2.p-wc-headline,
    .p-wc-headline02, .p-wc h2.p-wc-headline02 {
        padding-bottom: 10px;
    }
}

/* -------------------------
   会員ページ 文字色調整
------------------------- */
.page-id-38 .p-wc-header_explanation {
    color: red;
    font-weight: bold;
}

.page-id-38 .p-body .p-wc-header_explanation ul {
    color: #333;
    font-weight: 500;
}

/* 会員登録画面 会社名 */
.p-wc .p-wc-customer_form tr.customkey_company-name input[type="text"] {
    width: 100%;
}




/* 完了ページ */
.main-content {
    width: calc(100% - 250px - 3.333%);
    max-width: 1110px;
    margin: 60px auto;
}

.main-content h1.entry-title {
    margin-bottom: 30px;
    padding: 10px 16px;
    background-color: #348858;
    font-size: 24px;
    color: #fff;
}
.main-content .entry-content h3 {
    margin-bottom: 14px;
    font-size: 115%;
    font-weight: bold;
    color: #432717;
}
.main-content .entry-content .post {
    line-height: 2.4;
}
.main-content .send {
    text-align: center;
}
.main-content .back_to_top_button {
    background-color: #348858;
    border: none;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    height: 60px;
    line-height: 60px;
    min-width: 240px;
    overflow: hidden;
    padding: 0 20px;
    text-align: center;
}
.main-content .back_to_top_button:hover {
    opacity: 0.6;
}

/* 決済エラーページ */
#coml-page h2, #error-page h2 {
    margin-bottom: 14px;
    font-size: 115%;
    font-weight: bold;
    color: #432717;
    background: none;
}