/***************************************************
スマホ
***************************************************/
@media screen and (max-width: 639px) {

.pc {display: none;}
.sp {display: block;}
 
body { line-height: 1.7; font-size: 1.4rem; }

/* ローダー
--------------------------------------------*/
.loader p{ background-size: 200px auto;}

div#logo {
	width: 70%;
	margin: 0 auto;
}
.main_img { width: 60%; position: relative; margin: 4rem auto 3rem;}
.copy { padding: 0 3rem;}

.theme_copy { font-size: 2.5rem; padding: 0 3rem; }
 
#container { padding-top: 15%;}
#contents { padding-bottom: 10%; width: 100%; overflow: hidden;}

/* X
--------------------------------------------*/
#x-frame { width: 80%; }
ul.x {display: block;  padding: 1.2rem;}
ul.x li.x-logo { width: 70%; padding: 1rem; margin: 0 auto 2rem;}
ul.x li.x-logo img {width: 40%; }
ul.x li.x-read { width: 100%; padding: 0; margin: 0 auto; text-align: center;}
.polisy {text-align: center;}
 
.bg_gold {padding: 3rem 1rem 2rem; margin: 6rem 0; }
 
/* タイトル リボン
-------------------- */
h2.ribbon { font-size: 2rem; font-weight: bold; color: #fff; margin: 0 auto;}
h2.ribbon { line-height: 1.5;}
 
/* セミナーカード
-------------------- */
ul.card >li { width: 98%; padding: 1.5rem 1rem; }
ul.card_inner { display: flex; justify-content: space-around;}
ul.card_inner li.photo { width: 35%;  }
 ul.card_inner li.photo figure { font-size: 1.4rem; margin-bottom: 1rem; }
  ul.card_inner li.photo figure span { font-size: 1.2rem; }
ul.card_inner li.card_contents { width: 65%; padding: 0 0.5rem 0 1rem; }
 ul.card_inner li.card_contents .theme { font-size: 1.4rem; padding:0.3rem 0.5rem;  margin-bottom: 0.5rem}

.btn,
a.btn,
button.btn {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}
a.btn-flat {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0.5rem;
  color: #fff;
  border-radius: 0;
  background: #000;
}
a.btn-flat span {
  position: relative;
}
a.btn-flat:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 20rem;
  height: 20rem;
  content: "";
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
  transform: translateX(-98%) translateY(-25%) rotate(45deg);
  background: #b29947;
}
a.btn-flat:hover:before {
  -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
  transform: translateX(-9%) translateY(-25%) rotate(45deg);
}
 
h1.Tit_sp {
  position: absolute;
  top: 45%;
  left: 0;
  right: 0;
  text-align: center;
  text-shadow: 1px 2px 3px #000;
  line-height: 1.7;
}

 
/* ColorBox */
#cboxTopLeft{ width:0!important; }
#cboxTopRight{ width:0!important; }
#cboxBottomLeft{ width:0!important; }
#cboxBottomRight{ width:0!important; }
#cboxMiddleLeft{ width:0!important; }
#cboxMiddleRight{ width:0!important; }

/* トップページへボタン
-------------------- */
.pagetop {bottom: 32px;right: 16px;}

/* width
-------------------- */
.wdps90 {width: 90%;} 
 
/* margin-bottom
-------------------- */
.mg0a {margin: 0 auto;} .mgb20 {margin-bottom: 2rem!important;} .mgb40 {margin-bottom: 4rem!important;} .mgb50 {margin-bottom: 5rem!important;} .mgb60 {margin-bottom: 6rem!important;} .mgb70 {margin-bottom: 7rem!important;} .mgb80 {margin-bottom: 8rem!important;} .mgb90 {margin-bottom: 6rem!important;}
 
}