/*
Theme Name: dhub
Template: ystandard
Version: 1.0.0
*/
#fixed-banner-line {
  position: fixed;
  right: 0;
  top: 40%;
  transform: translateY(-50%);
  z-index: 9999;
  background-color: #05c052;
  color: #fff;
  padding: 20px 10px;
  writing-mode: vertical-rl;
  font-size: 14px;
  border-radius: 5px 0 0 5px;
  text-decoration: none;
  cursor: pointer;
}

#fixed-banner-mail {
  position: fixed;
  right: 0;
  top: 60%; 
  transform: translateY(-50%);
  z-index: 9999;
  background-color: #013A8F;
  color: #fff;
  padding: 20px 10px;
  writing-mode: vertical-rl;
  font-size: 14px;
  border-radius: 5px 0 0 5px;
  text-decoration: none;
  cursor: pointer;
}

#fixed-banner-line-sp {
  display: none;
  position: fixed;
  right: 12px; 
  bottom: 170px;
  z-index: 99999;
}

#fixed-banner-line-sp img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

#fixed-banner-mail-sp {
  display: none;
  position: fixed;
  right: 12px; 
  bottom: 110px;
  z-index: 99999;
}

#fixed-banner-mail-sp img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  #fixed-banner-line,
  #fixed-banner-mail {
    display: none !important;
  }

  #fixed-banner-line-sp,
  #fixed-banner-mail-sp {
    display: block !important;
  }
}


/* ▼ ヘッダーメニュー横のCTAボタン */
.header-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-btn {
  background-color: #0146ae;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: normal;
  text-decoration: none;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.header-btn:hover {
  background-color: #013a8f;
}

.site-header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px; 
}
@media screen and (max-width: 767px) {
  .header-buttons {
    display: none !important;
  }
}
  .global-nav__toggle {
    color: #ffffff !important;
    fill: #ffffff !important;
    font-size: 24px;
    right: 10px;
    top: 2px;
    position:auto absolute;
  }
  .global-nav__toggle svg {
    width: 28px !important; 
    height: 28px !important;
  }
  .global-nav__toggle svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
  }

@media (max-width: 768px){
  .btn--dx,
  .btn--consult{
    display: none !important;
  }
}

.mobile-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  width: 100%;
  background: transparent;
  box-shadow: 0 -6px 20px rgba(0,0,0,.16);
}

@media (max-width: 768px){
  .mobile-cta{ display: flex; }
}

.mobile-cta__btn{
  flex: 1 1 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px; 
  padding: 14px 10px calc(14px + env(safe-area-inset-bottom)); 
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  border: 0;
}

.mobile-cta__btn--dx{
  background: #1664c0; 
}
.mobile-cta__btn--dx:active,
.mobile-cta__btn--dx:focus,
.mobile-cta__btn--dx:hover{
  filter: brightness(1.05);
}

.mobile-cta__btn--consult{
  background: #0d47a1; 
}
.mobile-cta__btn--consult:active,
.mobile-cta__btn--consult:focus,
.mobile-cta__btn--consult:hover{
  filter: brightness(1.05);
}

.mobile-cta__btn + .mobile-cta__btn{
  border-left: 1px solid rgba(255,255,255,.2);
}

body.admin-bar .mobile-cta{ bottom: 0; }

@media (max-width: 768px){
  body.has-mobile-cta{
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }
}