/*
Theme Name: yamagatoshigasu
Theme URI:  https://az-create.co.jp/
Author:     AZ CREATE.Co.,Ltd
Author URI: https://az-create.co.jp/
Template:   swell
Version:    1.0
License:    GNU General Public License v2 or later
*/
	
 /* ヘッダー3段を2段に */
@media (min-width: 960px) {
.-parallel .l-header__logo {
width: 40%;
}
.l-header.-parallel .w-header {
width: 60%;
}
}

 /* グローバルナビ文字の大きさ、色 */
.c-gnav>.menu-item>a .ttl {
font-size: 16px;
color: #3b3b3b;
font-weight: bold;
letter-spacing: 1.3px;
}


 /* グローバルナビパディング */
.-parallel .l-header__gnav .c-gnav>li>a {
padding: 20px 25px;
}

/* ヘッダーボタンパディングと色 */
.w-header__item .wp-block-group a {
	padding-top: 18px;
	padding-bottom: 18px;
	border: 1px solid #ccc; /* 必要なら */
	transition: background-color 0.3s, color 0.3s;
	color: #fff; /* 初期色、サイトに合わせて */
	background-color: transparent;
	text-decoration: none;
}

.w-header__item .wp-block-group a:hover {
	background-color: #ffffff !important;
	color: #000000 !important;
}

/* グローバルナビ：メニュー間に縦線を追加（上下に余白あり） */
.c-gnav > .menu-item {
  position: relative;
  padding-right: 15px;
  margin-right: 15px;
}

/* 疑似要素で縦線を短く表示 */
.c-gnav > .menu-item::after {
  content: "";
  position: absolute;
  top: 25%;
  bottom: 25%;
  right: 0;
  width: 1px;
  background-color: #ccc;
}

/* 最後のメニューだけ縦線を消す */
.c-gnav > .menu-item:last-child::after {
  display: none;
}



/* ハンバーガーメニューMENUタイトルとメニューの両方を非表示 */
.c-widget__title.-spmenu,
.p-spMenu__nav {
	display: none;
}

