/* ------------------------------------------------------------------------------------
 web fonts　ウェブフォントファイルを変更した場合はv=1.0の数字を変更（キャッシュ対策）
------------------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------
 基本設定
---------------------------------------------------------------------- */
/* ▼root */
:root {
	--main-color:#4ca601;
	--sub-color:#f3b80a;
	--font-h1:clamp(90px,3vw,103px);
	--font-h2:clamp(22px,3vw,28px);	
	--font-h3:clamp(20px,3vw,26px);
	--font-h4:clamp(18px,3vw,22px);
	--font-p:clamp(14px,3vw,16px);
	--font-type:"Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Arial, "メイリオ", Meiryo, sans-serif;
}

.post_content h2,
h2.elementor-heading-title{
	font-size: var(--font-h2);
    text-align: left !important;
    font-weight: 600;
    color: #000000;
    border-color: var(--main-color);
    border-width: 2px;
    border-style: solid;
    border-left: none;
    border-right: none;
    padding-top: 0.8em!important;
    border-bottom: none;
    background-color: transparent;}
@media screen and (max-width: 750px){
.styled_h2 {
    font-size:var(--font-h2) !important;
}}
.post_content h3,
h3.elementor-heading-title{
	font-size:var(--font-h3);
    padding: 0 0 0 70px !important;
    margin: 40px 0 30px ;
    line-height: 1.6;
    position: relative;
	text-align: left ;}
.post_content h3:before,	
h3.elementor-heading-title:before{width: 50px;
    height: 4px;
    display: block;
    content: '';
    background:var(--sub-color);
    position: absolute;
    left: 0;
    top: 18px;}
@media only screen and (max-width: 750px){
.post_content h3:before,	
h3.elementor-heading-title:before {
    width: 25px;
    top: 13px;
}}
.post_content h4,	
h4.elementor-heading-title{
	font-size:var(--font-h4)!important;
    text-align: left;
    font-weight: 400!important;
    color: #000000;
    border-color: #dddddd;
    border-width: 2px;
    border-style: dotted;
    border-left: none;
    border-right: none;
    border-top: none;
    padding-bottom: 0.8em!important;
}
/** ▼余白 **/
.mt-0{margin-top:0px !important;}
/** ▼table **/
th {
	background: #f7f7f7;}
/* ----------------------------------------------------------------------
 トップページ ヘッダースライダー
---------------------------------------------------------------------- */
/* ----------------------------------------------------------------------
 コンテンツビルダー
---------------------------------------------------------------------- */
/* サービス */
.cb_service_list .service_carousel .owl-item.active.center .title_area{	border-left: 1px solid #ddd;}
/* デザインコンテンツ */
/* バナーコンテンツ */
.cb_banner_content .cb_data_content{color:#000 !important;}
/* ----------------------------------------------------------------------
 ページヘッダー　アーカイブページ共通パーツ
---------------------------------------------------------------------- */

/* ----------------------------------------------------------------------
 固定ページ
---------------------------------------------------------------------- */

/* ----------------------------------------------------------------------
 FAQ
---------------------------------------------------------------------- */
#faq_main_contents {
    width: 1030px;
    margin: 0 auto;
    padding: 70px 0 150px;
    }

/* --- summaryのデフォルト矢印（黒三角）を消す --- */
details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

/* --- 質問タイトル（アコーディオンの見出し） --- */
/* 質問のQ.を自動付与 */
.faq-item__question::before {
  content: "Q.";
  margin-right: 0.5em;
  color: var(--main-color);       /* 好きな色に変更 */
  font-weight: 700;
  font-size: 1.1em;
}

.faq-item__question {
  position: relative;
  padding-right: 2.5rem; /* 右側にアイコン位置確保 */
  cursor: pointer;
  font-weight: bold;
  font-size:20px;
  font-family: var(--font-type);
  display: flex;
  align-items: center;
}

/* --- 閉じている時のアイコン（＋） --- */
.faq-item__question::after {
  content: "+";
  position: absolute;
  right: 0.5rem;
  font-size: 1.6rem;
  font-family: var(--font-type);
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --- 開いた時のアイコン（–） --- */
details[open] .faq-item__question::after {
  content: "–";
  padding-right: 4px;
}

.faq-list__item{
	margin: 16px 0;
}
.faq-item__summary{
  padding: 16px;
  background-color: #DFF3B3;
}
.faq-item__answer{
  font-size: 16px;
  font-family: var(--font-type);
  padding: 16px;
  line-height:1.5;
}
.faq-item__content{
  letter-spacing:0.1em;
}
.faq-item__content p::before {
  content: "A.";
  margin-right: 0.5em;
  color: #333;
  font-weight: 700;
  font-size: 20px;
}

/* ----------------------------------------------------------------------
 お問い合わせ
---------------------------------------------------------------------- */
.contact_form dd span.txt {
  margin-right: 10px;
}
/** コンタクトフォーム　必須 **/
.contact_form span.hissu {
  color: #fff;
  background: #ff5e00;
  border-radius: 3px;
  padding: 3px 5px 5px 5px;
  font-size: 80%;
  margin-left: 10px;
}
.wpcf7 .wpcf7-submit {
  background-color: #FF7F00;
  max-width: 300px;
  width: 100%;
  height: 50px;
  border: none;
  background-image: none;
  border-radius: 5px;
  color: #fff;
  font-size: 130%;
  font-weight: bold;
}
.submit input[type="submit"] {
  font-size: 100%;
  padding-left: 100px;
  padding: 10px 40px;
  color: #ffffff;
  border: none;
}
.submit input[type="submit"]:hover, .submit input[type="button"]:hover {
  opacity: 0.7;
}
/**  **/
.sent .contact_form, .sent .contact_form .confirm {
  display: none;
}
div.wsp-container > ul.wsp-posts-list > li {
  list-style-type: none;
}
/* 個人情報保護方針 */
.contract {
  overflow: scroll;
  overflow: hidden visible;
  height: 200px;
  background: #fff;
  padding: 10px;
  border: 1px solid #a0a0a0;
}
@media screen and (min-width: 768px) {
  /* コンタクトフォーム */
  .contact_form dt, .contact_form dd {
    border-top: 1px solid #dcdcdc !important;
  }
  .contact_form dt {
    clear: left;
    float: left;
    width: 25%;
    padding: 10px 0 0 10px;
  }
  .contact_form dd {
    /*border-top: 1px solid #000;*/
    margin-left: 25%;
    padding: 10px 0 10px 10px;
    /*border-left: 1px solid #dcdcdc;*/
  }
  .contact_form dd:after {
    content: '';
    display: block;
    clear: both;
  }
}
@media screen and (max-width: 767px) {
  /* contact_form
------------------------*/
  /*  */
  .contact_form dt {
    margin-bottom: 10px;
  }
  .contact_form dd {
    padding-bottom: 10px;
  }
  .contact_form dd input {
    width: 100%;
  }
  .contact_form dd input[type="checkbox"] {
    width: auto;
  }
  .contact_form dt, .contact_form dd {
    border-top: none;
  }
}

/* ----------------------------------------------------------------------
 LPページ
---------------------------------------------------------------------- */
/* コンテンツビルダー */
.gray_wide_content{}
.gray_wide_content:after {/*z-index:-1;*/}
/* ----------------------------------------------------------------------
 サービス／事例（事業所一覧）
---------------------------------------------------------------------- */
/* サービスアーカイブ */
/* サービス詳細　ヘッダー */
/* サービス詳細 */
/* サービス詳細　カルーセル */
/*.service_carousel a:hover{color:var(--sub-color) !important;}*/
.service_carousel .title_area{
	background:#fff;
	color: var(--main-color);
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;}
.service_carousel .title{color: var(--main-color);}
/* 一覧　固定ページ */
.common_catch h2{font-size: 42px !important;}
@media screen and (max-width: 750px){
.common_catch h2{
    font-size: 22px !important;
}}
#archive_header .catch h2 {
    line-height: 1.6;
    font-size:var(--font-h2);
    text-align: center !important;
	color: var(--main-color);
	border-top: none;
}

.work_image_wrap h3{
	font-size:var(--font-p) !important;
	padding:0 !important;
    margin:0 !important;
    text-align:center;}
.work_image_wrap h3:before{content: none;}
.work_image_wrap .elementor-widget-container{
	cursor: pointer;
	max-width: 500px;
	overflow: hidden !important;
	position: relative;
	width: 100%;
	border-radius: 15px 15px 0 0;
}
.work_img img{
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
	height: auto;}

/* single */
.gray_wide_content{margin: 90px 0 !important;}
@media screen and (max-width: 1301px){}
@media only screen and (max-width: 750px){
	.gray_wide_content {margin: 35px 0;}}
/* ----------------------------------------------------------------------
 CTA
---------------------------------------------------------------------- */
/* ----------------------------------------------------------------------
 サービス
---------------------------------------------------------------------- */
/* ----------------------------------------------------------------------
 お知らせ
---------------------------------------------------------------------- */
/* お知らせアーカイブ */
.cb_news_list .news_category_sort_button ol{width: 100%;}
.news_list .category{background:var(--main-color);}
.news_list .category:hover{background-color:#019312 !important;}

/* カラムの間の縦線削除 */
#main_contents:before{
	display: none;
}
/* news投稿だけ1カラム化 */
.single-news #main_contents {
  display: block; /* 親がflexやgridでも1列にする保険 */
}

.single-news #main_col {
  width: 100% !important;     /* 幅を全体に */
  max-width: 100% !important; /* 余裕を持たせる */
  margin: 0 auto !important;  /* 中央寄せ */
  float: none !important;     /* float解除 */
}

/* 万一サイドエリアや空divが残ってた場合に非表示 */
.single-news #side_col,
.single-news .sidebar,
.single-news #secondary,
.single-news .widget_area {
  display: none !important;
}

/* 親がgridレイアウトの場合に1カラムへ強制 */
.single-news #main_contents {
  grid-template-columns: 1fr !important;
}
/* 関連記事 */
#related_post .item a {
  -webkit-flex-wrap:nowrap; flex-wrap:nowrap;
}

/* ----------------------------------------------------------------------
 ブログアーカイブページ
---------------------------------------------------------------------- */
/* ----------------------------------------------------------------------
 ブログ詳細ページ
---------------------------------------------------------------------- */
/* ----------------------------------------------------------------------
　ヘッダー
---------------------------------------------------------------------- */
body.home #header, body.page-template-page-lp #header  {background:#fff;}
/* ロゴ */
/* 非表示にする要素 */
/* メニューボタン */
body.home #drawer_menu_button span, body.page-template-page-lp #drawer_menu_button span{background: #000 !important;}

/* グローバルメニュー */
#global_menu ul ul a{background:var(--main-color);}
#global_menu ul ul a:before{background:#fff !important;}
#global_menu > ul > li.active > a { background:var(--main-color) !important; }
body.home #global_menu > ul > li > a{color: #000;}


/* ドロワーメニュー */
/* ----------------------------------------------------------------------
 メガメニュー
---------------------------------------------------------------------- */
/* 共通項目 */
#global_menu > ul > li.active_megamenu_button > a { background:var(--main-color) !important;}
/* メガメニューA　記事カルーセル */
/* メガメニューB */
.megamenu_b { background:var(--main-color); }

.mega_menu_list .menu_area .headline a:hover{color:var(--sub-color)!important;}
.mega_menu_list .menu_area ul li a:before{background:#fff !important;}
/* ----------------------------------------------------------------------
 フッター
---------------------------------------------------------------------- */
#footer_box_content .item .tel{font-size: 30px;}
/* ----------------------------------------------------------------------
 ウィジェット
---------------------------------------------------------------------- */
/* ----------------------------------------------------------------------
 WordPress プリセットスタイル
---------------------------------------------------------------------- */


