/*

For Search Pages

*/

/* セクション・カラム */
.section_category {
}
.section_download {
}
.container_pankuzu {
}
.column_narrowing {
  width: 23% !important;
  margin-right: 2% !important;
}
.column_narrowing:not(h6) {
  font-size: 0.94em;
}
.column_result {
  width: 75% !important;
}
@media (max-width:990px) {
  .column_narrowing {
    display: none;
  }
  .column_result {
    width: 100% !important;
  }
}

/* ワード検索 */
.block_word {
  display: block;
  background: var(--idk-gray);
  padding: 1.5em 1em !important;
  margin: 0 0 1em;
}
.block_word .text_top {
  text-align: center;
  padding-bottom: 0;
}
.block_word label {
}
.block_word label::before {
  margin-left: 0.5em;
}
div.block_btn {
  margin-top: 0.5em;
  white-space: nowrap;
  text-align: center;
}
.block_word .btn_clear,
.block_word .btn_search {
  display: inline-block;
  padding: 0.5em 0;
  margin: 0 0.25em 0;
  text-align: center;
  text-shadow: none;
  border: none;
  border-radius: 0.5rem;
  color: #fff;
}
.btn_clear {
  width: calc(40% - 1em);
  background: gray;
}
.btn_clear:hover {
  background: darkslategray;
}
.btn_search {
  width: calc(60% - 1em);
}
@media(max-width:767px) {
  .text_keyword {
    height: 3em !important;
  }
}

/* 大カテゴリ一覧グリッド */
.column_category h5 {
  margin-top: 0;
  font-size: 1.2em;
}
.div_category {
  display: flex;
  flex-flow: wrap;
  margin: 0 auto;
}
.div_category .a_catcard {
  display: flex;
  flex-direction: column;
  width: calc(20% - 1em);
  margin: 0.5em;
  padding: 0;
  border: 1px solid #bbb;
}
.a_catcard img {
  width: 80%;
  margin: 0 auto 0.5em;
}
.a_catcard h6 {
  margin: 0 auto .5em;
  text-align: center;
}
.div_category a:hover {
  background: var(--idk-gray);
}
.div_category a:hover h6 {
  color: #000;
  text-decoration: underline;
}

/* Software */
.section_search.soft {
  margin-bottom: 0;
}
.container_software {
  margin: auto !important;
  max-width: 1080px !important;
  padding: 1em 0 !important;
}
.container_software h3 {
  marign-bottom: 1.5em;
}
.section_download.soft {
  padding: 0;
  margin: 0;
}
.container_download {
  max-width: 1080px !important;
}
.table_soft {
  font-size: 0.9em;
}
.table_soft th:first-child {
  width: 40%;
}
.table_soft th {
  color: white;
  background: #555;
  border: solid 1px white;
  text-align: center;
}
.table_soft td {
  border: solid 1px #999;
}
.table_soft td:first-child {
  border-left: none;
}
.table_soft td:last-child {
  border-right: none;
}
.table_soft td.notes {
  font-size: 0.8em;
}
.contentsGroup {
  padding: 1em 0 3em;
  margin-bottom: 1.5em;
}
.contentsGroup h6 {
  font-size: 1.2em;
}
.contentsGroup h6 a {
  color: var(--idk-red);
  text-decoration: underline;
}
.contentsGroup h6 a:hover {
  color: black;
}
.table_dl.soft {
  border: 0px solid #999;
}
.table_dl.soft tbody th,
.table_dl.soft tbody td {
  text-align: initial;
}
.table_dl.soft th {
  font-size: 1em;
  padding: 0.5em 1em;
  letter-spacing: 0;
}
.table_dl.soft tbody td {
  padding: 0.5em 0.625em;
  border-left: 0;
  border-right: 0;
}
.table_dl.soft tr:hover td {
  background: none;
}
.table_dl.soft td.model a {
  white-space: nowrap;
  text-decoration: none;
}
.table_dl.soft td.model a:hover {
  text-decoration: underline;
}
a.a_dl {
  display: block;
  color: white;
  background: var(--idk-red);
  text-align: center;
  font-weight: bold;
  padding: 0.5em;
  margin: 1em auto 1.5em;
  border-radius: 0.5rem;
  width: 30%;
  max-width: 20em;
}
a.a_dl:hover {
  background: var(--idk-darkred);
}

/* Dialog */
dialog {
  width: fit-content;
  padding: 0;
  border-color: var(--idk-darkgray);
}
dialog > div {
  background: var(--idk-gray);
  font-size: 0.9em;
  line-height: 1.4em;
  max-width: 750px;
}
dialog > * > * {
  padding: 1em 2em;
}
dialog h6 {
  background: var(--idk-darkgray);
  color: #fff;
  margin: 0 0 1em;
}
dialog div.div_buttons {
  text-align: center;
  padding: 0 0 1em;
}
dialog button {
  padding: .5em 3em;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: .5rem;
  transition: .2s ease;
}
dialog button:first-of-type {
  margin-right: 1em;
}
dialog button._ok {
  background: var(--idk-red);
}
dialog button._ok:hover {
  background: var(--idk-darkred);
}
dialog button._close {
  background: var(--idk-darkgray);
}
dialog button._close:hover {
  background: #555;
}

/*** RESPONSIVE ***/
@media (max-width:1199px) {
  .table_dl th {
    font-size: 1em;
    padding: 0.5em 0;
  }
  .table_dl td:not(.model) a {
    font-size: 1em;
    padding: 0.5em;
  }
}
@media (max-width:767px) {
  .div_category .a_catcard {
    width: calc(25% - 1em);
  }
}
@media (max-width:480px) {
  .div_category .a_catcard {
    width: calc(33.3% - 1em);
  }
  .table_soft td label {
    line-height: 1.4em;
  }
  .table_soft td label::before {
    margin-left: 0;
  }
}

