@charset "utf-8";
/**
 * p-history
 */
.p-historyWrap {
  max-width: 430px;
  margin: 1rem auto 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.p-history {
  margin-left: -1rem;
  margin-right: -1rem;
  margin-bottom: 1rem;
  width: calc(100% + 2rem);
}
.p-history__content {}
.p-history__inner {
  padding: 0 1rem 2.5rem 3.5rem;
  background: url(../img/bg_line.svg)repeat-y top 0 left 2rem / contain;
  background-size: 8px auto;
  position: relative;
}
.p-history:last-of-type .p-history__inner::after {
  content: "";
  width: 22px;
  height: 22px;
  background: url(../img/bg_line_end.svg)no-repeat 0 0 / contain;
  background-size: 22px auto;
  position: absolute;
  bottom: 0;
  left: calc(2rem - 7px);
}
/*Header*/
.p-history__header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background-color: #BB9407;
  padding: 0.5rem;
  border-radius: 50px 0 0 50px;
  width: 100%;
  margin-bottom: 1.25rem;
  margin-left: 0.5rem;
}
.p-history__header--accent {
  background: #BD4D14;
}
.p-history__header--point {
  background: #26466D
}
.p-history__header__icon {
  width: 40px;
}
.p-history__header__icon img {
  width: 100%;
  height: auto;
}
.p-history__header__text {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.4;
}
/*Title*/
.p-history__title {
  font-size: 1.125rem;
  font-weight: bold;
}
.p-history__subtitle {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #422715;
}
/*Image*/
.p-history__img {
  margin: 1.25rem 1.72rem;
}
.p-history__img.u-pt--1rem {
  padding-top: 1rem;
}
.p-history__img img {
  width: 100%;
  height: auto;
}
/*Body text*/
.p-history__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #422715;
}
.p-history__text p + p {
  margin-top: 1rem;
}
/*Table section (Definition List)*/
.p-history__eventsWrapper {
  margin-top: 1.5rem;
}
.p-history__eventsOutline {}
.p-history__events__header {
  background-color: #5C4B39;
  border-radius: 8px 8px 0 0;
  color: #ffffff;
  padding: 0.625rem 1rem;
  font-weight: bold;
}
.p-history__events {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 0 0 8px 8px;
  border: solid 1px #5C4B39;
}
.p-history__events__item {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}
.p-history__events__item:last-of-type {
  margin: 0;
}
.p-history__events__term {
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.8;
  color: #422715;
}
.p-history__events--termLong .p-history__events__term {
  min-width: 120px;
}
.p-history__events__definition {
  flex: 1;
  line-height: 1.8;
  color: #422715;
}
/*Body workerArea*/
.p-history__worker {
  margin: 2rem 0 3rem;
}
.p-history__worker:last-of-type {
  margin-bottom: 0;
}
.p-history__worker__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.p-history__worker__header__icon {
  width: 56px;
}
.p-history__worker__header__icon img {
  width: 100%;
  height: auto;
}
.p-history__worker__header__text {
  flex: 1;
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.8;
  color: #422715;
}
.p-history__worker__text {}
.p-history__worker__btn.c-btn.c-btn-large {
  margin-left: 0;
  height: auto;
  padding: 1rem 1rem 1rem 0;
  font-size: 1.125rem;
}
/*Tablet and Desktop (769px以上)*/
@media (min-width: 769px) {
  .p-historyWrap {
    max-width: none;
  }
  .p-history {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  /*Header*/
  .p-history__header {
    border-radius: 50px;
  }
  /*Image*/
  .p-history__img {
    margin: 1.25rem auto;
    width: 344px;
  }
  /*Table section (Definition List)*/
  .p-history__events__item {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  /*Body workerArea*/
  .p-history__worker__btn.c-btn.c-btn-large {
    font-size: 1.25rem;
  }
}