/* verb_pair_types.html 専用スタイル（動詞対分類ページ） */

.content .vpt-intro {
  width: auto;
  margin: 0;
  font-size: 14px;
  line-height: 2em;
  color: #333;
}
.content .vpt-intro .note {
  font-size: 12px;
  color: #6d6d6d;
}
.content .vpt-intro .vpt-aff {
  display: inline-block;
  padding: 0 4px;
  margin: 0 1px;
  border-radius: 3px;
  border: 1px solid #8c3f64;
  font-weight: 600;
  color: #7e385a;
  background: #fef3f8;
  font-family: "Courier New", monospace;
  line-height: 1.40em;
}
/* 動詞活用の種類（4分類）の表 */
.content .vpt-intro .vpt-intro-table {
  border-collapse: collapse;
  width: auto;
  margin: 12px 0;
  font-size: 13px;
}
.content .vpt-intro .vpt-intro-table th,
.content .vpt-intro .vpt-intro-table td {
  border: 1px solid #bd8ea5;
  padding: 6px 16px;
  text-align: left;
  line-height: 1.5em;
}
.content .vpt-intro .vpt-intro-table th {
  background: #f6eff3;
  color: #7e385a;
  font-weight: 700;
}
.content .vpt-intro .vpt-intro-chip {
  display: inline-block;
  padding: 0 8px;
  margin: 0 3px;
  border-radius: 3px;
  border: 1px solid #7e385a;
  font-weight: 700;
  color: #7e385a;
  background: rgb(255 255 255);
  font-size: 12px;
  line-height: 1.5em;
  vertical-align: middle;
}
/* 表内はチップの左右マージンを詰める */
.content .vpt-intro .vpt-intro-table .vpt-intro-chip {
  margin: 0 1px;
}
.content .vpt-intro .vpt-intro-no {
  color: #7e385a;
  font-weight: 600;
  margin-right: 0.1em;
}
.content .vpt-intro .vpt-intro-sep {
  color: #7e3873;
  margin: 0 0.15em;
}
.content .vpt-intro .vpt-aster {
  color: #7E385A;
  font-weight: 600;
}
.content .vpt-intro .vpt-romaji {
  font-family: "Courier New", monospace;
  font-weight: 600;
  /* letter-spacing: 0.02em; */
  color: #555;
}
.content .vpt-intro .vpt-romaji .stem { color: #191919; }
.content .vpt-intro .vpt-romaji .aff {
  display: inline-block;
  padding: 3px 3px 1px;
  margin: 0px 2px;
  border-radius: 3px;
  border: 1px solid transparent;
  line-height: 1.50em;
}
.content .vpt-intro .vpt-romaji .aff.aff-intr {
  color: #7e385a;
  background: #fef3f8;
  border-color: #8c3f64;
  font-weight: 600;
}
.content .vpt-intro .vpt-romaji .aff.aff-tran {
  color: #820548;
  background: #fbeef4;
  border-color: #8c3f64;
}
.content .vpt-intro .vpt-romaji .aff.empty {
  color: #191919;
  background: #fafafa;
  border: 1px solid #333;
  font-size: 101%;
}
/* 14タイプ早見表（折り畳みパネル） */
.vpt-overview-panel {
  width: 98%;
  margin: 14px auto 0;
  /* border: 1px solid #d8afc3; */
  overflow: hidden;
}
.vpt-overview-panel .vpt-overview-note {
  font-size: 12px;
  color: #333;
  margin: 0;
  padding: 0px 14px 10px 0;
  /* background: #fdf6fa; */
  /* border-bottom: 1px solid #eddbe5; */
}
.vpt-overview-panel .panel-sub {
  font-size: 12px; color: #777; margin: 0; padding: 12px 14px; background: #fdf6fa;
  border-bottom: 1px solid #eddbe5;
}
#vpt-overview-body table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  table-layout: fixed;
}
#vpt-overview-body th {
  border: 1px solid #d8afc3;
  padding: 3px 12px;
  text-align: left;
  vertical-align: middle;
}
#vpt-overview-body td {
  border: 1px solid #e3c6d5;
  padding: 4px 12px;
  text-align: left;
  vertical-align: middle;
}
#vpt-overview-body th:nth-child(1),
#vpt-overview-body td.no,
#vpt-overview-body th:nth-child(2),
#vpt-overview-body td.rule-cell {
  padding-left: 5px;
  padding-right: 5px;
}
#vpt-overview-body thead th {
  background: #fff4fa;
  color: #7e385a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.80em;
}
#vpt-overview-body td.no {
  white-space: nowrap;
  font-weight: 700;
  color: #7e385a;
  text-align: center;
  width: 40px;
  font-size: 13px;
}
#vpt-overview-body td.rule-cell { width: 115px; min-width: 0; }
#vpt-overview-body td.ex-cell { width: auto; }
#vpt-overview-body .ov-no-example {
  font-size: 13px;
  color: #7a6f77;
  font-style: italic;
}
#vpt-overview-body thead th:nth-child(1) { width: 40px; }
#vpt-overview-body thead th:nth-child(2) { width: 115px; }
#vpt-overview-body thead th:nth-child(3) { width: auto; }
#vpt-overview-body .pattern {
  color: #7e385a;
  font-family: "Courier New", monospace;
}
#vpt-overview-body .ov-type-ref {
  display: block;
  /* margin-top: 4px; */
  font-size: 13px;
  font-weight: 600;
  color: #8a5a72;
  letter-spacing: 0.02em;
}
#vpt-overview-body .pattern.pattern-misc {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  color: #7e385a;
  position: relative;
  top: 3px;
  font-size: 14px;
}
#vpt-overview-body .pattern .aff {
  display: inline-block;
  padding: 0 4px;
  margin: 0 1px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-weight: 600;
}
#vpt-overview-body .pattern .aff.aff-intr { color: #7e385a; background: #fef3f8; border-color: #8c3f64; }
#vpt-overview-body .pattern .aff.aff-tran { color: #820548; background: #fbeef4; border-color: #8c3f64; }
#vpt-overview-body .vpt-group-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
#vpt-overview-body .vpt-group-label .vpt-group-sep {
  color: #820548;
  margin: 0 0.15em;
}
#vpt-overview-body .vpt-group-label .vpt-group-chip {
  display: inline-block;
  padding: 0 5px;
  margin: 0 1px;
  border-radius: 3px;
  border: 1px solid #8c3f64;
  font-weight: 600;
  color: #7e385a;
  background: #fef3f8;
  white-space: nowrap;
  line-height: 1.5em;
  vertical-align: middle;
}
#vpt-overview-body .aff {
  display: inline-block;
  padding: 0 5px;
  margin: 0 3px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1.5em;
}
#vpt-overview-body .aff.aff-intr { color: #7e385a; background: #fef3f8; border-color: #8c3f64; }
#vpt-overview-body .aff.aff-tran {
  color: #820548;
  background: #fbeef4;
  border-color: #8c3f64;
}
#vpt-overview-body .aff.empty { color: #333; background: #fafafa; border: 1px solid #333; }
#vpt-overview-body .arrow { color: #a40b5d; margin: 0 .5em; font-weight: 700; }
#vpt-overview-body .ex-wrap {
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
}
#vpt-overview-body .ex-romaji {
  font-family: "Courier New", monospace;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
  font-size: 14px;
}
#vpt-overview-body .ex-romaji .stem { color: #333; }
#vpt-overview-body .ex-kanji {
  font-size: 13px;
  color: #333;
  white-space: nowrap;
}
#vpt-overview-body .ex-kanji .kanji-word { white-space: nowrap; }
#vpt-overview-body tbody tr.ov-row { cursor: pointer; }
#vpt-overview-body tbody tr.ov-row:hover td { background: #fdf2f8; }
#vpt-overview-body tbody tr.ov-combo-row td {
  background: #f6eff3;
  color: #7e385a;
  font-weight: 700;
  font-size: 13px;
  border-color: #bd8ea5;
}
#vpt-overview-body tbody tr.ov-combo-row .ov-combo-no {
  display: inline-block;
  margin-right: 0.6em;
  font-weight: 700;
  color: #7e385a;
}
#vpt-overview-body tbody tr.ov-combo-row .vpt-group-label { font-size: 12px; }
#vpt-overview-body tbody tr.ov-combo-row .vpt-group-label .vpt-group-sep { color: #7e3873; }
#vpt-overview-body tbody tr.ov-combo-row .vpt-group-label .vpt-group-chip {
  color: #7e385a;
  background: rgb(255 255 255);
  border-color: #7e385a;
}
#vpt-overview-body tbody tr.ov-combo-row .pattern.pattern-misc {
  color: #7e385a;
  top: 0;
}
/* 大分類：動詞活用グループの組み合わせ見出し */
.content .vpt-combo {
  width: 70%;
  margin: 40px auto 0;
}
.content .vpt-combo:first-of-type { margin-top: 24px; }
.content .vpt-combo h2 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #f6eff3;
  border: 2px solid #bd8ea5;
  padding: 10px 10px;
  margin: 0;
  letter-spacing: 0.04em;
}
.content .vpt-combo h2 .combo-no {
  display: inline-block;
  min-width: 1.4em;
  margin-right: 0.5em;
  text-align: center;
  color: #7e385a;
  font-weight: 700;
}
.content .vpt-combo h2 .vpt-group-label {
  font-size: 14px;
  font-weight: 700;
}
.content .vpt-combo h2 .vpt-group-label .vpt-group-sep {
  color: #7e3873;
  margin: 0 0.15em;
}
.content .vpt-combo h2 .vpt-group-label .vpt-group-chip {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 1px;
  border-radius: 4px;
  border: 1px solid #7e385a;
  font-weight: 700;
  color: #7e385a;
  background: rgb(255 255 255);
  line-height: 1.40em;
  vertical-align: middle;
  font-size: 13px;
}
.content .vpt-combo h2 .pattern.pattern-misc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #7e385a;
}
.content .vpt-combo h2 .combo-count {
  float: right;
  font-size: 14px;
  font-weight: 600;
  color: #7e385a;
  position: relative;
  top: 3px;
}

.content .vpt-cat {
  width: 70%;
  margin: 16px auto 0px;
}
.content .vpt-cat h2 {
  font-size: 14px;
  font-weight: 600;
  color: #191919;
  border: 2px solid #d8afc3;
  border-left: 5px solid #d8afc3;
  padding: 8px 12px 8px 8px;
  margin: 0;
  letter-spacing: 0.04em;
}
.content .vpt-cat h2 .type-no {
  color: #7e385a;
  font-weight: 700;
  margin-right: 0.6em;
  font-size: 15px;
  position: relative;
  top: 1px;
}
.content .vpt-cat h2 .type-ref {
  font-size: 13px;
  font-weight: 600;
  color: #8a5a72;
  margin-left: 0.5em;
  letter-spacing: 0.02em;
}
.content .vpt-cat h2 .type-ref-label {
  font-size: 13px;
  font-weight: 600;
  color: #8a5a72;
  margin-left: 0.8em;
  letter-spacing: 0.02em;
}
.content .vpt-cat h2 .pattern {
  color: #7e385a;
  font-family: "Courier New", monospace;
  margin-right: 0.6em;
}
.content .vpt-cat h2 .pattern.pattern-misc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  position: relative;
  top: 1px;
}
.content .vpt-cat h2 .pattern .aff {
  display: inline-block;
  padding: 0 4px;
  margin: 0 1px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-weight: 600;
}
.content .vpt-cat h2 .pattern .aff.aff-intr { color: #7e385a; background: #fef3f8; border-color: #8c3f64; }
.content .vpt-cat h2 .pattern .aff.aff-tran { color: #820548; background: #fbeef4; border-color: #e6c2d5; }

/* 動詞グループ（見出し内、接辞ラベルの右） */
.content .vpt-cat h2 .vpt-group-label {
  font-size: 11px;
  font-weight: 600;
  margin-left: 0.8em;
  letter-spacing: 0.02em;
}
.content .vpt-cat h2 .vpt-group-label .vpt-group-sep {
  color: #820548;
  margin: 0 0.15em;
}
.content .vpt-cat h2 .vpt-group-label .vpt-group-chip {
  display: inline-block;
  padding: 0 6px;
  margin: 0 1px;
  border-radius: 3px;
  border: 1px solid #8c3f64;
  font-weight: 600;
  color: #7e385a;
  background: #fef3f8;
}
.content .vpt-cat h2 .desc {
  font-size: 12px;
  font-weight: 400;
  color: #191919;
  margin-left: 0.3em;
}
.content .vpt-cat h2 .cat-count {
  float: right;
  font-size: 13px;
  color: #191919;
  font-weight: 600;
  position: relative;
  top: 4px;
}
.content .vpt-cat h2 .back-to-overview {
  color: #d8afc3;
  cursor: pointer;
  margin-right: 0.5em;
  font-size: 19px;
  vertical-align: -2px;
}
.content .vpt-cat h2 .back-to-overview:hover { color: #a40b5d; }
.vpt-nav {
  width: auto;
  margin: 0;
  text-align: center;
}
.vpt-nav a {
  display: inline-block;
  font-size: 12px;
  color: #525252;
  border: 1px solid #c7c7c7;
  border-radius: 3px;
  padding: 3px 8px;
  margin: 3px;
  font-family: "Courier New", monospace;
  text-decoration: none;
}
.vpt-nav a:hover { border-color: #7e385a; color: #7e385a; }

/* カテゴリー見出し：交替する接辞だけをチップ表示 */
.content .vpt-cat h2 .desc .rule { font-family: "Courier New", monospace; font-size: 15px; }
.content .vpt-cat h2 .desc .rule .aff {
  display: inline-block;
  padding: 0 4px;
  margin: 0 2px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-weight: 600;
}
.content .vpt-cat h2 .desc .rule .aff.aff-intr { color: #7e385a; background: #fef3f8; border-color: #8c3f64; }
.content .vpt-cat h2 .desc .rule .aff.aff-tran { color: #820548; background: #fbeef4; border-color: #e6c2d5; }
.content .vpt-cat h2 .desc .rule .aff.empty { color: #191919; background: #fafafa; border: 1px solid #333; }
.content .vpt-cat h2 .desc .rule .left { margin: 0 0.35em; }

.content .results {
  border: 1px solid #d8afc3;
  border-top-width: 0;
  padding: 5px 10px 10px;
  line-height: 1.5em;
  width: 100%;
}

/* 該当ペアが無いタイプ（空欄表示） */
.content .vpt-empty {
  width: 70%;
  margin: 0 auto 10px;
  padding: 10px 12px;
  border: 1px solid #d8afc3;
  border-top-width: 0;
  font-size: 13px;
  color: #8a5a72;
  background: #fdf6fa;
  box-sizing: border-box;
}

/* ペア行：上段ローマ字（色分け）＋下段 読み【表記】（小） */
.content .results .vpt-romaji {
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #555;
}
.content .results .vpt-romaji .stem { color: #191919; }
.content .results .vpt-romaji .vpt-play {
  border: none;
  background: transparent;
  color: #b07a93;
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
  font-size: 14px;
  vertical-align: middle;
  line-height: 1;
  width: 25px;
}
.content .results .vpt-romaji .vpt-play:hover { color: #7e385a; }
.content .results .vpt-romaji .aff {
  display: inline-block;
  padding: 0 3px;
  margin: 0px 2px;
  border-radius: 3px;
  border: 1px solid transparent;
}
.content .results .vpt-romaji .aff.aff-intr {
  color: #7e385a;
  background: #fef3f8;
  border-color: #8c3f64;
  font-weight: 600;
}
.content .results .vpt-romaji .aff.aff-tran {
  color: #820548;
  background: #fbeef4;
  border-color: #8c3f64;
}
.content .results .vpt-romaji .aff.empty {
  color: #191919;
  background: #fafafa;
  border: 1px solid #333;
  font-size: 101%;
}
.content .results .vpt-sub { font-size: 11px; color: #191919; margin-top: 3px; }
.content .results .vpt-sub .headword-reading { font-size: 13px; color: #191919; }
.content .results > tbody > tr > td {
  color: #191919;
  padding: 4px 5px;
  font-size: 14px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #d8afc3;
}
.content .results > tbody > tr:last-child > td {
  border-bottom: none;
}
/* 動詞対ページへのリンク */
.content .results .vpt-pair-link-wrap {
  text-align: right;
  margin-top: 6px;
}
.content .results .vpt-conj-bar .vpt-pair-link {
  position: absolute;
  top: 0;
  right: 0;
}
.content .results .vpt-pair-link {
  color: #7e385a;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #7e385a;
  white-space: nowrap;
  letter-spacing: normal;
  line-height: 1.50em;
}
.content .results .vpt-pair-link:hover {
  border-bottom-style: solid;
}
.content .results .vpt-sub .headword {
  font-size: 13px;
  color: #191919;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* 動詞対リスト内の活用表（自他を1つのトグルで同時に開く） */
.content .results table td { vertical-align: top; }
/* 活用表ボタンの行に「動詞対ページへ」を右上重ねで配置 */
.content .results .vpt-conj-bar {
  position: relative;
  margin-top: 8px;
}
.content .results .vpt-conj {
  cursor: default;
  letter-spacing: normal;
}
.content .results .vpt-conj > summary {
  font-size: 12px;
  color: #7e385a;
}
.content .results .vpt-conj > summary b { font-weight: 600; }
/* 自他の活用表を、上のローマ字行と同じ3列で揃える */
.content .results .vpt-conj-table { width: 100%; table-layout: fixed; }
.content .results .vpt-conj-table > tbody > tr > td {
  border: none;
  padding: 0 5px;
  vertical-align: top;
}
.content .results .vpt-conj-table > tbody > tr > td:nth-child(2) { width: 2.5em; }
.content .results .vpt-conj .conj-grid {
  grid-template-columns: 1fr;
  grid-template-rows: none;
  grid-auto-flow: row;
  column-gap: 0;
  margin-top: 2px;
}
.content .results .vpt-conj .conj-row { padding: 5px 2px; }
.content .results .vpt-conj .conj-label { width: 4.5em; font-size: 12px; }

/* 狭い画面では見出しを result table（85%）と同じ幅に合わせる */
@media only screen and (max-width: 640px) {
  .content .vpt-cat { width: 85%; }
  .content .vpt-combo { width: 85%; }
  #vpt-overview-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #vpt-overview-body table {
    min-width: 460px;
  }
}

/* PDFダウンロードボタン（他サイトのpdf-btnスタイルを踏襲・当サイトの配色に調整） */
.content .pdf-download {
  width: 70%;
  margin: 12px auto 0;
  padding: 0;
  text-align: right;
  line-height: 1;
}
.content .pdf-download .pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid #7e385a;
  padding: 2px 9px;
  margin: 0 0 0 8px;
  cursor: pointer;
  color: #7e385a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  user-select: none;
  white-space: nowrap;
}
.content .pdf-download .pdf-btn:hover { opacity: 0.7; }
.content .pdf-download .pdf-btn i { font-size: 17px; line-height: 1; }
