@charset "utf-8";
.archiveWorksHead {
  display: flex;
  flex-direction: column;
  margin-bottom: calc(30 / 16 * 1rem);
  gap: calc(50 / 16 * 1rem);
}
.archiveWorksHead__copy {
  position: relative;
  --border-color: #1C293F;
  font-weight: 700;
  --min-size: 20;
  --max-size: 36;

  padding-top: clamp(1.875rem, 1.193rem + 3.41vw, 3.75rem);

  padding-bottom: clamp(1.875rem, 1.193rem + 3.41vw, 3.75rem);
  font-size: var(--ClampSize);
  text-align: center;
}

.archiveWorksHead__copy::before, 
.archiveWorksHead__copy::after {
  display: block;
  position: absolute;
  width: calc(111/ 16 * 1rem);
  height: calc(88/ 16 * 1rem);
  content: "";
}
.archiveWorksHead__copy::before {
  top: 0;
  left: 0;
  border-top: 2px solid var(--border-color);
  border-left: 2px solid var(--border-color);
}
.archiveWorksHead__copy::after {
  right: 0;
  bottom: 0;
  border-right: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
}

.archiveWorksHead__link {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 304px;
  margin-right:auto;
  margin-left:auto;
  padding-top: calc(13 / 16 * 1rem);
  padding-bottom: calc(13 / 16 * 1rem);
  gap: calc(8 / 16 * 1em);
  border: 2px solid #1C293F;
  border-radius: 8px;
  background-color: #FFEFF1;
  color: inherit;
  font-weight: 600;
}


/* BreadCrumb */
#breadCrumb {
  display: none;
}

/* ヘッダーのスタイル */
h1 {
  background: url(../img/works/h1.png) no-repeat left 13px;
}





.post_content h2 {
  margin: 0 !important;
}

/* テーブル */
table {
  border-collapse: separate;
  border-spacing: 10px;
}

th {
  padding: 6px 15px;
  border: 2px solid #7E7968;
  background-color: #7E7968;
  color: white;
  text-align: center;
}

/* 施工事例のメインエリア */
.worksMain {
  display: flex;
  flex-direction: row-reverse;
  /* 左右反転 */
  justify-content: center;
  padding: 30px 0 120px;
  gap: 1rem;
}

.worksMain.single>div:not(.imageBox) {
  flex: 1;
}

.worksMain.single .imageBox {
  flex: .5;
}

.imgBox {
  flex-basis: 40%;
  justify-content: center;
}

.worksJirei {
  box-sizing: border-box;
  width: 100vw;
  margin-bottom: 40px;
  margin-left: calc(-50vw + 50%);
  padding: 20px 0;
  background-color: #F8F5F0;
}

/* サブタイトル */
h3 {
  position: relative;
  /* 縦線の幅6px + h3との距離20px */
  margin-bottom: 40px;
  padding-left: 26px;
  font-size: 24px;
}

h3::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 60px;
  transform: translateY(-50%);
  background-color: #DF98A4;
  content: "";
}

/* 事例見出しとアイコン */
.heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
}

.heading .en {
  --min-size: 40;
  --max-size: 44;
  font-weight: 700;
  font-size: var(--ClampSize);
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}

.robotoSrab {
  font-family: "Roboto Slab", serif;
}

.heading .ja {
  --min-size: 16;
  --max-size: 18;
  font-weight: 700;
  font-size: var(--ClampSize);
  letter-spacing: 0.02em;
  text-align: center;
}

.heading.--works::before {
  background-image: url(../img/icon-door.svg);
}

.heading.--icon::before {
  display: block;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
}

/* 施工前施工後エリア */



.before span,
.after span {
  position: absolute;
  bottom: -24px;
  left: 50%;
  padding: 10px 30px;
  transform: translateX(-50%);
  color: white;
  font-size: 1.5em;
}



/* .beforeに特化したスタイル */
.before span {
  /* 茶色 */
  border: 2px solid #7E7968;
  background-color: #7E7968;
}



/* .afterに特化したスタイル */
.after span {
  z-index: 2;
  /* ピンク */
  border: 2px solid #EBA2AD;
  background-color: #EBA2AD;
}


/* 右三角矢印 */
.before::after {
  display: block !important;
  z-index: 2;
  position: absolute !important;
  top: 50% !important;
  right: -120px !important;
  width: 0 !important;
  height: 0 !important;
  transform: translateY(-50%) !important;
  border-top: 50px solid transparent !important;
  border-right: 50px solid transparent !important;
  border-bottom: 50px solid transparent !important;
  border-left: 50px solid #04384C !important;
  content: "" !important;
}


/* コピー文字 */
.copy {
  --min-size: 28;
  --max-size: 42;
  margin: 80px 0 60px;
  font-weight: 600;
  font-size: var(--ClampSize);
  font-family: 'dnp-shuei-mgothic-std', sans-serif;
  text-align: center;
}

.pink_text {
  color: #EBA2AD;
}

/* 施工中写真 */
.photoList {
  display: grid;
  align-items: center;
  /* max-width: 980px; */
  /* display: flex; */
  justify-content: center;
  justify-content: center;
  grid-gap: 2rem;
  gap: 2rem;
  list-style: none;
}

.photoList li {
  margin: 10px;
}

.photoList li img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* 次の事例へ前の事例へ */
.singlenav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  gap: 65px;
  list-style: none;
}

.singlenav li {
  display: flex;
  position: relative;
  align-items: center;
}

.singlenav li a {
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-text-decoration: none;
  width: 100%;
  padding: 10px 20px;
  color: #333;
  font-size: 16px;
  text-decoration: none;
}

/* 矢印を囲む円 */
.singlenav li .bt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  margin-left: 10px;
  border-radius: 50%;
  background-color: #1C293F;
  color: white;
}

/* 左矢印 */
.nav_left .bt {
  margin-right: 10px;
  margin-left: 0;
}

.singlenav .nav_left .bt {
  margin-left: 0;
}

/* 矢印アイコン */
.bt::before {
  display: inline-block;
  transform: rotate(90deg);
  content: "\e912";
  font-family: icomoon !important;
}

/* 左矢印 */
.singlenav .nav_left .bt::before {
  transform: rotate(-90deg);
}

/* ホバー時 */
.singlenav li a:hover {
  background-color: #1C293F;
  color: white;
}

.singlenav li a:hover .bt {
  background-color: #fff;
  color: #1C293F;
}

.singlenav li a:hover .bt::before {
  color: #1C293F;
}

.singlenav li a:hover {
  cursor: pointer;
}

/*================
 Tag 
 =================*/

.tags {
  display: flex;
  display: block flex;
  flex-wrap: wrap;
  padding-left: 0 !important;
  padding-left: initial !important;
  gap: .5rem;
  list-style: none;
}

.tag {
  padding: .5% 5%;
  border-radius: 15px;
  background-color: #EBA2AD;
  color: #fff;
}

.tag a {
  color: inherit;
}

@media (min-width: 768px){
  .worksMain {
      padding: 80px
  }
}

@media (min-width: 899px){

.photoList li {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: center;
    grid-gap: 10px;
    gap: 10px
}
}

@media (min-width: 1200px){

th {
    padding: 6px 30px
}
}

@media (max-width: 899px){
  /* ここに900px未満の画面サイズ向けのスタイルを記述 */

  /* 例: .worksMainのスタイルを調整 */
  .worksMain {
    flex-direction: column-reverse;
    /* 縦並びに変更 */
    align-items: center;
    gap: 1rem;
  }


    @media (min-width: 768px) {
  .worksMain {
      padding: 80px
  }
    }

  .photoList {
    flex-direction: column;
    padding: 20px;
  }

  .commentBox,
  .voiceBox,
  .photoList {
    margin: 20px;
    padding: 40px;
  }

  .detailBox {
    padding: 0;
  }



  .before::after {
    display: none !important;
  }

  .spbr {
    display: block;
  }
}