/* assets/css/hod-header.css */
:root{
  --hod-bg: #071430;
  --hod-text: rgba(255,255,255,.92);
  --hod-muted: rgba(255,255,255,.70);
  --hod-line: rgba(255,255,255,.14);
  --hod-header-h: 76px;
}

/* ========== Header ========== */
.hod-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hod-header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: rgba(7,20,48,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
 
}

.hod-header__logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--hod-text);
}
.hod-header__logo img{ width: 48px; height: 48px; object-fit: contain; display:block; }


.hod-header__logo img.logo--sub {
width:300px;
height: auto;
}

.hod-header__nav{
  display: inline-flex;
  gap: 22px;
  align-items: center;
}
.hod-header__nav a{
  color: var(--hod-text);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .14em;
}
.hod-header__nav a:hover{ opacity: .85; }

/* SPハンバーガー（PCでは隠す） */
.hod-burger{
  width: 54px; height: 54px;
  border: 0; background: transparent; color: #fff;
  cursor: pointer; display: none;
}
.hod-burger__lines{
  position: relative;
  display:block;
  width: 26px; height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 999px;
}
.hod-burger__lines::before,
.hod-burger__lines::after{
  content:"";
  position:absolute; left:0;
  width: 26px; height: 2px;
  background: currentColor;
  border-radius: 999px;
}
.hod-burger__lines::before{ top:-8px; }
.hod-burger__lines::after { top: 8px; }

/* ========== Drawer (SP) ========== */
.hod-drawer{
  position: fixed;
  top:0; right:0;
  height: 100svh;
  width: min(420px, 92vw);
  transform: translateX(100%);
  transition: transform .32s ease;
  z-index: 120;
  background: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 1px solid rgba(255,255,255,.12);
}
.hod-drawer.is-open{ transform: translateX(0); }

.hod-drawer__inner{
  height: 100%;
  padding: 22px;
  display:flex;
  flex-direction: column;
  gap: 18px;
}
.hod-drawer__close{
  align-self: flex-end;
  width: 44px; height: 44px;
  border:0; background:transparent;
  color:#0C132E; font-size: 28px;
  cursor:pointer; line-height: 1;
}
.hod-menu{ list-style:none; margin:0; padding:0; display:grid; gap: 10px; }
.hod-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #0C132E;
    text-decoration: none;
    letter-spacing: .06em;
    font-weight: bold;
}
.hod-menu a:hover{ background: rgba(255,255,255,.08); }

a.hod-social__link{
color: #0C132E;
margin-top: 30px;
margin-left: 10px;
}


/* スクロール固定（JS側で html に class を付ける前提） */
html.is-drawer-open, html.is-drawer-open body{ overflow:hidden; }

/* ========== Responsive ========== */
@media (max-width: 768px){
  :root{ --hod-header-h: 66px; }
  .hod-header__nav{ display:none; }
  .hod-burger{ display:inline-flex; align-items:center; justify-content:center; }
	
.hod-header__logo img.logo--sub{
    width: 200px;
    height: auto;
    margin-top: 8px;
}
}
/* =========================================
   TOP (PC): use burger instead of PC nav
========================================= */
@media (min-width: 769px){

  /* PC横ナビはTOPだけ消す */
  body.hod-top-body .hod-header__nav{
    display: none !important;
  }

  /* PCでもハンバーガーを出す（共通CSSでdisplay:noneになってるのを解除） */
  body.hod-top-body .hod-burger{
    display: flex !important;
    position: fixed;
    top: 18px;
    right: 18px;
    width: 56px;
    height: 56px;
    z-index: 95;
    background: transparent;
  }

  /* ドロワーがPCでdisplay:noneされてる場合の解除 */
  body.hod-top-body .hod-drawer{
    display: block !important;
  }
}
