@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;
  }
}

*{
  margin:0px;
  padding:0px;
}
html{
  height: 100%;
  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; }

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

img {
	border-style:none;
	border: 0px;
}

.txtbox{
  width: 40%;
  display: table; 
  }
.newimg {background-position: 5px 0px;
  background-image: url(topimg/pictnew.jpg);
  position: relative; }
.fakelink{
  line-height: 1.5;
  color: #b87098;
  display: block;
}
.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: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;
  padding: .5em .75em;
  border-left: 8px solid #f6cd8d;
  margin: 10px 20px 10px 40px; 
  width: 60%;
  display: inline-block;
}
h2 {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.6pm;
  width: 90%;
  max-width: 670px;
  margin: 20px auto;
  display: block;
  clear: both;}
hr {height: 0; margin: 0; padding: 0; border: 0;}
.textbor{width: 80%;margin: 0 auto;  border-top: 1px dashed #cd8cc1;}
.textbor2{
  width: auto;
  margin: 0 30px 0 30px;
  border-top: 1px dashed #cd8cc1;
  display: block;
}
.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;}
.red{
  color: #ff0000;
}
.res{color: #be6ca3; }
.pict2{margin: 0px 0px 0px 20px; display: inline-block; vertical-align:middle;}
.pict3{margin: 0px auto 10px auto; display: block; vertical-align:top;}
.pict4{margin: 5px 0px 5px 0px; display: inline-block; vertical-align:middle; }
.pict5{margin: 0px auto 10px auto;  display: block; border-radius: 75px; vertical-align:top;}
.pictplus{width: 85%; max-width: 100%; margin: 0 auto; display: block;}
@media screen and (min-width:500px) { 
  .pictplus{max-width: 400px; margin: 0 auto; }
}

textarea{
  display: block;
  outline: 0;
  font-size:14px;
  border:1px solid #9a6884;
  width:90%;
  min-width: 200px;
  max-width: 90%;
  min-height: 35px;
  background: #fff;
  margin: 0px auto; 
} 
.inputs{
  display: block;
  outline: 0;
  padding:4px;
  font-size:14px;
  border:1px solid #9a6884;
  min-width: 200px;
  max-width: 90%;
  background: #fff;
  margin: 0px auto; 
  width:90%; }

button {
  cursor: pointer; 
  text-decoration: none;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: bold;
  float:left;
  display: block;
  color: #b87098;
  padding: 10px 20px;
  margin: 10px 10px 20px 30px;
  background: #f9edf4;
  border: 1px solid #9a6884;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  -webkit-transition: all 0.1s ease;
  transition: all  0.1s ease;
}
@media screen and (max-width:400px) { 
  button{
  width: auto;
  padding: 10px 20px;}
}
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;}

/*main2*/

#base ol {
  list-style: none;
  counter-reset: ol_li; 
  width:90%;
  min-width:150px;
  max-width:670px;
  margin: 20px auto;}

@media screen and (min-width:670px) { 
div#base ol{
  width:100%;
}
}
#base li {
  font-size: 14px; list-style: none; display: inline;}
#base li:not(.inp) {
  font-size: 14px;margin: 10px 10px 10px 10px;list-style: none; display: block; }
#base ul {
  width: 90%;
  margin:20px auto;
  position: relative;}
#base ul li:not(.inp):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(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;
}


.footer{
  float:left;
  bottom:0px;
  width: 80%;
  background:#fff;
}

/* page */


.homearea{
	display: inline-block;
    width: 100%;
    margin: 0 auto;  
	background-color: #fff;
}

.helpaccordion label {
  color: #b87098;
  font-size: 14px;
  text-decoration: none;
  margin: 10px 10px 0px 20px;
  cursor: pointer;}
@media screen and (max-width:320px) { 
.helpaccordion label{
  margin: 10px 10px 0px 0px;}
}
.helpaccordion p{
  font-size: 14px;
  display: inline-block;
  margin: 10px 0px 10px 20px;
  -webkit-transition: 0.1s;
  transition: 0.1s;}
@media screen and (max-width:320px) { 
div.helpaccordion p{
  width: 100%;
  margin: 10px 10px 0px 10px;}
}
.helpaccordion label:hover{
  color: #fff;
  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; 
}
.helpaccordion input[type="checkbox"]{
    display: none; }
.helpaccordion .helpaccordionIn {
  overflow: hidden;
  width:90%;
  padding: 0;
  margin: 20px 20px 0px 20px;
  max-height: 0;
  opacity: 0;
  text-decoration: none;
  -webkit-transition: all 0.5s ease;
  transition: all  0.5s ease; }
.helpaccordion .helpaccordionIn p{
  font-size: 14px;
  margin-bottom: 1.8em;
  line-height: 1.7;
  max-width:600px;
  padding: 0px 0px 0px 0px; }
.helpaccordion input[type="checkbox"]:checked + .helpaccordionIn{
  max-height: 500px;
  opacity: 1;
  padding-bottom: 15px;
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;}


/* layout main */


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

.txtarea-half{
  width:90%;
  display: inline-block;
  text-align: left; 
  margin: 0 20px 0 20px;
}
@media screen and (min-width:670px) { 
div.txtarea-half{
  width:45%;
  margin: 0 0px 0 0;
}
}

.txtarea-extension{
  display: inline-block;
  width:80%;
  max-width: 450px;
  float:left;
  margin: 0px 10px 0px 0px; }
.txtarea-extension2{
  margin: 0px 20px 0px 10px;
}
/* img */

.menu2 img {
	border-style:none;
	border: 0px;
	vertical-align:bottom;
}

/* radio button */

input[type="radio"] {
  display: none;
}
label:not(.acc) {
  position: relative;
  display: inline-block;
  padding: 3px 3px 3px 25px;
  cursor: pointer;
}
label:not(.acc)::before,
label:not(.acc)::after {
  position: absolute;
  content: '';
  top: 50%;
  border-radius: 100%;
  -webkit-transition: all .2s;
  transition: all .2s;
}
label:not(.acc)::before {
  left: 0;
  width: 14px;
  height: 14px;
  margin-top: -8px;
  background: #f3f3f3;
  border: 1px solid #ccc;
}
label:not(.acc):hover::before {
  background: #fff;
}
label:not(.acc)::after {
  opacity: 0;
  left: 4px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: #9a6884;
  -webkit-transform: scale(2);
  transform: scale(2);
}
input[type="radio"]:checked + label:not(.acc)::before {
  background: #fff;
  border: 1px solid #9a6884;
}
input[type="radio"]:checked + label:not(.acc)::after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}


 
/* extension */

.resmain{
  width: 90%;
  margin-left:5%; 
  margin-right:5%; 
  height: 230px;
  position: relative;
  overflow : auto; }
.resmain p{
  width: 85%;
  font-size: 12px;
  line-height: 1.5; }
.reswin{
  width: 90%;
  height: 200px;
  padding: 10px 10px 10px 10px;
  background: #fff;
  display: inline-block;
  position: absolute;
  overflow : auto;
  border-radius: 5px;
  border: 1px dashed #9a6884;
/*  #ffd6f1;*/
/*  border-bottom: 1px solid #cd8cc1;*/
}
.mtags{position: absolute;}
.wid80{width: 90%; clear: both; margin: 0 auto;}
.wid90{width: 90%; 
  margin: 10px auto; 
  clear: both;
  border:1px solid #9a6884;
  border-radius:10px;
  display: flow-root;
}
.wid80 p{margin: 20px 0px 20px 0px; }

/*works*/

@media screen and (max-width:768px) { 
div.newsimg{
  width:90%;
  padding: auto;
}
}

.newsimg{
  width:  310px;
  height: 100%;
  margin: 10px 0 10px 0;
  position: relative;
  display: inline-block;
  float:left;
  padding-left: 20px; }
.bookimg{
  width:  310px;
  height: 100%;
  margin-top: 0px;
  position: relative;
  display: inline-block;
  float:left;
  padding-left: 20px; }

.newscaption{
  border: solid 1px #efdce7;
}
.imgbox{
  font-size: 0.8em;
  line-height: 1.5em;
  display: block;
  text-align: left;
  position: relative;
  border-radius: 10px;
  border-right: 1px solid #FFD6F1;
  border-bottom: 1px solid #cd8cc1;
  margin: 10px 20px;
  padding: 10px 5px;
}
.imgbox p{
  font-size: 12px;
  line-height: 1.5em;
  margin: 0;
  vertical-align: middle;
  display: table-cell;
  width: auto;
  /*! min-width: auto; */
}

/*pict*/

.pictbox{
  font-size: 0.8em;
  line-height: 1.7;
  max-width: 165px;
  width: 22%;
  height: 80px;
  margin: 0px 5px 5px 10px;
  padding-left: 15px;
  display: inline-block;
  vertical-align:top;
  box-sizing: border-box;
  text-align: left;
  position: relative;
  border-radius: 10px;
  border-right: 1px solid #FFD6F1;
  border-bottom: 1px solid #cd8cc1; }
@media screen and (max-width:767px) { 
  div.pictbox{width: 45%;
  margin: 0px 5px 5px 5px;}
}
 .pictbox p{
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  vertical-align: middle;
  text-align: left;
  display: table-cell;
  width: auto;
  min-width: auto;
}
@media screen and (max-width:360px) { 
  .pictbox p{
  font-size: 0.8em;}
  .pictbox span{
  font-size: 0.8em;}
}
@media screen and (max-width:320px) { 
  div.pictbox{
  padding-left: 3px;}
}
.newwinpost{
  width: 70%;
  margin: 30px auto; 
  border-left: 1px solid #FFD6F1;
  border-right: 1px solid #cd8cc1;
  text-align: left; }
.newwinpost p{
  font-size: 14px;
  line-height: 1.7;
  margin: 20px 10px 20px 10px; }


.imgaccordion label {
  color: #b87098;
  font-size: 12px;
  text-decoration: none;
  margin: 10px 0px 0px 30px;
  display: block;
  cursor: pointer;}
.imgaccordion p{
  font-size: 12px;
  margin: 10px 0px 0px 0px;
  -webkit-transition: 0.1s;
  transition: 0.1s;}
.imgaccordion label:hover{
  color: #fff;
  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; 
}
.imgaccordion input[type="checkbox"]{
  display: none; }
.imgaccordion .imgaccordionIn {
  overflow: hidden;
  width:100%;
  padding: 5px 0 0 0;
  margin: 5px auto;
  max-height: 0;
  opacity: 0;
  text-decoration: none;
  -webkit-transition: 0.5s;
  transition: 0.5s; }
.imgaccordion input[type="checkbox"]:checked + .imgaccordionIn{
  max-height: 500px;
  opacity: 1;
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;}

/* hover */

.pictbox-img{
  margin: 5px 5px 5px 0px; 
  width: 64px; 
  height:40px; 
  display: table-column; 
  vertical-align:top; 
  border:2px solid #fff;
  float:left;
  -webkit-transition: all .3s;
  transition: all .3s;}
.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;}


/* menu1 */

.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}
.clearfix:after {
    clear:both;
}
.clearfix {
    zoom:1;
}
#menumtitle0{
    width:15%;
    height: 59px;
    background-size: cover;
    float: left;
    background-repeat: round;
    background-image: url(topimg/menuml.png);
}
#menumtitle1{
    width:15%;
    height:59px;
    float: left;
    background-size: 100% 100%;
    background-image: url(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);*/
}
.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;}
