/*
  Skin Name: tokanoスキンテンプレート
  Description: スキン自作の際にひな型となるスキンです。
  Skin URI: https://tokanogenkimura.com
  Author: tokanogenkimura
  Author URI: https://tokanogenkimura.com
  Screenshot URI: 
  Version: 1.0.2
  Priority: 10
*/
/*以下にスタイルシートを記入してください*/
@media screen and (min-width:769px) {
.article h2 {
background-color:unset!important;
	font-weight: initial;
	padding:inherit;
	padding-bottom:10px;
	color:#4a4a4a!important;
	font-size:28px;

	}}
@media screen and (max-width:768px) {
.article h2{font-size:24px;
	background-color:unset!important;
	font-weight: initial;
	padding:inherit;
	padding-bottom:10px;
	color:#4a4a4a!important;
}
}
a:hover{color:#004a20;}
.breadcrumb a:hover{text-decoration:underline; color:#004a20;}
.wp-block-button__link a:hover{color:#46f073;}

.author-box img {
  text-align: center;
  padding: 10px;
  background: rgba(255,255,255, 0.7);
	border-radius: 100px;}

.post.article{
	margin: 3%!important;}

    main.main, div.sidebar {
        padding-top: unset;
        margin:  0;
    }
.no-sidebar .content .main{ margin: 0;}


/* 年別ショートコード専用カード */
@media screen and (min-width: 646px) {
    ul.eo-grid-4 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
	ul.event-list .eo-grid-4{padding:0;}
    .eo-grid-4 .eo-event-card {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: auto;        /* カード全体は自動 */
        min-height: 100ox;
        max-height: 200px;    /* 全体制限は解除 */
		overflow:hidden;
    }

    /* 画像部分だけ固定してoverflow:hidden */
    .eo-grid-4 .eo-event-card .eo-event-thumbnail-wrapper {
        max-height: 100px;   /* 画像固定高さ */
        overflow: hidden;    /* はみ出す画像は切る */
        position: relative;  /* バッジ用 */
    }

    .eo-grid-4 .eo-event-card .eo-event-thumbnail-wrapper img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    /* バッジは画像上に */
    .eo-grid-4 .eo-event-card .eo-event-date-badge {
        position: absolute;
        top: 8px;
        left: 8px;
    }

    /* タイトル・抜粋は画像下に表示 */
    .eo-grid-4 .eo-event-card .eo-event-content-area {
        flex: none;
        padding: 4px;
        overflow: hidden;  /* 必要ならここだけ切る */
    }

    .eo-grid-4 .eo-event-card .eo-event-title,
    .eo-grid-4 .eo-event-card .eo-event-excerpt {
        line-height: 1.3;
        margin: 0;
        font-size: 1rem;
        padding: 4px;
    }
}

/* モバイルは1列そのまま */
@media screen and (max-width: 645px) {
    .eo-grid-4 .eo-event-card {
        width: 100%;
    }
}

.event-year-accordion .eo-year-title h3 {
    margin-bottom: 5px;
}
/* タイトル全体 */
.eo-year-title {
    position: relative;
    cursor: pointer;
}
.eo-year-title h3 {background-color:#ffffff;}
.eo-year-title h3 {
    border-left: 7px solid #009842;
    border-right:0;
    border-top: 0;
    border-bottom: 0;
	border-radius:2%/2%;
	box-shadow:3px 3px 6px 3px #eee;
}
/* ＋（デフォルト） */
.eo-year-title h3::before,
.eo-year-title h3::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 14px;
    height: 2px;
    background: #333;
    transform: translateY(-50%);
}

/* 縦棒（＋の縦） */
.eo-year-title h3::after {
    transform: translateY(-50%) rotate(90deg);
}

/* 開いたとき（−にする） */
.eo-year-title.active h3::after {
    display: none;
}
.eo-year-title {
    transition: background 0.2s;
}

.eo-year-title:hover {
    background: rgba(0,0,0,0.05);
}