/*
 Theme Name:   e_ver004 Child
 Description:  e_ver004の子テーマ
 Author:       adminadmin
 Template:     e_ver004
 Version:      1.0.0
*/

/* =============================================
COLOR OPTION（カラーオプション） 
==============================================*/
:root {
    --white: #ffffff;
    --black: #333333;
    --main-black: #313131;
    --main-blue: #7FAAD0;
    --main-beige: #c1b78c;
    --main-green: #249D57;
    --main-navy: #01355C;
    --main-apricot: #fcbb4e;
    --main-pink: #f3bdbf;
    --main: #9E2328;
}

/* =============================================
3BOX（TOP3BOX） 
==============================================*/
/* おすすめポイントの高さ調整 */

.sec-3box .wrapper .box .name {
    /* 	min-height: 70px; */
}

.sec-3box .wrapper .box .point {
    /*     min-height: 125px; */
}

.sec-3box .wrapper .box .name {
    /* 	min-height: 70px; */
}

.sec-3box .wrapper .box .content {
    /* 	min-height: 50px; */
    min-height: unset;
}


/* =============================================
検索機能装飾
==============================================*/
.nxrc-search-form table tr th,
.search .nxrc-fields th {
    background-color: var(--main-navy) !important;
    /*検索ボックステーブルの見出しの背景色*/
    color: white !important;
    /*検索ボックステーブルの見出しテキストの色*/
}

.nxrc-search-button button {
    background-color: #32b16c !important;
    /*ボタンから*/
    color: #ffffff !important;
    /*ボタンテキストのカラー*/
}

/*********************************
3BOX(セレクション)
*********************************/
/* ボタンカラー */
/* [class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-btn_1 a {
	background-color: red !important; 
	border-color: red !important; 
    color: #fff;
}

[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-btn_1 a {
	background-color: red !important; 
	border-color: red !important; 
    color: #fff;
}

[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-btn_1 a:hover {
    background: #fff !important;
    color: red !important;
} */
/* 概要高さ調整 */

/* [class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-txt {
	min-height: 150px !important;
} */



.svg-icon {
    height: 45px !important;
    width: auto;
}

@media screen and (max-width:768px) {
    .pr-bottom a.btn-c {
        font-size: 1.8rem;
        padding-left: 3rem;
        letter-spacing: 0.1rem;
    }

    .pr-bottom a.btn-c span {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 768px) {
    .header-logo .main-icon {
        height: 60px;
    }
}

table#tablepress-12 {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    /*   table-layout: fixed; */
}

table#tablepress-12 td {
    border: 1px solid #ddd !important;
    padding: 8px;
    background: white;
    vertical-align: middle;
    text-overflow: ellipsis;
    min-width: 0 !important;
    width: auto;
}

table#tablepress-12 td.column-1 {
    position: sticky;
    left: 0px;
    z-index: 2;
    background: white;
    border-right: 1px solid #bbb;
    width: 151px;
}

@media screen and (max-width: 600px) {
    table#tablepress-12 td.column-1 {
        width: 120px !important;
    }
}

table#tablepress-12 td.column-2 {
    /* position: sticky; */
    position: static;
    left: 152px;
    z-index: 1;
    background: white;
    border-right: 1px solid #bbb;
    width: 105px;
}

@media screen and (max-width: 600px) {
    table#tablepress-12 td.column-2 {
        left: 120px;
    }
}

/* 年齢確認ポップアップ用 */
/* ポップアップの背景 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* ポップアップの本体 */
.popup-content {
    background: white;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 640px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
    font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}

.popup-content--in {
    padding: 2rem;
}

.popup-content--btn {
    background: #eee;
    border: 1px solid #ddd;
}

.popup-lg {
    font-weight: 700;
    font-size: 2rem;
}

.popup-content strong {
    background: #eee;
    font-weight: 700;
    display: block;
    text-align: center;
    border: 1px solid #ddd;
    padding: 0.5rem;
    font-size: 1.4rem;
}

/* ボタンデザイン */
.popup-content button {
    margin: 1rem;
    padding: 0.6rem 8rem;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
}

#yesBtn {
    background: #66BB6A;
    color: white;
    border-radius: 5px;
    font-weight: 700;
}

#yesBtn small {
    display: block;
    font-size: 1rem;
    font-weight: 400;
}

#noBtn {
    background: #f5f5f5;
    color: #333;
    border-radius: 5px;
    font-weight: 700;
}

#noBtn small {
    display: block;
    font-size: 1rem;
    font-weight: 400;
}

.popup-content--in small {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.point-wrap p {
    position: relative;
    padding-left: 26px;
}

.point-wrap p:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
}

.sec-bottomContent h4,
.single .recommend-box h4 {
    display: block !important;
}

#sidebar .sidebar-list.design2 .sidebar-title {
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--main);
    font-weight: 700;
}

#sidebar .sidebar-list.design3 .sidebar-title {
    position: relative;
    padding-bottom: 1.4rem;
    font-size: 16px;
}

#sidebar .sidebar-list.design3 .sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-image: repeating-linear-gradient(45deg, var(--main) 0px, var(--main) 2px, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%);
    background-size: 8px 8px;
}

.sec-faq.design2.bg-base .faq-item::before,
.sec-faq.design2.bg-base .faq-item::after {
    display: none;
}

.sec-tablepress.row_table.bg-gray .tablepress td:first-child {
    background: #ddd !important;
}

.cat-list .cat-item .img-wrap img {
    height: auto;
}

/* 新テーブルCSS */
.sec-tablepress.column_table #tablepress-15.tablepress td:first-child {
    background: transparent;
    color: var(--text-color);
    font-weight: 400;
    width: 185px;
    min-width: 185px;
    padding: 1rem 0.7rem;
    vertical-align: top;
    font-size: 14px;
    word-break: break-all;
    box-sizing: border-box;
    border: 1px solid #efefef !important;
    text-align: left;
    position: static;
}

#tablepress-15.tablepress td strong {
    display: block;
    text-align: center;
    line-height: 1;
}

@media screen and (max-width:768px) {
    .tb-count #tablepress-15.tablepress {
        width: 100% !important;
        min-width: 100% !important;
    }

    .tb-count2 #tablepress-15.tablepress {
        min-width: initial !important;
        width: calc(100% * (var(--col-count, 3) / 3)) !important;
    }

    .tb-count2 #tablepress-15 tr td,
    .tb-count #tablepress-15 tr td {
        width: calc(100% / 3);
        min-width: calc(100% / 3);
        padding: 1rem 0.4rem;
        font-size: 12px;
    }

    .sec-tablepress.column_table #tablepress-15.tablepress td:first-child {
        width: calc(100% / 3);
        min-width: calc(100% / 3);
        padding: 1rem 0.4rem;
        font-size: 12px;
    }

    .tb-count #tablepress-15 tr td:not(.column-1):not(.column-2):not(.column-3) {
        display: none;
    }

    .tablepress tr td .tp_btn-1,
    .tablepress tr td .tp_btn-2 {
        padding-right: 2.4rem;
        padding-left: 1rem;
    }
}

[class*=is-BrSearchContents-style_selectBoxes_selection] .select-box .select-name {
	min-height:55px;
}

[class*=is-BrSearchContents-style_selectBoxes_selection] .select-box .select-txt {
	min-height:155px	
}

/*********************************
ブログカード
*********************************/
.blog-card {
   max-width: 650px;
   margin: 45px auto 16px;
  background: none;
  box-shadow: none;
}
.blog-card:hover {
  background: none;
  box-shadow: none;
}

.blog-card a {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none !important;
    width: auto;
    max-width: 750px;
    background: #ffffff;
    border: 3px solid #b2b2b2;
    word-wrap: break-word;
    padding: 15px;
    box-sizing: border-box;
    box-shadow: 0 1px 2px 0 rgba(24, 44, 84, 0.1), 0 1px 3px 1px rgba(24, 44, 84, 0.1);
}

.blog-card-thumbnail {
    width: 130px;
    height: 130px;
    overflow: hidden;
    min-width: 130px;
}
.blog-card-thumbnail img {
    display: block;
    width: 100%;
    height: 100% !important;
  object-fit: cover;
    border: none;
    padding: 0;
    margin: 0 !important;
}
.blog-card-content {
    width: 78%;
    line-height: 1.5;
  padding-left: 2%;
}
.blog-card-title {
	    border-bottom: dotted 2px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
  margin-bottom: 10px;
}

.blog-card-excerpt {
    color: #333333;
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .blog-card {
        margin: 25px auto;
        border: 2px solid var(--blog-card--primary-color);
    }
    .blog-card-thumbnail {
    width: 120px;
        min-width: 120px;
    }
    .blog-card-title {
        font-size: 14px;
    }
  .blog-card-content {
    font-size: 12px;
        padding-left: 4%;
  }
}

/* デザイン2 */
.blog-card.type2 {
  border: none !important;
  padding: 0 !important;
  margin-top: 55px !important;
}

.blog-card.type2 a {
    position: relative;   
}
.blog-card.type2 a::before {
    content: "\f02e  併せて読みたい";
    padding: 3px 15px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    background-color: #b2b2b2;
    color: #fff;
    font-size: 14px;
    border-radius: 5px 5px 0 0;
    position: absolute;
    top: -1px;
    left: -3px;
    transform: translateY(-100%);
    z-index: 1;
}
.blog-card.type2:hover a {
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .2);
    -moz-transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    transition: all .3s;
}

:root {
    --blog-card--primary-color: #7ab7e5; ;
}