/* ----------------------------------
about
---------------------------------- */
.company-wrap #about .df-ttl {
  position: relative;
  margin: 0;
  text-align: center;
  z-index: 2;
}
.company-wrap #about .flex {
  position: relative;
  justify-content: space-between;
  align-items: center;
  padding: 10.3rem 0 8rem;
  margin-top: -5.8rem;
}
.company-wrap #about .flex::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100vw;
  margin-left: calc(100% - 100vw - 12rem);
  height: 100%;
  background: var(--color-green-bg);
}
.company-wrap #about .flex-txt {
  position: relative;
  width: 72rem;
  z-index: 2;
}
.company-wrap #about .flex-txt .logo {
  width: 40rem;
}
.company-wrap #about .flex-txt .lead {
  margin: 4.1rem auto 0;
  font-size: 2.4rem;
  font-family: var(--font-serif);
  letter-spacing: 0.1em;
  line-height: 1.8;
  color: var(--color-green);
}
.company-wrap #about .flex-txt .lead span {
  color: var(--color-pink);
}
.company-wrap #about .flex-txt table {
  margin-top: 3.5rem;
  width: 100%;
}
.company-wrap #about .flex-txt table th,
.company-wrap #about .flex-txt table td {
  padding: 1.6rem 0;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgb(0 73 93 / 0.2);
}
.company-wrap #about .flex-txt table th {
  width: 12rem;
  min-width: 12rem;
  font-weight: var(--bold);
}
.company-wrap #about .flex-img {
  position: relative;
  width: 66rem;
  height: 59.5rem;
  overflow: hidden;
  margin-right: -12rem;
  z-index: 2;
}
.company-wrap #about .flex-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 767px) {
  .company-wrap #about .df-ttl {
    text-align: left;
  }
  .company-wrap #about .flex {
    padding: 9.6rem 0 7rem;
    gap: 5rem;
    flex-direction: column-reverse;
    margin-top: -4rem;
  }
  .company-wrap #about .flex-img {
    width: 100%;
    height: 31.5rem;
    margin: 0;
  }
  .company-wrap #about .flex-txt {
    width: 100%;
  }
  .company-wrap #about .flex-txt .logo {
    width: 30rem;
    margin: 0 auto;
  }
  .company-wrap #about .flex-txt .lead {
    margin: 3.5rem auto 0;
    font-size: 1.8rem;
  }
  .company-wrap #about .flex-txt table th,
  .company-wrap #about .flex-txt table td {
    padding: 1.5rem 0;
    font-size: 1.3rem;
    line-height: 1.4;
    vertical-align: baseline;
  }
  .company-wrap #about .flex-txt table th {
    width: 10rem;
    min-width: 10rem;
    padding-left: 2rem;
  }
  .company-wrap #about .flex-txt table td {
    padding-right: 2rem;
  }
  .company-wrap #about .flex-txt table {
    width: calc(100% + 4rem);
    margin: 3.3rem -2rem 0;
  }
  .company-wrap #about .flex::after {
    margin: 0;
    left: -2rem;
    width: calc(100% + 4rem);
  }
}


/* ----------------------------------
profile
---------------------------------- */
.company-wrap #profile {
  padding-top: 12.7rem;
}
.company-wrap #profile .df-ttl {
  position: relative;
  margin: 0;
  text-align: center;
  z-index: 2;
}
.company-wrap #profile .flex {
  position: relative;
  justify-content: space-between;
  align-items: center;
  padding: 11.7rem 0 7.8rem;
  margin-top: -5.8rem;
}
.company-wrap #profile .flex::after {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  display: block;
  width: 100vw;
  margin-right: calc(100% - 100vw - 12rem);
  height: 100%;
  background: var(--color-green-bg);
}
.company-wrap #profile .flex-txt {
  position: relative;
  width: 62rem;
  z-index: 2;
}
.company-wrap #profile .flex-txt table {
  width: 100%;
}
.company-wrap #profile .flex-txt table th,
.company-wrap #profile .flex-txt table td {
  padding: 1.6rem 0;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgb(0 73 93 / 0.2);
}
.company-wrap #profile .flex-txt table th {
  width: 12rem;
  min-width: 12rem;
  font-weight: var(--bold);
}
.company-wrap #profile .flex-img {
  position: relative;
  width: 64rem;
  z-index: 2;
}
.company-wrap #profile .flex-img .img {
  position: relative;
  height: 56.7rem;
  overflow: hidden;
}
.company-wrap #profile .flex-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-wrap #profile .flex-img .name {
  padding: 1rem 1rem 0 0;
  text-align: right;
  font-size: 1.8rem;
  font-family: var(--font-serif);
  letter-spacing: 0.1em;
}
.company-wrap #profile .flex-img .name small {
  font-size: 1.4rem;
}
@media screen and (max-width: 767px) {
  .company-wrap #profile .df-ttl {
    text-align: left;
  }
  .company-wrap #profile .flex {
    padding: 15.6rem 0 7rem;
    gap: 5.3rem;
    flex-direction: column;
    margin-top: -10rem;
  }
  .company-wrap #profile .flex-img {
    width: 100%;
    margin: 0;
  }
  .company-wrap #profile .flex-img .img {
    height: 31.5rem;
  }
  .company-wrap #profile .flex-txt {
    width: 100%;
  }
  .company-wrap #profile .flex-txt .logo {
    width: 30rem;
    margin: 0 auto;
  }
  .company-wrap #profile .flex-txt .lead {
    margin: 3.5rem auto 0;
    font-size: 1.8rem;
  }
  .company-wrap #profile .flex-txt table th,
  .company-wrap #profile .flex-txt table td {
    padding: 1.5rem 0;
    font-size: 1.3rem;
    line-height: 1.4;
    vertical-align: baseline;
  }
  .company-wrap #profile .flex-txt table th {
    width: 10rem;
    min-width: 10rem;
    padding-left: 2rem;
  }
  .company-wrap #profile .flex-txt table td {
    padding-right: 2rem;
  }
  .company-wrap #profile .flex-txt table {
    width: calc(100% + 4rem);
    margin: 0 -2rem 0;
  }
  .company-wrap #profile .flex::after {
    margin: 0;
    left: -2rem;
    width: calc(100% + 4rem);
  }
}


/* ----------------------------------
history
---------------------------------- */
.company-wrap #history {
  padding-top: 14.5rem;
}
.company-wrap #history .in {
  position: relative;
}
.company-wrap #history .in::after {
  position: absolute;
  top: -8.5rem;
  right: -8rem;
  content: "";
  display: block;
  width: 99rem;
  height: 45.5rem;
  background: url(../img/company/company_history_bg1.png) center/contain no-repeat;
  z-index: -1;
}
.company-wrap #history .in::before {
  position: absolute;
  bottom: -1.8rem;
  left: -16.3rem;
  content: "";
  display: block;
  width: 138rem;
  height: 55.9rem;
  background: url(../img/company/company_history_bg2.png) center/contain no-repeat;
  z-index: -1;
}
.company-wrap #history .df-ttl {
  margin-bottom: 4.8rem;
  text-align: center;
}
.company-wrap #history table {
  position: relative;
  max-width: 112rem;
  width: 100%;
  margin: 0 auto;
}
.company-wrap #history table::after {
  position: absolute;
  content: "";
  top: 0;
  left: 30.3rem;
  width: 0.3rem;
  height: 100%;
  background: var(--color-green);
  opacity: 0.2;
  pointer-events: none;
}
.company-wrap #history tr:not(:last-of-type) th,
.company-wrap #history tr:not(:last-of-type) td {
  border-bottom: 1px solid rgb(0 73 93 / 0.2);
}
.company-wrap #history th {
  width: 30.3rem;
  font-size: 4.8rem;
  font-family: var(--font-en);
  font-weight: var(--semibold);
  color: var(--color-green);
  opacity: 0.5;
  text-align: right;
  padding-right: 6.4rem;
  vertical-align: baseline;
  line-height: 1.34;
}
.company-wrap #history td {
  width: calc(100% - 30.3rem);
  padding: 2.1rem 0;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.company-wrap #history td .data {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 3.3rem;
}
.company-wrap #history td .data::before {
  position: absolute;
  top: 50%;
  left: -0.2rem;
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 100%;
  background: var(--color-green);
  transform: translateY(-50%);
}
.company-wrap #history td .data span {
  width: 16rem;
  min-width: 16rem;
}
.company-wrap #history td .data + .data {
  margin-top: 1rem;
}
.company-wrap #history tr:last-of-type td {
  padding-bottom: 3.9rem;
}
@media screen and (max-width: 767px) {
  .company-wrap #history {
    padding-top: 10rem;
  }
  .company-wrap #history .df-ttl {
    margin-bottom: 4rem;
  }
  .company-wrap #history table {
    width: calc(100% + 4rem);
    margin: 0 -2rem;
  }
  .company-wrap #history th {
    display: block;
    width: 100%;
    border: none !important;
    font-size: 3.6rem;
    padding: 1rem 2rem 0;
    text-align: left;
    line-height: 1;
  }
  .company-wrap #history td {
    display: block;
    width: 100%;
    padding: 1rem 2rem 1rem 2.8rem;
    font-size: 1.3rem;
    border-bottom: 1px solid rgb(0 73 93 / 0.2) !important;
  }
  .company-wrap #history tr:last-of-type td {
    padding-bottom: 1rem;
  }
  .company-wrap #history td .data {
    padding-left: 1.7rem;
  }
  .company-wrap #history td .data span {
    width: 11rem;
    min-width: 11rem;
  }
  .company-wrap #history td .data::before {
    left: 0;
  }
  .company-wrap #history table::after {
    content: none;
  }
  .company-wrap #history .in::after {
    top: -6.9rem;
    right: 0;
    height: 41.1rem;
    width: 100%;
    background-image: url(../img/company/company_history_bg1_sp.png);
  }
  .company-wrap #history .in::before {
    bottom: 1.7rem;
    left: 0;
    height: 47rem;
    width: 100%;
    background-image: url(../img/company/company_history_bg2_sp.png);
  }
}


/* ----------------------------------
group
---------------------------------- */
.company-wrap #group {
  padding-top: 12.4rem;
}
.company-wrap #group .in {
  position: relative;
  padding-bottom: 9rem;
}
.company-wrap #group .df-ttl {
  text-align: center;
}
.company-wrap #group .map {
  position: relative;
  overflow: hidden;
  max-width: 112rem;
  width: 100%;
  height: 55.7rem;
  margin: 0 auto;
}
.company-wrap #group .map img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-wrap #group .map .data {
  position: absolute;
  right: 0;
  top: 0;
  width: 31rem;
  padding: 1.8rem 3rem;
  background: var(--color-green);
  box-shadow: 0 0.3rem 2rem rgb(4 0 0 / 0.2);
  color: var(--color-white);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  z-index: 2;
}
.company-wrap #group .map .data dt,
.company-wrap #group .map .data dd {
  display: inline-block;
  line-height: 1.4;
}
.company-wrap #group .map .data dd small {
  font-size: 1.2rem;
}
.company-wrap #group .card {
  position: absolute;
  padding: 2.2rem 3rem 2.5rem;
  background: var(--color-white);
  border-radius: 1rem;
  box-shadow: 0 0.5rem 2rem rgb(4 0 0 / 0.2);
} 
.company-wrap #group .card .ttl-h3 {
  width: max-content;
  margin: 0 auto 3rem;
  padding: 0 1.6rem 0 2rem;
  border-bottom: 0.5rem solid var(--color-green);
  font-size: 3.6rem;
  font-family: var(--font-en);
  font-weight: var(--semibold);
  letter-spacing: 0.1em;
  color: var(--color-green);
  line-height: 1.3;
}
.company-wrap #group .card .ttl-h3 small {
  padding-left: 1.8rem;
  font-size: 1.5rem;
  font-weight: var(--medium);
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
}
.company-wrap #group .card .data {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem;
}
.company-wrap #group .card .data dt {
  width: 5rem;
  padding: 0.4rem 0;
  font-size: 1.2rem;
  background: var(--color-green);
  color: var(--color-white);
  text-align: center;
  letter-spacing: 0.06em;
}
.company-wrap #group .card .data dd {
  width: calc(100% - 5rem - 1rem);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.company-wrap #group .card.base {
  top: 10rem;
  left: 0;
  width: 45rem;
}
.company-wrap #group .card.group {
  right: 0;
  bottom: 0;
  width: 62rem;
}
@media screen and (max-width: 767px) {
  .company-wrap #group {
    padding-top: 10rem;
  }
  .company-wrap #group .in {
    padding-bottom: 0;
  }
  .company-wrap #group .map {
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    height: 26.6rem;
  }
  .company-wrap #group .map img {
    object-fit: contain;
    object-position: bottom;
  }
  .company-wrap #group .map .data {
    width: 100%;
    padding: 1.8rem 7rem;
  }
  .company-wrap #group .card {
    position: relative;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    padding: 3rem 1.5rem;
    width: 100% !important;
    z-index: 2;
  }
  .company-wrap #group .card.base {
    margin-top: -1rem;
  }
  .company-wrap #group .card + .card {
    margin-top: 2rem;
  }
  .company-wrap #group .card .ttl-h3 {
    width: 100%;
    padding: 0 0 1.2rem 0;
    margin-bottom: 2.7rem;
    line-height: 1;
    text-align: center;
  }
  .company-wrap #group .card .ttl-h3 small {
    display: block;
    padding: 0.8rem 0 0;
  }
  .company-wrap #group .card .data {
    row-gap: 1.4rem;
  }
}


/* ----------------------------------
model-house
---------------------------------- */
.company-wrap #model-house {
  padding: 12.6rem 0 0;
}
.company-wrap #model-house .df-ttl {
  position: relative;
  text-align: center;
  margin: 0;
  z-index: 2;
}
.company-wrap #model-house .flex {
  position: relative;
  align-items: center;
  justify-content: space-between;
  padding: 0 6rem 0 12rem;
  margin-bottom: 10rem;
  z-index: 2;
}
.company-wrap #model-house .flex-img {
  position: relative;
  overflow: hidden;
  width: 48rem;
  height: 30rem;
  border-radius: 0.8rem;
}
.company-wrap #model-house .flex-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-wrap #model-house .flex-txt {
  width: 62rem;
}
.company-wrap #model-house .flex-txt .ttl-h2-serif {
  margin-bottom: 2.6rem;
}
.company-wrap #model-house .wrap {
  position: relative;
  margin-top: -5.8rem;
  padding: 12.3rem 0 8rem;
}
.company-wrap #model-house .wrap::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100vw;
  margin-left: calc(100% - 100vw - 12rem);
  height: 100%;
  background: var(--color-green-bg);
}
@media screen and (max-width: 767px) {
  .company-wrap #model-house .wrap {
    padding: 9.4rem 0 7rem;
    margin-top: -4rem;
  }
  .company-wrap #model-house .flex {
    flex-direction: column;
    padding: 0;
    gap: 4.6rem;
    margin-bottom: 6rem;
  }
  .company-wrap #model-house .flex-img {
    width: 100%;
    height: 21.9rem;
  }
  .company-wrap #model-house .flex-txt {
    width: 100%;
  }
  .company-wrap #model-house .wrap::after {
    width: calc(100% + 4rem);
    margin: 0 -2rem;
  }
}


/* --------------------------------------------------------------------
Greeting
-------------------------------------------------------------------- */
.company-wrap.greeting-wrap #about .flex {
  padding-bottom: 0;
}
.company-wrap.greeting-wrap #about .flex::after {
  height: calc(100% + 10rem);
}
.company-wrap.greeting-wrap #about .flex-txt {
  width: 62rem;
}
.company-wrap.greeting-wrap #about .flex-txt .ttl-h2-serif {
  margin-bottom: 4.5rem;
}
.company-wrap.greeting-wrap #about .flex-txt .lead {
  margin: 0 0 3.9rem;
}
.company-wrap.greeting-wrap #about .flex-txt .name {
  padding: 2.3rem 0 0 0;
  text-align: right;
  font-size: 1.8rem;
  font-family: var(--font-serif);
  letter-spacing: 0.1em;
}
.company-wrap.greeting-wrap #about .flex-txt .name small {
  font-size: 1.4rem;
}
.company-wrap.greeting-wrap #about .flex-img {
  width: 64rem;
  height: 94rem;
  margin: 0;
}
.company-wrap.greeting-wrap #profile {
  padding-top: 23.5rem;
}
.company-wrap.greeting-wrap #profile .ttl-h2-serif {
  margin-bottom: 4.5rem;
}
.company-wrap.greeting-wrap #profile .flex {
  padding: 0;
  margin: 0;
}
.company-wrap.greeting-wrap #profile .flex::after {
  content: none;
}
.company-wrap.greeting-wrap #profile .flex-txt {
  width: 62rem;
}
.company-wrap.greeting-wrap #profile .flex-txt .lead {
  margin: 4rem 0 3rem;
  font-size: 2.4rem;
  font-family: var(--font-serif);
  letter-spacing: 0.1em;
  line-height: 1.8;
  color: var(--color-green);
}
.company-wrap.greeting-wrap #profile .flex-txt .lead span {
  color: var(--color-pink);
}
.company-wrap.greeting-wrap #profile .flex-img .img {
  height: auto;
}
.company-wrap.greeting-wrap #profile .flex-img .img img {
  position: static;
}
.company-wrap.greeting-wrap .button {
  margin: 7rem auto 0;
}
.company-wrap.greeting-wrap #profile .box {
  margin-top: 13.5rem;
  padding: 7.5rem 16rem 10rem;
  background: var(--color-green-bg);
}
.company-wrap.greeting-wrap #profile .box .ttl-h2-serif {
  margin-bottom: 4.5rem;
  text-align: center;
}
.company-wrap.greeting-wrap #profile .box .flex {
  margin: 0;
}
.company-wrap.greeting-wrap #profile .box .flex-txt {
  width: 52rem;
}
.company-wrap.greeting-wrap #profile .box .flex-img {
  width: 46rem;
}
.company-wrap.greeting-wrap #profile .in {
  padding-bottom: 5rem;
}
.company-wrap.greeting-wrap #profile .link {
  position: relative;
  display: block;
  width: 80rem;
  height: 22rem;
  margin: 16rem auto 0;
  border-radius: 0.8rem;
  background: var(--color-pink);
  color: var(--color-white);
}
.company-wrap.greeting-wrap #profile .link .img {
  position: absolute;
  top: 50%;
  left: 3.4rem;
  overflow: hidden;
  width: 30.3rem;
  height: 30.3rem;
  border-radius: 100%;
  transform: translateY(-50%);

  background: gray;
}
.company-wrap.greeting-wrap #profile .link .img img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}
.company-wrap.greeting-wrap #profile .link span {
  position: absolute;
  right: 12rem;
  top: 50%;
  font-size: 2.4rem;
  font-weight: var(--medium);
  letter-spacing: 0.06em;
  transform: translateY(-50%);
}
.company-wrap.greeting-wrap #profile .link::before {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  content: "";
  display: block;
  width: 34.2rem;
  height: 34.2rem;
  border-radius: 100%;
  background: var(--color-white);
  opacity: 0.2;
  transform: translateY(-50%);
  pointer-events: none;
}
.company-wrap.greeting-wrap #profile .link::after {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  right: 5.2rem;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.8rem 0 0.8rem 1rem;
  border-color: transparent transparent transparent var(--color-white);
  transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  .company-wrap.greeting-wrap #about .df-ttl {
    text-align: center;
  }
  .company-wrap.greeting-wrap #about .flex {
    flex-direction: column;
  }
  .company-wrap.greeting-wrap #about .flex-txt {
    width: 100%;
  }
  .company-wrap.greeting-wrap #about .flex-txt .lead {
    font-size: 2.4rem;
  }
  .company-wrap.greeting-wrap #about .flex-txt .name {
    padding-top: 1.65rem;
  }
  .company-wrap.greeting-wrap #about .flex-img {
    width: 28.4rem;
    height: 42.6rem;
    margin: 0 auto;
  }
  .company-wrap.greeting-wrap #about .flex::after {
    height: calc(100% - 5.8rem);
  }
  .company-wrap.greeting-wrap #profile {
    padding-top: 12.7rem;
  }
  .company-wrap.greeting-wrap #profile .df-ttl {
    text-align: center;
  }
  .company-wrap #profile .flex-img {
    width: 34.5rem;
    margin-left: -2rem;
  }
  .company-wrap.greeting-wrap #profile .flex-txt {
    width: 100%;
  }
  .company-wrap.greeting-wrap #profile .flex-img {
    margin-right: -2rem;
    width: calc(100% + 4rem);
  }
  .company-wrap.greeting-wrap .button {
    margin-top: 6rem;
  }
  .company-wrap.greeting-wrap #profile .box {
    margin-top: 10rem;
    padding: 4rem 2rem;
  }
  .company-wrap.greeting-wrap #profile .box .flex-txt,
  .company-wrap.greeting-wrap #profile .box .flex-img {
    width: 100%;
  }
  .company-wrap.greeting-wrap #profile .link {
    width: 100%;
    height: auto;
    padding-bottom: 3.3rem;
    margin-top: 10rem;
  }
  .company-wrap.greeting-wrap #profile .link span {
    position: relative;
    right: auto;
    top: auto;
    display: block;
    text-align: center;
    width: max-content;
    margin: 1rem auto 0;
    padding-right: 2.6rem;
    transform: unset;
  }
  .company-wrap.greeting-wrap #profile .link span::after {
    position: absolute;
    content: "";
    display: block;
    top: 50%;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.8rem 0 0.8rem 1rem;
    border-color: transparent transparent transparent var(--color-white);
    transform: translateY(-50%);
  }
  .company-wrap.greeting-wrap #profile .link .img {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto;
    transform: translateY(-4.1rem);
  }
  .company-wrap.greeting-wrap #profile .link::before {
    top: -6.4rem;
    left: 50%;
    width: 35rem;
    height: 35rem;
    transform: translateX(-50%);
  }
  .company-wrap.greeting-wrap #profile .link::after {
    content: none;
  }
}