@charset "UTF-8";
/*-- mixinフォルダの中の_index.scss --*/
/*---------------------
変数
-----------------------*/
/**************************

  カラーパレット

**************************/
/*------------------------------------
SP特化サイト用メディアクエリ MIXIN
---------------------------------*/
/*---------------------
 ★ 文字関連一括指定（フォントサイズ+2px対応版）
-----------------------*/
/*---------------------
//Fontサイズ vw可変指定（SP特化サイト用）
----------------------*/
/* @include font-vw(font-size, 440px, 16px, 12px);
SP特化サイトの最大幅440pxのとき16pxの文字sizeをvw変換し、
幅を狭めるごとに比率で縮めるが、そのまま適用すると早々に小さくなりすぎるので、
最小値12pxを指定。最小値になる幅sizeを割り出し、メディアクエリにmin指定することで
16pxの比率のまま縮め、12px以下には縮まないという指定にしている。
*/
/*---------------------
 ★ リンク文字色 一括指定
-----------------------*/
/*---------------------
 ★ リンク下線復活
-----------------------*/
/*-------------------------------------
 ★ リンク下線消去 一括指定//フォーカスのみ下線
---------------------------------------*/
/*-------------------------------------
 ★ floatのあとは自動 clear: both;
 @include clearfix;
 float: left;
 のように使用する
---------------------------------------*/
/*-------------------------------------
 ★セレクトのプロパティをサイズ指定して変更
---------------------------------------*/
/*-------------------------------------

   レイアウト汎用

---------------------------------------*/
/*-----------------------------------

 上部余白

-----------------------------------*/
/*-----------------------------------

 改行制御

-----------------------------------*/
/*-----------------------------------

 中央寄せと左寄せ制御

-----------------------------------*/
/*--------------------------------------------
//文字数を指定行数で丸めて…で省略・複数行対応mixin
----------------------------------------------*/
/*-----------------------------------

 文章段落

-----------------------------------*/
/*--------------------------------
  施工実績詳細ページ
  p-single-works
---------------------------------*/
.p-single-works {
  /* ヒーローセクション */
}
.p-single-works__hero {
  padding: 30px 0 20px;
  text-align: center;
}
.p-single-works__title {
  font-style: normal;
  font-weight: bold;
  font-size: calc(24 / 16 * 1rem);
  color: #333;
  letter-spacing: 0em;
  line-height: 1.4;
  margin-bottom: 15px;
}
.p-single-works__category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 8px;
}
.p-single-works__category-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #214287;
  border-radius: 20px;
  text-decoration: none;
  font-style: normal;
  font-weight: 500;
  font-size: calc(15 / 16 * 1rem);
  color: #ffffff;
  letter-spacing: 0em;
  line-height: 1.4;
  color: #ffffff;
  text-decoration: none;
}
.p-single-works__category-badge:visited, .p-single-works__category-badge:hover, .p-single-works__category-badge:active, .p-single-works__category-badge:focus {
  color: hsl(0, 0%, 120%);
  text-decoration: none;
}
.p-single-works__category-badge {
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.p-single-works__category-badge:hover {
  opacity: 0.8;
}
.p-single-works {
  /* Before/After セクション */
}
.p-single-works__before-after {
  padding: 20px 0;
}
.p-single-works__before-after-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 15px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.p-single-works__before-after-item {
  text-align: center;
}
.p-single-works__before-after-link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.p-single-works__before-after-image {
  width: 100%;
  height: auto;
  display: block;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.p-single-works__before-after-image:hover {
  -webkit-transform: scale(1.02);
          transform: scale(1.02);
}
.p-single-works__before-after-label {
  font-style: normal;
  font-weight: 600;
  font-size: calc(16 / 16 * 1rem);
  color: #333;
  letter-spacing: 0em;
  line-height: 1.4;
  margin-top: 8px;
  padding: 4px 12px;
  background: rgba(33, 66, 135, 0.1);
  border-radius: 4px;
  display: inline-block;
}
.p-single-works {
  /* メイン画像セクション */
}
.p-single-works__main-image {
  padding: 20px 0;
}
.p-single-works__main-image-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.p-single-works {
  /* 施工内容・お客様の声 セクション */
}
.p-single-works__detail {
  padding: 20px 0;
}
.p-single-works__detail-section {
  margin-bottom: 30px;
}
.p-single-works__detail-section:last-child {
  margin-bottom: 0;
}
.p-single-works__detail-title {
  font-style: normal;
  font-weight: bold;
  font-size: calc(20 / 16 * 1rem);
  color: #333;
  letter-spacing: 0em;
  line-height: 1.4;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #214287;
  position: relative;
}
.p-single-works__detail-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: #214287;
}
.p-single-works__detail-content {
  font-style: normal;
  font-weight: 400;
  font-size: calc(17 / 16 * 1rem);
  color: #333;
  letter-spacing: 0em;
  line-height: 1.8;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
          box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.p-single-works {
  /* ギャラリーセクション */
}
.p-single-works__gallery {
  padding: 20px 0;
}
.p-single-works__gallery-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 10px 1fr 10px 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.p-single-works__gallery-item {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
          box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.p-single-works__gallery-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.p-single-works__gallery-image:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.p-single-works {
  /* 追加情報セクション */
}
.p-single-works__extra {
  padding: 20px 0;
}
.p-single-works__extra-section {
  margin-bottom: 30px;
}
.p-single-works__extra-section:last-child {
  margin-bottom: 0;
}
.p-single-works__extra-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
          box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
@media screen and (max-width: 580px) {
  .p-single-works__extra-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.p-single-works__extra-image {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 150px;
}
@media screen and (max-width: 580px) {
  .p-single-works__extra-image {
    width: 100%;
    max-width: 200px;
  }
}
.p-single-works__extra-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.p-single-works__extra-text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-style: normal;
  font-weight: 400;
  font-size: calc(17 / 16 * 1rem);
  color: #333;
  letter-spacing: 0em;
  line-height: 1.8;
}
.p-single-works {
  /* 前後の記事ナビ */
}
.p-single-works__nav {
  padding: 30px 0;
}
.p-single-works__nav-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media screen and (max-width: 580px) {
  .p-single-works__nav-grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.p-single-works__nav-prev, .p-single-works__nav-next {
  background: #ffffff;
  padding: 15px;
  border-radius: 8px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
          box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.p-single-works__nav-label {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: calc(14 / 16 * 1rem);
  color: #666;
  letter-spacing: 0em;
  line-height: 1.4;
  margin-bottom: 8px;
}
.p-single-works__nav-link {
  font-style: normal;
  font-weight: 500;
  font-size: calc(16 / 16 * 1rem);
  color: #214287;
  letter-spacing: 0em;
  line-height: 1.5;
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}
.p-single-works__nav-link:hover {
  text-decoration: underline;
}
.p-single-works__nav-thumb {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  overflow: hidden;
}
.p-single-works__nav-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-single-works__nav-title {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-single-works__nav-none {
  font-style: normal;
  font-weight: 400;
  font-size: calc(15 / 16 * 1rem);
  color: #666;
  letter-spacing: 0em;
  line-height: 1.4;
}
.p-single-works {
  /* 関連施工実績セクション */
}
.p-single-works__related {
  padding: 30px 0;
  background: rgba(248, 249, 250, 0.5);
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}
.p-single-works__related-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 15px 1fr;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}
@media screen and (max-width: 480px) {
  .p-single-works__related-grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.p-single-works__related-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  background: #ffffff;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
          box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  -webkit-transition: -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
  transition: -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
  transition: transform 0.3s, box-shadow 0.3s;
  transition: transform 0.3s, box-shadow 0.3s, -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
}
.p-single-works__related-card:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.p-single-works__related-thumb {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
}
.p-single-works__related-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-single-works__related-info {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.p-single-works__related-title {
  font-style: normal;
  font-weight: 500;
  font-size: calc(15 / 16 * 1rem);
  color: #333;
  letter-spacing: 0em;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-single-works__related-more {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 10px;
}