/*
 Theme Name: Astra Child
 Theme URI:  https://example.com/
 Author:      Master
 Template:    astra
 Description: Astra の子テーマ
 Version:     1.0.0
 Text Domain: astra-child
*/

/* ==== ヒーロー内のレイアウト調整 ==== */

/* カバー内コンテンツを広く使う */
.hero-cover > .wp-block-cover__inner-container {
  max-width: 100%;
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ヘッダー（ロゴ＋ナビ）の横幅を広げる */
.hero-header {
  max-width: 1200px;   /* 必要なら 1300〜1400 にしてもよい */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ==== ヒーローナビ（右上メニュー） ==== */

.hero-nav {
  font-size: 14px;
}

.hero-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: nowrap;   /* 折り返さない */
}

.hero-nav > ul > li {
  position: relative;
}

/* 透明な球体風ボタン */
.hero-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1rem;
  text-decoration: none;
  color: #ffffff;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6), rgba(255,255,255,0.05));
  box-shadow: 0 0 12px rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;   /* 文字を折り返さない・ボタンの長さが文字に合わせて伸びる */
}

.hero-nav a:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.95);
}

/* サブメニュー（地方エリア） */
.hero-nav .has-sub > .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  margin-top: 0.4rem;
  z-index: 50;
}

.hero-nav .has-sub:hover > .sub-menu {
  display: flex;
}

.hero-nav .sub-menu li {
  margin-top: 0.2rem;
}

.hero-nav .sub-menu a {
  font-size: 12px;
  padding: 0.3rem 0.9rem;
  box-shadow: 0 0 8px rgba(255,255,255,0.35);
}