@media (max-width: 1000px) {
  div.menu, div.footer,div.modal,div#side,div.areafooter{
    display: none;
  }
  div.header, div.main{
    width: 100%;
  }
  img{
    max-width: 100%;
  }
  #portfolio2016,#portfolio2015,#portfolio2014,#portfolio2013{
    opacity: 0;
  }  
  ol.flex-control-nav{
    display: none;
  }
  ul.flex-direction-nav{
    display: none;
  }
}

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

/*main*/
*{
  margin:0px;
  padding:0px;
}
html{
  height: 100%;
  overflow-x: hidden;
}
body{
  width: 100%;
  height: 100%;
  font-family:"ヒラギノ角ゴ Pro W3",メイリオ,Osaka,Arial,Verdana,"ＭＳ Ｐゴシック",sans-serif;
  background: #ffffff;
}
body {
    animation: fadeIn 1s ease 0s 1 normal;
    -webkit-animation: fadeIn 1s ease 0s 1 normal;
}
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
.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;
  font-size: 16px;
  margin-bottom: 1.8em;
  line-height: 1.7;
  margin: 20px 20px 20px 0px; 
  width: 100%;
}
h3 {
  color: #111;
  font-size: 16px;
  margin-bottom: 1.8em;
  line-height: 1.7;
  padding: .5em .75em;
  border-left: 8px solid #f6cd8d;
  margin: 20px 20px 0px 40px; 
  width: 60%;
}
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 auto 0px auto; vertical-align: top; display: block;}
.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 auto 0px auto; vertical-align: top; display: block;}
.italic {font-family:Dotum; width:80%; max-width:500px; margin:0 auto;font-size: 14px;line-height: 1.6em;}
.pict-ne{margin: 0px; display: inline-block; vertical-align:middle;}
.newscaption{
/*  position: relative;*/
  display: table;
  max-width:60%;
  height:auto;
  margin: 20px auto;
  border: solid 1px #efdce7;
}
figure.newscaption p{
  color:#7c787a;
  font-size: 10px;
  line-height: 1.6em;
  margin: 0px;
  text-align: center;
}

/*main2*/

#base ol {
  list-style: none;
  counter-reset: ol_li; 
  font-size: 14px;
  width:100%;
  min-width:150px;
  max-width:670px;
  margin: 20px auto;}
#base li {
  text-align: justify;  
  font-size: 14px;margin: 10px 10px 10px 10px;list-style: none; }
#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; }

/* layout base */

.container{
  width:100%;
  min-height: 100%;
  margin: 0 auto;  
  text-align: left;
  background:#fff;
  position: relative;
}

#stage {
  width: 100%;
  position: relative;
  margin: 0 auto;
  background:#ffffff;
  overflow: hidden;
  z-index: 5;}

#stage-over{
  position: absolute;
  width: 100%;
  height:100%;
  z-index: 30;
  pointer-events: none;
  background-image: url(top/topimg/header00m.png);
  background-position: right;
  background-size:contain;
  border-radius: 10px;}

.main{
  width: 100%;
  margin: 0 auto;  
  max-width:768px;
/*  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60px, #ffe6f4 200px,#ffe6f4 400px, #f8d8ea 800px);*/
  display: block;
  position: relative;
}
body > .main {
    height: auto;
}

/* page */


.homearea{
	display: inline-block;
  width:65%;
}

.panel{
    width: 100%;
    margin: 0 auto;  
    position: relative;
	display: none;
	background-color: #fff;
}

/* layout main */

.txtarea{
  width:90%;
  display: block;
  text-align: left; 
  background: #fff;
  border:1px solid #9a6884;
  border-radius:10px;
  margin: 8px auto;
}
.txtarea p{
  font-size: 14px;
  text-align: justify;
  word-break: break-all;
  line-height: 1.7;
  width: 90%;
  margin: 20px 20px 20px 20px;
}
.txtarea p.time{
  text-align: right;  
  font-size: 14px;
  margin-bottom: 1.8em;
  line-height: 1.7;
  margin: 0px 20px 0px 20px;
  /*! display: inline; */
}

.txtarea-extension{
  margin: 0 0 0 20px;
}

.sidetxt{
  left: 68%;
  position: absolute;
  height:100%;
  margin: 0 auto;  
  width:30%;
  text-align: center;  
}

.sidetxtmain{
  float:left;
  width:100%;
  display: inline-block;
  margin: 0 auto;  
  text-align: left;  
  border:1px solid #9a6884;
  border-radius:10px;
  margin: 8px 5px 24px 5px;
}

.sidetxtmain p{
  font-size: 14px;
  margin-bottom: 1.8em;
  line-height: 1.7;
  width:100%;
  min-width:10px;
  max-width:180px;
  margin: 10px 10px 10px 10px;
}

.areafooter{
  /*! float:left; */
  margin: 30px auto; /* 130 */
  bottom:0px;
  /*! height:100px; */
  width: 95%;
  background:#fff;
}
.footbut{
  width: 50%;
  display: inline-block;
  text-align: center;
  margin: auto;
}

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;
}
button:disabled {
  cursor: auto; 
  color: #9a6884;
  background-image: none;
  background: #f9edf4;
  border-color: #f9edf4;
  text-shadow: none;}

/* menu1 */

.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}
.clearfix:after {
    clear:both;
}
.clearfix {
    zoom:1;
}
#menumh{
	padding: 0 20px;
	margin: 0 auto 0px;
}
#menumtitle0{
    width:15%;
    height: 59px;
    background-size: cover;
    float: left;
    background-repeat: round;
    background-image: url(top/topimg/menuml.png);
}
#menumtitle1{
    width:15%;
    height:59px;
    float: left;
    background-size: 100% 100%;
    background-image: url(top/topimg/menum.png);
}
#menumtitle2{
    background-size: cover;
    width: auto;
    margin-left: 29%;
    height: 40px;
    -webkit-transition: all 0.7s ease;
    transition: all  0.7s ease;
	background: rgba(154,104,132,1);
}
#menum {
	margin: 0 auto 23px;
	width: 100%;
    z-index: 10;
    height: 40px;
	box-shadow: 0px 3px 5px 0px rgba(103, 36, 73, 0.56);
  background: linear-gradient(to right, rgba(168, 71, 71, 0) 29%, rgb(154, 104, 132) 30%, rgba(203, 168, 187, 0.7) 550px);
}
@media screen and (max-width:550px) { 
  div#menum{
  background: linear-gradient(to right, rgba(168, 71, 71, 0) 29%, rgb(154, 104, 132) 30%, rgba(203, 168, 187, 0.7) 300px);}
}

/* menu2 */

ul#mmenu li {
  font-size: 14px;
  list-style: none;
  float: right;
  text-align: right;
  height: 37px;
  margin-right: 1px;
  width: 100px;
  border: 1px solid transparent;
  position: relative;
  z-index: 10;
}
.ylef{
  position: absolute;
  left: 5px
}
ul#mmenu li a {
  padding: 10px 8px;
  display: block;
  text-decoration: none;
  z-index: 10;
}ul#mmenu li a:hover {
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, #9a6884 30%,#9a6884 100%);
}
ul.msubm li {
  float: none;
}
ul.msubm li ul.msubm {
  position: absolute;
  right: 100px;
  top: 10px;
  display: none;
  z-index: 12;
}
#menum li ul li {
  background: rgba(255,255,255,0.9);
  border: 1px solid #9a6884;
  float: none;
  border-top: none;
  z-index: 12;
}
#menum li ul li:first-child {
  border-top: 1px solid #9a6884;
}
#menum li ul li a:hover {
  color: #fff;
  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;
  z-index: 11;
}
#menum li ul li:last-child a {
  z-index: 10;
}
.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 12;　
/*  background: rgba(255,255,255,0.5);*/
}
div.fixed2 {
/*  background: linear-gradient(to right, #9a6884 0%, rgba(203, 168, 187, 0.7) 30%)!important;*/
  background: rgba(203, 168, 187, 0)!important;
}
#lin {
  color: #ffffff;
  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;}

/* modal */

@-webkit-keyframes flash {
	0% {opacity: .4;}
	100% {opacity: 1;}}
@keyframes flash {0% {opacity: .4;}100% {opacity: 1;}
}

.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 figure img {
  margin-left: 5px;
  -webkit-transition: .1s ease-in-out;
  transition: .1s ease-in-out;
}
.menuhover02 figure:hover img {
  margin-left: 28px;
}
.modal {
  position:absolute;
  display:inline;
  z-index:9999;
  top:20px;
  width:100%;
  margin:0 auto;
  color:#000;
}
.entrance{
  display: table;
  width:90%; 
  margin:0 auto;
  overflow: visible;
}
.entrance figure:hover img {
	opacity: 1;
	-webkit-animation: flash 1.5s;
	animation: flash 1.5s;}

.picm{
  width: 100%;
  position: relative;
  display: table-cell;
  vertical-align: middle;
  float: left;
}
@media screen and (max-width:500px) { 
  .picm{
  width: 170px;
  display: block;
  margin: 0 auto;
  float: none;}
}
.confirmation{
  position: relative;
  display: table-cell;
  border-radius: 10px;
  border:transparent 2px solid;
  margin:10px 10px 5px 0px;
  vertical-align: middle;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;}
@media screen and (max-width:500px) { 
div.confirmation{
  width: 40%; 
  height: 70px; 
  position: relative;
  display: inline-block;
  border-radius: 10px;
  margin:10px 4%;
  border:transparent 2px solid;
  box-sizing: border-box;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;}
}
.confirmation:hover{
  border:#9a6884 2px solid;
  background-color: rgba(154, 104, 132, 0.2);}
.pictbox-img{
  margin: 0px 0px 0px 0px; 
  width: 118px; 
  height:63px; 
  display: inline-block; 
  z-index: 20;
}
.modalinner {
  z-index:9999;
  padding:10px 10px;
  color:#000;
  width:80%;
  margin:0 auto;
  text-align:left;
  position: relative;
  border-radius:20px;
  overflow: hidden;
  background: rgba(255,255,255,0.9);
  border: 1px solid #9a6884;}
@media screen and (min-width:750px) { 
div.modalinner {
  z-index:9999;
  padding:10px 10px;
  color:#000;
  width:60%;
  margin:0 auto;
  text-align:left;
  position: relative;
  border-radius:20px;
  overflow: hidden;
  background: rgba(255,255,255,0.9);
  border: 1px solid #9a6884;}
}
.modal p {
  font-size: 0.9em;
  margin-bottom: 1.2em;
  line-height: 1.5;
  text-align:left;
}
.modal ul { text-align:center; }
.modal li { display:inline; }
.modal a { cursor:pointer; }
