@charset "UTF-8";
/*
Project Name: portfolio_toriyama
Author: Sysbird
*/
/*------------------------------
reset
-----------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/* element
--------------------------------------------- */
a {
  color: #009;
}
a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  margin: 1.8em 0;
  line-height: 1.2;
  font-weight: normal;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.4em;
}

h3 {
  font-size: 1.2em;
}

p {
  line-height: 1.8;
  margin: 0 0 1.8em;
}

blockquote {
  padding: 1.8em 1.8em 0 1.8em;
  margin-bottom: 1.8em;
  background-color: #f6f9f9;
  display: inline-block;
}
blockquote small {
  display: block;
  line-height: 20px;
  color: #999;
}
blockquote small:before {
  content: "— ";
}
blockquote cite:before {
  content: "-";
}
blockquote cite {
  color: #999;
  display: block;
}

table {
  max-width: 100%;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 1.8em;
}
table th,
table td {
  border-bottom: 1px solid #e7e7e7;
  line-height: 1.4;
  padding: 0.9em;
  text-align: left;
  vertical-align: top;
}
table th {
  border-bottom: 2px solid #e7e7e7;
  font-weight: bold;
}

pre {
  border: dotted 1px #CCC;
  padding: 0.9em;
  background: #f6f9f9;
  margin-bottom: 1.8em;
  line-height: 1.4;
}

code {
  background: #f6f9f9;
}

code, kbd, pre, samp {
  font-family: monospace, serif;
}

hr {
  border: 0 none;
  border-top: dotted 1px #555;
  height: 1px;
  margin-bottom: 1.8em;
}

sup, sub {
  font-size: 80%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  top: 0.5ex;
}

sup {
  bottom: 1ex;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

abbr, acronym {
  border-bottom: 1px dotted #555;
  cursor: help;
}

ul,
ol {
  margin: 0 0 1.8em 1em;
  padding: 0 0 0 1em;
  line-height: 1.4;
}
ul li,
ol li {
  padding: 0.225em 0;
}
ul ul,
ul ol,
ol ul,
ol ol {
  margin-bottom: 0;
}

ul {
  list-style: disc;
}
ul ul {
  list-style: circle;
}
ul ul ul {
  list-style: square;
}

ol {
  list-style: decimal;
}
ol ol {
  list-style: upper-alpha;
}
ol ol ol {
  list-style: lower-roman;
}
ol ol ol ol {
  list-style: lower-alpha;
}

dl {
  margin: 0 0 1em 0;
  line-height: 1.8;
}
dl dt {
  font-weight: bold;
}
dl dd {
  margin: 0 1.8em 1.8em;
  padding: 0;
}

del {
  color: #C00;
}

ins {
  background: #ffc;
  text-decoration: none;
}

/* Structure
--------------------------------------------- */
html {
  font-size: 62.5%;
}
html * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
}

.container {
  width: 90%;
  margin: 0 auto;
  padding: 2em 0;
  position: relative;
  *zoom: 1;
}
.container:after {
  content: "";
  display: table;
  clear: both;
}

#content {
  width: 100%;
}

/* Wrapper
-------------------------------------------------------------- */
.wrapper {
  font-family: "Open Sans", "Avenir", "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans", YuGothic, "Yu Gothic", Meiryo, "MS PGothic";
  color: #555;
  background-color: #FFF;
  overflow: hidden;
  font-size: 1.64rem;
  letter-spacing: 0.05em;
}

/* Header
-------------------------------------------------------------- */
#header {
  width: 100%;
  position: relative;
  z-index: 4;
}
#header #branding #site-title {
  font-size: 2.4em;
  text-align: center;
  margin: 0;
}
#header #branding #site-description {
  margin-bottom: 0;
}

/* Images
-------------------------------------------------------------- */
img {
  max-width: 100%;
  height: auto;
}

/* Footer
--------------------------------------------- */
#footer {
  clear: both;
  width: 100%;
  margin: 0 auto;
  background: #f6f9f9;
  position: relative;
  z-index: 1;
}
#footer .copyright {
  margin-bottom: 0;
  text-align: center;
}

/* Section
--------------------------------------------- */
.section {
  z-index: 1;
  position: relative;
  overflow: hidden;
  *zoom: 1;
}
.section:after {
  content: "";
  display: table;
  clear: both;
}

#photos .container {
  width: 100%;
  padding: 0;
  max-width: 2000px;
}
#photos ul {
  list-style: none;
  margin: 0 0 0 -1px;
  padding: 0;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
}
#photos ul li {
  width: calc(33.33% - 1px);
  margin: 0 0 1px 1px;
  padding: 0;
}
#photos ul li:nth-child(-n+2) {
  width: calc(50% - 1px);
}
#photos ul li img {
  display: block;
}

.border-top:before {
  content: "";
  display: block;
  width: 50%;
  height: 1px;
  margin-bottom: 1.8em;
  background: #999;
}

#gmap .container {
  width: 100%;
  padding: 0;
}

#profile img {
  display: block;
  border-radius: 100%;
  max-width: 240px;
  margin: 0 auto;
}

.fancybox-content {
  font-size: 1.4rem;
}
.fancybox-content h2 {
  font-size: 1.6rem;
  margin: 10px 0 5px;
}
.fancybox-content p {
  margin: 0;
}

#back-top {
  background: url("images/back-top.svg") no-repeat center center/10%;
  width: 200px;
  height: 50px;
  margin: 0 auto;
  cursor: pointer;
  text-indent: -119988px;
  overflow: hidden;
  text-align: left;
}

#back-top a {
  display: block;
}

#back-top a span {
  display: none;
}

/* Media queries for responsive design
--------------------------------------------- */
/* --- smart phone --- */
@media print, screen and (max-width: 660px) {
  .fancybox-content {
    padding: 20px;
  }
  .fancybox-slide--html .fancybox-close-small {
    right: -8px;
    top: -8px;
  }
}
/* --- iPad Landscape --- */
@media print, screen and (min-width: 660px) {
  .wrapper {
    font-size: 1.6rem;
  }
  #photos ul li {
    width: calc(20% - 1px);
  }
  #photos ul li:nth-child(-n+4) {
    width: calc(25% - 1px);
  }
}
/* --- PCs --- */
@media print, screen and (min-width: 800px) {
  body,
  .wrapper {
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  .container {
    width: 800px;
  }
  .two-columns {
    display: -webkit-flex;
    display: flex;
  }
  .two-columns .entry-eyecatch {
    width: 43%;
    margin-right: 3%;
    padding-top: 1.8em;
    padding-bottom: 1.8em;
  }
  .two-columns .entry-content {
    margin-top: 0;
    width: 67%;
  }
  body.fixed-header {
    padding-top: 140px;
  }
  body.fixed-header #header {
    position: fixed;
    top: -140px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    transition-duration: 0.7s;
    transition-property: top;
  }
  body.fixed-header #header.show {
    top: 0;
  }
  body.fixed-header #header.show .container {
    padding: 1em 0;
  }
  body.fixed-header #header #menu-wrapper ul#menu-primary-items {
    text-align: right;
  }
  body.fixed-header #header #menu-wrapper ul#menu-primary-items li ul {
    top: 60px;
  }
  body.fixed-header #header #menu-wrapper ul#menu-primary-items > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
    height: 50px;
  }
}
