.l-main.main--image {
  background-image: url(../../img/group/head_img.webp);
}

.group {
  max-width: 640px;
  margin: 0 auto;
}

.group-link {
  display: block;
}

.group-link.link--message {
  position: relative;
}

.group-link.link--message .c-button {
  width: 240px;
  height: 52px;
  max-width: none;
  background-color: rgba(255, 255, 255, 0.9);
  margin: 10px 0 0 calc(100% - 240px);
}

.group-link.link--message .group-link__image {
  aspect-ratio: 5/4;
}

.group__main {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
  padding: 20px;
}

.group__message {
  color: #ffffff;
}

.group__introduction {
  color: #ffffff;
  text-align: right;
  margin-top: 5px;
}

.group__introduction .introduction__name {
  width: 100px;
  display: inline-block;
}

.group__container {
  margin-top: 80px;
}

.group__container .group-link + .group-link {
  margin-top: 40px;
}

.group-banner {
  display: block;
  margin-top: 80px;
  position: relative;
}

.group-banner::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../../img/group/idexkun_img_pc_hover.webp) top left/contain no-repeat;
  opacity: 0;
}

/* message */
.p-message .c-button-nav.nav--message {
  display: none;
}

.p-message .c-article {
  margin-top: 0;
}

.p-message .c-article-body {
  padding-bottom: 0;
}

.p-message .introduction {
  margin-top: 40px;
  text-align: right;
}

.p-message .introduction__sign {
  width: 180px;
  margin-top: 10px;
}

/* policy */
.p-policy .l-main.main--image {
  background-image: url(../../img/group/policy/head_img.webp);
}

.p-policy .c-button-nav.nav--policy {
  display: none;
}

.p-policy .policy__container {
  max-width: 680px;
  margin: 0 auto;
}

.p-policy .policy__container + .policy__container {
  margin-top: 100px;
}

.p-policy .policy__title {
  text-align: center;
  color: #005bac;
  border-bottom: 1px solid #005bac;
  max-width: 300px;
  margin: 0 auto 30px;
  padding-bottom: 10px;
}

.p-policy .policy__box {
  background-color: rgba(180, 190, 198, 0.2);
  padding: 20px;
  margin-top: 40px;
}

.p-policy .company__text {
  text-align: center;
  line-height: 2;
}

.p-policy .motto-list__item {
  display: flex;
}

.p-policy .motto-list__item + .motto-list__item {
  margin-top: 18px;
}

.p-policy .motto-list__item .item--number {
  text-align: center;
  width: 2em;
}

.p-policy .motto-list__item .item--text {
  width: calc(100% - 2em);
}

.p-policy .purpose__title {
  max-width: 320px;
  margin: 0 auto 46px;
}

.p-policy .attitude-list__item {
  display: flex;
}

.p-policy .attitude-list__item + .attitude-list__item {
  margin-top: 18px;
}

.p-policy .attitude-list__item .item--box {
  width: 10px;
  background-color: #BFD9EC;
  margin-right: 10px;
}

.p-policy .attitude-list__item .item--text {
  width: calc(100% - 20px);
}

.p-policy .philosophy__image {
  margin-top: 40px;
}

/* outline */
.p-outline .l-main.main--image {
  background-image: url(../../img/group/outline/head_img.webp);
}

.p-outline .c-button-nav.nav--outline {
  display: none;
}

.p-outline .outline-list {
  border-top: 1px solid #EEEFF5;
}

.p-outline .outline-list__item {
  border-bottom: 1px solid #EEEFF5;
  padding: 30px 0;
}

.p-outline .outline-list__title {
  margin-bottom: 15px;
}

.p-outline .history {
  margin-top: 100px;
}

.p-outline .history-list {
  background-color: rgba(180, 190, 198, 0.2);
  padding: 30px 20px;
}

.p-outline .history-list__item {
  display: flex;
}

.p-outline .history-list__title {
  width: 95px;
  padding-right: 15px;
  color: #005bac;
}

.p-outline .history-list__title .title--wareki {
  font-size: 1.4rem;
  font-weight: 400;
}

.p-outline .history-list__text {
  width: calc(100% - 95px);
  padding: 0 0 26px 15px;
  border-left: 1px solid #005bac;
  position: relative;
}

.p-outline .history-list__text:before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 5px;
  left: -8.25px;
  background-color: #005bac;
  border-radius: 50%;
}

.p-outline .history-list__text .text--month {
  font-weight: 600;
  margin-bottom: 10px;
}

/* company */
.p-company .l-main.main--image {
  background-image: url(../../img/group/company/head_img.webp);
}

.p-company .c-button-nav.nav--company {
  display: none;
}

.p-company .company-list {
  margin-top: 87px;
}

.p-company .company-list__item + .company-list__item {
  margin-top: 80px;
}

.p-company .company-list__head {
  border-bottom: 1px solid #005bac;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.p-company .company-list__name {
  color: #005bac;
  margin-bottom: 5px;
}

.p-company .company-list__business {
  display: inline-block;
  color: #ffffff;
  font-size: 1.2rem;
  padding: 0 10px;
  border-radius: 4px;
}

.p-company .company-list__business.business--oil {
  background-color: #4582B1;
}

.p-company .company-list__business.business--ele {
  background-color: #79A2C1;
}

.p-company .company-list__business.business--car {
  background-color: #C1A269;
}

.p-company .company-list__business.business--office {
  background-color: #72A89A;
}

.p-company .company-list__business.business--realestate {
  background-color: #8172A2;
}

.p-company .company-list__business.business--life {
  background-color: #8D6F8D;
}

.p-company .company-list__business + .company-list__business {
  margin-left: 5px;
}

.p-company .company-list__summary {
  color: #005bac;
  margin-bottom: 20px;
}

.p-company .company-list__text {
  margin-bottom: 15px;
}

.p-company .company-list__foot {
  background-color: rgba(242, 242, 242, 0.36);
  padding: 10px 12px;
}

.p-company .company-list__container {
  display: flex;
  margin-bottom: 10px;
}

.p-company .company-list__category {
  width: 4em;
}

.p-company .company-list__box {
  width: calc(100% - 4em);
}

@media screen and (min-width: 361px) {
  html, body {
    margin: 0;
  }
}

@media screen and (min-width: 500px) {
  html, body {
    margin: 0;
  }
}

@media screen and (min-width: 768px) {
  html, body {
    margin: 0;
  }
  .group-link.link--message .group-link__image {
    aspect-ratio: 25/11;
  }
  .group__main {
    max-width: 390px;
  }
  .p-policy .policy__box {
    padding: 30px;
  }
  .p-policy .purpose__title {
    max-width: 580px;
    margin-top: 50px;
  }
  .p-outline .outline-list__item {
    display: flex;
  }
  .p-outline .outline-list__title {
    width: 150px;
    margin-right: 80px;
  }
  .p-outline .outline-list__text {
    width: calc(100% - 230px);
  }
  .p-outline .history-list__title {
    width: 145px;
    padding-right: 25px;
  }
  .p-outline .history-list__text {
    width: calc(100% - 145px);
    padding: 0 0 26px 25px;
  }
  .p-outline .history-list__text:before {
    top: 5px;
    left: -8.25px;
  }
  .p-company .company-list__head {
    padding-bottom: 10px;
  }
  .p-company .company-list__name {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 0;
    vertical-align: bottom;
  }
  .p-company .company-list__foot {
    display: flex;
    padding: 20px 12px;
  }
  .p-company .company-list__container {
    margin-bottom: 0;
    width: calc(100% - 220px);
  }
}

@media screen and (min-width: 1080px) {
  html, body {
    margin: 0;
  }
  .group {
    max-width: none;
  }
  .group-link.link--message .c-button {
    margin-top: 30px;
  }
  .group__main {
    margin-right: 120px;
    margin-bottom: 30px;
  }
  .group__introduction {
    margin-top: 20px;
  }
  .group__introduction .introduction__name {
    width: 160px;
  }
  .group__container {
    display: flex;
    justify-content: space-around;
  }
  .group__container .group-link {
    width: 320px;
  }
  .group__container .group-link + .group-link {
    margin-top: 0;
  }
}

@media screen and (min-width: 1280px) {
  html, body {
    margin: 0;
  }
}

@media screen and (min-width: 1920px) {
  html, body {
    margin: 0;
  }
}

@media screen and (max-width: 360px) {
  html, body {
    margin: 0;
  }
}

@media screen and (max-width: 767px) {
  html, body {
    margin: 0;
  }
}

@media screen and (max-width: 1079px) {
  html, body {
    margin: 0;
  }
}

@media screen and (max-width: 1279px) {
  html, body {
    margin: 0;
  }
}

@media screen and (max-width: 1919px) {
  html, body {
    margin: 0;
  }
}

@media (hover: hover) {
  .group-link:hover .c-button {
    background-color: #005bac;
    color: #ffffff;
  }
  .group-link:hover .c-button .c-icon--arrow::after {
    width: 20px;
    height: 5px;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -2.5px;
    background: url("/assets/img/icon_link_white.svg") no-repeat;
    background-size: contain;
    animation: arrowAnime .5s ease-in-out forwards;
  }
  .group__container .group-link:hover .c-button {
    background-color: transparent;
    color: rgba(0, 91, 172, 0.8);
  }
  .group__container .group-link:hover .c-button .c-icon--arrow::after {
    width: 20px;
    height: 5px;
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -2.5px;
    background: url("/assets/img/icon_link_blue.svg") no-repeat;
    background-size: contain;
    animation: arrowAnime .5s ease-in-out forwards;
  }
  .group-banner:hover::after {
    opacity: 1;
  }
}
