/***************************************************
スマホ
***************************************************/
@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; }

/* 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; }
  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;
}


h2 {text-align: center; font-size: 130%; color: #0091e2; margin: 8% 0 2%;}

.Introduction { width: 50%; margin: 4% auto 6%; font-size: 140%; color: #fff; text-align: center; padding: 1% 5%; background: #0091e2; border-radius: 50px;}

p.explanation { margin: 2% 4%; font-size: 4vw; }
p.explanation span {font-size: 3vw; display: block;}

div.seminar { width: 90%; margin: 4% auto 6%;}
div.seminar a { display: block; background: #666; border-radius: 6px; padding: 4%; text-align: center;text-decoration: none; color: #fff; font-size: 130%;}

#container { padding-top: 15%;}
#contents {
    padding-bottom: 10%;
    width: 100%;
    overflow: hidden;
}
#contents > section { position: relative; margin-top: 10vw; }

#contents > section::before {
	content: "";
	position: absolute;
	bottom: 0;
	width: 90vw;
	height: 72vw;
	display: block;
	background-color: #434343;
}

#contents .wrapper {
	position: relative;
	display: flex;
  flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
  margin: 0 6%;
}
#contents > section:nth-of-type(even) .wrapper { align-items: flex-end;}

#contents .photo { position: relative; overflow: hidden; }
#contents > section .photo { box-shadow: 7px 7px 7px rgba(0, 0, 0, 0.4); }

#contents .photo::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}
#contents .photo img { width: 100%;}
#contents .detail .text {font-size: 18px;}
#contents .detail .more {
	position: relative;
	margin-top: 4vw;
  margin-bottom: 4vw;
	width: 48vw;
	height: 12vw;
	display: flex;
	align-items: center;
	overflow: hidden;
}

#contents .detail .more a {
	position: relative;
	height: 100%;
	width: 100%;
	display: flex;
  padding: 0 4vw 0 2vw;
	align-items: center;
	color: #000;
	font-size: 3.5vw;
	line-height: 1em;
	letter-spacing: 0.05em;
  text-decoration: none;
  transition: 0.3s;
  background-color: #a0a0a0;
}

#contents .detail .more a::before {
	content: "";
	position: absolute;
	bottom: 6vw;
	right: 0;
	width: 12vw;
	height: 1px;
	display: block;
	background-color: #000;
}

#contents .detail .more a::after {
	content: "";
	position: absolute;
	bottom: 6vw;
	right: 0;
	width: 2.5vw;
	height: 1px;
	display: block;
	background-color: #000;
  transform: rotate(30deg);
	transform-origin: right bottom;
	transition: right 0.3s cubic-bezier(0.5, 1, 0.89, 1);
}
#contents .detail .more a:hover {opacity: 0.7; }
#contents .detail .more span {border:2px solid #333; border-radius: 6px; padding:2px 8px; margin-left: 8px;}

#contents .detail .more2 {
	position: relative;
	margin-top: 4vw;
  margin-bottom: 4vw;
	width: 75vw;
	height: 12vw;
	display: flex;
	align-items: center;
	overflow: hidden;
}

#contents .detail .more2 a {
	position: relative;
	height: 100%;
	width: 100%;
	display: flex;
  padding: 0 4vw 0 2vw;
	align-items: center;
	color: #000;
	font-size: 3.5vw;
	line-height: 1em;
	letter-spacing: 0.05em;
  text-decoration: none;
  transition: 0.3s;
  background-color: #a0a0a0;
}

#contents .detail .more2 a::before {
	content: "";
	position: absolute;
	bottom: 6vw;
	right: 0;
	width: 12vw;
	height: 1px;
	display: block;
	background-color: #000;
}

#contents .detail .more2 a::after {
	content: "";
	position: absolute;
	bottom: 6vw;
	right: 0;
	width: 2.5vw;
	height: 1px;
	display: block;
	background-color: #000;
  transform: rotate(30deg);
	transform-origin: right bottom;
	transition: right 0.3s cubic-bezier(0.5, 1, 0.89, 1);
}
#contents .detail .more2 a:hover {opacity: 0.7; }
#contents .detail .more2 span {border:2px solid #333; border-radius: 6px; padding:2px 8px; margin-left: 8px;}

/* Left
-------------------------------------------------- */
#Left .photo { width: 80vw; margin-bottom: 16px;}
#Left .detail { margin-top: auto;}
#Left .detail h5 {
	font-size: 2rem;
  font-family: 'Noto Serif JP', serif;
  font-style: italic;
  line-height: 1;
  margin-bottom: 2%;
}

/* Right
-------------------------------------------------- */
#Right::before { right: 0; opacity: 1;}
#Right .photo {	margin-right: 0;	width: 80vw;	order: 1; margin-bottom: 16px;}
#Right .detail {
	width: 90%;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
  margin-top: auto;
  order: 2;
}
#Right .detail h5 {
	font-size: 2rem;
  font-family: 'Noto Serif JP', serif;
  font-style: italic;
  line-height: 1;
  margin-bottom: 2%;
}

ul.Atlas-PdfList li a{ padding:8px 0 8px 0px; }
.ind {padding-left: 20px; text-indent: -50px;}
ul.Atlas li.txt {width: 90%;  margin: 0 auto; padding: 0; font-size: 14px; }


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

/*モーダル
---------------------------------------------*/
#modal_box .modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: #FFF;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
    transition: margin-top 0.3s ease, height 0.3s ease;
    width:90%;
    height: 18em;
    border-radius:10px; /* CSS3 */
    -webkit-border-radius:10px; /* Safari,Google Chrome */
    -moz-border-radius:10px;/* Firefox */
    display:none; 
    z-index:9999; 
    text-align:center; 
}
#modal_box .modal_box{ padding: 15px;}
#modal_box .modal_tit {
    padding: 3%;
    font-weight: bold;
    font-size: 110%;
    color: #FFF;
    background: #999;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
#modal_box .come { padding: 4% 0 0 0; font-size: 80%; color:#333;}
#modal_box ul.modal_btn { margin: 4% auto 0; width: 80%;  padding: 0; box-sizing: border-box;}
#modal_box ul.modal_btn li { float: left; width: 49%; list-style: none;}
#modal_box ul.modal_btn li+li {  margin-left: 2%;}
#modal_box ul.modal_btn li a {
    display: block;
    width: 100%;
    padding: 10%;
    color: #FFF;
    font-size: 120%;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
#modal_box ul.modal_btn li:nth-child(1) a {  background: #4DA5DE;}
#modal_box ul.modal_btn li:nth-child(2) a {  background: #999;}

/* 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;}
 
}