/*----------------------------------------------------
   共通css
----------------------------------------------------*/
table.typ th {
  width: unset;
}

.com_parts01 {
  margin: 4rem 0 0;
}

p.link-text a {
  text-decoration: underline;
}

span.stress {
  font-size: 1.1em;
  color: #1278ad;
  font-weight: bold;
}

.internal-text-link {
  margin-top: 7vh;
}

.pr_text {
  margin: 0 auto;
  background: #ececec;
  padding: 20px;
  width: 1000px;
}

.flexbox0 {
  margin: 0 auto 50px;
  width: 1000px;
  display: flex;
  justify-content: space-between;
}

.flexbox {
  background: #388eba;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  padding: 20px;
  width: 20%;
  line-height: 2.2rem;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.com_parts01 .modal {
  margin: 0 0 20px;
}

.com_parts01.cat_common .cost .box_item_inner {
  min-height: auto;
}

section.add-contents {
    border-top: 1px solid #1278ad;
    padding-top: 34px;
}

#contents section.add-contents p a {
    text-decoration: underline;
}

/* 2022.05.17 */
.kanren_box {
	width: 1000px;
    margin: 3rem auto;
    line-height: 2;
    border: 2px solid #111;
    margin: 0 auto;
    padding: 3rem 4rem 2rem 3rem;
    position: relative;
}

.kanren_box:after {
    background: #f5f8fa;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    position: absolute;
    content: "";
    bottom: -1rem;
    right: -1rem;
    z-index: -1;
}

.midashi_txt {
    background:#1278ad;
    color:#fff;
    font-size:1.5em;
    padding:10px 10px 5px 10px;
}

.readmore{
    position: relative;
    box-sizing: border-box;
  margin-bottom: 50px;
    padding: 20px;
}

.readmore-content{
    position: relative;
    overflow: hidden;
    height: 150px;
}

.readmore-label{
    display: table;
    bottom: 5px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    margin: 0 auto;
    z-index: 2;
    padding: 10px 20px;
    background-color: #fcb800;
    border-radius: 10px;
    color: #111;
    font-weight: bold;
    margin-top:10px;
}

.readmore-label:hover{
    opacity:0.7;
    background:#1278ad;
    color:#fff;
}

.readmore-label:before{
    content: '続きを読む';
}

.readmore-check{
    display: none;
}

.readmore-check:checked ~ .readmore-label{
    position: static;
    transform: translateX(0);
    -webkit-transform: translateX(0);
}

.readmore-check:checked ~ .readmore-label:before{
    content: '閉じる';
}

.readmore-check:checked ~ .readmore-content{
    height: auto;
}

.readmore-check:checked ~ .readmore-content::before {
    display: none;
}
/* 2022.05.17 end */

.merit-wrap .heading {
    padding: 0.5em;
    color: #494949;
    border-left: solid 5px #fcb800;
    width: 1000px;
    margin: 3rem auto;
    font-weight: bold;
}

/*----------------------------------------------------
    PCサイトcss
----------------------------------------------------*/

@media screen and (min-width: 789px) {
  /*/////////////PC用のCSSをここに作成してください。/////////////*/
  /*/////////////必ず中括弧の中に作成してください。/////////////*/

  /*20211028*/
  .title_img_w {
    display: inline-block;
    vertical-align: middle;
    padding: 0 3px;
  }

  .top_img_w {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
  }

  .flex_box {}

  .internal-text-link {
    width: 1000px;
    margin: 7rem auto 3rem;
  }


  .contents p.link-text {
    width: 55%;
    margin: 10px 470px;
  }

  .contents {
    padding: 1rem 0 6rem;
  }

  p.time_function.top {
    margin-left: 450px;
    margin-top: 20px;
  }

  .related-article {
    border: 1px solid #ccc;
    padding: 20px;
    max-width: 35%;
    margin: 30px auto;
  }

  .related-article a {
    border: unset;
    max-width: 95%;
    text-align: inherit;
    padding: 0.5rem;
    margin: 0;
    background: none;
  }

  .related-article p {
    margin: 1rem 0;
  }

  /* エリア下層ページにも影響してしまうので「sec」追加	 */
  sec.list:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    background: url(https://www.scaffolding-rent.net/wp/wp-content/uploads/bg03.png) right 0 no-repeat;
    background-size: 100% auto;
    width: 562px;
    height: 599px;
    z-index: 0;
  }

  .pr {
    background: url(https://www.scaffolding-rent.net/wp/wp-content/uploads/bg05.jpg) center center no-repeat;
    background-size: cover;
    padding: 0 0 8rem;
    position: relative;
    overflow: hidden;
  }

  .qa:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    background: url(https://www.scaffolding-rent.net/wp/wp-content/uploads/bg06.png) right 0 no-repeat;
    background-size: 100% auto;
    width: 533px;
    height: 630px;
    z-index: 0;
  }

  .top_mv {
    background: url(https://www.scaffolding-rent.net/wp/wp-content/uploads/top_mv.jpg) 0 center no-repeat;
    background-size: cover;
    width: 100%;
    height: 528px;
    min-width: 1000px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }

  .com_parts01.cat_common .com_parts01_block {
    justify-content: space-evenly;
  }

#contents section.add-contents h2 {
    margin: 6rem auto 8rem;
    font-size: 3rem;
    position: relative;
    width: 1000px;
    border-top: 1px solid #969696;
    padding-top: 2rem;
    padding-right: 3rem;
}

#contents section.add-contents h2 {
    margin: 6rem auto 8rem;
    font-size: 4rem;
    position: relative;
    width: 1000px;
    border-top: 1px solid #969696;
    padding-top: 2rem;
    padding-right: 3rem;
}

#contents section.add-contents  h3 {
    width: 1100px;
    margin: 4rem auto 2rem;
    background: #f6f6f6;
    padding: 3rem 4rem 3rem 5rem;
    font-size: 2.5rem;
    position: relative;
    border-top: solid #1278ad 1px;
}

#contents section.add-contents  p {
    width: 1000px;
    margin: 3rem auto;
    line-height: 2;
}

#contents section.add-contents  ul {
    width: 1000px;
    margin: 3rem auto;
}

#contents section.add-contents  ul li {
    margin: 0 0 1rem 0;
    padding: 0 0 0 2rem;
    font-size: 1.5rem;
    line-height: 1.8;
    position: relative;
}

#contents section.add-contents ul li::before {
    content: "";
    display: block;
    position: absolute;
    top: 12px;
    left: 0;
    width: 8px;
    height: 8px;
    background: #1278ad;
    box-sizing: border-box;
    border-radius: 50%;
}	
}



/*----------------------------------------------------
    SPサイトcss
----------------------------------------------------*/

@media screen and (max-width: 768px) {

  /*/////////////SP用のCSSをここに作成してください。/////////////*/
  /*/////////////必ず中括弧の中に作成してください。/////////////*/
  .com_parts01 .com_parts01_block {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .pr_text {
    width: auto;
  }

  .flexbox0 {
    display: block;
    width: auto;
    margin: -20px auto 50px;
  }

  .flexbox {
    width: 85%;
    margin: 0 auto 10px;
    font-size: 14px;
  }

  table.typ th, table.typ td {
    display: table-cell;
  }


  .com_parts01 .com_parts01_block .box:first-child {
    -webkit-box-ordinal-group: 2;
    padding: 4rem 0;
  }

  /*20211028*/
  .title_img_w {
    display: inline-block;
    vertical-align: middle;
    padding: 0 3px;
  }

  .top_img_w {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1em;
  }

  .flex_box {
    margin-top: 1em;
  }

  p.link-text {
    font-size: 1.6rem;
  }

  p.time_function.top {
    margin-left: 15px;
    margin-top: 20px;
    font-size: 13px;
  }

  p.time_function {
    font-size: 13px;
  }

  .related-article {
    border: 1px solid #ccc;
    padding: 20px;
    margin: 50px 20px 0 20px;
    font-size: 90%;
  }

  .related-article a {
    border: unset;
    max-width: 95%;
    text-align: inherit;
    padding: 0.5rem;
    margin: 0;
  }

  .related-article p {
    margin: 1rem 0;
  }

  .related-article .btn-link a:after {
    right: -0.5rem;
  }

  /* エリア下層ページにも影響してしまうので「sec」追加	 */
  sec.list:after {
    top: -3rem;
    right: -45%;
    background: url(https://www.scaffolding-rent.net/wp/wp-content/uploads/bg03.png) right 0 no-repeat;
    background-size: 100% auto;
    width: 100%;
    height: 0;
    padding-top: calc(100%*599/562);
  }

  .qa:after {
    right: -1.5rem;
    background: url(https://www.scaffolding-rent.net/wp/wp-content/uploads/bg06.png) right 0 no-repeat;
    background-size: 100% auto;
    width: 100%;
    height: 0;
    padding-top: calc(100%*630/533);
  }

  .top_mv {
    background: url(https://www.scaffolding-rent.net/wp/wp-content/uploads/top_mv.jpg) 0 center no-repeat;
    background-size: cover;
    width: 100%;
    height: auto;
    min-width: 100%;
  }

#contents section.add-contents h2 {
    margin: 4rem auto 6rem;
    font-size: 2.2rem;
    width: 100%;
    position: relative;
 	border-top: 1px solid #969696;
    padding-top: 2rem;
    padding-right: 3rem;
}


#contents section.add-contents h3 {
    width: 100%;
    margin: 3rem auto 2rem;
    padding: 1.5rem 0 1.5rem 1rem;
    font-size: 1.8rem;
    position: relative;
    border-top: solid #1278ad 1px;
    background: #f6f6f6;
}


#contents section.add-contents p {
    width: 100%;
    margin: 2rem 0;
    line-height: 1.8;
}

#contents section.add-contents  ul {
    width: 100%;
    margin: 2rem auto;
}

#contents section.add-contents ul li {
    padding: 0 0 0 1.5rem;
    font-size: 1.4rem;
    line-height: 1.6;
	position: relative;
	margin: 0 0 1rem 0;
}

	
#contents section.add-contents ul li::before {
    content: "";
    display: block;
    position: absolute;
    top: 12px;
    left: 0;
    width: 8px;
    height: 8px;
    background: #1278ad;
    box-sizing: border-box;
    border-radius: 50%;
}
	
section.add-contents {
    padding: 5rem 1.5rem 6rem;
}

/* 2022.05.17 */
.kanren_box {
	width: auto;
    padding: 2rem;
}

#category .kanren_box ul li,
#page .kanren_box ul li {
    margin: 0 0 2rem 0;
}
/* 2022.05.17 end */
.low_mv h1 {
	font-size: 2.4rem;
}	
	
}
