.elementor-kit-12269{--e-global-color-primary:#000000;--e-global-color-secondary:#000000;--e-global-color-text:#000000;--e-global-color-accent:#FFFFFF;--e-global-color-3c7370a:#FFFFFF;--e-global-color-f2f9396:#0E2460;--e-global-color-f524ba4:#333333;--e-global-color-ea7c4d6:#F2F2F2;--e-global-color-61a88ec:#F0F0F0;--e-global-color-47ff746:#E6E1D6;--e-global-color-c28048f:#00A2E6;--e-global-color-5258532:#E69B19;--e-global-color-74191a0:#36AEA1;--e-global-color-8b39902:#8E36AE;--e-global-color-a194d9e:#FF5800;--e-global-color-b8a217e:#707070;--e-global-color-4a497f3:#625147;--e-global-color-0edf1b8:#A8580A;--e-global-color-4a43483:#BC9166;--e-global-color-96762ec:#988D82;--e-global-color-acc0ef9:#BCBCBC;--e-global-color-6da1df7:#333333;--e-global-typography-primary-font-family:"Kiwi Maru";--e-global-typography-primary-font-weight:500;--e-global-typography-secondary-font-family:"Kiwi Maru";--e-global-typography-secondary-font-weight:700;--e-global-typography-text-font-family:"Zen Kaku Gothic New";--e-global-typography-text-font-size:16px;--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:26px;--e-global-typography-accent-font-family:"Kiwi Maru";--e-global-typography-accent-font-size:14px;--e-global-typography-accent-font-weight:500;}.elementor-kit-12269 button,.elementor-kit-12269 input[type="button"],.elementor-kit-12269 input[type="submit"],.elementor-kit-12269 .elementor-button{background-color:#FFFFFF;color:var( --e-global-color-primary );border-style:solid;border-width:1px 1px 1px 1px;border-color:var( --e-global-color-accent );}.elementor-kit-12269 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1280px;}.e-con{--container-max-width:1280px;}.elementor-widget:not(:last-child){--kit-widget-spacing:40px;}.elementor-element{--widgets-spacing:40px 40px;--widgets-spacing-row:40px;--widgets-spacing-column:40px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:100%;}.e-con{--container-max-width:100%;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:100%;}.e-con{--container-max-width:100%;}}
/* Start custom CSS *//*デスクトップとスマホで改行を切り替える*/
.br-dt {display:none; }
.br-sp {display: inline; }
@media screen and (min-width: 768px){
.br-dt {display:inline; }
.br-sp {display: none; }
}


  .vertical {
        writing-mode: vertical-rl;
        /*text-orientation: upright;*/
    }
    
.lp {
   margin-top: 22px
}

@media(max-width: 767px){
.lp {
   margin-top: 15px
}
}


.seko-title p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.seko-title2 p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

 .seko-title2 .elementor-cta__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.seko-title1 p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.main h1{
    text-align: left;
    font-size:23px;
    line-height: 33px!important;;
    font-weight: 600!important;
    padding: 20px 20px 20px 20px!important;
    color:#000!important;
}
.main h1:before {
 	position: absolute;
	top: 1em;
	left: .0;
	content: '';
	width: 6px;
	height: -webkit-calc(70% - 1em);
	height: calc(70% - 1em);
	background-color: #AB9177;
}


.main h2{
    font-size:23px;
    line-height: 32px;
    font-weight: 600!important;
    padding: 0px 10px 20px 0px!important;
    border-bottom:1px solid #AB9177;
    color:#000!important;
}


.main h3 {
    font-size: 23px;
    line-height: 32px;
    font-weight: 600 !important;
    padding: 10px 20px 10px 20px !important;
    color: #000 !important;
    border-top: 1px solid #AB9177;
    border-bottom: 1px solid #AB9177;
}


.main h4 {
    background-color: #AB9177;
    font-size:23px;
    line-height: 32px;
    font-weight: 600!important;
    padding: 10px 20px 12px 20px!important;
    color:#fff!important;
}

.main h5 {
    background-color: #000;
    font-size:23px;
    line-height: 32px;
    font-weight: 600!important;
    padding: 10px 20px 12px 20px!important;
    color:#fff!important;
}



.main h6 {
    background-color: #8A8987;
    text-align: left;
    font-size:23px;
    line-height: 32px;
    font-weight: 600!important;
    padding: 10px 20px 12px 20px!important;
    color:#fff!important;
}

.reset-styles {
  all: unset;
}

/*
 * 'my-vertical-button'クラスを持つすべてのボタンに適用するCSS (最大詳細度版)
 * ElementorのデフォルトCSSを確実に上書きするため、セレクタの詳細度を極限まで高めています。
 */

/* ボタンのラッパーを縦並びのフレックスコンテナに設定 */
.elementor-widget-button.my-vertical-button .elementor-button-content-wrapper {
  display: flex !important; /* ★ここにも!importantを追加 */
  flex-direction: column !important; /* ★ここにも!importantを追加 */
  align-items: center !important;
  justify-content: center !important;
}

/* ボタンリンク全体の高さを確保 */
.elementor-widget-button.my-vertical-button .elementor-button {
  min-height: 320px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* アイコンのスタイルを上書き指定 */
.elementor-widget-button.my-vertical-button .elementor-button .elementor-button-icon {
  order: -1 !important; /* !importantで最優先に */
  font-size: 50px !important;
  margin: 0 0 15px 0 !important;
  line-height: 1 !important;
}


/* テキスト全体のスタイル */
.elementor-widget-button.my-vertical-button .elementor-button .elementor-button-text {
  text-align: center !important;
  line-height: 1.4 !important;
  /* 親から継承した文字サイズを一旦リセット */
}

/* 説明文のスタイルを上書き指定 */
.elementor-widget-button.my-vertical-button .elementor-button .button-desc {
  display: block !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  margin-top: 10px !important;
}

.elementor-widget-button.contact2 .elementor-button .elementor-button-icon {
  order: -1 !important; /* !importantで最優先に */
  font-size: 50px !important;
  margin: 0 0 15px 0 !important;
  line-height: 1 !important;
}

/* 説明文のスタイルを上書き指定 */
.elementor-widget-button.contact2 .elementor-button .tel {
  font-size: 40px !important;
  font-weight: 600 !important;
  padding-left: 20px;
}



/* ===== モバイルでの調整 ===== */
@media (max-width: 767px) {
/* ボタンリンク全体の高さを確保 */


  .elementor-widget-button.my-vertical-button .elementor-button .elementor-button-icon {
    font-size: 30px !important;
    margin-bottom: 8px !important;
  }

  .elementor-widget-button.my-vertical-button .elementor-button .button-desc {
    font-size: 12px !important;
  }
  
  .elementor-widget-button.my-vertical-button .elementor-button {
    min-height: 210px !important;
  }
  .elementor-widget-button.contact2 .elementor-button .elementor-button-icon {
  order: -1 !important; /* !importantで最優先に */
  font-size: 30px !important;
  margin: 0 0 8px 0 !important;
}

/* 説明文のスタイルを上書き指定 */
.elementor-widget-button.contact2 .elementor-button .tel {
  font-size: 20px !important;
  font-weight: 600 !important;
  padding-left: 20px;
}

}

/* ===============================================
   モーダルメニュー スタイル (clip-path版)
=============================================== */

/* モーダルメニューの基本スタイル（閉じた状態） */
.modal-menu {
  position: fixed;
  top: 0;
  left: auto;
  right: 0;
/* Elementorで調整 */
  /*width: 100%;
  height: 100vh;*/
  /* ビューポートの高さ一杯に */
/* 参考サイトの背景色 */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  z-index: 999;

  /* アニメーションの定義 */
  transition: clip-path 0.7s cubic-bezier(0.31, -0.01, 0.18, 0.97), opacity 0.4s;
  
  /* 初期状態のマスク（下部に閉じた状態） */
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

/* メニュー表示時のスタイル */
.modal-menu.is-active {
  opacity: 1;
  /* 開いた状態のマスク（全体表示） */
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}




/* --- 共通・デスクトップ（DT）設定 --- */
.toggle-button {
  display: flex;
  /* DTでは縦に並べる（アイコンが上、テキストが下） */
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: 41px; /* SPの幅に合わせる場合はここも34px */
  position: relative;
}

.hamburger-icon {
  position: relative;
  width: 34px;
  height: 18px;
  display: block;
}

.hamburger-icon span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000;
  transition: all 0.3s;
}

.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 8px; }
.hamburger-icon span:nth-child(3) { top: 16px; }

.menu-text {
  display: block;
  width: 100%;       /* ボタンの幅34pxに合わせる */
  font-size: 10px;    /* 34pxに収まる極小サイズ */
  line-height: 1;
  text-align: center;
  font-weight: bold;
  margin-top: 4px;   /* DTではアイコンの下に余白 */
  margin-bottom: 0;
}

/* --- スマホ（SP）設定 --- */
@media screen and (max-width: 768px) {
  .toggle-button {
    /* SPでは表示順を逆にする（テキストが上、アイコンが下） */
    flex-direction: column-reverse;
    width: 34px;
    position: static; /* absoluteを解除してボックス内に収める */
  }

  .menu-text {
    margin-top: 0;
    margin-bottom: 4px; /* SPではアイコンの上に余白（テキストの下側） */
    font-size: 10px;  
  }
}

/* --- アクティブ時（共通） --- */
.toggle-button.is-active .hamburger-icon span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.toggle-button.is-active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}
.toggle-button.is-active .hamburger-icon span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}


/* スクロール禁止用のスタイル（PC/スマホ両対応） */
body.no-scroll {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

/* Elementorのラッパーなどがスクロールする場合の追加対策 */
body.no-scroll .elementor-inner,
body.no-scroll .elementor-section-wrap,
body.no-scroll #page {
  overflow: hidden !important;
}


/* テーブルの横スクロールと枠線スタイルを統合して適用 */
.wp-block-table {
    /* 1. はみ出し対策：横スクロールを許可 */
    overflow-x: auto;
    /* 2. テーブル全体の外側の枠線をリセット（不要なはみ出しを防ぐため） */
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%; /* 親要素の幅に合わせる */
}

.wp-block-table table {
    /* 3. テーブルの幅を制御 */
    width: 100%; /* 親要素の幅に合わせる */
    min-width: 400px; /* 小さい画面での最小幅を保持（これ以下には縮まない） */
    
    /* 4. 枠線のスタイル */
    border: 2px solid #A49482 !important; 
    border-collapse: collapse; 
}

.wp-block-table th,
.wp-block-table td {
    /* 5. セルの枠線スタイル */
    border: 1px solid #ccc !important; 
    padding: 8px; /* セル内の余白 */
    font-size: 16px; /* PCでの基本フォントサイズ */
}

/* --- スマホ向け（画面幅767px以下）のレスポンシブ対応 --- */
@media screen and (max-width: 767px) {
    /* 1. フォントサイズの調整 */

    .wp-block-table th,
    .wp-block-table td {
        font-size: 14px; /* スマホではフォントを小さくする */
        padding: 6px; /* セル内の余白も少し減らす */
    }

    /* 2. セルの最小幅設定（コンテンツに合わせて自動調整） */
    .wp-block-table table {
       min-width: 100%;
    }
    
    /* 左端の列（最初のthまたはtd）の幅を調整 */
    .wp-block-table table tr > *:first-child {
    width: 30% !important; /* 幅を30%に指定 */
    min-width: 80px; /* 最小幅を100pxに設定 */
}
}
.yu-gothic-target {
    font-family: 
        "Yu Gothic Medium", 
        "Yu Gothic", 
        "游ゴシック体", 
        "YuGothic", 
        sans-serif !important;
}

/* サイト全体（本文など）も統一する場合 */
body {
    font-family: "Yu Gothic Medium", "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif !important;
}

/* アイコンの色とサイズを指定 */
.elementor-kit-12269 .elementor-button-icon {
    color: #707070;    /* アイコンの色（例：オレンジ） */
    font-size: 13px;   /* アイコンのサイズ */
}

/*デスクトップとスマホで改行を切り替える*/
.br-dt {display:none; }
.br-sp {display: inline; }
@media screen and (min-width: 768px){
.br-dt {display:inline; }
.br-sp {display: none; }
}

/* --- カテゴリ別の色指定 --- */

/* 社長 (president) */
.staff_cate-president .elementor-cta__title { color: #00aeed !important; }
.staff_cate-president .elementor-cta__title::before { background-color: #00aeed; }

/* 専務 (executive-director) */
.staff_cate-executive-director .elementor-cta__title { color: #E69B19 !important; }
.staff_cate-executive-director .elementor-cta__title::before { background-color: #E69B19; }

/* 工務 (construction-management) */
.staff_cate-construction-management .elementor-cta__title { color: #36AEA1 !important; }
.staff_cate-construction-management .elementor-cta__title::before { background-color: #36AEA1; }

/* 大工 (carpenter) */
.staff_cate-carpenter .elementor-cta__title { color: #8E36AE !important; }
.staff_cate-carpenter .elementor-cta__title::before { background-color: #8E36AE; }

/* 営業 (sales) */
.staff_cate-sales .elementor-cta__title { color: #E69B19 !important; }
.staff_cate-sales .elementor-cta__title::before { background-color: #E69B19; }

/* 総務 (general-affairs) */
.staff_cate-general-affairs .elementor-cta__title { color: #FF5800 !important; }
.staff_cate-general-affairs .elementor-cta__title::before { background-color: #FF5800; }


.elementor-kit-12269 .featured-card{transform:scale(1.2);z-index:2;box-shadow:0 18px 40px rgba(0,0,0,.25);position:relative;overflow:visible;margin-top:34px}.elementor-kit-12269 .featured-card::before{content:"次はこちら↓";display:block;width:auto;height:auto;position:absolute;top:-34px;left:50%;right:auto;bottom:auto;transform:translateX(-50%);background:#92C979;color:#000;font-size:13px;line-height:1.4;font-weight:700;padding:5px 14px;border-radius:20px;white-space:nowrap;box-shadow:0 4px 10px rgba(0,0,0,.2);animation:nextBounce 1.2s ease-in-out infinite;z-index:3}.elementor-kit-12269 .featured-card.featured-card--first::before, .elementor-kit-12269 .e-con.e-child:not(.e-con.e-child ~ .e-con.e-child).featured-card::before{content:"最初から見る↓"}@keyframes nextBounce{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(-7px)}};/* End custom CSS */