@charset "UTF-8";

@media (max-width: 700px) {

#works-detail{
    padding-top: 9.23%;
    padding-bottom: 10.76%;
}
#works-detail .content_wrap {
    max-width: 984px;
    margin-left: auto;
    margin-right: auto;
}
#works-detail_dtail {
    margin-bottom: 13.84%;
    background-color: #FFFFFF;
    -webkit-box-shadow: 0px 6px 6px #D4D4D4;
    box-shadow: 0px 6px 6px #D4D4D4;
    border-radius: 10px;
    padding: 28px 24px;
	padding-bottom: 6px;
    box-sizing: border-box;
}
.works_detail_head {
    margin-bottom: 40px;
}
.works_detail_head h2 {
    font-size: 22px;
    line-height: 1.3em;
    font-weight: 700;
    letter-spacing: .024em;
    margin-bottom: 20px;
    border-bottom: 1px solid #006e12;
    padding-bottom: 16px;
}
.works-detail_who {
    font-size: 16px;
    line-height: 1em;
    font-weight: 500;
    letter-spacing: .024em;
}
.works_cate {
    display: flex;
    margin-bottom: 12px;
}
.works_cate p {
	margin-right: 8px;
	color: #FFFFFF;
    font-size: 14px;
    line-height: 1em;
    font-weight: 500;
}
.works_cate p a {
	display: block;
	padding-top:4px;
	padding-right: 6px;
    padding-left: 6px;
    padding-bottom: 6px;
}
.works_cate p .bath{
	background-color: #0073c9;
}
.works_cate p .toilet {
	background-color: #61c000;
}
.works_cate p .kitchen a{
	background-color: #009126;
}
.works_cate p .senmen a{
	background-color: #f6b01f;
}
.works_cate p .maruto a{
	background-color: #009b34;
}
.works_cate p .oogata a{
	background-color: #0073c9;
}
.works_cate p .gaiheki a{
	background-color: #f6b01f;
}
.works_cate p .kiki a{
	background-color: #61c000;
}
.works_detail_cont {
    margin-bottom: 40px;
}
.works_detail_cont h3 {
    letter-spacing: .04em;
    border-radius: 6px;
    margin-bottom: 16px;
    color: #FFFFFF;
    line-height: 1em;
    font-weight: 600;
    font-size: 20px;
    padding-top: 8px;
    padding-right: 16px;
    padding-left: 12px;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
}
.works_detail_cont h3 img {
    width: 40px;
    display: inline-block;
}
.works_detail_cont .bath{
	background-color: #0073c9;
}
.works_detail_cont .toilet{
	background-color: #61c000;
}

.works_befre-after {
    display: flex;
    justify-content: space-between;
    padding-right: 8px;
    padding-left: 8px;
    padding-bottom: 8px;
    margin-bottom: 20px;
	flex-direction: column-reverse;
}
.works_before {
    box-sizing: border-box;
    width: 74.61%;
    margin-top: 16px;
	margin-right: auto;
	margin-left: 0;
}
.works_befre-after h4 {
    line-height: 1em;
    font-weight: 900;
    font-size: 24px;
    z-index: 2;
    z-index: 0;
    box-sizing: border-box;
    margin-bottom: 6px;
    font-family: "Zen Maru Gothic", sans-serif;
}
.works_before_img {
    width: 100%;
	
}
.works_before_img img {
}
.works_b-a_arrow {
    width: 2.3%;
    margin-top: 12.3%;
	display: none;
}

.works_after  {
    box-sizing: border-box;
    width: 100%;
}
.works_after h4 {
    font-size: 28px;
    color: #c21303;
}
.works_after_img {
	
}
.works_after_img img {
}
.works_description {
	border-radius: 10px;
	border:2px solid #dd0001;
	padding: 20px 16px;
	padding-bottom: 18px;
}
.works_desc_head {
	display: block;
	align-items: center;
	padding-bottom: 12px;
	margin-bottom:12px;
	border-bottom: 1px dotted #dd0001;
	flex-direction: column;
}
.works_desc_head h4 {
	color: #dd0001;
	text-align: center;
	line-height: 1em;
	font-size: 20px;
	margin-bottom: 16px;
	        letter-spacing: .04em;
	        font-weight: 700;
}
.works_desc_head h4 span{
    display: inline-block;
    margin-left:0;
    margin-right:0;
	display: none;
}
.works_desc_kinds {
	display: flex;
	flex-wrap: wrap;
}
.works_desc_kinds ul {
    display: block;
    list-style-type: disc;
    padding-left: 20px;
    flex-wrap:nowrap;
}
.works_desc_kinds ul li {
    font-size: 16px;
    line-height: 1.5em;
    margin-right: 0;
	margin-bottom: 2px;
}
.works_desc_message {
}
.works_desc_message p {
	font-size: 16px;
	line-height: 1.6em;
}


#works_gallery{
    background-image: url(../images/h_illust_bg_g.svg);
    background-repeat: no-repeat;
    background-size: 193% auto;
    background-position: center top;
	position: relative; /* ★基準 */
	
}
#works_gallery ul{
    display: block;
  }

  #works_gallery ul li{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: auto;
    margin: 0;
    background-color: #fff;
  }
 /* slick-track を flex にする */
  #works_gallery .slick-track{
    display: flex !important;
    gap: 16px; /* ← ここで確実に間隔が空く */
	 align-items: stretch;
  }

  /* slick-slide の padding は不要 */
  #works_gallery .slick-slide{
    padding: 10px!important;
	  display: flex !important;
    height: auto;
  }
.works_gallery_img{
	width: 100%;
	margin-bottom: 10px;
	flex-shrink: 0;
}
.works_gallery_img img{
	width: 100%;
}

#works_gallery ul li p{
    font-size: 15px;
    line-height: 1.5em;
}
#works_gallery .slick-prev,
  #works_gallery .slick-next{
    display: block !important;
    width: 24px;
    height: 24px;
    z-index: 20;
  }

  #works_gallery .slick-prev{
    left: 20px;
  }

  #works_gallery .slick-next{
    right: 20px;
  }
#works_gallery .slick-dots{
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0;
    background: none;
	justify-content: center; /* ★中央寄せ */
    align-items: center;
    gap: 10px;               /* ドット間隔 */
    margin-top: 16px;
  }
/* slick のデフォルトの ▲ を →/← ボタンっぽく見せる */
#works_gallery .slick-prev:before,
#works_gallery .slick-next:before {
    font-size: 38px;
    color: #dd0001; /* 好きな色に変更可能 */
    opacity: 1;
}
#works_gallery .slick-dots li{
    margin: 0;
    padding: 0;
    background: none;
  }
  #works_gallery .slick-dots li button:before{
    font-size: 14px;
  }
	
}
