/* ================================================
   ヘッダー：goyokikidoctor.com TOP（2026）と統一・上部固定
   ※ グロナビはTOPのアイコンナビ（.gh-gnav）に置き換え。ヘッダーと一緒に固定
   ※ 元デザイン：TOP の css/top2026.css（.t-header / .t-sticky）
   ================================================ */
.gh-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: box-shadow .2s;
}
.gh-fixed.is-scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .1); }
.gh-spacer { height: 140px; }

/* 既存ヘッダーの高さ指定を解除 */
.gh-fixed .l-header { height: auto; line-height: 1.7; position: relative; }
/* 既存のハンバーガーボタンは使わず、メニュー本体（.menu-contents）だけ利用 */
.gh-fixed .hamburger-menu { position: static; width: 0; height: 0; }
.gh-fixed .hamburger-menu .menu-btn { display: none !important; }

.gh-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  font-family: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  line-height: 1.7;
  letter-spacing: normal;
}
.gh-header *, .gh-header *::before, .gh-header *::after { box-sizing: border-box; }
.gh-header p { margin: 0; }
.gh-header a { color: inherit; text-decoration: none; }
.gh-header button { margin: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.gh-header svg { flex-shrink: 0; }
.gh-header__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.gh-header__logo { display: flex; align-items: center; gap: 22px; }
.gh-header__logo img { width: 196px; height: auto; vertical-align: middle; }
.gh-header__sub { font-size: 14px; line-height: 1.9; color: #555; }
.gh-header__contact { display: flex; align-items: center; gap: 16px; }
.gh-header__tel { text-align: center; }
.gh-header__tags { display: flex; justify-content: center; gap: 26px; font-size: 14px; font-weight: 700; }
.gh-header__time { font-size: 18px; font-weight: 700; }
.gh-header__overseas {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1382cb !important;
  color: #fff;
  border-radius: 8px;
  padding: 12px 20px !important;
  font-size: 17px !important;
  font-weight: 700;
  line-height: 1.35 !important;
  text-align: left;
  transition: opacity .2s;
}
.gh-header__overseas svg { width: 26px; height: 26px; }
.gh-header__line {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ff8437;
  color: #fff !important;
  border-radius: 8px;
  padding: 12px 22px;
  box-shadow: 0 3px 0 #d9601a;
  transition: transform .2s;
}
.gh-header__line .gh-i-line { width: 34px; height: 34px; color: #fff; }
.gh-header__line .gh-i-line path { fill: #ff8437; }
.gh-header__line b { display: block; font-size: 18px; line-height: 1.3; }
.gh-header__line small { display: block; font-size: 13px; opacity: .9; }
.gh-header__overseas:hover { opacity: .85; }
/* button の font: inherit で太字が消えないように（TOPは太字） */
.gh-header .gh-header__overseas { font-weight: 700; }
.gh-header__line:hover { transform: translateY(2px); box-shadow: 0 1px 0 #d9601a; }
.gh-header__menu { display: none; }
.gh-sp { display: none !important; }

@media screen and (min-width: 768px) and (max-width: 1300px) {
  .gh-header__inner { padding-left: 20px; padding-right: 20px; }
  .gh-header__sub { display: none; }
}
@media screen and (min-width: 768px) and (max-width: 1100px) {
  .gh-header__tel { display: none; }
}
@media screen and (max-width: 767px) {
  .gh-pc { display: none !important; }
  .gh-sp { display: inline !important; }
  .gh-header__inner { padding: 10px 12px; gap: 8px; }
  .gh-header__logo img { width: 112px; }
  .gh-header__sub { display: none; }
  .gh-header__contact { gap: 8px; }
  .gh-header .gh-header__overseas { flex-direction: column; gap: 2px; padding: 5px 7px !important; background: #fff !important; color: #3f74a6; border: 1.5px solid #3f74a6; border-radius: 6px; font-size: 10px !important; text-align: center; }
  .gh-header__overseas svg { width: 20px; height: 20px; }
  .gh-header__line { flex-direction: column; gap: 2px; padding: 5px 9px; border-radius: 6px; box-shadow: none; }
  .gh-header__line .gh-i-line { width: 22px; height: 22px; }
  .gh-header__line b { font-size: 11px; }
  .gh-header__menu { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-left: 2px; color: #3f74a6; cursor: pointer; }
  .gh-header__burger { display: grid; gap: 5px; width: 26px; }
  .gh-header__burger i { display: block; height: 2.6px; border-radius: 2px; background: currentColor; }
  .gh-header__menu-label { font-size: 10px; font-weight: 700; line-height: 1.7; }
  .gh-spacer { height: 66px; }
}

/* ================================================
   グロナビ：TOP（.t-gnav / .t-mega）と統一。PCのみ表示（SPはメニューから）
   ================================================ */
.gh-gnav { font-family: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; line-height: 1.7; color: #333; }
.gh-gnav *, .gh-gnav *::before, .gh-gnav *::after { box-sizing: border-box; }
.gh-gnav ul { list-style: none; margin: 0 auto; padding: 0; }
.gh-gnav p { margin: 0; }
.gh-gnav a { color: inherit; text-decoration: none; }
.gh-gnav svg { flex-shrink: 0; }
/* ---------- global nav ---------- */
.gh-gnav { background: #fbf8f3; border-bottom: 6px solid #8fb3dc; }
.gh-gnav__list { display: flex; justify-content: center; max-width: 1240px; margin: 0 auto; }
.gh-gnav__list li { flex: 1; border-left: 1px dotted #c9c0b0; position: relative; }
.gh-gnav__list li:last-child { border-right: 1px dotted #c9c0b0; }
.gh-gnav__list a {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: 16px 0 14px; font-size: 17px; color: #333;
}
.gh-gnav__list svg { width: 28px; height: 28px; color: #1382cb; }
.gh-gnav__list li.is-active::after, .gh-gnav__list li:hover::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: #bfe3c2;
}

/* --- グロナビ「診療プラン」ホバーのメガメニュー（PC） --- */
.gh-gnav__list li.has-mega { position: static; }
.gh-gnav { position: relative; }
.gh-mega {
	position: absolute; left: 50%; top: 100%; transform: translateX(-50%); width: min(1120px, 100vw); z-index: 60;
	padding-top: 6px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.gh-gnav__list li.has-mega:hover .gh-mega, .gh-gnav__list li.has-mega:focus-within .gh-mega { opacity: 1; visibility: visible; }
.gh-gnav__list li.has-mega:hover > a, .gh-gnav__list li.has-mega:focus-within > a { background: #e3edf6; color: #1382cb; }
.gh-mega__inner {
	display: flex; gap: 36px; background: #fff; border-radius: 0 0 16px 16px; padding: 28px 40px 32px;
	box-shadow: 0 12px 28px rgba(38,51,77,.18); text-align: left;
}
.gh-mega__col { flex: 1; min-width: 0; }
.gh-mega__col--consult { flex: 0 0 300px; padding-right: 36px; border-right: 1px solid #eadfcb; }
.gh-mega__head { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: #2c5a86; padding-bottom: 10px; margin-bottom: 12px !important; border-bottom: 2px solid #e3edf6; }
.gh-mega__col:not(.gh-mega__col--consult) .gh-mega__head { color: #a8325a; border-color: #fbe3ea; }
.gh-mega__head span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: 14px; }
.gh-mega__head span.is-blue { background: #2c5a86; }
.gh-mega__head span.is-pink { background: #a8325a; }
.gh-mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.gh-mega__item { display: flex !important; flex-direction: row !important; align-items: center; gap: 14px; padding: 10px 14px 10px 10px !important; border-radius: 10px; font-size: inherit !important; transition: background .15s; }
.gh-mega__item:hover { background: #f6f9fc; }
.gh-mega__item--wide { background: #f7fafd; border: 1px solid #d6e4f2; }
.gh-mega__item i { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; }
.gh-mega__item i svg { width: 28px !important; height: 28px !important; color: inherit !important; }
.gh-mega__item i.is-blue { background: #e8f1fa; color: #2c5a86; }
.gh-mega__item i.is-pink { background: #fdecf1; color: #c2507a; }
.gh-mega__item i.is-green { background: #e6f5e8; color: #27703d; }
.gh-mega__item span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gh-mega__item b { font-size: 17px; color: #333; }
.gh-mega__item small { font-size: 13px; color: #777; }
.gh-mega__item .i-chev { color: #4a5a6a; width: 8px !important; height: 13px !important; }
.gh-mega__note { font-size: 13px; color: #555; line-height: 1.6; margin-top: 12px !important; }
@media screen and (min-width: 768px) and (max-width: 1300px) {
  .gh-gnav__list a { font-size: 14px; }
}
@media screen and (max-width: 767px) {
  .gh-gnav { display: none !important; }
}
