@charset "utf-8";
/* CSS Document */

/***************************
 ** はしごをオーダーするメリット
 */
.merit .check_list {
  border-bottom: 1px solid #ccc;
  margin-bottom: 2rem;
}

.merit .link_with_btn {
  max-width: 460px;
  margin: 0 auto;
  font-size: 2rem;
  color: #1446eb;
  font-weight: bold;
}

@media screen and (max-width: 736px) {
  .merit .check_list {
    margin-bottom: 1.5rem;
  }

  .merit .link_with_btn {
    max-width: 80%;
    font-size: 1.15rem;
  }
}


/***************************
 ** 特殊梯子製作所が選ばれる理由
 */
.reason_list li {
  margin-bottom: 2rem;
}

.reason_list li > * {
  flex-basis: 48%;
}

.reason_list li > *:first-child {
  margin-right: 4%;
  flex-basis: 48%;
}

/* 項目タイトル */
.reason_item_ttl {
  display: table;
  width: 100%;
  margin-bottom: 1.5rem;
}

.reason_item_ttl > p {
  display: table-cell;
  vertical-align: middle;
  box-sizing: border-box;
}

.reason_item_ttl .number {
  text-align: center;
  border: 1px solid #1446eb;
  width: 17%;
}

.reason_item_ttl .number > span {
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  margin: 0.5rem 0;
  border-top: 1px solid #1446eb;
  border-bottom: 1px solid #1446eb;
  line-height: 1.1;
}

.reason_item_ttl .number > span span {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #1446eb;
}

.reason_item_ttl .reason_item_ttl_text {
  width: 83%;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.2;
  padding-left: 0.8rem;
}

.reason_item_ttl .reason_item_ttl_text span {
  font-size: 2rem;
  color: #1446eb;
}

/* 説明文 */
.reason_list li .text > p {
  font-size: 0.875rem;
  line-height: 2;
}

@media screen and (max-width: 736px) {
  .reason_list li {
    margin-bottom: 1.5rem;
  }

  .reason_list li > * {
    flex-basis: auto;
  }

  .reason_list li > *:first-child {
    margin-right: 0;
    flex-basis: auto;
  }
  
  .reason_list li:nth-child(even) {
    flex-direction: column-reverse;
  }
  
  .reason_list li .text {
    margin-bottom: 1rem;
  }

  /* 項目タイトル */
  .reason_item_ttl {
    margin-bottom: 1rem;
  }

  .reason_item_ttl .number > span {
    margin: 0.3rem 0;
    font-size: 0.625rem;
  }

  .reason_item_ttl .number > span span {
    font-size: 1.375rem;
  }

  .reason_item_ttl .reason_item_ttl_text {
    font-size: 0.75rem;
    padding-left: 0.5rem;
  }

  .reason_item_ttl .reason_item_ttl_text span {
    font-size: 1.3125rem;
  }

  /* 説明文 */
  .reason_list li .text > p {
    font-size: 0.75rem;
  }
}


/***************************
 ** モーダルウィンドウ
 */
.modal_wrapper {
  max-width: 900px;
  box-sizing: border-box;
  background: #fff;
  padding: 2rem 0 1rem;
}

.modal_contents > * {
  box-sizing: border-box;
  padding: 0 1.5rem;
}

.modal_contents .before {
  flex-basis: 40%;
  border-right: 2px solid #ccc;
}

.modal_contents .after {
  flex-basis: 60%;
}

.before_after_ttl {
  font-size: 1.15rem;
  font-weight: bold;
  padding-left: 0.8em;
  border-left: 3px solid #1446eb;
  margin-bottom: 1rem;
}

.modal_contents p  {
  font-size: 0.875rem;
  line-height: 2;
  margin-bottom: 1.4em;
}

.before_list dt {
  position: relative;
  margin-bottom: 2.4rem;
  font-size: 0.875rem;
}

.before_list dt::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 50px;
  border-color: #ccc transparent transparent transparent;
  position: absolute;
  bottom: -50px;
  left: 50%;
  margin-left: -50px;
}

.before_list.before_list_04 dt::after {
  display: none;
}

.before_list dd .before_ingenuity {
  padding: 0.8rem;
  background: #d3dcfb;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: bold;
}

.before_list dd:not(:last-of-type) {
  margin-bottom: 1.5rem;
}

.sub_img > p {
  flex-basis: 48%;
}

.sub_img > p:first-child {
  margin-right: 4%;
}

.modal_footer {
  box-sizing: border-box;
  display: table;
  width: 100%;
  padding: 1rem 1.5rem 0;
}

.modal_footer > p {
  display: table-cell;
  width: 50%;
  vertical-align: middle;
  font-size: 0.75rem;
}

.modal_footer > p img {
  max-width: 245px;
}

.modal_footer > p:last-child {
  text-align: right;
}

@media screen and (max-width: 736px) {
  .modal_wrapper {
    padding: 1.5rem 0 0.8rem;
  }

  .modal_contents > * {
    padding: 0 0.8rem;
  }

  .modal_contents .before {
    flex-basis: auto;
    border-right: none;
    border-bottom: 1px solid #ccc;
    margin-bottom: 1rem;
  }

  .modal_contents .after {
    flex-basis: auto;
  }

  .before_after_ttl {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .modal_contents p  {
    font-size: 0.75rem;
  }
  
  .before_list dt {
    font-size: 0.75rem;
  }

  .before_list dd {
    padding: 0.5rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }

  .modal_footer {
    padding: 0 0.8rem;
  }

  .modal_footer > p {
    font-size: 0.375rem;
    line-height: 1.2;
  }

  .modal_footer > p img {
    max-width: auto;
    width: 100%;
  }
}