@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,700;1,700&display=swap');

br.sp {
  display: inline;
}

br.pc {
  display: none;
}

.p-news {
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  padding: 40px 16px;
}

.p-news__inner {
  margin: auto;
}

.p-news__category {
  text-align: center;
}

.p-news__category li {
  display: inline-block;
  margin-bottom: 10px;
}

.p-news__category a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.05em;
  background-color: #fff;
  border: 1px solid #52b7f6;
  border-radius: 30px;
  -webkit-box-shadow: 2px 2px 8px rgba(92, 147, 171, 0.1);
  box-shadow: 2px 2px 8px rgba(92, 147, 171, 0.1);
}

.p-news__category a.is-active {
  color: #fff;
  background-color: #52b7f6;
}

.p-news__category a.important {
  color: #52b7f6;
  border-color: #52b7f6;
}

.p-news__category a.important:hover {
  color: #fff;
  background-color: #52b7f6;
}

.p-news__category a.event {
  color: #2740ae;
  border-color: #2740ae;
}

.p-news__category a.event:hover {
  color: #fff;
  background-color: #2740ae;
}

.p-news__category a.school {
  color: #037171;
  border-color: #037171;
}

.p-news__category a.school:hover {
  color: #fff;
  background-color: #037171;
}

.p-news__category a.use {
  color: #ff904d;
  border-color: #ff904d;
}

.p-news__category a.use:hover {
  color: #fff;
  background-color: #ff904d;
}

.p-news__list {
  margin-top: 10px;
}

.p-news__list a {
  display: block;
  padding: 14px 0;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  border-bottom: 1px dotted #282828;
}

.p-news__list a:first-child {
  border-top: 1px dotted #282828;
}

.p-news__list p {
  margin-top: 10px;
}

.p-news__list__labels {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.p-news__list__label {
  padding: 6px 16px;
  margin-left: 10px;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  color: #52b7f6;
  letter-spacing: 0.03em;
  border: solid 1px #52b7f6;
  border-radius: 4px;
}

.p-news__list__label.important {
  color: #52b7f6;
  border-color: #52b7f6;
}

.p-news__list__label.event {
  color: #2740ae;
  border-color: #2740ae;
}

.p-news__list__label.school {
  color: #037171;
  border-color: #037171;
}

.p-news__list__label.use {
  color: #ff904d;
  border-color: #ff904d;
}

.p-news-detail {
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  padding: 40px 16px;
}

.p-news-detail__inner {
  margin: auto;
}

.p-news-detail img {
  height: auto;
  margin-top: 30px;
  margin-bottom: 30px;
}

.p-news-detail h3 {
  margin-top: 40px;
  margin-bottom: 30px;
  font-size: 28.8px;
  font-size: 1.8rem;
  line-height: 1.5;
  color: #52b7f6;
  letter-spacing: 0.08em;
}

.p-news-detail h4 {
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 25.6px;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #52b7f6;
  letter-spacing: 0.06em;
}

.p-news-detail p,
.p-news-detail a {
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 22.4px;
  font-size: 1.4rem;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.p-news-detail a {
  display: block;
  margin-top: 40px;
  margin-bottom: 40px;
  text-decoration: underline;
}

.p-news-detail a[target='_blank']::after {
  position: relative;
  top: 2px;
  z-index: 0;
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 10px;
  content: '';
  background-image: url('../../assets/img/common/icon_outlink.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
}

.p-news-detail blockquote {
  padding: 20px;
  margin: 30px 0;
  background-color: #ddd;
}

.p-news-detail blockquote p {
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  padding: 6px 0 6px 20px;
  margin: 0;
  color: #032f40;
}

.p-news-detail blockquote p::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  width: 1px;
  height: 100%;
  content: '';
  background-color: #cecece;
}

.p-news-detail ol {
  padding: 0;
  margin-top: 40px;
  margin-bottom: 40px;
  counter-reset: item;
}

.p-news-detail ol li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 22.4px;
  font-size: 1.4rem;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.p-news-detail ol li::before {
  padding-right: 10px;
  font-weight: bold;
  color: #52b7f6;
  content: counter(item) '.';
  counter-increment: item;
}

.p-news-detail ul {
  margin-top: 40px;
  margin-bottom: 40px;
}

.p-news-detail ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 22.4px;
  font-size: 1.4rem;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.p-news-detail ul li::before {
  position: relative;
  top: 10px;
  display: inline-block;
  width: 0;
  height: 0;
  padding: 3px;
  margin-right: 10px;
  content: '';
  background-color: #52b7f6;
  border-radius: 50%;
}

.p-news-detail figcaption {
  font-size: 19.2px;
  font-size: 1.2rem;
  line-height: 2;
  color: #ccc;
  letter-spacing: 0em;
}

.p-news-detail .p-news-detail__btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin: 60px auto 0;
  text-decoration: none;
}

.p-news-detail .p-news-detail__btn svg {
  right: auto;
  left: 20px;
  -webkit-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

.p-news-detail__label {
  display: inline-block;
  padding: 8px 12px;
  font-size: 22.4px;
  font-size: 1.4rem;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.06em;
  vertical-align: middle;
  border: solid 1px;
  border-radius: 18px;
  -webkit-transition: background-color 0.3s, color 0.3s;
  transition: background-color 0.3s, color 0.3s;
}

.p-news-detail__label.important {
  color: #52b7f6;
  border-color: #52b7f6;
}

.p-news-detail__label.event {
  color: #2740ae;
  border-color: #2740ae;
}

.p-news-detail__label.school {
  color: #037171;
  border-color: #037171;
}

.p-news-detail__label.use {
  color: #ff904d;
  border-color: #ff904d;
}

.p-news-detail__date {
  display: inline-block;
  margin-left: 15px;
  font-size: 22.4px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #282828;
  letter-spacing: 0.08em;
  vertical-align: middle;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

.p-news-detail__title {
  display: block;
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 35.2px;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

@media (prefers-color-scheme: light) {
  :root {
    --color-base: #ffffff;
    --color-bg: #3b3f43;
    --color-main: #032f40;
    --color-sub: #011c26;
    --color-point: #5c7073;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-base: #000;
    --color-bg: #3b3f43;
    --color-main: #287496;
    --color-sub: #37a1d0;
    --color-point: #d0b737;
  }
}

@media (min-width: 1024px) {
  br.sp {
    display: none;
  }
  br.pc {
    display: inline;
  }
}

@media only screen and (min-width: 1024px) {
  .p-news {
    padding: 80px 60px 60px;
  }
  .p-news__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 1320px;
  }
  .p-news__category {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 300px;
    padding-right: 40px;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }
  .p-news__category a {
    padding: 10px 20px;
    font-size: 14px;
  }
  .p-news__category a:hover {
    color: #fff;
    background-color: #52b7f6;
  }
  .p-news__list {
    width: 1020px;
    margin-top: 0;
  }
  .p-news__list a {
    padding: 20px;
    font-size: 16px;
  }
  .p-news-detail {
    padding: 80px 90px 80px;
  }
  .p-news-detail__inner {
    max-width: 780px;
  }
  .p-news-detail img {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .p-news-detail h3 {
    margin-top: 60px;
    margin-bottom: 40px;
    font-size: 2rem;
  }
  .p-news-detail h4 {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .p-news-detail p,
  .p-news-detail a {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .p-news-detail a:hover {
    text-decoration: none;
  }
  .p-news-detail blockquote {
    padding: 40px;
    margin: 40px 0;
  }
  .p-news-detail blockquote p {
    padding: 6px 0 6px 30px;
  }
  .p-news-detail__title {
    margin-top: 30px;
    margin-bottom: 40px;
    font-size: 3rem;
  }
}
