/*
Theme Name: Kokuta Keiji
Author: Kikanshi com
*/

@import "css/base.css";
@import "css/layout.css";

img{border:none;}
body.diary .content-title,.body.group-blog .content-title{ display:block;height:145px;background:url(/wp-content/themes/kokuta-keiji/images/title_Diary.png) ;}
body.tax-parliament-cat .content-title,body.post-type-archive-parliament .content-title,
body.single-parliament .content-title{ display:block;height:145px;background:url(/wp-content/themes/kokuta-keiji/images/title_Parliament.png) ;}
body.page-template-page-parliament-php .content-title{ display:block;height:145px;background:url(/wp-content/themes/kokuta-keiji/images/title_Parliament.png) ;}
body.post-type-archive-season .content-title, body.post-type-archive-fromkyoto .content-title,body.page-template-page-fromkyoto-php .content-title,body.post-type-archive-artisan .content-title,
body.single-artisan .content-title, body.single-season .content-title{ display:block;height:145px;background:url(/wp-content/themes/kokuta-keiji/images/PCfromKyoto-tit.png) ;}
body.page-template-page-profile-php .content-title{ display:block;height:145px;background:url(/wp-content/themes/kokuta-keiji/images/title_Profile.png) ;}
body.page-template-page-sitepolicy-php .content-title{ display:block;height:145px;background:url(/wp-content/themes/kokuta-keiji/images/title_Sitepolicy.png) ;}
body.page-template-page-privacypolicy-php .content-title{ display:block;height:145px;background:url(/wp-content/themes/kokuta-keiji/images/title_Privacypolicy.png) ;}
body.page-template-page-link-php .content-title{ display:block;height:145px;background:url(/wp-content/themes/kokuta-keiji/images/title_Link.png) ;}
body.page-template-page-confirm-php .content-title{ display:block;height:145px;background:url(/wp-content/themes/kokuta-keiji/images/title_Confirm.png) ;}
body.page-template-page-error-php .content-title{ display:block;height:145px;background:url(/wp-content/themes/kokuta-keiji/images/title_Confirm.png) ;}
body.post-type-archive-downloads .content-title,body.single-downloads .content-title{ display:block;height:145px;background:url(/wp-content/themes/kokuta-keiji/images/title_Download.png) ;}
body.error404 .content-title{ display:block;height:145px;background:url(/wp-content/themes/kokuta-keiji/images/title_none.png) ;}
#gloval-nav li {padding: 0 44px;}
.entry-header h1{display:none;}
.content-title {clear:both;}
.ba-jcp{margin:10px 20px 0 0;}
.ba-hata{margin:10px 0 0 0;}
/* パンくずリスト */
.bread_crumb {margin-left: 1rem;margin-bottom:  1rem;overflow: auto;_zoom: 1; }
.bread_crumb li {font-size: 12px;float: left;list-style: none; }
.bread_crumb li + li:before {margin: 0 8px; content: ">"; }

/* 活動日誌 */
body.blog #primary,body.archive #primary{width: 707px;margin:32px 0 32px 0; !important;}
body.archive h2{margin-left:30px;}
.diary_post{float:left;position:relative;width:320px;height:320px;overflow:hidden;margin:0 0 32px 31px;padding:0;border:1px solid #555;}
.diary_post a {text-decoration:none;color:#fff;}
.diary_post a:hover {color:#ff0000;}
.diary_meta{position:absolute;left:0px;top:180px;height:30px;width:280px;}
.diary_meta span a{background-color:#8f0000;padding:5px 8px;margin-left:20px;font-size:13px;line-height:120%;}
.diary_meta span a:hover {background-color:#ccc;color:#000}
.diary_title{position:absolute;left:0px;bottom:0;width:280px;height:80px;margin:0;padding:15px 20px 5px 20px;font-size:16px;
    background-color:#000;
    filter:alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
}
.diary_title p{font-size:12px;line-height:120%;}
.diary_title a:hover{filter:alpha(opacity=90);-moz-opacity: 0.9;opacity: 0.9;}
.gotoPast_diary a{
    background: -ms-linear-gradient(top,#5050a0 0%,#66c);
    background: -moz-linear-gradient(top,#5050a0 0%,#66c);
    background: -webkit-gradient(linear, left top, left bottom, from(#5050a0), to(#66c));
    border: 1px solid #ddd;
    color:#FFF;
    width: 100%;
    padding: 10px 0;
    display: block;
    text-align: center;
    text-decoration: none;
}
.gotoPast_diary a:hover {
    text-decoration: underline;
}

/* ダウンロード */
.down_post h2{clear:both;font-size: 2.0rem;margin-bottom:5px;}
.down-thumb{float:left;width:120px;margin:0 0 30px 32px;}
.down-thumb img{border:1px solid #ccc;}
.down-date span{font-size:12px;}
.down-date p{line-height:120%;font-size:14px;margin-bottom:20px}
.down-more {display:block;}
.down-more a{width:100px;padding:2px 8px;text-decoration: none;font-size:12px;color: #fff;background-color: #8f0000;}


/* カテゴリーリスト設定（single・投稿・アーカイブページ  */
.single-date {font-size: 16px;text-align: right;margin-top: 0.5em;}
.single-cat,.period{margin-bottom:20px}
.single-cat span a,.period a{background-color:#8f0000;color:#fff;text-decoration:none;padding:4px 8px;margin:0 10px 0 0;font-size:13px;line-height:120%;}
.single-cat span a:hover,.period a:hover {background-color:#ccc;color:#000}

/*プロフィールページ*/
body.page-template-page-profile-php #content{padding:32px;}
body.page-template-page-profile-php h2 {
    background-color: #fff;
    color: #000;
}
body.page-template-page-profile-php #content .biography {
    clear: both;
    background-color: #000;
    color: #fff;
    margin: 16px 0;
    padding-left: 8px;
}

body.page-template-page-profile-php #content .relevance {
    clear: both;
    border-top: 1px solid #000;
    padding-top: 16px;
    margin-top: 16px;

}
body.page-template-page-profile-php h2 span{
    font-size: 80%;
}
body.page-template-page-profile-php h3{
    clear: both;
}

/*サイトポリシーページ*/
body.page-template-page-sitepolicy-php #content{padding:32px}


/*リンクページ*/
body.page-template-page-link-php #content{padding:32px}
body.page-template-page-link-php h2{clear:both;}
body.page-template-page-link-php h3{margin-bottom:10px}
body.page-template-page-link-php .link-waku0 ul,.link-waku2 ul,.link-waku ul{padding:0 0 10px 10px}
.link-waku2 li{float:left;margin:0 40px 30px 10px;padding:0;}
.link-waku{float:left;width:200px;margin:0;padding:0 0 0 10px;}
.link-waku0{margin:0;padding:0 0 0 10px;}

body.error404 .site-content{padding:32px;}
body.error404 blockquote{margin:40px;font-size:14px;}

/* TOPページ  */
body.page-template-top-php .bread_crumb,body.page-template-top-php .content-title{display:none;}
body.page-template-top-php #main-in{background-color:#dfdfdf !important;}

.gallery-link a{
    display: block;
    margin-top: 16px !important;
    opacity: 1;
    filter: alpha(opacity=100); }
.gallery-link a:hover {
    opacity: 0.8;
    filter: alpha(opacity=80); }

.topdiary_post {
    padding: 0;
    margin: 0 5px 10px 0;
    float: left;
    position: relative;
    width: 496px;
    height: 496px;
    overflow: hidden;
    border: 1px solid #555;
}
.topdiary_post a {
	text-decoration:none;
	color:#fff;
}
.topdiary_post a:hover {
	color:#ff0000;
}

.topdiary_cat{position:absolute;left:0px;top:0px;height:25px;width:496px;margin:0;padding:5px 0;color:#fff;text-align:center;font-size:18px;letter-spacing:2px;
    background-color:#8f0000;
    filter:alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
}
.topdiary_title{position:absolute;left:0px;bottom:0;width:496px;height:80px;margin:0;padding:15px 20px 0 20px;font-size:16px;
    background-color:#000;
    filter:alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
}
.topdiary_title p{font-size:12px;line-height:140%;}
.topdiary_title a:hover{filter:alpha(opacity=90);-moz-opacity: 0.9;opacity: 0.9;}

.top-entry {
	float:right;
	width:496px;
	/*height: 414px;*/
	height:496px;
	margin:0 0 10px 0;
	padding:0;
	background:#fff;
	border:1px solid #555;
}
.top-entry h2{margin:30px 35px 10px 35px;padding:0 0 0 30px;background :#fff url(http://www.kokuta-keiji.jp/wp-content/themes/kokuta-keiji/images/iconNews.png) no-repeat left 5px;
line-height:210%;color:#000;font-size:20px;font-weight:normal;letter-spacing:3px;border-bottom:1px #666 solid;}

.top-entry dl{margin:0 38px;padding:0}
.top-entry dl dt{font-weight:normal;font-size:12px;margin-bottom:10px;}
.top-entry dl dd{margin:0 0 15px 0;padding:0 0 10px 0;font-size:15px;letter-spacing:0;border-bottom:1px #666 dotted;}
.top-entry dl dd a {text-decoration:none;}
.top-entry span a{text-decoration:none;background-color:#8f0000;color:#fff;margin:0 0 0 10px;padding:2px 5px;line-height:100%;font-size:10px;}
.top-entry span a:hover {background-color:#ccc;color:#000;}

#twitter{clear:both;float:left;width:496px;padding:0 0 0 0;margin:0 0 20px 0;height:330px;}
#twitter h2,.google-calendar h2{margin:0;padding:0 16px;font-size:1.8rem}

.google-calendar{float:right;width:496px;height:330px;margin:0 0 20px 0;padding:0;background:#fff;}

.mw_wp_form{clear:both;width:1008px;color:#fff;}
.mw_wp_form form {float:left;padding:32px 32px 25px 32px;background:#666;}
.mw_wp_form .otoiawase-text {float:left;width:326px;margin:0 94px 0 0;}
.mw_wp_form h2{margin:0 0 15px 0;padding:0 0 5px 0;color:#fff;line-height:100%;border-bottom:#fff 1px dashed;background:#666;}
.mw_wp_form p{margin:0 0 20px 0;font-size:13px;}
.mw_wp_form dl{float:right;width:524px;}
.mw_wp_form dl dt{float:left;width:100px;font-size:12px;font-weight:normal;margin:0;line-height:240%;}
.mw_wp_form dl dt.area{padding-top:20px;letter-spacing:0.2;}
.mw_wp_form dl dd{float:right;width:405px;padding:0;margin:0 0 5px 0;}
input[type=text],input[type=email],textarea{ border: 1px solid #555;font-size:13px;width:400px;color:#555;}
input[type="submit"] {width:405px;font-size:12px;background:#555;color:#ccc;}
input[type="submit"]:hover {background:#ccc;color:#555;}
input[type=text]:focus,input[type=email]:focus,textarea:focus {	color: #000;}

/* 20160606add-start */
.mw_wp_form .otoiawase-text-thanks {width:1008px;color:#fff;background:#666;padding:32px 0;}
.mw_wp_form .otoiawase-text-thanks h2,.mw_wp_form .otoiawase-text-thanks p {padding:0 32px;}
.mw_wp_form .otoiawase-text-thanks a {color:#fff;padding:0 32px;}
#mw_wp_form_mw-wp-form-156 form {margin-bottom: 1em;}
/* 20160606add-end */

.widget-area ul{margin:0 0 20px 0;}
.widget-area ul li{margin:0 0 10px 5px;}
.widget-area li:before{content:"＞ ";}
.wp-pagenavi{margin-left:32px}

.entry-nav {
	margin: 30px 0 15px 0;
	overflow: hidden;
list-style-type:none;
font-size:12px;
}
.entry-nav .nav-previous {
	float: left;
	width: 50%;
}
.entry-nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
/*国会報告*/
body.post-type-archive-parliament #content{padding:32px;}
body.post-type-archive-parliament h2{
    background: #fff;
    color: #000;
    margin-left: 1em;
    margin-top:-1em;
}


body.post-type-archive-parliament .parliamentYear{
    float: right;

}
body.post-type-archive-parliament .parliamentYear li{display: inline; margin-left: 1em;}
body.post-type-archive-parliament .parliamentYear li:before{content:"＞ ";}
 {
    margin-left: 3em;
    padding-top: 1em;
    }

body.post-type-archive-parliament p.oldlink{
    clear: both;
    font-size: 80%;
    text-align: right;
}
body.post-type-archive-parliament .dietSession dl{
    margin: 1em 0;
    padding:1em 0 1em 1em;
    float:left;
    width:45%;
    margin:0;
}
body.post-type-archive-parliament .dietSession dt{
    border-top: 1px dotted #999;
    margin-left: 1em;
    padding: 1em;
}
body.post-type-archive-parliament .dietSession dd{
    padding: 0 1em 0 2em;
}
body.post-type-archive-parliament .dietSession dd:before{content:"＞ ";}
body.post-type-archive-parliament .dietSession p{
    margin-left: 3em;
    font-size: 80%;
}

.parliamentContent {
    padding:0 0 0 2em;
    border-bottom: solid #333 1px;
    padding-bottom: 1em;
    margin-left: 2em;
    margin-bottom: 1em;
}

.parliamentContent .conference {
    text-align: right;
}
.parliamentContent .material, .parliamentContent .relevance{
    clear: both;
}
.parliamentContent .material dt, .parliamentContent .relevance dt {
    float: left;
    margin-bottom: 1em;
}
.parliamentContent .material dd, .parliamentContent .relevance dd {
    padding-left:6em; 
    margin-bottom: 1em;
}
.parliamentContent .material dt{
     border:solid 1px #333;
     padding: 0 2em;
}
.parliamentContent .relevance dt{
    border:solid 1px #333;
    background-color: #ccc;
    padding: 0 1em;
}


body.tax-parliament-cat h2 span{
    text-align: right;
    font-size: 80%;
}
body.tax-parliament-cat .conference{
    margin-top: 1em;
}
body.tax-parliament-cat .single-cat{
    text-align: right;
}
/*body.tax-parliament-cat ul > li.cat-item{
    visibility: hidden;
}*/
body.tax-parliament-cat li.cat-item{
    visibility: hidden;
	
}
.cat-item{
	list-style: none;
}
/*body.tax-parliament-cat ul > li > ul.children > li{
    visibility: visible;
    margin: -1em 0 0 -1em;
}*/
body.tax-parliament-cat ul.children  {
    margin: -1.6em 0 0 0;
}
body.tax-parliament-cat ul.children > li{
    visibility: visible;
}

body.single-parliament h3{
    color: #930;
    font-weight: bold;
    font-size: 90%;
    background: url("/wp-content/themes/kokuta-keiji/images/parliament_q.png") no-repeat 0 30px;
    min-height: 128px;
    min-width: 98px;
    float: left;
    margin:0 1em 1em 0;
}
body.single-parliament hr {
    clear: both;
    border:dashed 1px #999;
    margin: 1em 0;
}
body.single-parliament h4{
    font-weight: bold;
    font-size: 90%;
    color: #000;
    background: url("/wp-content/themes/kokuta-keiji/images/parliament_a.png") no-repeat 0 30px;
    min-height: 128px;
    float: right;
    margin:0 0 1em 1em;
}
body.single-parliament .site-content h4{/*0416追記*/
	min-width: 98px;
}
body.single-parliament #site-map h4,body.single-parliament #site-info h4{
    font-size: 2.1rem;
    background: none;
    font-weight:normal;
}



/*京都から*/
.kyotoCatch h2 {
    color: #900;
    background:none;
    padding-left: 0;
    background: url("/wp-content/themes/kokuta-keiji/images/kyotoCatch.jpg") no-repeat top right;
    min-height: 192px;

}
.kyotoCatch p {
    margin-top: -150px;
    margin-bottom: 4em;
}
.catchphoto {
    float: left;
    margin-right: 2em;
    
    
}
.catchphotoimg{
    width: 350px;
    height: 260px;
    overflow: hidden;
}
.portraitTop {
    float: right;
    margin-left: 1em;

}
.portraitTopimg{
    width: 140px;
    height: 180px;
    overflow: hidden;
}
.who {
    font-size: 0.8em;
    line-height: 1.3;
    text-align: center;
    margin-top: 0.3em;
    width: 140px;
}
.more-link {
}
.wp-caption-text {
    text-indent: 0 !important;
    font-size: 90%;
}
.pastArtisan {
    clear: both;
}
.pastArtisan:after,#season:after{
    content: "";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
}
.portrait {
    float: left;
    text-align:center;
     margin: 0 1.3em 0 0;
     height: 220px;

}
.portrait:nth-child(6n+1) {
    margin-right: 0;
    
}
.portraitimg{
    width: 140px;
    height: 140px;
    overflow: hidden;
}
.post-type-archive-artisan .widget-area li,
.single-artisan .widget-area li {
    font-size: 0.9em;
    line-height: 1.3;

}
.post-type-archive-artisan .widget-area li span,
.single-artisan .widget-area li span {
    padding-left: 2em;
}

.singleArtisanprofile {
    float: right;
    text-align: center;
    margin: 1em 0 1em 1em;
    padding: 1em;
    border-bottom: solid 3px #ccc;
    border-right: solid 3px #ccc;
    font-size: 90%;

}
.singleArtisanprofile span{
    font-size: 110%;
    font-weight: bold;
}
body.single-artisan h3 {
    margin-top: 1em;
}
.season h2 {
    clear: both;
}
.seasonPhoto {
    float: left;
    margin-top: 1em;
}
.yokoyamaProfile {
    float: right;
    width: 500px;
    margin-top: 1em;
    font-size: 90%;
}
.yokoyamaProfile h3{
    font-size: 2.1rem;
    color: #fff;
    background-color: #666;
    padding: 8px 16px;
    margin-bottom: 1.6rem;
    
}
.yokoyamaProfile dl {
    background: url("/wp-content/themes/kokuta-keiji/images/yokoyama.jpg") no-repeat 0 0;
    min-height: 150px; position: relative;
}
.yokoyamaProfile dt{
    position: absolute;
    top:0;
    left:170px;
    width: 300px;
}
.yokoyamaProfile dd{
    position: absolute;
    top:2em;
    right:0;
    width: 300px;
}
.yokoyamaProfile dd ul{
    list-style-type: none;
    margin:0.5em;
}

.pastArtisan h3,.alubm h3{
    font-size: 1.8rem;
    color: #fff;
    background-color: #900;
    padding: 4px;
    margin: 1.6rem 0;
    text-align: center;
}
.kyotoLink {
    margin-top: 2em;
}
.kyotoLink div{
    display: table;
    margin: 0 auto;
    border-collapse: separate;  /* セルの間隔を空ける */
    border-spacing:  1em 1em;  /* 左右 上下で記述 */
}
.kyotoLink section {
    border:1px #999 solid;
    padding: 1em;
    width: 270px;
    display: table-cell;
    
}
.kyotoLink section h3 {
    border :1px solid #ccc;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.2); 
    float: left;
    margin: 0 0 1em 0;
    padding: 0;
    max-height: 90px;
    line-height: 0;
}
.kyotoLink section dl {
    float: right;
    width: 144px;
}
.kyotoLink section dd{
    width: 144px;
    margin: 0;
}
.kyotoLink section dd li{
    float: left;
    margin-right: 1em;
    list-style-type: none;
}
.kyotoLink section dd li a{
    display: inline;
}
.kyotoLink section p{
    clear: both;
}





.kyotoLink div:before,.kyotoLink div:after {
    border-spacing:  0 1em;  /* 左右 上下で記述 */
}

/*kyoto>detail*/
#artisanTop{
    float: left;
    background: url("/wp-content/themes/kokuta-keiji/images/artisanToptitle.png") no-repeat 0 0;
    width: 498px;
    height: 199px;
    position: relative;
    margin-bottom: 16px;
}
#artisanTop #tategaki{
   writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  -ms-writing-mode: vertical-rl;
  -o-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  position: absolute;
  right: 1em;
  top:1em;
  font-weight: bolder;
  color: #fff;
}
/*Firefoxだけに適用されるCSSハック*/
@-moz-document url-prefix() {
  #artisanTop #tategaki {
  z-index: 1;
  background-color:#fff;
  filter:alpha(opacity=50);
  -moz-opacity: 0.5;
   opacity: 0.5;
   position: absolute;
  right: 0;
  top:0;
  }
}
@-moz-document url-prefix() {
  #artisanTop #tategaki p{
  color: #000;
  filter:alpha(opacity=100);
    -moz-opacity: 1;
    opacity: 1;
  z-index: 2;
   padding: 0.5em 0.5em 0 0.5em;
  }
}
#artisanTop .artisanphoto{
    height: 162px;
    width: 150px;
    position: absolute;
    top:14px;
    left: 263px;
    overflow: hidden;
    border:3px #fff solid;
    z-index: 0;
}

#artisanTop .artisanphoto img{
    overflow: hidden;
}
#seasonTop{
    float: right;
    background: url("/wp-content/themes/kokuta-keiji/images/seasonToptitle.png") no-repeat 0 0;
    width: 498px;
    height: 199px;
    position: relative;
    margin-bottom: 16px;
}

#seasonTop p{
    height: 199px;
    width: 240px;
    position: absolute;
    overflow: hidden;
    right: 0;
}
#seasonTop img{
    overflow: hidden;
}
body.page-template-page-fromkyoto-php #content{padding:32px;}

/* ---------------------------------------------------
.leaflet
--------------------------------------------------- */
.leaflet {
    padding: 0;
    margin: 0 0 16px auto;
    box-sizing: border-box;
    width: 498px;
    line-height: 0;
}