/*
Theme Name: Lightning Child Sample
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.3.8
*/
/* 画像を左寄せして回り込みさせる */
.alignleft {
  float: left;
  margin: 0 15px 15px 0; /* 右と下に余白を追加 */
}
/* クリア */
.clear { clear: both; }
.clear hr { display: none; }

a {
	color: #337ab7;
	text-decoration-color: #337ab7 !important;
}
/* マージン */
.mt20 { margin-top:20px; }
.mb20 { margin-bottom:20px; }
.mb30 { margin-bottom:30px; }

/* PC時のみ改行非表示 */
@media screen and (min-width: 680px) {
  .sp { display: none; }
}
/* ヘッダーロゴの最大高さを変更 */
.site-header-logo img {
  max-height: 120px !important; /* 好きな高さに調整 */
  height: auto;
  width: auto;
}
/* 記事ヘッダー余白調整 */
.entry-header { margin-bottom: -10px; }

/* ヘッダー余白削除 */
.site-header-container { padding: 0; }

/* サイドバーの左余白調整 */
.main-section>aside:last-child, .main-section>div:last-child, .sub-section>aside:last-child, .sub-section>div:last-child {
	margin-left:50px;
}
@media (min-width: 992px) {
    .sub-section--col--two {
        max-width: 100%;
        float: right;
		margin-left:-50px;
    }
}
/* サイドバーメニューボタンの余白調整 */
.localNavi>div>ul li a, .localNavi>ul li a, .widget .localNavi>div>ul li a, .widget .localNavi>ul li a, .widget_archive>div>ul li a, .widget_archive>ul li a, .widget_categories>div>ul li a, .widget_categories>ul li a, .widget_link_list>div>ul li a, .widget_link_list>ul li a, .widget_nav_menu>div>ul li a, .widget_nav_menu>ul li a, .widget_pages>div>ul li a, .widget_pages>ul li a, .widget_postlist>div>ul li a, .widget_postlist>ul li a {
    display: block;
    padding-top: 0;
    padding-bottom: 5px;
    padding-left: 0;
    border-bottom: 0 solid var(--vk-color-border-hr);
    text-decoration: none;
}

/* テーブル */
table, th, td { border: 1px solid #393939; }
table th, table td {
  font-size: 14px;
  color: #333;
  line-height: 150%;
  vertical-align: top;
}
table.tab th {
  padding: 10px;
  background-color: #FFFCEA;
}
table.tab td { padding: 10px; }

/* 見出し 黒バック白文字 */
.midashi_black {
  font-size: 35px;
  font-weight: bold;
  color: #FFF;
  background: #000;
  width: 100%;
  padding-left:10px;
}
@media screen and (max-width: 480px) {
  .midashi_black {
    font-size: 25px;
    margin-left:-10px;
  }
}

/* サブタイトル */
.subtitle,
.subtitleB,
.subtitle02,
.subtitle03 {
  font-family: "ヒラギノ角ゴ Pro W3","メイリオ",Meiryo,sans-serif;
  font-weight: bold;
  width: 100%;
  margin-left: -10px;
}
.subtitle {
  font-size: 17px;
  color: #FFF;
  background: #000;
}
.subtitleB {
  font-size: 17px;
  color: #FFF;
  background: #000;
  margin-top: -20px;
}
.subtitle02 {
  font-size: 17px;
  color: #039;
  background: #FFFFA6;
}
.subtitle03 {
  font-size: 16px;
  color: #FFF;
  background: #000;
  width: 90%;
  line-height: 110%;
  padding: 0 10px 15px;
}
.subtitle ul,
.subtitleB ul,
.subtitle02 ul { margin-bottom: 5px; }
.subtitle li,
.subtitleB li,
.subtitle02 li {
  list-style: none;
  padding-top: 3px;
}
.subtitle li:before,
.subtitleB li:before,
.subtitle02 li:before {
  content: '';
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #F00;
  position: relative;
  left: -10px;
  top: -3px;
}

/* ホバー透明 */
a:hover { opacity: 0.5; }
.widget li:hover { opacity: 0.6; }

/* フッター */
.site-footer {
  background: #000;
  border-top: 1px solid #ededed;
  font-size: 12px;
  line-height: 2;
  margin-top: 24px;
  padding: 24px 10px;
}
.site-footer a { color: #FFF; }
.site-footer a:hover { color: #FFF; }

/* 枠線系 */
.frame_line {
  width: 98%;
  border: 1px solid #666;
  padding: 10px;
  margin-bottom:10px;
  border-radius: 8px;
}
.frame_line03 {
  border: 1px solid #666;
  padding: 10px;
  margin-bottom:10px;
}
.frame_line02 {
  border: 1px solid #fff;
  padding: 10px;
  margin-bottom:10px;
}

/* 画像の影を消す */
.entry-content img,
.widget img,
img.wp-post-image { box-shadow: none; border-radius: 0; }

/* コンテンツ幅調整 */
@media screen and (min-width: 960px) {
  .main-section { width: 75%; }
  .side-widget { margin-right:-40px; }
}
@media screen and (max-width: 960px) {
  .main-section { width: 100%; }
  .side-widget { float: none; }
}

/* 縦中央 */
.vertical_middle { vertical-align: middle; }
/* ヘッダーロゴをナビゲーションメニューの上に配置 */
@media (min-width: 992px) {
    .site-header--layout--nav-float .site-header-container {
		display: block;
        flex-direction: row;
    }
}
/* ヘッダーナビゲーションメニューを中央揃えに */
@media (min-width: 992px) {
    .global-nav--layout--float-right .global-nav-list {
        margin: auto;
    }
}
/* ヘッダーナビゲーションメニューの背景*/
@media screen and (min-width: 945px) {
    .global-nav {
		background: -webkit-linear-gradient(#CCCCCC, #E8E8E8);
        box-shadow: rgba(0, 0, 0, 0.8) 0px 1px 2px;
        border-radius: 0.25rem;
        clear: both;
        width: 98.5%;
        display: inline-block !important;
        text-align: center;
	}
	.global-nav-list>li .global-nav-name {
		font-size: 19px;
	}
	.device-pc .global-nav-list>li>a {
		padding: 14px 10px;
    }
}
@media screen and (min-width: 945px) {
    .device-pc .global-nav-list>li>a {
        padding: 10px;
    }
}
/* 画面幅が狭くなってきたら、折り返して下に配置する */
@media screen and (max-width: 1100px) and (min-width: 945px) {
  .global-nav-list {
    display: flex;
    flex-wrap: wrap; /* ← 下に折り返す */
    justify-content: center;
  }
}
/* メインメニュー */
.global-nav {
  margin-top: 20px;
  text-align: center;
}
.global-nav li {
  margin-top: 10px;
  font-size: 1.313rem;
  line-height: 1.7;
}
.global-nav li a {
  text-decoration: none;
	color:#007992;
  font-weight: bold;
  padding: 0 8px;
  text-transform: uppercase;
  white-space: nowrap;
}
.global-nav li a:hover {
  color: #000;
  background: #e3e3e3;
  border-radius: 4px;
}

/* ドロップダウン */
.global-nav li ul li a {
  background: #000;
  color: #fff;
  font-weight: bold;
  display: block;
  font-size: 15px;
  line-height: 2.1;
  padding: 8px 10px;
  width: 200px;
}
.global-nav li ul li a:hover {
  background: #e3e3e3;
  color: #000;
}
.site-footer-copyright p {
	color: #FFF;
}
.site-footer-copyright p:nth-child(2) {
    display: none;
}
/* サイドバーの上の余白 */
@media (min-width: 992px) {
    .sub-section--col--two {
        margin-top: 20px;
    }
}
