/*media query*/
div#menum,div#miv{display: none;}

div.panel{
  display: inline-block;
  }

#readimg{
  width: 0px;
  height: 0px;
  display:none;}

/* base */

*{margin:0px; padding:0px; }
html {height: 100%; background: #ffffff; overflow-x: hidden; }
body {width: 100%; height: 100%; background: #ffffff; color: #333;
  font-family:"ヒラギノ角ゴ Pro W3",メイリオ,Osaka,Arial,Verdana,"ＭＳ Ｐゴシック",sans-serif;
  -webkit-animation: fadeIn 0.5s ease 0s 1 normal; 
  animation: fadeIn 0.5s ease 0s 1 normal;
  /*background-image: url(indeximg/in2.png);
  background-position:center center;
  background-size: cover;*/
}
.italic {font-family:Dotum; width:80%; max-width:500px; margin:0 auto;font-size: 14px;line-height: 1.6em;}
img {border-style:none; }
.txtarea a img {
  border: 2px solid #fff;
  -webkit-transition: all 0.2s ease;
  transition: all  0.2s ease;}
.txtarea a:hover img {border: 2px solid #cd8cc1; }
a{/*-webkit-transition: all 1.9s ease-in-out;
  transition: all 1.9s ease-in-out;*/ }
a:link {color: #b87098; text-decoration: none;
  -webkit-transition: all 0.1s ease;
  transition: all  0.1s ease;}
a:visited {color: #6f246c; text-decoration: none;}
a:active {color: #5f494d; text-decoration: none;}
a:hover{color: #fff;/*#c888ac*/text-shadow:0 1px 0px #9a6884,1px 0 0px #9a6884,0 -1px 0px #9a6884,-1px 0 0px #9a6884,
        -1px -1px 0px #9a6884,1px -1px 0px #9a6884,-1px 1px 0px #9a6884,1px 1px 0px #9a6884; }
.bor{
  border: solid #cd8cc1;
  border-width:1px 0 0 0;
  height:1px;
  clear:both;}
h1 {
  color: #111;
  display: inline-block;
  font-size: 16px;
  margin-bottom: 1.8em;
  line-height: 1.7;
  margin: 20px 20px 20px 0px; }
h2{
  color: #111;
  font-weight: bold;
  text-align: justify;
  word-break: break-all;
  font-size: 14px;
  width:100%;
  max-width:170px;
  margin: 10px 10px 0px 10px;
}
h3{
  color: #111;
  display: inline-block;
  font-size: 16px;
  margin-bottom: 1.8em;
  line-height: 1.7;
  padding: .5em .75em;
  border-left: 8px solid #f6cd8d;
  margin: 20px 20px 20px 40px; }
}
hr {height: 0; margin: 0; padding: 0; border: 0;}
.textbor{width: 80%;margin: 0 auto;  border-top: 1px dashed #cd8cc1;}
.textbor-clear{
  border-top: 1px dashed #cd8cc1;
  width: 85%;
  border-width:1px 0 0 0;
  margin: 0 auto;
  height:1px;
  clear:both;}
.dotted{border-top: 1px dashed #cd8cc1; margin-right:20px;}
.pict-count{margin: 5px 0px -5px 0px; }
.pict-banner{margin: 5px 0px 5px 0px; }
.red{color: #ff0000; }
.pict1{margin: 0px 20px 10px 0px; vertical-align: top; float: left;}
.pict2{margin: 0px; display: inline-block; vertical-align:middle;}
.pict3{margin: 0 10px 0 10px; display: inline-block; vertical-align:top; float: left;}
.pict-cent{margin:10px auto;display:block;}
.pict-ul{margin: 0px 10px 10px 20px; vertical-align: top; float: left;}
.pict-ot{margin: 0px 20px 5px 20px; vertical-align: top; float: left;}
.pict-ne{max-width:250px;margin: 0px; display: inline-block; vertical-align:middle;}

.newscaption{
/*  position: relative;*/
  float:left;
  display: table;
  width: 150px;
  margin: 20px 20px 0px 20px;
  border: solid 1px #efdce7;
}
figure.newscaption p{
  color:#7c787a;
  font-size: 10px;
  line-height: 1.6em;
  margin: 0px;
  text-align: center;
}
.bookimg{
  width:  310px;
  height: 100%;
  margin-top: 0px;
  position: relative;
  display: inline-block;
  float:left;
  padding-left: 20px; }


/* base2 */
  li {
  font-size: 14px; list-style: none; display: inline;}
#base ol {
  list-style: none;
  counter-reset: ol_li; 
  font-size: 14px;
  width:90%;
  min-width:150px;
  max-width:670px;
  margin: 20px auto;}
#base li {
  word-break: break-all;
  text-align: justify;
  font-size: 14px;margin: 10px 10px 10px 10px;list-style: none;  display: block;}
#base ul{
  font-size: 14px;
  width: 90%;
  position: relative;}
#base ul li:before {
  content: '';
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 100%;
  background: #f6cd8d;
  position: relative;
  left: -10px;
  top: -3px; }
#base ol li:before {
  margin-right: .75em;
  counter-increment: ol_li; 
  content: counter(ol_li); 
  color: #f6cd8d;
  font-weight: bold; }
.ol5 {counter-reset: ol_li 5; }
.ol8 {counter-reset: ol_li 8; }
button {
  cursor: pointer; 
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  float:left;
  display: block;
  color: #9a6884;
  width: 120px;
  padding: 10px 0;
  margin: 0px 30px 10px 0px;
  background: #f9edf4;
  border: 1px solid #9a6884;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  -webkit-transition: all 0.1s ease;
  transition: all  0.1s ease;
}
button:hover{
  color: #fff;/*#c888ac*/
  background: #9a6884;
  text-shadow:0 1px 0px #000,1px 0 0px #000,0 -1px 0px #000,-1px 0 0px #000,
        -1px -1px 0px #000,1px -1px 0px #000,-1px 1px 0px #000,1px 1px 0px #000; }
button:disabled {
  cursor: auto; 
  color: #9a6884;
  background-image: none;
  background: #f9edf4;
  border-color: #f9edf4;
  text-shadow: none;}
  
/* layout base */


.container{
  width:1000px;
  height:100%;
  min-height: 100%;
  margin: 0 auto;  
  text-align: left;
  position: relative;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }
#stage {
  position: relative;
  max-width: 790px;
  margin: 0 auto;
  height: 155px;
  max-height: 155px;
  overflow: hidden;
  z-index: 5;}
.main{
  float:left;
  top:157px;
  left:210px;
  right:0;
  bottom:10px;
  display: inline-block;
  position: absolute;
  overflow : auto; }
#stage-over{
  position: absolute;
  width:790px;
  height: 150px;
  z-index: 30;
  pointer-events: none;
  background-image: url(top/topimg/header00.png);
  background-position: right;
  background-size:contain;
  border-radius: 10px;}

/* page */

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}}
@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}}
* html .clearfix{
	height: 1px; }

.mainhome{
	position: absolute;
	display: inline-block;
  width: 562px;
	margin-top: -110px;
	padding-top: 110px;
  margin-left: 0px;
  top: 0px; }
.panel{
	width: 562px;
	margin-left: 0px;
	min-height: 100%;
	position: absolute;
	display: none;
/*	display: inline-block;*/
    top: 0;
	right: 0;
	left: 0;
	background-color: #9a6884;
	margin-top: -1500%;
	z-index: 2;
	-webkit-transition: all 1.9s ease-in-out;
	transition: all 1.9s ease-in-out; }
.panel:target{
	margin-left: 0px;
	margin-top: 0%;
  top: 0px;
	background-color: #fff; }
#home:target ~ #link-home,
#portfolio:target ~ #side #header #link-portfolio,
#portfolio2016:target ~ #side #header #link-portfolio2016,
#portfolio2015:target ~ #side #header #link-portfolio2015,
#portfolio2014:target ~ #side #header #link-portfolio2014,
#portfolio2013:target ~ #side #header #link-portfolio2013,
#portfolio2012:target ~ #side #header #link-portfolio2012,
#about:target ~ #header #navigation #link-about,
#contact:target ~ #header #navigation #link-contact{
	background: #000;
	color: #fff; }

/* layout main */

.txtarea{
  width:560px;
  display: inline-block;
  text-align: left;  
  border:1px solid #9a6884;
  border-radius:10px;
  margin: 8px 5px 16px 0px;
  background: rgba(255,255,255,0.95); }
.txtarea p{
  text-align: justify;
  word-break: break-all;
  font-size: 14px;
  line-height: 1.8em;
  min-width:150px;
  max-width:520px;
  margin: 20px 20px 20px 20px; }
.txtarea p.time{
  position: absolute;
  text-align: right;  
  width: 100%;
  min-width:150px;
  max-width:520px;
  font-size: 14px;
  line-height: 1.6em;
  margin: -30px 20px 20px 20px; }
.sidetxt{
  left: 570px;
  position: absolute;
  height:100%;
  margin: 0 auto;  
  width:180px;
  text-align: center;  }
.sidetxtmain{
  float:left;
  width:190px;
  display: inline-block;
  margin: 0 auto;  
  text-align: left;  
  border:1px solid #9a6884;
  border-radius:10px;
  margin: 8px 5px 16px 5px;
  background: rgba(255,255,255,0.95); }
.sidetxtmain p{
  font-size: 14px;
  margin-bottom: 1.8em;
  line-height: 1.7;
  width:100%;
  min-width:10px;
  max-width:170px;
  margin: 10px 10px 10px 10px; }
.areafooter{
  float:left;
  margin-left: 130px; /* 130 */
  bottom:0px;
  height:100px;
  width: 370px; }
.txtarea-extension{
  width:80%;
	max-width: 490px;
  display: inline-block;
  margin: 5px 5px 10px 30px; }

/* img */


.menu{
  float:left;
  width:210px;
  height:100%;
  min-height: 100%;
  background-position: 5px 0px;
  overflow: hidden;
  position: relative;
  display: inline-block; 
  overflow: hidden;
  z-index: 10;}

figure.menu01 {
  width: 210px;
  height: 78px;
  margin: 0;
  padding: 0;
  overflow: hidden; }
figure.menu02 {
  width: 210px;
  height: 40px;
  margin: 0;
  padding: 0;
  overflow: hidden; }
.line01 {
  margin-left: 5px;
  width: 210px;
  height: 17px;
  padding: 0;
  overflow: hidden; }
.line02 {
  margin-left: 5px;
  width: 210px;
  height: 94px;
  padding: 0;
  overflow: hidden; }
.line03 {
  margin-left: 5px;
  width: 210px;
  height: 86px;
  padding: 0;
  overflow: hidden; }
.line04 {
  margin-left: 5px;
  width: 210px;
  height: 81px;
  bottom:0;
  padding: 0;
  overflow: hidden;
  position: absolute; }
.line05 {
  margin-left: 5px;
  width: 210px;
  height: 1000px;
  bottom:0;
  padding: 0;
  overflow: hidden;
  background-image: url(top/topimg/menu_right.png); }

/* hover */

.menuhover01  {background-position: 5px 0px; background-image: url(top/topimg/menu_right.png);}
.menuhover01 figure img {margin-left: 5px; -webkit-transition: .2s ease-in-out; transition: .2s ease-in-out; }
.menuhover01 figure:hover img {margin-left: -18px; }
.menuhover02  {background-position: 5px 0px; background-image: url(top/topimg/menu_left.png);}
.menuhover02 figure img {margin-left: 5px; -webkit-transition: all .1s ease-in-out; transition: all .1s ease-in-out;
/*  opacity: 0; */
}
.menuhover02 figure:hover img {margin-left: 28px; 
/*    opacity: 1;*/
/*    background: linear-gradient(to right, rgba(168, 71, 71, 0) 50px, rgb(154, 104, 132) 51px);*/
}
.countspan {font-size: 11px; }

/* modal */
.remove_cookie { 
	display:block;
  float:left;
	width:180px;
	height:40px;
	margin:20px 0 0 10px;
	color:#999;
	font-weight:bold;
	text-align:center;
	text-decoration:none;
	line-height:40px;
	background:#FFF;
	border:1px solid #CCC;
	border-radius:20px;
	cursor:pointer; }
.remove_cookie:hover { color:#333; }
.modal {
  position:fixed;
  display:none;
  z-index:9999;
  top:0px;
  left:0px;
  width:30%;
  height:100%;
  margin:0 35% 0 35%;
  color:#000;
	/* border-right: 24px solid #9a6884; */}
.modalinner {
  z-index:9999;
  width:500px;
  padding:20px;
  color:#000;
  text-align:left;
  position: relative;
  display: inline-block;
  border-radius:20px;
  top: 50%;
  left: 50%;
  -webkit-transform : translate(-50%,-50%);
  transform : translate(-50%,-50%);
  overflow: hidden;
  background: rgba(255,255,255,0.9);
  border: 1px solid #9a6884;}
.modalcross1 {
  z-index:9989;
  top: 0;left: 0;right: 0;bottom: 0;margin: auto;  
  position:absolute; background: #9a6884;
  width:48px; height:200%;
  -webkit-transform:rotate(45deg);
  transform:rotate(45deg);}
.modalcross2 {
  z-index:9989;
  top: 0;left: 0;right: 0;bottom: 0;margin: auto;  
  position:absolute; background: #9a6884;
  width:48px; height:200%;
  -webkit-transform:rotate(-45deg);
  transform:rotate(-45deg);}
.modal p {
  font-size: 0.9em;
  margin-bottom: 1.5em;
  line-height: 1.5;
  width:100%;
  min-width:150px; max-width:500px;
  text-align: left; }
.modal img {
  line-height: 1.7;}
.modal a { cursor:pointer; }
.entrance{
  max-width:90%; 
  margin:-10px 20px 0 30px; 
  /*! position: relative; */
  /*! overflow: hidden; */
  padding: 0 30px;
}
.picm{
  margin: 25px 20px 5px 20px; 
  float: left;
}
.confirmation{
  width:120px;
  height:68px;
  position: relative;
  display: inline-block;
  margin: 0 ;
  border-radius: 10px;
  border:transparent 2px solid;
  vertical-align: middle;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;}
.confirmation:hover{
  background-color: rgba(212, 133, 177, 0.3);}
.pictbox-img{margin: 0px 0px 0px 0px; width: 118px; height:63px; display: inline-block; z-index: 20;}
.pictbox-img::before,
.pictbox-img::after {
  position: absolute;
  z-index: 2;
  content: '';
  width: 0;
  height: 0;
  border: 2px solid transparent;
  border-radius: 10px;}
.pictbox-img::before {
  top: -2px;
  left: -2px;}
.pictbox-img::after {
  bottom: -2px;
  right: -2px;}
.pictbox-img:hover::before,
.pictbox-img:hover::after {
  width: 100%;
  height: 100%;}
.pictbox-img:hover::before {
  border-bottom-color: #9a6884;
  border-left-color: #9a6884;
  transition: height .1s, width .1s .1s;}
.pictbox-img:hover::after {
  border-top-color: #9a6884;
  border-right-color: #9a6884;
  transition: height .1s, width .1s .1s;}

#error {padding: 20px 0;color: #fff;background: #222;}
#error p {width: 50%; margin: 0 auto; font: bold 16px Meiryo,sans-serif;
  text-align: center;word-break: break-all;line-height: 1.6em;}
#error a {color: #f6cd8d;text-decoration: none;}
#error a:hover {color: #222;background: #f6cd8d;}