

#single_service_title_area {
  display: none;
}

body.single-service #bread_crumb ul {
  width: 1030px;
}

#page_header {
  height: 300px;
}

#page_header .headline {
  color: #000;
  bottom: 25%;
}

#bread_crumb {
  border-top: 1px solid #dddddd78;
  border-bottom: 1px solid #dddddd78;
}

.post_content h5 {
  margin: 1.5em 0 1em 0;
}

.en_txt {
  font-family: "Afacad Flux", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings:
    "slnt" 0;
}

.bc {
  background-color: #dce2ef;
  color: #000;
}

.bc a {
  color: #07358d;
}

.bc_inner {
  width: 1000px;
  margin: 0 auto;
  padding: 5px 0;
}

#footer_button_area {
  bottom: 25%;
}


#header {
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  border-radius: 0;
}

#global_menu {
  height: 100px;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

#global_menu>ul>li>a {
  color: rgb(0, 0, 0);
  height: 80px;
  line-height: 20px;
  padding: 0px 1em;
}

#global_menu>ul {
  text-align: right;
  padding-right: 20px;
}

#global_menu ul li.active>ul {
  top: 50px;
}

#header_logo {
  left: 20px;
}

.fixed_banner {
  position: fixed;
  bottom: 10px;
  left: 10px;
  transform: translateY(-50%);
  border: none;
  background: none;
  padding: 0;
  z-index: 9999;
}


#fix_sns {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 0;
  margin: 0;
}


#fix_sns li {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, filter 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#fix_sns li a {
  display: block;
  width: 30px;
  height: 30px;
}

#fix_sns li img {
  width: 100%;
  height: auto;
  filter: invert(100%) brightness(100%);
}


#fix_sns li:hover {
  background-color: #fff;
}

#fix_sns li:hover img {
  filter: invert(0%) brightness(0%);
}

.sns_button_list.color_type1 li a:before {
  color: #fff;
  transition: color 0.3s ease;
}


.sns_button_list.color_type1 li:hover a:before {
  color: #000;
}


#lp_page_header {
  display: none;
}

body.normal_page_width #page_contents {
  padding-top: 50px;
}

.post_content p {
  line-height: 1.8;
  margin: 0 0 2em 0;
}




.post_content h3 {
  border-bottom: solid 3px #cce4ff;
  position: relative;
}

.post_content h3:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #07358d;
  bottom: -3px;
  width: 20%;
}

.bc {
  margin-top: 160px;
}

@media (max-width: 600px) {
  .bc {
    margin-top: 1em;
  }

}

@media (max-width: 800px) {
  #page_header .headline {
    font-size: 1.8em;
    height: 60px;
  }

  #page_header {
    height: 130px;
  }
}


.q_frame {
  padding: 0.3em 1.5em 1.5em;
}

.br-pc {
  display: block;
}

.br-sp {
  display: none;
}


@media (max-width: 800px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: block;
  }

}

.wpcf7 select {
  font-family: var(--font_family_type2);
  font-weight: 500;
}


.post_content h2 {
  margin: 1em 0 1.3em 0;
  text-align: left;
}

@media screen and (max-width: 800px) {
  .widget_archive li .post-count {
    top: 5px;
  }
}

.design_button,
.cb_selling_point.num4 .sp_content.num1 .design_button,
.cb_selling_point.num4 .sp_content.num3 .design_button,
.cb_selling_point.num4 .sp_content.num5 .design_button {
  width: 400px;
  height: 70px;
  border-radius: 70px;
  line-height: 1.5;
  padding: 0 1.5em;
  font-weight: bold;
  background-color: #07358d;
  color: #fff !important;
  border: none;
}

.design_button:hover,
.cb_selling_point.num4 .sp_content.num1 .design_button:hover,
.cb_selling_point.num4 .sp_content.num3 .design_button:hover,
.cb_selling_point.num4 .sp_content.num5 .design_button:hover {
  background-color: #fff;
  color: #07358d !important;
  border: 1px solid #07358d !important;
}

@media (max-width: 800px) {

  .design_button,
  .cb_selling_point.num4 .sp_content.num1 .design_button,
  .cb_selling_point.num4 .sp_content.num3 .design_button,
  .cb_selling_point.num4 .sp_content.num5 .design_button {
    width: 80%;
    height: 50px;
    line-height: 3.5;
    padding: 0 1.5em;
    font-weight: bold;
    background-color: #07358d;
    color: #fff !important;
    border: none;
  }
}




.fixed_buttons a {
  background-color: #f0588d;
}

/* ── MV（TCDテーマ）のプレースホルダー完全非表示 ── */
/* 既存の .mv-image に加えて .bg_youtube も隠す */
.tcdmv .mv-image,
.tcdmv .bg_youtube {
  display: none !important;
}

/* iframe 部分は最初透明 → loaded でフェードイン */
.tcdmv .mv-video iframe {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.tcdmv .mv-video iframe.loaded {
  opacity: 1;
}

/* ── 手動埋め込み YouTube iframe のラッパーもフェードイン ── */
/* .cb_free_space 以下の直下の <div> を最初透明に */
.cb_free_space .post_content>div {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* ロード完了後に付与するクラス */
.cb_free_space .post_content>div.loaded {
  opacity: 1;
}

/* ── プレースホルダー画像だけ完全非表示 ── */
.tcdmv .mv-image {
  display: none !important;
}

/* ── TCDテーマの背景YouTube動画＆mv-video iframe は最初透明 → loaded でフェードイン ── */
.tcdmv .mv-video iframe,
.tcdmv .bg_youtube iframe {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.tcdmv .mv-video iframe.loaded,
.tcdmv .bg_youtube iframe.loaded {
  opacity: 1;
}

/* ── 手動埋め込み（cb_free_space）の iframe はこれまで通り ── */
.cb_free_space .post_content iframe,
.cb_free_space .post_content>div {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.cb_free_space .post_content iframe.loaded,
.cb_free_space .post_content>div.loaded {
  opacity: 1;
}

#index_achievements {
  border-top: none;
}


.news_list .image_wrap {
  border: 1px solid #ddd;
}

@media (max-width: 800px) {
  .fixed_banner {
    bottom: 5px;
    left: 5px;
    transform: translateY(-30%);
  }

  #fix_sns li {
    width: 40px;
    height: 40px;
  }

  #fix_sns li a {
    width: 30px;
    height: 30px;
  }

  .fixed_buttons {
    padding: 0;
    background: rgba(255, 255, 255, 0.8);
  }

  .sp_content .main_content .catch {
    font-size: 24px;
    text-align: left;
  }

  .post_content td,
  .post_content th {
    padding: 10px 10px;
  }
}

.case_study_list .category {
  display: none;
}


@media screen and (max-width: 768px) {
  #content_builder .design_header {
    margin: -5px 0 20px;
  }

  /* お知らせラッパー全体の調整（下余白を30px） */
  .cb_news_list_slider_wrap {
    overflow: visible !important;
    margin-bottom: 30px !important;
  }

  /* スライダー本体の高さ制御 */
  .cb_news_list_slider {
    overflow: visible !important;
    height: auto !important;
  }

  /* ニュースリストを縦並びに変更 */
  .cb_news_list_slider .news_list {
    display: flex !important;
    flex-direction: column !important;
    transform: none !important;
    height: auto !important;
  }

  /* 各ニュース項目の基本スタイル */
  .cb_news_list_slider .news_list .item {
    width: 100% !important;
    display: flex !important;
    align-items: center;
    box-sizing: border-box;
    min-height: 70px;
    background: #fff;
    border-bottom: none !important;
    /* いったん全ての下線を消す */
  }

  /* 3件目（最後）のみ下線を表示 */
  .cb_news_list_slider .news_list .item:last-child {
    border-bottom: 1px solid #ddd !important;
  }

  /* ニュース内のテキスト配置調整 */
  .cb_news_list_slider .news_list .item .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }

  .cb_news_list_slider .news_list .item time.date {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
  }

  .cb_news_list_slider .news_list .item .title {
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
  }

  /* swiperの通知要素を非表示に */
  .cb_news_list_slider .swiper-notification {
    display: none !important;
  }

  /* 「一覧を見る」ボタン下に余白を追加 */
  .cb_news_list .link_button {
    margin-bottom: 20px !important;
  }
}

@media screen and (max-width: 768px) {
  .fixed_banner {
    position: fixed;
    bottom: 40px;
    /* 下から40px */
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    display: flex;
    justify-content: flex-start;
    /* ← 左寄せに変更 */
    padding-left: 16px;
    /* 左に少し余白を取る */
    pointer-events: none;
  }

  #fix_sns.sns_button_list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: auto;
  }

  #fix_sns li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  }

  #fix_sns li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    font-size: 20px;
  }

  #fix_sns li a span {
    display: none;
  }

  #fix_sns::before,
  #fix_sns::after {
    display: none !important;
    content: none !important;
  }
}

/* 基本スタイル */
#page_header {

  background-size: cover;

}

/* スマホ（800px以下）用 */
@media screen and (max-width: 800px) {
  #page_header {
    height: 120px;
    background-image: url('/wp-content/uploads/2025/03/bg_kasoumv-3-768x318.jpg');
  }

  #page_header img {
    display: none;
  }
}