body {
  margin: 0;
  line-height: 1.8;
  color: var(--gray-700);
  background: var(--gray-50);
}

/* =====  汎用  ===== */
.container {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 0;
  }
}

.list {
  margin: 0;
  padding-left: 1.6rem;
  list-style: disc;
}


/* =====  HERO  ===== */
#content {
  padding-top: 0;
  margin: 0;
}
.hero {
  position: relative;
  height: 20vh;
  min-height: 20vh;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url("../../image/company.jpg");
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin: 0;
}

.hero__subtitle {
  color: var(--white);
  margin-top: 1.2rem;
  text-align: center;
  font-size: 1.4rem;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 2.4rem;
  }

  .hero__subtitle {
    color: var(--white);
    margin-top: 1.2rem;
    text-align: center;
    font-size: 1.6rem;
  }

  .hero {
    position: relative;
    height: 40vh;
    min-height: 40vh;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
}

/* =====  SECTION  ===== */
.section {
  padding: 4rem 0;
  background: var(--white);
}

.section--gray {
  padding: 4rem 0;
  background: var(--gray-50);
}

.section__title {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 4rem;
}

/* =====  基本情報テーブル  ===== */
.info-table {
  border-top: 1px solid var(--gray-200);
}

.info-table__row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--gray-200);
  padding: 2rem 0;
}

.info-table__label {
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--gray-700);
}

.info-table__value ul {
  margin: 0;
}

@media (min-width: 768px) {
  .info-table__row {
    flex-direction: row;
  }

  .info-table__label {
    width: 33%;
  }

  .info-table__value {
    width: 67%;
  }

  .section {
    padding: 8rem 0;
    background: var(--white);
  }

  .section--gray {
    padding: 8rem 0;
    background: var(--gray-50);
  }
}

/* =====  代表メッセージ  ===== */
.flex-box {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 768px) {
  .flex-box {
    flex-direction: row;
    align-items: center;
  }
}

.ceo-photo {
  position: relative;
  width: 100%;
  max-width: 32rem;
  margin: 0;
}

.ceo-photo img {
  width: 100%;
  display: block;
  border-radius: var(--radius-m);
}

.ceo-photo figcaption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 1rem 1.6rem;
  border-radius: var(--radius-s);
  font-size: 1.4rem;
  line-height: 1.3;
}

.ceo-photo__position {
  display: block;
  font-weight: 700;
  color: var(--gray-700);
}

.ceo-photo__name {
  font-size: 1.6rem;
  color: var(--gray-700);
}

.prose p {
  margin: 0 0 2rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* =====  プロフィールブロック  ===== */
.profile-block {
  border-left: 4px solid var(--blue);
  padding-left: 2.4rem;
  margin-bottom: 4rem;
}

.profile-block__heading {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 1.6rem;
}

.profile-block .list li {
  margin-bottom: 0.8rem;
}

.profile-block:last-of-type {
  margin-bottom: 0;
}

/* =====  CTA  ===== */
.cta {
  padding: 4rem 0;
  background: rgba(0, 86, 179, 0.05);
}

.cta__inner {
  text-align: center;
}

.cta__title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2.4rem;
}

.cta__text {
  max-width: 640px;
  margin: 0 auto 3.2rem;
  color: var(--gray-600);
}

.cta__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin-bottom: 3.2rem;
  color: var(--gray-700);
}

.cta__icon {
  font-size: 2rem;
  color: var(--blue);
}

.contact__info {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =====  アイコン用（Remix Iconを既にテーマで読み込み済み前提） ===== */
[class^="ri-"],
[class*=" ri-"] {
  line-height: 1;
}

/* =====  レスポンシブ調整  ===== */
@media (min-width: 768px) {
  .cta {
    padding: 8rem 0;
    background: rgba(0, 86, 179, 0.05);
  }

  .cta__title {
    font-size: 1.875rem;
  }
}
