@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

html{
	scroll-padding-top: 60px;
}

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*レスポンシブテーブルの余白を増やす*/
.scrollable-table th, .scrollable-table td {
	  padding: 13px 15px;
}
/*ヘッダーロゴ調整*/
.header-in {
	  display:block;
}
.logo {
	  text-align:left;
}
/*Load時、ふわっと表示*/
body {
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 1.5s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}


/* --- 新着情報ショートコード --- */
.recent-news-list {
  list-style: none;
  padding: 1em 1.2em;
  margin: 0;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.recent-news-item {
  border-bottom: 1px solid #eee;
}

.recent-news-link {
  display: flex;
  align-items: flex-start;
  gap: 0.8em;
  padding: 0.6em 0.5em;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s;
}

.recent-news-link:hover {
  background-color: #f5f5f5;
}

.recent-news-link:hover .recent-news-title {
  color: #e67e22;
}

.recent-news-date {
  font-size: 1em;
  color: #666;
  white-space: nowrap;
}

.recent-news-new {
  font-size: 0.75em;
  font-weight: bold;
  color: #fff;
  background: #e74c3c;
  padding: 0.1em 0.5em;
  border-radius: 3px;
  white-space: nowrap;
}

.recent-news-title {
  color: #0066cc;
  text-decoration: none;
}



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
  .recent-news-item {
    line-height: 1;
  }
  .recent-news-link {
    flex-wrap: wrap;
  }
  .recent-news-title {
    width: 100%;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
		.header-in {
	  display:flex;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
