@charset "UTF-8";
#about {
  margin-bottom: 11rem;
}
#about .about__text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
@media screen and (width <= 767px) {
  #about .about__text {
    display: block;
  }
}
#about .about__text figure {
  width: 12.5%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media screen and (width <= 767px) {
  #about .about__text figure {
    width: 12rem;
    margin: 1rem 2rem 1rem 0;
    float: left;
  }
}
#about .about__text::after {
  clear: both;
}
#about .btn--color {
  margin-top: 1.5rem;
}

.anchor__list {
  margin-bottom: 8rem;
}

#philosophy .philosophy__list {
  display: grid;
  gap: 2rem 0;
  grid-template-columns: 1fr 1fr;
  counter-reset: listcnt;
}
@media screen and (width <= 767px) {
  #philosophy .philosophy__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
#philosophy .philosophy__list__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.3rem;
  padding-right: 2em;
}
@media screen and (width <= 767px) {
  #philosophy .philosophy__list__item {
    padding-right: 0;
    gap: 1rem;
  }
}
#philosophy .philosophy__list__item:nth-of-type(1) {
  grid-row: 1;
  grid-column: 1;
}
#philosophy .philosophy__list__item:nth-of-type(2) {
  grid-row: 2;
  grid-column: 1;
}
#philosophy .philosophy__list__item:nth-of-type(3) {
  grid-row: 3;
  grid-column: 1;
}
#philosophy .philosophy__list__item:nth-of-type(4) {
  grid-row: 1;
  grid-column: 2;
}
#philosophy .philosophy__list__item:nth-of-type(5) {
  grid-row: 2;
  grid-column: 2;
}
#philosophy .philosophy__list__item::before {
  counter-increment: listcnt;
  content: counter(listcnt);
  width: 4rem;
  height: 4rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  background-color: var(--color-light);
  border-radius: 50%;
  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;
  color: #fff;
  font-size: 2.1rem;
  font-weight: 700;
}
@media screen and (width <= 767px) {
  #philosophy .philosophy__list__item::before {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.4rem;
  }
}
#philosophy .philosophy__list__item > span {
  min-height: 4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.6;
}
@media screen and (width <= 767px) {
  #philosophy .philosophy__list__item > span {
    min-height: 2.5rem;
    font-size: 1.4rem;
  }
}

#education .container__col2:first-of-type {
  margin-block: 5rem 7rem;
}
#education .container__col2 .title {
  color: var(--color-primary);
  font-size: 2.7rem;
  font-weight: 700;
  margin-block: 0.5rem 2.5rem;
  line-height: 1.4;
}

#message .box--line:first-of-type {
  margin-top: 4rem;
}
#message .message__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4rem;
}
@media screen and (width <= 767px) {
  #message .message__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 2.5rem;
  }
}
#message .message__left {
  width: 24rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  color: var(--color-primary);
}
@media screen and (width <= 767px) {
  #message .message__left {
    margin-inline: auto;
    text-align: center;
  }
}
#message .message__title {
  margin-block: 2rem 0.8rem;
  font-size: 1.4rem;
  line-height: 1.2;
}
#message .message__name {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

#history .history__list {
  margin-top: 5rem;
}
#history .history__list__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
#history .history__list__item p {
  margin-bottom: 0;
}
#history .history__list__item .year {
  padding-right: 3rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
  color: var(--color-primary);
  font-size: 2rem;
  line-height: 1;
}
@media screen and (width <= 767px) {
  #history .history__list__item .year {
    padding-right: 1.7rem;
  }
}
#history .history__list__item .year span {
  font-size: 2.7rem;
}
#history .history__list__item .text {
  padding-left: 3rem;
  padding-bottom: 3rem;
  position: relative;
}
@media screen and (width <= 767px) {
  #history .history__list__item .text {
    padding-left: 1.8rem;
  }
}
#history .history__list__item .text::before {
  content: "";
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  top: 1.1rem;
  left: -0.5rem;
}
#history .history__list__item .text::after {
  content: "";
  width: 0.1rem;
  height: 100%;
  background-color: var(--color-primary);
  position: absolute;
  top: 0;
  left: 0;
}
#history .history__list__item:first-of-type .text::after {
  content: "";
  height: calc(100% - 1.5rem);
  top: 1.5rem;
}
#history .history__list__item:last-of-type .text {
  padding-bottom: 0;
}

#company .section__table {
  margin-top: 5rem;
}
#company .section__table tr td {
  font-size: 1.5rem;
}
#company .company__map {
  width: 100%;
  height: 50rem;
  margin-top: 6rem;
}
@media screen and (width <= 767px) {
  #company .company__map {
    height: auto;
  }
}
#company .company__map > iframe {
  width: 100%;
  height: 100%;
}
@media screen and (width <= 767px) {
  #company .company__map > iframe {
    height: auto;
    aspect-ratio: 4/3;
  }
}