/* ------------------------------------------------------------- */
/* consultant                                                    */
/* ------------------------------------------------------------- */
.consultant {
  background-color: #f6f6f6; }

.consultant li {
  background-color: #ffffff;
  padding: 4rem;
  margin: 0 auto 3.5rem auto;
  width: 90%;
  min-height: 30rem;
  line-height: 1.5;
  background-position: right center;
  background-size: contain;
  background-repeat: no-repeat; }

.consultant .comment {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem; }

.consultant li .small {
  font-size: 1.2rem; }

.consultant li .name {
  font-size: 2.2rem;
  font-weight: bold; }

.consultant li a.btn-b {
  margin: 3rem 0 0 0; }

.consul_ttl .kv-txt-wrapper {
  background-position: right 15rem center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #004085;
  background-size: contain; }

.consul_ttl .comment {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem; }

.consul_detail {
  line-height: 1.7; }

.consul_detail .inner {
  margin-bottom: 6.5rem;
  padding: 0 4rem; }

.consul_detail h2 {
  font-size: 3.4rem;
  font-weight: bold;
  margin-bottom: 3.6rem;
  line-height: 1.6;
  color: #00005f;
  text-align: center; }

.consul_detail p {
  text-align: left; }

.consul_detail .comment {
  text-align: center;
  font-size: 2.6rem;
  font-weight: bold;
  margin-bottom: 3.6rem; }

.consul_detail .flex {
  flex-wrap: nowrap; }

.consul_detail .flex img {
  width: 40rem;
  margin-right: 3.6rem; }

.c-list-item {
  display: flex;
  justify-content: center; }

.c-list-item li {
  list-style: disc; }

.s-box {
  padding: 4rem 4rem 0 4rem;
  width: 120rem;
  background-color: #edf2fd;
  line-height: 1.8;
  margin: 0 auto; }

.consul_detail ul.flex {
  justify-content: space-around;
  flex-wrap: wrap; }

.consul_detail ul.flex li {
  width: 32rem;
  justify-content: flex-start;
  /*align-items: ;*/
  margin-bottom: 7rem; }

.consul_detail ul.flex img {
  width: 18rem;
  margin-right: 1.6rem; }

.consul_detail ul.flex.after_box::after {
  content: "";
  display: block;
  width: 32rem; }

@media (max-width: 768px) {
  .consultant li {
    padding: 2rem;
    width: 100%;
    background-position: center bottom 10rem; }

  .consultant li:not(:last-child) {
    margin-bottom: 4rem; }

  .consultant li p {
    text-align: center; }

  .consultant li a.btn-b {
    margin: 88% auto 0 auto; }

  .consul_ttl .inner {
    width: 100%; }

  .consul_ttl .kv-txt-wrapper {
    height: 60rem;
    background-position: center bottom 8rem;
	  width: 100%;
	}

  .consul_ttl p, .consul_ttl h1 {
    background-color: #004085;
    display: inline-block;
    clear: inherit; }

  .consul_ttl .page-ttl {
    top: 28%;
    left: 0%;
    margin:2rem}

  .consul_detail .inner {
    padding: 0 1rem; }

  .consul_detail .flex {
    flex-wrap: wrap; }
	
	.consul_detail ul.flex {
	  justify-content: space-between;
	  flex-wrap: wrap;
	}
	
  .consul_detail ul.flex img {
    width: 100%;
    margin-right: 0;
    padding-bottom: 1.6rem; }

  .s-box {
    padding: 3rem 1rem;
    width: 100%; }

  .consul_detail ul.flex li {
    width: 48%;
	  margin-bottom: 3rem;
  } 

}

/*2022/03/17*/

.consul_detail ul.flex {
	justify-content: space-between;
}

.consul_detail ul.flex li {
	width: 50rem;
}
@media (max-width: 768px) {
.consul_detail ul.flex li {
	width: 48%;
}	
}

table.media-table {
  width: 100%;
}
table.media-table tr td, table.media-table tr th {
  padding: 15px 20px;
  border: 1px solid #ddd;
  vertical-align: middle;
}
table.media-table tr td.center {
  text-align: center;
}
table.media-table tr th {
  text-align: center;
  background-color: #edf2fd;
}
@media (max-width: 768px) {
  .media-table-wrap {
    overflow-x: scroll;
  }
  table.media-table {
    min-width: 1070px;
  }
}

/*2022/05/23*/

.consultant li {
	background-size: 42%;
}
@media (max-width: 768px) {
	.consultant li {
	background-size: contain;
}
}


/*2023/03/20*/
.flex.consultant_detail_item {
    align-items: center;
}
.consultant_detail_item_txt {
    flex: 1;
    line-height: 1.5;
}
span.consultant_detail_item_txt_name {
    font-weight: bold;
    display: inline-block;
    margin-top: 6px;
}
