/*
Theme Name: kiraku2020
Template: twentytwelve
Author: ksk-soft
Version: 0.9
*/
@import url('../twentytwelve/style.css');

body .site,
.site-header h1 a,
.site-header h2 a,
#main {
    position: relative;
}
body .site {
    background: none repeat scroll 0 0 rgb(255, 255, 255);
    background-color:rgba(255, 255, 255, 0.7);
}
.page-template-page-templatesfront-page-php .wp-caption,
.frontImg {
    float: none;
    margin: 0 auto;
    width: 100%;
    z-index: 1;
}
.page-template-page-templatesfront-page-php .wp-caption img,
.frontImg img{
    width: 100%;
}
.page-template-page-templatesfront-page-php .entry-header {
    left: 2em;
    position: absolute;
    top: 4em;
}
#frontD {
    clear: none;
    left: 2em;
    margin: 0 50% 0 0;
    position: absolute;
    top: 7em;
    min-width: 20em;
    z-index: 2;
}
.textwidget .shohinken em {
    background: hsl(0, 0%, 100%) none repeat scroll 0 0;
    color: hsl(0, 0%, 100%);
    display: block;
    font-size: 1.2em;
    font-style: normal;
    margin: 0.5em 0;
    padding: 1em 0;
    text-align: center;
    text-shadow: 2px 2px 0 hsla(0, 100%, 1%, 0.5);
}
.textwidget .shohinken {
    background: hsl(59, 100%, 80%) none repeat scroll 0 0;
    line-height: 1.2;
    padding: 0.1em 0.5em 0.5em;
}
.textwidget .shohinken em:nth-of-type(1) {
    background-color: hsl(159, 50%, 60%);
}
.textwidget .shohinken em:nth-of-type(2) {
    background-color: hsl(0, 70%, 70%);
}
.page-template-page-templatesfront-page-php .entry-header,
#frontD{
    text-shadow: 0 0 0.1em #fff, 0 0 0.2em #fff;
}
.page-template-page-templatesfront-page-php .entry-header h1,
#frontD h2{
    margin: 0;
    font-weight:bold;
}
body.custom-background{
    background-image:linear-gradient(to bottom,rgba(255,255,0,0) 99%,rgba(255,255,0,0.1));
}
body:after {
    background-color: transparent;
    border: 0.5em solid transparent;
    border-radius: 50% 50% 50% 50%;
    box-shadow:0 -0.2em 0.1em rgba(255, 255, 255, 0.8) inset, 0.2em 0 0.3em 0.3em rgba(255, 255, 255, 0.6);
    content: "";
    font-size: 2em;
    height: 1em;
    left: -5em;
    padding: 10em;
    position: fixed;
    top: -7em;
    width: 1em;
    z-index: -1;
    -moz-animation:rool 24s infinite linear;
    -webkit-animation:rool 24s infinite linear;
    animation:rool 24s infinite linear;
}
.ie7 body:after,
.ie7 body:before,
.ie8 body:after,
.ie8 body:before {content:none;}
.ie6 body,
.ie7 body,
.ie8 body {background:url(/wp-content/uploads/bg-e1359391281432.png) 0 0 no-repeat fixed;}
@keyframes rool {
100%{transform:rotateZ(1turn);}
}
@keyframes size {
0%{font-size: 20em;}
100%{font-size:30em;}
}
body:before {
    color: transparent;
    content: "●";
    display: block;
    font-size: 20em;
    left: 0;
    position: fixed;
    text-shadow: 0 -0.2em 0.1em rgba(255, 255, 255, 0.8), 0.7em -0.4em 0.2em rgba(255, 255, 255, 0.8), -0.1em 0.4em 0.2em rgba(255, 255, 255, 0.8);
    top: 0;
}
html:lang(ja) .site-header h1 a:before,html:lang(ja) .site-header h2 a:before{
    content: "き じょい";
    display: block;
    font-size: 0.4em;
    left: 0.5em;
    letter-spacing: 0.7em;
    position: absolute;
    text-shadow: 0 -0.2em 0.1em rgba(255, 255, 255, 0.8), 0.7em -0.4em 0.2em rgba(255, 255, 255, 0.8), -0.1em 0.4em 0.2em rgba(255, 255, 255, 0.8);
    top: -0.8em;
}
.page-id-16 #content th {white-space:normal;text-transform: none;}
html:lang(ja) .en,html:lang(en) .ja {display:none;}
.entry-content h1, .comment-content h1, .entry-content h2, .comment-content h2, .entry-content h3, .comment-content h3, .entry-content h4, .comment-content h4, .entry-content h5, .comment-content h5, .entry-content h6, .comment-content h6
{
    margin:0;
    padding:1em 0 0.5em;
}
img.alignright,img.alignleft {
    margin-top:0.3rem;
}
.wp-caption.alignleft { margin-right:0.5em; }
.wp-caption.alignright { margin-left:0.5em; }
.entry-content dl,
.entry-content table {
	background:rgb(255,255,255);
	background:rgba(255,255,255,0.7);
	border:1px solid #999;
	font-size:1rem;
}
.entry-content dl {margin:0;letter-spacing:-0.22em;}
.entry-content dt,.entry-content dd {display:inline-block;letter-spacing:normal;vertical-align:top;padding:0.5em 1em;font-size:1rem;border-top:1px dotted #aaa;}
.entry-content dt:first-of-type,.entry-content dd:first-of-type {border:none;}
.entry-content dt {width:20%;}
.entry-content dd {width:70%;margin-bottom:0;}
#gallery-1 .gallery-item {border:none;background:transparent;letter-spacing:normal;}
#gallery-1 .gallery-item dt,
#gallery-1 .gallery-item dd {border:none;background:transparent;width:auto;}


.entry-content td,
.entry-content th {padding:0.5em 1em;font-size:1rem;border:1px dotted #aaa;}
.entry-content table li {font-size:1rem;margin-left: 1rem;}
.entry-content thead th {rgba(230,230,200,0.7);}
.entry-content th {white-space:nowrap;}
.entry-content .tac {text-align:center;}
.entry-content .tal {text-align:left;}
.entry-content .tar {text-align:right;}
.entry-content .hour {min-width:6em;}

.site-header .menu-navi-container {background: none repeat scroll 0 0 #cc0;}
#menu-navi {width:auto;border:none;}
.main-navigation li {margin-right:0;}
.main-navigation li a,
.main-navigation li ul li a,
.main-navigation li ul li a:hover {
	background: none repeat scroll 0 0 #cc0;
	background-color: rgb(200, 200, 0);
	background-color: rgba(200, 200, 0, 0.7);
	background-image: linear-gradient(to bottom, #cc0, #aa0);
	font-size: 1.3em;
	padding: 0 1em;
	-webkit-transition: 0.4s;
	-moz-transition: 0.4s;
	transition: 0.4s;
}
.main-navigation li a {
	color: #fff;
	line-height: 3;
}
.main-navigation li ul li a {
	line-height: 2;
}
.ie6 .main-navigation li a,
.ie7 .main-navigation li a,
.ie8 .main-navigation li a,
.ie6 .main-navigation li ul li a,
.ie7 .main-navigation li ul li a,
.ie8 .main-navigation li ul li a {
	background-color:#cc0;
	font-size: 1.1em;
	padding: 0 1em;
}
.ie6 .main-navigation li ul li a:hover,
.ie7 .main-navigation li ul li a:hover,
.ie8 .main-navigation li ul li a:hover {
	background-color:#dd0;
	font-size: 1.1em;
	padding: 0 1em;
}
.wp-caption .wp-caption-text, .gallery-caption, .entry-caption {font-style:normal;}
#calendar_wrap,
.gallery .gallery-icon img {background-color:#fff;}
.widget-area .widget h3 {margin:0;}
#wp-calendar th, #wp-calendar td, #wp-calendar caption {text-align: center;}
.map_canvas label { width: auto; display:inline; }
.map_canvas img { max-width: none;box-shadow: none;}
.entry-content .btn {
  background-color: #eee;
  border: 3px solid #233;
  border-radius: 6px;
  color: #03a !important;
  display: inline-block;
  font-weight: bold;
  padding: 0.5em 1em;
  text-decoration: none;
}
.entry-content .btn:hover {
  border-color: #d00;
}
@media screen and (max-width: 600px) {
 html {
  font-size: 16px;
 }
 .site {
  width: 100%;
  overflow-x: hidden;
 }
 .wp-caption.alignleft,
 .wp-caption.alignright {
  width: 100%!important;
  float: none;
  margin: 0;
  padding: 0;
 }
 .wp-caption.alignleft img,
 .wp-caption.alignright img {
  max-width: 100%;
  width: 100%;
  height: auto;
 }
 #menu-navi {
  width: 100%;
  border: none;
 }
 .main-navigation li {
  display:block;
  margin:0;
 }
 .main-navigation li a,
 .main-navigation li ul li a,
 .main-navigation li ul li a:hover {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.1));
  padding: 0.5em 1em;
  line-height: 2;
  display: flex;
  text-decoration: none;
 }
 .main-navigation li a::before {
  content: "▶︎";
  transform: scale(0.7);
  color: rgba(0,0,0,0.2);
  transform-origin: left;
 }
 #frontD {
  position: static;
  margin: auto;
 }
 .page-template-page-templatesfront-page-php .entry-header {
  left: 0;
  width: auto;
  padding: 0 2em;
 }
 .page-template-page-templatesfront-page-php .entry-header h1 {
  margin: 0 -1.5rem;
  line-height: 1.4;
 }
 .page-template-page-templatesfront-page-php .entry-content > p:first-child {
  margin: 0 -1rem 2em;
 }
 .entry-content td,
 .entry-content th {
  padding: 0.2em 2px;
  line-height: 1.5;
 }
}
