.about-page {
  background: #ffffff;
}

.about-shell {
  position: relative;
  overflow: hidden;
}

.about-greeting {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 66px;
}

.about-greeting__content {
  display: grid;
  /* grid-template-columns: minmax(0, 643px) 595px; */
  grid-template-columns:calc(50% - 5vw) 50% ;
  /* gap: 136px; */
  gap: 5vw;
  align-items: center;
}

.about-greeting__text {
  display: grid;
  gap: 24px;
  font-size: 16px;
  line-height: 1.7;
}

.about-greeting__image {
  /* height: 800px; */
}

.about-history {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 32px;
  max-width: 1090px;
  padding-top: 64px;
  padding-bottom: 156px;
}

.about-history__badge {
  padding: 8px 18px;
  background: #efece5;
  font-family: var(--mincho-font);
  font-size: 24px;
  line-height: 1.7;
}

.about-history__intro {
  font-size: 16px;
  line-height: 1.7;
}

.about-history__line {
  width: 100%;
  height: 1px;
  background: rgba(17, 17, 17, 0.6);
}

.about-history__items {
  display: grid;
  gap: 8px;
  width: 100%;
}

.about-history__item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.about-history__year {
  flex: 0 0 4.2em;
  font-size: 16px;
  line-height: 1.7;
}

.about-history__body {
  font-size: 16px;
  line-height: 1.7;
}

.about-features {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 64px;
  padding-bottom: 220px;
}

.about-feature-block {
  display: grid;
  align-items: center;
}


.about-feature-block--first {
  /* grid-template-columns: 710px minmax(0, 533px); */
  grid-template-columns: 50% calc(50% - 5vw);
  gap: 5vw;
}

.about-feature-block--second {
  grid-template-columns: calc(50% - 5vw) 50%;
  gap: 5vw;
}

.about-feature-block__media {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-feature-block__media--skeleton {
  min-height: 800px;
}

.about-feature-block__media--care {
  min-height: 600px;
}

.about-feature-block__list {
  display: grid;
  gap: 32px;
}

.about-feature-item {
  display: grid;
  gap: 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
}

.about-feature-block--first .about-feature-block__list .about-feature-item:nth-child(3){
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
  padding-bottom: 32px;
}


.about-feature-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-feature-item__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-feature-item__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 77px;
  height: 77px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: #6c7992;
  color: #ffffff;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.8;
}

.about-feature-item__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
}

.about-feature-item__text {
  font-size: 16px;
  line-height: 1.7;
}

.about-feature-item__button,
.about-feature-item__tag {
  min-width: 112px;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  padding: 8px 24px;
  font-size: 16px;
}

.about-feature-item__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.about-gallery {
  /* display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 43px;
  align-items: start; */
}

.about-gallery__label {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  writing-mode: vertical-rl;
  color: #ffffff;
}

.about-gallery__grid {
  display: grid;
  /* grid-template-columns: 754px 420px; */
  /* grid-template-columns: 75% 32%; */
  grid-template-columns: 1.8fr 1fr;
  gap: 10%;
  align-items: start;
}

.about-gallery__image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-gallery__image--wide {
  aspect-ratio: 754 / 500;
  object-fit: cover;
}

.about-gallery__image--tall {
  aspect-ratio: 420 / 500;
  object-fit: cover;
}

.about-gallery__image--tall img{
  margin-top: 200px;
}

.about-social--mobile {
  display: none;
}

.about-staff {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 64px;
  padding-bottom: 132px;
}

.about-staff__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 572px));
  justify-content: space-between;
  gap: 32px;
}

.about-staff-card {
  display: grid;
  gap: 24px;
  align-content: start;
}

.about-staff-card__photo {
  width: 280px;
  height: 280px;
  margin: 0 auto;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.about-staff-card__name {
  font-size: 20px;
  line-height: 1.7;
  text-align: center;
}

.about-staff-card__message {
  font-size: 16px;
  line-height: 1.7;
}

.about-staff-card__meta {
  display: grid;
  gap: 12px;
}

.about-staff-card__meta-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.about-staff-card__meta-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  background: #efece5;
  font-size: 16px;
  line-height: 2;
}

.about-staff-card__meta-value {
  font-size: 16px;
  line-height: 2;
}

.about-page .site-footer__map {
  overflow: hidden;
  background: none;
}

.about-page .site-footer__map::before,
.about-page .site-footer__map::after,
.about-page .site-footer__map-grid {
  display: none;
}

.site-footer__map-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.site-footer__brand-logo {
  display: block;
  width: 320px;
  max-width: 100%;
}

@media (max-width: 1199px) {
  .about-greeting {
    /* grid-template-columns: 1fr;
    gap: 40px; */
  }
 
  .about-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-gallery__label,
  .about-vertical-heading__jp,
  .about-vertical-heading__en {
    writing-mode: horizontal-tb;
  }
  .about-gallery__label {
    color: #111111;
    text-align: center;
  }
  .about-feature-block__media--skeleton,
  .about-feature-block__media--care {
    min-height: 520px;
  }
}
@media (max-width: 767px) {
  
  .about-greeting {
    gap: 24px;
    padding-bottom: 40px;
  }
  .about-greeting__text {
    padding-top: 0;
    order: 2;
  }
  .about-greeting__image {
    /* height: 340px; */
    order: 1;
  }
  .about-history {
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 72px;
  }
  .about-history__badge {
    font-size: 20px;
  }
  .about-history__item {
    display: grid;
    gap: 4px;
  }
  .about-features {
    gap: 48px;
    padding-bottom: 96px;
  }
  .about-feature-block__media--skeleton {
    min-height: 301px;
  }
  .about-feature-block__media--care {
    min-height: 226px;
  }
  .about-feature-item__head {
    align-items: flex-start;
  }
  .about-feature-item__num {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  .about-feature-item__title {
    font-size: 16px;
  }
  .about-gallery {
    gap: 32px;
  }
  .about-gallery__grid {
    gap: 38px;
  }
  .about-gallery__image--tall img{
  margin-top: 0;
  }
  .about-gallery__image--wide {
    min-height: 173px;
  }
  .about-gallery__image--tall {
    /* min-height: 232px; */
    width: 60%;
    justify-self: end;
  }
  .about-social--mobile {
    display: flex;
    justify-content: center;
    gap: 24px;
  }
  .about-social__icon {
    width: 50px;
    height: 50px;
    aspect-ratio: 1/1;
  }
  .about-staff {
    gap: 48px;
    padding-bottom: 96px;
  }
  .about-staff-card__photo {
    width: 267px;
    height: 267px;
  }


  .about-staff-card__name {
    font-size: 16px;
  }
  .about-staff-card__meta-row {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .about-page .site-footer {
    display: grid;
  }
  .about-page .site-footer__info {
    order: 1;
    padding: 24px;
  }
  .about-page .site-footer__map {
    order: 2;
    min-height: 200px;
  }
  .site-footer__brand-logo {
    width: 216px;
  }
 .about-greeting__content,
  .about-feature-block--first,
  .about-feature-block--second,
  .about-gallery__grid,
  .about-staff__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}



/* スライダー */
.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-1{
  aspect-ratio: 710 / 800 !important;
}
.slider-2{
  aspect-ratio: 710 / 600 !important;
}
