/* ==========================================================================
   Header tel button (.header__tel)
   ※ SWELLヘッダー内で使うため .lp-post で囲わず、変数も直接値で指定
   ========================================================================== */
.header__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  padding: 1rem;
  color: #fff;
  background: linear-gradient(180deg, #0a9bd6, #0f5cc4);
  border-radius: 0.5rem;
  line-height: 1.2;
  transition: opacity 0.2s;
}

.header__tel:hover {
  opacity: 0.85;
}

#body_wrap a.header__tel,
#body_wrap a.header__tel:hover,
#body_wrap a.header__tel .header__tel-number,
#body_wrap a.header__tel .header__tel-time {
  color: #fff;
  text-decoration: none;
}

.header__tel-number {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: "Montserrat", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
}

.header__tel-number img {
  display: none;
}

.header__tel-number::before {
  content: "";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: url("../images/tel-logo.png") center / contain no-repeat;
}

.header__tel-time {
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .header__tel {
    align-self: stretch;
    margin: 0;
    padding: 0 clamp(1rem, 3vw, 2.6875rem);
    background: #0a6fd0;
    background: linear-gradient(180deg, #1478d8, #0a5fc4);
    border-radius: 0;
  }

  .header__tel-number {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
  }

  .header__tel-number::before {
    width: 1.75rem;
    height: 1.75rem;
  }

  .header__tel-time {
    font-size: 0.75rem;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header__tel {
    transition: none;
  }
}

/* ==========================================================================
   SWELL header (PC)
   ========================================================================== */
@media (min-width: 768px) {
  .l-header .l-header__inner.l-container {
    max-width: 90rem;
    padding-inline: 2rem 0;
  }

  .l-header .w-header {
    align-items: stretch;
    align-self: stretch;
  }

  .l-header .w-header__inner {
    display: flex;
  }

  .l-header .w-header__inner > :has(.header__tel),
  .l-header .w-header__inner :has(> .header__tel) {
    display: flex;
    align-self: stretch;
    margin: 0;
    padding: 0;
  }

  .l-header .c-gnav > .menu-item > a .ttl {
    font-size: clamp(0.6875rem, 0.97vw, 0.875rem);
    font-weight: 700;
  }
}

/* ==========================================================================
   Header mail button (.header__mail) - SP menu
   ※ MV の .btn--mail と同じ配色・アイコン。SWELLヘッダー内で使うため .lp-post で囲わない
   ========================================================================== */
.header__mail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.75rem 0.5rem 0 0;
  padding: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  background: linear-gradient(180deg, #ffa800, #ff6b6b);
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 0.18);
  transition: opacity 0.2s;
}

.header__mail::before {
  content: "";
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background-color: currentColor;
  -webkit-mask: url("../images/mail-logo.png") center / contain no-repeat;
  mask: url("../images/mail-logo.png") center / contain no-repeat;
}

.header__mail:hover {
  opacity: 0.85;
}

#body_wrap a.header__mail,
#body_wrap a.header__mail:hover {
  color: #fff;
  text-decoration: none;
}

@media (min-width: 768px) {
  .header__mail {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header__mail {
    transition: none;
  }
}
