@charset "UTF-8";

#p-history {
  position: relative;
  background-color: #333333;
  color: #fff;
  font-family: "Fira Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Hiragino Sans, "\30D2\30E9\30AE\30CE\89D2\30B4   ProN W3", Hiragino Kaku Gothic ProN, "Yu Gothic", YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
  font-weight: bold;
  padding-bottom: 120px;
}

@media (max-width: 767px) {
  #p-history {
    padding-bottom: 50px;
  }
}

#p-history .container {
  width: 1520px;
  padding-left: 15px;
  padding-right: 15px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1600px) {
  #p-history .container {
    width: 1280px;
  }
}

@media (max-width: 1280px) {
  #p-history .container {
    width: 1140px;
  }
}

@media (max-width: 1199px) {
  #p-history .container {
    width: 1040px;
  }
}

@media (max-width: 991px) {
  #p-history .container {
    width: 750px;
  }
}

#p-history .p-history__title {
  padding: 216px 0 50px;
  background-color: #333333;
}

@media (max-width: 767px) {
  #p-history .p-history__title {
    padding: 120px 0 30px;
  }
}

@media (max-width: 767px) {
  #p-history .p-history__title .p-history__title--wrapper {
    align-items: start;
    flex-direction: column;
  }
}

#p-history .p-history__title .p-history__title--content {
  margin-bottom: 0;
  flex: 0 0 80%;
}

#p-history .p-history__title .p-history__title--en {
  font-family: "Oswald", "Fira Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Hiragino Sans, "\30D2\30E9\30AE\30CE\89D2\30B4   ProN W3", Hiragino Kaku Gothic ProN, "Yu Gothic", YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
  font-size: 64px;
  font-weight: 500;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  #p-history .p-history__title .p-history__title--en {
    font-size: 40px;
  }
}

@media (max-width: 575px) {
  #p-history .p-history__title .p-history__title--en {
    font-size: 32px;
  }
}

#p-history .p-history__title #p-history__breadcrumb {
  margin-bottom: 24px;
}

#p-history .p-history__title #p-history__breadcrumb .breadcrumb {
  padding: 0;
  margin-bottom: 0;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  font-family: "Oswald", "Fira Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Hiragino Sans, "\30D2\30E9\30AE\30CE\89D2\30B4   ProN W3", Hiragino Kaku Gothic ProN, "Yu Gothic", YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
}

#p-history .p-history__title #p-history__breadcrumb .breadcrumb .breadcrumb-item {
  position: relative;
  color: #999999;
  padding-left: 56px;
  display: inline-block;
}

#p-history .p-history__title #p-history__breadcrumb .breadcrumb .breadcrumb-item:first-of-type {
  padding-left: 0;
}

#p-history .p-history__title #p-history__breadcrumb .breadcrumb .breadcrumb-item a {
  text-decoration: none;
  color: #999999;
}

#p-history .p-history__title #p-history__breadcrumb .breadcrumb .breadcrumb-item a:hover,
#p-history .p-history__title #p-history__breadcrumb .breadcrumb .breadcrumb-item a:focus,
#p-history .p-history__title #p-history__breadcrumb .breadcrumb .breadcrumb-item a:active {
  color: gray;
}

@media (max-width: 575px) {
  #p-history .p-history__title #p-history__breadcrumb .breadcrumb {
    font-size: 12px;
  }
}

#p-history .p-history__title #p-history__breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  display: inline-block;
  color: #999999;
  content: "";
  width: 40px;
  height: 1px;
  background-color: #999999;
  margin: 0 8px;
  position: absolute;
  top: 50%;
  left: 0;
}

#p-history .p-history__content {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #EEEEEE calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #EEEEEE calc(100% - 1px));
  background-size: 400px 400px;
  background-repeat: repeat;
  background-position: center center;
}

@media (max-width: 575px) {
  #p-history .p-history__content {
    background-image: none;
  }
}

#p-history .p-history__grid__wrapper .p-history__grid--left::before {
  position: absolute;
  top: 0;
  left: 20%;
  content: "";
  width: 1px;
  height: 100%;
  background-color: #ccc;
}

#p-history .p-history__grid__wrapper .p-history__grid--left::after {
  position: absolute;
  top: 0;
  left: 40%;
  content: "";
  width: 1px;
  height: 100%;
  background-color: #ccc;
}

#p-history .p-history__grid__wrapper .p-history__grid--right::before {
  position: absolute;
  top: 0;
  left: 60%;
  content: "";
  width: 1px;
  height: 100%;
  background-color: #ccc;
}

#p-history .p-history__grid__wrapper .p-history__grid--right::after {
  position: absolute;
  top: 0;
  left: 80%;
  content: "";
  width: 1px;
  height: 100%;
  background-color: #ccc;
}

#p-history .p-history__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
}

#p-history .p-history__side {
  flex: 0 0 200px;
  z-index: 100;
}

@media (max-width: 991px) {
  #p-history .p-history__side {
    position: fixed;
    left: 5%;
    bottom: 3%;
  }
}

@media (max-width: 767px) {
  #p-history .p-history__side {
    padding-top: 20px;
  }
}

#p-history .p-history__tab {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 0 0 80px 0px;
}

@media (max-width: 991px) {
  #p-history .p-history__tab {
    padding: 20px 32px;
    background-color: rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 767px) {
  #p-history .p-history__tab {
    padding: 12px;
    max-width: 520px;
  }
}

@media (max-width: 575px) {
  #p-history .p-history__tab {
    max-width: 360px;
  }
}

#p-history .p-history__tab ul {
  margin-bottom: 0;
  padding-left: 0;
  list-style-type: none;
  margin-left: -20px;
  margin-right: -20px;
}

@media (max-width: 767px) {
  #p-history .p-history__tab ul {
    margin-left: -10px;
    margin-right: -10px;
  }
}

@media (max-width: 375px) {
  #p-history .p-history__tab ul {
    margin-left: -8px;
    margin-right: -8px;
  }
}

#p-history .p-history__tab .p-history__tab--item {
  font-size: 24px;
  font-weight: 500;
  margin: 0 20px 0 20px;
  white-space: nowrap;
  padding-bottom: 8px;
}

@media (max-width: 991px) {
  #p-history .p-history__tab .p-history__tab--item {
    font-size: 20px;
    margin: 0 10px;
  }
}

@media (max-width: 575px) {
  #p-history .p-history__tab .p-history__tab--item {
    font-size: 14px;
    margin: 0 10px;
  }
}

@media (max-width: 375px) {
  #p-history .p-history__tab .p-history__tab--item {
    font-size: 12px;
    margin: 0 8px;
  }
}

#p-history .p-history__tab .p-history__tab--item button {
  position: relative;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 1em;
}

#p-history .p-history__tab .p-history__tab--item button:hover,
#p-history .p-history__tab .p-history__tab--item button:focus,
#p-history .p-history__tab .p-history__tab--item button:active {
  color: #999999;
}

#p-history .p-history__tab .p-history__tab--item button::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #69BE28;
  transform: scaleX(0);
  transition: all 300ms cubic-bezier(1, 0, 0, 1);
  /* easeInOutExpo */
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
  /* easeInOutExpo */
}

#p-history .p-history__tab .p-history__tab--item button.-active {
  color: #69BE28;
  padding-bottom: 8px;
}

@media (max-width: 480px) {
  #p-history .p-history__tab .p-history__tab--item button.-active {
    padding-bottom: 4px;
  }
}

#p-history .p-history__tab .p-history__tab--item button.-active::before {
  transform: scaleX(1);
}

#p-history .p-history__tab--sp {
  display: none;
}

@media (max-width: 991px) {
  #p-history .p-history__tab--sp {
    display: block;
    position: fixed;
    bottom: 5%;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
  }

  #p-history .p-history__tab--sp .p-history__tab {
    padding-bottom: 0;
  }

  #p-history .p-history__tab--sp .p-history__tab--item {
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  #p-history .p-history__tab--sp {
    padding: 12px;
  }

  #p-history .p-history__tab--sp .p-history__tab--item {
    font-size: 15px;
  }
}

#p-history .js-tab__pane {
  display: none;
}

#p-history .js-tab__pane.-active {
  display: block;
}

#p-history .p-history__main {
  flex: 0 0 calc(100% - 220px);
  position: relative;
  margin-bottom: 0px;
}

@media (max-width: 991px) {
  #p-history .p-history__main {
    flex: 0 0 100%;
    margin-bottom: 80px;
  }
}

@media (max-width: 575px) {
  #p-history .p-history__main {
    margin-bottom: 50px;
  }
}

#p-history .p-history__main .p-history__eventbox {
  position: relative;
  padding-left: 220px;
  margin-top: 40px;
}

@media (max-width: 1200px) {
  #p-history .p-history__main .p-history__eventbox {
    padding-left: 160px;
  }
}

@media (max-width: 767px) {
  #p-history .p-history__main .p-history__eventbox {
    padding-left: 120px;
  }
}

@media (max-width: 575px) {
  #p-history .p-history__main .p-history__eventbox {
    padding-left: 80px;
    margin-top: 20px;
  }
}

@media (max-width: 375px) {
  #p-history .p-history__main .p-history__eventbox {
    padding-left: 48px;
  }
}

#p-history .p-history__main .p-history__eventbox:first-of-type {
  margin-top: 0;
}

#p-history .p-history__main .p-history__eventbox:last-of-type {
  margin-bottom: 0;
}

#p-history .p-history__main .p-history__eventbox::before {
  position: absolute;
  top: 0px;
  left: 137px;
  content: "";
  width: 8px;
  height: 100%;
  background-color: #999999;
}

@media (max-width: 1200px) {
  #p-history .p-history__main .p-history__eventbox::before {
    left: 110px;
  }
}

@media (max-width: 767px) {
  #p-history .p-history__main .p-history__eventbox::before {
    left: 90px;
  }
}

@media (max-width: 575px) {
  #p-history .p-history__main .p-history__eventbox::before {
    left: 60px;
    width: 4px;
  }
}

@media (max-width: 375px) {
  #p-history .p-history__main .p-history__eventbox::before {
    left: 36px;
    width: 2px;
  }
}

#p-history .p-history__main .p-history__eventbox .p-history__year {
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 48px;
  font-weight: 500;
  color: #999999;
}

@media (max-width: 1200px) {
  #p-history .p-history__main .p-history__eventbox .p-history__year {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  #p-history .p-history__main .p-history__eventbox .p-history__year {
    top: 4px;
    font-size: 32px;
  }
}

@media (max-width: 575px) {
  #p-history .p-history__main .p-history__eventbox .p-history__year {
    font-size: 24px;
  }
}

@media (max-width: 375px) {
  #p-history .p-history__main .p-history__eventbox .p-history__year {
    font-size: 0.875rem;
  }
}

#p-history .p-history__main .p-history__eventbox .p-history__item--wrapper {
  background-color: #333333;
}

#p-history .p-history__main .p-history__eventbox .p-history__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: #333333;
  margin: 0 40px;
  padding: 20px 16px;
  border-top: 1px solid #999999;
}

#p-history .p-history__main .p-history__eventbox .p-history__item:first-of-type {
  border: none;
}

@media (max-width: 991px) {
  #p-history .p-history__main .p-history__eventbox .p-history__item {
    margin: 0 20px;
  }
}

@media (max-width: 575px) {
  #p-history .p-history__main .p-history__eventbox .p-history__item {
    margin: 0 14px;
    padding: 8px 0px;
  }
}

#p-history .p-history__main .p-history__eventbox .p-history__item--textbox {
  margin-right: 20px;
  flex: 0 0 50%;
  max-width: 50%;
}

@media (max-width: 991px) {
  #p-history .p-history__main .p-history__eventbox .p-history__item--textbox {
    flex: 0 0 100%;
    max-width: 100%;
    padding-bottom: 20px;
  }
}

@media (max-width: 575px) {
  #p-history .p-history__main .p-history__eventbox .p-history__item--textbox {
    padding-bottom: 12px;
  }
}

#p-history .p-history__main .p-history__eventbox .p-history__item--textbox.-textonly {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (max-width: 991px) {
  #p-history .p-history__main .p-history__eventbox .p-history__item--textbox.-textonly {
    padding-bottom: 0;
  }
}

#p-history .p-history__main .p-history__eventbox .p-history__item--title {
  font-size: 18px;
  padding-bottom: 12px;
  margin-bottom: 0;
  line-height: 1.7;
}

@media (max-width: 991px) {
  #p-history .p-history__main .p-history__eventbox .p-history__item--title {
    padding-bottom: 4px;
  }
}

@media (max-width: 575px) {
  #p-history .p-history__main .p-history__eventbox .p-history__item--title {
    font-size: 1rem;
  }
}

#p-history .p-history__main .p-history__eventbox .p-history__item--desc {
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.7;
}

@media (max-width: 575px) {
  #p-history .p-history__main .p-history__eventbox .p-history__item--desc {
    font-size: 0.75rem;
  }
}

#p-history .p-history__main .p-history__eventbox .p-history__item--image {
  max-width: 100%;
  height: auto;
}

#p-history .p-history__main .p-history__eventbox .p-history__item--image.-vertical {
  width: 200px;
}

#p-history .p-history__main .p-history__eventbox .p-history__item--image.-sideways {
  width: 360px;
}

@media (max-width: 1200px) {
  #p-history .p-history__main .p-history__eventbox .p-history__item--image.-sideways {
    width: 300px;
  }
}

/* ------------------------meguro------------------------ */

.khi_color{
  color: #999999 !important;
  margin-left: 5vw;
}
.megro_color{
  color: #F38089 !important;
}

#p-history .p-history__main .no-line::before {
  display: none;
}

#p-history .p-history__main .p-history__eventbox .history-reference ul{
  display: flex;
  flex-direction: row;
}

#p-history .p-history__main .p-history__eventbox .history-reference ul li{
  margin-right: 30px;
}
#p-history .p-history__main .p-history__eventbox .history-reference ul li p{
  white-space: nowrap;
}

/* #p-history .p-history__main .p-history__eventbox .meguro_box{
  position: relative;
}
#p-history .p-history__main .p-history__eventbox .meguro_box::before {
  position: absolute;
  top: 0px;
  left: -53px;
  content: "";
  width: 8px;
  height: 100%;
  background-color: #F38089;
}

@media (max-width: 1200px) {
  #p-history .p-history__main .p-history__eventbox .meguro_box::before {
    left: -45px;
  }
}

@media (max-width: 767px) {
  #p-history .p-history__main .p-history__eventbox .meguro_box::before {
    left: -25px;
  }
}

@media (max-width: 575px) {
  #p-history .p-history__main .p-history__eventbox .meguro_box::before {
    left: -20px;
    width: 4px;
  }
}

@media (max-width: 375px) {
  #p-history .p-history__main .p-history__eventbox .meguro_box::before {
    left: -15px;
    width: 2px;
  }
} */

/* ------------------------meguro end------------------------ */