@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  line-height: 150%;
  color: #000;
  background: #fff;
}

body {font-family: "Noto Sans JP", sans-serif; font-weight: 300;}
p {line-height: 160%;}
h1, h2, h3 {line-height: 125%; margin: 0;}
h1 {font-size: 1.3em; font-weight: 700; margin: 20px 0 20px 0; color: #3B444B;}
h2 {font-size: 1.1em; font-weight: 500; margin: 20px 0 10px 0; color: #3B444B;}
h3 {font-size: 1.0em; font-weight: 400; margin: 20px 0 10px 0; color: #3B444B;}
span.hide { display:none; }

main {display: block;}
#content a {color: #4682b4;text-decoration: none;}
#content a:hover {color: #284857;}

.title {
  font-weight: 400;
}

i.journal {
  font-weight: 400;
}

ul li {
  margin-top: 5px;
  margin-bottom: 5px;
}

#container {
  max-width: 750px;
  margin: 0 auto;
  padding: 5px 35px 15px 35px;
}
#sidebar {
  display: block;
  max-width: 740px;
  margin: 0px auto 0px auto;
  padding: 50px 0px 13px 0px;
}
#sidebar #portrait-side img {
  display: inline;
  width: 300px;
  height: auto;
}
#sidebar #portrait-top img {
  display: inline;
  max-width: 350px;
  max-height: 350px;
  height: auto;
  overflow: hidden;
  border-radius: 175px;
  -moz-border-radius: 175px;
  -webkit-border-radius: 175px;
}
#sidebar #portrait-top{
  display: block;
  padding: 0;
  text-align: center;
}
#sidebar #portrait-side{
  display: none;
  padding: 0;
  text-align: right;
}
#footer {
  font-size: 90%;
  font-weight: 300;
  text-align: center;
  color: rgb(180,180,180);
  display: block;
  padding: 0;
  margin: 40px auto 0px auto;
  bottom: 0;
  width: 100%;
}
#footer a {color: rgb(180,180,180); text-decoration: none;}

figcaption.imgcap {
  display: none;
}
.pswp__caption__center {
  font-size: 90%;
  font-weight: 300;
  text-align: center;
}
span.photocredit {
  font-size: 70%;
  font-weight: 200;
  color: rgb(180,180,180);
  display: block;
  padding: 0;
  margin: 0;
  bottom: 0;
}

@media screen and (min-width: 1020px) and (max-width: 1960px) {
  #container {
    position: absolute;
    width: 62%;
    left: 38%;
    max-width: 750px;
    margin-top: 40px;
    padding: 7px 30px 30px 40px;
    overflow-x: hidden;
    overflow-y: hidden;
  }
  #sidebar {
    position: fixed;
    width: 38%;
    height: 90%;
    margin-top: 35px;
    padding: 32px 43px 0 0;
    border-right: rgb(220,220,220) 1px solid;
    overflow: auto;
  }
  #sidebar #portrait-side{
    display: block;
  }
  #sidebar #portrait-top{
    display: none;
  }
}

@media screen and (max-width: 480px) {
  #container {
    max-width: 750px;
    margin-top: 0px;
    padding: 5px 10px 30px 15px;
    overflow-x: hidden;
    overflow-y: hidden;
  }
  #sidebar {
  display: block;
  max-width: 740px;
  margin: 0px auto 0px auto;
  padding: 0px 0px 0px 0px;
  }
  #sidebar #portrait-side{
    display: none;
  }
  #sidebar #portrait-top{
    display: block;
  }
  #sidebar #portrait-top img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
  }
}
