@charset "utf-8";
/* history.css */

.eye-catch {
  width: 100%;
  max-width: 1920px; /* 動画の最大幅 */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

  .eye-catch h1{
      width: 100%;
      height: 100%;
      aspect-ratio: 12 / 5;
      overflow: hidden;
  }

  .eye-catch img{
    position: relative;
    width: 100%;
    height: 100%;
    top: 0;
    object-fit: cover;
  }
  
.history-container {
  margin:50px auto;
  max-width: 1200px;
}

h2 {
    font-size:1.5em;
    margin-top:60px;
    padding:0 0 0 10px;
    border-left: 10px solid #e20000;
  }
  
  .history-image {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

    .history-image img{
      position: relative;
      width: 100%;
      height: 100%;
      top: 0;
      object-fit: cover;
    }

  .history-text{
    margin: 20px 0 0 0px;
    padding: 0px 0 20px 0;
    font-size: 1.5em;
    line-height: 1.8em;
    font-weight: bold;
    text-align: center;
  }
  .history-text-sm{display: none;}

  .timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    line-height: 2em;
}
.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}
.year {
    margin-right: 10px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: left;
}
.event-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20px;
}
.circle {
    width: 12px;
    height: 12px;
    background: #e20000;
    border-radius: 50%;
    position: relative;
    top: 10px;
}
.dot-line {
  width: 4px;
  height: 100px; /* 明示的に高さを指定 */
	background: radial-gradient(ellipse at center,  rgb(0, 0, 0) 0%,rgb(0, 0, 0) 25%,rgba(255,255,255,1) 25%,rgba(255,255,255,1) 100%) center 0 repeat-y;
	background-size: 10px 10px;
  position: relative;
  top: 15px;
}
.event {
    padding-left: 10px;
    flex: 1;
    font-size: 0.8em;
    text-align: left;
}

strong{
  font-size: 1.2em;
}

.gallery {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.attn{
  margin:20px 0px;
  padding: 0;
  font-size: 0.8em;
  color:#e20000;
}

  a:link {
    color: #000000;
    text-decoration: none;
  }
  a:visited {
    color: #000000;
    text-decoration: none;
  }
  a:active {
    color: #e20000;
    text-decoration: none;
  }


  @media (max-width: 480px) {

    .header-bottom .red-line {
        height: 10px;
        background-color: #e20000;
        display: block;
        }
    .history-container{
      width:90%;
    }
    h2 {
      font-size:1em;
      border-left: 5px solid #e20000;
    }
    .history-text{display: none;}
    .history-text-sm{
      display: block;
      margin: 20px 0 0 0px;
      padding: 0px 0 20px 0;
      font-size: 1em;
      line-height: 1.3em;
      font-weight: bold;
      text-align: left;
    }
    .gallery {
      display:grid;
      width: 100%;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 20px;
    }    
    .gallery-item img{
      width: 100%;
      height: auto;
    }
  }
