/*  media
---------------------------------------- */
#media .p-about-history__result {
  margin-top: 30px;
}
#media .c-list-timeline__box + .c-list-timeline__box {
  margin-top: 75px;
}
#media .c-list-timeline__left {
  width: 150px;
  padding: 0;
}
#media .c-list-timeline__right {
  display: table;
  padding: 0 0 0 40px;
}
#media .c-list-timeline__right::after {
  display: none;
}
#media .media-img {
  display: table-cell;
  width: 395px;
  padding: 0 60px;
}
#media .media-img img {
  border: solid 0.5px #ccc;
}
#media .c-list-timeline__right audio {
  margin-top: 15px;
  width: 100%
}
#media .c-list-timeline__title {
  font-size: 1.125rem;
  margin: 0 0 20px 0;
}
#media .c-list-timeline__text {
  margin: 0 0 30px 0;
  font-size: 1rem;
}
#media .c-list-timeline__text.category {
  font-size: 1.125rem;
}
#media .newspaper {
  color: #0071C5;
}
#media .other {
  color: #F596B6;
}
#media .c-button-01__button {
  text-align: right;
  padding: 19px 90px;
  background-color: unset;
  border: 0;
  font-size: 0.875rem;
  margin-top: 40px;
}
#media .c-button-01__button:hover {
  color: #555;
  opacity: 0.5;
}
#media .c-button-01__button:hover::before {
  /*background-color: red;*/
  background-image: url("/themes/recruit.117.co.jp_2024/_common/img/ico_arrow_right_03_pc.svg")!important;
  opacity: 0.5;
}
@media screen and (max-width: 1239px) {
  #media .c-list-timeline--history > li::before {
    left: 113px;
  }
  #media .c-list-timeline__right {
    display: block;
    padding: 0 0 0 20px;
  }
  #media .c-list-timeline__head {
    margin-bottom: 0;
    font-size: 1rem;
  }
  #media .media-img {
    display: block;
    width: 100%;
    padding: 0;
  }
  #media .c-list-timeline__left {
    width: 100px;
    text-align: right;
    padding: 0 20px 0 0;
    font-size: 0.875rem;
  }
  #media .c-list-timeline__title {
    font-size: 0.875rem;
  }
  #media .c-list-timeline__text.category {
    font-size: 0.875rem;
    margin-left: 1em;
  }
  #media .c-list-timeline__text:not(:first-child), #media .c-list-timeline__title {
    margin: 10px 0 0 0;
  }
  #media .c-list-timeline__text {
    margin: 0 0 20px 0;
    font-size: 0.875rem;
  }
  #media .c-button-01__button {
    padding: 0 40px;
    margin-top: 20px;
  }
  #media .c-list-timeline__box + .c-list-timeline__box {
    margin-top: 30px;
  }
  #media .c-button-01__button::before {
    right: 0px;
  }
}
/*  sdgs
---------------------------------------- */
#sdgs .box {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
}
#sdgs .left {
  width: 14%;
}
#sdgs .right {
  width: 82%;
}
#sdgs .right .contents {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 30px;
}
#sdgs .right img {
  margin: 30px 0 10px;
}
#sdgs li {
  list-style: none;
  padding-left: 1em;
  text-indent: 0;
}
#sdgs li::before {
  position: relative;
  display: inline-block;
  width: 3px;
  height: 3px;
  content: '';
  border-radius: 100%;
  background: #333;
  left: -0.5em;
  top: -5px;
}
#sdgs .left img {
  width: 160px;
}
#sdgs .main-goal-wrap {
  display: table;
  padding: 30px;
  background-color: #E5F0F9;
}
#sdgs .main-goal-logo {
  display: table-cell;
  width: 160px;
}
#sdgs .main-goal-text {
  display: table-cell;
  width: auto;
  vertical-align: top;
  padding-left: 30px;
  line-height: 33px;
  letter-spacing: 0.05em;
}
#sdgs .main-goal-text span {
  display: block;
  font-size: 1.375rem;
  font-weight: bold;
  margin-bottom: 30px;
}
#sdgs .manifest {
  max-width: 500px;
  margin: 0 auto;
}
@media screen and (max-width: 915px) {
 #sdgs img.img-responsive.mv {
    padding: 0 15px;
  }
  #sdgs .main-goal-wrap {
    display: block;
    padding: 15px;
  }
  #sdgs .main-goal-logo {
    display: block;
    width: 120px;
  }
  #sdgs .main-goal-text {
    padding-left: 0;
    line-height: 26px;
    padding-top: 20px;
  }
  #sdgs .left img {
    max-width: 120px;
  }
  #sdgs .box {
    gap: 20px;
    margin: 0 15px;
    font-size: 0.876rem;
  }
  #sdgs .right .contents {
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
  }
  #sdgs .right {
    width: 100%;
  }
  #sdgs .right img {
    margin: 10px 0 5px;
  }
  #sdgs .manifest {
    max-width: 300px;
  }
  #sdgs .main-goal-text span {
    font-size: 1.125rem;
    margin-bottom: 10px;
  }
  #sdgs li::before {
    left: -1em;
  }
}








/*  社訓・基本理念、トップメッセージ、会社概要、業績  */

/*.top-message-wrap{
	background-image: url("../../about/img/img_top_pc.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	width: 100%;
	display: block;
	height: 600px;
	position: relative;
}*/

.top-message{
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 2;
	letter-spacing: .05em;
	display: block;
	position: absolute;
	top: 10%;
	left: 50%;
}

.top-name-img{
	text-align: right;
	margin-top: 20px;
	position: absolute;
	bottom: 10%;
	left: 82%;
}

@media screen and (max-width: 915px) {
	/*.top-message-wrap{
	background-image: none;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	width: 100%;
	display: block;
	height: auto;
	position: initial;
}*/

.top-message{
	font-size: 14px;
	line-height: 2;
	position: initial;
	top: auto;
	left: auto;
	padding: 20px 15px 0;
}

.top-name-img{
	margin: 20px 15px 0 0;
	position: initial;
	bottom: auto;
	left: auto;
}
}

.group-about-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border-bottom: 0.5px solid #707070;
}
.group-about-content > :first-child {
  border-top: 0.5px solid #707070;
}
.group-about-title {
  background-color: rgba(0, 113, 197, 0.10);
  flex: 0 0 auto;
  width: 30%;
  padding: 30px 0 30px 20px;
}
.group-about-text {
  flex: 0 0 auto;
  width: 70%;
  padding: 30px 0 30px 20px;
}
.annotation-text {
  font-size: 18px;
  text-align: right;
  margin-top: 20px;
}
.group-result-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .1em;
  margin: 25px 0 30px;
}
.group-result-text {
  font-size: 18px;
  line-height: 33px;
}
.group-result-wrap {
  display: flex;
  flex-wrap: wrap;
}
.company-name {
  width: 50%;
  margin-top: 40px;
}
.company-name > a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 915px) {
  .group-about-content > :first-child {
    border: none;
  }
  .group-about-content {
    padding-left: 15px;
  }
  .group-about-wrap {
    display: flex;
    flex-flow: column;
    border: none;
  }
  .group-about-title {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 20px;
  }
  .group-about-text {
    width: 100%;
    padding: 0 30px 0 15px;
    margin-bottom: 20px;
  }
  .annotation-text {
    font-size: 14px;
    padding: 0 15px;
    margin-top: 0;
  }
  .group-result-title {
    font-size: 18px;
    letter-spacing: .1em;
    margin: 30px 0 20px;
    padding: 0 15px;
  }
  .group-result-text {
    font-size: 14px;
    line-height: 26px;
    padding: 0 15px;
  }
  .group-result-wrap {
    display: flex;
    flex-flow: column;
    padding: 0 15px;
  }
  .company-name {
    width: 100%;
    margin-top: 30px;
  }
}



/*  沿革  */

.p-about-history__choice {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 22px;
}
@media all and (min-width: 916px)and (max-width: 1239px) {
  .p-about-history__choice {
    gap: 15px;
  }
}
@media all and (max-width: 915px) {
  .p-about-history__choice {
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
}
.p-about-history__choice-item {
  width: calc(25% - 16.5px);
}
@media all and (min-width: 916px)and (max-width: 1239px) {
  .p-about-history__choice-item {
    width: calc(25% - 11.25px);
  }
}
@media all and (max-width: 915px) {
  .p-about-history__choice-item {
    width: calc(33.3333333333% - 6.6666666667px);
  }
}
.p-about-history__choice-item.is-current .p-about-history__button {
  background-color: rgba(0, 113, 197, .8);
  color: #fff;
}
.p-about-history__choice-item.is-current .p-about-history__button::before {
  background-image: url("/_common/img/ico_arrow_right_02.svg");
}
.p-about-history__button {
  width: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: dnp-shuei-gothic-gin-std, "游ゴシック体", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.375;
  letter-spacing: .05em;
  padding: 13px min(45px, 2.34375vw) 13px min(30px, 1.5625vw);
  color: #333;
  border: 3px solid rgba(0, 113, 197, .2);
}
@media all and (min-width: 916px) {
  .p-about-history__button {
    background-color: #fff;
    transition: all .3s ease-out;
  }
}
@media all and (min-width: 916px)and (max-width: 1239px) {
  .p-about-history__button {
    font-size: 1rem;
    padding-left: 5px;
    padding-right: 13px;
  }
}
@media all and (max-width: 915px) {
  .p-about-history__button {
    font-size: min(.875rem, 3.5897435897vw);
    line-height: 1.3571428571;
    padding: 19px min(22px, 5.641025641vw) 18px min(12px, 3.0769230769vw);
    border-width: 2px;
  }
}
.p-about-history__button::before {
  content: "";
  position: absolute;
  top: 50%;
  right: min(24px, 1.25vw);
  width: 20px;
  height: 15px;
  background: url("/_common/img/ico_arrow_right_01.svg") no-repeat left top;
  background-size: contain;
  transform: translateY(-50%);
}
@media all and (min-width: 916px)and (max-width: 1239px) {
  .p-about-history__button::before {
    width: 14px;
    height: 10px;
    right: 2px;
  }
}
@media all and (max-width: 915px) {
  .p-about-history__button::before {
    right: min(9px, 2.3076923077vw);
    width: 14px;
    height: 10px;
  }
}
@media all and (min-width: 916px) {
  .p-about-history__button:hover {
    border-color: none;
    background-color: rgba(0, 113, 197, .8);
    color: #fff;
  }
}
@media all and (min-width: 916px) {
  .p-about-history__button:hover::before {
    background-image: url("/_common/img/ico_arrow_right_02.svg");
  }
}
.p-about-history__result {
  margin-top: 40px;
}
@media all and (max-width: 915px) {
  .p-about-history__result {
    margin-top: 50px;
  }
}

/*  沿革 202503 追加 */

.history-link{
    text-decoration: none;
  }
  .history-link a::after{
    content: "\f08e";
    font-family: "font Awesome 6 free";
    font-weight: 900;
    padding-left: 10px;
    font-size: small;
}
.history-link a.no-icon::after{
    content: "";
}
.history-link:hover::after {
  color: #004ea2;
}
.history-link a:hover {
  color: #004ea2 !important;
}
/* マーカー通常時 */
.line {
  display: inline;
  background-image: linear-gradient(90deg, #004ea2, #004ea2); /* マーカーの色を指定 */
  background-repeat: no-repeat;
  background-position: left bottom; /* マーカーの発生位置を左下に設定 */
  background-size: 0 6%; /* マーカーの横幅 / 縦幅 */
  transition: all 0.3s ease; /* マーカーを引く速度 */
  cursor: pointer; /* ホバー時のカーソルをポインターにする */
  padding-bottom: 5px;
}
/* マーカーホバー時 */
.line:hover {
  background-size: 100% 6%; /* マーカーの横幅を100%にする */
}
@media screen and (max-width: 767px) {
  .history-link a::after{
    padding-left: 5px;
    font-size: xx-small;
}


/*  社会貢献  */

.p-about-social .c-heading-01 {
  margin-bottom: 24px;
}
@media all and (max-width: 915px) {
  .p-about-social .c-heading-01 {
    margin-bottom: 16px;
  }
}
@media all and (max-width: 915px) {
  .p-about-social .c-text-01 {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.c-text-01 + .p-about-social__section {
  margin-top: 65px;
}
@media all and (max-width: 915px) {
  .c-text-01 + .p-about-social__section {
    margin-top: 38px;
  }
}
.p-about-social__section {
  margin-top: 73px;
}
@media all and (max-width: 915px) {
  .p-about-social__section {
    margin-top: 57px;
  }
}

/*  commendation
---------------------------------------- */
#commendation .c-list-timeline--history > li::before {
  background-color: #707070;
  left: 190px;
}
#commendation .c-list-timeline--history .c-list-timeline__left {
  width: 160px;
  padding: 0;
}
#commendation .c-list-timeline__title {
  font-size: 1.125rem;
  margin: 20px 0 0 1em;
}
#commendation .c-list-timeline__text {
  margin: 0 0 45px 1em;
  font-size: 1rem;
}
.c-list-timeline__right::after {
  display: none;
}
.c-list-timeline__tag {
  padding: 5px;
  line-height: 1;
  font-size: 1rem;
  color: #fff;
  /*text-align: center;*/
  display: inline-block;
  border: solid 0.5px;
  font-feature-settings: "palt"1;
}
.c-list-timeline__tag.group {
  background-color: #0071C5;
}
.c-list-timeline__tag.funeral {
  background-color: #00BAD8;
}
.c-list-timeline__tag.wedding {
  background-color: #F596B6;
}
.c-list-timeline__tag.wellness {
  background-color: #ADD700;
}
.c-list-timeline__right.mond {
  display: table;
}
.c-list-timeline__right.mond div {
  display: table-cell;
}
.c-list-timeline__right.mond div img {
  height: 234px;
  width: auto;
}

@media screen and (max-width: 915px) {
  #commendation .c-list-timeline--history > li::before {
    left: 112px;
  }
  #commendation .c-list-timeline__box + .c-list-timeline__box {
    margin-top: 40px;
  }
  #commendation .c-list-timeline--history .c-list-timeline__left {
    width: 89px;
  }
  #commendation .c-list-timeline__title, .c-list-timeline__tag {
    font-size: 0.875rem;
  }
  #commendation .c-list-timeline__text:not(:first-child), #commendation .c-list-timeline__title {
    margin: 10px 0 0 0;
  }
  #commendation .c-list-timeline__text {
    margin: 0 0 20px 0;
    font-size: inherit;
  }
  .c-list-timeline__right.mond {
    display: block;
  }
  .c-list-timeline__right.mond div {
    display: block;
  }
  .c-list-timeline__right.mond div img {
    height: 118px;
  }
  .c-list-timeline__right.mond div:nth-of-type(2) {
    position: relative;
    left: 62%;
  }
}