@charset "UTF-8";

/* ------------------------------------------------
  JTK
------------------------------------------------ */


/* ------------------------------------------------
  カラー color
------------------------------------------------ */

/* #af1e24  和研薬RED */


/* ------------------------------------------------
  詳細ページ
------------------------------------------------ */

main .detail.info a {
  color: #af1e24;
  text-decoration: underline;
}

main .detail.info a:hover {
  text-decoration: none;
}


main .detail input[type=text],
main .detail input[type=button],
main .detail input[type=submit],
main .detail button,
main .detail select {
  position: relative;
  box-sizing: border-box;
  padding:.3em;
  background-color: #fff;
  border: solid 1px #ccc;
  border-radius: .3em;
  line-height: 1em;
  vertical-align: middle;
  color: inherit;
}

main .detail input[type=button],
main .detail input[type=submit],
main .detail button {
  cursor: pointer;
}


main .detail a.btn,
main .detail a.btn {
  display: inline-block;
  background-color: #fff;
  padding: 0.25em 0.5em;
  border: 1px solid #ccc;
  border-radius: 0.3em;
/*  font-size: 88%;*/
  text-decoration: none;
  line-height: 1;
  color: inherit;
}

main .detail a.btn:hover,
main .detail a.btn:hover {
  background-color: #eee;
}

main .detail .pagelink {
  background-color: #dedede;
  padding: 0.5em;
}

main .detail .pagelink a {
  margin-right: 0.25em;
  font-size: 90%;
  color: inherit;
}

main .detail .pagelink a:last-child {
  margin-right: 0;
}


main .detail.info div.bordered {
  border-bottom: 5px solid;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

main .detail.info .bordered h2 {
  margin-left: 0.5em;
}

main .detail.info h3.bordered {
  border-bottom: 1px solid #999;
  padding-left: 0.5em;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
}


main .bg-gray {
  background-color: #ededed;
}


main .detail-table {
}

main .detail-table table thead {
  border-bottom: 3px double #bdbcbd;
  text-align: center;
}


main .detail-table table {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-collapse: collapse;
  font-size: 92%;
}

main .detail-table table.bordered th, 
main .detail-table table.bordered td {
  border: none;
  border: 1px solid #999;
  padding: 0.25em 0.5em;
}

main .detail-table table.bordered th {
  padding: 0.2em;
  background-color: #ededed;
  font-size: 90%;
}

/*
main .detail-table table {
  margin: 0 auto;
  padding: 0;
  border-collapse: collapse;
  font-size: 92%;
}

main .detail-table table.bordered th, 
main .detail-table table.bordered td {
  border: none;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  padding: 0.25em 0.5em;
}

main .detail-table table.bordered th {
  padding: 0.2em;
  background-color: #ededed;
  font-size: 90%;
}

main .detail-table table.bordered tbody tr:nth-child(even) td {
  background-color: #f6f6f6;
}

main .detail-table table.bordered tbody tr:hover td {
  background-color: #ccc !important;
}

main .detail-table table.bordered tr td.cat {
  width: 30%;
}

main .detail-table table.bordered tr th.delete {
  width: 9em;
}

main .detail-table table.bordered tr td.delete {
  text-align: center;
}

main .detail-table table th:first-child,
main .detail-table table td:first-child {
  border-left: 1px solid #999;
}

main .detail-table table th:last-child,
main .detail-table table td:last-child {
  border-right: 1px solid #999;
}

main .detail-table table .inq button {
  padding: 0;
  font-size: 1.2em;
  border: none;
  line-height: 1em;
  vertical-align: middle;
}

main .detail-table table .inq td {
  padding: 0.25em;
  text-align: center;
}
*/

main .detail-title > h1 {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 0.25em;
  padding-left: 0.3em;
  margin-bottom: 10px;
  border-bottom: 5px solid ;
  vertical-align: middle;
  font-size: 1.4em;
}

@media screen and (max-width:640px) {
  main .detail-title > h1 {
    display: block;
  }
}/*end @media(max-width:640px)*/

main .detail-title > h1 > span.id-num {
  font-weight: normal;
  color: #666;
  font-style: italic;
}

@media screen and (max-width:640px) {
  main .detail-title > h1 > span.id-num {
    display: block;
    margin-top: 0.25em;
  }
}/*end @media(max-width:640px)*/

main .detail-title > span.maker {
  display: inline-block;
  padding-left: 0.5em;
  margin-bottom: 0.5em;
}

main .cat-list > span {
  display: inline-block;
  padding: 0.25em;
  margin-bottom: 0.25em;
  background-color: #666;
  font-size: 78%;
  color: #fff;
}

/*
main .cat-list ul li {
  color: #999;
}

main .cat-list ul li a {
  display: inline-block;
  padding: 0.25em;
  margin-bottom: 0.25em;
  font-size: 78%;
}
*/

main .detail .cat-list ul { 
  list-style: none;
  overflow: hidden; 
  margin-bottom: 0.125em;
}

main .detail .cat-list ul li { 
  position: relative;
  display: inline-block;
}

main .detail .cat-list ul li::after { 
  content: '\03e';
  display: inline-block;
  margin-left: 0.4em;
  margin-right: 0.2em;
  margin-bottom: 0.25em;
  vertical-align: middle;
  line-height: 1;
  color: #999;
}

main .detail .cat-list ul li:last-child::after { 
  content: '';
  display: none;
  margin-left: 0;
  margin-right: 0;
}

main .detail .cat-list ul li a { 
  display: inline-block;
  padding: 0.25em;
  margin-bottom: 0.25em;
  vertical-align: middle;
  text-decoration: none;
//  font-size: 78%;
  font-size: 90%;
//  color: inherit;
}

main .detail .btn-print {
  position: absolute;
  top: 0;
  right: 0;
}

main .detail .btn-print a {
  display: inline-block;
  background-color: #fff;
  padding: 0.25em 0.5em;
  border: 1px solid #ccc;
  border-radius: .3em;
  font-size: 90%;
  text-decoration: none;
  cursor: pointer;
  color: inherit;
}

main .detail .btn-print a:hover {
  background-color: #eee;
}

main .detail .btn-inq {
  width: 12em;
  min-height: 2.5em;
  background-color: #af1e24;
  margin: 0 5px;
  border: 1px solid #af1e24;
  border-radius: .3em;
  color: #fff;
  cursor: pointer;
}

main .detail .btn-camp,
main .detail .btn-seminar {
  width: 12em;
  min-height: 2.5em;
  background-color: #ffffcc;
  margin: 0 5px;
  border: 1px solid #af1e24;
  border-radius: .3em;
  color: #af1e24;
  cursor: pointer;
}

@media screen and (max-width:640px) {
  
  main .detail .btn-inq {
/*    width: calc(80% - 20px);*/
  }
  
  main .detail .btn-inq + div {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 10px);
    margin: 0 auto;
  }

}/*end @media(max-width:640px)*/

main .note-double {
  border: 3px double #ccc;
  padding: 10px 10px 0.4em;
}
