
.p-news {
  padding: 100px 0;
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 767px) {
  .p-news {
    padding: 50px 0;
    flex-wrap: wrap;
  }
}

.p-news__side {
  width: 30%;
  max-width: 320px;
  min-width: 280px;
}

.p-news__side h2 {
  text-align: center;
  font-size: 18px;
  margin-bottom: 15px;
}
.p-news__side-bnr{
  width:100%;
  margin: 0 auto 30px;
}
.p-news__side-bnr img{
  width:100%;
}

.p-news__side-category {
  background: #f7f7f7;
  border-radius: 10px;
  margin-bottom: 30px;
  padding: 30px 30px 40px;
}

.p-news__side-category input {
  width: calc(100% - 60px);
  border: 1px solid #ccc;
}

.p-news__side-category .search-btn {
  background: #2e2e2e;
  color: #fff;
  max-width: 80px;
  padding: 8px 10px;
  border: none;
  border-radius: 5px;
}

@media screen and (max-width: 767px) {
  .p-news__side-category .search-btn {
    padding: 6px 10px;
  }
}

.p-news__side-category input,
.p-news__side-category textarea,
.p-news__side-category select {
  width: calc(100% - 53px);
  border: none;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

@media screen and (max-width: 1100px) {

  .p-news__side-category input,
  .p-news__side-category textarea,
  .p-news__side-category select {
    max-width: 220px;
  }
}

@media screen and (max-width: 767px) {

  .p-news__side-category input,
  .p-news__side-category textarea,
  .p-news__side-category select {
    flex-wrap: wrap;
    padding: 8px;
  }
}

.p-news__side ul li {
  position: relative;
}

.p-news__side ul li a {
  display: block;
  padding-left: 10px;
  margin-bottom: 10px;
}

.p-news__side ul li a:hover {
  color: #ff4800;
}

.p-news__side ul li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background: #ff4800;
  top: 11px;
  position: absolute;
  left: 0;
}

.p-news__side ul li ul {
  padding-left: 20px;
}

.p-news__side ul li ul li {
  font-size: 14px;
}

.p-news__side ul li ul li a {
  margin-bottom: 5px;
}

.p-news__side ul li ul li::before {
  top: 8px;
}

.p-news__side ul li ul li::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1px;
  border-radius: 5px;
  background: #ff4800;
  position: absolute;
  top: 10px;
  left: -7px;
}

.p-news__side select {
  background: #fff;
  width: 100%;
  max-width: 400px;
  border: none;
  padding: 10px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #ccc;
}

@media screen and (max-width: 767px) {
  .p-news__side {
    width: 100%;
    margin-top: 0px;
  }

  .p-news__side-category {
    padding: 20px;
    margin-bottom: 15px;
  }

  .p-news__side ul li ul li a {
    font-size: 12px;
  }

  .p-news__side ul li::before {
    top: 8px;
  }
}

.p-news__main {
  padding-right: 80px;
  width: 100%;
}

.p-news__main-list li {
  margin-bottom: 80px;
}

.p-news__main-list li a {
  display: flex;
  justify-content: space-between;
}

/* youtube iframe----------------------------*/
/* 目次レイアウト用----------------------------*/
.p-news__main article h1 {
  font-size: 30px;
  line-height: 1.3em;
}

.p-news__main article h2 {
  font-size: 28px;
  line-height: 1.3em;
  margin: 80px 0 40px;
  border-bottom: 3px solid #666;
  padding-bottom: 12px;
  position: relative;
}

.p-news__main article h2::after {
  content: "";
  width: 100px;
  height: 3px;
  background: #ff4800;
  position: absolute;
  left: 0;
  bottom: -3px;
}

.p-news__main article h3 {
  margin: 60px 0 40px;
  background: #f7f7f7;
  padding: 15px 30px;
  font-size: 23px;
  border: 1px solid #333;
}

.p-news__main article h4 {
  border-bottom: 1px dotted #333;
  padding-bottom: 15px;
  font-size: 20px;
  margin: 60px 0 20px;
}

.p-news__main article p {
  line-height: 2;
  margin-bottom: 50px;
}


.p-news__main article p a {
  color: #ff4800;
  border-bottom: 2px dotted #ff4800;
  background-color:transparent !important;
  display: inline-block;
}

.p-news__main article p a:hover {
  border-bottom: 2px dotted #faf3f0;
}
.date-label,.update-group {
    color: #2e2e2e !important;
    letter-spacing: 1.2px !important;
    margin-right: 0 !important;
    font-size:16px !important;
}
/***SNS サイドバー**/

/* Sidebar SNS Widget (No List version) */
.p-news__side-sns-text {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #666;
}

.p-news__side-sns-flex {
    display: flex;
    flex-wrap: wrap;
    width:80%;
    gap: 20px;
    justify-content: center;
    align-items:anchor-center;
    padding: 0;
    margin: auto;

}

.p-news__side-sns-flex a {
    display: inline-block;
    line-height: 1; /* 余計な隙間を防止 */
    transition: opacity 0.3s ease;
}

.p-news__side-sns-flex a:hover {
    opacity: 0.7;
}

.p-news__side-sns-flex img {
    width: 35px;
    height: auto;
    display: block;
    border-radius: 4px;
}

/** SNS Sidebar **/

.p-news__main article ul {
  margin-left: 20px;
}

.p-news__main article ul li {
  list-style-type: disc;
  margin-bottom: 5px;
}

.p-news__main article ol {
  margin-left: 20px;
}

.p-news__main article ol li {
  list-style-type: decimal;
  margin-bottom: 5px;
}

.p-news__main article .c-btn {
  max-width: 370px;
  margin: auto;
  z-index: 0;
  border-radius: 100px;
}

.p-news__main article .c-btn a {
  padding: 10px 18px;
  border-radius: 5px;
  display: block;
  color: #fff;
  background: #ff4800;
  border-bottom: none;
}

.p-news__main article .c-btn a:hover {
  background: #000;
  border-bottom: none;
}

.p-news__main article .p-news__detail-date {
  margin: 30px 0;
}

.p-news__main article .p-news__detail-date span {
  font-size: 12px;
  line-height: 1.3;
}

.p-news__main article .line_s {
  background: #f0d7cf;
  padding: 0 8px;
  margin: 0 5px;
  font-weight: bold;
  font-size: 18px;
  color: #2e2e2e;
  letter-spacing: 0.05em;
  border-bottom: none;
}

.p-news__main article strong {
   background: #ffff99;
  /* border-bottom: 1px solid #ff4800; */
}

.p-news__main article table {
  width: 100%;
}

.p-news__main article th {
  width: 30%;
}

.p-news__main article th,
.p-news__main article td {
  border: 1px solid #ccc;
  padding: 15px;
  text-align: left;
}


/*eventのみ独自CSS*/
.event-schedule {
  width:100% !important;
}
.event-schedule tbody {
}
.event_td_wide{
  font-weight:800;
  border: none !important;
  padding:40px 0 12px !important;
  font-size:18px;
}
.event-schedule tbody tr {
}
.event-schedule tbody tr td {
}
.event-schedule tbody tr th {
  background: #fafafa;
  width:15%;
  font-size:16px;
}
.event-schedule tbody tr td a {
  text-decoration: underline;
}
.event-page-link{
  margin:-240px 0 0;
  padding:240px 0 0;
}


.p-news__main article blockquote {
  border: 1px solid #ececec;
  padding: 50px 50px 0px;
  position: relative;
  font-size: 14px;
  color: #666;
  margin: 50px 30px;
  border-radius: 10px;
}

.p-news__main article blockquote::before {
  content: "“";
  position: absolute;
  top: -20px;
  left: 10px;
  color: #ccc;
  font-size: 80px;
}

.p-news__main article figure {
  margin-bottom: 20px;
}

.p-news__main article figcaption {
  margin: 1em 0 3em;
  text-align: center;
}

.p-news__main article .is-type-video .wp-block-embed__wrapper {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  margin: auto;
}

.p-news__main article .is-type-video .wp-block-embed__wrapper iframe {
  width: 100%;
  height: 100%;
}

.p-news__main article #toc_container {
  margin: 0 auto;
  background-color: #faf3f0;
  padding: 2em;
  margin-bottom: 50px;
  border: none;
  width: 100%;
}

.p-news__main article #toc_container ul li {
  font-size: 16px;
  list-style-type: none;
  margin-bottom: 8px;
}

.p-news__main article #toc_container ul li ul {
  margin-bottom: 15px;
}

.p-news__main article #toc_container ul li li {
  margin-bottom: 5px;
}

.p-news__main article .toc_title {
  font-size: 1.2rem;
  font-weight: bold;
  border-bottom: 1px solid #f0d7cf;
  padding-bottom: 10px;
}

.p-news__main article .point {
  padding: 30px 30px 40px;
  background: #f7f7f7;
  border-radius: 10px;
  margin-bottom: 30px;
}

.p-news__main article .point b {
  color: #ff4800;
}

.p-news__main article .point li {
  margin-left: 30px;
  list-style: circle;
  margin-bottom: 15px;
}

.p-news__main article .point a {
  background: #fff;
  padding: 0 10px;
}

@media screen and (max-width: 1100px) {
  .p-news__main {
    padding-right: 30px;
    margin-bottom: 50px;
  }

  .p-news__main-list li {
    margin-bottom: 50px;
  }

  .p-news__main-list li:last-of-type {
    margin-bottom: 0;
  }

  .p-news__main-list li a {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 767px) {
  .p-news__main {
    width: 100%;
    padding-right: 0;
  }

  .p-news__main article h2 {
    font-size: 15px;
    line-height: 1.5em;
  }

  .p-news__main article h3 {
    margin: 30px 0 15px;
    padding: 10px;
    font-size: 15px;
  }

  .p-news__main article h4 {
    margin: 30px 0 10px;
  }

  .p-news__main article p {
    margin-bottom: 20px;
  }
  .date-label,.update-group {
    font-size:12px !important;
}


  .p-news__main article blockquote {
    padding: 30px 20px 20px;
    margin: 0;
    font-size: 12px;
  }

  .p-news__main article blockquote::before {
    font-size: 50px;
    line-height: 1.3;
    top: 0;
  }

  .p-news__main article table {
    margin: 20px 0;
  }

  .p-news__main article .p-news__detail-date {
    margin: 10px 0 20px;
  }

  .p-news__main article #toc_container {
    padding: 20px;
  }

  .p-news__main article #toc_container ul li {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .p-news__main article .toc_title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .p-news__main article .line_s {
    font-size: 14px;
  }

  .p-news__main article .point {
    padding: 20px;
  }

  .p-news__main article .point li {
    margin-left: 10px;
    line-height: 1.3em;
  }
}

.p-news__detail {
  padding-left: 30px;
  width: 60%;
}

.p-news__detail-date {
  letter-spacing: 0.1em;
}

.p-news__detail-date span {
  font-size: 14px;
  color: #fff;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  margin-right: 10px;
  letter-spacing: 0;
}

.p-news__detail-name {
  margin: 15px 0;
  font-size: 20px;
}

.p-news__detail-text {
  font-size: 14px;
  color: #727272;
}

@media screen and (max-width: 1100px) {
  .p-news__detail {
    width: 100%;
    padding-left: 0;
    margin: 10px 0 0 0;
  }

  .p-news__detail-date span {
    font-size: 10px;
  }

  .p-news__detail-name {
    font-size: 16px;
    margin: 10px 0;
  }

  .p-news__detail-text {
    font-size: 12px;
  }
}

.p-news__thumnail {
  width: 40%;
}

@media screen and (max-width: 1100px) {
  .p-news__thumnail {
    width: 100%;
  }
}