 @charset "utf-8";
/* CSS Document*/


@media screen and (min-width: 981px) {
	
  #note {
	background-color:#D6D6D6;
	margin-top: 0px;
	padding-top: 20px;
	padding-bottom: 20px;
	}

  #note-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
	margin: 30px;
	margin-top: 0px;
	margin-bottom: 0px;
	width: 1000px;
	margin: auto;
  }

  .note-card {
    background: #fff;
	padding: 10px;
	padding-bottom: 0px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    transition: .2s;
  }
  .note-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  }

  .note-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }

  .note-card .date {
    margin: 0 12px 12px;
    font-size: 12px;
    color: #777;
  }
	
  /* タイトル（2行で省略） */
  .note-card-title {
	font-family:Noto SansJP, sans;
	font-weight:normal;
    font-size: 15px;
    margin: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* ← 2行で省略 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
	
  #note-logo {
	width: 1000px;
	margin: auto;
	margin-top: -10px;
	padding-right: 8px;
	text-align: right;
	}
	
  #note-logo img {
	width: 70px;
	}


}




@media (max-width: 980px) {
	
  #note-logo-line_sm {
	background: #D6D6D6;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 30px;
	border-bottom:solid #333 1px;
	}
	
  #note {
	background-color:#D6D6D6;
	margin-top: 0px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 15px;
	padding-bottom: 20px;
	margin-bottom: 0px;
	}
	#note .note-news h4 {
		font-size: 22px;
		font-weight: bold;
	}

  #note-grid {
	background: #fff;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0px;
	padding-top: 30px;
	margin-top: 13px;
  }

  .note-card {
	margin-left: 20px;
	margin-right: 20px;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    transition: .2s;
  }
	
  .note-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  }

  .note-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }

  .note-card .date {
	margin-top: 5px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #777;
  }
	
  /* タイトル（2行で省略） */
  .note-card-title {
	font-family:Noto SansJP, sans;
	font-weight:normal;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* ← 2行で省略 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
	
  #note-logo {
	background: #fff;
	margin-bottom: 10px;
	padding: 20px;
	padding-top: 0px;
	padding-bottom: 10px;
	text-align: right;
	}
	
  #note-logo img {
	width: 60px;
	}


}