/* お知らせ */

.news_contents {
width: 100%;
padding-top: 44px;
padding-bottom: 44px;
background-color: #f2f2f2;
box-sizing: border-box;
position: relative;
display: flex;
justify-content: center;
}



.news__tabs a{
width: auto;
min-width: 100px;
height: 44px;
padding-left: 0px;
padding-right: 0px;
box-sizing: border-box;
border-radius: 22px;
background-color: #fff;
display: flex;
align-items: center;	
justify-content: center;
font-size: 12px;
font-weight: 600;
color:#4d4d4d ;
font-family: 'Noto Sans JP';
transition: all 0.5s cubic-bezier(0.190, 1.000, 0.220, 1.000);
cursor: pointer;
}	
.news__tabs a:hover{color:#000 ;}
    
.news__tabs a.is-active {
color: #217fe9 !important;
font-weight: bold;
}
  
.news__tabs {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
padding-bottom: 50px;
border-bottom: solid 1px #dddddd;
}



    
    
.news,
.news__list,
.news__item {
  min-width: 0;
}

@media (max-width:480px),(min-width:480px)  {
.news {
min-width: 0;
}	
}

@media screen and (min-width: 960px)  {
.news {
  min-width: 960px;
}	
}

.news__item a {
  display: block;
  position: relative;
  border-bottom: solid 1px #dddddd;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 20px;
}

.news__title {
  font-size: 110%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news__cat { 
width: 80px;
height: 30px;
box-sizing: border-box;
border: solid 1px #dddddd;
border-radius: 15px;
display: flex;
align-items: center;	
justify-content: center;
font-size: 11px;
font-weight: 600;
color:#4d4d4d ;
font-family: 'Noto Sans JP';
margin-top: 15px;

}
.news__time{
font-size: 12px;
font-weight: 600;
font-family: 'Noto Sans JP';
margin-top: 15px;
color: #217fe9 !important;}
    
.news__bottan{
width: 100%;
height: auto;
padding: 0px;
box-sizing: border-box;
display: flex;
justify-content: flex-end;
align-items: flex-end;
position: absolute;
right: 0;
bottom: 25px;
right: 20px;
}
    
@media (max-width:480px),(min-width:480px)  {
.news__tabs a{
width: auto;
min-width: 60px;
height: 30px;
padding-left: 10px;
padding-right: 10px;
box-sizing: border-box;
border-radius: 15px;
background-color: #fff;
display: flex;
align-items: center;	
justify-content: center;
font-size: 12px;
font-weight: 600;
color:#4d4d4d ;
font-family: 'Noto Sans JP';
transition: all 0.5s cubic-bezier(0.190, 1.000, 0.220, 1.000);
cursor: pointer;
}	
}

@media screen and (min-width: 960px)  {
.news__tabs a{
min-width: 100px;
height: 44px;
border-radius: 22px;
}	
}


.news__pagination {
  display: flex;
  justify-content: center; /* ← 中央寄せ */
  gap: 10px;
  margin-top: 40px;
} 
    
.news__pagination .page-numbers {
display: inline-flex;
align-items: center;
justify-content: center;
font-family: 'Noto Sans JP';
width: 40px;
height: 40px;

text-decoration: none;
border: 1px solid transparent;
border-radius: 50%;
}

.news__pagination .page-numbers.current {
border-color: #ddd;
}
    





/*single.php*/


.news-contents{
position: relative;
width: 100%;
padding: 24px;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;  
margin-top: 150px
}

.news-sentence{
width: 100%;
max-width: 1080px;
padding: 96px; 
height: auto;
border-radius: 20px;
background: #fff;
box-sizing: border-box;
}


.news-sentence a{
transition: all 0.5s cubic-bezier(0.190, 1.000, 0.220, 1.000);
color: #217fe9;text-decoration: none;
}

.news-sentence a:hover{
color: #000;
}

@media (max-width:480px),(min-width:480px)  {
.news-contents{padding: 12px;}
.news-sentence{padding-left: 24px;padding-right: 24px;padding-bottom:24px ;padding-top:48px;  font-size: 85%;}

}

@media screen and (min-width: 960px)  {
.news-contents{padding: 24px;}
.news-sentence{padding: 96px;padding-bottom:48px ;font-size: 100%;}

}


    
.news-detail {
width: 100%;
max-width: 800px;
margin-left: auto;
margin-right: auto;
box-sizing: border-box;
background-color: #fff;
}
    

.news_s_title {
font-size: 240%;
line-height: 120%;
}
    
   
.news_s_cat { 
width: 80px;
height: 30px;
box-sizing: border-box;
border: solid 1px #dddddd;
border-radius: 15px;
display: flex;
align-items: center;	
justify-content: center;
font-size: 11px;
font-weight: 600;
color:#4d4d4d ;
font-family: 'Noto Sans JP';
margin-top: 15px;
}
    

.news_s_time{
font-size: 12px;
font-weight: 600;
font-family: 'Noto Sans JP';
margin-top: 15px;
color: #217fe9 !important;
}
   
.news_main_text{ 
line-height: 150%;
padding-top:48px ;
padding-bottom:48px ;
}


    
@media (max-width:480px),(min-width:480px)  {
.news_s_b a{
margin-top: 50px;
width: auto;
min-width: 60px;
height: 30px;
padding-left: 10px;
padding-right: 10px;
box-sizing: border-box;
border-radius: 15px;
background-color: #fff;
display: flex;
align-items: center;	
justify-content: center;
font-size: 12px;
font-weight: 600;
color:#4d4d4d ;
font-family: 'Noto Sans JP';
transition: all 0.5s cubic-bezier(0.190, 1.000, 0.220, 1.000);
cursor: pointer;
}	
}

@media screen and (min-width: 960px)  {
.news_s_b a{
min-width: 100px;
height: 44px;
border-radius: 22px;
}	
}

.news_s_b a:hover{color:#000 ;}
    
    
    
.news_all_categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 60px;
  list-style: none;
}

.news_all_categories li a {
width: auto;
min-width: 100px;
box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, .1);
height: 44px;
padding-left: 0px;
padding-right: 0px;
box-sizing: border-box;
border-radius: 22px;
background-color: #fff;
display: flex;
align-items: center;	
justify-content: center;
font-size: 12px;
font-weight: 600;
color:#4d4d4d ;
font-family: 'Noto Sans JP';
transition: all 0.5s cubic-bezier(0.190, 1.000, 0.220, 1.000);
cursor: pointer;
}

.news_all_categories li a:hover{color:#000 ;}
    
@media (max-width:480px),(min-width:480px)  {
.news_all_categories li a{
min-width: 60px;
height: 30px;
padding-left: 15px;
padding-right: 15px;
border-radius: 15px;
font-size: 10px;
}	
}

@media screen and (min-width: 960px)  {
.news_all_categories li a{
min-width: 100px;
height: 44px;
padding-left: 0px;
padding-right: 0px;
border-radius: 22px;
font-size: 12px;
}	
}







/*カスタマイズボタン-サンプル*/
.news_link-b a{
min-width: 100px;
height: 44px;
box-sizing: border-box;
border-radius: 22px;
background-color: #217fe9;
padding-left: 22px;
padding-right: 22px;
display: flex;
justify-content: center;
align-items: center;
width: fit-content;
font-size: 12px;
font-weight: 600;
color: #fff!important;
font-family: 'Noto Sans JP';
box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, .1);
transition: all 0.5s cubic-bezier(0.190, 1.000, 0.220, 1.000);
cursor: pointer;
}	
.news_link-b a:hover{background-color: #000;}





/*Gutenberg対応ベース*/

.entry-content {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.entry-content p {
  margin: 0 0 1.5em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  line-height: 1.4;
  margin: 2em 0 1em;
}

/* Gutenberg color system manual fallback */

.has-vivid-red-color {
  color: #cf2e2e !important;
}

.has-vivid-cyan-blue-color {
  color: #0693e3 !important;
}

.has-very-dark-gray-color {
  color: #313131 !important;
}

.has-very-light-gray-color {
  color: #eee !important;
}

.has-vivid-red-background-color {
  background-color: #cf2e2e !important;
}

.has-vivid-cyan-blue-background-color {
  background-color: #0693e3 !important;
}

.has-small-font-size {
  font-size: 13px;
}

.has-normal-font-size {
  font-size: 15px;
}

.has-large-font-size {
  font-size: 20px;
}

.has-huge-font-size {
  font-size: 30px;
}

.has-text-align-center {
  text-align: center;
}

.has-text-align-right {
  text-align: right;
}

.alignwide {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.wp-block-quote {
  border-left: 3px solid #ddd;
  padding-left: 1em;
  margin: 2em 0;
}

.wp-block-separator {
  border: none;
  border-top: 1px solid #eee;
  margin: 3em 0;
}

.entry-content p {
  margin: 0 0 1.5em;
}


/* you tube */

.wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.wp-block-embed.wp-has-aspect-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* pdf */

a[href*=".pdf"]::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  background: url('../image/pdf.svg') no-repeat center / contain;
}

/* table */
.wp-block-table table {
  border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
  border: 1px solid #ddd; 
}