.elementor-12267 .elementor-element.elementor-element-3266fc3a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:40px 40px;--row-gap:40px;--column-gap:40px;--padding-top:40px;--padding-bottom:40px;--padding-left:0px;--padding-right:0px;}.elementor-12267 .elementor-element.elementor-element-374e467d{--display:flex;--min-height:0px;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-12267 .elementor-element.elementor-element-4cb1d9fc{--display:flex;--min-height:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-12267 .elementor-element.elementor-element-4cb1d9fc.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-12267 .elementor-element.elementor-element-7b4f95f6 > .elementor-widget-container{margin:-8px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-widget-theme-archive-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-12267 .elementor-element.elementor-element-149f6391.elementor-element{--align-self:center;}.elementor-12267 .elementor-element.elementor-element-149f6391 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:16px;font-weight:600;letter-spacing:1px;}.elementor-12267 .elementor-element.elementor-element-3b814273{--display:flex;--gap:20px 20px;--row-gap:20px;--column-gap:20px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-12267 .elementor-element.elementor-element-681d7427 .elementor-heading-title{font-family:"Afacad", Sans-serif;font-size:58px;font-weight:400;text-transform:uppercase;letter-spacing:1px;}.elementor-widget-breadcrumbs{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-12267 .elementor-element.elementor-element-255bc7ca.elementor-element{--align-self:flex-end;}.elementor-12267 .elementor-element.elementor-element-255bc7ca{font-family:"Noto Sans JP", Sans-serif;font-size:12px;font-weight:400;color:#A2A2A2;}.elementor-12267 .elementor-element.elementor-element-255bc7ca a{color:#333333;}.elementor-12267 .elementor-element.elementor-element-255bc7ca a:hover{color:#DFDFDF;}.elementor-12267 .elementor-element.elementor-element-4d9b688d{--display:flex;--padding-top:60px;--padding-bottom:60px;--padding-left:0px;--padding-right:0px;}@media(min-width:768px){.elementor-12267 .elementor-element.elementor-element-4cb1d9fc{--width:49px;}}@media(max-width:767px){.elementor-12267 .elementor-element.elementor-element-3266fc3a{--gap:20px 20px;--row-gap:20px;--column-gap:20px;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-12267 .elementor-element.elementor-element-374e467d{--gap:8px 8px;--row-gap:8px;--column-gap:8px;}.elementor-12267 .elementor-element.elementor-element-4cb1d9fc{--width:30px;}.elementor-12267 .elementor-element.elementor-element-7b4f95f6 > .elementor-widget-container{margin:-11px 0px 0px 0px;}.elementor-12267 .elementor-element.elementor-element-149f6391 .elementor-heading-title{font-size:14px;}.elementor-12267 .elementor-element.elementor-element-3b814273{--gap:20px 20px;--row-gap:20px;--column-gap:20px;}.elementor-12267 .elementor-element.elementor-element-681d7427 .elementor-heading-title{font-size:24px;line-height:0.6em;}.elementor-12267 .elementor-element.elementor-element-255bc7ca{font-size:8px;}.elementor-12267 .elementor-element.elementor-element-4d9b688d{--padding-top:20px;--padding-bottom:40px;--padding-left:20px;--padding-right:20px;}}/* Start custom CSS for html, class: .elementor-element-7b4f95f6 *//* ベースの長方形アイコン */
.grad-rect-icon{
  position: relative;
  width: 50px;           /* アイコンの幅：お好みで調整 */
  height: 20px;          /* アイコンの高さ：お好みで調整 */
  border-radius: 2px;    /* 角丸 */
  overflow: hidden;       /* 中のグラデはみ出し防止 */
  background: #0f172a;    /* ベースのダークカラー */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-size: 14px;
}

/* テキスト（任意） */
.grad-rect-icon__label{
  position: relative;
  z-index: 1;             /* グラデーションより前に */
}

/* 左上で光っている“円形グラデーション” */
.grad-rect-icon::before{
  content: "";
  position: absolute;
  left: -30%;
  top: -40%;
  width: 200%;            /* 長方形より大きくしてなじませる */
  height: 200%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 20% 20%,
      #ffe066 0%,         /* 黄色系（中心） */
      #169e7e 25%,        /* 指定のグリーン */
      #1d4ed8 55%,        /* 青系 */
      rgba(15, 23, 42, 0.95) 100%
    );
  background-size: 200% 200%;
  filter: blur(4px);      /* ふんわり */
  opacity: 0.9;
  animation: grad-rect-move 6s ease-in-out infinite alternate;
}

/* グラデーション部分だけがゆっくり動く */
@keyframes grad-rect-move{
  0%{
    background-position: 0% 0%;
    opacity: 0.9;
  }
  40%{
    background-position: 40% 20%;
    opacity: 1;
  }
  70%{
    background-position: 60% 40%;
    opacity: 0.95;
  }
  100%{
    background-position: 100% 60%;
    opacity: 0.9;
  }
}
/* タブレットあたりで少しだけ小さく */
@media (max-width: 1024px){
  .grad-rect-icon{
    width: 44px;
    height: 18px;
    font-size: 13px;
  }
}

/* スマホ：さらに少しだけ縮める（行間を邪魔しないサイズ） */
@media (max-width: 640px){
  .grad-rect-icon{
    width: 30px;
    height: 14px;
    font-size: 12px;
  }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-1bb3b84c */.works-house-archive-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin:0px 0 0px;
}

.works-house-archive-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    transition:0.35s;
    border:1px solid #e6dfd2;
    box-shadow:0 10px 30px rgba(0,0,0,0.04);
}

.works-house-archive-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,0.08);
}

.works-house-archive-link{
    display:block;
    text-decoration:none;
    color:#333;
}

.works-house-archive-thumb{
    overflow:hidden;
}

.works-house-archive-thumb img{
    width:100%;
    height:200px;
    object-fit:cover;
    display:block;
    transition:0.5s;
}

.works-house-archive-card:hover img{
    transform:scale(1.05);
}

.works-house-archive-content{
    padding:24px;
}

.works-house-archive-title{
    font-size:20px;
    line-height:1.6;
    font-weight:700;
    margin-bottom:14px;
    color:#333;
}

.works-house-archive-text{
    font-size:15px;
    line-height:2;
    color:#666;

    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;

    overflow:hidden;

    margin-bottom:22px;
}

.works-house-archive-more{
    font-size:14px;
    font-weight:700;
    color:#b89b68;
    letter-spacing:0.08em;
}

/* pagination */

.works-house-pagination{
    text-align:center;
    margin-top:40px;
}

.works-house-pagination .page-numbers{
    display:inline-flex;
    justify-content:center;
    align-items:center;

    width:46px;
    height:46px;

    margin:0 6px;

    border-radius:50%;
    text-decoration:none;

    background:#fff;
    border:1px solid #ddd;

    color:#333;

    transition:0.3s;
}

.works-house-pagination .page-numbers.current,
.works-house-pagination .page-numbers:hover{
    background:#c9ab72;
    border-color:#c9ab72;
    color:#fff;
}

/* tablet */

@media(max-width:1024px){

    .works-house-archive-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

/* smartphone */

@media(max-width:767px){

    .works-house-archive-grid{
        grid-template-columns:1fr;
        gap:24px;
    }

    .works-house-archive-thumb img{
        height:220px;
    }

    .works-house-archive-content{
        padding:20px;
    }

    .works-house-archive-title{
        font-size:18px;
    }

}
/* --- テキストサイズの統一（スマホ・タブレット共通） --- */
@media(max-width:767px){
    .works-house-archive-text {
        font-size: 14px;      /* ご希望のサイズに変更 */
        line-height: 1.8;     /* 小さくした分、行間を少し締めて視認性アップ */
        margin-bottom: 16px;
    }

    /* パディングの微調整でカードの中身をすっきりさせる */
    .works-house-archive-content {
        padding: 16px;
    }
}

/* --- ページネーションのスマホ最適化 --- */
@media(max-width:767px){
    .works-house-pagination {
        margin-top: 30px;
    }

    .works-house-pagination .page-numbers {
        width: 38px;          /* ボタンを少し小さくして収まりを良くする */
        height: 38px;
        margin: 0 4px;        /* 左右の余白を詰める */
        font-size: 13px;      /* 文字サイズも合わせて調整 */
    }
}

/* さらに小さい画面への対応（iPhone SE等） */
@media(max-width:375px){
    .works-house-pagination .page-numbers {
        width: 34px;
        height: 34px;
        margin: 0 2px;
    }
}/* End custom CSS */