/*---------------------------------------------------------
サイト全体に関わる定義を設定
---------------------------------------------------------*/

html {
	font-size: 12pt;
	scroll-behavior: smooth;
}

body {
/*フォントの指定*/
	/*font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;*/
	font-family: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'Noto Sans Japanese', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif !important;
/*フォントサイズ*/
	font-size: 12pt;
/*フォントのスムージング*/
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
/*行間の指定*/
	line-height: 1.75rem;
	margin: 0;
	padding: 0;
/*サイトのデフォルトとなる文字の色を指定*/
	color: #333;
}

/*HTML5*/
article, aside, details, figcaption, figure,
footer, header, menu, nav, section {
    display: block;
	max-width: 100%;
}

/*罫線の設定*/
hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #ccc;
}
@media screen and (max-width: 767px){
    hr {
        margin-top: 5px;
        margin-bottom: 5px;
        border: 0;
        border-top: 1px solid #ccc;
    }
}

/*リンクテキストの装飾*/
a {
    color: inherit;
    text-decoration: none;
}
a:link, a:visited, a:active {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: #707070;
}

/*改行を適正化*/
div {
	word-break: break-all;
}

/*配置*/
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-right: auto;
	margin-left: auto;
}

/*画像表示の設定*/
img {
	display: inline-block;
    max-width: 100%;
    height: auto;
}

/*テーブルの設定*/
table {
    line-height: 1.7;
    border-collapse: collapse;
   }
table td {
	display: table-cell;
    padding: .6rem;
    vertical-align: middle;
    border: 1px solid #ddd;
	}

/*blockquoteの設定*/
blockquote{margin:0px 0px 20px;padding:10px 20px 10px 20px;background-color:#f4f4f4;border:1px solid #ddd;border-radius:5px;-moz-border-radius:5px;}
blockquote blockquote{margin:20px 0;background-color:#fff;}
blockquote blockquote blockquote{margin:20px 0;background-color:#f4f4f4;}
blockquote p{padding:0px;margin:0px 0px 0px 0px}

/*投稿一覧のページネーションを装飾*/
.pagination {
    display: block;
	padding-left: 0;
    margin: 20px 0;
    border-radius: 0;
}
span.page-numbers.current {
    border: 1px solid #6c6c6c;
    padding: 0.5rem;
    background: #eaeaea;
}
a.page-numbers {
    border: 1px solid #6c6c6c;
    padding: 0.5rem;
    background: #fff;
}
a.prev.page-numbers, 
a.next.page-numbers {
    border: none;
}

/*-記事内ページャーを装飾*/
nav {
    display: block;
    text-align: center;
    margin: 20px 0;
    border-radius: 0;
}
span.post-page-numbers.current {
    border: 1px solid #6c6c6c;
    padding: 0.5rem;
    background: #eaeaea;
}
a.post-page-numbers {
    border: 1px solid #6c6c6c;
    padding: 0.5rem;
    background: #fff;
}

/*---------------------------------------------------------
ロゴとナビゲーションの親コンテナ設定
---------------------------------------------------------*/
.header-container {
    display: flex; /* 横並びにする */
    align-items: center; /* 上下中央に揃える */
    justify-content: space-between; /* 左右にスペースを配置 */
}

/*---------------------------------------------------------
ロゴの表示設定
---------------------------------------------------------*/
.header-logo {
	display: inline-block;
	margin-right: auto;
}
/* ロゴは画面の横幅に対して30%の大きさで表示 */
.header-logo img {
    max-width: 380px;
    height: auto;
	margin: 1rem 0;
}
/* スマートフォンの時、ロゴは画面の横幅に対して70%の大きさで表示 */
@media (max-width: 767px) {
	.header-logo img {
    	max-width: 70vw;
	}
}

/*---------------------------------------------------------
ヘッダーナビの設定
---------------------------------------------------------*/
.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;
}

/*---------------------------------------------------------
グローバルメニューの設定
---------------------------------------------------------*/
#gnav {
    background-color: black;	/* gnavの背景色は黒にします */
    position: relative;			/* 親要素の相対位置を指定します */
	z-index: 9999;				/* 表示位置を最前面に設定します */
	margin: 0;					/* gnavの余白を0にします */
}
/* メニュー項目は横並びにします */
.gnav-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
/* メニューに表示される項目の数に応じて、均等に割り振りをします */
.gnav-container li {
    flex: 1;
    text-align: center;
    position: relative; 
}
/* メニューの文字は白で表示します */
.gnav-container a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
}
/* メニューにオンマウスした時、背景色を赤に切り替えます */
.gnav-container a:hover {
    background-color: red;
    transition: background-color 0.3s ease;
}

/* メニューに表示される文字は、均等に割り付けられた範囲の上下中央に配置します */
.gnav-container a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* 追加 */
}
/* 子要素がある場合は、親項目の下部に表示させます */
.gnav-container ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background-color: aqua; /* 水色 */
}
/* 子要素がある場合は、親項目の幅と一致させます */
.gnav-container li:hover > ul {
    display: block;
    width: 100%;
}
/* 孫要素がある場合は、子要素の右側に表示させます */
.gnav-container ul ul ul {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
    background-color: lime; /* 緑色 */
}
/* 孫要素が複数ある場合には、一つ目の孫要素の下に表示させます */
.gnav-container ul ul li:hover > ul {
    display: block;
    top: 0;
    left: 100%;
}

/*---------------------------------------------------------
スマートフォンメニューの設定
---------------------------------------------------------*/
.menu-btn {
    background-color: #64a6bd;    /* ハンバーガーメニューの背景色は黒にします */
    position: fixed;
    top: 18px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 60px;
    z-index: 90;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #fff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}
#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}
#menu-btn-check {
    display: none;
}
.sp-menu-content {
    background-color: #64a6bd;    /* スマートフォンメニューを開いた時の背景色は黒にします */
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    transition: all 0.5s;
}
.sp-menu-content ul {
    padding: 70px 10px 0;
}
.sp-menu-content ul li {
    border-bottom: solid 1px #fff;
    list-style: none;
}
.sp-menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#fff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.sp-menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}
#menu-btn-check:checked ~ .sp-menu-content {
    left: 0;
}
.sub-menu {
    padding: 0 !important; /* 余白を除去 */
    margin: 0 !important; /* 余白を除去 */
}
/* 子メニューの下線が太く見えないように調整 */
.sp-menu-content ul li ul {
    border: none; /* 子メニュー全体に対する下線をなくす */
}
/* 子メニューに点線の下線を追加 */
.sp-menu-content ul li ul li {
    border-bottom: dotted 1px #fff; /* 子メニュー項目の下線を点線に */
}
/* 子メニューのリンクに対する追加スタイル */
.sp-menu-content ul li ul li a {
    padding-left: 30px; /* 子メニューのインデントを追加して親メニューと区別 */
}
/* 子メニューの最後の行には下線を表示しない */
.sp-menu-content ul li ul li:last-child {
    border-bottom: none; /* 最後の子メニュー項目の下線を非表示 */
}
/* 子メニューを持つ親メニューの最後の行に白いソリッドの罫線を追加 */
.sp-menu-content ul li.menu-item-has-children {
    border-bottom: solid 1px #fff; /* 子メニューを持つ親メニューの下線をソリッドに */
}
/* より具体的なセレクタで優先順位を高める */
.sp-menu-content ul li.menu-item-has-children > a {
    border-bottom: solid 1px #fff; /* 子メニューを持つ親メニューのリンクの下線をソリッドに */
}

/*---------------------------------------------------------
フッターメニューの設定
---------------------------------------------------------*/
 /*フッターエリア全体の設定*/
.footer-area {
background-color: #333;
}
 /*フッターエリアのコンテンツ表示部分の設定*/
.footer-inner {
	color: #fff;
	font-size: 1rem;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
 /*フッターメニューの設定*/
.footer-inner a {
	color: #fff;
}
.footer-menu li {
    font-size: 1rem;
    display: inline-block;
   	margin-top: 0.5rem;
	margin-right: 1rem;
    margin-bottom: 0.5rem;
	margin-left: 1rem;
}
.footer-menu ul {
	list-style: none;
}
.footer-nav-wrap ol,
.footer-nav-wrap ul {
    margin-left: 0;
}
 /*著作権表示の設定*/
.copyright {
 /*独自の定義を設定する場合は、ここに定義を追記してください。*/
}