/*
 * グローバルメニュー
 */
#header,
#global_menu {
  background: #fff !important;
}

body.home #drawer_menu_button span, body.page-template-page-lp #drawer_menu_button span {
  background: #333 !important;
}

body.home #global_menu > ul > li > a,
body.page-template-page-lp #global_menu > ul > li > a {
  color: #000;
}

header > #global_menu > ul > li.active > a,
#global_menu ul ul a,
#global_menu > ul > li.active_megamenu_button > a {
  background-color: #ff0000 !important;
}

#global_menu ul ul a:before {
  background-color: #fff !important;
}

/*
 * フッター
 */
.footer_inner {
  display: flex;
  justify-content: space-between;
  max-width: 1310px;
  margin: 0 auto;
}

.footer_access,
.footer_tel {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 4px;
}

.footer_tel a {
  color: blue;
}

.footer_inner_right {
  display: flex;
  gap: 32px;
  align-self: start;
  align-items: center;
}

.footer_inner_right a img {
  max-width: 100%;
  height: auto;
}

.footer_message {
  max-width: 1310px;
  margin: 32px auto;
  text-align: center;
}

@media screen and (max-width: 1301px) {
  .footer_inner,
  .footer_message {
    margin: 0 20px;
  }

  @media screen and (max-width: 767px) {
    .footer_inner {
      display: block;
      text-align: center;
      margin-bottom: 24px;
    }

    .footer_inner_left {
      margin-bottom: 24px;
    }

    .footer_inner_right {
      justify-content: center;
	  flex-wrap: wrap;
      gap: 16px;
    }
	  
	.footer_inner_right a {
       width: calc(50% - 8px);
    }

    .footer_message {
      margin: 20px;
    }
  }
}

/*
 * 共通コンポーネント
 */
.flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.gap-4 {
  gap: 16px;
}

.flex.col-4.gap-4 .flex-item {
  width: calc(100% / 4 - 12px);
}

@media screen and (max-width: 1023px) {
  .flex.col-4.gap-4 .flex-item {
    width: calc(50% - 8px);
  }
}

.service_design_content .headline {
  color: #fff !important;
  background-color: #ff0000;
}

:is(.design_headline, .tcdce-body .design_headline):before {
  background-color: #ff0000;
}

/*
 * サポートの流れ
 */
#support_flow {
  margin-bottom: 56px;
}

#support_flow h3 {
  margin-top: 12px;
  text-align: center;
  margin-bottom: 16px;
}

/*
 * スタッフ紹介
 */
#support_staff th {
  padding: 16px;
  background-color: #fff;
}

#support_staff th img {
  min-width: 200px;
  width: 200px;
  box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.5);
}

#support_staff h3 {
  margin: 0 0 24px;
  border-bottom: 2px solid #ff0000;
  display: inline-block;
}

table#support_staff tbody th,
table#support_staff tbody td {
  border: none;
  border-bottom: 24px solid #fff;
  vertical-align: middle;
}

#support_staff p {
  margin-bottom: 16px;
  line-height: 32px;
}

@media screen and (max-width: 767px) {
  table#support_staff tbody th,
  table#support_staff tbody td {
    display: block;
  }

  table#support_staff tbody td {
    text-align: center;
  }

  table#support_staff tbody td p {
    text-align: left;
  }
}

/*
 * サイドバー
 */
.sidebar-title {
  padding: 16px;
  font-weight: 600;
  font-size: 20px;
  text-align: center;
  background: #ff0000;
  color: #fff;
}

li.cat-item,
.archive-list li {
  padding: 12px 8px 12px 8px;
  border-bottom: 1px solid #d1d1d1;
  margin-bottom: 0;
}

.cat-item a,
.archive-list a {
  color: #000 !important;
}

.sideul > .cat-item > a:before {
  content: "\f07c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
}

li.cat-item ul.children {
  margin-left: -8px;
  margin-right: -8px;
  border-top: solid 1px #d1d1d1;
  margin-top: 8px;
}

li.cat-item ul.children li {
  padding: 8px 8px 8px 20px;
}

li.cat-item ul.children li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
