/*!*******************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/sass-resources-loader/lib/loader.js??ruleSet[1].rules[0].use[3]!./template-parts/block-custom-box/block-custom-box.scss ***!
  \*******************************************************************************************************************************************************************************************************************************/
.custom-box__container {
  max-width: 1750px;
  width: 100%;
  padding: 34px 15px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap; }
  @media screen and (max-width: 640px) {
    .custom-box__container {
      padding: 12px 24px; } }
  @media screen and (min-width: 1921px) {
    .custom-box__container {
      max-width: 91.14vw;
      padding: 1.77vw 0.78vw; } }

.custom-box__item {
  max-height: 837px;
  height: 100vh;
  max-width: calc(50% - 60px);
  width: 100%;
  display: flex;
  position: relative;
  margin: 30px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.07); }
  @media screen and (max-width: 1280px) {
    .custom-box__item {
      max-height: 600px;
      max-width: calc(50% - 30px);
      margin: 15px; } }
  @media screen and (max-width: 768px) {
    .custom-box__item {
      max-width: 100%; } }
  @media screen and (min-width: 1921px) {
    .custom-box__item {
      max-width: calc(50% - 3.12vw);
      max-height: 43.59vw;
      margin: 1.56vw;
      box-shadow: 0 0.2vw 2vw rgba(0, 0, 0, 0.07); } }

.custom-box__item-img-box {
  width: 100%;
  height: 100%;
  position: absolute; }
  .custom-box__item-img-box img {
    position: absolute;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%; }
  .custom-box__item-img-box::before {
    content: ' ';
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    top: 100%;
    transform: translateY(-100%);
    height: 40%;
    background: linear-gradient(226.13deg, rgba(0, 0, 0, 0) 0%, #000 100%);
    z-index: 1; }
    @media screen and (max-width: 1280px) {
      .custom-box__item-img-box::before {
        height: 50%; } }

.custom-box__item-content {
  justify-content: flex-end;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 64px 32px 32px;
  width: 100%;
  z-index: 2; }
  @media screen and (max-width: 991px) {
    .custom-box__item-content {
      padding: 24px; } }
  @media screen and (min-width: 1921px) {
    .custom-box__item-content {
      padding: 3.33vw 1.66vw 1.66vw; } }

.custom-box__title {
  color: #fff;
  font-size: 30px;
  max-width: 350px;
  width: 100%;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px; }
  @media screen and (max-width: 640px) {
    .custom-box__title {
      font-size: 18px; } }
  @media screen and (max-width: 991px) {
    .custom-box__title {
      font-size: 24px; } }
  @media screen and (min-width: 1921px) {
    .custom-box__title {
      font-size: 1.56vw;
      margin-bottom: 0.83vw;
      max-width: 18.22vw; } }

.custom-box__entry-content {
  max-width: 400px;
  color: #fff;
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  min-height: 88px;
  margin-top: 0;
  margin-bottom: 24px;
  line-height: 1.6; }
  @media screen and (min-width: 1921px) {
    .custom-box__entry-content {
      max-width: 20.83vw;
      font-size: 0.83vw;
      min-height: 4.58vw;
      margin-bottom: 1.25vw; } }

.custom-box__button {
  margin-top: 0; }
  .custom-box__button .btn__text-wrap {
    color: #fff !important; }
  .custom-box__button:hover {
    border: 2px solid #e95208 !important; }
    .custom-box__button:hover .btn__text-wrap {
      color: #e95208 !important; }

