.hao-wrap{
  width:min(1200px,94vw);
  margin:0 auto;
  padding:120px 0 60px;
}

.hao-page-head{
  text-align:center;
  margin:0 0 24px;
}

.hao-page-title{
  margin:0 0 10px;
  font-size:clamp(24px,3vw,36px);
  line-height:1.35;
  font-weight:800;
}

.hao-page-lead{
  margin:0;
  font-size:15px;
  line-height:1.9;
  color:#333;
}

.video-box{
  width:100%;
  max-width:960px;
  margin:0 auto 28px;
  aspect-ratio:16 / 9;
  background:#000;
  border-radius:14px;
  overflow:hidden;
}

#player{
  width:100%;
  height:100%;
}

#gallery{
  display:none;
  margin-top:28px;
}

#gallery.locked{
  opacity:.2;
  pointer-events:none;
  filter:blur(2px);
}

#gallery.is-open{
  display:block;
  opacity:1;
  pointer-events:auto;
  filter:none;
}

.hao-team{
  margin:0 0 36px;
}

.hao-team-title{
  margin:0 0 6px;
  font-size:24px;
  line-height:1.4;
}

.hao-team-meta{
  margin:0 0 14px;
  font-size:14px;
  color:#666;
}

.hao-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:12px;
}

.photo-btn{
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:none;
  cursor:pointer;
}

.photo-btn img{
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  border:1px solid #bbb;
  border-radius:8px;
  background:#fff;
}

@media (max-width:1024px){
  .hao-wrap{
    padding-top:110px;
  }

  .hao-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}

@media (max-width:767px){
  .hao-wrap{
    width:min(94vw,560px);
    padding:90px 0 40px;
  }

  .hao-page-head{
    margin-bottom:18px;
    padding:0 4px;
  }

  .hao-page-title{
    font-size:22px;
    line-height:1.4;
    margin-bottom:8px;
  }

  .hao-page-lead{
    font-size:14px;
    line-height:1.75;
  }

  .video-box{
    margin-bottom:20px;
    border-radius:10px;
  }

  .hao-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:10px;
  }
}


/********************
  ヘッダー
 ********************/

 #header{
  background:#171C61; /* HAOカラーに寄せる */
  color:#fff;
}

.hao-team-title{
  font-size:22px;
  font-weight:700;
  border-left:4px solid #1d4ed8;
  padding-left:10px;
}

/********************
  ナビゲーション
 ********************/

.hao-team-nav{
  margin: 0 auto 28px;
  max-width: 960px;
}

.hao-team-nav__inner{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}

.hao-team-nav__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  background:#f1f4fb;
  border:1px solid #d6ddef;
  color:#1a1a1a;
  text-decoration:none;
  font-size:14px;
  line-height:1.2;
  transition:.2s ease;
}

.hao-team-nav__link:hover{
  background:#1d4ed8;
  border-color:#1d4ed8;
  color:#fff;
}

@media (max-width:767px){
  .hao-team-nav{
    margin-bottom:20px;
  }

  .hao-team-nav__inner{
    justify-content:flex-start;
    overflow-x:auto;
    flex-wrap:nowrap;
    padding-bottom:6px;
  }

  .hao-team-nav__link{
    flex:0 0 auto;
    white-space:nowrap;
    font-size:13px;
    padding:9px 14px;
  }
}

#teamNav{
  display:none;
}

#teamNav.is-open{
  display:block;
}

/********************
  ナビ下メッセージ
 ********************/
.hao-update-note{
  text-align:center;
  font-size:14px;
  color:#1d4ed8;
  background:#f1f5ff;
  border-radius:8px;
  padding:10px 14px;
  margin:10px auto 24px;
  max-width:600px;
}

@media (max-width:767px){
  .hao-update-note{
    font-size:13px;
    margin-bottom:18px;
  }
}

#updateNote{
  display:none;
}

#updateNote.is-open{
  display:block;
}