/* --- body の設定を変更 --- */
body {
    position: relative;
  font-family: source-han-sans-jp-variable, sans-serif;
  font-variation-settings: "wght" 400;
  background-color: #fff;
  color: #5f5045;
  overflow-x: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh; 
  min-height: 100dvh;
  margin: 0;
}

.main-content {
  position: relative;
  z-index: 10;
  background-color: #ffffff;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  flex: 1;
}

.menu-container {
  position: absolute;
  top: 80px;
  left: 15px;
  width: 20vw;
  max-width: 240px;
  min-width: 120px;
  bottom: 0; 
  pointer-events: none;
  z-index: 20;
}

.newsBox {
    max-width: 840%;
    width: 100%;
    /* min-height: 940px; */
    height: 100%;
    margin: 0 auto;
    padding: 0;
    /* background: url("../../images/news/news_bg.png") repeat-y;
  background-size: 100%;
  background-position: top; */
}

@media only screen and (max-width: 850px) {
    .newsBox {
        max-width: 90%;
        width: 100%;
        min-height: 100%;
        margin: 0 auto;
        padding: 0;
        /* background: #ffffff; */
    }
}

/*__________________________________________________

  news-box
  __________________________________________________*/

#js-list {
    max-width: 773px;
    width: 100%;
    margin: 0 auto;
}

.newsBox {
    scroll-margin-top: 80px;
}


.news-box {
    max-width: 100%;
    width: 100%;
    margin: 0 auto 15px auto;
    padding: 0;
}

.news-box-end {
    max-width: 100%;
    width: 100%;
    margin: 0 auto 15px auto;
    padding: 0;
}

.news-box {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 0 110px 0;
    /* text-align: justify; */
}

.news-box .listBox {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    margin: 0 0 1rem 0;
    padding: 0;
}

.news-box .listBox .new {
    padding: 0;
    font-family: source-han-sans-jp-variable, sans-serif;
    font-variation-settings: "wght" 350;
    font-style: normal;
    font-size: clamp(1.125rem, 0.758rem + 0.69vw, 1.75rem);
    /* 18-28 / 851-2300 */
    color: #58c9da;
    letter-spacing: 2px;
    line-height: 1.4;

}

.news-box .listBox .date {
    margin: 0;
    padding: 0;
    font-family: urw-din, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1rem, 0.706rem + 0.55vw, 1.5rem);
    /* 16-24 / 851-2300 */
    color: #5f5045;
    letter-spacing: 1px;
    text-align: left;
    line-height: 1.6;

}

.news-box .listBox .category {
    margin: 0;
    padding: 0;
    font-family: urw-din, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(1rem, 0.706rem + 0.55vw, 1.5rem);
    /* 16-24 / 851-2300 */
    color: #5f5045;
    letter-spacing: 1px;
    text-align: center;
    border-left: 1px solid #5f5045;
    border-right: 1px solid #5f5045;
    padding: 0 1rem 0;
    line-height: 1.6;
}

.news-box .titleBox {
    width: 100%;
    margin: 0;
    padding: 0;
}

.news-box .titleBox h3 {
    width: 100%;
    margin: 0 0 2rem 0;
    padding: 0;
    font-family: source-han-sans-jp-variable, sans-serif;
    font-variation-settings: "wght" 500;
    font-size: clamp(1.063rem, 0.929rem + 0.595vw, 1.375rem);
    font-feature-settings: palt;
    -webkit-font-feature-settings: "palt";
    color: #5f5045;
    line-height: 1.6;
    letter-spacing: 1px;
    /* text-align: justify; */
    text-justify: inter-ideograph;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.news-box .titleBox p.detail {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: source-han-sans-jp-variable, sans-serif;
    font-variation-settings: "wght" 350;
    /* font-size: clamp(0.875rem, 0.821rem + 0.238vw, 1rem); */
    /* 15-19 / 851-2300 */
    font-size: clamp(0.813rem, 0.759rem + 0.238vw, 0.938rem); /* 13px～15px（360px～1200px）*/
    font-feature-settings: palt;
    -webkit-font-feature-settings: "palt";
    color: #4c4c4c;
    line-height: 1.8;
    letter-spacing: 1px;
    text-align: left;
    text-justify: inter-ideograph;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.news-box .titleBox p.caution {
    width: 93%;
    margin: 5px 0;
    padding: 0;
    font-family: source-han-sans-jp-variable, sans-serif;
    font-variation-settings: "wght" 350;
    font-size: clamp(0.75rem, 0.696rem + 0.238vw, 0.875rem);
    color: #4c4c4c;
    text-align: left;
    text-indent: -1em;
    padding-left: 1em;
    line-height: 1.6;
}

p.detail span.caution {
    font-family: source-han-sans-jp-variable, sans-serif;
    font-variation-settings: "wght" 350;
    font-size: clamp(0.75rem, 0.696rem + 0.238vw, 0.875rem);
    color: #4c4c4c;
    text-align: left;
    line-height: 1.6;
}

.news-box .titleBox ul {
    padding: 0;
    margin-bottom: 0;
}

.news-box .titleBox li {
    list-style: none;
    margin: 5px 0 0 0;
    padding: 0;
    font-family: source-han-sans-jp-variable, sans-serif;
    font-variation-settings: "wght" 350;
    font-size: clamp(0.813rem, 0.702rem + 0.21vw, 1rem);
    /* 13-16 / 851-2300 */
    color: #4c4c4c;
    text-align: left;
    text-indent: -1em;
    padding-left: 1em;
    line-height: 1.6;
}

.news-box .titleBox li.circle {
    list-style: none;
    margin: 10px 0;
    padding: 0;
    font-family: source-han-sans-jp-variable, sans-serif;
    font-variation-settings: "wght" 350;
    font-size: clamp(0.938rem, 0.791rem + 0.28vw, 1.188rem);
    color: #4c4c4c;
    text-align: left;
    text-indent: -1em;
    padding-left: 1em;
    line-height: 1.6;
}

.news-box .titleBox li.event {
    list-style: none;
    margin: 10px 0;
    padding: 0;
    font-family: source-han-sans-jp-variable, sans-serif;
    font-variation-settings: "wght" 350;
    font-size: clamp(0.938rem, 0.791rem + 0.28vw, 1.188rem);
    color: #4c4c4c;
    text-align: left;
    text-indent: -1em;
    padding-left: 1em;
    line-height: 1.6;
}

.news-box a.web:link {
    background-color: transparent;
    color: #4c4c4c;
    text-decoration: underline;
}

.news-box a.web:visited {
    background-color: transparent;
    color: #4c4c4c;
    text-decoration: none;
}

.news-box a.web:active {
    background-color: transparent;
    color: #4c4c4c;
    text-decoration: none;
}

.news-box a.web:hover {
    background-color: transparent;
    color: #4c4c4c;
    text-decoration: none;
}

.news-box a.info:link {
    background-color: transparent;
    color: #4c4c4c;
    text-decoration: underline;
}

.news-box a.info:visited {
    background-color: transparent;
    color: #4c4c4c;
    text-decoration: none;
}

.news-box a.info:active {
    background-color: transparent;
    color: #4c4c4c;
    text-decoration: none;
}

.news-box a.info:hover {
    background-color: transparent;
    color: #4c4c4c;
    text-decoration: none;
}

@media (max-width:980px) {
    .news-box {
        max-width: 84%;
    }
}

@media only screen and (max-width: 850px) {
    .news-box {
        max-width: 84%;
        width: 100%;
        margin: 0 8% 5em 8%;
        padding: 0 0 5em;
        border-bottom: 1px solid rgba(95, 80, 69, 0.2);
    }

    .news-box-end {
        max-width: 84%;
        width: 100%;
        margin: 0 8% 35px 8%;
        padding: 0 0 35px;
        border-bottom: none;
    }

    .news-box {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        text-align: justify;
    }

    .news-box .listBox {
        display: flex;
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
        margin: 0 0 15px 0;
        padding: 0;
    }

    .news-box .listBox .new {
        padding: 0;
        font-family: source-han-sans-jp-variable, sans-serif;
        font-variation-settings: "wght" 350;
        font-style: normal;
        /* font-size: calc(100vw * 23 / 850); */
        color: #58c9da;
        letter-spacing: 2px;
    }

    .news-box .listBox .date {
    }

    .news-box .listBox .category {
    }

    .news-box .titleBox {
        clear: both;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .news-box .titleBox h3 {
        width: 100%;
        margin: 0 0 2rem 0;
        padding: 0;
        font-family: source-han-sans-jp-variable, sans-serif;
        font-variation-settings: "wght" 350;
        font-feature-settings: palt;
        -webkit-font-feature-settings: "palt";
        /* color: #459094; */
        color: #00787d;
        line-height: 1.5;
        letter-spacing: 1px;
        text-align: left;
    }

    .news-box .titleBox p.detail {
        width: 100%;
        margin: 0;
        padding: 0;
        font-family: source-han-sans-jp-variable, sans-serif;
        font-variation-settings: "wght" 350;
        font-feature-settings: palt;
        -webkit-font-feature-settings: "palt";
        color: #4c4c4c;
        line-height: 1.8;
        letter-spacing: 1px;
        text-align: left;
        text-justify: inter-ideograph;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .news-box .titleBox p.caution {
        width: 93%;
        margin: 5px 0;
        padding: 0;
        font-family: source-han-sans-jp-variable, sans-serif;
        font-variation-settings: "wght" 350;
        /* font-size: 13px; */
        color: #4c4c4c;
        text-align: left;
        text-indent: -1em;
        padding-left: 1em;
        line-height: 1.6;
    }

    .news-box .titleBox ul {
        padding: 0;
        margin-bottom: 0;
    }

    .news-box .titleBox li {
        list-style: none;
        margin: 5px 0 0 0;
        padding: 0;
        font-family: source-han-sans-jp-variable, sans-serif;
        font-variation-settings: "wght" 350;
        /* font-size: calc(100vw * 16 / 850); */
        color: #4c4c4c;
        text-align: left;
        text-indent: -1em;
        padding-left: 1em;
        line-height: 1.6;
    }


    .news-box a.web:link {
        background: linear-gradient(transparent 60%, #d3d3d3 30%);
        display: inline-block;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box a.web:visited {
        background-color: transparent;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box a.web:active {
        background-color: transparent;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box a.web:hover {
        background-color: transparent;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box a.info:link {
        background: linear-gradient(transparent 60%, #d3d3d3 30%);
        display: inline-block;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box a.info:visited {
        background-color: transparent;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box a.info:active {
        background-color: transparent;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box a.info:hover {
        background-color: transparent;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box .titleBox li.event {
        /* font-size: calc(100vw * 18 / 850); */
    }


}

@media only screen and (max-width: 500px) {
    .news-box {
        max-width: 100%;
        width: 100%;
        margin: 0 auto 35px;
        padding: 0 0 35px;
        border-bottom: 1px solid rgba(95, 80, 69, 0.2);
    }

    .news-box-end {
        max-width: 84%;
        width: 100%;
        margin: 0 8% 35px 8%;
        padding: 0 0 35px;
        border-bottom: none;
    }


    .news-box .listBox {
        display: flex;
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
        margin: 0 0 15px 0;
        padding: 0;
    }

    .news-box .listBox .new {
        padding: 0;
        font-family: source-han-sans-jp-variable, sans-serif;
        font-variation-settings: "wght" 350;
        font-style: normal;
        /* font-size: calc(100vw * 32 / 850); */
        color: #58c9da;
        letter-spacing: 2px;
    }

    .news-box .listBox .date {
    }

    .news-box .listBox .category {
    }

    .news-box .titleBox {
        clear: both;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .news-box .titleBox h3 {
        width: 100%;
        margin: 0 0 2rem 0;
        padding: 0;
        font-family: source-han-serif-jp-variable, sans-serif;
        font-variation-settings: "wght" 400;
        /* font-size: calc(100vw * 37 / 850); */
        font-feature-settings: palt;
        -webkit-font-feature-settings: "palt";
        /* color: #459094; */
        color: #00787d;
        line-height: 1.5;
        letter-spacing: 1px;
        text-align: left;
    }

    .news-box .titleBox p.detail {
        width: 100%;
        margin: 0;
        padding: 0;
        font-family: source-han-sans-jp-variable, sans-serif;
        font-variation-settings: "wght" 350;
        /* font-size: calc(100vw * 30 / 850); */
        font-feature-settings: palt;
        -webkit-font-feature-settings: "palt";
        color: #4c4c4c;
        line-height: 1.6;
        letter-spacing: 1px;
        text-align: left;
        text-justify: inter-ideograph;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-all;
    }

    .news-box .titleBox p.caution {
        width: 93%;
        margin: 5px 0;
        padding: 0;
        font-family: source-han-sans-jp-variable, sans-serif;
        font-variation-settings: "wght" 350;
        /* font-size: calc(100vw * 28 / 850); */
        color: #4c4c4c;
        text-align: left;
        text-indent: -1em;
        padding-left: 1em;
        line-height: 1.6;
    }

    .news-box .titleBox ul {
        padding: 0;
        margin-bottom: 0;
    }

    .news-box .titleBox li {
        list-style: none;
        margin: 5px 0 0 0;
        padding: 0;
        font-family: source-han-sans-jp-variable, sans-serif;
        font-variation-settings: "wght" 350;
        /* font-size: calc(100vw * 25 / 850); */
        color: #4c4c4c;
        text-align: left;
        text-indent: -1em;
        padding-left: 1em;
        line-height: 1.6;
    }


    .news-box a.web:link {
        background: linear-gradient(transparent 60%, #d3d3d3 30%);
        /* display: inline-block; */
        display: inline;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box a.web:visited {
        background-color: transparent;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box a.web:active {
        background-color: transparent;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box a.web:hover {
        background-color: transparent;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box a.info:link {
        background: linear-gradient(transparent 60%, #d3d3d3 30%);
        display: inline-block;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box a.info:visited {
        background-color: transparent;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box a.info:active {
        background-color: transparent;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box a.info:hover {
        background-color: transparent;
        color: #4c4c4c;
        text-decoration: none;
    }

    .news-box .titleBox li.event {
        /* font-size: calc(100vw * 30 / 850); */
    }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 40px 0;
    gap: 25px;
}

.pagination button {
    border: none;
    background: none;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.2s ease;
    font-weight: normal;
}

.pagination button:hover:not(:disabled) {
    color: #4ca6a6;
}

.pagination button.active {
    color: #4ca6a6;
    font-weight: normal;
}

.pagination button:disabled {
    color: #ccc;
    cursor: not-allowed;
    display: none;
}

