h1.title-media {
  font-size: 0.19rem !important;
  letter-spacing: 0.02em;
  padding-left: 100px;
  margin-bottom: initial;
  position: relative;
  padding-top: 64px;
}

h1.title-media .title-large {
  margin-left: -4px;
  font-size: 0.35rem;
}

h1.title-media::before {
  position: absolute;
  content: '';
  display: block;
  width: 138px;
  height: 155px;
  top: 3px;
  left: -8px;
  background-image: url(../img/common/title_decor_07.png);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}

@media screen and (max-width: 767.9px) {
  h1.title-media {
    padding-left: 1.4rem;
    padding-top: 0.85rem;
  }
  h1.title-media::before {
    width: 1.94rem;
    height: 2.26rem;
  }
}

.main-title {
  position: relative;
  padding: 0.4rem;
  margin-block: 0.6rem 0.8rem;
}

.main-title::before,
.main-title::after {
  position: absolute;
  content: "";
  background: url(../img/common/title_decor_01.svg) no-repeat center / 100% auto;
  width: 85px;
  height: 86px;
}

@media screen and (max-width: 767.9px) {
  .main-title::before,
  .main-title::after {
    width: 1.1rem;
    height: 1.1rem;
  }
}

.main-title::before {
  top: 0;
  right: 0;
  transform: rotate(-90deg);
}

.main-title::after {
  bottom: -20px;
  left: 0;
  transform: rotate(90deg);
}

.main-title h2 {
  margin-bottom: initial;
  margin-inline: auto;
  width: fit-content;
  font-size: 0.24rem;
  line-height: 1.8;
}

@media screen and (max-width: 767.9px) {
  .main-title h2 {
    font-size: 0.32rem;
  }
}

.grid-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
  margin-block: 40px;
}

@media screen and (max-width: 767.9px) {
  .grid-content {
    grid-template-columns: repeat(1, 1fr);
    gap: 0.4rem;
    margin-block: 0.4rem;
  }
}

.grid-content-item {
  border-radius: 10px;
  border: solid 1px #ccc;
  padding-bottom: 20px;
  overflow: hidden;
  background-color: #efefef;
}

.grid-content-item a {
  text-decoration: none;
  color: inherit;
}

.grid-content-item img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.title-radius {
  color: #fff;
  background-color: #6C9ACD;
  font-size: 20px;
  text-align: center;
  display: inline-block;
  padding: 8px 24px;
  letter-spacing: 0.05em;
  border-radius: 22px;
  border-radius: 18px;
  line-height: 1;
}

@media screen and (max-width: 767.9px) {
  .title-radius {
    padding: 0.4em 1.5em;
    font-size: 0.32rem;
    border-radius: 0.28rem;
    margin-bottom: 1.5em;
    line-height: 1;
  }
}

.media-title {
  font-size: 16px;
  padding: 16px 20px 0;
  margin-bottom: initial;
  letter-spacing: 0;
}

.media-title span {
  display: block;
  color: #6C9ACD;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.quote {
  text-align: right;
  padding-inline: 20px;
}

@media screen and (max-width: 767.9px) {
  .media-title {
    font-size: 0.32rem;
  }

  .media-title span {
    font-size: 0.28rem;
    margin-bottom: 8px;
  }
}

.media-list {
  background-color: #fff;
  border: solid 1px #CCC;
  border-radius: 10px;
  padding: 32px 40px;
}

@media screen and (max-width: 767.9px) {
  .media-list {
    padding: 0.4rem;
  }
}

.media-list li {
  padding-block: 8px;
  list-style: none;
}

.media-list li a {
  color: #0056b3;
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  #section-expertise {
    padding-top: 40px;
  }
}

.expertise-ul {
  margin: initial;
  padding: initial;
  margin-block: 40px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}

@media screen and (max-width: 767.9px) {
  .expertise-ul {
    margin: initial;
    padding: initial;
    margin-block: 0 0.62rem;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.4rem;
  }
}

.expertise-ul li {
  display: flex;
}

.expertise-ul li figure {
  width: 200px;
  padding-right: 20px;
}


.expertise-ul li figure img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  border-radius: 5px;
}

.expertise-ul .theme {
  width: calc(100% - 220px);
  display: flex;
  align-items: center;
}

@media screen and (max-width: 767.9px) {
  .expertise-ul li figure {
    width: 50%;
  }

  .expertise-ul .theme {
    width: 50%;
    display: flex;
    align-items: center;
  }
}

.tag-common.center {
  justify-content: center!important;
}
.tag-common .tag-item, .tag-common .tag-link span.lg {
  font-size: 0.24rem;
}
@media screen and (max-width: 767.9px) {
  .tag-common .tag-item, .tag-common .tag-link span.lg {
    font-size: 0.32rem;
  }
}

#section-msg {
  padding-block: 80px;
}

.media-msg-title {
  text-align: center;
  border-bottom: solid 2px #EFEFEF;
  padding-bottom: 1em;
  margin-bottom: 1.5em;
  font-size: 0.25rem;
}

@media screen and (min-width: 768px) {
  .media-msg-title span {
    display: inline-block;
  }
}

@media screen and (max-width: 767.9px) {
  #section-msg {
    padding-block: 0.8rem;
  }
  .media-msg-title {
    text-align: left;
    border-bottom: solid 0.04rem #EFEFEF;
    font-size: 0.32rem;
  }
}

#section-profile {
  padding-block: 80px;
  background: url(../img/home/staff_bg.png) top 2px center / 1280px auto no-repeat;
}
@media screen and (max-width: 767.9px) {
  #section-profile {
    padding-block: 0.8rem;
  }
}

#section-profile .wrapper {
  position: relative;
}

.section-profile-title {
  font-size: 1rem;
  color: #6c9acd;
  font-weight: 100;
  text-align: right;
  margin-bottom: 0;
  line-height: 0.95;
}
#section-profile .profile-title {
  font-size: 0.2rem;
  line-height: 1.8;
  text-align: right;
}

.item-title {
  color: #6c9acd;
  font-weight: bold;
  font-size: 0.2rem;
  padding: 7px 20px 7px;
  margin-bottom: 1.5em;
  border-bottom: solid #EFEFEF 2px;
  background-color: #fff;
  display: inline-block;
}


p.avatar-label {
  margin-bottom: initial;
}

.profile-flex-container .avatar-image {
  width: 200px;
}
@media screen and (min-width: 768px) {
  #section-profile {
    padding-block: 120px;
  }
  .section-profile-title {
    position: absolute;
    top: -40px;
    right: 0;
  }

  .profile-flex-container {
    display: flex;
  }
  .profile-flex-container .avatar-image {
    width: 200px;
  }
  .profile-flex-container .profile-text {
    width: calc(100% - 240px);
    margin-left: auto;
  }
}

@media screen and (max-width: 767.9px) {
  .item-title {
    font-size: 0.32rem;
    padding: 0.15rem 0.2rem;
    border-bottom: solid 0.04rem #EFEFEF;
    margin-top: 1.5em;
  }
  .information-item .item-title::before {
    width: 100%;
    height: 0.04rem;
  }

  .profile-flex-container {
    position: relative;
  }
  #section-profile .avatar-caption {
    position: absolute;
    top: 100px;
    left: 160px;
  }
  .profile-flex-container .avatar-image {
    width: 160px;
    margin-bottom: 1.5em;
  }
  main {
    margin-bottom: 0.8rem !important;
  }
}
