@charset "UTF-8";
/* CSS Document */



body {
	margin: 0px;
	padding: 0px;
	background: repeat-x top;
	text-align:center;
	font-family: "Zen Kaku Gothic New", "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
	font-weight: 500;
	font-size: 12px;
	color: #333;
	
}


/*========= ヘッダーナビゲーションのためのCSS ===============*/

#header {
	position: relative;
    padding: 30px 20px 0px; /* スマホで上部パディングを減らす */
    min-height: 90px; /* スマホで高さを調整 */
    background-image: url("header-wave.svg");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
	
}


.logo {
	color: #fff;
	font-size: 23px;
	text-decoration: none;
	position: relative;
	padding: 0px;
	margin: 0px;
	text-align: left;
	z-index: 10;
}


@media (max-width: 768px) {
    .logo {
		font-size: 18px;
	
}
}

/* nav */
/* ハンバーガーメニューのスタイル */
#header .hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  cursor: pointer;
  z-index: 10; /* メニューより前に表示 */
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #00CD7A; /* ボタンの色 */
  margin: 5px 0;
  transition: 0.4s;
}

/* メニューのスタイル */
.menu {
	position: fixed;
	top: 0;
	right: 0;
	width: 200px;
	height: 100%;
	font-size: 15px;
	line-height: 50px;
	text-align:left;
	opacity: 0; /* 初期状態は透明 */
	pointer-events: none; /* クリック不可 */
	transition: opacity 0.5s ease; /* フェードインのアニメーション */
	padding: 20px;
	box-sizing: border-box;
	z-index: 5;
}


.menu ul{
	padding-left:0;

}

.menu li{
	list-style:none;

}

.menu a{
	text-decoration: none;
	color: #00CD7A;

}



/* メニューが開いたとき */
.menu.open {
  opacity: 1; /* 不透明にする */
  pointer-events: auto; /* クリック可能にする */
}

/* バツ印に変わるハンバーガーボタン */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0; /* 真ん中の線を透明にする */
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}





.main{
	margin: 70px auto;
	background-image: url("../diary/diary_img/scholea_diary.svg");
	background-repeat: repeat-y;
	background-position: center;
	background-size: 80%;
	
}


.main_visual img {
	margin: 80px auto;
	width: 400px;
	opacity: 0;
    animation: fadeIn 1s forwards;
}


@keyframes fadeIn {
    to { opacity: 1; }
}


@media screen and (max-width:768px) {
	
	.main{
		background-size: auto;
}
	
	.main_visual img{
		width: 350px;
	}
}

@media screen and (max-width:480px) { 
	
	.main{
	background-size: auto;
}
   
	.main_visual img{
		width: 300px;
	}
}


.diary{
	width: auto;
	margin: 0px;
	padding: 0px;

}

.diary_time{
	margin: auto;
	width: 700px;
	text-align: left;
	color: #AAE6B4;
	font-size: 13px;
}

.diay_title{
	margin: 40px auto 40px;
	font-weight: 500;
	font-size: 25px;
	color: #AAE6B4;
	
}

.diary_img img{
	margin: auto;
	width: 700px;
	object-fit: cover;

}

.diay_txt{
	 width: 700px;
	margin: auto;
	font-size: 15px;
	line-height: 1.8;
	text-align: left;
	color: #AAE6B4;
	
}


 @media screen and (min-width:768px) and (max-width:1024px) {
	 .diary_time{
	width: 400px;
	 }
	
	.diay_txt{
		width: 400px;

}
	 .diary_img img{
	margin: auto;
	width: 470px;

}
}


@media screen and (max-width:768px) {
	
	.diary_time{
	width: 300px;
	 }
	
	.diay_txt{
	width: 300px;
}
	.diary_img img{
		width: 370px;

}
}


@media screen and (max-width:480px) {
	
	.diay_txt{
		width: 270px;
	}
	
	.diary_img img{
		width: 270px;
	}
}




/*コンテンツ幅やセクション見出しのスタイリング*/
.ly_section {
  padding: 10px 0;
}
  
.ly_section_inner {
  margin: auto;
}

  
/*ここから3カラム記事エリアのスタイリング*/
.card_items {
	display: flex;
	margin: auto;
	padding: 0px 0px 23px ;
	flex-wrap: wrap;
	
}
  
.card_items > li {
	width: 330px;
	margin: auto;
	padding: 0px 10px;
	margin-bottom: 35px;
	list-style:none;
	
}
  
.card_items > li:nth-of-type(3n) {
	
}
  
.card_item {
	position: relative;
	display: block;
	background-color: #AAE6B4;
	shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
	text-decoration: none;
	color: #fff;
	border-radius: 10px;
}
  
/*画像エリアのスタイリング*/
.card_item:hover {
	opacity: 1;
	background-color: #3ADFAB;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all  0.5s ease;
	

}

  
.card_item_imgWrapper {
	position: relative;
	overflow: hidden;
}
  
 
.card_item_imgWrapper img {
	margin: auto;
	padding: 40px 0px 0px;
	width: 250px;
	height: 110px;
	object-fit: cover;
}
  
/*日時、タイトル、抜粋文テキスト部分のスタイリング*/
.card_item_body {
	margin: auto;
	width: 240px;
	height: 100px;
	padding: 0px;
	font-size: 12px;
	display: block;
	text-align: left;
	
	
}
  
.card_item_time {

}
  
.card_item_ttl {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 5px;
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
	
}


.footer {
	color: #FFF;
	text-align: center;
	padding: 40px;
	background-image: url("footer_wave.svg");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
	
	
}



.copyright {
	padding: 50px;
	text-decoration: none;
	
}
