@charset "UTF-8";

:root {
  color-scheme: only light;
}

html {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  background: #ffffff;
}

body {
  min-width: 0;
  margin: 0;
  padding: 0 0 2.4rem;
  overflow-x: hidden;
  color: #39342a;
  background: #ffffff;
  font-family: YakuHanJP, "Noto Sans JP", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-weight: 400;
  letter-spacing: 0.05rem;
  overflow-wrap: anywhere;
}

.newsbox {
  display: block;
  width: 100%;
  margin: 0 0 3rem;
  padding: 0 0 3rem;
  border-bottom: 1px solid #cac8bc;
  background: #ffffff;
}

.news0 {
  display: grid;
  grid-template-columns: 8em minmax(0, 1fr);
  align-items: center;
  margin: 0 0 10px;
  gap: 1rem;
}

.news1,
.news2 {
  margin: 0;
}

.news1 {
  color: #2e2c76;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
}

.news2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.news2 span {
  display: inline-block;
  min-width: 0;
  padding: 6px 15px;
  border-radius: 30px;
  background: #223278;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

/* WordPressのカテゴリースラッグに合わせてラベルの背景色を指定する。 */
.news2 span.category-news { /* お知らせ */
  background: #223278;
}

.news2 span.category-recruit { /* 求人情報 */
  background: #f29f2c;
}

.news2 span.category-updates { /* 更新情報 */
  background: #0198d6;
}

.news3 {
  width: 100%;
  margin: 0 0 1rem;
  color: #39342a;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.news3:empty {
  display: none;
}

.news4 {
  width: 100%;
  color: #39342a;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.05rem;
  line-height: 1.7;
}

.news4 p {
  margin: 0 0 1.2rem;
}

.news4 p:last-child {
  margin-bottom: 0;
}

.news4 img,
.news4 video,
.news4 iframe {
  max-width: 100%;
  height: auto;
}

.news4 table {
  max-width: 100%;
}

.news4 a {
  color: #2f789d;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* PCの新着表示幅720pxに達した時点でPC用の文字サイズへ切り替える。 */
@media screen and (min-width: 720px) {
  body {
    font-size: 1.6rem;
    line-height: 1.7;
  }
}

@media screen and (max-width: 719px) {
  body {
    padding-bottom: 1.8rem;
    font-size: 1.4rem;
    line-height: 1.8;
  }

  .newsbox {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .news0 {
    grid-template-columns: 8.5em minmax(0, 1fr);
  }

  .news3 {
    font-size: 2rem;
  }
}
