@charset "utf-8";

@media print, screen {
  #news {
    background-color: var(--grayf2-color);
  }
  #news .inner {
    margin: 0 auto;
    padding: 90px 0 0;
    width: 100%;
    max-width: 1480px;
  }
  #news .inner .title__area {
    margin: 0 auto;
    padding: 0 0 50px;
    width: 100%;
    max-width: 1280px;
    letter-spacing: 0.1em;
  }
  #news .inner .title__area .tit {
    font-size: 41px;
    font-weight: 700;
    line-height: 1;
  }
  #news .inner .title__area .tit span {
    margin-left: 22px;
    width: 100%;
    max-width: 62px;
  }
  #news .inner .news__tag {
    margin: 0 auto;
    width: 100%;
    max-width: 1280px;
    justify-content: left;
    gap: 10px;
  }
  #news .inner .news__tag li {
    width: 19.375%;
    max-width: 248px;
  }
  #news .inner .news__tag li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 63px;
    color: #777;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    background-color: var(--white);
    border-radius: 15px 15px 0 0;
  }
  #news .inner .news__tag li a.current,
  #news .inner .news__tag li a:hover {
    color: var(--black);
    background-color: var(--grayf3-color);
  }
  #news .inner .news__body {
    margin-bottom: 60px;
    padding: 45px 50px;
    width: 100%;
    background-color: var(--grayf3-color);
    box-sizing: border-box;
  }
  #news .inner .news__body dl {
    width: 100%;
  }
  #news .inner .news__body dl + dl {
    margin-top: 10px;
  }
  #news .inner .news__body dl a {
    align-items: center;
    padding: 25px 26px 25px 40px;
    width: 100%;
    background-color: var(--white);
    border-radius: 10px;
    box-sizing: border-box;
  }
  #news .inner .news__body dl a dt {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 22.3%;
  }
  #news .inner .news__body dl a dt .date {
    color: var(--main-color);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
  }
  #news .inner .news__body dl a dt .cate {
    padding: 10px 0;
    width: 62%;
    max-width: 184px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    border: 1px solid #b7b7b7;
  }
  #news .inner .news__body dl a dd {
    width: 76%;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.1em;
    background-image: url(../../images/src/news/arrow.svg);
    background-repeat: no-repeat;
    background-position: right center;
  }
  #news .inner .news__body dl a:hover dd {
    text-decoration: underline;
  }
  #news .wp-pagenavi {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 120px;
  }
  #news .under__menu {
    gap: 120px 0;
    padding: 80px 0 120px;
  }
  #news .under__menu li:last-of-type {
    margin: 0 auto;
  }
}
@media screen and (max-width: 1600px) {
  #news .inner {
    padding: 5.625vw 0 0;
    width: 92.5%;
  }
  #news .inner .title__area {
    padding: 0 0 3.125vw;
    width: 80%;
  }
  #news .inner .title__area .tit {
    font-size: 2.562vw;
  }
  #news .inner .title__area .tit span {
    margin-left: 1.375vw;
    max-width: 3.875vw;
  }
  #news .inner .news__tag {
    width: 80%;
    justify-content: left;
    gap: 10px;
  }
  #news .inner .news__tag li {
    width: 19.375%;
    max-width: 248px;
  }
  #news .inner .news__tag li a {
    height: 3.937vw;
    font-size: 1vw;
  }
  #news .inner .news__body {
    margin-bottom: 3.75vw;
    padding: 2.812vw 3.125vw;
  }
  #news .inner .news__body dl + dl {
    margin-top: 0.625vw;
  }
  #news .inner .news__body dl a {
    padding: 1.562vw 1.625vw 1.562vw 2.5vw;
  }
  #news .inner .news__body dl a dt .date {
    font-size: 0.875vw;
  }
  #news .inner .news__body dl a dt .cate {
    padding: 10px 0;
    font-size: 0.875vw;
  }
  #news .inner .news__body dl a dd {
    font-size: 0.875vw;
    background-size: 2.25vw auto;
  }
  #news .wp-pagenavi {
    margin-bottom: 7.5vw;
  }
  #search .under__menu {
    gap: 9.23vw 0;
    padding: 6.153vw 0 9.23vw;
  }
}
@media screen and (max-width: 768px) {
  #news .inner {
    padding: 15.7vw 0 0;
    width: 100%;
    max-width: inherit;
  }
  #news .inner .title__area {
    padding: 0 0 10.145vw;
    max-width: inherit;
    text-align: center;
  }
  #news .inner .title__area .tit {
    font-size: 5.797vw;
  }
  #news .inner .title__area .tit span {
    margin-left: 2.657vw;
    max-width: 8.212vw;
  }
  #news .inner .sp_box {
    width: 100%;
    overflow-x: scroll;
  }
  #news .inner .news__tag {
    width: 820px;
  }
  #news .inner .news__tag li a {
    height: 10.628vw;
    font-size: 3.14vw;
  }
  #news .inner .news__body {
    margin-bottom: 9.661vw;
    padding: 3.623vw 5vw 5vw;
  }
  #news .inner .news__body dl + dl {
    margin-top: 3.623vw;
  }
  #news .inner .news__body dl a {
    padding: 4.83vw 3.623vw;
  }
  #news .inner .news__body dl a dt {
    justify-content: flex-start;
    margin-bottom: 4vw;
    width: 100%;
  }
  #news .inner .news__body dl a dt .date {
    font-size: 3.381vw;
  }
  #news .inner .news__body dl a dt .cate {
    margin-left: 9.6vw;
    padding: 2vw 0;
    max-width: 36.231vw;
    font-size: 3.14vw;
  }
  #news .inner .news__body dl a dd {
    padding: 0 10vw 0 0;
    width: 100%;
    font-size: 3.381vw;
    background-size: 6.763vw auto;
  }
  #news .inner .news__body dl a:hover dd {
    text-decoration: underline;
  }
  #news .wp-pagenavi {
    margin-bottom: 19.323vw;
  }
  #news .under__menu {
    gap: 0;
    padding: 10.87vw 0 19.323vw;
  }
  #news .under__menu li:last-of-type {
    margin-top: 3.623vw;
  }
}

/* 詳細ページ */
@media print, screen {
  #news .news__inner {
    margin: 40px auto 80px;
    padding: 80px;
    width: 100%;
    max-width: 1000px;
    background-color: var(--white);
    border-radius: 10px;
    box-sizing: border-box;
  }
  .wysiwyg {
  }
  .wysiwyg h1 {
    margin-bottom: 20px;
    padding: 0 0 20px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.1em;
    border-bottom: 1px dashed #b7b7b7;
  }
  .wysiwyg h1 span {
    display: inline-block;
    margin-bottom: 40px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid #b7b7b7;
  }
  .wysiwyg h2 {
    display: inline-block;
    margin-bottom: 16px;
    padding: 10px 16px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    background-color: var(--grayf2-color);
  }
  .wysiwyg h3 {
    margin-bottom: 16px;
    padding: 0 0 0 32px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    background: url(../../images/src/news/ico01.svg) no-repeat left center;
    background-size: 15px auto;
  }
  .wysiwyg * + h3 {
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    background: none;
    padding: 0;
  }
  .wysiwyg h4 {
    margin-bottom: 16px;
    padding: 0 0 0 29px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    background: url(../../images/src/news/ico02.svg) no-repeat left center;
    background-size: 12px auto;
  }
  .wysiwyg * + h4 {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    background: none;
    padding: 0;
  }
  .wysiwyg h5 {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    border-bottom: 2px solid #000;
  }
  .wysiwyg h6 {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
  }
  .wysiwyg .date {
    margin-bottom: 40px;
    color: var(--main-color);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: right;
  }
  .wysiwyg p {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.77;
  }
  .wysiwyg p img {
    margin-bottom: 10px;
    width: auto;
    max-width: 100%;
  }
  .wysiwyg p small {
    color: #777;
    font-size: 14px;
    line-height: 1.5;
  }
  #news .btn__back {
    margin: 0 auto 40px;
    width: 100%;
    max-width: 370px;
  }
  #news .btn__back a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 79px;
    background-color: var(--grayf1-color);
    border: 1px solid var(--grayf1-color);
    border-radius: 10px;
  }
  #news .btn__back a span {
    padding: 5px 0 5px 57px;
    color: var(--white);
    font-size: 16px;
    background: url(../../images/src/news/arrow02.svg) no-repeat left center;
    background-size: 37px auto;
  }
  #news .btn__back a:hover {
    background-color: var(--white);
  }
  #news .btn__back a:hover span {
    color: var(--black);
    background-image: url(../../images/src/news/arrow03.svg);
  }
}
@media screen and (max-width: 1200px) {
  #news .news__inner {
    margin: 3.333vw auto 6.666vw;
    padding: 6.666vw;
    width: 84%;
  }
}
@media screen and (max-width: 768px) {
  #news .news__inner {
    margin: 9.42vw auto 0;
    padding: 9.661vw 6vw;
    width: 94.202%;
    max-width: inherit;
  }
  .wysiwyg h1 {
    margin-bottom: 4.83vw;
    padding: 0 0 4.83vw;
    font-size: 5.314vw;
  }
  .wysiwyg h1 span {
    margin-bottom: 9.661vw;
    padding: 2vw 4.468vw;
    font-size: 3.381vw;
  }
  .wysiwyg h2 {
    margin-bottom: 3.864vw;
    padding: 2.415vw 3.864vw;
    font-size: 5.314vw;
  }
  .wysiwyg h3 {
    margin-bottom: 3.864vw;
    padding: 0 0 0 6.521vw;
    font-size: 5.314vw;
    background-position: left 2vw;
    background-size: 3.623vw auto;
  }
  .wysiwyg * + h3 {
    margin-bottom: 3.864vw;
    font-size: 5.314vw;
    background: none;
    padding: 0;
  }
  .wysiwyg h4 {
    margin-bottom: 3.864vw;
    padding: 0 0 0 5.797vw;
    font-size: 4.83vw;
    background-position: left 2vw;
    background-size: 2.898vw auto;
  }
  .wysiwyg * + h4 {
    margin-bottom: 3.864vw;
    font-size: 4.83vw;
    background: none;
    padding: 0;
  }
  .wysiwyg h5 {
    margin-bottom: 3.864vw;
    font-size: 4.347vw;
  }
  .wysiwyg h6 {
    margin-bottom: 3.864vw;
    font-size: 4.347vw;
  }
  .wysiwyg .date {
    margin-bottom: 9.661vw;
    font-size: 3.381vw;
  }
  .wysiwyg p {
    margin-bottom: 9.661vw;
    font-size: 4.347vw;
  }
  .wysiwyg p img {
    margin-bottom: 2.415vw;
    width: 100%;
  }
  .wysiwyg p small {
    font-size: 3.381vw;
  }
  #news .btn__back {
    margin: 0 auto 9.661vw;
    width: 89.37%;
    max-width: inherit;
  }
  #news .btn__back a {
    height: 19vw;
  }
  #news .btn__back a span {
    padding: 0.1vw 0 0.1vw 13.768vw;
    font-size: 3.864vw;
    background-size: 8.937vw auto;
  }
}
