/*---------------------------------------------------------
サイト固有の定義を設定する場合は、このファイルに追記してください。
---------------------------------------------------------*/

/*---------------------------------------------------------
グローバルメニューの設定のカスタマイズ（上書き用）
---------------------------------------------------------*/
.global-menu {
	border-top: 1px solid #b7b7b7;
	border-bottom: 1px solid #b7b7b7;
}

#gnav {
    background-color: white;	/* gnavの背景色を白に変更 */
}

/* メニューにオンマウスした時、背景色を変更 */
.gnav-container a:hover {
    background-color: #64a6bd;
    color: #fff;
    font-weight: bold;
}

.gnav-container ul {
    border-left: 1px solid #b7b7b7; /* ul全体の左側に罫線を追加 */
    border-right: 1px solid #b7b7b7; /* ul全体の右側に罫線を追加 */
}

.gnav-container li {
    border-left: 1px solid #b7b7b7; /* 各項目の左側に罫線を追加 */
    border-right: none;           /* 右側の罫線を削除 */
    border-top: none;             /* 上側の罫線を削除 */
    border-bottom: none;          /* 下側の罫線を削除 */
}

.gnav-container li:first-child {
    border-left: none; /* 最初の項目の左側の罫線を削除 */
}

.gnav-container li:last-child {
    border-right: none; /* 最後の項目の右側の罫線を削除 */
}

.gnav-container a {
    color: black;               /* 文字色を黒に変更 */
    background-color: white;    /* 背景色を白に設定 */
}

.gnav-container ul ul {
    background-color: white;    /* 子要素の背景色を白に変更 */
    border: 1px solid black;    /* 子要素にも黒の罫線を追加 */
}

.gnav-container ul ul ul {
    background-color: white;    /* 孫要素の背景色を白に変更 */
    border: 1px solid black;    /* 孫要素にも黒の罫線を追加 */
}

/*---------------------------------------------------------
ヘッダーナビの設定（上書き用）
---------------------------------------------------------*/
.header-nav {
	display: inline-block;
	margin-left: auto;
}
/* タブレットとスマートフォンの画面サイズで、ヘッダーメニューを非表示にする */
@media (max-width: 991px) {
  .header-nav {
    display: none !important;
  }
}
.header-nav ul {
	margin-bottom: 0;
	list-style: none;
	display: flex; /* 横並びにする */
	align-items: center; /* リストアイテムを上下中央に揃える */
}
.header-nav li {
	display: inline;
	padding: 6px 20px;
	background-color: black;
	color: #fff;
	transition: background .3s ease-in-out;
}
.header-nav li:hover {
	background-color: #64a6bd;
}
.header-nav li a {
	color: #fff;
	text-decoration: none;
}

/*---------------------------------------------------------
そのほかの設定
---------------------------------------------------------*/

h1 {
    font-size: 17pt !important;
    font-weight: bold;
    border-left: solid 5px #202020;
    line-height: 1;
    background-color: #f6f6f6;
    padding: 16px 0 16px 18px !important;
    margin: 36px 0;
}

h2 {
    font-size: 17pt !important;
    font-weight: bold;
    text-align: center;
    border-top: 1px solid #b7b7b7;
    border-bottom: 1px solid #b7b7b7;
    padding: 1rem 0;
    margin: 2.5rem 0 1rem 0;
}

h3 {
    font-size: 15pt !important;
    font-weight: bold;
    text-align: center;
    border-top: 2px solid #b7b7b7;
    border-bottom: 2px solid #b7b7b7;
    padding: 1rem 0;
    margin: 0.75rem 0 0;
    background: #d9d9d9;
}

ol, ul {
    margin-top: 0;
    margin-bottom: 10px;
    margin-left: 2rem;
}

.single_h1 h1 {
    margin: 36px 0 4px 0 !important; /* .single_h1内のh1に特定のマージンを適用 */
}

.single_h1 p {
    margin: 0 0 36px !important; /* .single_h1内のpに特定のマージンを適用 */
    font-weight: bold;
    font-size: small;
}

.single-article {
    min-height: 48.7vh;
}

.footer-area {
    margin-top: 5.8rem;
}

.widget {
    margin-top: 2rem;
}