@charset "utf-8";
/* お母さんのサロン／子どものおけいこ */

/***************************
 ** トップページ
 */
.top_msg {
  margin-bottom: 2rem;
}

.top_msg .top_img {
  flex-basis: 35%;
  margin-right: 3%;
}

.top_msg .top_text {
  flex-basis: 62%;
}

.activity_list {
  border-top: 1px solid #e9e9e9;
  margin-bottom: 5rem;
}

.activity_list li {
  padding: 1rem;
  border-bottom: 1px solid #e9e9e9;
}

.activity_list li p:first-child {
  font-weight: bold;
}

.activity_list li p:last-child {
  text-align: right;
}

.activity_list li p a {
  display: inline-block;
  padding: 0.5rem 2rem;
  border-radius: 30px;
  background: #F57878;
  transition: 0.8s;
  text-decoration: none;
  color: #fff;
}

.activity_list li p a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 736px) {
  .top_msg {
    margin-bottom: 1rem;
  }

  .top_msg .top_img {
    flex-basis: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .top_msg .top_text {
    flex-basis: 100%;
  }

  .activity_list {
    margin-bottom: 2rem;
  }

  .activity_list li {
    padding: 0.6rem;
  }
  
  .activity_list li p:first-child {
    margin-bottom: 0.3rem;
  }

  .activity_list li p:last-child {
    text-align: center;
  }

  .activity_list li p a {
    display: block;
    padding: 0.5rem 1rem;
  }
}


/***************************
 ** 記事ページ
 */
.second_msg {
  margin-bottom: 2rem;
}

.second_msg .second_img {
  flex-basis: 25%;
  margin-right: 3%;
}

.second_msg .second_text {
  flex-basis: 72%;
}

.price_ttl {
  background: #fae2e2;
  padding: 0.5rem 1rem;
  text-align: center;
}

.price_list {
  border: 3px solid #fae2e2;
  padding: 0 1rem 1rem;
  margin-bottom: 5rem;
}

.price_list li {
  padding: 1rem;
  border-bottom: 1px dotted #ccc;
}

.price_list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu_detail {
  flex-basis: 70%;
  margin-right: 2%;
}

.menu_detail h4 {
  font-weight: bold;
  color: #F57878;
}

.menu_detail p {
  font-size: 0.875rem;
}

.price {
  flex-basis: 28%;
  text-align: right;
}

@media screen and (max-width: 736px) {
  .second_msg {
    margin-bottom: 1rem;
  }

  .second_msg .second_img {
    flex-basis: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
    text-align: center;
  }

  .second_msg .second_text {
    flex-basis: 100%;
  }

  .price_list {
    padding: 0 0.6rem 0.6rem;
    margin-bottom: 3rem;
  }

  .price_list li {
    padding: 0.6rem;
  }

  .menu_detail {
    flex-basis: 100%;
    margin-right: 0;
  }

  .menu_detail p {
    font-size: 0.75rem;
  }

  .price {
    flex-basis: 100%;
  }
}
