/*
Theme Name: iwj2016
Author: itaru watanave
*/

@import url('css/bootstrap.min.css');
@import url(https://fonts.googleapis.com/css?family=Satisfy);

body { padding-top: 70px; }

body {
  font-family: Helvetica, Arial, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, メイリオ, Meiryo, sans-serif;
  font-size: 155%;
  line-height: 1.5em;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  line-height: 1.3;
}

img {
  max-width: 100%;
  height: auto;
}

.navbar-inverse .navbar-nav > li.login > a {
	border-radius: 2px;
	color: #ffffff;
	background-color: #1c99d4;
	padding: 5px 24px;
	margin: 10px 2px;
}

.navbar-inverse .navbar-nav > li.regist > a {
	border-radius: 2px;
	color: #ffffff;
	background-color: #cc0000;
	padding: 5px 24px;
	margin: 10px 2px;
}

textarea {
  overflow: auto;
  width: 100%;
}

footer {
	background-color: #222222;
	color: #eeeeee;
}

div.invite, div.campaign {
  background: #fffbe4;
  border: 1px solid #dddddd;
  border-radius: 3px;
  padding: 12px;
  margin: 20px 0;
  display: inline-block;
  width: 100%;
}

div#related_post,
div#tag_list {
  display: block;
  float: left;
  width: 100%;
}

body.search-results p.thumbnail-box {
  float: left;
}
body.search-results p.thumbnail-box img {
  height: 75px;
  width: 75px;
  margin: 0 10px 0 0;
}
body.search-results p.title {
  display: inline;
}
body.search-results p.postinfo {
  display: inline;
  color: #aaaaaa;
}

body.page .post-inner-content {
  padding: 45px 15px;
}

p {
  margin: 0 0 1.5em 0;
}

blockquote {
  font-size: 14.5px;
}

.attention-light {
  color: #ba0d28;
}

div.wp-caption {
  border: none;
}
div.content {
  width: 100%;
display: inline-block;
}
div.content figcaption {
  font-size: 14px;
}
div.content div.signature {
  text-align: right;
  margin-bottom: 1.5em;
}
div.content div.content_detail {
  background-color: #eeeeee;
  margin: 0 0 6px 0;
}
div.content div.content_detail .movie {
  border-radius: 2px;
  color: #ffffff;
  background-color: #3366ff;
  margin: 0 2px;
  padding: 2px 12px;
}
div.content div.content_detail .text {
  border-radius: 2px;
  color: #ffffff;
  background-color: #cc0000;
  margin: 0 2px;
  padding: 2px 12px;
}
div.content div.content_detail .original {
  border-radius: 2px;
  color: #ffffff;
  background-color: #339900;
  margin: 0 2px;
  padding: 2px 12px;
}
div.content div.content_detail .date,
div.content div.content_detail .area {
  background-color: #cccccc;
  margin: 0 2px 0 0;
  padding: 2px 0 2px 12px;
}

div.content div#related_post h3,
div.content div#tag_list h3 {
  border-bottom: 1px solid #666666;
  padding: 0 0 0 10px;
}
div.contents div.iwjlink2 {
  background: #fffcf3;
  border: 1px solid #dddddd;
  border-radius: 3px;
  padding: 12px;
  margin: 20px 0 20px 0;
  overflow: auto;
}
div.contents div.iwjlink2 img {
    display: block;
    margin: 10px;
}
div.content h3 {
  border-left: 8px solid #666666;
  border-bottom: 1px solid #666666;
  padding: 0 0 0 10px;
  margin-top: 0;
}
div.content h4 {
  border-left: 8px solid #888888;
  padding: 6px 0 6px 10px;
}
div.content ul {
  margin: 1.5em 0 1.5em 0;
}
div.content ul.info {
  margin-bottom: 1.5em;
}
div.content ul.program {
  margin-bottom: 1.5em;
}
div.content ol {
  margin: 1.5em 0 1.5em 0;
}
div.content div#index {
  background-color: #f4f4f4;
  border-top: dashed 1px #dddddd;
  border-bottom: dashed 1px #dddddd;
  margin-bottom: 10px;
  padding: 15px 10px 10px 30px;
}
div.content div#index p {
  border-bottom: solid 1px #dddddd;
  display: block;
  font-weight: bold;
}
div.content div#index ul li {
  list-style: square;
}
div.content div.timestamps {
  font-size: 14px;
  margin-bottom: 1em;
}
div.content div.tgtr_embd {
  margin-bottom: 1em;
}
div.content div.image img {
  display: block;
  margin: auto;
  margin: 0 15px 15px 0;
}
div.content div#movie iframe {
  display: block;
  margin: auto;
  max-width: 100%;
}
div.content h2 span {
  padding-left: 1em;
}
div.content a.read-more {
  display: block;
  border-radius: 2px;
  color: #ffffff;
  background-color: #cc0000;
  float: left;
  padding: 2px 22px;
}
div.content img {
  max-width: 100%;
  height: auto;
}

div.membershortcut a.member{
  border-radius: 2px;
  background: #3366cc;
  color: #FFFFFF;
  display: block;
  line-height: 1.8em;
  margin: 6px 0px;
  padding: 4px 8px;
  text-align: center;
}

div.membershortcut a.fellow{
  border-radius: 2px;
  background: #339900;
  color: #FFFFFF;
  display: block;
  line-height: 1.8em;
  margin: 6px 0px;
  padding: 4px 8px;
  text-align: center;
}

body.home div.read-more,
body.archive div.read-more {
  float: right;
}

body.home div.read-more a.read-more,
body.archive div.read-more a.read-more {
  display: block;
  border-radius: 2px;
  color: #ffffff;
  background-color: #cc0000;
  float: left;
  padding: 2px 22px;
  margin-left: 2px;
}

body.home div.read-more a.member,
body.archive div.read-more a.member{
    display: block;
    border-radius: 2px;
    color: #ffffff;
    background-color: #3366cc;
    float: left;
    padding: 2px 22px;
}

body.home div.read-more a.fellow,
body.archive div.read-more a.fellow{
    display: block;
    border-radius: 2px;
    color: #ffffff;
    background-color: #339900;
    float: left;
    padding: 2px 22px;
}

div.invite,
div.campaign {
  background: #FFFBE4;
  border: 1px solid #dddddd;
  border-radius: 3px;
  padding: 12px;
  margin: 20px 0 20px 0;
  overflow:hidden;
}

div.invite a.member {
  border-radius: 2px;
  background: #3366cc;
  color: #FFFFFF;
  display: block;
  float: left;
  line-height: 1.8em;
  margin: 6px 0px;
  padding: 4px 8px;
  text-align: center;
  width: 49%;
}

div.invite a.join {
  border-radius: 2px;
  background: #cc3333;
  color: #FFFFFF;
  line-height: 1.8em;
  margin: 6px 0px;
  padding: 4px 8px;
  text-align: center;
}

div.invite a.ondemand {
  border-radius: 2px;
  background: #ffa442;
  color: #FFFFFF;
  line-height: 1.8em;
  margin: 6px 0px;
  padding: 4px 8px;
  text-align: center;
}

div.invite p {
  margin: 0px;
}

div.invite a.memberBuy {
  border-radius: 2px;
  background: #ffcc99;
  color: #222222;
  display: block;
  float: left;
  line-height: 1.8em;
  margin: 0px 0px 6px 0px;
  padding: 4px 8px;
  text-align: center;
  width: 100%;
}

div.invite a.memberR {
  border-radius: 2px;
  background: #3366cc;
  color: #FFFFFF;
  display: block;
  float: right;
  line-height: 1.8em;
  margin: 6px 0px;
  padding: 4px 8px;
  text-align: center;
  width: 49%;
}

div.invite a.fellow {
  border-radius: 2px;
  background: #339900;
  color: #FFFFFF;
  display: block;
  float: left;
  line-height: 1.8em;
  margin: 6px 0px;
  padding: 4px 8px;
  text-align: center;
  width: 49%;
}

div.invite a.regist {
  border-radius: 2px;
  background: #cc3333;
  color: #FFFFFF;
  display: block;
  float: right;
  line-height: 1.8em;
  margin: 6px 0px;
  padding: 4px 8px;
  text-align: center;
  width: 49%;
}

div.invite a.registC {
  border-radius: 2px;
  background: #cc3333;
  color: #FFFFFF;
  display: block;
  float: right;
  line-height: 1.8em;
  margin: 6px 0px;
  padding: 4px 8px;
  text-align: center;
  width: 100%;
}

div.invite a.buy {
  background: #ffcc99;
  border-radius: 2px;
  clear: both;
  color: #222222;
  display: block;
  line-height: 1.8em;
  margin: 6px 0px;
  padding: 4px 0px;
  text-align: center;
  width: 100%;
}

div.invite span {
  display: block;
  text-align: center;
}

div.campaign p {
  margin: 0px;
}

div.campaign a.regist {
  border-radius: 2px;
  background: #cc3333;
  color: #FFFFFF;
  display: block;
  float: left;
  line-height: 1.8em;
  margin: 6px 0px;
  padding: 4px 8px;
  text-align: center;
  width: 49%;
}

div.campaign a.donation {
  border-radius: 2px;
  background: #cc3333;
  color: #FFFFFF;
  display: block;
  float: right;
  line-height: 1.8em;
  margin: 6px 0px;
  padding: 4px 8px;
  text-align: center;
  width: 49%;
}

div.campaign a.donation2 {
  border-radius: 2px;
  background: #cc3333;
  color: #FFFFFF;
  display: block;
  float: right;
  line-height: 1.8em;
  margin: 6px 0px;
  padding: 4px 8px;
  text-align: center;
  width: 100%;
}
div#related_post ul {
  clear: both;
  float: left;
  list-style-type: none;
  padding-left: 0;
}
div#related_post ul li {
  clear: both;
  float: left;
  list-style-type: none;
}
div#related_post p.thumbnail-box {
  float: left;
}
div#related_post p.thumbnail-box img {
  height: 75px;
  width: 75px;
  margin: 0 10px 0 0;
}
div#related_post p.title {
  display: inline;
}
div#related_post p.postinfo {
  color: #aaaaaa;
  display: inline;
}
div#tag_list ul {
  padding-left: 0;
}
div#tag_list ul li {
  background: #e8eef7;
  border: solid 1px #dddddd;
  border-radius: 2px;
  clear: both;
  display: inline;
  line-height: 1.8em;
  margin: 0 1px;
  padding: 2px 10px;
  text-align: center;
}
div#comments {
  display: block;
}
div#supportus {
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  padding: 10px 0;
  margin: 40px auto;
  overflow: hidden;
}
div#supportus img {
  max-width: 100%;
  height: auto;
}

ul.pagination li span.current {
    color: #ffffff;
    background-color: #cc0000;
}
div #social {
  margin-bottom: 1.5em;
}

div #social .fb_iframe_widget > span {
  vertical-align: baseline !important;
}

.wp-caption .wp-caption-text {
  text-align: left;
}
.wp-caption img {
  margin-right: auto;
  margin-left: auto;
}

.u-line {
  text-decoration: underline;
}

.align-c {
  text-align: center;
}

.align-r {
  text-align: right;
}

.attention-2-light {
  color: #0a6430;
  font-weight: normal;
}

.attention-2 {
  color: #0a6430;
  font-weight: bold;
}

.box-single {
  padding: 0 10px 10px;
  margin: 0 10px 20px;
  background-color: #eceae3;
  border: solid 1px #aaaaaa;
}

.box-read {
  padding: 0 20px 5px;
  margin: 0;
  background-color: #dbd7c7;
  overflow: hidden;
  box-shadow: 1px 2px 0 0 #aaaaaa;
  border: 1px solid #cccccc;
}
.box-read img {
  float: left;
  margin: 7px 20px 5px 0;
  border: 1px solid #666666;
}
.box-read p {
  line-height: 1.5;
  margin-bottom: 1.1em;
  font-size: 123.1%;
}
.box-read ul.index li {
  font-size: 14px;
}

.box-title {
  margin: 0;
  padding: 0 20px;
}
.box-title a {
  color: #222;
  font-weight: bold;
  font-size: 127%;
  padding-bottom: 15px;
}
.box-title p {
  margin: 1.0em 0;
}
.box-title img {
  width: 320px;
  margin: 10px 0 0 30px;
  border: 1px solid #666666;
}

div.blog-sidebar div.sidebar-inner {
  padding: 15px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  background-color: #f5f5f5;
  margin-bottom: 10px;
}

.twitter-tweet {
  margin: auto;
}

ul.info {
  border-top: 1px dotted #cccccc;
  border-bottom: 1px dotted #cccccc;
  padding: 10px 0 10px 25px;
  margin: 0 20px;
  list-style-type: circle;
  font-size: 14px;
}

nav.navigation {
  display: block;
}

.thumbnail .caption {
  text-align: left;
}

.btn.btn-default {
  color: #333333;
}

.box-container h4 {
  background-color: #e8dfe4;
  padding: 5px 0;
  font-size: 190%;
}

.box-single-hl .box-title a {
  color: #ba0d28;
}

.sidebar-inner .widget {
	display: block;
	margin: 0px 0px 10px 0px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.space-between {
    justify-content: space-between;
}

.youtube,
.twitcasting {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 640px;
}
.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* リストカレンダー表示 */

p.nextback{
  padding:0;
  margin:15px;
  text-align:center;
}
p.link_prev{
  padding:0;
  margin:15px 0 -23px;
  float:left;
  font-size:0.9em;
}
p.link_next{
  padding:0;
  margin:15px 0 -23px;
  float:right;
  font-size:0.9em;
}
table.calendar_list{
  width:100%;
  border-collapse:collapse;
  border:2px solid #CCC;
}
table.calendar_list caption{
  text-align:center;
  padding:0 0 2px;
  font-weight:bold;
  font-size:1.2em;
}
table.calendar_list td{
  padding:5px;
  border-right:1px dotted #CCC;
  border-bottom:1px solid #CCC;
  text-align:center;
  width:2em;
  vertical-align:top;
}
table.calendar_list tr:nth-child(2n) td{
  background-color:#FAFAFA;
}
table.calendar_list td.sun,
table.calendar_list tr.sun td,
table.calendar_list td.holiday,
table.calendar_list tr.holiday td{
  background-color:#fff2ef;
  color:#C00;
}
table.calendar_list td.sat,
table.calendar_list tr.sat td{
  background-color:#e6f6ff;
  color:#36C;
}
table.calendar_list tr.today td{
  background-color:#fff8b9;
  font-weight:bold;
}
table.calendar_list td.event{
  width:auto;
  text-align:left;
}
table.calendar_list td.event a{
  display:block;
  background: url(img/icon_calendar.png) no-repeat 0px -20px;
  color:#333;
  padding:2px 0 2px 23px;
  line-height:1.3;
  margin-bottom: 0.5em;
}
table.calendar_list td.event span.holiday{
  display:block;
  padding-left:23px;
  background: url(img/icon_calendar.png) no-repeat 0px 1px;
}


@media screen and (min-width: 415px) {
   /* 表示領域が415x以上の場合に適用するスタイル */
div.iwjlink2 div.image { float: left; }
}

@media screen and (max-width: 414px) {
   /* 表示領域が414px以下の場合に適用するスタイル */
div.iwjlink2 div.image { float: none; }
div.iwjlink2 div.image img {margin: auto;}
}

div.content div.page-thumb img {
	display: block;
	margin: auto;
}

div.content div#social iframe{
	display: inline;
}