@charset "UTF-8";

/*!
Theme Name: Simplicity2 child
Template:   simplicity2
Version:    20161002
*/

/* Simplicity子テーマ用のスタイルを書く */
  #site-title a {
    font-size: 50px;
  }
.entry h2 a {
	font-size: 18px;
}
.article h2 {
	font-size: 16px;
}
.article h1{
  font-size: 24px;
}
.tagcloud a {
	font-size: 14px !important; /* 文字のサイズ */
	line-height: 1em;
	background: #2fbf00; /* 背景色 */
	color: #fff; /* 文字色 */
	display: inline-block;
	white-space: nowrap;
	padding: 8px 8px; /* 文字周りの余白 */
	margin-top: 3px; /* タグ同士の余白 */
	border-radius: 4px; /* 角を少し丸く */
	text-decoration: none;
}
.tagcloud a:hover {
 	background: #f9d635; /* マウスホバー時の背景色 */
	color: #278a71; /* マウスホバー時の文字色*/
}

/* 記事本文の高さ制限とフェードアウト */
.article-body-wrapper {
    position: relative;
    max-height: 400px; /* 初期状態で表示する高さ */
    overflow: hidden;
    transition: max-height 0.5s ease;
}

/* 下部のグラデーションマスク */
.article-body-wrapper .readmore-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

/* Read More ボタンのデザイン */
.readmore-button-container {
    text-align: center;
    margin: 20px 0 40px;
}

.readmore-btn {
    display: inline-block;
    width: 100%;
    max-width: 600px;
    padding: 12px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.readmore-btn:hover {
    background-color: #f9f9f9;
    border-color: #999;
}

/* 「Read More」クリック時のオープン状態 */
.article-body-wrapper.is-open {
    max-height: 9999px; /* 全文表示 */
}

.article-body-wrapper.is-open .readmore-overlay {
    display: none;
}