/* 本体のお知らせ（/blog/ と記事ページ。2026年リニューアル）。共通部品は base.css。
   テーマの body.archive・body.single（見出し帯の背景写真）だけ使い、旧 .archive・.single・.c-post の組み方は使わない。 */

/* ページタイトル（一覧は h1、記事は記事名を h1 にするので p）。テーマは h2＋div で組んでいた */
.pageTitle__title {
  margin: 0;
}

.pageTitle__title__main,
.pageTitle__title__sub {
  display: block;
}

/* テーマは本文の下に白い余白を付けるが、最後の欄（水色）とフッターの間に白い帯が出るので外す */
body.archive main.mainContents,
body.single main.mainContents {
  padding-bottom: 0;
}

.rt-sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* 分類のラベル（お知らせ） */
.rt-nwcat {
  border: 1px solid var(--rt-navy);
  border-radius: 40px;
  color: var(--rt-navy);
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.6;
  padding: 1px 12px;
}

.rt-nwmeta {
  align-items: center;
  color: #666666;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px 14px;
}

/* ---------- 一覧 ---------- */
.rt-nwpage {
  margin: 0 auto;
  max-width: 1000px;
  padding: 40px 15px 80px;
}

.rt-nwlist {
  border-top: 1px solid var(--rt-line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.rt-nwlist > li {
  border-bottom: 1px solid var(--rt-line);
}

.rt-nwitem {
  color: var(--rt-text);
  display: grid;
  gap: 30px;
  grid-template-columns: 260px minmax(0, 1fr);
  padding: 30px 46px 30px 0;
  position: relative;
  text-decoration: none;
}

.rt-nwitem::after {
  border-right: solid 2px var(--rt-gold);
  border-top: solid 2px var(--rt-gold);
  content: '';
  height: 9px;
  margin-top: -5px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: rotate(45deg);
  transition: right .3s;
  width: 9px;
}

.rt-nwitem:hover::after {
  right: 10px;
}

.rt-nwitem__thumb {
  aspect-ratio: 560 / 384;
  border: 1px solid var(--rt-line);
  border-radius: 4px;
  display: block;
  overflow: hidden;
}

.rt-nwitem__thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
  width: 100%;
}

.rt-nwitem:hover .rt-nwitem__thumb img {
  transform: scale(1.05);
}

.rt-nwitem__body {
  align-self: center;
  min-width: 0;
}

.rt-nwitem__title {
  color: var(--rt-navy);
  font-family: var(--rt-mincho);
  font-size: 21px;
  letter-spacing: 1px;
  line-height: 1.6;
  margin: 10px 0 8px;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.rt-nwitem:hover .rt-nwitem__title {
  text-decoration: underline;
}

.rt-nwitem__excerpt {
  color: #444444;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

@media print, screen and (max-width: 768px) {
  .rt-nwitem {
    gap: 16px;
    grid-template-columns: 1fr;
    padding: 24px 0 26px;
  }
  .rt-nwitem::after {
    display: none;
  }
  .rt-nwitem__thumb {
    max-width: 420px;
  }
}

@media print, screen and (max-width: 480px) {
  .rt-nwpage {
    padding: 28px 15px 60px;
  }
  .rt-nwitem__title {
    font-size: 19px;
    letter-spacing: 0;
  }
  .rt-nwitem__excerpt {
    font-size: 14px;
  }
}

/* ---------- 記事 ---------- */
.rt-nwarticle {
  margin: 0 auto;
  max-width: 890px;
  padding: 40px 15px 80px;
}

.rt-nwarticle__head {
  border-bottom: 1px solid var(--rt-line);
  margin: 0 0 30px;
  padding: 0 0 22px;
}

.rt-nwarticle__title {
  color: var(--rt-navy);
  font-family: var(--rt-mincho);
  font-size: 30px;
  letter-spacing: 1px;
  line-height: 1.5;
  margin: 12px 0 0;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.rt-nwarticle__body p {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 1em;
}

.rt-nwarticle__body a {
  color: var(--rt-navy);
  font-weight: bold;
  overflow-wrap: anywhere;
}

.rt-nwarticle__body h2 {
  color: var(--rt-navy);
  font-family: var(--rt-mincho);
  font-size: 22px;
  letter-spacing: 1px;
  line-height: 1.5;
  margin: 36px 0 14px;
}

.rt-nwarticle__body ul {
  margin: 0 0 24px;
  padding-left: 1.4em;
}

.rt-nwarticle__body li {
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 10px;
}

/* 記事で紹介したサービス */
.rt-nwsvc {
  align-items: center;
  background-color: #ffffff;
  border: 1px solid var(--rt-line);
  border-radius: 6px;
  border-top: 3px solid var(--rt-gold);
  display: grid;
  gap: 30px;
  grid-template-columns: 300px minmax(0, 1fr);
  margin: 36px 0 0;
  padding: 28px 30px 30px;
}

.rt-nwsvc__image {
  aspect-ratio: 560 / 384;
  border: 1px solid var(--rt-line);
  border-radius: 4px;
  display: block;
  overflow: hidden;
}

.rt-nwsvc__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.rt-nwsvc__label {
  color: var(--rt-gold);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 0 0 2px;
}

.rt-nwsvc__name {
  color: var(--rt-navy);
  font-family: var(--rt-mincho);
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1.4;
  margin: 0;
}

.rt-nwsvc__domain {
  color: #777777;
  font-size: 12px;
  letter-spacing: .5px;
  margin: 2px 0 12px;
}

.rt-nwsvc__catch {
  color: var(--rt-navy-ink);
  font-size: 15px;
  font-weight: bold;
  line-height: 1.6;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.rt-nwsvc__text {
  color: #444444;
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 20px;
}

.rt-nwsvc__btns {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.rt-nwsvc__btns .btn {
  font-size: 16px;
  padding: 16px 30px;
  width: 240px;
}

.rt-nwarticle__back {
  margin: 40px 0 0;
  text-align: center;
}

@media print, screen and (max-width: 768px) {
  .rt-nwsvc {
    gap: 20px;
    grid-template-columns: 1fr;
  }
  .rt-nwsvc__image {
    max-width: 420px;
  }
}

@media print, screen and (max-width: 480px) {
  .rt-nwarticle {
    padding: 28px 15px 60px;
  }
  .rt-nwarticle__title {
    font-size: 23px;
    letter-spacing: 0;
  }
  .rt-nwarticle__body p {
    font-size: 15px;
  }
  .rt-nwsvc {
    padding: 20px 16px 22px;
  }
  .rt-nwsvc__name {
    font-size: 21px;
  }
  .rt-nwsvc__btns .btn {
    width: 100%;
  }
}

/* ---------- あわせてご覧ください（一覧・記事の下） ---------- */
.rt-nwmore {
  background-color: var(--rt-pale);
  padding: 70px 0 80px;
}

.rt-nwlinks {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0 auto;
  max-width: 1000px;
  padding: 0;
}

.rt-nwlinks a {
  background-color: #ffffff;
  border: 1px solid var(--rt-line);
  border-radius: 6px;
  color: var(--rt-text);
  display: block;
  height: 100%;
  padding: 24px 48px 24px 24px;
  position: relative;
  text-decoration: none;
  transition: border-color .3s, box-shadow .3s;
}

.rt-nwlinks a::after {
  border-right: solid 2px var(--rt-gold);
  border-top: solid 2px var(--rt-gold);
  content: '';
  height: 8px;
  margin-top: -4px;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: rotate(45deg);
  transition: right .3s;
  width: 8px;
}

.rt-nwlinks a:hover,
.rt-nwlinks a:focus-visible {
  border-color: var(--rt-gold);
  box-shadow: 0 6px 20px rgba(23, 46, 94, 0.08);
}

.rt-nwlinks a:hover::after {
  right: 20px;
}

.rt-nwlinks__name {
  color: var(--rt-navy);
  display: block;
  font-family: var(--rt-mincho);
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1.5;
  margin-bottom: 4px;
}

.rt-nwlinks__text {
  color: #555555;
  display: block;
  font-size: 14px;
  line-height: 1.7;
}

@media print, screen and (max-width: 896px) {
  .rt-nwlinks {
    gap: 14px;
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

@media print, screen and (max-width: 480px) {
  .rt-nwmore {
    padding: 56px 0 60px;
  }
}
