@charset "UTF-8";
html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: YakuHanJP,'Noto Serif JP', serif;
  letter-spacing: 0.2em;
  line-height: 2em;
  font-size: 14px;
  height: 100%;
}
.wrap {
  overflow: hidden;
}
.marker-animation.active {
  background-position: 0% 85%;
}
.marker-animation-1.active {
  background-position: 0% 85%;
}
.marker-animation-2.active {
  background-position: 0% 85%;
}

.marker-animation {
  background-image: -webkit-gradient(linear, left top, right top, color-stop(50%, #7fb7b7), color-stop(50%, transparent));
  background-image: linear-gradient(to right, #7fb7b7 50%, transparent 50%);
  background-position: 100% 85%;
  padding-bottom: 10px;
  background-size: 200% 6px;
  background-repeat: no-repeat;
  -webkit-transition: background-position 1s ease-out;
  transition: background-position 1s ease-out;
}
.marker-animation-1 {
  background-image: -webkit-gradient(linear, left top, right top, color-stop(50%, #7fb7b7), color-stop(50%, transparent));
  background-image: linear-gradient(to right, #7fb7b7 50%, transparent 50%);
  background-position: 100% 85%;
  padding-bottom: 10px;
  background-size: 200% 6px;
  background-repeat: no-repeat;
  -webkit-transition: background-position 1s 0.5s ease-out;
  transition: background-position 1s 0.2s ease-out;
}
.marker-animation-2 {
  background-image: -webkit-gradient(linear, left top, right top, color-stop(50%, #7fb7b7), color-stop(50%, transparent));
  background-image: linear-gradient(to right, #7fb7b7 50%, transparent 50%);
  background-position: 100% 85%;
  padding-bottom: 10px;
  background-size: 200% 6px;
  background-repeat: no-repeat;
  -webkit-transition: background-position 1s 0.5s ease-out;
  transition: background-position 1s 0.4s ease-out;
}

.sp_only {
  display: none;
}

#g_message, #g_seminar, #g_profile, #g_contact {
  padding-top: 60px;
  margin-top: -60px;
}

header nav.pc_only {
  position: fixed;
  width: 100%;
  z-index: 10;
}

header nav.pc_only ul {
  padding: 1%;
  text-align: right;
  background: rgba(255, 255, 255, 0.6);
}

header nav.pc_only ul li {
  display: inline-block;
  padding-right: 5%;
}

header nav.pc_only ul li:last-child {
  padding-right: 0;
}

header nav.pc_only ul a {
  color: #000;
}

header nav.pc_only ul a:hover,
.seminar p a:hover {
  border-bottom: 0.3em solid #7fb7b7;
}

header .top_box {
  position: relative;
}

header .top_box h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

header .top_box .topimg02 {
  position: absolute;
  right: 10%;
  bottom: 5%;
  width: auto;
}

#container {
  margin: 50px auto 100px;
  width: 1000px;
}

#container .box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 120px;
}

#container .box .title {
  width: 20%;
}

#container .box .message {
  width: 70%;
  margin-top: 150px;
}

#container .box .message h3 {
  margin-bottom: 1em;
  margin-left: -1.2em;
  font-size: 20px;
  font-weight: bold;
  line-height: 2.2;
  transform: skewX(-10deg);
  display: inline-block;
  padding: 0 1em
}
.indent-1 {
  margin-left: 3em;
}
.indent-2 {
  margin-left: 6em;
}
@media screen and (max-width: 640px){
  #container .box .message h3{
    margin-left: -0.4em;
    padding: 0;
  }
  .indent-1 {
    margin-left: 0.3em;
  }
  .indent-2 {
    margin-left: 0.6em;
  }
  #container .box .message h3 {
    font-size: 14px;
    width: 110%;
  }
  #container .box .message {
    font-size: 14px;
  }
}
@media screen and (max-width: 374px){
  #container .box .message h3{
    font-size: 13px;
    width: 120%;
    margin-left: -1.8em;
  }
  #container .box .message {
    font-size: 13px;
  }
}

#container .box .message p .emphasis {
  font-size: 18px;
  font-weight: 900;
}

#container .box .seminar {
  width: 70%;
  margin-top: 150px;
}

#container .box .seminar .seminar_P {
  margin: 20px 0;
  font-size: 16px;
  letter-spacing: 0em;
  line-height: 1.5em;
}

#container .box .seminar .seminar_textbox {
  background-repeat: no-repeat;
  margin-bottom: 15px;
}

#container .box .seminar .seminar_textbox h4 {
  padding-top: 20px;
  font-size: 24px;
  color: #007171;
}

#container .box .seminar .seminar_textbox .seminar_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  padding: 10px 0;
  border-bottom: solid 1px #cccccc;
}

#container .box .seminar .seminar_textbox .seminar_box .sub {
  padding-right: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #007171;
}

#container .box .seminar .seminar_textbox .seminar_box .text .sub_text {
  font-size: 13px;
}

#container .box .seminar .seminar_textbox .seminar_box .text .main_text {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

#container .box .seminar .seminar_textbox .seminar_box:last-child {
  border-bottom: none;
}

#container .box .seminar .price {
  text-align: right;
  font-size: 12px;
}

#container .box .seminar .more {
  text-align: right;
  font-weight: bold;
  margin-bottom: 3em;
}

#container .box .seminar .more a {
  color: #000;
}

#container .box.rev {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}

#container .profile_textbox {
  width: 80%;
  margin: 0 0 0 auto;
  letter-spacing: 0.1em;
}

#container .profile_textbox .profile {
  margin-top: 150px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

#container .profile_textbox .profile p {
  padding-right: 2em;
  text-align: right;
  font-size: 18px;
}

#container .profile_textbox .profile img {
  width: auto;
  display: block;
}

#container .profile_textbox .profile_title {
  margin-top: 30px;
}

#container .profile_textbox .profile_title img {
  width: auto;
}

#container .profile_textbox .profile_text {
  margin: 10px 0;
  padding-bottom: 20px;
  border-bottom: solid 0.5px #000;
}

#container .profile_textbox .profile_text h5 {
  font-size: 16px;
  font-weight: bold;
  color: #007171;
}

#container .profile_textbox .profile_text:last-child {
  border-bottom: none;
}

#container .box2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  margin: 100px 0;
}

#container .box2 img {
  width: 280px;
}

.contact_info {
  text-align: center;
}

.contact_info p {
  font-size: 20px;
  line-height: 1.7;
}

.contact_info p span {
  font-weight: bold;
}

footer {
  text-align: center;
  background: #c1c1c1;
}

#page_top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 900;
}

#page_top img {
  width: auto;
}

#page_top a {
  display: block;
}

#page_top a:hover {
  text-decoration: none;
  opacity: 0.7;
}

@media screen and (max-width: 1024px) {
  .pc_only {
    display: none;
  }
  .sp_only {
    display: block;
  }
  #g_message, #g_seminar, #g_profile, #g_contact {
    padding-top: 100px;
    margin-top: -100px;
  }
  

  
  header nav.sp_only {
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
  }
  header nav.sp_only ul {
    text-align: center;
    background: #e7f2c5;
  }
  header nav.sp_only ul li {
    display: inline-block;
    line-height: 50px;
    padding: 0 5%;
  }
  header nav.sp_only ul li:last-child {
    padding-right: 0;
  }
  header nav.sp_only ul a {
    color: #000;
  }
  header nav.sp_only ul a:hover {
    border-bottom: 0.3em solid #7fb7b7;
  }
  header nav.sp_only.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  #container {
    width: 100%;
    margin: 0px auto 50px;
    padding: 100px 5% 5%;
  }
  #container .recommended {
    margin-bottom: 3em;
  }
  #container .box {
    display: block;
    margin-bottom: 3em;
  }
  #container .box .title {
    width: 100%;
    margin-left: -5%;
    margin-bottom: 1em;
    padding-right: 20%;
  }
  #container .box .message {
    width: 100%;
    margin-top: 0;
    margin-bottom: 7em;
  }
  #container .box .seminar {
    width: 100%;
    margin-top: 0;
    margin-bottom: 7em;
  }
  #container .box .seminar .seminar_textbox {
    padding-left: 0;
  }
  #container .box .profile {
    width: 100%;
    margin-top: 0;
    margin-bottom: 4em;
  }
  #container .box .profile_textbox {
    width: 100%;
  }
  #container .box .profile_textbox .profile_title {
    margin-top: 0;
  }
}

@media screen and (max-width: 767px) {
  header nav.sp_only ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  header nav.sp_only ul li {
    padding: 0px;
    width: 50%;
    line-height: 40px;
    border-bottom: solid 0.5px #fff;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  header nav.sp_only ul li:nth-child(odd) {
    border-right: solid 0.5px #fff;
  }
  #container {
    margin: 0px auto 50px;
    padding: 130px 5% 5%;
    box-sizing: border-box;
  }
  #container .box .title {
    padding-right: 0;
  }
  #container .box .profile_textbox .profile {
    display: block;
    width: 240px;
    margin-left: auto;
    margin-right: auto;
  }
  #container .box .seminar .seminar_P {
    font-size: 14px;
  }
  #container .box .seminar .seminar_textbox h4 {
    font-size: 16px;
  }
  #container .box .seminar .seminar_textbox .seminar_box .text .main_text {
    font-size: 16px;
  }
  #container .box .seminar .price,
  #container .box .seminar .more{
    text-align: center;
  }
  #container .box .profile_textbox .profile p {
    text-align: left;
    font-size: 14px;
  }
  #container .box .profile_textbox .profile_text {
    margin-bottom: 30px;
  }
  #container .box2 {
    display: block;
    margin: 0;
    margin-bottom: 2em;
    text-align: center;
  }
  #container .box2 img {
    padding: 5%;
    width: 100%;
  }
  #container .contact_info P {
    font-size: 4vw;
  }
  #container .contact_info P span {
    font-size: 4vw;
  }
}


/*@facebook widget*/
/*facebook layout CSS*/
  #fb-wrap {
    width: 80%;
    max-width: 500px;
    margin: 20px auto 100px;
    border: solid 10px #7fb7b7;
    border-radius: 10px;
  }
@media screen and (max-width: 480px) {
  #fb-wrap {
    width: 92%;
    margin: 20px auto 60px;
    border: none;
    border: solid 6px #7fb7b7;
    border-radius: 0;
  }
}
/*@end facebook layout CSS*/

/*facebook window resize CSS*/
  .fb_iframe_widget,
  .fb_iframe_widget span,
  .fb_iframe_widget iframe[style]{
    width: 100% !important;
  }
/*@end facebook window resize CSS*/

/* good seminar */
.good-pc {
  width: 120px;
  margin-left: 1em;
  margin-top: 0.4em;
}
.good-2 {
  margin-left: 5.8em
}
@media screen and (max-width:767px){
  .good-pc {
    display: none;
  }
  .good-sp {
    display: block;
    width: 100px;
    margin-left: -4px;
  }
}
@media screen and (min-width:768px){
  .good-sp {
    display: none;
  }
}

#contact {
  width: 94%;
  /* margin: 6em auto 8em; */
  margin: auto;
}
#contact .sns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  margin-bottom: 4em;
  
}
@media screen and (max-width:768px) {
  #contact .sns {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #contact .sns li a{
    margin-bottom: 1.5em;
  }
}
#contact .sns li a {
  display: block;
  color: #fff;
  font-size: 1.6em;
  text-align: center;
  width: 12em;
  padding: 0.5em 0;
  background-color: #007171;
  border-radius: 0.2em;
  letter-spacing: 0.06em;
  line-height: 1;
  
}
#contact .sns li a:hover {
  opacity: 0.7;
}
#contact .sns li i {
  padding-right: 0.5em;
}
#contact .sns span {
  font-size: 0.5em;
}
#contact .tel {
  text-align: center;
  font-size: 1.6em;
  color: #666;
  font-weight: 600;
  letter-spacing: 0.1em;
}
#contact .tel i {
  padding-right: 0.5em;
}
#contact .tel .br-sp {
  display: none;
}
#contact .sns li:nth-of-type(2) a {
  background-color: #3b5998;
}
#contact .sns li:nth-of-type(3) a {
  background-color: #00acee;
}

/*end@#contact*/