@charset "UTF-8";
/*
 * NEW'S VISION — WordPress 固有の追加スタイル。
 * 現行CSS（common/index/style/additional-style）は改変せず、ここで不足分のみ補う。
 */

main {
  display: block;
}

/* ---------- accessibility ---------- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus,
.skip-link:focus {
  background: #ffffff;
  color: #333333;
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 8px;
  top: 8px;
  padding: 12px 20px;
  width: auto;
  z-index: 100000;
  text-decoration: none;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #00bbcf;
  outline-offset: 2px;
}

/* ドロワーのチェックボックスをキーボード操作可能に（見た目は現行どおり） */
#nav-input.nav-unshown {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
#nav-input:focus-visible ~ #nav-open {
  outline: 2px solid #00bbcf;
  outline-offset: 2px;
}
#category_nav-content {
  visibility: hidden;
  transition: transform .3s ease-in-out, visibility 0s linear .3s;
}
#nav-input:checked ~ #category_nav-content {
  visibility: visible;
  transition: transform .3s ease-in-out, visibility 0s linear 0s;
}
#category_nav-content nav {
  display: block;
}

/* .list-mv フェードイン: JS無効・動きを減らす設定では最初から表示 */
html:not(.nv-js) .list-mv {
  opacity: 1;
  transform: none;
  -webkit-transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .list-mv {
    opacity: 1;
    transform: none;
    -webkit-transform: none;
    transition: none !important;
  }
}

/* サイドバー見出し（div → h2 化に伴うリセット） */
#sidebar h2.ranking_ttl,
#sidebar h2.new_article_ttl {
  font-size: 14px;
  line-height: inherit;
  margin: 0;
}
#sidebar h2.side_ttl {
  font-size: 14px;
  line-height: inherit;
  margin: 0 0 15px;
}

/* ---------- 記事 ---------- */
.nv-pr-label {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
  color: #878787;
  border: 1px solid #878787;
  border-radius: 2px;
  padding: 3px 5px 2px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.nv-article-category {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.3;
}
.nv-article-category a {
  display: inline-block;
  color: #ffffff;
  background: #00bbcf;
  border-radius: 3px;
  padding: 3px 8px;
  text-decoration: none;
}
.nv-article-category a:hover {
  opacity: 0.7;
}

.nv-adv-content {
  margin: 30px 0;
  padding: 15px 20px;
  border: 1px solid #cccccc;
  background: #fafafa;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.nv-adv-content p {
  text-indent: 0 !important;
}
.nv-adv-content img {
  max-width: 100%;
  height: auto;
}

.nv-source-credit {
  font-size: 13px;
  color: #878787;
  text-align: right;
  text-indent: 0 !important;
  margin: 20px 0;
}

.nv-legacy-related-links {
  margin: 20px 0 30px;
  padding-left: 1em;
}
.nv-legacy-related-links li {
  margin-bottom: 8px;
}

.nv-page-links {
  margin: 30px 0 40px;
}

.nv-tablepack {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}
.nv-tablepack table {
  border-collapse: collapse;
  min-width: 100%;
}
.nv-tablepack table:not([class]) th,
.nv-tablepack table:not([class]) td {
  border: 1px solid #cccccc;
  padding: 6px 10px;
}

/* 公式SNSフォロー（外部ウィジェットを使わずリンク化） */
.nv-follow-link {
  display: inline-block;
  margin-top: 4px;
  background: #ffffff;
  color: #333333 !important;
  font-size: 12px;
  line-height: 1.4;
  border-radius: 3px;
  padding: 3px 12px;
  text-decoration: none;
}
.nv-follow-link:hover {
  opacity: 0.8;
}

/* 本文の長いURL・埋め込み・画像がはみ出さないように */
.article-body,
#content.main_content {
  overflow-wrap: anywhere;
}
.article-body img,
.article-body video,
.article-body iframe,
.article-body embed,
.article-body object,
.nv-page-body img,
.nv-page-body iframe {
  max-width: 100%;
}
.article-body img,
.nv-page-body img {
  height: auto;
}
.article-body pre {
  overflow-x: auto;
  white-space: pre;
}
ul.tag_list li {
  max-width: 100%;
}
ul.tag_list li a {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* 画像なし */
.nv-noimage {
  display: block;
  width: 100%;
  min-height: 60px;
  background: #efefef;
}
.article_img .nv-noimage,
.category_thumb .nv-noimage,
.ranking_img .nv-noimage,
.new_article_img .nv-noimage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 0;
}
.article_img,
.new_article_img {
  position: relative;
}

/* 一覧の補足 */
.nv-archive-description {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.7;
}
.nv-no-posts {
  margin: 30px 0;
}

/* 検索フォーム */
.search-form {
  display: flex;
  max-width: 480px;
  margin: 20px 0;
}
.search-form label {
  flex: 1;
}
.search-form .search-field {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #cccccc;
  border-radius: 3px 0 0 3px;
  font-size: 16px;
}
.search-form .search-submit {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 0 3px 3px 0;
  background: #333333;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
}

/* ---------- WordPress ブロック／クラシックエディタの基本 ---------- */
.alignleft {
  float: left;
  margin: 0 20px 20px 0;
}
.alignright {
  float: right;
  margin: 0 0 20px 20px;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.alignwide,
.alignfull {
  width: 100%;
  max-width: 100%;
}
.wp-caption {
  max-width: 100%;
}
.wp-caption-text,
.wp-element-caption,
.blocks-gallery-caption {
  color: #888;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  text-indent: 0 !important;
  margin-top: 6px;
}
.wp-block-image {
  margin: 0 0 20px;
}
.wp-block-image img {
  max-width: 100%;
  height: auto;
}
.wp-block-embed {
  margin: 0 0 20px;
}
.wp-block-embed__wrapper {
  position: relative;
}
.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before {
  content: "";
  display: block;
  padding-top: 56.25%;
}
.wp-embed-responsive .wp-has-aspect-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.wp-block-quote,
.article-body blockquote {
  margin: 0 0 20px;
  padding: 10px 20px;
  border-left: 4px solid #cccccc;
  background: #fafafa;
}
.wp-block-table {
  overflow-x: auto;
  margin: 0 0 20px;
}
.wp-block-table table {
  border-collapse: collapse;
  width: 100%;
}
.wp-block-table th,
.wp-block-table td {
  border: 1px solid #cccccc;
  padding: 6px 10px;
}
.wp-block-separator {
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 30px 0;
}
.wp-block-button__link {
  display: inline-block;
  color: #ffffff;
  background: #333333;
  border-radius: 3px;
  padding: 10px 20px;
  text-decoration: none;
}
.article-body::after,
.nv-page-body::after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 767px) {
  .alignleft,
  .alignright {
    float: none;
    margin: 0 0 20px;
  }
  .nv-adv-content {
    padding: 12px;
  }
}
