@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*メインコンテツ　トップpaddingを狭く調整*/
.top #content{
    padding-top: 0;
}
.l-content{
    /*padding-top: 0;*/
	/*margin-bottom: 0!important;*//*ページ下部スペース調整*/
}

/*ヘッダー背景*/
.l-header{
background: rgba(255,255,255,0.7)!important;
}
.l-header__logo{
padding: 10px 0!important;
}

/* 通常のナビバー色の変更 */
.c-gnav>li:hover>a, .c-gnav>.-current>a {
    background: rgba(0,123,212,0.8);
	color: rgba(255,255,255,1.00)!important;
}
.c-gnav>.menu-item>a {
        transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    }


/*キービジュアル箇所*/
.kv-text-bg{
/*background: rgba(0,0,0,0.70);*/
text-shadow: 0 0 15px rgba(0,0,0,1);
}

/* 固定ページタイトル中央寄せ */
.c-pageTitle,
.c-pageTitle__inner {
	float: none!important;
	text-align: center;
}

.l-topTitleArea__body {
color: #fff;
font-size: 2em;
}

/* 投稿記事下部のカテゴリーを非表示*/
.p-articleFoot{
  display: none;
}


/*角丸*/
.radius {
background: rgba(255,255,255,1.00);
    border-radius: 15px!important; /* 角丸の半径を設定 */
    overflow: hidden; /* 角丸が正しく表示されるようにする */
}
.box-shadow{
box-shadow: 0 0 10px rgba(0,0,0,0.2)
}


@media (max-width: 960px)  {
.swell-col-reverse .swell-block-columns__inner{
flex-direction: column-reverse; 
}
}

.midashi_border_bt{
border-bottom: 1px solid #000000!important;
padding-bottom: 10px!important;
}



/*---------
フォーム
---------/*
/*必須*/
.smf-item__label__text{
display: flex;
align-items: center;
}
form.snow-monkey-form strong {
    color:#FFFFFF;
	background: #FF0004;
    font-size: 0.65em;
	padding:0 5px;
	margin-left: 8px;
	border-radius: 3px;
}
/*送信ボタン*/
.smf-action .smf-button-control__control {
min-width:40%;
width: auto;
color: var(--the-btn-color, var(--color_main));
		margin-top: 30px;
		border: 1px solid;
		border-radius: 50px;
		background:none;
		transition: all 0.2s ease-out;
}
.smf-action .smf-button-control__control:hover {
		transform: translate3d(0, 2px, 0);
		background-color: var(--the-btn-color, var(--color_main));
		border-color: transparent;
		color: #fff !important;
}


/*instaボタン*/
#fixed-insta_btn{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: -5px;
    top: 20%;
    transform: translateY(-50%);
	    z-index: 999;
}

/* ============================================
   業務案内ページ用スタイル
   ============================================ */

.jisseki-title-bar {
  background: linear-gradient(135deg, #003f6e 0%, #0071bf 100%);
  color: #fff;
  text-align: center;
  padding: 36px 16px 28px;
  margin-bottom: 0;
}

.jisseki-title-bar h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.jisseki-title-bar p {
  font-size: 13px;
  opacity: 0.85;
}

.jisseki-stats-bar {
  display: flex;
  background: #005a9e;
  color: #fff;
  margin-bottom: 0;
}

.jisseki-stat-item {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.jisseki-stat-item:last-child {
  border-right: none;
}

.jisseki-stat-num {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.jisseki-stat-num span {
  font-size: 14px;
}

.jisseki-stat-label {
  font-size: 11px;
  opacity: 0.8;
  margin-top: 2px;
}

.jisseki-filter-bar {
  background: #e6f2fb;
  border-bottom: 2px solid #0071bf;
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.jisseki-filter-bar span {
  font-size: 13px;
  font-weight: 700;
  color: #005a9e;
  margin-right: 4px;
}

.jisseki-filter-btn {
  background: #fff;
  border: 1.5px solid #0071bf;
  color: #0071bf;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.jisseki-filter-btn:hover,
.jisseki-filter-btn.active {
  background: #0071bf;
  color: #fff;
}

.jisseki-section {
  margin-bottom: 40px;
}

.jisseki-section-header {
  background: #0071bf;
  color: #fff;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  border-radius: 3px;
}

/* ========== ジャンプボタン ========== */
.jisseki-jump-bar {
  text-align: right;
  padding: 10px 4px 0;
}

.jisseki-jump-btn {
  display: inline-block;
  background: #fff;
  color: #0071bf;
  border: 1.5px solid #0071bf;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}

.jisseki-jump-btn:hover {
  background: #0071bf;
  color: #fff;
  text-decoration: none;
}

/* ========== テーブル横スクロール（スマホ対応） ========== */
.jisseki-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* テーブル本体：横スクロール発動する最小幅 */
.jisseki-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

/* ヘッダー：折り返し禁止（「施工年」の「年」落ち防止） */
.jisseki-table th {
  background: #0071bf;
  color: #fff;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  border: none;
  white-space: nowrap;
  word-break: keep-all;
}

.jisseki-table td {
  padding: 7px 12px;
  border-bottom: 1px solid #e0e0e0;
  border-top: none;
  border-left: none;
  border-right: none;
  font-size: 13px;
  vertical-align: top;
  background: #fff;
}

.jisseki-table tr:nth-child(even) td {
  background: #f5f5f5;
}

.jisseki-table tr:hover td {
  background: #e6f2fb;
}

/* 施工年セル：折り返し禁止 */
.jisseki-year-cell {
  font-weight: 700;
  color: #0071bf;
  white-space: nowrap;
  word-break: keep-all;
}

.jisseki-area-tag {
  color: #555;
  font-size: 11px;
}

/* 種別バッジ：折り返し禁止（「民間施設」「公共施設」の「設」落ち防止） */
.jisseki-type-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  word-break: keep-all;
}

.badge-工場     { background: #e8f4fd; color: #0070b8; }
.badge-教育     { background: #e8f7e8; color: #2e7d32; }
.badge-公共施設 { background: #fff3e0; color: #e65100; }
.badge-民間施設 { background: #f3e5f5; color: #7b1fa2; }
.badge-神社仏閣 { background: #fce4ec; color: #c62828; }
.badge-福祉     { background: #e0f2f1; color: #00695c; }

/* 面積列：右揃え */
.jisseki-table th.col-sqm,
.jisseki-table td.col-sqm {
  text-align: right;
}

.jisseki-copper-section {
  background: #f5f5f5;
  border-radius: 6px;
  padding: 20px;
}

@media (max-width: 600px) {
  .jisseki-stats-bar {
    flex-wrap: wrap;
  }
  .jisseki-stat-item {
    flex: 1 0 33%;
  }
  .jisseki-filter-bar {
    padding: 10px 12px;
  }
}

/* ========== サムネイル ========== */
.jisseki-thumb-td {
  width: 68px;
  padding: 4px 8px;
}

.jisseki-thumb {
  width: 56px;
  height: 42px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1.5px solid transparent;
  transition: border-color 0.15s;
  display: inline-block;
}

.jisseki-thumb:hover {
  border-color: #0071bf;
}

.jisseki-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jisseki-thumb-zoom {
  position: absolute;
  inset: 0;
  background: rgba(0, 113, 191, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
  font-size: 16px;
}

.jisseki-thumb:hover .jisseki-thumb-zoom {
  opacity: 1;
}

/* ========== モーダル ========== */
#jissekiOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.jisseki-modal-box {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  width: 420px;
  max-width: 90vw;
  position: relative;
}

.jisseki-modal-img-wrap {
  width: 100%;
  height: 240px;
  background: #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#jissekiModalImg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}

#jissekiModalPlaceholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 13px;
}

.jisseki-modal-name {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin: 0 0 6px;
}

.jisseki-modal-meta {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.jisseki-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f0f0f0;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  line-height: 1;
}

.jisseki-modal-close:hover {
  background: #ddd;
}

/* ========== カードグリッド ========== */
.jisseki-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.jisseki-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.jisseki-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f0f0f0;
}

.jisseki-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.jisseki-card:hover .jisseki-card-img img {
  transform: scale(1.05);
}

.jisseki-card-body {
  padding: 12px;
}

.jisseki-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  margin: 6px 0 4px;
  line-height: 1.4;
}

.jisseki-card-meta {
  font-size: 12px;
  color: #666;
  margin: 2px 0;
}

@media (max-width: 768px) {
  .jisseki-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .jisseki-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== 銅板屋根工事 カードグリッド ========== */
.copper-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: static;
  transform: none;
}

.copper-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: static;
  transform: none;
}

.copper-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f0f0f0;
}

.copper-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.copper-card:hover .copper-card-img img {
  transform: scale(1.05);
}

.copper-card-body {
  padding: 12px;
}

.copper-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  margin: 6px 0 4px;
  line-height: 1.4;
}

.copper-card-meta {
  font-size: 12px;
  color: #666;
  margin: 2px 0;
}

@media (max-width: 768px) {
  .copper-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .copper-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== 施工実績 カードグリッド ========== */
.work-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: static;
  transform: none;
}

.work-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: static;
  transform: none;
}

.work-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f0f0f0;
}

.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.work-card:hover .work-card-img img {
  transform: scale(1.05);
}

.work-card-body {
  padding: 12px;
}

.work-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  margin: 6px 0 4px;
  line-height: 1.4;
}

.work-card-meta {

  font-size: 12px;
  color: #666;
  margin: 2px 0;
}

@media (max-width: 768px) {
  .work-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .work-card-grid {
    grid-template-columns: 1fr;
  }
}


.work-card-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  position: static !important;
  transform: none !important;
  top: unset !important;
  left: unset !important;
}

.work-card {
  flex: 0 0 calc(33.333% - 14px) !important;
  position: static !important;
  transform: none !important;
  top: unset !important;
  left: unset !important;
  margin: 0 !important;
}