body {
  font-size: 100%;
  font-family: "Palatino Linotype", Palatino, Meiryo;
  background-image: url("img/b082.jpg");
  color: black;
  margin: 0;
  padding: 0; }

table {
  font-size: 100%; }

a {
  color: #a30d00;
  text-decoration: none;
  background-color: transparent; }
  a:hover {
    background-color: rgba(76, 229, 137, 0.2); }

img {
  border: none;
  vertical-align: middle; }

p {
  margin: 0 0 0.75em 0;
  line-height: 1.5em; }

img {
  border: none;
  margin: 0; }

img.photo2 {
  position: relative;
  z-index: 1;
  left: -50px;
  transform: rotate(8deg);
  border-width: 4px 4px 4px 4px;
  border-color: white;
  border-style: solid;
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3); }

img.photo1 {
  position: relative;
  left: 4em;
  /* transform: rotate(5deg); */
  border-width: 4px 4px 4px 4px;
  border-color: pink;
  border-style: solid;
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3); }

figure {
  margin: 10px 10px 10px 10px;
  clear: both; }

figcaption {
  font-size: 80%;
  text-align: center;
  padding: 0 0.5em 0 0.5em;
  background: rgba(255, 192, 192, 0.3); }

.shadow {
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3); }

.mark {
  font-weight: normal;
  border-radius: 4px;
  padding: 0px 4px 0px;
  text-align: center;
  text-decoration: none;
  color: #0a0808;
  background: rgba(242, 210, 244, 0.5);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); }

.btn {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  display: inline-block;
  padding: 1px 4px;
  margin-bottom: 0;
  color: #333333;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  vertical-align: middle;
  cursor: pointer;
  background-color: #f5f5f5;
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border: 1px solid #cccccc;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-bottom-color: #b3b3b3;
  border-radius: 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); }

hr {
  border: 0;
  height: 1px;
  color: #a06400;
  background-color: #a06400;
  margin: 0.5em 0 1em 0; }

h1, h2, h3, h4, h5, h6 {
  color: #571700;
  font-family: Arial, Helvetica, sans-serif, Verdana, Lucida;
  margin: 0.75em 0 0.25em 0; }
  h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: black !important;
    text-decoration: none; }

h1 {
  font-size: 140%;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  padding-left: 10%;
  padding-top: 4px;
  background: transparent;
  border-bottom: #852828 2px solid;
  font-weight: bold;
  color: #502000;
  margin-bottom: 1em; }

h2 {
  position: relative;
  z-index: -1;
  font-size: 120%;
  font-weight: bold;
  color: #111;
  position: relative;
  background: linear-gradient(to right, #f7caf3, rgba(247, 239, 247, 0));
  line-height: 1;
  margin: 30px 0px 10px -14px;
  padding: 14px 5px 10px 50px;
  border-radius: 12px 0 0 12px; }

h2:before {
  content: "";
  position: absolute;
  background: #f9eaf5;
  top: 50%;
  left: 14px;
  margin-top: -10px;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  box-shadow: 1px 1px 1px #777 inset; }

h3 {
  margin-top: 1.2em;
  font-size: 115%;
  font-weight: bold;
  border-bottom: 2px solid #e7cb8f;
  padding-left: 0.3em;
  text-shadow: 1px 1px 0px rgba(171, 101, 9, 0.32); }

h4 {
  margin-top: 0.8em;
  margin-left: 8px;
  font-size: 105%;
  border-left: 6px solid #c0b05c;
  padding-left: 0.8em;
  border-radius: 15px 0px 0px 5px; }

h5 {
  font-size: 100%;
  border-bottom: none; }

ul {
  line-height: 1.5em;
  padding: 0; }

ol {
  line-height: 1.5em;
  padding: 0; }

li {
  margin-bottom: 0.5em; }

dt {
  font-family: Arial;
  font-weight: bold;
  border-radius: 4px;
  border: 1px solid #74b807;
  padding: 2px 5px;
  text-decoration: none;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#89c403', endColorstr='#77a809');
  background-color: #89c403;
  color: #ffffff;
  display: inline-block;
  text-shadow: 1px 1px 0px #528009;
  box-shadow: inset 1px 1px 0px 0px #a4e271; }

dd {
  margin-bottom: 1em; }

abbr, acronym, .explain {
  border-bottom: 1px dotted black;
  color: black;
  background-color: transparent;
  cursor: help; }
  abbr .explain, acronym .explain, .explain .explain {
    border-bottom: none; }

q {
  font-family: Baskerville, Georgia, serif;
  font-style: italic;
  font-size: 120%; }

/*
blockquote {
  padding-left: 0.5em;
  margin-left: 0;
  border-left: 4px solid #a06400;
  color: #76797c;
}
*/
blockquote {
  margin: 16px 0 0 0;
  padding: 10px 10px 9px 10px;
  width: 521px;
  color: #909090;
  font-size: 82%;
  line-height: 126%;
  letter-spacing: 0.01em;
  background: #f6f6f6;
  border-radius: 5px;
  box-shadow: inset 1px 1px 0 rgba(109, 109, 109, 0.5); }

del {
  color: red;
  text-decoration: line-through; }

#content {
  margin: 0 auto 3em auto;
  min-width: 20em;
  margin-top: 2.5em;
  margin-left: 7%;
  margin-right: 7%;
  margin-bottom: 3em; }
  #content a:target {
    text-decoration: none;
    background-color: #fd7 !important; }
  #content h5, #content h6 {
    color: #76797c; }
  #content ul {
    padding: 0;
    line-height: 1.4;
    margin: 0 0 0.5em 1.5em;
    list-style: none; }
    #content ul > li {
      list-style-type: disc;
      margin-bottom: 0em; }
      #content ul > li > ul > li {
        list-style-type: circle; }
        #content ul > li > ul > li > ul li {
          list-style-type: square; }
    #content ul li.past {
      color: #cccccc; }
      #content ul li.past a {
        color: #eccdcc; }
  #content ol {
    line-height: 1.4;
    padding: 0; }
  #content dd {
    line-height: 1.4;
    margin-bottom: 0em; }
  #content a[href^="http:"] {
    text-decoration: none; }
  #content a[href^="https:"] {
    text-decoration: none; }
  #content a[href^="http:"]:hover {
    background-color: rgba(76, 229, 137, 0.2); }

table {
  border-collapse: collapse;
  border-spacing: 0;
  border-left: 1px solid #a06400;
  border-bottom: 1px solid #a06400;
  font-size: 100%;
  margin: 1em 0em 1em 0em; }
  table th {
    background: #e6d7a0;
    border-top: 1px solid #a06400;
    border-bottom: 1px solid #a06400;
    border-right: 1px solid #a06400;
    font-weight: normal;
    padding: 0.25em 0.5em;
    text-transform: none; }
  table td {
    border-right: 1px solid #a06400;
    padding: 0.25em 0.5em; }
    table td a label {
      cursor: pointer; }
  table a {
    text-decoration: none; }
    table a:hover {
      text-decoration: underline; }
  table img {
    vertical-align: middle; }

table tr:nth-child(odd) {
  background-color: #f3ecda; }

header {
  background: #d8bfd8;
  font: 100% Meiryo, sans-serif, Verdana, Arial, Helvetica, Lucida;
  font-weight: bold; }

footer {
  background-color: #ffc0cb;
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
  border-bottom: solid orchid 4px;
  float: none;
  line-height: 1.2em;
  margin: 2em 0em 1em 0em;
  padding: 0;
  padding-right: 7%;
  text-align: right; }
  footer p {
    margin: 0.25em 0; }
  footer a {
    text-decoration: none;
    color: #802a08;
    border: none; }
    footer a:visited {
      color: #802a08; }
    footer a:hover {
      text-decoration: underline; }

ul#nav {
  font: bold 100%;
  width: 100%;
  background: #d8bfd8;
  padding: 10px 0 0px 0;
  margin: 0 0 0 7%;
  text-align: left; }
  ul#nav li {
    display: inline; }
    ul#nav li a {
      color: black;
      padding: 6px 8px 6px 8px;
      margin-right: 15px;
      text-decoration: none; }
  ul#nav li a:hover, ul#nav li.selected a {
    color: black;
    background: linear-gradient(top, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.16) 100%);
    box-shadow: 0 0 5px #595959;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    padding-top: 12px;
    padding-bottom: 10px; }
  ul#nav li a:hover {
    background-color: rgba(226, 229, 207, 0.2); }
  ul#nav li.headings {
    position: absolute;
    right: 10%;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    top: 6px;
    color: brown; }

#header-ribbon {
  border-top: orchid 4px solid;
  margin-top: 0px;
  background: linear-gradient(#ffc0cb 80%, #ff69b4 100%);
  padding-top: 3px;
  padding-bottom: 0;
  padding-left: 2em;
  padding-right: 2em;
  text-transform: none;
  line-height: 1.4em; }
  #header-ribbon a {
    text-decoration: none; }

#subnav {
  margin: 3px 1em 0 1em;
  text-align: left; }
  #subnav li {
    font-weight: 100;
    display: inline; }
    #subnav li a {
      border-top-left-radius: 3px;
      border-top-right-radius: 3px;
      background-color: transparent;
      padding-top: 1px;
      padding-right: 10px;
      padding-left: 10px;
      color: #0c6600;
      text-decoration: none;
      text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); }
      #subnav li a:hover {
        background-color: #fdffca;
        border-left: 1px white solid;
        border-top: 1px white solid;
        border-right: 1px #a69770 solid; }
  #subnav li.selected a {
    border: 1px solid #a06400;
    border-top: 1px white solid;
    border-bottom: transparent 1px solid;
    border-left: 1px white solid;
    border-right: 1px #a69770 solid;
    color: #5e0800;
    font-weight: bold;
    background-color: #feffec; }

#lang_selector {
  margin: 0 7% 0 1em;
  float: right;
  text-align: right; }
  #lang_selector li {
    display: inline; }
    #lang_selector li a {
      color: #3B7900;
      font-weight: bold;
      text-decoration: none; }
  #lang_selector li.current_lang a {
    font-weight: normal;
    color: #999900; }

ul#markdown-toc {
  position: relative;
  margin: 0 0.6em 1em 1em;
  padding: 1em 0.8em 0.5em 0px;
  color: black;
  background: #ffc;
  float: right;
  width: 30%;
  min-width: 200px;
  max-width: 400px;
  font-size: 90%;
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);
  border-bottom-right-radius: 60px 5px; }
  ul#markdown-toc a {
    background: none;
    padding: 0;
    text-decoration: none; }
    ul#markdown-toc a:hover {
      background-color: rgba(76, 229, 137, 0.2); }
  ul#markdown-toc > li {
    font-weight: 600;
    margin-left: 0.8em;
    list-style-type: none; }
    ul#markdown-toc > li > a {
      background: rgba(255, 192, 192, 0.3);
      font-size: 110%;
      padding: 0 3em 0 0.5em; }
    ul#markdown-toc > li > ul {
      margin-top: 0.5em; }
      ul#markdown-toc > li > ul > li {
        list-style-type: decimal; }
        ul#markdown-toc > li > ul > li > ul {
          margin-left: 0.8em; }
          ul#markdown-toc > li > ul > li > ul > li {
            list-style-type: disc; }
  ul#markdown-toc ul li {
    font-weight: 100; }

ul#markdown-toc:after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0px;
  bottom: 15px;
  width: 100px;
  height: 20px;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 2px 15px 5px rgba(0, 0, 0, 0.4);
  transform: matrix(-1, -0.1, 0, 1, 0, 0); }
