@charset "utf-8";
*{
    margin: 0;
    padding: 0;
    font-family: "BIZ UDPGothic", sans-serif;
    font-weight: normal;
}
/* 全ての要素に border-box を適用する呪文 */
body{
    background-color:  #f3f3f3;
    height: 100%;
    margin-bottom: 20%;
}
header{
    background-color:#000000;
    padding: 1em;
    justify-content: space-between;
    height: 100px;
}
.ue{
    display: flex;
    justify-content: flex-end;
    color: #005b60;
}
.ue ul{
    font-weight: bold;
    list-style: none;
    display: flex;
}
.ue ul li{
    margin: 20px 10px;
}
header h2{
    font-size:25px;
    color:#005b60;
    justify-content: flex-end;
}
header nav ul{
    color: white;
    display: flex;
    list-style-type: none;
    justify-content: flex-end;
    align-items: center;
}
header nav ul a{
    margin: auto 10px;
}
.logo{
    color: blue;
    margin-right: 10px;
    font-size: 20px;
    font-family: sans-serif;
}
.x-logo{
    object-fit: contain;
    width: 20px;
    height: 20px;
}
a{
    text-decoration: none;
    color: #f3f3f3;
}
a:hover{
    color: gray;
}

.annai-soto h1{
    font-size: 40px;
    
}
.annai-soto{
    margin: 30px auto;
    width: 60%;
}
dl{
    margin: 10px auto;
    box-sizing: border-box;
}
.annai{
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    line-height: 2.5;
    border-bottom: 1px solid #005b60;
}
.annai dt{
    font-weight: bold;
}

dt {
    width: 40%;
    font-size: 1.2em;
}

dd {
    flex-grow: 1;
    color:#333
}


 .company-history{
    margin:10px auto;
    width: 60%;
 }
 .company-history h2{
    font-size: 40px;
 }
 .history-list {
    list-style: none; /* リストの点などをなくす */
    padding: 0;
    margin: 20px auto;
  }

  .history-list li {
    margin-bottom: 1.5em; /* 各項目間のスペース */
    line-height: 1.6;
    display: flex; /* 年と内容を横並びに */
    align-items: flex-start;
    border-bottom: 1px solid #005b60;
  }

  .history-list .year {
    font-weight: bold;
    font-size: 1.2em;
    color: #333; /* 年の文字色 */
    min-width: 120px; /* 年の幅を固定 */
    flex-shrink: 0; /* 年の幅が縮まないように */
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px solid #ccc; /* 年と内容の間に線 */
  }

  .history-list .description {
    color: #555;
    flex-grow: 1;
  }

  /* スマートフォン表示時の調整 */
  @media (max-width: 768px) {
    .history-list li {
      flex-direction: column; /* 縦並びにする */
      align-items: flex-start;
    }
    .history-list .year {
      min-width: auto;
      border-right: none;
      padding-right: 0;
      margin-bottom: 0.5em;
    }
  }
