@charset "UTF-8";

/* ==========================================================================
  Group Page style
============================================================================= */

/* Page Title
============================================================================= */
.p-pages .c-page-title {
  border-block-end: 0;
  padding-block-end: 76px;
}

.p-pages .c-page-title__hdg::before {
  display: none;
}

.c-page-title {
  background: url("../img_r2/group/page_title_bg.svg") no-repeat center / 422px 76px;
}

/* Tab Navigation
============================================================================= */
.c-group__tab {
  -webkit-margin-before: 24px;
          margin-block-start: 24px;
}

.c-group__tab-list {
  border-block: solid 1px #ddd;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-block-end: 16px;
}

.c-group__tab-item {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  position: relative;
  text-align: center;
}

.c-group__tab-item + .c-group__tab-item::before {
  background-color: #ddd;
  content: "";
  height: 80px;
  left: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 1px;
}

.c-group__tab-item>a,
.c-group__tab-item>span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-family: var(--font2);
  font-size: clamp(1.6rem, 1.389vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
  min-height: 120px;
  padding: 20px 10px;
}

.c-group__tab-item>a {
  color: var(--color-base);
  text-decoration: none;
}

.c-group__tab-item.is-current>a,
.c-group__tab-item.is-current>span {
  background-position: center;
  background-repeat: no-repeat;
  /* background-size: 186px 28px; */
  background-size: auto 28px;
}

.c-group__tab-item:nth-child(3)>a,
.c-group__tab-item:nth-child(3)>span {
  padding-inline: 0;
}

.c-group__tab-item:nth-child(1).is-current>a,
.c-group__tab-item:nth-child(1).is-current>span {
  background-image: url("../img_r2/group/tab_bg_corporate.svg");
}

.c-group__tab-item:nth-child(2).is-current>a,
.c-group__tab-item:nth-child(2).is-current>span {
  background-image: url("../img_r2/group/tab_bg_sales.svg");
}

.c-group__tab-item:nth-child(3).is-current>a,
.c-group__tab-item:nth-child(3).is-current>span {
  background-image: url("../img_r2/group/tab_bg_bsl.svg");
}

.c-group__tab-item:nth-child(4).is-current>a,
.c-group__tab-item:nth-child(4).is-current>span {
  background-image: url("../img_r2/group/tab_bg_planning.svg");
}

.c-group__tab-item a:hover {
  color: rgba(34, 34, 34, .5);
}

/* Hero Section
============================================================================= */
.c-group__hero {
  position: relative;
}

.c-group__hero .c-hdg02 {
  left: 0;
  position: absolute;
  top: 0;
  z-index: 1;
}

.c-group__hero-img {
  border-radius: 3px;
  margin-inline-start: auto;
  overflow: hidden;
  width: 68.75%;
}

.c-group__hero-img img {
  display: block;
  width: 100%;
}

.c-group__hero-ttl {
  bottom: -24px;
  left: 0;
  position: absolute;
}

.c-group__hero-ttl .hdg em {
  background-color: var(--color-green);
  color: var(--color-base);
  display: block;
  font-family: var(--font2);
  font-size: clamp(2.4rem, 2.222vw, 3.2rem);
  font-style: normal;
  line-height: 1;
  padding: 22px 16px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.c-group__hero-ttl .hdg em + em {
  -webkit-transform: translateY(-16px);
          transform: translateY(-16px);
  -webkit-margin-after: -16px;
          margin-block-end: -16px;
}

/* Hero title slide-in animation */
.c-group__hero-ttl .hdg.slide-name em {
  -webkit-clip-path: inset(0 100% 0 0);
          clip-path: inset(0 100% 0 0);
}

.c-group__hero-ttl .hdg.slide-name.is-active em {
  -webkit-animation: slide-name-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
          animation: slide-name-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.c-group__hero-ttl .hdg.slide-name.is-active em:nth-child(2) {
  -webkit-animation-delay: 0.25s;
          animation-delay: 0.25s;
}

/* Description
============================================================================= */
.c-group__desc {
  -webkit-margin-before: 60px;
          margin-block-start: 60px;
}

.c-group__desc .txt {
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 0.05em;
  text-align: justify;
}

.c-group__desc .txt + .txt {
  -webkit-margin-before: 1.5em;
          margin-block-start: 1.5em;
}

/* Shaft Section
============================================================================= */
.c-shaft {
  margin-block-start: 150px;
  padding-block: 80px;
}

.c-shaft__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 80px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  justify-content: space-between;
}

.c-shaft .c-hdg02 {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.c-shaft .c-hdg02 .hdg {
  color: var(--color-base);
}

.c-shaft__list {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
  max-width: 940px;
}

.c-shaft__item + .c-shaft__item {
  -webkit-margin-before: 50px;
          margin-block-start: 50px;
}

.c-shaft__item .num {
  color: var(--color-green);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 2;
}

.c-shaft__item .txt {
  -webkit-margin-before: 14px;
          margin-block-start: 14px;
  letter-spacing: 0.05em;
  line-height: 2;
}

/* Mission Section
============================================================================= */
.c-mission {
  background-color: #363935;
  margin-block-start: 150px;
  padding-block: 150px;
}

.c-mission__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 80px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  justify-content: space-between;
}

.c-mission .c-hdg02 {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.c-mission .c-hdg02 .en {
  color: #fff;
}

.c-mission__body {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
  max-width: 940px;
}

.c-mission__body .txt {
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  line-height: 2;
}

.c-mission__body .txt + .txt {
  -webkit-margin-before: 1em;
          margin-block-start: 1em;
}

.c-mission__body .txt em {
  color: var(--color-green);
  font-style: normal;
}

/* BSL Team Cards
============================================================================= */
.c-group__teams {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 80px;
}

.c-group__team {
  border-radius: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}

.c-group__team .c-group__job-label {
  min-height: 280px;
}

.c-group__team .ico {
  width: 110px;
}

.c-group__team-content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.c-group__team-body {
  background-color: #fff;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 50px;
}

.c-group__team-body .desc {
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  line-height: 2;
  text-align: justify;
}

.c-group__team-body .desc p + p {
  -webkit-margin-before: 1em;
          margin-block-start: 1em;
}

.c-group__team-case {
  -webkit-margin-before: 40px;
          margin-block-start: 40px;
}

.c-group__team-case .badge {
  background-color: #37474f;
  border-radius: 30px;
  color: var(--color-green);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 1.4rem;
  height: 28px;
  letter-spacing: 0.05em;
  line-height: 2;
  padding-inline: 20px;
}

.c-group__team-case .case-txt {
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  line-height: 2;
  -webkit-margin-before: 20px;
          margin-block-start: 20px;
}

/* QA team: top separator on grid items */
.c-group__team-content .c-group__job-item::after {
  background-color: #ddd;
  content: "";
  height: 1px;
  left: 25px;
  position: absolute;
  right: 25px;
  top: 0;
}
.c-group__team-body + .c-group__job-grid .c-group__job-item:last-child:nth-child(-n+3) {
  border-top-right-radius: 0;
}


/* JOB Section
============================================================================= */
.p-group-job {
  padding-block: 150px;
}

.p-group-job .c-hdg02 {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-margin-after: 80px;
          margin-block-end: 80px;
}

.c-group__job {
  border-radius: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}

.c-group__job-label {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #363935;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 280px;
  position: relative;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 25%;
}

.c-group__job-label .ico {
  width: 88px;
}

.c-group__job-label .ico img {
  display: block;
  width: 100%;
}

.c-group__job-label .name {
  text-align: center;
}

.c-group__job-label .name em {
  background-color: var(--color-green);
  color: var(--color-base);
  display: block;
  font-family: var(--font2);
  font-size: 2.4rem;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-inline: auto;
  padding: 0 10px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.c-group__job-label .name em + em {
  -webkit-transform: translateY(-7px);
          transform: translateY(-7px);
  -webkit-margin-after: -7px;
          margin-block-end: -7px;
}

.c-group__job-label .name .sub {
  font-size: 2rem;
}

/* Name slide-in animation */
.c-group__job-label .name.slide-name em {
  -webkit-clip-path: inset(0 100% 0 0);
          clip-path: inset(0 100% 0 0);
}

.c-group__job-label .name.slide-name.is-active em {
  -webkit-animation: slide-name-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
          animation: slide-name-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.c-group__job-label .name.slide-name.is-active em:nth-child(2) {
  -webkit-animation-delay: 0.25s;
          animation-delay: 0.25s;
}

@-webkit-keyframes slide-name-in {
  from {
    -webkit-clip-path: inset(0 100% 0 0);
            clip-path: inset(0 100% 0 0);
  }
  to {
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
  }
}

@keyframes slide-name-in {
  from {
    -webkit-clip-path: inset(0 100% 0 0);
            clip-path: inset(0 100% 0 0);
  }
  to {
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
  }
}

.c-group__job-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.c-group__job-item {
  background-color: #fff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  min-height: 300px;
  padding: 50px 0 40px;
  position: relative;
  width: 33.333%;
}

/* Vertical separators */
.c-group__job-item:nth-child(2)::before,
.c-group__job-item:nth-child(3)::before,
.c-group__job-item:nth-child(5)::before {
  background-color: #ddd;
  content: "";
  height: calc(100% - 50px);
  min-height: 240px;
  left: 0;
  position: absolute;
  top: 20px;
  width: 1px;
}

.c-group__job-item:nth-child(5)::before {
  top: 50px;
  height: 200px;
}

/* Horizontal separator for row 2 */
.c-group__job-item:nth-child(4)::after,
.c-group__job-item:nth-child(5)::after {
  background-color: #ddd;
  content: "";
  height: 1px;
  left: 25px;
  position: absolute;
  right: 25px;
  top: 0;
}

.c-group__job-item .ttl {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: var(--font2);
  font-size: clamp(2rem, 1.5277vw, 2.2rem);
  font-weight: normal;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  letter-spacing: 0.05em;
  line-height: 1.6;
  min-height: 60px;
  text-align: center;
}

.c-group__job-item .txt {
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  line-height: 2;
  margin-inline: auto;
  -webkit-margin-before: 30px;
          margin-block-start: 30px;
  max-width: 220px;
  text-align: justify;
}


/* Sales & BLS
============================================================================= */
.p-group-sales .c-group__hero,
.p-group-bsl .c-group__hero {
  padding-block-end: 40px;
}


/*  */
.c-group__desc-img {
  max-width: 882px;
  margin: 100px auto 0;
  position: relative;
  z-index: 10;
}

.c-mission__plan {
  margin-block: 0 -80px;
  padding-block: 165px 150px;
  transform: translateY(-80px);
}

/* Responsive
============================================================================= */
@media screen and (min-width: 768px) and (max-width: 992px) {
  .c-group__job-item .ttl br {
    display: none;
  }

  .c-group__job-item .ttl,
  .c-group__job-item .txt {
    padding-inline: 10px;
  }
}

@media screen and (min-width: 768px) {
  .c-group__job-label {
    max-width: 320px;
  }
  /* Right-edge rounding */
  /* 3つ以下: lastに右上下 */
  .c-group__job-item:last-child:nth-child(-n+3) {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
  }

  /* 4つ以上: 3つ目は右上下、lastは右下のみ */
  .c-group__job-item:nth-child(3):not(:last-child) {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
  }

  .c-group__job-item:last-child:nth-child(n+4) {
    border-bottom-right-radius: 30px;
  }
}

@media screen and (max-width: 767.98px) {
  .c-page-title {
    background-size: 80% auto;
  }

  .p-pages .c-page__head {
    padding-block-end: 80px;
  }

  .c-group__tab {
    margin: 0 -20px;
  }

  .c-group__tab-list {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding-block-end: 0;
  }

  .c-group__tab-item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
            flex: 0 0 50%;
  }

  .c-group__tab-item + .c-group__tab-item::before {
    height: 50px;
  }

  .c-group__tab-item:nth-child(3),
  .c-group__tab-item:nth-child(4) {
    position: relative;
  }

  .c-group__tab-item:nth-child(3)::before,
  .c-group__tab-item:nth-child(4)::before,
  .c-group__tab-item:nth-child(4)::after {
    background-color: #ddd;
    content: "";
    position: absolute;
  }

  .c-group__tab-item:nth-child(3)::before,
  .c-group__tab-item:nth-child(4)::before {
    height: 1px;
    width: calc(100% - 30px);
    left: 0;
    right: 0;
    margin-inline: auto;
    top: 0;
  }

  .c-group__tab-item:nth-child(4)::after {
    height: 50px;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 1px;
  }

  .c-group__tab-item>a,
  .c-group__tab-item>span {
    font-size: 1.4rem;
    min-height: 80px;
    padding: 15px 10px;
  }

  .c-group__tab-item.is-current>a,
  .c-group__tab-item.is-current>span {
    background-size: auto 16px;
  }

  .c-group__hero .c-hdg02 {
    position: static;
    -webkit-margin-after: 30px;
            margin-block-end: 30px;
  }

  .c-group__hero-img {
    margin-inline-end: -20px;
    width: 100%;
  }

  .c-group__hero-img img {
    min-height: 240px;
    object-fit: cover;
  }

  .c-group__hero-ttl {
    left: -20px;
  }

  .c-group__hero-ttl .hdg em {
    font-size: 2rem;
    padding: 12px;
    line-height: 1.4;
  }

  .c-group__hero-ttl .hdg em + em {
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
    -webkit-margin-after: -6px;
            margin-block-end: -6px;
  }

  .c-group__desc {
    -webkit-margin-before: 40px;
            margin-block-start: 40px;
  }

  .c-group__desc .txt {
    font-size: 1.4rem;;
  }

  .c-shaft {
    padding-block: 80px;
    margin-block-start: 80px;
  }

  .c-shaft__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 40px;
  }

  .c-shaft__item + .c-shaft__item {
    -webkit-margin-before: 40px;
            margin-block-start: 40px;
  }

  .c-shaft__item .num {
    font-size: 1.6rem;
  }

  .c-mission {
    margin-block-start: 80px;
    padding-block: 80px;
  }

  .c-mission__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 40px;
  }

  .c-group__teams {
    gap: 40px;
  }

  .c-group__team {
    border-radius: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .c-group__team .c-group__job-label {
    border-radius: 20px 20px 0 0;
    min-height: 200px;
    padding: 40px 20px;
    width: 100%;
  }

  .c-group__team-content {
    border: solid 1px #ddd;
    border-top: 0;
    border-radius: 0 0 20px 20px;
  }

  .c-group__team-body {
    border-radius: 0 0 20px 20px;
    padding: 30px 20px;
  }

  .c-group__team-body.sp-border-none {
    border-radius: 0;
  }

  .c-group__team-content .c-group__job-item::after {
    display: none;
  }

  .p-group-job {
    padding-block: 80px;
  }

  .p-group-job .c-hdg02 {
    -webkit-margin-after: 40px;
            margin-block-end: 40px;
  }

  .c-group__job {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    border-radius: 0;
  }

  .c-group__job-label {
    border-radius: 20px 20px 0 0;
    min-height: 200px;
    padding: 40px 20px;
    width: 100%;
  }

  .c-group__job-label .name em + em {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
    -webkit-margin-after: -4px;
    margin-block-end: -4px;
  }

  .c-group__job-grid {
    border-top: solid 1px #ddd;
    border-radius: 0 0 20px 20px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .c-group__job-item {
    min-height: auto;
    padding: 30px 20px;
    width: 100% !important;
  }

  .c-group__job-item:nth-child(2)::before,
  .c-group__job-item:nth-child(3)::before,
  .c-group__job-item:nth-child(5)::before {
    display: none;
  }

  .c-group__job-item:nth-child(4)::after,
  .c-group__job-item:nth-child(5)::after {
    display: none;
  }

  .c-group__job-item + .c-group__job-item {
    border-top: 1px solid #ddd;
  }

  .c-group__job-item:last-child {
    border-radius: 0 0 20px 20px;
  }

  .c-group__job-item .ttl {
    min-height: inherit;
  }

  .c-group__job-item .txt {
    margin-block-start: 20px;
    max-width: none;
  }

  .c-group__desc-img {
    margin-block-start: 40px;
  }

  .c-mission__plan {
    margin-block-start: 0;
    padding-block: 100px;
    transform: translateY(-50px);
  }
}
