/**
Theme Name: astra-child
Author: Digimore
Author URI: http://digimore.jp/
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: astra
*/

/* 汎用の非表示 */
._hide {display:none !important;}

/* 投稿ページのメタ情報を非表示（240520追記／このサイトはもともと投稿の使用を想定していない） */
.entry-meta {display:none;}

/* ボタンブロックにホバー効果を追加 */
.wp-block-button__link{
	transition:0.3s;
}
.wp-block-button__link:hover{
	background:#800 !important;
}

/* PDFへのリンクにアイコンをつける */
a[href $='.pdf']    {
	background:url(https://lpc.or.jp/common/PDF_24.png) no-repeat center right;
	margin:0;
	padding:2px 32px 2px 0;
	text-decoration:underline;
}
._no-icon a {						/* リンクにアイコンを表示しない */
	background-image: none !important;
	padding: 0;
}

/* reCAPTCHAバッジの表示位置を少し上に移動（トップへ戻るボタンと被らないように） */
.grecaptcha-badge {
	bottom:100px !important;
}

/* ＝＝＝＝＝ 「カラム」ブロックに初期設定されているパディングを削除 ＝＝＝＝＝ */
.entry-content > .wp-block-group, .entry-content > .wp-block-cover, .entry-content > .wp-block-columns {padding:0;}

/* ＝＝＝＝＝ 見出し ＝＝＝＝＝ */
header.entry-header h1.entry-title {
  padding: 0.5em;
  text-align: center;
  color: white;
  /*border-top: 4px solid #0046FF;*/
  /*background: linear-gradient(transparent 80%, #60A0FF 100%);*/
  background: #0000cd;
}

.entry-content h2{
  margin-top: 1.5em;
  padding: .5em;
  /*background: #e8FFF8;*/
  border-top: 2px solid #0046FF;
  border-bottom: 1px solid #60A0FF;
}
.entry-content h3{
  margin-top: 1.5em;
  padding: 0.3em 0.5em;
  border-top: 1px solid #0046FF;
  border-bottom: 1px dashed #60A0FF;
}
.entry-content h4{
  margin-top: 1.0em;
  padding: .2em 0.5em;
}

/* ＝＝＝＝＝ サードバーのメニュー ＝＝＝＝＝ */
#secondary li{
  margin-bottom: 0;		/* デフォルトの下マージンを削除 */
  /*border-bottom: 1px solid #0000cd;*/
  border-bottom: 1px solid #3333ff;
}
#secondary li:first-child{
  /*border-top: 2px solid #0000cd;*/
  border-top: 2px solid #3333ff;
}
#secondary li.bb_wide{
  /*border-bottom: 2px solid #0000cd;*/
  border-bottom: 2px solid #3333ff;
}
#secondary ul.menu li a{
  position: relative;
  display: block;
  /*background: #e0e0ff;*/
  font-family: 'Noto Serif JP', sans-serif;
  color: #003;
  padding: 5px 5px 5px 30px;
  /*border-radius: 15px;*/
  transition: 0.3s
}
#secondary ul.menu li a::before{
  /*font-family: "Font Awesome 6 Free";*/
  font-weight: 900;
  /*content: '\f144';*/
  content: '●';
  position: absolute;
  top: 5px;
  left: 0;
}
#secondary ul.menu li a:hover{
  color: #DF0068;		/* テーマカスタマイズのリンクと同じ色（定数がありそうだが見つからず） */
}

/* ＝＝＝＝＝ サードバーの「リンパ浮腫診療病院等診療施設情報検索」ボタン ＝＝＝＝＝ */
a.btn_lymph-form {
	display: block;
	margin: 10px 5px;
	padding: 10px 0;
	background: #e0e0ff;
	line-height: 1.2em;
	/*color: white;*/
	text-align: center;
	/*border: 2px solid crimson;		/* #dc143c */
	/*border-radius: 1em;*/
	/*text-decoration: none !important;*/
	/*transition: 0.3s;*/
}

a.btn_lymph-form:hover {
	/*color: white;*/
	/*background-color: crimson;		/* #dc143c */
}

/* ＝＝＝＝＝ サードバーの旧サイト紹介ブロック ＝＝＝＝＝ */
.side_old{
  padding: 5px;
  background: white;
  border: 1px solid #888;
  text-align: center;
}
.side_old a{
  display: block;
  margin: 10px 5px;
  padding: 10px 0;
  background: #e0e0ff;
  line-height: 1.2em;
}

/* ＝＝＝＝＝ フッターのメニュー部分 ＝＝＝＝＝ */
.footer-nav-wrap .astra-footer-horizontal-menu li{
  margin:0.3em 0 0.3em -1px;		/* 隣のボーダーと重ねる */
  padding:0.2em 1.0em;				/* 見た目上の位置調整 */
  border-left:1px solid #88c;
  border-right:1px solid #88c;
}
.footer-nav-wrap .astra-footer-horizontal-menu a{
  position: relative;
  /*padding:0 0 0 1.2em !important;			/* テーマ側でfirst-childやlast-childで変化しているのでゼロ統一（左だけアイコン分を確保・!impottantがないとfirst-childに負ける模様） */
  padding:0 !important;			/* テーマ側でfirst-childやlast-childで変化しているのでゼロ統一（!impottantがないとfirst-childに負ける模様）*/
}
/*.footer-nav-wrap .astra-footer-horizontal-menu a::before{
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: '\f144';
  position: absolute;
  top: 0.05em;
  left: 0;
}*/

/* ＝＝＝＝＝ フッターのバナー部分 ＝＝＝＝＝ */
.fx_box {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin:30px 0;
}
.fx_item {
  padding: 10px;
  width: 200px;
}
.fx_item img{
  width: 200px;
}

