@charset "UTF-8";

/* =========================================
   DIC site only
   /common/site-dic.css
========================================= */

/* =========================
   Archive List
========================= */
.archive-list {
  margin-top: 3rem;
  font-size: 0;
  letter-spacing: normal;
  border-bottom: 1px solid #eeeeee;
}

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

.archive-list li a {
  position: relative;
  display: block;
  padding: 5px 10px;
  color: #999999;
  font-size: 1.2rem;
  text-decoration: none;
  border-left: 25px solid #cccccc;
  transition: 0.2s;
}

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

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

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

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

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

@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 / Archive Difference
========================= */
.entry-content h1 {
  margin-bottom: 5px;
  text-align: center;
}

.archive-content h1 {
  margin: 0 2rem;
}

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

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

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

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

/* =========================
   Top Category
========================= */
.top-cat {
  margin: 0 0 3rem;
}

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

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

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

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

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

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

.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: #333333;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px;
  box-shadow: 1px 1px 2px #eeeeee;
  transition: 0.2s;
}

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

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

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

.cat-oya li a {
  display: block;
  padding: 15px 5px 5px;
  color: #333333;
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
  border: 4px solid #eeeeee;
  transition: 0.2s;
}

.cat-oya li a:hover {
  border-color: #cccccc;
}

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

.cat-oya li:nth-of-type(1) a::before {
  background: url(images/icon/flag-japan.png) center / cover no-repeat;
  border: 1px solid #eeeeee;
}

.cat-oya li:nth-of-type(3) a::before {
  background: url(images/icon/flag-france.png) center / cover no-repeat;
}

.cat-oya li:nth-of-type(4) a::before {
  background: url(images/icon/flag-italy.png) center / cover no-repeat;
}

@media screen and (min-width: 576px) {
  .top-cat dl {
    max-width: 36rem;
  }

  .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: #ffffff;
  background: #333333;
  border: none;
}

.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: #333333; }
.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; }

/* =========================
   Color Data
========================= */
.color-data th {
  font-size: 1.5rem;
}

/* =========================
   Oracle
========================= */
.oracle img {
  max-width: 100%;
}

.oracle header h1,
.oracle p,
.oracle li {
  text-align: center;
}

.oracle p {
  font-size: 1.2em;
}

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

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

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

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

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

.oracle input {
  width: 100%;
  padding: 0;
  margin: 0;
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  outline: 0;
  text-align: center;
}

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

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

/* =========================
   Search Results
========================= */
#search-results input[type="checkbox"] {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: -0.8rem;
  cursor: pointer;
  appearance: none;
  border-radius: 50%;
  transition: 0.4s;
}

#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 #333333; }

#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: #333333; }

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

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

/* =========================
   Archive Header Color
========================= */
.archive .archive-content header > div {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
}

.archive .archive-content header {
  padding: 2rem 1.5rem;
  margin-bottom: 3rem;
  background-color: #dddddd;
  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; }

/* =========================
   Book List
========================= */
.book-list a {
  margin: 0 0.5em 0 0;
  font-size: 0.9em;
  text-decoration: none;
}

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