.news-inline-link{
  color: var(--primaryColor);
}

.news-article_wrapper {
  margin-top: 30px;
}
.news_detail_list{
  margin-bottom:112px;
}
.news-article_header {
  margin-bottom: 30px;
}

.news-article_title {
  font-size: var(--font-18);
  font-weight: 700;
  color: var(--textColor);
  line-height: 1.6;
  margin: 0 0 20px;
}

.news-article_body {
  font-size: var(--font-16);
  font-weight: 500;
  color: var(--textColor);
  line-height: 1.6;
  margin-bottom: 40px;
}

.news-article_body p {
  margin: 0;
}

.news-detail_img{
  margin-top:20px;
}

.news-calendar_container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.news-calendar_wrapper {
  width: 100%;
  max-width: 320px;
}

.news-calendar_title {
  text-align: center;
  font-size: var(--font-20);
  font-weight: 700;
  color: var(--textColor);
  margin: 0 0 15px;
  letter-spacing: 0.1em;
}

.news-calendar_title span {
  font-size: var(--font-16);
  margin-left: 5px;
}

.news_headline_pics{
  margin-top:20px;
}

.news-calendar_table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.news-calendar_table th,
.news-calendar_table td {
  width: calc(100% / 7);
  padding: 10px 0;
  font-size: var(--font-16);
  font-weight: 500;
  border: 1px solid #fff;
  /* セル間の白線 */
}

/* 曜日ヘッダー */
.news-calendar_table th {
  font-size: var(--font-14);
  font-weight: 700;
}

/* 普段の背景色 */
.news-calendar_table th,
.news-calendar_table td {
  background-color: #fff;
}

/* 日曜・休日の色 (ヘッダーとセル共通) */
.news-calendar_table th.is-holiday,
.news-calendar_table td.is-holiday {
  background-color: #ffe8e8;
  color: var(--textColor);
}

/* 土曜の色 */
.news-calendar_table th.is-saturday,
.news-calendar_table td.is-saturday {
  background-color: #e8f0ff;
  color: var(--textColor);
}

/* 空のセルの背景 */
.news-calendar_table td:empty {
  background-color: transparent;
}

/* レイアウト */
.news-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.news-sidebar {
  width: 200px;
  flex-shrink: 0;
}

.news-main {
  flex: 1;
  min-width: 0;
}

/* 左カラム（年度選択） */
.news-year-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--secondaryColor);
}

.news-year-item {
  border-bottom: 1px solid var(--secondaryColor);
}

.news-year-item:last-child {
  border-bottom: none;
}

.news-year-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--secondaryColor);
  font-weight: 700;
  font-size: var(--font-16);
  background-color: transparent;
  transition: background-color 0.2s, color 0.2s;
  position: relative;
}

.news-year-link::before {
  content: '';
  position: absolute;
  left: 20px;
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--secondaryColor);
  background-color: transparent;
}

.news-year-link:hover {
  background-color: #f1f8ff;
}

.news-year-item.is-active .news-year-link {
  background-color: var(--secondaryColor);
  color: var(--background);
}

.news-year-item.is-active .news-year-link::before {
  border-color: var(--background);
  background-color: var(--background);
  box-shadow: inset 0 0 0 3px var(--secondaryColor);
}

/* 右カラム トップ見出し */
.news-main-header {
  background-color: var(--secondaryColor);
  color: var(--background);
  padding: 15px 20px;
  /* margin-bottom: 40px; */
}

.news-main-title {
  margin: 0;
  font-size: var(--font-32);
  font-weight: 700;
  line-height: 1.2;
}

.submenu_wrapper{
  display:flex;
  gap:30px;
}
.news-submenu{
  font-size: 18px;
  width: 100%;
  height: 100%;
  max-width: 160px;

  li{
    color:var(--primaryColor);
    border:1px solid var(--primaryColor);
    padding: 10px 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
  }
  li a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  li::before{
    /* content:url(/img/usr/default/QL9-I-bTj-3.svg);*/
    display: flex;
    align-items: center;
    line-height: 0;
  }
  ul:not(:has(.current)){
    li:first-child{
      background-color:var(--secondaryColor);
      color:white;
    }
    li:first-child::before{
      /* content:url(/img/usr/default/VVK-D-SUd-4.svg); */
      display: flex;
      align-items: center;
      line-height: 0;
    }
  }
  .current{
    background-color:var(--secondaryColor);
    color:#FFF;
  }
  .current::before,
  .infield::before{
    content:url(/img/usr/default/VVK-D-SUd-4.svg);
    display: flex;
    align-items: center;
    line-height: 0;
  }
}
.calender_box{
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction:row;
  gap:20px;
  img{
    width:40%;
    height:auto;
  }
}

.news_satori_logo{
  display:flex;
  justify-content: center;
  align-items: center;
}


/* レスポンシブ */
@media screen and (max-width: 768px) {
  .news-layout {
    flex-direction: column;
  }

  .submenu_wrapper{
    display:block;
  }
  .news-detail_img img{
    margin:0 auto;
  }
  .news-submenu{
    max-width:none;
    margin-bottom:20px;
    width:50%;
    ul{
      li{
        flex:1 45%;
      }
    }
  }
  .news-sidebar {
    width: 100%;
  }

  .news-calendar_container {
    gap: 30px;
    flex-direction: column;
    align-items: center;
  }

  .news-calendar_wrapper {
    max-width: 100%;
  }
  .calender_box{
    flex-direction: column;
    img{
        width:60%;
    }
  }
}

.news-submenu .selected-label {
  padding: 10px 30px 10px 10px;
  cursor: pointer;
  position: relative;
  background: var(--primaryColor);
  user-select: none;
  color: #FFF;
  border: 1px solid var(--primaryColor);
  border-bottom: 1px solid #FFF;
  text-align: right;
}


.news-submenu .selected-label::after {
  content: "▼";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.news-submenu.open .selected-label::after {
  transform: translateY(-50%) rotate(180deg);
}

.news-submenu ul.level1 {
  margin: 0;
  padding: 0;
  list-style: none;
  border: none !important;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  background: #fff;
}

.news-submenu.open ul.level1 {
  max-height: 500px; /* 必要に応じて調整 */
}

.news-submenu ul.level1 li {
  padding: 8px 10px;
}

.news-submenu ul.level1 li:hover{
  background-color: var(--primaryColor);
  color: #FFF;
}

.news-submenu ul.level1:has(li:hover) li:not(:hover) {
  color:var(--primaryColor);
  background-color: #FFF;
}