/* ========== Header ========== */
:root{
  --header-h: 72px; /* ヘッダー高さ（必要に応じて調整） */
}

body{
  /* padding-top: var(--header-h); */
  padding-top: 0;
}

.l_header {
  background: rgba(255, 255, 255, 1.0);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* position: fixed; */
  top: 0;
  left: 0;
  z-index: 9990;
  width: 100%;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.l_header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.l_header__brandLink {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  color: #111;
}

.l_header__logo {
  height: 42px;
  width: auto;
  display: block;
  /* display: none; */
}

.l_header__brandText{
  display: grid;
  line-height: 1.15;
  gap: 4px;
}

.l_header__brandLead{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(0,0,0,.62);
}

.l_header__brandName{
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #111;
}

.l_header__nav {
  margin-left: auto;
}

.l_header__menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.l_header__link {
  color: #111;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  position: relative;
  padding: 8px 2px;
}

.l_header__link:hover {
  opacity: .75;
}

.l_header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.l_header__btn--contact {
  background: var(--bs-teal);
  color: #fff;
}

/* ========== SP toggle ========== */
.l_header__toggle {
  display: none; /* 1024未満で表示させる */
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.l_header__toggleLines {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  position: relative;
  margin: 0 auto;
}

.l_header__toggleLines::before,
.l_header__toggleLines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #111;
}

.l_header__toggleLines::before { top: -7px; }
.l_header__toggleLines::after  { top:  7px; }

/* ========== Drawer ========== */
html.is-locked,
html.is-locked body {
  overflow: hidden;
}

.l_drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.l_header.is-drawer-open .l_drawer {
  display: block;
}

.l_drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
}

.l_drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: calc(100vh - 74px);
  background: #fff;
  padding: 18px 18px 22px;
  box-shadow: -12px 0 32px rgba(0, 0, 0, .16);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
}

.l_drawer__close {
  align-self: flex-end;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.l_drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto;
  width: 100%;
}

.l_drawer__link {
  text-decoration: none;
  color: #111;
  font-weight: 800;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  text-align: center;
    font-size: clamp(18px, 5vw, 24px);
}

/* ========== Responsive（重要：ブレイクポイントを1024に） ========== */
@media (max-width:1023px) {
  .l_header__nav {
    display: none;
  }

  .l_header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* SPでロゴと文字が詰まる場合の保険 */
  .l_header__brandName{
    font-size: 14px;
  }
  .l_header__brandLead{
    font-size: 11px;
  }
}

@media screen and (max-width:425px) {
  .l_header__logo {
    height: 30px;
  }

  .l_header__inner {
    gap: 0;
  }
}


/* overlay / panel の積層を明示（保険） */
.l_drawer__overlay { z-index: 0; }
.l_drawer__panel   { z-index: 1; }

/* タップ反応を良くする保険 */
.l_drawer__link { touch-action: manipulation; }