@charset "utf-8";




/* 幅制御 */

.inner_01 {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  /* 中央寄せ */

  text-align: left;
}

@media all and (max-width: 1000px) {
	
	.inner_01 {
  width: 100%;
    padding: 0 2rem;
}
}
/* 施工詳細エリア */
/* カテゴリタイプ */
.category_icon {
  width: auto;
  height: 1em;
  /* ← 文字サイズ基準 */
  flex-shrink: 0;
  /* 縮まない */
}

.category_type {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 400;
}

.category_type .tags {
  display: flex;
  align-items: center;
  gap: 30px;
}

.category_type .tags a {
  text-decoration: underline;
  font-size: 2.1rem;
  font-weight: 400;
  transition: color 0.3s ease;
padding-right: 30px;
	    color: #1d2087;
}

.category_type .tags a:hover {
  color: #e3007F;
}

/* 物件タイトル */
.detail h3 {
  font-size:3.2rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  white-space: normal;
  /* ← 改行を許可（念のため） */
  word-break: break-word;
  /* ← 日本語＋英数字混在でも安全 */
  overflow-wrap: anywhere;
  /* ← 長い英数字対策（保険） */
}

@media (max-width: 768px) {
  .detail h3 {
    font-size: 2.8rem;
  }
}

/* エリア+タグ部分 */
.location_menu {
  display: flex;
  flex-wrap: wrap;
  /* はみ出たら折り返す */
  gap: 8px;
  row-gap: 6px;
  /* ← 縦だけ詰める */
  align-items: center;
  margin-top: 30px;
}

.location_menu .place {
  font-size: 1.4rem;
  font-weight: 400;
  white-space: nowrap;
  /* 地名は改行させない */
  margin-right: 20px;
  flex-shrink: 0;
}

.location_menu .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  row-gap: 6px;
}

.location_menu .tag a {
  display: inline-block;
  padding: 5px 10px 6px;
  font-size: 1.2rem;
  font-weight: bold;
  border: 1px solid #989898;
  color: #989898;
  text-decoration: none;
  white-space: nowrap;
  /* タグ内改行防止 */
  transition: color 0.2s, border 0.2s;
	    margin-right: 10px;
	pointer-events: none;
}

.location_menu .tag a:hover {
  color: black;
  border: 1px solid black;
}

/* ビフォーアフター写真 */
.before_after {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
    margin-top: 3rem;
}

@media (max-width: 400px) {
  .before_after {
    flex-direction: column;
  }
}

.before_after img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 400px) {
  .before_after {
    flex-direction: column;
  }
}

.before_after .arrow {
  align-self: center;
  flex-shrink: 0;
  width: 30px;
  height: auto;
  transform: translateY(-70px);
}

@media (max-width: 400px) {
  .before_after .arrow {
/*    display: none;*/
  }

  .before_img {
/*    max-width: 80%;*/
  }
}

.before_after figcaption {
  width: 95%;
  margin: 0 auto;
  padding-top: 10px;
  line-height: 2;
  font-weight: 400;
}

/* 施工情報、コメント、お客様の声共通 */
.detail_flex_01 {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .detail_flex_01 {
    flex-direction: column;
    margin-top: 20px;
  }
}

.detail_flex_01 section,
.voice {
  background-color: #f4f6fa;
  border-radius: 10px;
  font-weight: normal;
}

.detail_profile,
.detail_comment,
.detail_voice {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 15px;
}

.detail_profile h4,
.detail_comment h4,
.detail_voice h4 {
  font-size:2.4rem;
}

.detail_profile p,
.detail_comment p,
.detail_voice p {
  font-size: 1.2rem;
  color: #db5411;
}

/* 施工情報、コメントエリア */
.profile,
.comment {
  position: relative;
  padding: 5px;
  width: 100%;
}

.profile {
  max-width: 390px;
}

.comment {
  max-width: 560px;
}

@media (max-width: 768px) {
  .profile {
    max-width: 100%;
  }

  .comment {
    max-width: 100%;

  }
}

/* 施工情報 */
.profile {
  position: relative;
  padding: 25px;
}

.profile img {
  position: absolute;
  top: 0;
  right: 0;
  width: 62px;
  height: 52px;
  margin: 10px;
}

.profile table {
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 1.4rem;
  border-collapse: collapse;
}
@media (max-width: 768px) {
.profile table {
      margin: 0 auto;
    }
  }
  
.profile th {
  width: 120px;
}

.profile table .multiline {
  line-height: 1.5;
}

/* 罫線作成 */
.profile th,
.profile td {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.profile tr {
  position: relative;
}

.profile tr::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgb(221, 217, 215);
}

.profile td {
  line-height: 1;
  padding: 1.8em 20px;
}

/* コメント */
.comment {
  position: relative;
  padding: 20px;
}

.comment img {
  position: absolute;
  top: 0;
  right: 0;
  width: 51px;
  height: 63px;
  margin: 10px;
}

.comment_text {
  font-weight: 400;
  max-width: 500px;
  margin: 40px auto 0;
  line-height: 2;
}

/* 施工詳細写真 */
.detail_photo_grid>* {
  margin: 0;
  min-width: 0;
}

.detail_photo_grid figure {
  margin: 0;
}

.detail_photo_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
    .detail_photo_grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
	.detail_photo_grid img {
    border-radius: 0.5rem;
}
	
}

.detail_photo_grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* お客様の声 */
.voice {
  max-width: 980px;
  width: 100%;
  margin-top: 50px;
  margin-bottom: 50px;
  font-size: 15px;
  padding: 10px 40px 20px;
}

.customer_voice {
  display: flex;
  margin-top: 30px;
  gap: 50px;
}

@media (max-width: 400px) {
  .customer_voice {
    flex-direction: column;
    gap: 10px;
  }
	.before_after .arrow {
        /* align-self: center; */
        flex-shrink: 0;
        /* width: 30px; */
        /* height: auto; */
        /* margin-bottom: 20px; */
        /* text-align: center; */
        transform: rotate(90deg);
        margin-bottom: 20px;
		        margin-top: 10px;
}
	.before_after {
    display: block;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
        margin-top: 30px;
		text-align: center;
}
	.before_after figcaption {
    width: 100%;
    margin: 0 auto;
    padding-top: 10px;
    line-height: 2;
    font-weight: 400;
    text-align: left;
}
	.before_after img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}
	.profile {
    position: relative;
    padding: 20px;
}
	
}

.customer_lead {
  font-size: 21px;
  font-weight: bold;
  color: #1d2086;
  margin-bottom: 10px;
}

.customer_text {
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
}

@media (max-width: 768px) {
  .customer_voice img {
    align-self: center;
        max-width: 100%;
    height: auto;
  }
}

@media (max-width: 400px) {
  .customer_voice img {
        max-width: 20%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .customer_lead {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .customer_text {
    line-height: 1.5;
  }
}

/* ページ切替ボタンエリア */
.prev,
.back,
.next {
  color: black;
  font-size: 15px;
}

.prev,
.next {
  display: flex;
  justify-content: center;
  align-items: center;
  gap:20px
}

.work-nav {
  white-space: normal;
  gap: 100px;
  padding: 0;
  display: inline-flex;
  justify-content: center;
    align-items: center;
    width: 100%;
  margin: 0 auto 130px;
    transition: color 0.1s ease;
}
@media (max-width: 768px) {
  .work-nav {
    gap: 50px;
  }
}

.work-nav .icon {
  width: 30px;
}

.work-nav a:hover {
  color: #1d2086;
}

.work-nav a:nth-child(2) {
  transition:
    color 0.1s ease,
    transform 0.1s ease,
    letter-spacing 0.1s ease,
    font-weight 0.1s ease;
}

.work-nav a:nth-child(2):hover {
  color: #e3007F;
  transform: translateY(-1px);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.work-nav img {
  display: block;
  width: 30px;
  height: auto;
  transition: transform 0.25s ease;
}

@media (max-width: 768px) {
  .work-nav .icon {
  width: 5vw;
    margin: 0;
    padding: 0;
    text-align: center;
    /* width: 7vw; */
  }
.work-nav .icon {
  padding: 0;
  margin: 0;

}
  .work-nav a{
    font-size: 12px;
  }
}

@media (max-width: 400px) {
.work-nav .icon img{
display: none;
}
.work-nav .icon{
  display: none;
}

.prev,
.next {
  gap: 15px;
}
.prev::before{
content: "＜";
}
.next::after{
content: "＞";
}
.work-nav {
  flex-direction: column;
  gap: 20px;
  margin-bottom: 50px;
}

.prev .text,
.next .text{
  font-size: 14px;
}

.work-nav .back{
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #e3007F;
}

}

/* hover */
.work-nav a.prev:hover img {
  transform: translateX(-6px);
}

.work-nav a.next:hover img {
  transform: translateX(6px);
}

/* ＝＝＝＝＝＝ worksエリア ＝＝＝＝＝＝＝ */
/* 背景 */
.carousel {
  background-color: #f3eee8;
  padding: 80px 5px;
}

@media (max-width: 400px) {
  .carousel {
    padding: 30px 5px;
  }
}

/* 幅制御 */
.carousel .inner_02 {
  max-width: 1200px;
  margin: 0 auto;
}

.carousel h2 {
  font-size: 54px;
  letter-spacing: 0.02em;
  font-family: "Josefin Sans", sans-serif;
  color: #1d2086;
  text-align: center;
}

@media (max-width: 400px) {
  .carousel h2 {
    font-size: 35px;
  }
}

.carousel_title {
  font-size: 20px;
  text-align: center;
  margin-top: 5px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* 物件カード設定 */
.carousel_contents {
  display: grid;
  align-items: flex-start;
  gap: 12px;
  scroll-snap-align: start;
}

.carousel_container {
  align-items: flex-start;
  display: grid;
  grid-auto-flow: column;
  /* ← 横に流す */
  grid-auto-columns: 311px;
  /* ← 各カードの幅 */
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

/* 写真 */
.carousel_item {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: opacity .3s ease, transform .3s ease;
  margin-bottom: 10px;
}

.carousel_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel_item:hover {
  opacity: 0.7;
  transform: scale(0.98);
}

/* カテゴリタイプ */
.carousel_category_type_icon {
  width: auto;
  height: 1em;
  /* ← 文字サイズ基準 */
  flex-shrink: 0;
  /* 縮まない */
}

.carousel_category_type {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 400;
}

.carousel_category_type .carousel_tags {
  display: flex;
  align-items: center;
  gap: 25px;
}

.carousel_category_type .carousel_tag a {
  text-decoration: underline;
  font-size: 16px;
  transition: color 0.3s ease;
}

.carousel_category_type .carousel_tag a:hover {
  color: #e3007F;
}

/* 物件タイトル */
.carousel h3 {
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  white-space: normal;
  /* ← 改行を許可（念のため） */
  word-break: break-word;
  /* ← 日本語＋英数字混在でも安全 */
  overflow-wrap: anywhere;
  /* ← 長い英数字対策（保険） */
}

/* エリア */
.carousel_location_menu .carousel_place {
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  /* 地名は改行させない */
  flex-shrink: 0;
  margin-bottom: 10px;
}

/* タグ */
.carousel_location_menu .carousel_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  row-gap: 6px;
  /* ← 縦だけ詰める */
}

.carousel_location_menu .carousel_tag a {
  display: inline-block;
  padding: 6px 10px 7px;
  font-size: 0.7rem;
  font-weight: bold;
  border: 1px solid #989898;
  color: #989898;
  text-decoration: none;
  white-space: nowrap;
  /* タグ内改行防止 */
  transition: color 0.2s ease, border 0.2s ease;
}

.carousel_location_menu .carousel_tag a:hover {
  color: black;
  border: 1px solid black;
}

/* 横スクロールバー */
/* ===== Chrome / Edge / Safari ===== */
.carousel_container::-webkit-scrollbar {
  height: 10px;
  /* 横スクロールなので height */
}

.carousel_container::-webkit-scrollbar-track {
  background: transparent;
  /* レールを透明に */
}

.carousel_container::-webkit-scrollbar-thumb {
  background-color: #989898;
  /* つまみ色 */
}

/* ===== Firefox ===== */
.carousel_container {
  scrollbar-width: auto;
  scrollbar-color: #989898 transparent;
}

/* ↑　hover表現はブラウザ設定に依存。細かい設定不可 */

/* ドット設定 */
.carousel_dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.carousel_dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 4px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, transform 0.2s ease-out;
  transform-origin: center center;
}

.carousel_dot:hover {
  background-color: hwb(0 58% 37% / 0.732);
}

.carousel_dot.is-current {
  background: #e3007f;
  transform: scale(1.3);
}

/* 物件一覧を見るボタン */
.works_button {
  margin: 30px auto 50px;
  width:280px;
}

@media (max-width: 400px) {
  .works_button {
    max-width: 80%;
  }
	
}

.works_button a {
  display: block;
  padding: 16px 0;
  background-color: #e3007F;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  border-radius: 25px;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  max-width: 100%;
}



.works_button a:hover {
  background-color: #c07ba1;
  transform: translateY(2px);
}

/* カーソル消し */
.works_button:focus,
.works_button:focus-visible {
  outline: none;
}

.carousel_dot:focus,
.carousel_dot:focus-visible,
.works_button:focus,
.works_button:focus-visible {
  outline: none;
}

    .comWorks .slideBox_w {
display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 20px;
    }
    .comWorks .slide_w {
    float: none;
    width: 100%;
    width: calc((100% - 40px) / 3) !important;
    margin-bottom: 30px !important;
    }

@media (max-width: 1200px) {
.comWorks .slideBox_w {
    max-width: 100%;
padding:0 2rem;

}
}

@media all and (max-width: 896px) {
.inner_01 {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 2rem;
}
	.category_type .tags a {
    text-decoration: underline;
        font-size: 1.5rem;
    font-weight: 400;
	padding-right: 10px;
}
	.detail h3 {
    font-size: 2.4rem;
}
.location_menu {
    margin-top: 20px;
}
	.detail_profile h4, .detail_comment h4, .detail_voice h4 {
    font-size: 2rem;
}
	.detail_profile, .detail_comment, .detail_voice {
    padding-top: 0;
}
.customer_voice .c_img {
        width: 100%;
}
	.customer_voice {
    display: flex;
    margin-top: 20px;
    gap: 50px;
}
	.voice {
    padding: 20px;
}
	.customer_lead {
    font-size: 1.7rem;
}
	.customer_text {
    font-size: 1.4rem;
	}
    .profile table {
        margin: 0;
        width: 100%;
        margin-top: 10px;
    }
	.comment_text {
    font-weight: 400;
    max-width: 100%;
    margin: 30px auto 0;
    line-height: 2;
}
	.before_after img {
    border-radius: 0.5rem;
}
	    .detail_photo_grid img {
        border-radius: 0.5rem;
    }
	

}
@media (max-width: 400px) {
    .customer_voice {
        display: flex;
        margin-top: 20px;
        gap: 10px;
    }
}
.comPhotoList span {
    width: 11.3rem;
    position: absolute;
    left: 0;
    top: 0;
    padding: 1rem 1rem 0.7rem;
    text-align: center;
    color: #fff;
    font-size: 3rem;
    font-weight: 600;
    background-color: #e3007f;
    border-radius: 1rem 0 1rem 0;
    line-height: 1;
}
.comPhotoList {
    margin-top: 0;
    width: 79.4rem;
    position: relative;
}

.comPhotoList.photo_before {
    width: 52.4%;
    /* margin-top: 0; */
    /* width: auto; */
    position: relative;
}
.data_text{
    margin-top: 40px;
}
.data_text p {
    padding-bottom: 10px;
    line-height: 1.8;
}
.customer_text h4,.customer_text h5,.customer_text h6{
    color: #1d2086;
    margin-bottom: 10px;
}
.customer_text h3,.customer_text h2,.customer_text h1{
    font-size: 21px;
    font-weight: bold;
    color: #1d2086;
    margin-bottom: 10px;
}
.customer_text h2{
    font-size: 24px;
}
.customer_text h1{
    font-size: 30px;
}

/* clearfix
------------------------------------------- */
.clearfix {
	zoom: 1;
}
.clearfix:after {
	content : '';
	display : block;
	clear : both;
	height: 0;
	visibility:hidden;
}

.comWorks .slideBox_w {
    max-width: 120rem;
    margin: 0 auto 6.5rem;
/*    padding-left: 4.2rem;*/
    box-sizing: border-box;
}

.comWorks .slide_w{
/*    float: left;*/
    width: 35.3rem;
}
 .slideBox_w .category_type .tags a {
    text-decoration: underline;
    font-size: 1.7rem;
    font-weight: 400;
    transition: color 0.3s ease;
    padding-right: 10px;
    color: #1d2087;
}
 .slideBox_w .category_type .tags {
    display: inline-block;
    align-items: center;
    gap: 30px;
}
.comWorks .slide_w {
    margin: 0;
}

.comWorks.works {
    padding: 0 0 5.8rem;
    background-color: inherit;
}
.works_t,.catList {
    width: 780px;
    margin: 0 auto;
    margin-bottom: 30px;
}
.catList {
    width: 780px;
    margin: 0 auto;
    margin-bottom: 30px;
  gap: 10px 20px;/*縦20px、横30pxの指定*/
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}
.w_arrow {
    padding-top: 30px;
    padding-bottom: 20px;
    text-align: right;

}

@media (max-width: 800px) {
.works_t,.catList {
    width: 95%;
    margin: 0 auto;
	    margin-bottom: 30px;
	
}
	
}

@media (max-width: 768px) {
.catList li img {
    height: 40px;

}
	.catList {
		    gap: 5px 10px;
	}
}
	
	@media (max-width: 896px) {
	.comWorks .slideBox_w {
	max-width: 100%;
	margin: 0 auto 6.5rem;
	padding-left: 0;
	box-sizing: border-box;
	padding: 0 1.5rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

	.comWorks .slide_w {
    margin: 0;
}
.comWorks .slide_w {
        float: none;
        width: 100%;
        width: calc((100% - 20px) / 2) !important;
        margin-bottom: 0px !important;
}
		.category_type {
    display: flex;
    align-items: center;
			        gap: 0 10px;
}
		.slideBox_w .category_type .tags a {
    text-decoration: underline;
    font-size: 1.4rem;
		}
		.comWorks .txt span a {
margin: 0 0.4rem 0.5rem 0;
        padding: 0.1rem 0.5rem 0.2rem;
        border: 1px solid #989898;
        font-size: 1rem;
        display: inline-block;
}
		.comWorks .txt {
    margin-left: 0;
		}
		.w_arrow img{
    width: 100px;
}
		.comWorks .pho {
    border-radius: 0.5rem;
		
}
		.comPhotoList {
    width: 100%;
}
	
		.comPhotoList.photo_before {
    width: 100%;
}
		.comPhotoList span {
    width: 8rem;
    font-size: 2rem;
}
	.w_arrow {
    padding-top: 10px;
    padding-bottom: 20px;
    text-align: right;
}	
		
}

@media (max-width: 400px) {
    .catList li img {
        height: 35px;
    }
}

.category_icon02{
    padding-top: 6px;
}

.footer-post-meta a{
	    pointer-events: none;
}
.comWorks.works .slide_w .txt span.tag a {
	    pointer-events: none;
}

	@media (max-width: 896px) {
.comWorks.works .slideBox_w .slide_w .category_type {
        gap: 0;
    }
}