@charset "utf-8";
/* Danitrio CSS Document */
/*
font-family: 'Arizonia', cursive; headings
font-family: 'Krub', sans-serif; body
font-family: 'Gabriela', serif; Nav
*/
/* Rules for sizing the icon. */
.material-icons.md-12 {
  font-size: 12px;
}
.material-icons.md-18 {
  font-size: 18px;
}
.material-icons.md-24 {
  font-size: 24px;
} /*default size*/
.material-icons.md-36 {
  font-size: 36px;
}
.material-icons.md-48 {
  font-size: 48px;
}
.material-icons.white {
  color: antiquewhite;
}
.transform {
  transform: translateY(1px);
}
.rotate {
  transform: rotate(45deg) translateX(3px)
}
:root {
  --brown: rgb(161, 64, 21);
  --blueish_green: rgb(78, 96, 98);
  --red: rgb(133, 10, 15);
  --gold: rgb(192, 171, 56);
  --earth: rgb(194, 181, 155);
}
html {
  font-size: 10px;
  overflow-y: scroll;
  box-sizing: border-box;
}
*, *:before, *:after {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}
body {
  font-family: 'Krub', sans-serif;
  padding: 0;
  margin: 0;
  line-height: 140%;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a, a:hover {
  text-decoration: none;
  color: inherit;
}
h4 {
  font-size: calc(1.2rem + 0.2vw);
  line-height: 140%;
  text-align: center;
  font-weight: 600;
  margin-top: 15px;
}
div:empty {
  height: 10px;
}
#wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
header {
  background: url("../images/dani_logo.png") no-repeat;
  margin: 0 auto;
  height: 0;
  padding-bottom: 10%;
  background-size: cover;
}
header h1 {
  text-indent: -1000rem;
}
/*section*/
section {
  user-select: none; 
  touch-callout: none;
}
/*index*/
.intro {
  margin-top: 20px;
  padding: 15px 3vw;
  columns: 2 300px;
  column-gap: 2vw;
}
.intro p {
  font-size: clamp(1.4rem, 0.8vw, 2rem);
  line-height: 140%;
  margin-bottom: 10px;
}
.pens_vert {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 1.5vw 2vh;
}
.pens_vert figure {
  max-width: 100px;
  width: calc(10% - 10px);
  border: solid 1px var(--earth);
  display: flex;
  flex-direction: column;
  margin: 0 5px 1.5vh;
  background: var(--earth);
}
.pens_vert figure img {
  width: 100%;
}
.pens_vert figure figcaption {
  font-size: 1.1rem, ;
  text-align: center;
  margin-top: auto;
  padding: 5px 0;
}
.pens_vert figure figcaption:hover {
  background: var(--blueish_green);
  color: white;
}
.pens_horz {
  display: none;
}
section.history, section.knowledge {
  display: flex;
}
h2.title {
  font-size: calc(1.6rem + 0.2vw);
  text-indent: 0;
  line-height: 150%;
  color: var(--brown);
  margin: 50px 0 25px 0;
  text-transform: uppercase;
}
h2.title + h2 {
  padding-top: 20px;
}
aside {
  flex: 1;
  background: var(--brown);
  padding: 50px 1vw 0 0;
}
aside ul {
  list-style-type: none;
  position: sticky;
  top: 50px;
}
aside ul lh strong {
  display: block;
  font-size: clamp(1.4rem, 0.8vw, 2.4rem);
  line-height: 140%;
  color: var(--gold);
  font-style: italic;
  margin: 15px 0 10px 16px;
}
aside ul li a {
  font-size: clamp(1.4rem, 0.8vw, 2.4rem);
  line-height: 1.4em;
  display: block;
  color: antiquewhite;
  padding: 10px 0 10px 18px;
}
aside ul li a:hover {
  background: var(--gold);
  color: black;
}
main {
  flex: 4;
  padding: 50px 5vw 5vh 3vw;
}
main h1, .value h1 {
  font-family: 'Arizonia', cursive;
  text-align: center;
  color: var(--red);
  font-size: clamp(3rem, 2vw, 4rem);
  letter-spacing: 1px;
  margin: 0 0 25px;
}
main p {
  font-size: clamp(1.2rem, 0.85vw, 2rem);
  line-height: 1.5em;
  margin-bottom: 15px;
  text-indent: 30px;
}
main h2 {
  font-size: clamp(1.6rem, 1vw, 2.4rem);
  margin: 0 0 15px;
  padding-top: 60px;
}
main h3 {
  font-size: clamp(1.4rem, 0.85vw, 2rem);
  margin: 0 0 15px;
  padding-top: 10px;
}
main h1 + p, main h2 + p, main h3 ~ p {
  text-indent: 0;
}
ul.history, ol.knowledge {
  list-style-type: none;
  font-size: clamp(1.2rem, 0.85vw, 2rem);
  line-height: 1.4em;
  margin-bottom: 15px;
}
ul.history lh strong, ol.knowledge lh strong {
  display: block;
  margin-bottom: 10px;
}
ul.history li {
  position: relative;
  display: block;
  padding: 5px 0 0 15px;
}
ul.history li:before {
  content: counter(mycounter, disc);
  color: var(--red);
  position: absolute;
  left: 0;
  top: 5px;
}
ol.knowledge li {
  position: relative;
  display: block;
  padding: 5px 0 0 20px;
  counter-increment: step;
}
ol.knowledge li:before {
  content: counter(step) ".";
  font-weight: 600;
  text-align: right;
  position: absolute;
  top: 5px;
  ;
  left: 3px;
  color: var(--red);
}
/*value of maki-e*/
section.value {
  padding: 50px 5vw 5vh;
}
section.value img {
  float: left;
  width: 15%;
  margin: 0 1vw 0 0;
}
section.value p {
  font-size: clamp(1.4rem, 1vw, 2rem);
  line-height: 1.5em;
  margin-bottom: 15px;
  text-indent: 30px;
}
section.value h1 + p {
  text-indent: 0;
}
/*book*/
section.book {
  padding: 30px 5vw 5vh;
}
.book_intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /*    align-items: flex-start;*/
}
.book_intro div {
  margin: 20px;
}
.book_cover {
  width: 215px;
}
.book_emblems {
  width: 300px;
}
.book_cover img, .book_emblems img {
  width: 100%;
}
.book_intro_copy {
  font-size: calc(1.4rem + 0.5vw);
}
.book_intro_copy em {
  color: var(--red);
}
.book_intro_copy h2 {
  font-size: calc(1.6rem + 0.3vw);
  line-height: 140%;
  margin-bottom: 10px;
}
.book_intro_copy p {
  font-size: calc(1.2rem + 0.3vw);
  line-height: 140%;
}
.nanako {
  padding: 20px 0;
}
.nanako_intro {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.nanako_img {
  width: 185px;
}
.nanako_img img, .nanako_pens img, .nanako_pens img {
  width: 100%;
  display: block;
  margin: 0 auto;
}
.nanako_intro ol {
  width: 300px;
  margin: 10px 2vw;
  font-size: clamp(1.4rem, 0.5vw, 2rem);
  line-height: 1.4em;
}
.nanako_intro ol li {
  margin-bottom: 8px;
}
.nanako_pens {
  width: 385px;
}
.process {
  padding: 20px 1vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 5px;
}
.processTbl {
  width: 45%;
  margin: 0 1vw;
}
.processTbl tr td {
  font-size: calc(1.2rem + 0.3vw);
  line-height: 140%;
  padding: 8px 8px 10px 3px;
  border-bottom: solid 1px #666;
}
.processTbl td img {
  margin-left: 2px;
}
.processTbl td:first-child {
  font-size: calc(6rem + 1vw);
  font-weight: 700;
  color: rgba(194, 181, 155, .4);
  padding: 8px 10px 8px 0;
}
/*figure*/
figure.pens {
  max-width: 720px;
  margin: 0 auto 3vh;
}
figure.pens img {
  width: 90%;
  display: block;
  margin: 0 auto;
}
figure.pens figcaption {
  font-size: calc(1.2rem + 0.3vw);
  font-weight: 600;
  padding: 8px 0;
  text-align: center;
}
figure.pens figcaption span {
  position: relative;
  margin-left: 10px;
  display: none;
}
figure.pens figcaption span:before {
  content: "\00B7";
  position: absolute;
  font-size: calc(1.8rem + 0.8vw);
  left: -20px;
  width: 25px;
}
/*pen category*/
section.pen_category {
  padding: 25px 3vw;
}
section.pen_category h1 {
  font-family: 'Arizonia', cursive;
  text-align: center;
  color: var(--red);
  font-size: clamp(3rem, 3vw, 5rem);
  letter-spacing: 1px;
  margin: 25px 0;
  line-height: 150%;
  font-weight: 400;
}
.pens_intro {
  margin: 20px 1.5vw 30px;
  padding: 15px 0;
}
.pens_intro p {
  font-size: clamp(1.4rem, 1.2vw, 2rem);
  line-height: 150%;
  margin-bottom: 10px;
}
.pens_intro p ~ p {
    text-indent: 30px;
}
.eyedropper {
  display: flex;
  align-items: flex-start;
  margin: 20px 0 50px;
}
.eyedropper > div {
  margin: 0 1.5vw;
}
.eyedropper_img {
  flex: 4;
}
.eyedropper_img img {
  width: 100%;
}
.eyedropper_intro {
  flex: 5;
  margin: 10px 0 0;
}
.eyedropper_intro ol {
  font-size: clamp(1.4rem, 1vw, 2rem);
  line-height: 150%;
}
.eyedropper_intro ol li {
  margin-bottom: 6px;
}
.eyedropper_intro ol ol {
  margin-left: 20px;
}
.pens_img {
  max-width: 580px;
  width: 90%;
}
.pens {
  width: 90%;
  margin: 20px auto 50px;
}
.pens > img {
  max-width: 580px;
  width: 100%;
  display: block;
  margin: 0 auto;
}
.pensTbl {
  width: 100%;
  font-size: calc(1.2rem + 0.05vw);
  line-height: 140%;
  text-align: center;
  border-bottom: solid 2px var(--brown);
  margin-top: 5px;
}
.pensTbl th {
  font-weight: 600;
  padding: 5px 0;
  border-bottom: solid 1px rgba(20, 20, 20);
}
.pensTbl th ~ th {
  border-left: solid 1px var(--brown);
}
.pensTbl td {
  padding: 5px 0 8px;
  font-weight: 400;
  vertical-align: top;
}
.pensTbl td i {
  font-style: normal;
}
.pensTbl tr td:first-child, .pensTbl tr th:first-child {
  font-weight: 700;
  color: var(--red);
}
.nibs_clips {
  padding: 0 5vw;
}
.nibs_clips h2 {
  font-size: clamp(1.6rem, 1vw, 2.4rem);
  margin: 0 0 5px;
  padding-top: 20px;
}
.nibs_clips p, .remarks p {
  font-size: clamp(1.2rem, 1vw, 1.6rem);
  line-height: 150%;
  margin-bottom: 10px;
}
/*Basic Painting*/
.remarks {
  margin: 0 3vw 30px;
}
.remarks h2 {
  font-size: clamp(1.6rem, 1vw, 2.4rem);
  margin: 0 0 5px;
  padding-top: 20px;
}
.remarks p {
  font-size: clamp(1.3rem, 1vw, 1.6rem);
  line-height: 150%;
  margin-bottom: 10px;
}
.remarks ol {
  margin: 20px 0 20px 20px;
}
.remarks ol li {
  font-size: clamp(1.2rem, 1vw, 1.6rem);
  line-height: 150%;
  margin-bottom: 10px;
}
.MK-56Tbl {
  width: 60%;
  margin: 10px 0;
}
.MK-56Tbl tr td {
  font-size: clamp(1.3rem, 1vw, 1.6rem);
  padding: 8px 0 8px 5px;
  font-weight: 400;
  vertical-align: top;
  border-bottom: solid 1px #666;
}
.yen {
  float: left;
  width: 40%;
  margin: 0 1vw 0 0;
}
figure.basic_painting {
  max-width: 720px;
  margin: 20px auto;
}
figure.basic_painting img {
  width: 90%;
  display: block;
  margin: 15px auto;
}
figure.basic_painting figcaption {
  text-align: center;
  font-size: calc(1.2rem + 0.3vw);
}
figure.basic_painting figcaption:first-child {
  font-size: calc(1.8rem + 0.3vw);
  color: var(--red);
  font-weight: 600;
}
.basicTbl {
  width: 80%;
  margin: 20px auto;
  border-bottom: solid 3px var(--earth);
}
.basicTbl caption {
  font-size: calc(0.95rem + 0.3vw);
  font-weight: 600;
  text-align: left;
  caption-side: bottom;
  padding: 12px 0 8px 8px;
}
.basicTbl th {
  font-size: calc(1.1rem + 0.3vw);
  color: var(--red);
  text-align: left;
  padding: 10px 0 10px 8px;
  border-bottom: solid 2px var(--earth);
  vertical-align: top;
}
.basicTbl td {
  font-size: calc(1rem + 0.3vw);
  padding: 10px 0 10px 8px;
  border-bottom: solid 1px silver;
}
.basicTbl td:nth-of-type(4) {
  width: 30%;
}
/*contact*/
section.contact {
  padding: 25px 3vw;
}
section.contact h1 {
  font-family: 'Arizonia', cursive;
  text-align: center;
  color: var(--red);
  font-size: clamp(3rem, 3vw, 5rem);
  letter-spacing: 1px;
  margin: 25px 0;
  line-height: 150%;
  font-weight: 400;
}
section.contact p {
  font-size: calc(1.6rem + 0.3vw);
  line-height: 160%;
  text-align: center;
}
section.contact p a:hover {
  text-decoration-line: underline;
  text-decoration-color: var(--blueish_green);
  text-underline-position: under;
}
/*footer*/
footer {
  background: var(--gold);
  font-size: calc(1rem + 0.2vw);
  text-align: center;
  font-weight: 400;
  display: grid;
  place-items: center;
  padding: 20px 0;
}
footer p a:hover {
  color: antiquewhite;
}
/*Common CSS*/
.dropcap {
  font-family: 'Gabriela', serif;
  font-size: 6rem;
  float: left;
  margin: 20px 5px 5px;
  color: var(--red);
}
.word_wrap {
  white-space: nowrap;
}
hr.hr {
  border: none;
  border-top: dotted 2px var(--red);
  margin-bottom: 10px;
}
cite {
  font-size: clamp(1.2rem, 0.85vw, 2rem);
  line-height: 150%;
  margin-bottom: 10px;
  display: block;
}
.blockcenter {
  display: block;
  margin: 0 auto;
}
.blockcenter_img {
  max-width: 580px;
  width: 85%;
  display: block;
  margin: 0 auto;
}
.floatleft {
  float: left;
  width: 50%;
  margin: 0 1vw 0 0;
}
a[href^="mailto"] {
  color: blue;
}
/*Go to top*/
#gototop {
  width: 25px;
  height: 25px;
  position: fixed;
  right: 15px;
  bottom: 10%;
  display: flex;
  border: solid 1px #bbb;
  border-radius: 5px;
  background: rgba(192, 171, 56, .5);
}
.arrow_top {
  height: 20px;
  width: 15px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: var(--blueish_green);
  margin: auto;
}
@media (max-width: 992px) {
  .our_pens_intro {
    column-gap: 5vw;
  }
  section.value {
    padding: 50px 8vw;
  }
  section.value img {
    width: 25%;
  }
}
@media (max-width: 768px) {
  header {
    background: url("../images/dani_logo_800.png") no-repeat;
    padding-bottom: 13%;
    background-size: contain;
  }
  .pens_vert {
    display: none;
  }
  .pens_horz {
    display: block;
    margin: 20px auto;
  }
  .pens_horz figure {
    max-width: 85%;
    margin: 15px auto;
    border: solid 1px var(--earth)
  }
  .pens_horz figure img {
    width: 100%;
    position: relative;
    z-index: -2;
  }
  .pens_horz figure figcaption {
    font-size: 1.4rem;
    text-align: center;
    background: var(--earth);
    padding: 5px 0;
    margin: 0 -1px -1px;
  }
  .pens_horz figure figcaption:hover {
    background: var(--blueish_green);
    color: white;
  }
  .intro {
    padding: 15px 8vw;
  }
  .pens_intro {
    margin: 20px 5vw 30px;
  }
  .remarks {
    margin: 0 5vw 30px;
  }
  .eyedropper {
    flex-direction: column;
  }
  .eyedropper_intro {
    padding: 15px 5vw;
  }
  .eyedropper_intro > ol {
    margin-top: 25px;
  }
  .our_pens_intro {
    margin: 20px 5vw;
  }
  .eyedropper_img img {
    width: 85%;
    display: block;
    margin: 0 auto;
  }
  .pensTbl {
    width: 95%;
    margin: 20px auto 0;
    font-size: 1.3rem;
  }
  .pensTbl th {
    display: none;
  }
  .pensTbl tr, .pensTbl td {
    display: block;
  }
  .pensTbl td {
    border-bottom: solid 1px rgb(20, 20, 20);
    padding-right: 5px;
  }
  .pensTbl td i {
    display: inline-block;
    width: 70px;
  }
  .pensTbl td br {
    display: none;
  }
  .pensTbl td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }
  .pensTbl td:before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 50%;
    padding-left: 5px;
    font-weight: 600;
    text-align: left;
  }
  .nanako_pens {
    max-width: 430px;
    width: 85%;
    margin: 0 auto;
  }
  .processTbl {
    width: 85%;
    margin: 0 auto;
  }
  .yen {
    width: 50%;
  }
}
@media (max-width: 576px) {
  header {
    background: url("../images/dani_logo_600.png") no-repeat;
    padding-bottom: 17.5%;
    background-size: contain;
  }
  section.history, section.knowledge {
    flex-direction: column;
    gap: 0;
  }
  main {
    padding: 50px 8vw;
  }
  main h2 {
    padding-top: 30px;
  }
  aside {
    padding: 10px 0;
  }
  aside ul {
    list-style-type: none;
    position: static;
    columns: 2 200px;
    column-rule: solid 1px antiquewhite;
  }
  aside ul li a {
    padding: 10px 3vw;
    line-height: 1em;
  }
  .basicTbl th, .basicTbl td, .basicTbl caption {
    padding: 5px 0 5px 5px;
  }
  .remarks {
    margin: 0 8vw 30px;
  }
  .yen {
    float: none;
    width: 80%;
    margin: 0 auto 10px;
    display: block;
  }
  .MK-56Tbl {
    width: 80%;
  }
}