/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* -------------------------------------
header/footer background black
------------------------------------- */
.page-id-9271 .whb-color-dark:not(.whb-with-bg) {
  background-color: #000 !important;
  color: #fff !important;
}

.page-id-9271 .wd-nav[class*="wd-style-"]>li>a{
  color: #fff !important;
}
.page-id-9271 .wd-tools-element>a {
  color: #fff !important;
}


.page-id-9271 .icons-design-bordered .wd-social-icon{
  color: #fff !important;
}

.page-id-9271 .whb-col-right .color-primary,
.page-id-9271 .wd-info-box .info-svg-wrapper .info-icon fill,
.page-id-9271 .wd-header-cart.wd-design-3 .wd-tools-icon:before,
.page-id-9271 .wd-header-cart.wd-design-3 .wd-cart-subtotal .amount,
.page-id-9271 .wd-header-cart.wd-design-3 .wd-cart-number {
  color: #fff !important;
}
.page-id-9271 .whb-color-light .wd-header-cart.wd-design-3 .wd-tools-text{
  border-color: rgba(255,255,255,0.3) !important;
}

.page-id-9271 .main-page-wrapper{
  background: #000;
}

.page-id-9271 .footer-container {
  background: #000;
  color: #fff !important;
}
.page-id-9271 .wd-sub-menu li a {
  color: #fff !important;
}



/* -------------------------------------
 popup / customize page
------------------------------------- */
/* Styles for dialog window */
.dialog {
  background: #fff;
  padding: 20px 30px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
  .dialog .mfp-close{
    position: absolute !important;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    top: 3%;
    right: 1%;
  }
/**
 * Fade-zoom animation for first dialog
 */

/* start state */
.my-mfp-zoom-in .zoom-anim-dialog {
  opacity: 0;

  -webkit-transition: all 0.2s ease-in-out; 
  -moz-transition: all 0.2s ease-in-out; 
  -o-transition: all 0.2s ease-in-out; 
  transition: all 0.2s ease-in-out; 



  -webkit-transform: scale(0.8); 
  -moz-transform: scale(0.8); 
  -ms-transform: scale(0.8); 
  -o-transform: scale(0.8); 
  transform: scale(0.8); 
}

/* animate in */
.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
  opacity: 1;

  -webkit-transform: scale(1); 
  -moz-transform: scale(1); 
  -ms-transform: scale(1); 
  -o-transform: scale(1); 
  transform: scale(1); 
}

/* animate out */
.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
  -webkit-transform: scale(0.8); 
  -moz-transform: scale(0.8); 
  -ms-transform: scale(0.8); 
  -o-transform: scale(0.8); 
  transform: scale(0.8); 

  opacity: 0;
}

/* Dark overlay, start state */
.my-mfp-zoom-in.mfp-bg {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out; 
  -moz-transition: opacity 0.3s ease-out; 
  -o-transition: opacity 0.3s ease-out; 
  transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.8;
}
/* animate out */
.my-mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
}



/**
 * Fade-move animation for second dialog
 */

/* at start */
.my-mfp-slide-bottom .zoom-anim-dialog {
  opacity: 0;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;

  -webkit-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  -moz-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  -ms-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  -o-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );

}

/* animate in */
.my-mfp-slide-bottom.mfp-ready .zoom-anim-dialog {
  opacity: 1;
  -webkit-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  -moz-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  -ms-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  -o-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
}

/* animate out */
.my-mfp-slide-bottom.mfp-removing .zoom-anim-dialog {
  opacity: 0;

  -webkit-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  -moz-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  -ms-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  -o-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
}

/* Dark overlay, start state */
.my-mfp-slide-bottom.mfp-bg {
  opacity: 0;

  -webkit-transition: opacity 0.3s ease-out; 
  -moz-transition: opacity 0.3s ease-out; 
  -o-transition: opacity 0.3s ease-out; 
  transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-slide-bottom.mfp-ready.mfp-bg {
  opacity: 0.8;
}
/* animate out */
.my-mfp-slide-bottom.mfp-removing.mfp-bg {
  opacity: 0;
}



/* -------------------------------------
 customize page
------------------------------------- */
/* custom-sec01 */
.custom-sec01 {
  position: relative;
  width: 100%;
  /*border: 1px solid #333;
  border-top: none;*/
  outline: 0;
  cursor: pointer
}

  /* -------------------------------------
  アコーディオン
  ------------------------------------- */
  .custom-accordion{
    margin-bottom: 2rem;
    padding: 1.5rem 1rem;
    border: 2px solid rgba(0,0,0,0.075);
  }
    /* custom-accordion__head */
    .custom-accordion__head{
      width: 100%;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      position: relative;
    }
    .custom-accordion__head-open:after {
      content: "";
      position: absolute;
      right: 15px;
      top: 38%;
      transition: all 0.2s ease-in-out;
      display: block;
      width: 8px;
      height: 8px;
      border-top: solid 1px #bbb;
      border-right: solid 1px #bbb;
      -webkit-transform: rotate(135deg);
      transform: rotate(135deg);
    }
    .open .custom-accordion__head-open:after {
      -webkit-transform: rotate(-45deg);
      transform: rotate(-45deg);
      top: 45%;
    }

      /* custom-accordion__head */
      .custom-accordion__head-block{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        position: relative;
      }
        /* custom-accordion__head-ttl */
        .custom-accordion__head-ttl {
          display: flex;
          justify-content: flex-start;
          align-items: center;
        }
        .custom-accordion__head-ttl svg{
          width: 1.8rem;
          margin-right: .5rem;
        }
        .custom-accordion__head-ttl h3{
          font-size: 20px;
          font-weight: bold;
          color: #002870;
          margin-bottom: 0;
        }

        /* custom-accordion__head-txt */
        .custom-accordion__head-txt{
          font-size: 16px;
          font-weight: bold;
          cursor: default;
          margin-left: 1rem;
        }

        /* custom-accordion__head-txtbox */
        .custom-accordion__head-txtbox{
          padding: 12px 20px;
          font-size: 13px;
          line-height: 18px;
          background-color: #F3F3F3;
          color: #3E3E3E;
          text-align: center;
          font-weight: 600;
          cursor: default;
          margin-left: 1rem;
        }

      /* custom-accordion__lnkbtn */
      .custom-accordion__head-lnkbtn{
        height: 42px;
        padding: 12px 30px !important;
        margin-left: 1rem;
        border-radius: 3.5rem !important;
        color: #fff !important;
        background: rgb(0,40,112) !important;
      }
      .custom-accordion__head-lnkbtn:hover{
        opacity: 0.8;
      }
      .custom-accordion__head-open{
        border: 2px solid rgba(0,0,0,0.075);
        padding: 10px 40px 10px 10px;
        margin-left: auto;
        margin-right: 0;
        position: relative;
      }

    /* custom-accordion__con */
    .custom-accordion__con{
      display: none;
      padding-top: 1.5rem;
      margin-top: 1.5rem;
      border-top: 1px solid #ccc;
    }
      .custom-accordion__con-item{
        margin-bottom: 0.5rem;
      }

  @media (min-width: 768px) and (max-width: 1023px) {
    .custom-accordion__head{
      display: block !important;
    }
    .custom-accordion__head-block{
      width: 100%;
      margin-bottom: 1rem;
    }
    .custom-accordion__head-txtbox{
      margin-left: auto !important;
      margin-right: 0;
    }
    .custom-accordion__head-lnkbtn{
      width: 20%;
      /*margin-left: 0 !important;*/
    }
    .custom-accordion__head-open{
      width: 100%;
    }
  }
  @media screen and (max-width: 767px) {
    .custom-accordion__head{
      display: block !important;
    }
    .custom-accordion__head-block{
      width: 100%;
      margin-bottom: 1rem;
      display: block;
    }
    .custom-accordion__head-txt{
      margin-left: 0;
      margin-top: 1rem;
      margin-bottom: 0.5rem;
    }
    .custom-accordion__head-txtbox{
      margin-left: auto !important;
      margin-right: 0;
    }
    .custom-accordion__head-lnkbtn{
      width: 100%;
      margin-left: 0 !important;
      margin-top: 1rem;
    }
    .custom-accordion__head-open{
      width: 100%;
    }
  }

/* custom-sec02 */
.custom-sec02 {
  margin-top: 4rem;
}
  .custom-sec02__txt {
    margin-top: 1rem;
  }
  .custom-sec02__btn {
    width: 50%;
    margin-top: 2rem;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }


.custom-boxbtn{
  margin-bottom: 1rem;
}