/* ヘッダー全体 */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 10px 40px;
  min-height: auto;
}

/* 内部を左右に分ける */
.header-inner {
  display: flex;
  justify-content: space-between;
  /* 左右に配置 */
  align-items: center;
  /* 縦位置を中央揃え */
  max-width: 1200px;
  margin: 0 auto;
  flex-direction: row;
  position: relative;
  top: 0;
}

/* ロゴ */
.site-branding a {
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #111;
}

/* ナビゲーション */
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
  /* 各項目の間隔 */
}

.site-nav li {
  display: inline-block;
}

.site-nav a {
  text-decoration: none;
  color: #3a3a3a;
  font-size: 16px;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: #0073e6;
  /* ホバー時に青色 */
}

.hed-and-main {
  flex-direction: row;
  display: flex;
/*   padding-top: 100px; */
}

header {
  width: 300px;
  min-width: 300px;
}

.header-inner {
  min-width: 200px;
}

.ttl {
  text-align: center;
}

.ttl a {
  font-size: 30px;
  font-weight: bold;
  color: #000;
  text-align: center;
  text-decoration: none;
}

.pc-nav {
  display: flex;
  align-items: center;
  margin: 30px 0;
}

.pc-nav ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
  list-style: none;
  align-items: center;
  margin: 0;
  width: 100%;
}

.pc-nav li a {
  text-decoration: none;
  color: #000;
  text-align: center;
}

@media(max-width:1024px) {
  .pc-nav {
    display: none;
  }

  .entry-hero-container-inner {
    margin-top: 0;
  }
}








.hed-and-main {
  flex-direction: column;
}

header {
  width: 100%;
  max-width: none;
}

.pc-nav {
  display: flex;
  align-items: center;
}

.pc-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
  margin: 0;
  flex-direction: row;
}

.pc-nav li a {
  text-decoration: none;
  color: #000;
}

@media(max-width:1024px) {
  .pc-nav {
    display: none;
  }
}

/* ハンバーガーアイコン */
.menu-toggle {
  display: none;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #111;
  border-radius: 2px;
}

/* サイドメニュー */
.side-menu {
  position: fixed;
  top: 0;
  right: -200px;
  /* 初期は隠す */
  width: 200px;
  height: 100%;
  background: #111111c9;
  color: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  z-index: 1002;
  padding: 60px 20px 20px;
}

.side-menu.open {
  right: 0;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu ul li {
  text-align: center;
  padding: 16px 0;
}

.side-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.side-menu ul li a:hover {
  text-decoration: underline;
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: 1px solid #ffcc00;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  border-radius: 4px;
}

/* オーバーレイ */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1001;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* メディアクエリ */
@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    /* 既存の横並びメニュー */
    display: none;
  }

  .hed-and-main {
/*     padding-top: 60px; */
  }
}


/* 親メニュー */
.dropdown {
  position: relative;
}


.dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.dropdown-menu li a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
}

/* ホバーで展開 */
.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 0;
  list-style: none;
  border: 1px solid #ccc;
  min-width: 180px;
  z-index: 1000;
}

.dropdown.open .dropdown-menu {
  display: block !important;
}

/* サブタイトルのフォントサイズ */
.ur-frontend-form.login .ur-lost-password-content-container .ur-lost-password-title {
  font-size: 29px !important;
}

/* user-registrationのフォントサイズ変更 */
@media(max-width:600px) {

  /* タイトルのフォントサイズ */
  .entry-title {
    font-size: 30px !important;
  }

  /* サブタイトルのフォントサイズ */
  .ur-frontend-form.login .ur-lost-password-content-container .ur-lost-password-title {
    font-size: 25px !important;
  }

  /* 「メール送信をしました」テキストがバナーと被らないように */
  .ur-message-container .user-registration-message {
    z-index: 99 !important;
  }
}