/*
 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;
    }
}
  
  /*********************************
  事例BOX
  *********************************/
  .constructions .ex-list {
    margin: 0  0 15px !important;
    padding: 0 !important;
  }
  .constructions.beforeAfter .ex-list li .imgBefore .img-wrap br,
  .constructions.beforeAfter .ex-list li .imgAfter .img-wrap br {
    display: none;
    visibility: hidden;
  }
  .constructions .ex-list li {
    width: calc(100% / 3.1);
    min-width: 550px;
    list-style: none;
    margin: 0 !important;
    line-height: unset !important;
    padding-bottom: 0 !important;
    scroll-snap-align: start;
  }


@media screen and (max-width:768px) {
.constructions .ex-list li {
min-width: 330px;
}
}
  .constructions .ex-list li + li {
    margin-left: 20px !important;
  }
  .constructions .ex-list li .ex-title {
    font-size: 16px;
    border-left: 3.5px solid;
    border-color: #333;  /* サイトメインカラーに合わせて変更 */
    font-weight: 600;
    line-height: 1.35;
    padding-left: 7px;
    margin-bottom: 10px;
  }
  .constructions .ex-list li img {
    display: block;
    width: 100%;
    height: 200px !important;
    object-fit: cover;
    /* object-position: center top; */
  }
  .constructions .ex-list li table.recommend-table {
    width: 100%;
    border-spacing: unset !important;
  }
  .constructions .ex-list li .recommend-table th,
  .constructions .ex-list li .recommend-table tr,
  .constructions .ex-list li .recommend-table td {
  border: 1px solid #e9e9e9 !important;
  box-sizing: border-box;
  }
  .constructions .ex-list li .recommend-table td {
    display: table-cell !important;
    font-size: 12px;
    padding: 5px;
    vertical-align: middle;
    line-height: 1.3;
    width: 80% !important;
  }
  .constructions .ex-list li .recommend-table td:first-child {
    width: 20% !important;
    min-width: 80px;
    /* font-size: 14px; */
    background-color: #efefef;
    font-weight: 500;
  }

  .constructions .ex-list li .text-wrap p {
    margin: 0 !important;
    line-height: 1.4;
    font-size: 14px;
  }
  .constructions .ex-list li .text-wrap p + p {
      margin: 10px 0 0 !important;
  }
  .constructions .ex-list .exScrollArea {
    display: flex;
    overflow-x: auto;
    overflow-y :hidden;
    flex-wrap: nowrap;
    padding-bottom: 25px;
    scroll-snap-type: x mandatory;
  }
  @media screen and (max-width: 768px) {
    .constructions .ex-list .exScrollArea {
        padding-bottom: 10px;
    }
}
  .constructions .ex-list .exScrollArea::-webkit-scrollbar {
    height: 8px;
    border-radius: 50px;
  }
  .constructions .ex-list .exScrollArea::-webkit-scrollbar-track {
    background-color: #efefef;
    border-radius: 50px;
  }
  .constructions .ex-list .exScrollArea::-webkit-scrollbar-thumb {
    border-radius: 50px;
  }
  .constructions .ex-list .exScrollArea::-webkit-scrollbar-thumb {
    background-color: #ccc;
  }
  
   .constructions .ex-quote {
    display: block;
    text-align: right;
    font-size: 9px;
    color: #999;
    font-family: none;
    margin: 5px 0 10px;
    overflow-y: hidden;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 .3rem .3rem;
  }
  .constructions.beforeAfter .ex-quote {
      margin: 5px 0;
}
.constructions .ex-quote a {
  color: blue !important;
  text-decoration: underline !important;
}
.constructions .ex-quote::-webkit-scrollbar {
    height: 3px;
  }
  
.constructions .ex-quote::-webkit-scrollbar-track {
    background-color: #ccc;
  }
  
.constructions .ex-quote::-webkit-scrollbar-thumb{
    background-color: #999;
  }


  /* 施工前後 */
  .constructions.beforeAfter .ex-list li .constructions-box {
      display: flex;
  }

  .constructions.beforeAfter .ex-list li {
    width: 100%;
    box-sizing: border-box;
  }
  .constructions.beforeAfter .ex-list li .ex-title {
    display: flex;
    align-items: center;
    font-size: 20px;
    margin-bottom: 16px;
    border: none;
    padding-left: 0;
  }
.constructions.beforeAfter .ex-list li .ex-title  p {
  margin: 0 !important;
}
  .constructions.beforeAfter .ex-list li .ex-title .case-wrap{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 14px;
    padding: 17px 0 2px;
    margin: 0 15px 0 0;
    color: #fff;
    background: var(--constructions-before-after-case-color);
    box-sizing: border-box;
    line-height: 1.25;
  }
  .constructions.beforeAfter .ex-list li .ex-title .case-wrap .case-name {
    display: block;
  }
  .constructions.beforeAfter .ex-list li .img-wrap {
      position: relative;
    max-height: 400px;
  }
  .constructions.beforeAfter .ex-list li .imgBefore {
    width: 25%;
  }
  .constructions.beforeAfter .ex-list li .imgAfter {
    width: 75%;
  }
  .constructions.beforeAfter .ex-list li img {
      height: auto !important;
      max-height: 400px;
      object-fit: cover;
  }

  .constructions.beforeAfter .imgArrow {
      padding-top: 40px;
  }
  .constructions.beforeAfter .ex-list .img-name {
        font-size: 12px;
        letter-spacing: 0.1em;
        padding: 5px 10px;
        box-sizing: border-box;
        text-align: center;
        line-height: 1;
        letter-spacing: 0,2px;
        background-color: #efefef;
        color: #333;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 1;
  }
  .constructions.beforeAfter .ex-list .img-name.after {
        font-size: 16px;
        padding: 10px 20px ;
        width: 120px;
        box-sizing: border-box;
        background-color: #ff3300;
        color: #fff;
  }

 .constructions.beforeAfter .ex-list li .recommend-table td {
    font-size: 10px;
  }
  .constructions.beforeAfter .ex-list li .recommend-table td:first-child {
    min-width: 60px;
  }
  @media screen and (max-width: 768px) {
    .constructions.beforeAfter .ex-list li .constructions-box {
        display: block;
    }
    .constructions.beforeAfter .ex-list li .ex-title {
        font-size: 16px;
    }
    .constructions.beforeAfter .ex-list li .ex-title .case-wrap {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        font-size: 10px;
        margin-right: 10px;
        padding: 14px 0 2px;
    }
    .constructions.beforeAfter .ex-list li .imgBefore {
        display: flex;
        align-items: flex-start;
         margin-bottom: 45px;
    }
    .constructions.beforeAfter .ex-list li .imgBefore .img-wrap {
        width: 30%;
        margin-right: 10px;
    }
    .constructions.beforeAfter .ex-list li .imgBefore .img-wrap {
        height: 100px !important;
        object-fit: contain;
    }
    .constructions.beforeAfter .ex-list li .imgBefore,
    .constructions.beforeAfter .ex-list li .imgAfter {
        width: auto;
      }
      .constructions.beforeAfter .imgArrow {
        padding-top: 0;
        display: none;
        visibility: hidden;
    }
    .constructions.beforeAfter .ex-list .img-name {
        font-size: 10px;
        padding: 3px 15px ;
    }
    .constructions.beforeAfter .ex-list .img-name.after {
        font-size: 14px;
        padding: 5px 10px ;
        width: unset;
    }
    .constructions .ex-list li .text-wrap p {
        font-size: 12px;
      }
  }
  :root {
      --constructions-before-after-case-color: #ff3300;
  }

.sec-bottomContent table {
	width:100%;
}

.sec-bottomContent table th{
	padding:1rem;
	background:#efefef;
	border:1px solid #e9e9e9!important;
	font-weight:700;
}

.sec-bottomContent table td {
	padding:1rem;
border:1px solid #e9e9e9!important;
}