/**/
#history_main {
  position: relative; }

#history {
  position: relative;
  padding: 8rem 0 8rem; }
  @media screen and (max-width: 768px) {
    #history {
      padding: 8vw 0 21.3333333333vw; } }

.history_area {
  position: relative;
  overflow: hidden;
  padding: 8rem 0 0; }
  @media screen and (max-width: 768px) {
    .history_area {
      padding: 18.6666666667vw 0 0; } }

.history_area::after {
  position: absolute;
  display: block;
  content: '';
  top: 12rem;
  left: 0;
  width: 100%;
  height: 90%;
  pointer-events: none;
  background: url("../images/history/bg_pc.png") center top no-repeat;
  background-size: 180rem auto; }
  @media screen and (max-width: 768px) {
    .history_area::after {
      display: none; } }

#history .local_nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 92rem;
  gap: 0.6rem; }
  @media screen and (max-width: 768px) {
    #history .local_nav {
      width: 82.6666666667vw;
      flex-direction: column;
      align-items: flex-start;
      gap: 1.0666666667vw; } }

#history .local_nav .nav_btn {
  position: relative;
  background: #fff;
  color: #512D5D;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30.2rem;
  height: 9rem;
  cursor: pointer;
  opacity: 1 !important; }
  @media screen and (max-width: 768px) {
    #history .local_nav .nav_btn {
      width: 100%;
      height: 17.0666666667vw; } }
  #history .local_nav .nav_btn p {
    position: relative;
    text-align: center;
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 1.33; }
    @media screen and (max-width: 768px) {
      #history .local_nav .nav_btn p {
        font-size: 4.8vw; } }

#history .local_nav.nav_top {
  position: relative;
  border-bottom: #512D5D 0.8rem solid; }
  @media screen and (max-width: 768px) {
    #history .local_nav.nav_top {
      border-left: #512D5D 2.1333333333vw solid;
      border-bottom: none; } }

#history .local_nav.nav_btm {
  position: relative;
  border-top: #512D5D 0.8rem solid; }
  @media screen and (max-width: 768px) {
    #history .local_nav.nav_btm {
      border-left: #512D5D 2.1333333333vw solid;
      border-top: none; } }

#history .local_nav .nav_btn:hover,
#history .local_nav .nav_btn.current {
  background: #512D5D;
  color: #fff; }

#history .tgl_area {
  position: relative;
  background: #faf0e0;
  width: 100%;
  padding: 8rem 0; }
  @media screen and (max-width: 768px) {
    #history .tgl_area {
      padding: 21.3333333333vw 0; } }

@media screen and (max-width: 768px) {
  #history .tgl_area::after {
    position: absolute;
    display: block;
    content: '';
    top: 1.3333333333vw;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url("../images/history/bg_sp_1.png") center top no-repeat;
    background-size: 100% auto; } }

@media screen and (max-width: 768px) {
  #history .tgl_area::before {
    position: absolute;
    display: block;
    content: '';
    bottom: 1.3333333333vw;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url("../images/history/bg_sp_2.png") center bottom no-repeat;
    background-size: 100% auto; } }

#history .set {
  position: relative;
  background: url("../images/history/line.webp") center top repeat-y;
  background-size: 0.4rem auto; }
  @media screen and (max-width: 768px) {
    #history .set {
      background: url("../images/history/line.webp") center top repeat-y;
      background-size: 0.5333333333vw auto; } }
  #history .set .ttl_set {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding-bottom: 1.2rem; }
    @media screen and (max-width: 768px) {
      #history .set .ttl_set {
        padding-bottom: 2.4vw; } }
  #history .set .ttl_set li {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 47.8rem;
    height: 6.5rem;
    background: url("../images/history/ttl_pc.webp") center top no-repeat;
    background-size: contain; }
    @media screen and (max-width: 768px) {
      #history .set .ttl_set li {
        width: 39.6vw;
        height: 10.9333333333vw;
        background: url("../images/history/ttl_sp.webp") center top no-repeat;
        background-size: contain; } }
  #history .set .ttl_set li h2 {
    position: relative;
    text-align: center;
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1;
    padding-bottom: 0.6rem; }
    @media screen and (max-width: 768px) {
      #history .set .ttl_set li h2 {
        font-size: 4vw;
        padding-bottom: 0.5333333333vw; } }
  #history .set h3 {
    position: relative;
    background: #f0ddb4;
    text-align: center;
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1;
    padding: 1.2rem; }
    @media screen and (max-width: 768px) {
      #history .set h3 {
        font-size: 4.8vw;
        padding: 2.4vw; } }
  #history .set .history_box {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 1.2rem; }
    @media screen and (max-width: 768px) {
      #history .set .history_box {
        padding: 2.4vw 0; } }
  #history .set .history_box li {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 46.5rem; }
    @media screen and (max-width: 768px) {
      #history .set .history_box li {
        width: 38.6666666667vw;
        gap: 1.3333333333vw; } }
  #history .set .history_box li p {
    position: relative;
    text-align: left;
    font-weight: 500;
    font-size: 1.8rem;
    letter-spacing: 0.01em;
    line-height: 1.77; }
    @media screen and (max-width: 768px) {
      #history .set .history_box li p {
        font-size: 3.4666666667vw;
        text-align: justify; } }
  #history .set .history_box li p a {
    color: #512D5D;
    text-decoration: underline;
    opacity: 1 !important; }
  #history .set .history_box li p a:hover {
    background: #fff; }

#history .set {
  display: none; }

#history .set.current {
  display: block !important; }
