/* 共通のスタイル */
header{
  display: flex;
}

footer{
  background-color: #0C4C71;
  color: #fff;
  text-align: center;
  padding: 10px;
}

/* PC用のスタイル */
@media (min-width: 1024px) {

/* ヘッダー */
header{
  margin: 0 200px;
  justify-content: space-between;
  align-items: center;
}
.header-logo-img{
  width: 300px;
}

.menu{
  display: flex;
}
.menu nav{
  text-align: right;
  align-items: center;
  border-top: 1px solid #0C4C71;
  border-bottom: 1px solid #0C4C71;
}

.menu nav ul{
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu nav ul li{
  display: inline-block;
}

.menu nav ul li a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #0C4C71;
}

.menu nav ul li a:hover {
  background-color: #0C4C71;
  color: white;
}

.contact-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0C4C71;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.contact-button:hover {
  background-color: white;
  color:#0C4C71;
  border: 1px solid #0C4C71;
}

/* 背景動画 */
.video-container video{
  width: 100%;
}

.video-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  position: relative;
  z-index: 1;
  left: 200px;
  top: 100px;
  color:white;
  font-size: 26px;
}

/* index */
.content h2{
  line-height: 40px;
  font-weight: bold;
}

.content-medicine1{
  margin: 50px 200px;
}

.content-medicine1-title{
  text-align: center;
}

.content-medicine1-title h2{
  font-size: 40px;
  color: #0C4C71;
  font-weight: bold;
  margin-bottom: 20px;
}

.content-medicine1-title h3{
  margin: 0 50px;
  font-size: 16px;
  line-height: 30px;
}

.content-medicine2{
  display: flex;
  padding: 50px 250px;
  background-color: #e0ffff;
}

.content-medicine2-text{
  width: 50%;
  margin-right: 15px;
}

.content-medicine2-text h2{
  font-size: 30px;
  color: #0C4C71;
  font-weight: bold;
  margin-bottom: 20px;
}

.content-medicine2-imgae{
  width: 50%;
}

.content-medicine2-img{
  width: 100%;
}

.content-medicine2-text p{
  line-height: 30px;
}

.content-medicine3{
  display: flex;
  padding: 50px 250px;
}

.content-medicine3-text{
  width: 50%;
  margin-left: 15px;
}

.content-medicine3-text h2{
  font-size: 30px;
  color: #0C4C71;
  font-weight: bold;
  margin-bottom: 20px;
}

.content-medicine3-imgae{
  width: 50%;
}

.content-medicine3-img{
  width: 100%;
}

.content-medicine3-text p{
  line-height: 30px;
}

.content-medicine4{
  margin: 50px 250px;
}

.content-medicine4 h2{
  font-weight: bold;
  color: gray;
  font-size: 30px;
}

/* 協会概要 */
.company-table{
  margin: 100px 250px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* 活動内容 */
.action-main{
  margin: 100px 250px;
}

.action-main h2{
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  color:#0C4C71;
}

.action-main-1{
  margin: 20px 0;
}

.action-main-1 p{
  line-height: 30px;
  font-size: 16px;
}

.action-img {
  height: 50px;
  margin-bottom: 5px;
}

/* 協会の目的 */
.porpse-main{
  margin: 100px 250px;
}

.porpse-main h2{
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  color:#0C4C71;
  margin-bottom: 30px;
}

.porpse-main p{
  line-height: 30px;
  font-size: 16px;
}

.content-medicine5{
  background: #e0ffff;
  text-align: center;
  padding: 40px;
}

.content-medicine5 h2{
  font-size: 24px;
}

.content-medicine5-img{
  width: 400px;
}

}

/* スマートフォン用のスタイル */
@media (max-width: 767px) {
/* ヘッダー */
header{
  margin: 0 10px;
  justify-content: space-between;
  align-items: center;
  display: block;
}

.header-logo-img{
  width: 100px;
}

.menu{
  margin-top: 10px;
  display: flex;
  justify-content: center;
}
.menu nav{
  border-top: 1px solid #0C4C71;
  border-bottom: 1px solid #0C4C71;
}

.menu nav ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu nav ul li{
  display: inline-block;
}

.menu nav ul li a {
  display: block;
  padding: 5px;
  text-decoration: none;
  color: #0C4C71;
  font-size: 12px;
}

.contact-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0C4C71;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 10px;
  text-align: center;
  text-decoration: none;
  position: fixed;
  top: 5px;
  right: 5px;
}

/* 背景動画 */
.video-container video{
  width: 100%;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100px;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  position: relative;
  z-index: 1;
  left: 200px;
  top: 100px;
  color:white;
  font-size: 26px;
}

/* index */
.content h2{
  line-height: 40px;
  font-weight: bold;
}

.content-medicine1{
  margin: 30px 20px;
}

.content-medicine1-title{
  text-align: center;
}

.content-medicine1-title h2{
  font-size: 24px;
  color: #0C4C71;
  font-weight: bold;
  margin-bottom: 20px;
}

.content-medicine1-title h3{
  font-size: 12px;
  line-height: 24px;
}

.content-medicine2{
  padding: 30px 20px;
  background-color: #e0ffff;
}

.content-medicine2-text{
  margin-right: 15px;
}

.content-medicine2-text h2{
  font-size: 16px;
  color: #0C4C71;
  font-weight: bold;
  margin-bottom: 20px;
}

.content-medicine2-img{
  display: none;
}

.content-medicine2-text p{
  line-height: 24px;
  font-size: 12px;
}

.content-medicine3{
  padding: 30px 20px;
}

.content-medicine3-text h2{
  font-size: 16px;
  color: #0C4C71;
  font-weight: bold;
  margin-bottom: 20px;
}

.content-medicine3-imgae{
  width: 50%;
}

.content-medicine3-img{
  width: 100%;
}

.content-medicine3-text p{
  line-height: 24px;
  font-size: 12px;
}

.content-medicine4{
  margin: 30px 20px;
}

.content-medicine4 h2{
  font-weight: bold;
  color: gray;
  font-size: 12px;
}


/* 協会の目的 */
.porpse-main{
  margin: 30px 20px;
}

.porpse-main h2{
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  color:#0C4C71;
  margin-bottom: 15px;
}

.porpse-main p{
  line-height: 24px;
  font-size: 12px;
}

/* 活動内容 */
.action-main{
  margin: 30px 20px;
}

.action-main h2{
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  color:#0C4C71;
}

.action-main-1{
  margin: 20px 0;
}

.action-main-1 p{
  line-height: 24px;
  font-size: 12px;
}

.action-img {
  width: 100%;
  margin-bottom: 5px;
}

/* 協会概要 */
.company-table{
  margin: 30px 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  font-size: 10px;
}

th {
  background-color: #f2f2f2;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}


footer{
  font-size: 10px;
}

.content-medicine5{
  background: #e0ffff;
  text-align: center;
  padding: 20px;
}

.content-medicine5 h2{
  font-size: 16px;
}

.content-medicine5-img{
  width: 100px;
}

}




