.l-contents-block {
  background: #2e2e2e;
  padding: 0 0 50px;
  position: relative;
}

.mod-sns {
  top: 0;
}

.p-history-index {
  width: 100%;
  height: 100vh;
  display: flex;
  font-family: YuGothic, "Noto Sans", sans-serif;
  /* -webkit-font-smoothing: antialiased; */
}
.l-contents-block::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  position: absolute;
  left: 0;
  top: 0;
  /* opacity: .8; */
}
.p-history-index * {
  box-sizing: border-box;
  /* backface-visibility: hidden; */
}
.p-history-index li {
  list-style: none;
}

.p-history-index__block {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.p-history-index__ttl {
  width: 284px;
  position: relative;
}

.p-history-index__ttl--frame {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.p-history-index__ttl--frame img {
  display: block;
  width: 100%;
}
.p-history-index__ttl--frame .c-frame {
  width: 100%;
  opacity: 0;
  animation: opacity 1.8s both;
  animation-delay: 0.48s;
  /* transform: scale(1.12); */
}
.p-history-index__ttl--frame .c-frame--inner {
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  position: absolute;
  left: 6px;
  top: 6px;
  /* transform: scale(1.04); */
  /* animation-delay: .4s; */
}
.p-history-index__ttl--frame .c-frame--inner::before,
.p-history-index__ttl--frame .c-frame--inner::after {
  content: "";
  display: block;
  width: 1px;
  height: 25%;
  background: #e0bb67;
  position: absolute;
  animation: height 2s cubic-bezier(0, 0, 0, 1) both;
  animation-delay: 0.4s;
}
.p-history-index__ttl--frame .c-frame--inner::before {
  left: 0;
  top: 0;
}
.p-history-index__ttl--frame .c-frame--inner::after {
  right: 0;
  bottom: 0;
}

_:-ms-lang(x),
.p-history-index__ttl--frame .c-frame--inner::before,
.p-history-index__ttl--frame .c-frame--inner::after {
  height: 100%;
}

.p-history-index__ttl--frame .c-frame--inner span {
  display: block;
  width: 100%;
  height: 100%;
}
.p-history-index__ttl--frame .c-frame--inner span::before,
.p-history-index__ttl--frame .c-frame--inner span::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #e0bb67;
  position: absolute;
  left: 0;
}
.p-history-index__ttl--frame .c-frame--inner span::before {
  top: 0;
}
.p-history-index__ttl--frame .c-frame--inner span::after {
  bottom: 0;
}

.p-history-index__ttl--frame .c-frame--outer {
  position: relative;
  /* visibility: hidden; */
}
.p-history-index__ttl--frame .c-frame--outer::before,
.p-history-index__ttl--frame .c-frame--outer::after {
  content: "";
  display: block;
  width: 1px;
  height: calc(25% - 20px);
  background: #e0bb67;
  position: absolute;
  animation: frameHeightPc 1.72s cubic-bezier(0, 0, 0, 1) both;
  animation-delay: 0.6s;
}
.p-history-index__ttl--frame .c-frame--outer::before {
  left: 0;
  top: 20px;
}
.p-history-index__ttl--frame .c-frame--outer::after {
  right: 0;
  bottom: 20px;
}

_:-ms-lang(x),
.p-history-index__ttl--frame .c-frame--outer::before,
.p-history-index__ttl--frame .c-frame--outer::after {
  height: calc(100% - 38px);
}
_:-ms-lang(x),
.p-history-index__ttl--frame .c-frame--outer::before {
  left: 1px;
  top: 19px;
}
_:-ms-lang(x),
.p-history-index__ttl--frame .c-frame--outer::after {
  right: 1px;
  bottom: 19px;
}

.p-history-index__ttl--frame img.c-frame__item--hidden {
  visibility: hidden;
}
.p-history-index__ttl--frame img.c-frame__item--head,
.p-history-index__ttl--frame img.c-frame__item--bottom {
  position: absolute;
  left: 0;
}
.p-history-index__ttl--frame img.c-frame__item--head {
  top: 0;
}
.p-history-index__ttl--frame img.c-frame__item--bottom {
  bottom: 0;
  transform: rotate(180deg);
}

.p-history-index__ttl--sub {
  width: 70px;
  position: absolute;
  left: 0;
  right: 0;
  top: 42px;
  margin: 0 auto;
  padding: 2px 0;
  opacity: 0;
  animation: opacity 1.2s cubic-bezier(0, 0, 0.2, 1) both;
}
.p-history-index__ttl--sub::before,
.p-history-index__ttl--sub::after {
  content: "";
  display: block;
  width: 1px;
  height: 0;
  background: #e0bb67;
  position: absolute;
  opacity: 0;
  animation: height 1.6s cubic-bezier(0, 0, 0, 1) both;
  animation-delay: 0.6s;
}
.p-history-index__ttl--sub::before {
  left: 0;
  top: 0;
}
.p-history-index__ttl--sub::after {
  right: 0;
  bottom: 0;
}
.p-history-index__ttl--sub img {
  display: block;
  width: 26px;
  margin: 0 auto;
}

.p-history-index__ttl--main {
  /* width: 102px; */
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin: 0 auto;
  transform: translate(0, -50%);
}

.p-history-index__ttl--main > p {
  font-family: "Times New Roman", serif;
  font-size: 45px;
  color: #E0BB67;
  text-align: center;
  letter-spacing: .03em;
  line-height: 1;
  opacity: 0;
  /* transform: scale(1.06); */
  animation: opacity 1.8s cubic-bezier(0, 0, 0.4, 1) both;
  animation-delay: 0.08s;
}
.p-history-index__ttl--main img {
  display: block;
  width: 55px;
  margin: 24px auto 0;
  opacity: 0;
  /* transform: scale(1.06); */
  animation: opacity 1.8s cubic-bezier(0, 0, 0.4, 1) both;
  animation-delay: 0.08s;
}

.p-history-index__ttl--main svg path {
  fill: #e0bb67;
  stroke: #e0bb67;
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
  stroke-width: 1px;
  animation: hello 4s both;
}

.p-history-index__list {
  width: 100%;
  height: 100%;
  padding: 30px 30px 30px 0;
}

.p-historyIndexItem {
  width: 100%;
  height: calc(50% - 10px);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.p-historyIndexItem a {
  /* display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%; */
  color: #fff;
  text-decoration: none;
}
.p-historyIndexItem:first-child {
  margin-bottom: 20px;
}

.p-historyIndexItem_bg {
  /* position: absolute; */
  width: 100%;
  height: 100%;
  /* background-size: cover; */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: 0.4s cubic-bezier(0, 0, 0.4, 1);
}

.p-historyIndexItem--company .p-historyIndexItem_bg{
  background-image: url("../jpg/img_history-company%402x.jpg");
}
.p-historyIndexItem--car .p-historyIndexItem_bg{
  background-image: url("../jpg/img_history-car%402x.jpg");
}

.p-historyIndexItem:hover .p-historyIndexItem_bg {
  transform: scale(1.02);
}

/* .p-historyIndexItem_bg {
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 1.2s cubic-bezier(0, 0, 0.4, 1);
  transition-property: transform;
}

.p-historyIndexItem:hover .p-historyIndexItem_bg {
  transform: translate(-50%, -50%) scale(1.04);
} */

.p-historyIndexItem__inner {
  /* position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  margin-top: 16px;
}

.p-historyIndexItem__ico {
  margin-bottom: 28px;
}

.p-historyIndexItem__ttl {
  font-size: 36px;
  font-weight: normal;
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 28px;
  width: 100vw;
}
.p-historyIndexItem__ttl span {
  font-size: 28px;
}

.p-historyIndexItem__txt {
  font-size: 14px;
  letter-spacing: 0.075em;
  line-height: 1.5;
  margin-bottom: 52px;
}

.p-historyIndexItem__detail {
  font-weight: bold;
}

@media screen and (max-width: 1365px) {
  .p-history-index {
    height: calc(100vh - 106px);
  }
}

@media screen and (max-width: 1179px) {
  .p-history-index {
    height: calc(100vh - 54px);
    padding-top: 54px;
  }
}

@media screen and (max-width: 1023px) {
  .p-history-index {
    display: block;
    height: auto;
  }

  .p-history-index__block {
    width: 100%;
  }

  .p-history-index__ttl {
    margin: 54px 0 24px;
  }

  .p-history-index__list {
    padding: 30px;
  }

  .p-historyIndexItem {
    height: 400px;
  }
}

@media screen and (max-width: 767px) {
  .p-history-index__ttl {
    width: 206px;
  }

  .p-history-index__ttl--sub {
    width: 52px;
    top: 30px;
  }
  .p-history-index__ttl--sub img {
    width: 18px;
  }

  .p-history-index__ttl--main > p {
    font-size: 32px;
  }
  .p-history-index__ttl--main img {
    width: 40px;
    margin-top: 20px;
  }

  /* .p-historyIndexItem {
    height: 100%;
    padding-top: 100%;
    position: relative;
  }
  .p-historyIndexItem a {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
  } */

  .p-history-index__list {
    padding: 20px;
  }

  .p-history-index__ttl--frame .c-frame--inner {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    left: 5px;
    top: 5px;
  }

  .p-history-index__ttl--frame .c-frame--outer::before,
  .p-history-index__ttl--frame .c-frame--outer::after {
    height: calc(25% - 24px);
    animation: frameHeightSp 1.72s cubic-bezier(0, 0, 0, 1) both;
    animation-delay: 0.6s;
  }
  .p-history-index__ttl--frame .c-frame--outer::before {
    top: 15px;
  }
  .p-history-index__ttl--frame .c-frame--outer::after {
    bottom: 15px;
  }

  .p-historyIndexItem__ico {
    margin-bottom: 14px;
  }
  .p-historyIndexItem--company .p-historyIndexItem__ico {
    width: 30px;
  }
  .p-historyIndexItem--car .p-historyIndexItem__ico {
    width: 38px;
  }

  .p-historyIndexItem__ttl {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .p-historyIndexItem__ttl span {
    font-size: 28px;
  }

  .p-historyIndexItem__txt {
    word-break: break-word;
    margin-bottom: 34px;
    padding: 0 28px;
  }

  .p-historyIndexItem__detail {
    font-size: 14px;
  }

  /* IE */
  _:-ms-lang(x),
  .p-history-index__ttl--frame .c-frame--outer::before,
  .p-history-index__ttl--frame .c-frame--outer::after {
    height: calc(100% - 30px);
  }
  _:-ms-lang(x),
  .p-history-index__ttl--frame .c-frame--outer::before {
    left: 1px;
    top: 19px;
  }
  _:-ms-lang(x),
  .p-history-index__ttl--frame .c-frame--outer::after {
    right: 1px;
    bottom: 19px;
  }
}

/* height */
@media screen and (min-width: 1024px) and (max-height: 767px) {
  .p-history-index {
    min-height: 640px;
  }

  .p-historyIndexItem__ico {
    margin-bottom: 14px;
  }
  .p-historyIndexItem--company .p-historyIndexItem__ico {
    width: 30px;
  }
  .p-historyIndexItem--car .p-historyIndexItem__ico {
    width: 38px;
  }

  .p-historyIndexItem__ttl {
    font-size: 34px;
    margin-bottom: 20px;
  }
  .p-historyIndexItem__ttl span {
    font-size: 28px;
  }

  .p-historyIndexItem__txt {
    margin-bottom: 34px;
  }

  .p-historyIndexItem__detail {
    font-size: 14px;
  }
}




/* keyframes */
@keyframes opacity {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ttlMain {
  0% {
    /* filter: blur(6px); */
    transform: scale(1.08);
  }
  80% {
    opacity: 1;
    filter: none;
  }
  100% {
    opacity: 1;
    filter: none;
    transform: scale(1);
  }
}

@keyframes height {
  to {
    opacity: 1;
    height: 100%;
  }
}

@keyframes frameHeightPc {
  to {
    height: calc(100% - 40px);
  }
}

@keyframes frameHeightSp {
  to {
    height: calc(100% - 30px);
  }
}

/*-------------------------------------------------------
ヘッダフッター差し替え
-------------------------------------------------------*/
@media screen and (max-width: 1179px){
  .l_pageArea.s_static .p-history-index {
      padding-top: 0;
  }
}
