/* Bayes 本番 TCD カスタム CSS（WP テーマオプション + 追加 CSS 相当） */

body, input, textarea { font-family: "Segoe UI", Verdana, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; }

.rich_font { font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif; font-weight: 100; }

#header_slider .caption, #header_youtube .caption, #header_video .caption { font-family: "Segoe UI", Verdana, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; }

body { font-size: 14px; letter-spacing: .07em; font-feature-settings: "palt"; }

#post_title { font-size: 32px; }
.post_content { font-size: 14px; }

#related_post li a.image, .styled_post_list1 .image, .work_list_widget .image, .work_list .box .image, .blog_list .box .image {
  overflow: hidden;
}
#related_post li a.image img, .styled_post_list1 .image img, .work_list_widget .image img, .work_list .box .image img, .blog_list .box .image img {
  -webkit-transition: all 0.75s ease; -moz-transition: all 0.75s ease; transition: all 0.75s ease;
  -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
#related_post li a.image:hover img, .styled_post_list1 .image:hover img, .work_list_widget .image:hover img, .work_list .box .image:hover img, .blog_list .box .image:hover img {
  -webkit-transform: scale(1.2); -moz-transform: scale(1.2); -ms-transform: scale(1.2); -o-transform: scale(1.2); transform: scale(1.2);
}

.index_archive_link, #work_navigation a, .page_navi p.back a { background-color: #BBBBBB; }

#header, .pc #global_menu ul ul a, #footer_bottom, .mobile #copyright, .mobile .home #header { background-color: #175F9F; }

.header_fix #header, .pc .header_fix #global_menu ul ul a, .mobile .header_fix #header { background-color: rgba(23,95,159,0.7); }

#header a { color: #FFFFFF; }

#footer_top, #footer_top a, #footer_bottom, #footer_bottom a { color: #FFFFFF; }

.pc #global_menu ul ul li.menu-item-has-children > a:before { border-color: transparent transparent transparent #FFFFFF; }

.pc #global_menu ul ul a:hover { color: #fff; }

#post_title, #page_header .headline, #work_category_list .current_category .name, #work_footer_data .link, .blog_list .box .title a:hover, #footer_menu a:hover, #related_post li .title a:hover, .side_widget .styled_post_list1 .title:hover { color: #175F9F; }

a:hover, .pc #header .logo a:hover, .pc #global_menu > ul > li.active > a, .pc #global_menu li.current-menu-item > a, .pc #global_menu > ul > li > a:hover, #header_logo .logo a:hover, #bread_crumb li.home a:hover:before, #bread_crumb li a:hover, .color_headline, #footer_bottom a:hover { color: #FFF; opacity: .5; }

#return_top a:hover, .next_page_link a:hover, .page_navi a:hover, .page_navi p.back a:hover,
  #header_slider .slick-dots button:hover::before, #header_slider .slick-dots .slick-active button::before,
  .work_list .box .title a:hover, #work_navigation a:hover, .index_archive_link:hover, .mobile #footer_social_link,
  .news_list .category a:hover, .work_list .category a:hover, .blog_list .category a:hover
  { background-color: #175F9F !important; }

#footer_top, .pc #global_menu ul ul a:hover, .mobile a.menu_button:hover, .mobile #global_menu li a:hover { background-color: #000000 !important; }

@media screen and (min-width: 600px) {
  #header_slider_nav .slick-current .label { background-color: #175F9F !important; }
}

.post_content a, .post_content a:hover { color: #175F9F; }

#header_slider .item .overlay { background: rgba(0,0,0,.4); }
#header_slider { background: #000; }
#header_slider_nav { border-top: 1px solid #ddd; }
#global_menu { letter-spacing: .07em; }

/* 固定ページ: サイドバーなし時は本文列を中央（WP 追加 CSS 相当） */
.page #left_col {
  width: auto;
  max-width: 960px;
  margin: 0 auto;
  float: none;
}

#index_3box_list .icon.num1 span:before { color: #BDDAEA; }
#index_3box_list .icon.num2 span:before { color: #FEDB73; }
#index_3box_list .icon.num3 span:before { color: #FFB399; }

#site_loader_spinner { border: 4px solid rgba(23,95,159,0.2); border-top-color: #175F9F; }

.work_list .category a, .work_list .category span { background: #175F9F; color: #fff; padding: 2px 8px; display: inline-block; }

/* 制作実績固定ページ（works）_custom_css: .post_content ol の番号を出さない */
#work_list_wrap { margin-bottom: 0; }

.post_content ol.work_list,
.post_content ol.work_list > li,
.post_content #archive_work_list,
.post_content #archive_work_list > li {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

/* WP 追加 CSS（全固定ページ共通） */
.center { text-align: center; }

.wpcf7, .post_content td, .post_content th {
  border-style: none;
  background: transparent;
}

.post_content th {
  font-weight: bold;
  width: 20%;
  text-align: left;
  vertical-align: top;
}

.c_button a { padding: 20px 25px; }

.post_content .center,
.post_content .c_button {
  text-align: center;
}

/* 会社概要: WP はテーブル直前を <p> で包まないため、import 後の <p> 余白を詰める */
/* .post_content p:has(+ table) {
  margin-bottom: 0;
} */

.post_content > .content-field {
  margin-bottom: 0;
}

/* 会社概要ページ _custom_css の .map（レスポンシブ埋め込み） */
.map {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.map iframe,
.ggmap object,
.ggmap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wp-embedded-content {
  position: relative !important;
  max-width: 100%;
}

@media (max-width: 1000px) {
  .post_content td,
  .post_content th,
  .custom_table th {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }
  .post_content td,
  .custom_table td {
    margin-bottom: 20px;
  }
  .wpcf7 form { margin: 0; }
  .page #side_col { display: none; }
}
