/*
Theme Name: Twenty Twenty Child
Template: twentytwenty
*/



/* common parts */

body, input, textarea, button, .button, .faux-button, .wp-block-button__link, .wp-block-file__button, .has-drop-cap:not(:focus)::first-letter, .has-drop-cap:not(:focus)::first-letter, .entry-content .wp-block-archives, .entry-content .wp-block-categories, .entry-content .wp-block-cover-image, .entry-content .wp-block-latest-comments, .entry-content .wp-block-latest-posts, .entry-content .wp-block-pullquote, .entry-content .wp-block-quote.is-large, .entry-content .wp-block-quote.is-style-large, .entry-content .wp-block-archives *, .entry-content .wp-block-categories *, .entry-content .wp-block-latest-posts *, .entry-content .wp-block-latest-comments *, .entry-content p, .entry-content ol, .entry-content ul, .entry-content dl, .entry-content dt, .entry-content cite, .entry-content figcaption, .entry-content .wp-caption-text, .comment-content p, .comment-content ol, .comment-content ul, .comment-content dl, .comment-content dt, .comment-content cite, .comment-content figcaption, .comment-content .wp-caption-text, .widget_text p, .widget_text ol, .widget_text ul, .widget_text dl, .widget_text dt, .widget-content .rssSummary, .widget-content cite, .widget-content figcaption, .widget-content .wp-caption-text{
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif !important;
}
.pc {
  display: block;
}

.sp {
  display: none;
}

.red {
  color: #9d1e35;
}

.f-20 {
  font-size: 20px;
}

.mb-1em {
  margin-bottom: 1em;
}

.mb-40 {
  margin-bottom: 40px;
}

.hina-mincho-regular {
  font-family: "Hina Mincho", serif;
  font-weight: 500;
  font-style: normal;
}

/* page pats */

#container {
  width: 1080px;
  max-width:1080px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.inner {
  width: 1080px;
  max-width:1080px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

header {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 60px;
}

.content {
  display: flex;
}

nav.global {
  width: 130px;
  margin-right: 98px;
}

nav.global img {
  width: 100%;
}

nav.global ul {
  list-style: none;
  padding-left: 0;
  margin:0;
}

nav.global ul li {
/*  margin-bottom: 10px;*/
  margin: 0 0 10px 0;
}

nav.global a:hover {
  opacity: 0.7;
}

main {
  width: 800px;
}

main h2 {
  font-size: 20px;
  color: #9d1e35;
  font-weight: normal;
  margin-bottom: 40px;
  font-family: "Hina Mincho", serif;
  font-weight: 600;
  font-style: normal;
  margin:0 0 40px 0;
}

main section {
  margin-bottom: 90px;
  margin:0 0 90px 0;
  padding:0;
}

.footer-bg-gray {
  background: #a4a9b9;
  margin-top: 80px;
}

.footer-bg-gray .inner {
  padding-top: 30px;
  padding-bottom: 30px;
}

/* index */

#index .box-search {
  font-size: 14px;
  margin-bottom: 20px;
  margin-left: 5px;
}

#index .box-news .message {
  color: #9d1e35;
  font-size: 20px;
  margin-bottom: 40px;
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

#index .box-news dl {
  width: 100%;
}

#index .box-news dt {
  width: 23%;
}

#index .box-news dt span.new {
  display: inline-block;
  border: solid 1px #9d1e35;
  padding: 1px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 10px;
  color: #9d1e35;
}

#index .box-news dd {
  position: relative;
  width: 77%;
}

#index .box-news dd span {
  font-size: 14px;
  display: none;
  position: absolute;
  right: 0;
  color: #727171;
}

#index .box-news dl div {
  margin-bottom: 30px;
  display: flex;
}

#index .box-video ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  flex-wrap: wrap;
}

#index .box-video ul li {
  width: 232px;
}

#index .box-video ul li iframe {
  width: 232px;
  height: 130px;
}

#index nav.fnav {
  font-size: 14px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#index nav.fnav a {
  text-decoration: none;
  color: #000;
}

#index nav.fnav a:hover img {
  opacity: 0.7;
}

#index nav.fnav .about a:hover,
#index nav.fnav .regist a:hover,
#index nav.fnav .donate a:hover {
  color: #a21e34;
}

#index nav.fnav .staff a:hover,
#index nav.fnav .mag a:hover,
#index nav.fnav .link a:hover {
  color: #896d4b;
}

#index nav.fnav .contact a:hover,
#index nav.fnav .news a:hover {
  color: #0f181f;
}

#index nav.fnav ul {
  list-style: none;
  padding-left: 0;
  display: flex;
}

#index nav.fnav ul li {
  text-align: center;
  width: 8em;
}

#index nav.fnav ul li div {
  height: 51px;
  width: 100%;
}

#index nav.fnav ul li div img {
  margin-left: auto;
  margin-right: auto;
}

.footer-bg-gray .inner {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.footer-bg-gray .footer-logo {
  display: flex;
  align-items: center;
}

.footer-bg-gray .footer-logo img {
  width: 50px;
}

.footer-bg-gray .footer-logo p {
  font-size: 13px;
}

.footer-bg-gray .footer-link {
  display: flex;
  align-items: baseline;
  position: absolute;
  bottom: 30px;
  right: 0;
}

.footer-bg-gray .footer-link .f-link,
.footer-bg-gray .footer-link .f-sns {
  display: flex;
  list-style: none;
  padding-left: 0;
}

.footer-bg-gray .footer-link .f-sns a:hover {
  opacity: 0.7;
}

.footer-bg-gray .footer-link .f-sns li {
  margin-left: 20px;
}

.footer-bg-gray .footer-link .f-link {
  margin-right: 30px;
}

.footer-bg-gray .footer-link .f-link li {
  margin-right: 20px;
}

.footer-bg-gray .footer-link .f-link a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-bg-gray .footer-link .f-link a:hover {
  text-decoration: underline;
}

/* for lower pages common */

#lower header {
  display: block;
  padding-bottom: 40px;
  padding-top: 40px;
  position: relative;
}

#lower header h1 {
  position: absolute;
  left: 0;
  top: 50px;
}

#lower header .head-image {
  position: absolute;
  right: 0;
  top: 50px;
}

#lower header .head-image img {
  width: 70px;
}

#lower .bread-crumbs ul {
  display: flex;
  list-style: none;
  padding-left: 5px;
  font-size: 13px;
  margin-bottom: 40px;
  margin-top: 50px;
}

#lower .bread-crumbs li::after {
  content: "/";
  margin-left: 8px;
  margin-right: 8px;
}

#lower .bread-crumbs li:last-child::after {
  content: "";
}

#lower .bread-crumbs li a {
  color: #000;
  text-decoration: none;
}

#lower main {
  width: 900px;
  max-width:900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#lower .fnav {
  margin-bottom: 30px;
}

#lower .fnav ul {
  display: flex;
  list-style: none;
  padding-left: 0;
  font-size: 14px;
}

#lower .fnav ul li {
  width: 8em;
  text-align: center;
}

#lower .fnav ul li div {
  width: 100%;
}

#lower .fnav ul li div img {
  margin-left: auto;
  margin-right: auto;
}

#lower .fnav a {
  text-decoration: none;
  color: #000;
}

#lower .fnav a:hover img {
  opacity: 0.7;
}

#lower .fnav a:hover {
  color: #fff;
}
/*
#lower .footer-link {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

#lower .footer-link ul {
  list-style: none;
  padding-left: 0;
}

#lower .footer-link .f-link,
#lower .footer-link .f-sns {
  display: flex;
}

#lower .footer-link .f-link a {
  font-size: 14px;
  text-decoration: none;
  color: #fff;
}

#lower .footer-link .f-link {
  margin-right: 60px;
}

#lower .footer-link .f-link li,
#lower .footer-link .f-sns li {
  margin-right: 30px;
}

#lower .footer-link .f-link li:last-child,
#lower .footer-link .f-sns li:last-child {
  margin-right: 0;
}

#lower .footer-link .f-link a:hover {
  text-decoration: underline;
}

#lower .footer-link .f-sns a:hover {
  opacity: 0.7;
}
*/

/* global nav */
/* checkbox は非表示 */
#lower #check {
  display: none; /* checkbox の非表示 */
}

/* checkbox が OFF(=初期状態) の表示・非表示設定 */
#lower #close {
  display: none; /* close の非表示 */
}
#lower nav #menu {
  display: none; /* menu の非表示 */
}

/* checkbox が ON の表示・非表示設定 */
#lower #check:checked ~ #open {
  display: none; /* open の非表示 */
}
#lower #check:checked ~ #close {
  display: block; /* close の表示 */
}
#lower #check:checked ~ nav #menu {
  display: block; /* menu の表示 */
}

#lower .btn {
  /* クリック領域のデザイン */
  position: absolute;
  right: 8px;
  top: 8px;
  display: block;
  width: 40px;
  height: 40px;
  background-color: #fff;
}
#lower #open .menu,
#lower #open .menu::before,
#lower #open .menu::after,
#lower #close .menu::before,
#lower #close .menu::after {
  /* 横棒のデザイン */
  content: "";
  display: block;
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: #333;
}
#lower #open .menu {
  top: 50%;
  margin: -1px 5px 0;
}
#lower #open .menu::before {
  top: -14px;
}
#lower #open .menu::after {
  top: 14px;
}
#lower #close .menu::before {
  top: 16px;
  left: 6px;
  transform: rotate(45deg);
}
#lower #close .menu::after {
  top: 16px;
  left: 6px;
  transform: rotate(-45deg);
}
#lower nav #menu {
  position: absolute;
  z-index: 10;
  top: 50px;
  left: 0;
  width: 100%;
  list-style: none;
  padding-left: 0;
  padding-top: 40px;
  animation: fadeIn .2s linear;
  padding-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.9);
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#lower nav #menu li {
  width: 30%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}

#lower nav #menu li img {
  width: 100%;
}

#lower nav #menu a:hover {
  opacity: 0.7;
}

#lower dt span.new {
  display: inline-block;
  border: solid 1px #9d1e35;
  padding: 1px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 10px;
  color: #9d1e35;
}


@media screen and (max-width:640px) {
  /* common parts */

  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  img {
    width: 100%;
  }

  /* page pats */

  #container {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
  }

  header {
    display: block !important;
  }

  header h1 {
    margin-bottom: 40px;
  }

  main {
    width: 100%;
  }

  main h2 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
  }

  main section {
    margin-bottom: 60px;
  }

  .footer-bg-gray {
    margin-top: 50px;
  }

  /* global nav */
   /* checkbox は非表示 */
   #check {
    display: none; /* checkbox の非表示 */
  }
  
  /* checkbox が OFF(=初期状態) の表示・非表示設定 */
  #close {
    display: none; /* close の非表示 */
  }
  nav #menu {
    display: none; /* menu の非表示 */
  }
  
  /* checkbox が ON の表示・非表示設定 */
  #check:checked ~ #open {
    display: none; /* open の非表示 */
  }
  #check:checked ~ #close {
    display: block; /* close の表示 */
  }
  #check:checked ~ nav #menu {
    display: block; /* menu の表示 */
  }
  
  .btn {
    /* クリック領域のデザイン */
    position: absolute;
    right: 8px;
    top: 8px;
    display: block;
    width: 40px;
    height: 40px;
    background-color: #fff;
  }
  #open .menu,
  #open .menu::before,
  #open .menu::after,
  #close .menu::before,
  #close .menu::after {
    /* 横棒のデザイン */
    content: "";
    display: block;
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #333;
  }
  #open .menu {
    top: 50%;
    margin: -1px 5px 0;
  }
  #open .menu::before {
    top: -14px;
  }
  #open .menu::after {
    top: 14px;
  }
  #close .menu::before {
    top: 16px;
    left: 6px;
    transform: rotate(45deg);
  }
  #close .menu::after {
    top: 16px;
    left: 6px;
    transform: rotate(-45deg);
  }
  nav #menu {
    position: absolute;
    z-index: 10;
    top: 45px;
    left: 0;
    width: 100%;
    list-style: none;
    padding-left: 0;
    padding-top: 30px;
    animation: fadeIn .2s linear;
    padding-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.9);
  }
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  nav #menu li {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  nav #menu a:hover {
    opacity: 0.7;
  }

  /* index */

  #index .box-news .message {
    font-size: 18px;
    margin-bottom: 30px;
  }

  #index .box-news dd span {
    position: relative;
    text-align: right;
    width: 100%;
    display: none;
  }

  #index .box-news dt {
    margin-bottom: 5px;
    width: 100%;
  }

  #index .box-news dl div {
    margin-bottom: 20px;
    display: block;
  }

  #index .box-news dd {
    width: 100%;
  }

  #index .box-video ul {
    display: block;
  }

  #index .box-video ul li {
    width: 100%;
    margin-bottom: 30px;
  }

  #index .box-video ul li iframe {
    width: 100%;
    height: 300px;
  }

  #index nav.fnav {
    width: 90%;
  }

  #index nav.fnav ul {
    display: block;
    width: 100%;
  }

  #index nav.fnav ul li {
    text-align: left;
    width: 100%;
    border-bottom: solid 1px #b5b5b6;
    padding-left: 10px;
    padding-bottom: 15px;
    padding-top: 15px;
  }

  #index nav.fnav ul .about {
    background: url(../images/fnav_about_sp.png) no-repeat 98% center;
    background-size: 8%;
  }

  #index nav.fnav ul .staff {
    background: url(../images/fnav_staff_sp.png) no-repeat 98% center;
    background-size: 8%;
  }

  #index nav.fnav ul .contact {
    background: url(../images/fnav_contact_sp.png) no-repeat 98% center;
    background-size: 8%;
  }

  #index nav.fnav ul .regist {
    background: url(../images/fnav_regist_sp.png) no-repeat 98% center;
    background-size: 8%;
  }

  #index nav.fnav ul .mag {
    background: url(../images/fnav_mag_sp.png) no-repeat 98% center;
    background-size: 8%;
  }

  #index nav.fnav ul .news {
    background: url(../images/fnav_news_sp.png) no-repeat 98% center;
    background-size: 8%;
  }

  #index nav.fnav ul .donate {
    background: url(../images/fnav_donate_sp.png) no-repeat 98% center;
    background-size: 8%;
  }

  #index nav.fnav ul .link {
    background: url(../images/fnav_link_sp.png) no-repeat 98% center;
    background-size: 8%;
  }

  .footer-bg-gray .inner {
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-bg-gray .footer-logo {
    font-size: 14px;
    text-align: center;
    display: block;
  }

  .footer-bg-gray .footer-logo img {
    width: 20%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
  }

  .footer-bg-gray .footer-link {
    display: block;
    position: relative;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    bottom: auto;
    right: auto;
    margin-top: 20px;
  }

  .footer-bg-gray .footer-link .f-link {
    margin-right: 0;
    display: block;
    margin-bottom: 20px;
  }

  .footer-bg-gray .footer-link .f-link li {
    margin-right: 0;
  }

  .footer-bg-gray .footer-link .f-sns {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-bg-gray .footer-link .f-sns li:first-child {
    margin-left: 0;
  }

  /* for lower pages common */

  #lower header {
    margin-top: 12px;
    padding-bottom: 10px;
  }

  #lower header h1 {
    position: relative;
  }

  #lower header h1 img {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  #lower header .head-image {
    position: relative;
    text-align: center;
  }

  #lower header .head-image a {
    display: inline-block;
    width: 20%;
  }

  #lower header .head-image img {
    width: 100%;
  }

  #lower .bread-crumbs ul {
    margin-top: 0;
  }

  #lower nav #menu ul {
    width: 100%;
  }

  #lower nav #menu li {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
  }
  
  #lower nav #menu li img {
    width: 100%;
  }
  
  #lower nav #menu a:hover {
    opacity: 0.7;
  } 

  #lower footer {
    margin-top: 80px;
  }

  #lower footer .inner {
    width: 90%;
  }

  #lower .fnav ul {
    display: block;
  }

  #lower .fnav ul li {
    width: 100%;
    text-align: left;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 10px;
    border-bottom: solid 1px #fff;
  }

  #lower .fnav ul .about {
    background: url(../images/in_fnav_about.png) no-repeat 98% center;
    background-size: 8%;
  }

  #lower .fnav ul .staff {
    background: url(../images/in_fnav_staff.png) no-repeat 98% center;
    background-size: 8%;
  }

  #lower .fnav ul .contact {
    background: url(../images/in_fnav_contact.png) no-repeat 98% center;
    background-size: 8%;
  }

  #lower .fnav ul .regist {
    background: url(../images/in_fnav_regist.png) no-repeat 98% center;
    background-size: 8%;
  }

  #lower .fnav ul .mag {
    background: url(../images/in_fnav_mag.png) no-repeat 98% center;
    background-size: 8%;
  }

  #lower .fnav ul .news {
    background: url(../images/in_fnav_new.png) no-repeat 98% center;
    background-size: 8%;
  }

  #lower .fnav ul .donate {
    background: url(../images/in_fnav_donate.png) no-repeat 98% center;
    background-size: 8%;
  }

  #lower .fnav ul .link {
    background: url(../images/in_fnav_link.png) no-repeat 98% center;
    background-size: 8%;
  }
/*
  #lower .footer-link {
    display: block;
    margin-right: 0;
  }

  #lower .footer-link .f-link {
    text-align: center;
    display: block;
    margin-bottom: 20px;
    margin-right: 0;
  }

  #lower .footer-link .f-link li {
    margin-right: 0;
  }

  #lower .footer-link .f-sns {
    justify-content: center;
  }
*/
}

/* 2024-12-27 追加 */
#container div.box-search.pc input[type="search"]{
  width:unset;
  padding:1px;
  appearance: auto;
  background-color: #ffffff;
/*  border: 1px inset #000000;*/
  letter-spacing: normal;
/*  border-radius: unset;*/
  transition: unset;
  font: inherit;
  font-size: 11px;
  box-sizing: border-box;
  display:inline;
}
#index .box-news .message a{
  color: #9d1e35;
}
/* 2024-12-27 追加 */
/* 2025-01-06 追加 */
h1{
  font-size:1.5em;
  font-weight:bold;
  margin:0;
}
.single-post .post-meta {
  margin-top: 0px;
}
.newslistlink{
  float:right;
}
.wp-block-search__button{
  padding: 3px 5px;
  background:#333333;
  color:#ffffff;
  font-size:14px;
  letter-spacing: 0.1em;
  border: 1px solid #b8bcc0;
  box-shadow: none;
  width: 60px;
  transition: all 0.2s ease-in;
}
ul.f-link,
ul.f-sns{
  margin:0px;
}
div.l-container{
  min-height: 100vh;
}
/* 2025-01-06 追加 */



.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  max-width: unset;
}

#lower header div.entry-header-inner h1 {
position: relative;
left: 0;
top: 0px;
}

a{
  color:#9d1e35 !important;
}
nav.pagination-single{
  display:none;
}
div.footer-nav-widgets-wrapper.header-footer-group{
  display:none;
}
/* カテゴリー別ニュース一覧 */
.category-news div{
  margin-bottom: 1.25em;
}
.category-news div dt{
  font-size: 21px;
  line-height:1.5;
}
.category-news div dd{
  font-size: 21px;
  line-height:1.5;
}
.category-news div dt + dd{
  margin-top: 0.5rem;
}
.entry-content div dd span{
  font-size:12px;
  border-radius: 15px;
  border: 1px solid #333333;
  padding: 2px 10px;
}