@charset "utf-8";
/*body {
display: flex;
flex-flow: column;
min-height: 100vh;
}
main {
flex: 1;
}*/


a.animated-link::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -3px;
left: 0;
background-color: var(--primary);
transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

a.animated-link:hover::after {
width: 100%;
}





/* ページタイトル */
.page-title {
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
      background-color:rgba(250,250,250,1);
padding: 70px 0;
margin-bottom: 60px;
text-align: center;
position: relative;
overflow: hidden;
}


.page-title h1 {
font-family: 'Noto Serif JP', serif;
font-weight: 500;
font-size: 2rem;
color: var(--dark);
margin: 0;
position: relative;
z-index: 1;
}

.page-title .subtitle {
font-size: 1.1rem;
color: var(--gray);
margin-top: 15px;
position: relative;
z-index: 1;
}

/* メインコンテンツ */
.main-content {
padding: 0 0 80px;
}

.content-main {
max-width: 620px;
margin: 0 auto;


position: relative;
}

.content-main::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 5px;

background-size: 200% 100%;
animation: gradient-shift 3s ease infinite;
border-radius: 0 0 8px 8px;
}

@keyframes gradient-shift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}

.content-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 40px;
}

/* 投稿カード */
.post-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 30px;
}

.post-card {
background-color: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s, box-shadow 0.3s;
border: var(--card-border);
}

.post-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-image {
height: 200px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
background-color: #f0e9e1;
}

.post-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.post-placeholder {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
color: #999;
font-size: 1.2rem;
}

.post-content {
padding: 20px;
}

.post-date {
display: block;
font-size: 0.85rem;
color: #666;
margin-bottom: 10px;
}

.post-title {
font-family: 'Noto Serif JP', serif;
font-size: 1.2rem;
margin: 0 0 15px 0;
line-height: 1.4;
}

.post-title a {
color: #333;
text-decoration: none;
transition: color 0.3s;
}

.post-title a:hover {
color: var(--primary);
}

.post-excerpt {
font-size: 0.95rem;
margin-bottom: 15px;
line-height: 1.6;
color: #555;
}




 .content-main h5{
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.9em;
background: rgba(182, 55, 54, 1);
color: rgba(255, 255, 255, 1);
margin-top:3rem;
}







/* ページネーション */
.pagination {
display: flex;
justify-content: center;
margin-top: 50px;
}

.pagination .page-numbers {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
margin: 0 5px;
border-radius: 50%;
background-color: #fff;
color: #333;
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
transition: all 0.3s;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pagination .page-numbers.current {
background-color: var(--primary);
color: #fff;
}

.pagination .page-numbers:hover:not(.current) {
background-color: #f0e9e1;
}

.pagination .prev,
.pagination .next {
width: auto;
padding: 0 15px;
border-radius: 20px;
}

/* サイドバー */
.sidebar {
display: flex;
flex-direction: column;
gap: 15px;
}

.sidebar-widget {
background-color: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
padding: 12px 25px 25px 25px;
border: var(--card-border);
}
.widget-title {
font-size: 0.85rem;
text-align: center;
color: rgba(182,55,54,1);
margin: 0 0 20px 0;
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}
.sidebar-search {
padding:0;
}


/* 検索フォーム */
.search-form {
display: flex;
}

.search-field {
flex-grow: 1;
padding: 10px 15px;
border: 1px solid #ddd;
border-radius: 4px 0 0 4px;
font-size: 0.95rem;
outline: none;
transition: border-color 0.3s;
}

.search-field:focus {
border-color: var(--primary);
}

.search-submit {
background-color: var(--primary);
color: #fff;
border: none;
border-radius: 0 4px 4px 0;
padding: 0 15px;
cursor: pointer;
transition: background-color 0.3s;
}

.search-submit:hover {
background-color: var(--primary-light);
}

/* カテゴリーリスト */
.category-list {
list-style: none;
padding: 0;
margin: 0;
}

.category-list li {
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}

.category-list li:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}

.category-list a {
color: #333;
text-decoration: none;
font-size: 0.95rem;
transition: color 0.3s evapor;
display: flex;
justify-content: space-between;
align-items: center;
}

.category-list a:hover {
color: var(--primary);
}

/* 最近の投稿 */
.recent-posts {
list-style: none;
padding: 0;
margin: 0;
}

.recent-posts li {
margin-bottom: 15px;
padding-bottom: 15px;
border-bottom: 1px solid #eee;
}

.recent-posts li:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}

.recent-posts a {
color: #333;
text-decoration: none;
font-size: 0.95rem;
font-weight: 500;
transition: color 0.3s;
display: block;
margin-bottom: 5px;
}

.recent-posts a:hover {
color: var(--primary);
}

/* 次回の定例講座 */
.upcoming-lecture {
background-color: #f9f6f1;
padding: 15px;
border-radius: 5px;
border-left: 3px solid var(--primary);
}

.lecture-date {
font-size: 0.85rem;
color: #666;
margin-bottom: 10px;
}

.upcoming-lecture h4 {
font-family: 'Noto Serif JP', serif;
font-size: 1.1rem;
color: #333;
margin: 0 0 10px 0;
}

.upcoming-lecture p {
font-size: 0.9rem;
margin: 0 0 10px 0;
}

.lecture-speaker {
font-size: 0.9rem;
font-weight: 500;
margin-bottom: 15px;
}

/* 最新刊行物 */
.latest-publication {
display: flex;
flex-direction: column;
}

.publication-image {
height: 150px;
background-color: #f0e9e1;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 15px;
border-radius: 5px;
color: #999;
}

.latest-publication h4 {
font-family: 'Noto Serif JP', serif;
font-size: 1.1rem;
color: #333;
margin: 0 0 10px 0;
}

.latest-publication p {
font-size: 0.9rem;
margin: 0 0 15px 0;
color: #666;
}

/* 記事が見つからない場合 */
.no-results {
background-color: #fff;
border-radius: 8px;
padding: 30px;
text-align: center;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
border: var(--card-border);
}

.no-results h2 {
font-family: 'Noto Serif JP', serif;
font-size: 1.5rem;
color: #333;
margin: 0 0 15px 0;
}

.no-results p {
font-size: 1rem;
color: #555;
margin: 0;
}

/* 固定ページの内容スタイル */
.page-content {
line-height: 1.9;
color: #444;
}

.page-content p {
margin-bottom: 1.5rem;
font-size: 1.125rem;
      text-align:justify;

  line-height: 2.25rem;
}

.page-content h2 {
font-family: 'Noto Serif JP', serif;
font-size: 1.8rem;
margin: 2.5rem 0 1.5rem;
padding-bottom: 0.5rem;
font: bold;
border-bottom: 1px solid var(--secondary);
color: var(--dark);
position: relative;
}
.page-content h2 a{
color: var(--dark);
font-family: 'Noto Serif JP', serif;
text-decoration: none;
}
.page-content h2::after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
width: 50px;
height: 3px;
background-color: var(--primary);
}

.page-content h3 {
font-family: 'Noto Serif JP', serif;
font-size: 1.5rem;
margin: 2rem 0 1.2rem;
color: var(--primary);
      font-weight: 500;
}

.page-content h4 {
    font-family: 'Noto Serif JP', serif;
font-size: 1.35rem;
margin: 1.8rem 0 1rem;
color: var(--primary);
      font-weight: 500;
}

.page-content ul, 
.page-content ol {
margin: 0 0 1.5rem 1.5rem;
padding-left: 1rem;
}

.page-content li {
margin-bottom: 0.7rem;
}

.page-content a {
color:rgba(37,67,154,1.00);
text-decoration: underline;
/*color: var(--primary);
border-bottom: 1px dotted var(--primary);
padding-bottom: 2px;*/
transition: all 0.3s ease;
}

.page-content a:hover {
color: var(--primary-light);
border-bottom: 1px solid var(--primary-light);
}

.page-content blockquote {
background-color: #f9f6f1;
padding: 1.5rem;
margin: 2rem 0;
border-left: 4px solid var(--secondary);
font-style: italic;
position: relative;
}

.page-content blockquote::before {
content: '"';
font-size: 4rem;
color: rgba(182,55,54,0.1);
position: absolute;
top: -10px;
left: 10px;
font-family: serif;
}

.page-content img {
max-width: 100%;
height: auto;
/*  border-radius: 8px;
margin: 2rem 0;*/
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-content table {
width: 100%;
border-collapse: collapse;
margin: 2rem 0;
}

.page-content table th {
background-color: #f0e9e1;
padding: 12px 15px;
border: 1px solid #ddd;
text-align: left;
}

.page-content table td {
padding: 12px 15px;
border: 1px solid #ddd;
}

.page-content table tr:nth-child(even) {
background-color: #f9f9f9;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
.content-grid {
  grid-template-columns: 1fr;
  gap: 30px;
}

.sidebar {
  margin-top: 30px;
}
}

@media (max-width: 768px) {

.post-grid {
  grid-template-columns: 1fr;
}

.content-main {
  padding: 30px 25px;
}

.page-title h1 {
  font-size: 2rem;
}

.page-content h2 {
  font-size: 1.6rem;
}

.page-content h3 {
  font-size: 1.4rem;
}
}

@media (max-width: 576px) {
.page-title {
  padding: 2.5rem 0;
}

.page-title h1 {
  font-size: 1.5rem;
}

.container {
  width: 95%;
  padding: 0 10px;
}

.content-main {
  padding: 25px 20px;
}

.page-content p {
  font-size: 1rem;
}
}




/*映像アーカイブ*/
.container.movie_archive {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}
.container.movie_archive .content-main{
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  display:block;
}
.container.movie_archive .content-main .movie_archive-area{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem 3%;
}
.container.movie_archive .content-main .movie_archive-area figure{
min-width: 300px;
}
@media screen and (min-width:800px) {
.container.movie_archive .content-main .movie_archive-area figure{
  width: 22%;
}
}

.container.movie_archive .content-main .is-layout-flex {
  display: flex;
  width: 48%;
  gap: 4%;
}

.movie_archive-txt{
  max-width:620px;
  margin: 0 auto;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.page-content .movie_archive-txt:first-child{
  padding-top: 0;
}
.movie_archive-area .wp-block-columns{
display: flex;
flex-wrap: wrap;
   justify-content: center;
gap: 5rem 5%;
}

