/* デフォルトのヘッダー */
#header {
	position: fixed !important;
    top: 0px;
    margin-top: 24px;
    z-index: 100;
    transition: transform 0.3s ease;
    background: none;
}
@media screen and (max-width: 768px) {
  #header {
    margin-top: 0px;
}
}


/* スクロールで隠す */
#header.animate {
	transition: transform 0.3s ease;
}

/* 下方向：非表示 */
#header.js_UpMove {
transform: translateY(-150%);
}
@media screen and (max-width: 768px) {
  #header.js_UpMove {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
	transform: none;
	}
}

/* 上方向：表示 */
#header.js_DownMove {
	transform: translateY(0);
}
@media screen and (max-width: 768px) {
  #header.js_DownMove {
	opacity: 1;
  	visibility: visible;
	transform: none;
	}
}

/* PCヘッダーのラッパー */
.header-pc-by {
	display: flex;
	align-items: center;
	height: 112px;
	justify-content: space-between;
}

/* SPヘッダーのラッパー */
.header-sp-by {
	display: flex;
	align-items: start;
	justify-content: space-between;
}

/* ヘッダーロゴのbox */
.header-logo-box-by {
	width: 160px;
	height: 160px;
	border-radius: 0 0 30px;
    background: rgba(255, 255, 255, 0.8);
	padding: 16px;
}
@media screen and (max-width: 1028px) {
  .header-logo-box-by {
	width: 120px;
	height: 120px;
	border-radius: 0 0 30px;
	padding: 8px;
}
}
@media screen and (max-width: 768px) {
  .header-logo-box-by {
	width: 100px;
	height: 100px;
	border-radius: 0 0 30px;
	padding: 8px;
}
}

/* グローバルナビ */
.nav-by {
	margin-left: auto;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 100vh;
	margin-right: 16px;
}
@media screen and (max-width: 768px) {
  .nav-by {
	margin-right: 0px;
	margin-top: 0px;
	border-radius: 0;
}
}

.nav-ul-by {
	display: flex;
	gap: 48px;
	list-style: none;
	margin: 0;
	padding: 28px 64px;
}
@media (max-width: 1024px){
  .nav-ul-by {
    gap: 24px;
	padding: 28px 24px;
  }
}

  .nav-ul-sp-by {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
	height: 60px;
	text-align: center;
}

  .nav-ul-sp-by li {
	line-height: 60px;
	height: 60px;
	width: 50%;
}
  .nav-ul-sp-by li:nth-child(2) {
    border-left: 1px solid #fff;
    box-sizing: border-box;
}

/* SPのハンバーガーメニュー */
.nav-hamburger-sp-by {
	top: 0;
    right: 0;
	position: fixed;
    background: var(--sub_color-by);;
    width: 70px;
    height: 70px;
    border-radius: 0 0 0 30px;
    padding: 8px;
	display: flex;
    align-items: center;
    justify-content: center;
}

/* PC版 */
.nav-ul-by li a {
    position: relative;
    color: var(--black_color-by);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s;
	font-size: var(--fs-small-by);
}

/* SP版 */
.nav-ul-sp-by li a {
    position: relative;
    color: var(--black_color-by);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
	font-size: var(--fs-small-by);
}

/* 下線（中央→左右に伸びる） */
.nav-ul-by li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent_color-by);
    transform: translateX(-50%);
    transition: width .3s ease;
}

.nav-ul-by li a:hover {
    opacity: var(--opa_color-by);
	transition: var(--opa_tra-by);
}

/* ホバー時に幅を100%へ伸ばす */
.nav-ul-by li a:hover::after,
.nav-ul-by li a:focus::after {
    width: 100%;
}

/* ハンバーガーメニュー内の色 */
.c-widget__title.-spmenu {
    background: var(--sub_color-by) !important;
    color: var(--white_color-by) !important;
}




/*******************************************************
ぽかぽか温泉特有CSS
*******************************************************/

/* ナビのボタン */
.poka-nav-sp li a {
	border-radius:0px;
    background:var(--sub_color-by);
	color:var(--white_color-by);
	height: 60px;
	line-height: 60px;
	display: block;
}

/* ヘッダー内のメニューボタン */
.poka-menu-btn {
    background:var(--sub_color-by);
	padding: 8px;
	color:var(--white_color-by);
}

/* MENU表記を消す */
.c-iconBtn__label {
	display: none !important;
}

/* ハンバーガーメニューを小さくする */
.c-iconBtn__icon {
    font-size: 24px !important;
}

/* ナビのアイコンサイズ */
.poka-icon-size {
	margin-right: 5px;
    font-size: 16px;
}

/* ナビのアイコンの縦並び */
.nav-ul-by li {
    display: flex;
	align-items: center;
}


/* SPのナビを下に配置 */
.nav-fixed-poka {
	position: fixed;
	bottom: 0;
	width: 100%;
}