@media screen and (width > 768px) {
  .container {
    padding: 152px 0 148px;
  }
}
@media screen and (width <= 768px) {
  .container {
    padding: 141px 0 48px;
  }
}

@media screen and (width > 768px) {
  .sec {
    margin-bottom: 160px;
  }
}
@media screen and (width <= 768px) {
  .sec {
    margin-bottom: 88px;
  }
}

.bg-blue {
  background: var(--color-primary05);
  border-radius: 16px;
}

/* message */
.message {
  position: relative;
}
@media screen and (width > 768px) {
  .message {
    margin: 112px auto 162px;
    max-width: 1200px;
    padding: 0 24px 104px;
  }
}
@media screen and (width <= 1248px) and (width > 880px) {
  .message {
    margin: 112px 24px 162px;
    padding: 0 24px 104px;
  }
}
@media screen and (width <= 880px) {
  .message {
    margin: 112px 12px 88px;
    padding-bottom: 40px;
    width: calc(100% - 24px);
  }
}

.message .sec-title {
  position: relative;
  top: -56px;
}
@media screen and (width > 768px) {
  .message .sec-title {
    margin-bottom: 8px;
  }
}
@media screen and (width <= 768px) {
  .message .sec-title {
    margin-bottom: 0;
  }
}

.message-inner {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 880px;
}
.message-inner h3 {
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
}
@media screen and (width > 768px) {
  .message-inner {
    gap: 56px;
  }
}
@media screen and (width <= 768px) {
  .message-inner {
    gap: 40px;
  }
}

.text-img-block {
  display: flex;
  gap: 24px;
}
.text-img-block figure {
  margin: auto;
  max-width: 400px;
  text-align: center;
}
.text-img-block figure img {
  border-radius: 4px;
  overflow: hidden;
}
.text-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-wrap p {
  line-height: 2;
  text-align: justify;
}
@media screen and (width > 880px) {
  .text-img-block figure {
    width: 400px;
  }
  .text-wrap {
    flex: 1;
  }
  .text-img-block:nth-last-of-type(odd) {
    flex-direction: row-reverse;
  }
}
@media screen and (width <= 880px) {
  .text-img-block {
    flex-direction: column;
  }
  .text-wrap {
    margin: 0 24px;
  }
}

/* company-profile */
.company-profile-img {
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0 auto 24px;
  overflow: hidden;
}
@media screen and (width > 768px) {
  .company-profile-img {
    width: 368px;
  }
}
@media screen and (width <= 768px) {
  .company-profile-img {
    width: 280px;
  }
}

.company-profile-detail {
  align-items: start;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.company-profile-detail dt {
  align-items: center;
  color: #999;
  display: flex;
  font-size: 14px;
  line-height: 32px;
  gap: 16px;
  padding: 12px 0;
}
.company-profile-detail dt::before {
  background: var(--color-primary);
  content: "";
  height: 4px;
  width: 24px;
}
.company-profile-detail dd {
  line-height: 32px;
  padding: 12px 0;
}
@media screen and (width > 768px) {
  .company-profile-detail:nth-of-type(1) {
    margin: 0 auto 56px;
    width: 520px;
  }
  .company-profile-detail:nth-of-type(2) {
    margin: 0 auto;
    max-width: 880px;
    width: 100%;
  }
  .company-profile-detail dt {
    width: 160px;
  }
  .company-profile-detail dd {
    width: calc(100% - 160px);
  }
}
@media screen and (width <= 768px) {
  .company-profile-detail {
    justify-content: left;
    padding: 0 24px;
  }
  .company-profile-detail:nth-of-type(1) {
    margin-bottom: 56px;
  }
  .company-profile-detail dt {
    padding-bottom: 0;
    width: 128px;
  }
  .company-profile-detail dd {
    width: calc(100% - 128px);
  }
  .company-profile-detail dd.w-full {
    padding-top: 4px;
    width: 100%;
  }
}

.company-map {
  height: 240px;
  margin: 0 auto 56px;
  width: 100%;
}
.company-map iframe {
  height: 100%;
  width: 100%;
}
@media screen and (width > 768px) {
  .company-map {
    max-width: 880px;
  }
}

/* history */
.history {
  position: relative;
}
@media screen and (width > 768px) {
  .history {
    margin: 216px auto 162px;
    max-width: 1200px;
    padding: 0 24px 104px;
  }
}
@media screen and (width <= 1248px) and (width > 880px) {
  .history {
    margin: 112px 24px 162px;
    padding: 0 24px 104px;
  }
}
@media screen and (width <= 880px) {
  .history {
    margin: 144px 12px 88px;
    padding: 0 28px 32px;
    width: calc(100% - 24px);
  }
}

.history .sec-title {
  position: relative;
  top: -56px;
}
@media screen and (width > 768px) {
  .history .sec-title {
    margin-bottom: 8px;
  }
}
@media screen and (width <= 768px) {
  .history .sec-title {
    margin-bottom: 0;
  }
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 auto;
  max-width: 880px;
}

.history-list li {
  display: flex;
  padding: 8px 0;
}

.history-list .period {
  color: var(--color-text-light);
  display: flex;
  font-size: 14px;
  line-height: 32px;
}
.history-list .overview {
  display: flex;
  flex: 1;
  gap: 26px;
  line-height: 32px;
}
.history-list .overview::before {
  background: var(--color-primary20);
  content: "";
  display: block;
  flex-shrink: 0;
  height: 4px;
  position: relative;
  top: 14px;
  width: 32px;
}
@media screen and (width > 768px) {
  .history-list li {
    gap: 26px;
  }
  .history-list .period {
    justify-content: right;
    width: 190px;
  }
}
@media screen and (width <= 768px) {
  .history-list li {
    flex-wrap: wrap;
    gap: 8px;
  }
  .history-list .period {
    width: 100%;
  }
  .history-list .overview {
    text-align: justify;
    padding-left: 16px;
  }
}

/* client-wrap */
.client-wrap {
  display: flex;
  text-align: center;
}
.client-wrap-item {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.client-wrap-item li {
  line-height: 2;
}
@media screen and (width > 768px) {
  .client-wrap {
    justify-content: center;
    margin: auto;
    max-width: 880px;
    width: 100%;
  }
  .client-wrap-item {
    width: 50%;
  }
  .client-wrap-item:nth-of-type(1) {
    border-right: solid 1px var(--color-primary40);
    justify-content: left;
  }
  .client-wrap-item:nth-of-type(2) {
    justify-content: right;
  }
}
@media screen and (width <= 768px) {
  .client-wrap {
    flex-direction: column;
    gap: 32px;
  }
}

/* belong */
.belong {
  margin-bottom: 0;
}
.belong-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media screen and (width > 768px) {
  .belong-list {
    justify-content: center;
    margin: auto;
    width: fit-content;
  }
}
@media screen and (width <= 768px) {
  .belong-list {
    margin: 0 40px;
  }
}

.belong-list li {
  display: flex;
  gap: 16px;
  line-height: 2;
}
.belong-list li::before {
  background: var(--color-primary40);
  border-radius: 6px;
  content: "";
  display: block;
  flex-shrink: 0;
  height: 12px;
  position: relative;
  top: 10px;
  width: 12px;
}
