/*
Theme Name: Tateyama Field Museum
Description: Twenty Sixteen Child Theme
Template: twentysixteen
*/

/*----------------------------------------
 * homehome
 * -------------------------------------*/
/*
.page-id-15059 #page{
	background-image:none;
}
.page-id-15059 #site-header-menu{
	border-top:solid 1px #ccc!important;
	border-bottom:solid 1px #ccc!important;	
}
*/
/*----------------------------------------
 * 全体
 * -------------------------------------*/
/* 左サイドの茶色バーの上下21pxの空きを消す */
@media screen and (min-width: 44.375em){
	body:not(.custom-background-image):before, body:not(.custom-background-image):after {
		height:0;		
	}
}


body, button, input, select, textarea  {
	font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
	background-image:url(https://tateyama-field-museum.jp/wp-content/uploads/2020/02/bg_light.jpg);
	
}
body:not(.custom-background-image).admin-bar:before{
	top:0;
}
figcaption{
	font-style:normal!important;
	font-size:1em!important;
}
#page{
	background-image:url(https://tateyama-field-museum.jp/wp-content/uploads/2020/02/bg_left.png),url(https://tateyama-field-museum.jp/wp-content/uploads/2020/02/bg_light.jpg);
	background-repeat:repeat-y,repeat;
	margin-top:0;
	margin-left:0;
	margin-right:0;
}


@media screen and (max-width: 1340px){
#page{
	background-image:url(https://tateyama-field-museum.jp/wp-content/uploads/2020/02/bg_light.jpg);
	background-repeat:repeat;
}
}
ul{
	list-style-type:none;
}
.site-inner{
	max-width:1240px;
}

@media screen and (min-width: 44.375em){
.entry-content{
	margin-right:0!important;
}
}
@media screen and (min-width: 56.875em){
.no-sidebar .entry-header, .no-sidebar .entry-content, .no-sidebar .entry-summary, .no-sidebar .entry-footer, .no-sidebar .comments-area, .no-sidebar .image-navigation, .no-sidebar .post-navigation, .no-sidebar .pagination, .no-sidebar .page-header, .no-sidebar .page-content, .no-sidebar .content-bottom-widgets {
	margin-left:0;
	margin-right:0;
	}
}

/* フロート解除 */
.float_clear{
	clear:both;
	height:1em;
}

/* Twenty Sixteenで横長画像が左にズレるバグ回避 */
@media screen and (min-width: 61.5625em) {
  body:not(.search-results) article:not(.type-page) img.below-entry-meta {
    margin-left: 0;
    max-width: 100%;
  }
}


/*-------------------------------------------
 * a
 * ---------------------------------------*/
a.no-color-change {
  color: black;
}
.lcp_post  a, a:hover, #secondary a, a:hover{
	color:#776b4a!important;
	font-weight:bold;
}
a.wp-block-button__link{
	background: #776b4a!important;
	color:#fff!important;	
	box-sizing:border-box;		
	transition:0.5s;
   border: solid 3px #8f7b54;	
}
.nav-next a,.nav-previous a{
	color:#776b4a!important;	

}

a:hover.wp-block-button__link{
	background: transparent;
    background: transparent !important;
    color: #8f7b54 !important;
    border: solid 3px #8f7b54;
}

/* 2024/11 修正 */
.entry-content figure a{
	box-shadow:none;
}
/*-----------------------------------------
 * コンテンツの右にサイドバーを表示
 * --------------------------------------*/

@media screen and (min-width: 56.875em){
	.no-sidebar .content-area{
		float:left;
		width:70%;
	}
	.sidebar{
		margin-left:0;
	}
}
@media screen and (min-width: 61.5625em){
	body.no-sidebar:not(.search-results) article:not(.type-page) .entry-content{
		margin-left:0;
		width:100%;
	}
}
@media screen and (min-width: 56.875em){
	.sidebar{
		float:right;
}
}

/* ホームはサイドバー無し */
.home #primary{
		float:none!important;
		width:100%!important;
}
/* サイドバー無し（ごあいさつ、このサイトについて、仮ホーム、新着アーカイブ） */
.page-id-3719 #primary,.page-id-3729 #primary, .page-id-15059 #primary, .page-id-15078 #primary{
		float:none!important;
		width:100%!important;
}
/*-----------------------------------------
 * ヘッダ
 * --------------------------------------*/
.site-header{
	padding-bottom:2%;
}
#site-header-menu{
	width:100%;
}
#site-navigation{
	background-color:#fff;
	border-radius:5px;
}
.site-title{
	float:left;
}
.site-title a{
	text-indent:-9999px;
	background-image:url(https://tateyama-field-museum.jp/wp-content/uploads/2020/02/logo2020.png);
	width:260px;
	height:134px;
	display:block;
}
.header_title{
	float:right;
	width:600px;
font-family: 'Kosugi Maru', sans-serif;
	color:#776b4a;
	color:#333;
	font-size:2.5em;
	font-weight:900;
	max-width:420px;
	margin-top:55px;
	text-shadow:0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff;
}
@media screen and (max-width: 920px){
.header_title{
	margin-top:0px;
	}
}
@media screen and (max-width: 840px){
.header_title{
	font-size:1.7em;
	}
	.site-branding{
		margin-bottom:0;
	}
}
.site-header{
	padding-top:0;
}
@media screen and (min-width: 61.5625em){
	.site-header-menu {
		margin-top:1em;
}
}
/*-----------------------------------------
 * 投稿
 * --------------------------------------*/
/* アイキャッチ非表示 */
.post-thumbnail{
	display:none;
}
.nav-next{
	text-align:right;
	border-top:solid 1px #aaa;
	padding-top:10px;
}
/* カテゴリーnew_infoのみ日付を表示 */
.category-new_info .posted-on{
	display:block;
	text-align:right;
	pointer-events:none;
}
.category-new_info .posted-on a{
	color:#000;
}
.category-new_info .entry-title{
	margin-bottom:0;
}
/*　サイドバー見出しｈ２ */
#secondary h2{
	text-align:center;
	font-size:1.2em;
}
/*-----------------------------------------
 * フッタ
 * --------------------------------------*/
/* 左サイドの投稿日や投稿者を非表示 */
.entry-footer{
	display:none;
}
.widget{
	border-top:none;
}
/*-----------------------------------------
 * 見出し
 * --------------------------------------*/
h1.entry-title{
	color:#68a83b;
}
h1.entry-title:before{
  content: "\f66f  ";
 font-family: "Font Awesome 5 Free";
	font-weight: 900; 
	font-size:1.3em;
}
h2{
	color: #68a83b;
}
.home h3:before, .page-id-15059 h3:before{
  content: "\f3c5";
 font-family: "Font Awesome 5 Free";
	font-weight: 900; 
	font-size:1.3em;
}
.home h3:first-letter, .page-id-15059 h3:first-letter{
	color:#d43d30;
	padding-right:0.3em;
}
h4{
	letter-spacing:0!important;
}
/*-----------------------------------------
 * リストカテゴリポスト
 * --------------------------------------*/
/* 新着情報 */
.lcp_new{
	margin-left:0;
}
.lcp_new li{
	border-bottom:none!important;
}
.lcp_new .new_label{
	background:#68a83b;
	color:#fff;
	padding:2px 0;
	margin-left:1em;
	margin-right:1em;
	display:inline-block;
	width:110px;
	text-align:center;
	font-size:0.8em;
}
.lcp_new h4{
	display:inline-block;
	margin:0;
	font-size:1em;
}




.lcp_maplist li{
	float:left;
	margin-right:1em;
	border-bottom:none!important;
}
.lcp_catlist li{
	border-bottom:dashed 1px #aaa;
	padding:5px 0;
}
.lcp_coverpage li{
	border:none;
}
/* 表紙 */
.lcp_coverpage {
	float:left;
	width:23%;
	margin-left:2%!important;
}

@media screen and (max-width:1000px){
.lcp_coverpage {
		width:23%;
	}	
}
@media screen and (max-width:720px){
.lcp_coverpage {
		width:48%;
	}
}

.coverpage{
	margin-bottom:2em;
}

#secondary .lcp_coverpage{
	float:none;
	width:100%;
}
/*-----------------------------------------
 * 企画展特別展図録
 * --------------------------------------*/
.page-id-8 #primary{
	float:none;
	width:100%;
}
/*-----------------------------------------
 * 安房の人物シリーズ
 * --------------------------------------*/
.page-id-2647 #primary{
	float:none;
	width:100%;
}
/*-----------------------------------------
 * 地区展図録
 * --------------------------------------*/
.page-id-2651 #primary{
	float:none;
	width:100%;
}
/*-----------------------------------------
 * 歴史散策マップ（page-id-2653）
 * エリア別散策（.page-id-3499）
 * 館山の寺社と名所（.page-id-3502）
 * テーマ別探訪（.page-id-3505）
 * 安房国札観音（.page-id-3507）
 * 安房の見所寺社（.page-id-3510）
 * --------------------------------------*/
.page-id-2653 #primary, .page-id-3499 #primary, .page-id-3502 #primary, .page-id-3505 #primary, .page-id-3507 #primary, .page-id-3510 #primary{
	float:none;
	width:100%;
}
.page-id-2653 #primary ul.lcp_coverpage, .page-id-3499  #primary ul.lcp_coverpage, .page-id-3502  #primary ul.lcp_coverpage, .page-id-3505  #primary ul.lcp_coverpage, .page-id-3507  #primary ul.lcp_coverpage, .page-id-3510  #primary ul.lcp_coverpage{
	width:100%;
	margin-left: 0%!important;
}
.page-id-2653 #primary ul.lcp_coverpage li, .page-id-3499 #primary ul.lcp_coverpage li, .page-id-3502 #primary ul.lcp_coverpage li, .page-id-3505 #primary ul.lcp_coverpage li, .page-id-3507 #primary ul.lcp_coverpage li, .page-id-3510 #primary ul.lcp_coverpage li{
	width:23%;
	float:left;
	margin-left:2%!important;
}
@media screen and (max-width:720px){
.page-id-2653 #primary ul.lcp_coverpage li, .page-id-3499 #primary ul.lcp_coverpage li , .page-id-3502 #primary ul.lcp_coverpage li, .page-id-3505 #primary ul.lcp_coverpage li, .page-id-3507 #primary ul.lcp_coverpage li, .page-id-3510 #primary ul.lcp_coverpage li{
	width:48%;
	}
}
/*-----------------------------------------------
 * 歴史散策マップの各カテゴリーごとのページ内設定
 * ----------------------------------------------*/
.category-area .wp-block-image.is-resized, .category-theme .wp-block-image.is-resized, .category-tateyamajisha .wp-block-image.is-resized, .category-kunifuda .wp-block-image.is-resized, .category-awajisha .wp-block-image.is-resized{
	display:block;
}
/* 2024/11 修正（停止）*/
/*
.category-area img, .category-theme img, .category-tateyamajisha img, .category-kunifuda img, .category-awajisha img{
	float:left;
	width:30%;
	margin-right:1em;
}
*/
/* 2024/11 修正（加筆） */
.category-area figure:not(.cover_map), .category-theme figure:not(.cover_map), .category-tateyamajisha figure:not(.cover_map), .category-kunifuda figure:not(.cover_map), .category-awajisha figure:not(.cover_map){
	float:left;
	width:30%;
	margin-right:1em;
}
/* 2024/11/19 修正（加筆） カラムブロック内の画像には上記設定を停止 */
.category-area .wp-block-columns figure:not(.cover_map), .category-theme .wp-block-columns figure:not(.cover_map), .category-tateyamajisha .wp-block-columns figure:not(.cover_map), .category-kunifuda .wp-block-columns figure:not(.cover_map), .category-awajisha .wp-block-columns figure:not(.cover_map){
	float:none;
	width:100%;
	margin-right:0;
}
/* 2024/11/19 修正（加筆） */
@media screen and (max-width:720px){
.category-area figure:not(.cover_map), .category-theme figure:not(.cover_map), .category-tateyamajisha figure:not(.cover_map), .category-kunifuda figure:not(.cover_map), .category-awajisha figure:not(.cover_map){
	width:100%;
}
}


/* カラム構成のときは上記を働かせない */
.category-area .wp-block-column img, .category-theme .wp-block-column img, .category-tateyamajisha  .wp-block-column img, .category-kunifuda img, .category-awajisha  .wp-block-column img{
	float:none;
	width:100%;
	margin-right:1em;
}

.category-area h2:before, .category-theme h2:before, .category-tateyamajisha h2:before, .category-kunifuda h2:before, .category-awajisha h2:before{
	content: ' ';
    clear: both;
    display: block;
	margin-bottom:3em;
}

.category-area h3, .category-theme h3, .category-tateyamajisha h3, .category-kunifuda h3, .category-awajisha h3{
	display:inline
}

/*　21/05/31 h4の文字間スペースが空きすぎていたのを修正　*/
.category-area h4, .category-theme h4, .category-tateyamajisha h4, .category-kunifuda h4, .category-awajisha h4{
	display:inline;
	letter-spacing:normal;
}

/*　21/05/31 段落間スペースが空きすぎていたのを修正　*/
.category-area p, .category-theme p, .category-tateyamajisha p, .category-kunifuda p, .category-awajisha p {
	margin-bottom: 1.2em;
}

.category-area p:after,.category-theme p:after, .category-tateyamajisha p:after, .category-kunifuda p:after, .category-awajisha p:after{
	clear:both;
}

.category-area .wp-block-button,.category-theme .wp-block-button, .category-tateyamajisha .wp-block-button, .category-kunifuda .wp-block-button, .category-awajisha .wp-block-button{
	width:160px;
	float:right;
	margin:0 0 1em 1em;　/* 25.04 スペース追加 */
}

.wp-block-button .wp-block-button__link {
    margin-top: 1.5em;
}

@media screen and (max-width:720px){
.category-area img, .category-theme img, .category-tateyamajisha img, .category-kunifuda img, .category-awajisha img{
	float:none;
	width:100%;	
	margin-right:0;
	}
}
/* 地図ページの先頭に表示されるマップ */
.cover_map{
	display:block!important;
}
.cover_map img{
	width:100%;
	float:none;
	margin-right:0;
	height:auto!important;
}

/*-----------------------------------------
 * お問い合わせ入力フォーム
 * --------------------------------------*/
span.hissu {
	color: #b32935;
    padding: 0 5px;
    font-size: 0.9em;
    margin-right: 0.3em;
}
/*-----------------------------------------
 * 解説印刷用
 * --------------------------------------*/
.category-kaisetsu_print p.right{
	text-align:right;
}
.category-kaisetsu_print h2{
	color:#000000;
}
.category-kaisetsu_print h1.entry-title{
	color:#000000;
}