/*************************************
style.css
*************************************/

.lead_message {
  margin: 1rem auto 0 auto;
  padding: 0;
}

.lead_message p:not(:first-of-type) {
  margin: 2rem 0;
  color: var(--Dark_Sub_Color);
  font-weight: bold;
  font-size: 1.6rem;
  font-family: var(--Font_Weight_Bold);
  text-align: center;
}

.main_message {
  max-width: 640px;
  margin: 1rem auto 0 auto;
}

.main_message_txt {
  text-align: justify;
}


@media screen and (orientation: portrait) and (max-width: 767px){

  .main_message {
    width: 96%;
  }

  .lead_message p:not(:first-of-type) {
    font-size: 1.2rem;
  }

}



/* about
============================ */
.about {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 640px;
  margin: 0 auto;
}

.about div {
  width: 50%;
}

.about dl {
  margin: 1rem 0;
}

.about dl dt {
  color: var(--Dark_Sub_Color);
  font-weight: bold;
  font-family: var(--Font_Weight_Bold);
  font-size: 1.2rem;
}

.about dl dt::before {
  content: "■";
}

.about dl dd {
  padding-left: 1rem;
}

.about dl dd figure {
  width: 90%;
}

.about dl dd figure img {
  width: 100%;
}


@media screen and (orientation: portrait) and (max-width: 767px){

  .about {
    display: block;
    width: 96%;
  }

  .about div {
    width: 100%;
  }

}



/* program
============================ */
section {
  max-width: 800px;
  margin: 2rem auto 0 auto;
}

section h2 {
  padding: .5rem 1rem;
  border: 2px solid var(--Dark_Sub_Color);
  color: var(--Dark_Sub_Color);
  font-weight: 900;
  font-family: var(--Font_Weight_Bold);
  font-size: 1.6rem;
}

section h2 + p {
  color: var(--Dark_Sub_Color);
  font-weight: 900;
  font-family: var(--Font_Weight_Bold);
  font-size: 1.2rem;
}

section dl {
  margin: 2rem 0;
}

section dl dt {
  padding: 0.5rem;
  color: #fff;
  background: #999;
  font-weight: 900;
  font-family: var(--Font_Weight_Bold);
  font-size: 1.2rem;
}

section dl dd {
  width: 90%;
  margin: .5rem auto;
  text-align: justify;
}


@media screen and (orientation: portrait) and (max-width: 767px){

  section {
    width: 96%;
  }

  section h2 {
    font-size: 1.2rem;
  }

  section h2 + p {
    text-align: center;
  }

  section dl dd {
    width: 96%;
  }


}



/* phone
============================ */
.contact_banner.phone .contact_txt {
  display: none;
}

.contact_banner.phone .phone_shibuya,
.contact_banner.phone .phone_ikebukuro,
.contact_banner.phone .phone_kichijoji {
  display: none;
}



/* closed
============================ */
.main_img.closed::before {
  top: calc(50% - 2.4rem);
  white-space: pre;
  content: '3月13日をもちましてお申し込みは締め切りいたしました。\A定員を大きく超えるお申込みをいただき\A誠にありがとうございました。';
}

.main_img.closed::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

@media screen and (orientation: portrait) and (max-width: 767px){

  .main_img.closed::before {
    top: calc(50% - 3.2rem);
    content: '3月13日をもちまして\Aお申し込みは締め切りいたしました。\A定員を大きく超えるお申込みをいただき\A誠にありがとうございました。';
  }

}
