@import url("https://fonts.googleapis.com/css2?family=Racing+Sans+One&family=Roboto:wght@500;700&display=swap");
/*************************
page
*************************/
#company_history .tbl {
  position: relative;
  margin: 80px 0; }
  @media screen and (max-width: 640px) {
    #company_history .tbl {
      margin: 40px 0; } }
  #company_history .tbl .history_bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; }
    #company_history .tbl .history_bg#history_bg1 {
      opacity: 1;
      background-image: url(../images/history/bg1.jpg); }
    #company_history .tbl .history_bg#history_bg2 {
      opacity: 0;
      transition: 1s;
      background-image: url(../images/history/bg2.jpg); }
      #company_history .tbl .history_bg#history_bg2.is_show {
        opacity: 1; }
    #company_history .tbl .history_bg#history_bg3 {
      opacity: 0;
      transition: 1s;
      background-image: url(../images/history/bg3.jpg); }
      #company_history .tbl .history_bg#history_bg3.is_show {
        opacity: 1; }
  #company_history .tbl .col1 {
    color: #111; }
  #company_history .tbl .col2 {
    color: #0056aa; }
  #company_history .tbl .col3 {
    color: #158122; }
  #company_history .tbl .bgcol1 {
    background-color: #fff; }
  #company_history .tbl .bgcol2 {
    background-color: #d1f1ff; }
  #company_history .tbl .bgcol3 {
    background-color: #e3f2d6; }
  #company_history .tbl-header {
    display: flex;
    gap: 60px;
    justify-content: space-around; }
    @media screen and (max-width: 640px) {
      #company_history .tbl-header {
        gap: 40px; } }
  #company_history .tbl-header-cell {
    display: flex;
    justify-content: center;
    gap: 10px;
    border-bottom: dotted 2px #aaa;
    padding: 0 10px 20px;
    width: 100%; }
    @media screen and (max-width: 640px) {
      #company_history .tbl-header-cell {
        display: block; } }
    #company_history .tbl-header-cell .item_set {
      display: flex;
      gap: 12px; }
      @media screen and (max-width: 640px) {
        #company_history .tbl-header-cell .item_set {
          margin-top: 8px;
          align-items: center; } }
    #company_history .tbl-header-cell .item_icon {
      width: 24px;
      height: 22px;
      border-radius: 3px;
      margin-top: 3px;
      filter: drop-shadow(1px 1px 2px #888); }
      @media screen and (max-width: 640px) {
        #company_history .tbl-header-cell .item_icon {
          margin-top: 0px; } }
    #company_history .tbl-header-cell .item_name {
      font-size: 18px;
      font-size: calc($size / 16)rem;
      font-weight: bold; }
      @media screen and (max-width: 640px) {
        #company_history .tbl-header-cell .item_name {
          font-size: 13px;
          font-size: calc($size / 16)rem;
          line-height: 1.3; } }
  #company_history .tbl-body {
    margin: 40px auto;
    padding-bottom: 100px;
    background-image: url(../images/history/line_dot.png), url(../images/history/line_dot.png), url(../images/history/line.svg);
    background-repeat: no-repeat, no-repeat, repeat-y;
    background-position: center top, center bottom, center center; }
#company_history .tbl-cols {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px; }
  #company_history .tbl-cols .baloon {
    font-size: 16px;
    font-size: calc($size / 16)rem;
    display: flex;
    line-height: 1.6;
    gap: 16px;
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    position: relative;
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.1)); }
    @media screen and (max-width: 640px) {
      #company_history .tbl-cols .baloon {
        font-size: 14px;
        font-size: calc($size / 16)rem;
        display: block;
        padding: 10px; } }
    #company_history .tbl-cols .baloon.col_b {
      background-color: #d1f1ff; }
    #company_history .tbl-cols .baloon.col_g {
      background-color: #e3f2d6; }
    #company_history .tbl-cols .baloon:after {
      border: solid transparent;
      content: '';
      height: 0;
      width: 0;
      pointer-events: none;
      position: absolute;
      border-color: rgba(0, 0, 0, 0);
      border-top-width: 8px;
      border-bottom-width: 8px;
      top: 24px; }
    #company_history .tbl-cols .baloon.col_b:after {
      border-right-color: #d1f1ff; }
    #company_history .tbl-cols .baloon.col_g:after {
      border-right-color: #e3f2d6; }
    #company_history .tbl-cols .baloon .year1 {
      color: #111;
      font-weight: bold; }
    #company_history .tbl-cols .baloon .year2 {
      color: #0056aa;
      font-weight: bold; }
    #company_history .tbl-cols .baloon .year3 {
      color: #158122;
      font-weight: bold; }
    #company_history .tbl-cols .baloon .event1 {
      color: #111;
      font-weight: bold; }
      @media screen and (max-width: 640px) {
        #company_history .tbl-cols .baloon .event1 {
          font-weight: normal; } }
    #company_history .tbl-cols .baloon .event2 {
      color: #0056aa;
      font-weight: bold; }
      @media screen and (max-width: 640px) {
        #company_history .tbl-cols .baloon .event2 {
          font-weight: normal; } }
    #company_history .tbl-cols .baloon .event3 {
      color: #158122;
      font-weight: bold; }
      @media screen and (max-width: 640px) {
        #company_history .tbl-cols .baloon .event3 {
          font-weight: normal; } }
    #company_history .tbl-cols .baloon .event_box {
      flex: 1; }
      #company_history .tbl-cols .baloon .event_box .event_text {
        font-size: 14px;
        font-size: calc($size / 16)rem; }
        @media screen and (max-width: 640px) {
          #company_history .tbl-cols .baloon .event_box .event_text {
            font-size: 12px;
            font-size: calc($size / 16)rem; } }
      #company_history .tbl-cols .baloon .event_box .link_title {
        font-size: 12px;
        font-size: calc($size / 16)rem;
        margin-top: 15px; }
      #company_history .tbl-cols .baloon .event_box p + p {
        margin-top: 10px; }
      #company_history .tbl-cols .baloon .event_box a {
        font-size: 13px;
        font-size: calc($size / 16)rem;
        display: inline-block;
        background-color: #fff;
        padding: 2px 20px;
        margin-top: 5px;
        border-radius: 20px; }
        @media screen and (max-width: 640px) {
          #company_history .tbl-cols .baloon .event_box a {
            width: 100%;
            padding: 4px 15px;
            text-align: center; } }
      #company_history .tbl-cols .baloon .event_box ul.fb {
        display: flex;
        gap: 30px; }
        @media screen and (max-width: 640px) {
          #company_history .tbl-cols .baloon .event_box ul.fb {
            display: block; } }
        #company_history .tbl-cols .baloon .event_box ul.fb li:first-child {
          width: 50%;
          text-align: justify; }
          @media screen and (max-width: 640px) {
            #company_history .tbl-cols .baloon .event_box ul.fb li:first-child {
              width: auto; } }
        #company_history .tbl-cols .baloon .event_box ul.fb li:last-child {
          text-align: center;
          width: 50%;
          padding-top: 5px; }
          @media screen and (max-width: 640px) {
            #company_history .tbl-cols .baloon .event_box ul.fb li:last-child {
              width: auto;
              padding-top: 15px; } }
  #company_history .tbl-cols .cell_c {
    font-size: 14px;
    font-size: calc($size / 16)rem;
    text-align: center;
    line-height: 1;
    margin: 0 auto;
    width: 70px;
    color: #fff;
    padding: 4px 0;
    border-radius: 30px;
    background-color: #111;
    opacity: 0;
    transform: scale(1) translateY(-100px) rotate(0deg);
    transition: 1s; }
    #company_history .tbl-cols .cell_c.is_show {
      opacity: 1;
      width: 70px;
      transform: scale(1) translateY(0px) rotate(0deg); }
  #company_history .tbl-cols .cell_l {
    width: 540px; }
    @media screen and (max-width: 640px) {
      #company_history .tbl-cols .cell_l {
        width: 45%; } }
    #company_history .tbl-cols .cell_l .baloon {
      opacity: 0;
      transform: translateY(0px) translateX(80px);
      transition: 1s; }
      #company_history .tbl-cols .cell_l .baloon.is_show {
        transform: translateY(0px) translateX(0px);
        opacity: 1; }
      #company_history .tbl-cols .cell_l .baloon:after {
        border-left-width: 10px;
        border-right-width: 8px;
        border-left-color: #fff;
        left: 100%; }
  #company_history .tbl-cols .cell_r {
    width: 540px; }
    @media screen and (max-width: 640px) {
      #company_history .tbl-cols .cell_r {
        width: 45%; } }
    #company_history .tbl-cols .cell_r .baloon {
      opacity: 0;
      transform: translateY(0px) translateX(-80px);
      transition: 1s 0.2s; }
      #company_history .tbl-cols .cell_r .baloon.is_show {
        transform: translateY(0px) translateX(0px);
        opacity: 1; }
      #company_history .tbl-cols .cell_r .baloon:after {
        border-left-width: 8px;
        border-right-width: 10px;
        right: 100%; }
  #company_history .tbl-cols .baloon + .baloon {
    margin-top: 15px; }
