details {
    margin-bottom: 0.5rem;
    border: 2px rgb(223, 223, 223) solid;
    border-radius: 0.5rem;
}

summary {
    list-style-type: none;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    background-color: rgb(223, 223, 223);
    border-radius: 0.5rem;
}

.details-content {
    padding: 0.5rem;
}

/* オープン時にアニメーションを設定 */
details[open] .details-content {
    animation: fadeIn 0.5s ease;
  }
  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(-5px);
    }
    100% {
      opacity: 1;
      transform: none;
    }
  }

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: url(./picture/line-horizontal-3-svgrepo-com.svg);
    display: inline-block;
}

summary .line {
    width: 95%;
}

/* マウスカーソルホバー時 */
.hover-lighter:hover {
  opacity: 50%;
}

.icon {
  height: 1rem;
  margin-right: 0.5rem;
}

.title-with-icon tr td {
  margin: 0;
  padding: 0;
}

.title-with-icon {
  background-image: url(./icons/movie_orange.svg);
  background-size: 1.5rem;
  background-repeat: no-repeat;
  background-position: 0.1rem 0.1rem;
  padding: 0 0 0 2rem;
  font-size: 1.25rem;
  font-weight: bold;
}

/* YouTube動画を並べるとき */
.video {
  position: relative;
  width:100%;
  height:0;
  padding-top:  56.25%;
}

.video iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.videos {
  display: flex;
  flex-wrap: wrap;
  align-items: top;
  justify-content: space-around;
  margin-bottom: 1rem;
}

.small-video-wrap {
  width: 100%;
}

/* 各課紹介 */
.title {
  background-image: url(./icons/movie_orange.svg);
  background-size: 1rem;
  background-repeat: no-repeat;
  background-position: 0.2rem 0.1rem;
  padding: 0 0 0 1.5rem;
}

.affair-2 {
  font-size: 1.25rem;
  text-align: center;
  background-color: rgb(255, 176, 229);
}

.affair-1 {
  font-size: 1.25rem;
  text-align: center;
  background-color: rgb(255, 224, 88);
}

.affair {
  font-size: 1.25rem;
  text-align: center;
  background-color: rgb(148, 216, 255);
}

.section {
  padding: 0.5rem 0.75rem 0.5rem 0.75rem;
  margin: 0.5rem;
  border: 2px solid gray;
  border-radius: 0.5rem;
  width: 100%;
  background-color: aliceblue;
}
@media screen and (min-width:600px) { 
  .section {
    width: 45%;
  }
}
@media screen and (min-width:950px) { 
  .section {
    width: 30%;
  }
}

/* 気象台紹介 */
.col-2 {
  padding: 0.5rem 1rem 0.5rem 1rem;
  margin: 0.25rem;
  /* border: 2px solid gray; */
  border-radius: 0.5rem;
  width: 100%;
  /* background-color: aliceblue; */
}
@media screen and (min-width:800px) { 
  .col-2 {
    width: 48%;
  }
}

.thumbnails {
  display: flex;
  flex-wrap: wrap;
  align-items: top;
  justify-content: space-evenly;
  margin-bottom: 1rem;
}

.thumbnails a {
  width: 160px;
  margin: 0.25rem;
  border: 2px solid gray;
  /* background-color: aliceblue; */
}

.thumbnails a img {
  width: 100%;
  display: block;
}
@media screen and (max-width:500px) { 
  .thumbnails a {
    width: 45%;
    display: block;
  }
}