/*######################################
thumbnail-gallery
======================================*/
  table.my-gallery {
    width: 560px;
    margin: auto;
  }
  table.my-gallery tbody {
    border :none;
    background-color: transparent;
  }
  table.my-gallery td {
    padding: 0;
  }
  table.my-gallery tbody tr {
    background-color: transparent !important;
  }
  @media screen and (max-width: 640px) {
    table.my-gallery {
      width: 100%;
    }
  }
/*######################################
左右レイアウト
======================================*/
@media screen and (min-width: 641px){
  section.clearfix img.left {
    width: 50%;
    max-width: 418px;
    height: auto;
    float: left;
    margin: 4px 20px 12px 0;
  }

  section.clearfix img.right {
    width: 50%;
    max-width: 418px;
    height: auto;
    float: right;
    margin: 4px 0 12px 20px;
  }
}
  @media screen and (max-width: 640px){
  #media h2 {
    color: #373396;
    font-size: 20px;
    margin: 20px auto 16px;
    text-align: center;
  }
  section.clearfix img.left,
  section.clearfix img.right {
    width: 100%;
    height: auto;
    float: none;
    margin: 0 auto 6px;
  }
}
/*######################################
左右レイアウト：下揃え限定的要望対処
======================================*/
@media screen and (min-width: 1221px){
.pcmax40 {
  margin: 40px auto 4px!Important;
}
.pcmax90 {
  margin: 90px auto 4px!Important;
}
.pcmax92 {
  margin: 92px auto 4px!Important;
}
.pcmax114 {
  margin: 114px auto 4px!Important;
}
.pcmax164 {
  margin: 164px auto 4px!Important;
}
.pcmax542 {
  /*max-width: 542px!Important;*/
}
}
/*######################################
custommade_museum複製
======================================*/
/*--------------------------------------
  ブラウザの幅が750px以上 / 
--------------------------------------*/
@media (min-width: 750px) {
#custom .wrapper {
  position: relative;
  display: block;
  width: 90%;
  max-width: 1080px;
  margin: 0 auto 0;
  padding: 24px 40px 100px 0;
}
}
#custom .wrapper .tab {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 90%;
  max-width: 580px;
  padding: 8px 20px;
  box-sizing: border-box;
  margin: 0 auto 20px;
}
#custom .wrapper .tabmap {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 90%;
  max-width: 610px;
  padding: 8px 20px;
  box-sizing: border-box;
  margin: 0 auto 20px;
}
#custom .wrapper .tab a,
#custom .wrapper .tabmap a {
  text-decoration: none;
  color: #373396;
  font-size: 16px;
  font-weight: bold;
  margin: 12px;
}
#custom .wrapper .tabmap a.map {
  border: 3px solid #373396;
  padding: 2px 12px;
}
#custom .wrapper .tab p.current {
  border-bottom: 3px solid #373396;
  color: #373396;
  font-size: 16px;
  font-weight: bold;
  margin: 12px;
}
#custom .wrapper .tabmap p.map-current {
  border: 3px solid #373396;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  margin: 12px;
  padding: 2px 12px;
  background: #373396;
  box-sizing: border-box;
}
#custom .wrapper section.img img {
  display: block;
  width: 100%;
  height: auto;
}
#custom .wrapper section.txt {
  background: rgba(255,255,255,0.8);
  box-sizing: border-box;
  padding: 40px;
  margin: 0;
}
#custom h2 {
  color: #373396;
  font-size: 20px;
  margin: 0 auto 4px;
  text-align: center;
  font-weight: bold;
}
#custom h3 {
  color: #373396;
  font-size: 19px;
  margin: 0 auto 24px;
  padding: 12px 0 0 0;
  /*text-align: left;*/
  font-weight: bold;
}
#custom section.txt > div h3 {
  margin: 12px auto;
  width: 100%;
}
}
#custom h4 {
  color: #373396;
  font-size: 18px;
  margin: 12px auto;
  text-align: left;
  font-weight: bold;
}
#custom section.txt p {
  color: #373396;
  font-size: 14px;
  margin: 8px auto;
}
#custom section.txt p.big {
  color: #373396;
  font-size: 16px;
}
#custom section.txt p.big18 {
  color: #373396;
  font-size: 18px;
}
#custom section.txt p.red {
  color: #db1500;
}
#custom section.txt p.red a {
  color: #db1500;
  font-weight: bold;
  text-decoration: underline;
}
#custom section.txt p.center {
  text-align: center;
}
#custom .map img {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 40px auto;
}
#custom .box {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  flex-wrap: wrap;
}
#custom .box a {
  display: block;
  width: 33.333%;
  height: auto;
  padding: 8px;
  box-sizing: border-box;
}
#custom .box a img {
  display: block;
  width: 100%;
  height: auto;
}
#custom #crmWebToEntityForm {
width: 70%;
margin: 0 auto;
}
#custom #crmWebToEntityForm form input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  height: auto;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  padding: 8px 0;
  background-image: none;
  background-color: #373396;
  border-radius: 0!Important;
}
#custom #crmWebToEntityForm form input[type="reset"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  height: auto;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  padding: 8px 0;
  background-image: none;
  background-color: #373396;
  border-radius: 0!Important;
}
#custom p.tabletop {
width: 70%;
}
@media screen and (min-width: 641px){
#custom .bgwrap {/*bg_641px以上の場合*/
  width: 100%;
  height: initial;
  background-image: url("http://stanceworks.sakura.ne.jp/kusaba_testwp/wp-content/themes/kusaba_180811/image/custommade/bg_custommade.jpg");
  background-size: cover;
  background-attachment: fixed;
}
#custom .sns-under {
  bottom: 10px;
}
}
@media screen and (max-width: 640px){
/*#custom .bgwrap {
  width: 100%;
  height: initial;
  background-image: url("http://stanceworks.sakura.ne.jp/kusaba_testwp/wp-content/themes/kusaba_180811/image/custommade/bg_custommade_sp.jpg");
  background-size: cover;
  background-attachment: fixed;
}*//*bg_640px以下の場合_拡大率の調整が必要になる*/
#custom .bgwrap {/*bg_640px以下の場合_拡大率を調整*/
  background: none;
}
#custom::before {/*bg_640px以下の場合_拡大率を調整*/
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    -webkit-transform: translate3d(0, 0, -1px);
    transform: translate3d(0, 0, -1px);
    width: 100%;
    height: 100vh;
    background: url("http://stanceworks.sakura.ne.jp/kusaba_testwp/wp-content/themes/kusaba_180811/image/custommade/bg_custommade_sp.jpg") center/cover no-repeat;
    -webkit-background-size: cover;
  }
#custom .wrapper {
  width: 100%;
}
#custom .wrapper .tab {
  width: 90%;
}
#custom .wrapper .tab a,
#custom .wrapper .tab p.current {
  font-size: 13px;
}
#custom .box a {
  display: block;
  width: 50%;
  height: auto;
  padding: 8px;
  box-sizing: border-box;
}
#custom #crmWebToEntityForm {
width: 100%;
margin: 0 auto;
}
}
/*######################################
txtレイアウト
======================================*/
/*冒頭コメント部分*/
#about-item-leftcenter_top {
    text-align: center;
   　}
#about-item-leftcenter_top p {
    display: inline-block;
    text-align: left;
   　}
#about-item-leftcenter_top .txt16px {
    text-align: center;
   　}
#about-item-leftcenter_top .txt16px p {
    display: inline-block;
    text-align: left;
   　}
#about-item-left p {
    display: inline-block;
    text-align: left;
   　}
/*画家コメント部分*/
#about-item-leftcenter {
    text-align: left;
   　}
#about-item-leftcenter p {
    display: inline-block;
    text-align: left;
   　}
#about-item-leftcenter .txt16px {
    text-align: center;
   　}
#about-item-leftcenter .txt16px p {
    display: inline-block;
    text-align: left;
   　}
#about-item-left p {
    display: inline-block;
    text-align: left;
   　}
/*######################################
カラム
======================================*/
  .top-plus {
    padding-top: 60px;
}
/*--------------------------------------
  ブラウザの幅が750px以上 / clearfix
--------------------------------------*/
.clearfix:after {
  clear: both;
  content: "";
  display: block;
  height: 0;
}
/*画面の横幅が640px以下*/
/*@media screen and (max-width: 640px){
.pc {
  display: none!Important;
}
}*/

/*画面の横幅が641px以上*/
/*@media screen and (min-width: 641px){
.sp {
  display: none!Important;
}
}
.inner:after {
  content: "";
  clear: both;
  display: block;
}
.clearfix:after {
  content: "";
  clear: both;
  display: block;
}*/
/*--------------------------------------
  ブラウザの幅が750px以上 / 
--------------------------------------*/
@media (min-width: 750px) {
   /* leftカラムの装飾 */
    .leftCol{
    float: left;
    width: 50%;
  }
    .leftCol img {
    margin: 0px 0px 0px 0px;
    /*max-width: 90%; */
    text-align: center;
  }
    /*.leftCol img {
    margin: 0px 40px 0px 0px;
    max-width: 90%; 
    text-align: center;
  }*/
   /* rightカラムの装飾 */
    .rightCol {
    float: right;
    width: 48%;
    /*width: 50%;*/
  }
    .rightCol img {
    margin: 0px 0px 0px 20px;
    max-width: 90%; 
    text-align: center;
  }
    /*.rightCol img {
    margin: 0px 30px 0px 10px;
    max-width: 90%; 
    text-align: center;
  }*/
  }
  .bottom-plus {
    /*padding-bottom: 80px;*/
    margin-bottom: 100px;
}
   /* oneカラムの装飾 */
    .oneCol {
    /*text-align: center;*/
    max-width: 90%;
    margin: 0 auto;
  }
}
/*--------------------------------------
  ブラウザの幅が750px以下 / デバイス最小
--------------------------------------*/
@media (max-width: 750px) {
   /* oneカラムの装飾 */
    .oneCol {
    /*text-align: center;*/
    max-width: 100%;
    margin: 0 auto;
  }
    .oneCol img {
    /*text-align: center;*/
    max-width: 100%;
    margin: 0px 0px 0px 0px;
  }
   /* PCのみ改行する */
    .br-pc { display:none; }
}