@charset "utf-8";

/*   
Theme Name:dic-Theme
Theme URI:https://www.i-iro.com/dic/
Description:色彩図鑑のテーマ
Author:Yanagi.Kenji
Author URI:https://www.i-iro.com/dic/
Version:1.0
*/

/* dic 追加分 */

table {
  border-collapse: collapse;
  border-spacing: 0;
  min-width: 260px;
}

th, td {
  font-weight: normal;
  border: 1px solid #e0e0e0;
  padding: 5px 10px;
}

th {
  background: #f3f3f3;
  text-align: center;
}

.link-prev div span:nth-of-type(1),
.link-next div span:nth-of-type(2) {
  width: 50px;
  text-align:center;
}

.archive-list {
  font-size: 0;
  letter-spacing: normal;
  border-bottom: 1px solid #eee;
  margin-top: 30px;
}

.archive-list li {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  font-size: 1rem;
  line-height: 1.4;
  border-top: 1px solid #eee;
  padding: 5px;
}

.archive-list li a {
  display: block;
  font-size: 1.2rem;
  color: #999;
  border-left: 25px solid #ccc;
  padding: 5px 10px 5px 10px;
  position: relative;
  transition: .2s;
}

.archive-list li a span {
  display: block;
  padding-bottom: 5px;
  font-size: 1.5rem;
  line-height: 1;
  color:#333;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-content .archive-list li a span {
  font-size: 1.4rem;
}

.archive-list li a span:nth-of-type(2) {
  font-weight: normal;
  font-size: 1.2rem;
  color: #999;
  padding: 0;
}

.archive-list li a:after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-top: solid 2px #ddd;
  border-right: solid 2px #ddd;
  position: absolute;
  top: 50%;
  right: 0;
  transform: rotate(45deg) translate(-50%, 0);
  transition: .2s;
}

.archive-list li a:hover {
  opacity: .8;
}

.archive-list li a:hover:after {
  border-color: #777;
}

@media screen and (min-width: 680px) {
  .archive-list li {
    width: 50%;
  }
}

@media screen and (min-width: 360px) {
  .home-content .archive-list li {
    width: 50%;
  }
}

@media screen and (min-width: 770px) {
  .home-content .archive-list li {
    width: 33.3%;
  }
}

.entry-content h1 {
  text-align: center;
  margin-bottom: 5px;;
}

.archive-content h1 {
  margin: 0 20px;
}

.entry-content h2,
.archive-content h2 {
  border: none;
  font-size: 2rem;
  margin: 2em 0 1em;
  padding: 0 10px;
  border-left: 2px solid #333;
  color: #181818;
  clear:both;
}

.entry-content h2:before {
  content: none;
}

.entry-content header h2 {
  border:none;
  margin:0;
  font-size: 1.6rem;
  color: #aaa;
  font-weight: normal;
}

.cat-desc p {
  font-size: 1.5rem;
  text-align: center;
  color: #666;
}

/* トップページ カテゴリー */

.top-cat {
  margin: 0 0 30px;
}

.top-cat h3 {
  font-size: 1.6rem;
  text-align: center;
  margin: 1em 0 .5em;
  padding:.2em;
  background: #f6f6f6;
}


.top-cat dl {
  font-size: 0;
  letter-spacing: normal;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
}

.top-cat dd {
  display: inline-block;
  font-size: 1.1rem;
  text-align: center;
  vertical-align: top;
  padding:0;
  width: 11.1%;
}

.top-cat dd a {
  display: block;
  text-decoration: none;
  transition: .1s;
}

.top-cat dd a:before {
  content: "●";
  display: inline-block;
  width: 100%;
  font-size: 1.5rem;
}

.top-cat dd a:hover {
  opacity: .6;
}

.top-cat ul {
   font-size: 0;
   letter-spacing: normal;
   margin: 0;
}

.top-cat li {
  display: inline-block;
  width: 48%;
  margin: 1%;
  font-size: 1.4rem;
  text-align: center;
}

.top-cat li a {
  display: block;
  padding: 8px 5px;
  color: #333;
  background: #fff;
  text-decoration: none;
  border: 1px solid #ccc;
  transition: .2s;
  box-shadow: 1px 1px 2px #eee;
  border-radius: 4px;
}

.top-cat li a:hover {
  background: #f6f6f6;
}

.cat-oya ul {
   font-size: 0;
   letter-spacing: normal;
   margin: 0;
}

.cat-oya li {
  display: inline-block;
  width: 48%;
  margin: 1%;
  font-size: 1.4rem;
  text-align: center;
  box-shadow: 0px 10px 10px -6px #eee;
}

.cat-oya li a {
  display: block;
  padding: 15px 5px 5px;
  color: #333;
  background: #fff;
  text-decoration: none;
  transition: .2s;
  border: 4px solid #eee;
  font-weight: bold;
}

.cat-oya li a:hover {
  border: 4px solid #ccc;
}

.cat-oya li a:before {
  content: "";
  display:block;
  margin: 0 auto 8px;
  width: 72px;
  height: 48px;
  background: url(images/icon/flag-world.png); background-size: cover;
}

.cat-oya li:nth-of-type(1) a:before { background: url(images/icon/flag-japan.png); background-size: cover; border:1px solid #eee;}
.cat-oya li:nth-of-type(3) a:before { background: url(images/icon/flag-france.png); background-size: cover;}
.cat-oya li:nth-of-type(4) a:before { background: url(images/icon/flag-italy.png); background-size: cover; }


@media screen and (min-width: 576px) {
  .top-cat dl {
    max-width: 360px;
  }
  .top-cat dd {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 767px) {
  .top-cat li {
    width: 31%;
  }

  .cat-oya li {
    width: 23%;
  }
}

.top-cat .cat-color li a { color: #fff; background: #333; border: none; }
.top-cat .cat-color li a:hover { opacity: .7; }
.top-cat .cat-color li:nth-of-type(1) a { background: #f7aaaa; }
.top-cat .cat-color li:nth-of-type(2) a { background: #e73c3c; }
.top-cat .cat-color li:nth-of-type(3) a { background: #f39c12;}
.top-cat .cat-color li:nth-of-type(4) a { background: #f6f666; color:#333; }
.top-cat .cat-color li:nth-of-type(5) a { background: #27ae60; }
.top-cat .cat-color li:nth-of-type(6) a { background: #3498db; }
.top-cat .cat-color li:nth-of-type(7) a { background: #ad8bca; }
.top-cat .cat-color li:nth-of-type(8) a { background: #774411; }

ul.col-2,
ul.col-3 {
  font-size: 0;
}

ul.col-2  li {
  display: inline-block;
  width:50%;
  font-size: 1.4rem;
  vertical-align: top;
  padding: 5px;
}

ul.col-3  li {
  display: inline-block;
  width:33%;
  font-size: 1.4rem;
  vertical-align: top;
  padding: 5px;
}

.col-md-3 {
  display: inline-block;
  width: 100%;
  font-size: 1.4rem;;
  vertical-align: top;
}

@media screen and (min-width: 767px) {
  .col-md-3 {
    width: 33%;
  }
}

.color-data {
  width:100%;
  border-collapse: separate;
  border-spacing: 5px;
  margin-bottom:20px;
  border:1px solid #383838;
}

.color-data th, .color-data td {
  padding: 5px 10px;
  border: none;
  font-size: 1.5rem;
}

.color-data th {
  color: #333;
  width: 7em;
  padding: 5px 0;
}

.dic-thumbnail {
  width:100%;
  min-height: 300px;
  text-align:center;
}


/* 今日の色 */

.oracle img {
  max-width: 100%;
}

.oracle header h1 {
  text-align:center;
}
.oracle p {
  text-align:center;
  font-size:1.2em;
}

.oracle p span{
  font-size:1.4em;
}

.oracle li {
  text-align:center;
  font-size:1.2em;
}

.oracle li:nth-of-type(2) a{
  display:block;
  margin:0 auto;
  padding: 1em;
  background: #1da1f2;
  color: #fff;
  text-decoration:none;
  transition: .4s;
  border-radius:10px;
  max-width:400px;
}

.oracle li:nth-of-type(2) a:hover {
  opacity:.8;
}

.oracle form {
  max-width: 300px;
  text-align:center;
  margin:30px auto;
}

.oracle form dd{
  margin: 2em 0;
}

.oracle input {
  width: 100%;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: #fff;
  outline: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
}

.oracle input[type="text"] {
  border: 1px solid #999;
  text-align:center;
  padding: 1em;
  font-size:1.2em;
}

.oracle input:focus {
  background: #fff6f6;
}

.oracle input:focus::placeholder {
  color: transparent;
  transition: .5s;
}

.oracle input[type="submit"] {
  color: #fff;
  text-align:center;
  padding: 1em;
  font-size:1.2em;
  border-radius: 12px;
  transition: .2s;
  box-shadow: 3px 3px 3px #ccc;
background: #a90329; /* Old browsers */
background: -moz-linear-gradient(-45deg,  #a90329 0%, #8f0222 44%, #6d0019 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.oracle input[type="submit"]:hover {
  opacity: .8;
  cursor:pointer;
}

/* フィルタとソート */

#search-results input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
  height: 20px;
  width: 20px;
  vertical-align: -0.8rem;
  transition: .4s;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  outline: none;
  border-radius: 50%;
}
/*
#search-results input[type=checkbox]:before,
#search-results input[type=checkbox]:after {
  position: absolute;
  content: "";
  background: #fff;
  transition: all .2s ease-in-out;
}
#search-results input[type=checkbox]:before {
  left: 2px;
  top: 6px;
  width: 0;
  height: 2px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}
#search-results input[type=checkbox]:after {
  right: 9px;
  bottom: 3px;
  width: 2px;
  height: 0;
  transform: rotate(40deg);
  -webkit-transform: rotate(40deg);
  -moz-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  -o-transform: rotate(40deg);
  transition-delay: .1s;
}
#search-results input[type=checkbox]:checked:before {
  left: 1px;
  top: 10px;
  width: 6px;
  height: 2px;
}
#search-results input[type=checkbox]:checked:after {
  right: 5px;
  bottom: 1px;
  width: 2px;
  height: 14px;
}
#search-results input[type=checkbox]:indeterminate:before,
#search-results input[type=checkbox]:indeterminate:after {
  width: 7px;
  height: 2px;
  transform: rotate(0);
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
}
#search-results input[type=checkbox]:indeterminate:before {
  left: 1px;
  top: 7px;
}
#search-results input[type=checkbox]:indeterminate:after {
  right: 1px;
  bottom: 7px;
}
*/

#search-results input[type=checkbox].aka-kei {border: 2px solid #E6002F;}
#search-results input[type=checkbox].ki-kei {border: 2px solid #FFD900;}
#search-results input[type=checkbox].midori-kei {border: 2px solid #3EB370;}
#search-results input[type=checkbox].ao-kei {border: 2px solid #0095D9;}
#search-results input[type=checkbox].murasaki-kei {border: 2px solid #8E4898;}
#search-results input[type=checkbox].cha-kei {border: 2px solid #8D5025;}
#search-results input[type=checkbox].kuro-kei {border: 2px solid #333;}

#search-results input[type=checkbox].aka-kei:checked {background: #E6002F;}
#search-results input[type=checkbox].ki-kei:checked {background: #FFD900;}
#search-results input[type=checkbox].midori-kei:checked {background: #3EB370;}
#search-results input[type=checkbox].ao-kei:checked {background: #0095D9;}
#search-results input[type=checkbox].murasaki-kei:checked {background: #8E4898;}
#search-results input[type=checkbox].cha-kei:checked {background: #8D5025;}
#search-results input[type=checkbox].kuro-kei:checked {background: #333;}

#search-results dl {
  font-size:0;
  text-align:center;
}

#search-results dd {
  font-size: 1rem;
  display:inline-block;
  padding: 1em;
}

input:focus::placeholder,
textarea:focus::placeholder {
    color: transparent;
    transition: .1s;
}

.archive .archive-content header > div {
  padding:20px;
  background: rgba(255, 255, 255, .95);
}

.archive .archive-content header {
  padding: 20px 15px;
  margin-bottom: 30px;
  background-color: #ddd;
  background-image: repeating-linear-gradient(
    90deg, 
    rgba(255, 255, 248, .6)    0, rgba(255, 255, 248, .6) 25px, rgba(255, 255, 255, .95) 25px, rgba(255, 255, 255, .95) 30px,
    rgba(255, 255, 255, .2) 30px, rgba(255, 255, 255, .5) 32px, rgba(255, 255, 255, .95) 32px, rgba(255, 255, 255, .95) 40px,
    rgba(0  ,   0,   0, .1) 40px, rgba(  0,   0,   0, .1) 55px, rgba(255, 255, 255, .95) 55px, rgba(255, 255, 255, .95) 75px,
    rgba(248, 255, 255, .8) 75px, rgba(248, 255, 255, .8) 85px, rgba(255, 255, 255, .95) 85px, rgba(255, 255, 255, .95) 100px
  );
}

.category-aka-kei .archive-content header, .category-red-kei .archive-content header, .tag-aka-red  .archive-content header { background-color: #f4ada3; color: #b7282d; }
.category-ki-kei .archive-content header, .category-yellow-kei .archive-content header, .tag-ki-yellow  .archive-content header { background-color: #fff2b8; color: #715c1e; }
.category-midori-kei .archive-content header, .category-green-kei .archive-content header, .tag-midori-green  .archive-content header { background-color: #b4cf8f; color: #006d4d; }
.category-ao-kei .archive-content header, .category-blue-kei .archive-content header, .tag-ao-blue  .archive-content header { background-color: #bbe2f1; color: #1d50a2; }
.category-murasaki-kei .archive-content header, .category-purple-kei .archive-content header, .tag-murasaki-purple  .archive-content header { background-color: #c5b3d3; color: #6a258a; }
.category-cha-kei .archive-content header, .category-brown-kei .archive-content header, .tag-cha-brown  .archive-content header { background-color: #d9b97a; color: #612c16; }

.archive .archive-content p {
    margin: 0 0 1em;
}

.home-content h2 {
  border: none;
  text-align: center;
  margin-bottom: 1em;
  position: relative;
}

.home-content h2:before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 1.6em;
  height: 2px;
  background: #666;
  border-radius: 5px;
}

/* 記事下 参考文献  */

.book-list a {
  font-size: 0.9em;
  text-decoration: none;
  margin:0 .5em 0 0;
}

.book-list a:before {
  content: "\f138";
  font-family: "icomoon";
  color: #ccc;
  margin:0 3px 0 0;
}
