body {
    font-family: "Kosugi Maru";
    max-width: 1000px;
}

.kosugi-maru-regular {
    font-family: "Kosugi Maru", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: rgba(110,110,110,1);
  }  

  dl, dt, dd {
    margin: 0;
    padding: 0;
  }

.orbitron {
  font-family: "orbitron", serif;
  font-style: normal;
}

.ContentWrapper {
    margin-top:10px;
    width: 1000px;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 20
}

.material-symbols-outlined.icon {
  vertical-align: middle;
  font-size: 1.2em;
}

h1 {
    font-family: "Orbitron";
    float: left;
    text-decoration: none;
    color:rgba(0, 136, 255,1);
    font-size: 40px;
    letter-spacing:5px;
}

h2 {
  margin-left: 80px;
  font-size:24px;
  color:rgba(0, 136, 255,1);
  animation: fadeIn 1.5s ease-in-out; /* アニメーションの名前、時間、タイミング関数 */
}

@keyframes fadeIn {
  from {
    opacity: 0; /* 開始時の透明度 */
  }
  to {
    opacity: 1; /* 終了時の透明度 */
  }
}

h3 {
  margin:10px;
  padding: 0px;
  font-size:18px;
  font-weight: 200;
  color:rgba(110,110,110,1);

}

h4 {
  font-size:18px;
  font-weight:200;
  color:rgba(1, 180, 25,1);
}

.h4-anothercolor {
  color:rgba(255, 123, 0, 1);
}

h5 {
  margin:10px;
  font-size: 16px;
  font-weight:700;
  color:rgb(0, 136, 255,1);
}

.HeaderArea {
  height:50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: solid;
  border-width: 0px 0px 1px 0px;
  border-color:rgba(110,110,110,1);
}

.selecters {
    display: flex;
    padding-left: 40px;
    margin-bottom: 5px;
}

.header_selecters {
    width:80px;
    height:14px;
    margin-left:10px;
    padding: 5px 30px 5px 30px;
    display: inline-block;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size:14px;
    text-align: center;
    color: rgba(110, 110, 110,1);
    line-height: 14px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 2px 2px 5px grey;
    transition: all 0.5s;
    
}

.header_selecters:hover {
    background-color: rgba(0, 136, 255,0.2);
}

.header_selecters.login:hover {
  background-color: rgba(1, 180, 25,0.2);
}

.header_selecters.footer {
  width:80px;
  height:28px;
  font-size:12px;
  padding: 5px 10px 5px 10px;
  border: 1px solid rgba(110,110,110,0.2);
  box-shadow: none;
}

.header_selecters.footer:hover {
  background-color: rgba(110, 110, 110,0.2);
}

.VideoWrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 45vh;
}

.VideoWrapper video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 70vh;
  transform: translate(-50%, -50%);
 /* 動画のアスペクト比を維持 */
 z-index: 1;
}

.OpeningText {
  position: absolute;
  top: 350px;
  left: 300px;
  display:inline-box;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  line-height: 5px;
  color: white;
  z-index: 2;
  animation: fadeIn 3s ease-in-out, fadeOut 3s ease-in-out 6s;  /* アニメーションの名前、時間、タイミング関数 */
  animation-fill-mode: forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0; /* 開始時の透明度 */
  }
  to {
    opacity: 1; /* 終了時の透明度 */
  }
}

@keyframes fadeOut {
  from {
    opacity: 1; /* 開始時の透明度 */
  }
  to {
    opacity: 0; /* 終了時の透明度 */
  }
}

.TextGrid {
  display: grid;
  margin-top:30px;
  margin-left:100px;
  grid-template-columns: 500px 290px;
  gap: 10px;
}

.TextWrapper {
  font-size:14px;
  color:rgba(110, 110, 110,1);
  border: 1px solid rgba(110,110,110,0.5);
  border-radius: 5px;

}

.TextWrapper dl {
  padding:5px 0px 5px 10px;

}

.TextWrapper dt {
  line-height: 1.5em;

}

.ListTitle {
  line-height: 1.5;
  margin:0px;
  padding:5px 0px 5px 10px;
  font-size:14px;
  color:rgba(110, 110, 110,1);
  background-color: whitesmoke;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;

}

.FooterWrapper {
    width: 100%;
    height: 80px;
    margin-top: 20px;
    padding-left: 20px;
    display: flex;
    align-items: center;

}

.FooterContents {
    padding-left: 20px;
    padding-right: 20px;
    color: rgba(110,110,110,1);
    font-size: 14px;

}

.footer_coments {
  font-size: 14px;
  color: rgba(110, 110, 110,1);
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="Password"],
select {
    width: 150px;
    height: 25px;
    border: 2px solid rgba(54, 190, 0,0.5);
    border-radius: 5px;
    font-size: 14px;
    color: rgba(110,110,110,1);
}

textarea {
    width: 150px;
    height: 60px;
    border: 2px solid rgba(54, 190, 0,0.5);
    border-radius: 5px;
    font-size: 14px;
    color: rgba(110,110,110,1);
}

select {
  line-height:25px;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="Password"]:focus,
textarea:focus,
select:focus {
    border-color: rgb(54, 190, 0);
    outline: none;
  }

input[type="submit"] {
    width: 150px;
    height: 25px;
    color: rgb(110,110,110,1);
    background-color: rgba(54, 190, 0,0.2);
    border: 2px solid rgba(54, 190, 0,0.5);
    border-radius: 5px;
}

input[type="submit"]:hover {
  background-color: rgba(54, 190, 0,0.5);
  outline: none;
}

input[type="submit"]:focus {
    background-color: rgba(54, 190, 0,0.5);
    outline: none;
  }

input[type="button"] {
    width: 150px;
    height: 25px;
    background-color: rgba(0, 136, 255,0.2);
    border: 0px solid rgba(0, 136, 255,0.2);
    border-radius: 5px;
}

input[type="button"]:focus {
    background-color: rgba(0, 136, 255,0.5);
    outline: none;
  }

.SmallSelecters {
    font-size: 14px;
    text-decoration: none;
    color:rgba(110,110,110,1);

  }

.SmallSelecters:hover {
  background-color: rgba(0, 136, 255,0.4);

  }

.SmallSelecters:active {
  background-color: rgba(0, 136, 255,0.8);   

  }

.InputTable input,
.InputTable select {
  width: 80px;
}

.InputTable.Wide input,
.InputTable.Wide select {
  width: 120px;
}

.InputTable.Narrow input,
.InputTable.Narrow select {
  width: 40px;
}

.InputTable  input[type="text"],
.InputTable  input[type="number"],
.InputTable  input[type="date"],
.InputTable textarea,
.InputTable select {
    height: 25px;
    border: 1px solid rgba(110, 110, 110,0.5);
    border-radius: 5px;
    font-size: 12px;
    color: rgba(110,110,110,1);
}

.InputTable input[type="text"]:focus,
.InputTable input[type="number"]:focus,
.InputTable input[type="date"]:focus,
.InputTable textarea:focus,
.InputTable select:focus {
    border: 2px solid rgba(54, 190, 0,1);
    outline: none;
}

.InputTable input[type="radio"] {
    font-size: 12px;
    color: rgba(110,110,110,1);
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip::after {
  content: attr(data-tooltip); /* data-tooltip の内容をツールチップとして表示 */
  position: absolute;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(54, 190, 0,1);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: normal;
  font-size: 12px;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  z-index: 1000;
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

.SubtitleBox {
  max-width: 820px;
  width: min(820px, 100%); /* 画面が狭い時に縮む */
  height: 40px;
  padding-left: 20px;
  line-height: 40px;
  border: 1px solid rgba(0, 136, 255,0.5);
  border-radius: 3px;
  background-color: rgba(0, 136, 255,0.1);
}

.SubtitleBox.Orange {
  color:rgba(255, 123, 0, 1.0);
  border: 1px solid rgba(255, 123, 0, 0.5);
  background-color: rgba(255, 123, 0, 0.1);
}

.CardWrapper {
  width:290px;
  height: 100px;
  border-radius:10px;
  background-size: 100% 110%;
  background-repeat: no-repeat;
  background-position: center;

}

.CardWrapper .WrapperCover {
  height:100px;
  background-color: rgba(110, 110, 110, 0.1);
  border-radius:10px;
  width:100%;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  /* これを追加してtransitionさせる */
  transition: background-color 0.5s ease-in, box-shadow 0.5s ease-in;
}

.CardWrapper .WrapperCover p {
  margin-top:0;
  margin-bottom: 0;
  color:black;
  transition: color 0.5s ease-in;
}

.CardWrapper:hover .WrapperCover {
  box-shadow:0px 0px 10px rgba(0, 0, 0, 0.5);
  background-color: rgba(110, 110, 110, 0.6);
  height:100px;

}

.CardWrapper:hover .WrapperCover p {
  color:white;
  
}