
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);

@media screen and (min-width: 741px) {
#contents {
  width: auto;
  float: none;
}
.specialist {
  background-color: #F7F7F7;
  border: 1px solid #E1E1E1;
  max-width: 960px;
  margin: 0 auto 80px;
  margin-top: 10px;
  padding-bottom: 20px;
  font-family: 'Noto Sans JP', sans-serif;
}
.specialist__wrap {
  padding: 20px;
}
.specialist__link {
  display: inline-block;
  position: relative;
  color: #fff !important;
  font-size: 20px;
  background: #144D9C;
  padding: 6px 40px 6px 20px;
  border-radius: 2px;
}
.specialist__link::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url(/expert/_assets/img/241101/right-arrow.svg);
  background-size: cover;
  width: 7px;
  height: 12px;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.specialist__linkWrap {
  max-width: 960px;
  display: block;
  text-align: right;
}
.specialist__person {
  display: flex;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #E1E1E1;
}
.specialist__person--img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
}
.specialist__person--tag {
  display: inline-block;
  background-color: #171C61;
  color: #fff;
  font-weight: 600;
  padding: 0 5px;
}
.specialist__person--name {
  font-size: 20px;
  line-height: 1.5;
  margin-top: 10px;
  font-weight: bold;
}
.specialist__person--name span{
  font-size: 14px;
  font-weight: normal;
  margin-left: 10px;
}
.specialist__person--position {
  font-size: 16px;
  line-height: 1.5;
}
.specialist__lead-text {
  margin-bottom: 30px;
}
.specialist__info {
  margin-bottom: 40px;
}
.specialist__ttl {
  color: #144D9C;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  padding-left: 16px;
}
.specialist__ttl::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #144D9C;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.specialist__sns {
  display: flex;
  gap: 10px;
  justify-content: end;
  margin: 10px 0;
}
.specialist__sns--link {
  display: inline-block;
}
.specialist__sns--img {
  width: 36px;
  height: 36px;
}
.specialist__book {
  font-size: 12px;
  color: #595757;
  line-height: 1.5;
  margin-top: 10px;
  display: flex;
}
.specialist__text {
  margin-top: 16px;
  line-height: 2;
  color: #333333;
}
.specialist__listItem {
  margin-bottom: 15px;
}
.specialist__list--indent .specialist__listItem {
  padding-left: 3.7rem;
  text-indent: -3.7rem;
}
.specialist__listItem:last-of-type {
  margin: 0;
}
.specialist__listItem--link {
  position: relative;
  color: #144D9C !important;
  position: relative;
  display: block;
  padding-right: 30px;
}
.specialist__listItem--link::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url(/expert/_assets/img/20230324/right-arrow.png);
  background-size: cover;
  width: 7px;
  height: 12px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.specialist__listItem--link-halfway::after {
  content: none;
}
a:hover {
  opacity: 0.8;
}
.hideAtPC {
  display: none;
}
}

@media screen and (max-width: 740px) {

  .specialist {
    background-color: #F7F7F7;
    border: 1px solid #E1E1E1;
    margin: 3.2vw 2.5vw 80px;
    font-family: 'Noto Sans JP', sans-serif;
  }
  .specialist__wrap {
    padding: 30px 5.33vw;
  }
  .specialist__link {
    display: inline-block;
    position: relative;
    color: #fff !important;
    font-size: 19px;
    background: #144D9C;
    padding: 6px 40px 6px 20px;
    border-radius: 2px;
  }
  .specialist__link::after {
    content: "";
    display: block;
    position: absolute;
    background-image: url(/expert/_assets/img/241101/right-arrow.svg);
    background-size: cover;
    width: 7px;
    height: 12px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  .specialist__linkWrap {
    text-align: center;
  }
  .specialist__person {
    display: flex;
    gap: 3.73vw;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #E1E1E1;
  }
  .specialist__personWrap {
    padding-bottom: 4.27vw;
  }
  .specialist__person--img {
    width: 21.07vw;
    height: 21.07vw;
    border-radius: 50%;
  }
  .specialist__person--tag {
    display: inline-block;
    background-color: #171C61;
    color: #fff;
    font-weight: 600;
    padding: 5px 8px;
    font-size: 14px;
  }
  .specialist__person--name {
    font-size: 4.93vw;
    line-height: 1.67;
    margin-top: 1.33vw;
    font-weight: bold;
  }
  .specialist__person--name span{
    font-size: 3.33vw;
    font-weight: normal;
    margin-left: 1.33vw;
  }
  .specialist__person--position {
    font-size: 3.73vw;
  }
  .specialist__lead-text {
    margin-bottom: 30px;
  }
  .specialist__info {
    margin-bottom: 40px;
  }
  .specialist__ttl {
    color: #144D9C;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    padding-left: 16px;
  }
  .specialist__ttl::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #144D9C;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
  .specialist__sns {
    display: flex;
    gap: 2vw;
    justify-content: end;
    margin: 10px 0;
  }
  .specialist__sns--link {
    display: inline-block;
  }
  .specialist__sns--img {
    width: 10.13vw;
    height: 10.13vw;
  }
  .specialist__book {
    font-size: 3.2vw;
    color: #595757;
    line-height: 1.5;
    margin-top: 3.2vw;
  }
  .specialist__text {
    margin-top: 4.27vw;
    font-size: 3.73vw;
    line-height: 1.64;
    color: #333333;
  }
  .specialist__list {
    margin-top: 6.4vw;
  }
  .specialist__listItem {
    margin-bottom: 24px;
  }
  .specialist__listItem:last-of-type {
    margin: 0;
  }
  .specialist__listItem--link {
    font-size: 16px;
    line-height: 1.64;
    color: #144D9C !important;
    position: relative;
    display: block;
    padding-right: 4vw;
  }
  .specialist__listItem--link::after {
    content: "";
    display: block;
    position: absolute;
    background-image: url(/expert/_assets/img/20230324/right-arrow.png);
    background-size: cover;
    width: 7px;
    height: 12px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .specialist__listItem--link-halfway::after {
    content: none;
  }
  a:hover {
    opacity: 0.8;
  }
  .hideAtSP {
    display: none;
  }
}