@charset "UTF-8";

h3 {
  width: 100%;
  margin: 40px 5px 15px 5px;
  padding: 5px;
  padding-left: 15px;
  border-left: 5px solid #003F8E;
  border-bottom: none;
  font-size: 18px;
}

/*　indexのコンテンツ部分のcssです　*/

.box {
  padding: 0.5em 1em;
  margin-top:1em;
  margin-bottom: 2em;
  border: double 5px #D11C2C;
  font-size:1.2em;
}
.box p {
  margin: 0; 
  padding: 0;
}

.view-1 {
  display: flex;
  max-height: 396px;
  gap: 0 3px;
  width: 100%;
}

.view-1-main-photo {
  width: 60%;
  max-height: 100%;
}

.view-1-main-photo img {
  /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.view-1-topics {
  /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
  width: 40%;
  max-height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
}

.topics-contents {
  position: relative;
  width: 100%;
  border-bottom: solid 1px #cbcbcb;
  float: left;
  padding:10px;
}

.topics-contents img {
  float: left;
  width: 35%;
  max-height: 100%;
  /* border: solid 1px lightgray; */
  display: block;
  object-fit: contain;
}

.topics-contents a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: -999px;
}

.topics-contents span {
  padding-left:15px;
}

.topics-type {
  padding-left: 2px;
}

.topics-title {
  display: inline-block;
  width: 65%;
  padding-left: 2px;
  padding-right: 5px;
  text-align: justify;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.logo-youtube {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px !important;
  border: none !important;
  padding: 2px;
}

.view-2-news {
  margin-top: 10px;
  margin-bottom: 20px;
  box-shadow: #cbcbcb 0px 3px 8px;
  height: 300px;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 5px;
}

.view-2-news ul {
  list-style: none;
  padding-left: 10px;
}

.view-2-news li {
  padding:3px;
}

.view-2-news hr {
  border: 1px solid lightgray;
}

.view-2-project {
  display: flex;
  gap: 0 3px;
}

.banner {
  width: 50%;
}

.banner img {
  width: 100%;
  /* border: solid 1px lightgray; */
  object-fit: contain;
}


/*　mobile　*/

@media (max-width: 991px) {
  .view-1-topics {
    display: none;
  }

  .view-1-main-photo {
    width: 100%;
    margin: 1em auto;
  }

  .view-1-main-photo img {
    margin: 0 auto;
  }

  .view-2 {
    margin: 1em auto;
  }
}
