/* ///////////////////about-hero/////////////////////// */
#about-hero {
  background-color: var(--bg-color-blue-gray);
}
.about-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-hero__header {
  margin-bottom: 20px;
  gap: 20px;
}
.about-hero__label {
  color: var(--main-color);
}
.about-hero__title {
  border: none;
}
.about-hero__text {
  color: var(--text-color-light);
  letter-spacing: 0.1em;
}

/* ///////////////////message/////////////////////// */
#message {
}
.message__inner {
}

.message__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}
.message__title {
  border: none;
}
.message__title__sub {
  color: var(--main-color);
}
.message__text {
  font-size: var(--font-size-s);
  color: var(--text-color-light-gray);
  display: flex;
  align-items: center;
}
.message__text::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin-right: 15px;
}

/* ////////////////Philosophy//////////////////////////////// */
#philosophy {
  background-color: var(--bg-color-blue-gray);
}
.philosophy__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 90%;
}
.philosophy__body {
  display: grid;
  /* 最小0、最大1fr（均等）で3列作る。中身による押し出しを防御！ */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}
.philosophy__body__item {
  /* 幅に関する格闘の跡（flex:1やwidth:0）は不要！ */
  min-width: 0; /* 【重要】中身が枠を突き破るのを防ぐストッパー */

  display: flex;
  flex-direction: column; /* 中身を縦に並べる */
  align-items: stretch; /* 中身を横幅いっぱいに引き伸ばす */
  height: 100%; /* 親の高さ（一番高いカード）に合わせる */
  border: 1px solid var(--text-color-light-gray);
  border-radius: 24px;
  padding: 40px;
  gap: 20px;
  box-shadow: 0 4px 15px var(--btn-shadow-color);
  border-top: 8px solid var(--main-color);
}
.philosophy__body__item__num {
  font-size: var(--font-size-xxl);
  font-family: var(--font-family-display);
  font-weight: 900;
  line-height: 0.7;
  color: var(--main-color);
}
/* ///////////////////sp-philosophy///////////////////////// */
@media screen and (max-width: 768px) {
  .philosophy__body {
    grid-template-columns: repeat(1, 1fr);
  }
  .philosophy__body__item {
    padding: 20px;
  }
  .philosophy__body__item__num {
    font-size: var(--font-size-xl);
  }
}
/* ////////////////////////ceo///////////////////////////////   ////////// */
.ceo__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}
.ceo__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.ceo__img {
  width: 40%;
  flex-shrink: 0; /* ★重要：画像が潰されないように固定する */
}
.ceo__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/6;
  object-fit: cover;
  object-position: center;
}
.ceo__header__wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ceo__header {
  align-items: flex-start;
}
.ceo__label {
  margin-left: 0.5em;
}
.ceo__title {
  border: none;
}

.ceo__text__wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ceo__profile__inner {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}
.ceo__profile__name-wrap {
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
  align-items: flex-start;
}
.ceo__profile__name-ja {
  font-size: var(--font-size-xl);
  font-family: var(--font-family-jp-mincho);
  color: var(--header-color);
}
.ceo__profile__name-en {
  font-size: var(--font-size-l);
  font-family: var(--font-family-display);
  color: var(--text-color-light-gray);
}
.ceo__profile__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.ceo__profile__item {
  display: flex;
  flex-direction: column;
  /* gap: 5px; */
}
.ceo__profile__label {
  font-size: var(--font-size-s);
  font-weight: bold;
  color: var(--main-color);
}

.ceo__profile__content {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  margin-left: 1em;
}
.ceo__profile__sub-text {
  font-size: var(--font-size-s);
  color: var(--text-color-light-gray);
}
/* /////////////////sp-ceo///////////////////////// */
@media screen and (max-width: 768px) {
  .ceo__top {
    flex-direction: column-reverse;
  }
  .ceo__img {
    width: 90%;
  }
  .ceo__img img {
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
  }
  .ceo__profile__inner {
    flex-direction: column;
    align-items: center;
  }
  .ceo__profile__body {
    flex-direction: column;
  }
}

/* ///////////////background//////////////////////////////// */
#background {
  background-color: var(--bg-color-light-beige);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.background__body {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: 0 auto;
}
.background__item {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  border-bottom: 1px solid var(--text-color-light);
  padding: 80px 0;
}
.background__item:last-child {
  border-bottom: none;
}
.background__item__phase {
  font-size: var(--font-size-s);
  font-weight: bold;
  color: var(--accent-color);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 0.5em;
}
.background__text__wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* /////////////////sp-background///////////////////////// */
@media screen and (max-width: 768px) {
  .background__body {
    width: 90%;
  }
  .background__item {
    flex-direction: column;
    gap: 20px;
    padding: 40px 0;
  }
}
/* ///////////////////demo-info/////////////////////// */
.demo-info {
  background-color: var(--bg-color-light-blue);
}
