@charset 'UTF-8';

body {
  padding: 0;
  margin: 0;
  color: #333;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
  line-height: 1.4;
}
a,label {
  cursor: pointer;
}
input:not([type="text"]) {
  cursor: pointer;
}
table, tbody, tr, th, td {
  border-collapse: collapse;
  border-spacing: 0;
  border:0;
  margin: 0;
  padding: 0;
}
p,h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
header, nav, section, article, aside, footer, hgroup {
  display: block;
}

ul {
  padding: 0;
  margin: 0;
}

a {
  color: #27a1dc;
  text-decoration: none;
  word-break: break-word;
}
a:hover {
  text-decoration: underline;
}
#globalheader-container {
  background-color:#27a1dc;
  color:#fff;
  width: 100%;
}
#globalheader-container:hover {
  opacity:1;
}

/* -------------------------------- Layout -------------------------------- */
#container {
  padding-top: 45px;
}
#blog-title,
.header-nav .inner,
.entry-header div,
.entry-header h1,
.entry-content,
.entry-footer,
#box2-inner,
.page-archive #main-inner {
  max-width:720px;
  margin:0 auto;
}
#top-box {
  display: none;
}

/* -------------------------------- Header -------------------------------- */
#title {
  background: url('https://cdn.profile-image.st-hatena.com/users/kudakurage/profile.png') no-repeat center left;
  background-size: 20px;
  position: absolute;
  margin-top: 20px;
  padding-left: 20px;
  font-weight: 100;
  font-size: 15px;
  z-index: 2;
}
#title a {
  color:#27a1dc;
}
.entry-header .entry-title a {
  color:#333;
}
.entry-header .date a {
  margin-left: 3px;
}
.entry-header {
  position: relative;
  padding-top: 20px;
}
.entry-header .date {
  padding-top: 5px;
  text-align: right;
  font-weight: 100;
  font-size: 12px;
}
.entry-header .date .hyphen {
  display: none;
}
.entry-header .date .date-year::after {
  content: "年 ";
}
.entry-header .date .date-month::after {
  content: "月 ";
}
.entry-header .date .date-day::after {
  content: "日";
}
.entry-header .categories {
  display: none;
}
.entry-header .entry-title {
  padding-top:5px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -1px;
}
.entry-header-menu {
  display: none !important;
}

/* -------------------------------- Content -------------------------------- */
.entry-inner {
  background: #fff;
  padding-bottom: 40px;
}
.entry-content {
  padding-top: 30px;
  font-size: 18px;
  line-height: 2;
  color:#333;
}
.entry-content p {
  margin-bottom: 20px;
}
a.keyword {
    color: #999;
}
.entry-content h1,
.entry-content h4 {
  padding-bottom: 10px;
  margin: 80px 0 20px;
  color: #222;
  font-size: 38px;
  font-weight: bold;
  line-height: 1.2;
}
.entry-content h2,
.entry-content h5 {
  margin: 80px 0 20px;
  color: #222;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.2;
}
.entry-content h3,
.entry-content h6 {
  margin: 80px 0 20px;
  color: #222;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
}
.entry-content h1 a,
.entry-content h2 a,
.entry-content h3 a,
.entry-content h4 a,
.entry-content h5 a,
.entry-content h6 a {
  color: #333;
}
.entry-content blockquote,
.entry-content pre {
  clear: both;
  padding:15px 20px;
  margin-bottom: 20px;
  border:1px solid #eee;
  background: #f9f9f9;
  border-radius: 3px;
}
.entry-content pre {
  overflow: auto;
  overflow-y: hidden;
}
.entry-content blockquote p:last-child {
  margin-bottom: 0;
}
.entry-content ul,
.entry-content ol {
  padding-left:30px;
  margin-bottom: 20px;
}
.entry-content .table-of-contents {
  font-size: 15px;
  padding:10px 20px 20px 40px;
  margin-bottom: 20px;
  border:1px solid #eee;
  background: #f9f9f9;
}
.entry-content .table-of-contents:before {
  content: 'INDEX';
  font-size: 28px;
  font-weight: bold;
  margin-left: -20px;
}
.entry-content .table-of-contents a {
  color: #666;
}
.entry-content img {
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.entry-content th,
.entry-content td {
  padding: 5px 10px;
  border:1px solid #ddd;
}
.entry-content th {
  background: #f0f0f0;
}
.entry-content .image-right {
  clear: both;
  float:right;
  margin-left:20px;
  margin-bottom:10px;
}
.entry-content a.hatena-fotolife {
  clear: both;
  display: block;
  text-align: center;
}
.entry-content .hatena-asin-detail {
  line-height: 1.6;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}
.entry-content .hatena-asin-detail .hatena-asin-detail-image {
  float: none;
  margin:0;
}
.entry-content .hatena-asin-detail > a {
  float: left;
  display: block;
  width: 160px;
  height: 160px;
  padding: 5px;
  border: 1px solid #f6f6f6;
  background: #fff;
  text-align: center;
  line-height: 160px;
  vertical-align: middle;
}
.entry-content .hatena-asin-detail .hatena-asin-detail-info,
.entry-content .hatena-asin-detail .hatena-asin-detail-foot {
  margin-left: 185px;
}
.entry-content .hatena-asin-detail .hatena-asin-detail-title {
  margin: 5px 0;
  font-size: 18px;
}
.entry-footer-section .author,
.permalink.pager,
.entry-footer-time,
.pager.autopagerize_insert_before {
  display: none;
}
.social-buttons {
  margin-top: 10px;
}

/* -------------------------------- Comment -------------------------------- */
.comment-box .comment {
  margin-top: 10px;
  list-style: none;
}
.comment-box .entry-comment {
  padding:15px 0;
  border-top: 1px dotted #ddd;
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}
.comment-box .entry-comment:last-child {
  border-bottom: 1px dotted #ddd;
}
.comment-box .comment-user-name {
  margin-bottom: 10px;
  color:#333;
  font-weight: bold;
}
.leave-comment-title {
  display: inline-block;
  padding:10px 15px;
  margin-top: 10px;
  border:1px solid #ddd;
  font-size: 13px;
  border-radius: 5px;
}

/* -------------------------------- Footer -------------------------------- */
#box2 {
  position: relative;
  padding: 50px 0 80px;
  background: #f0f0f0;
}
#box2 a {
  color: #666;
}
#box2 .hatena-module-title a {
  color:#333;
}
.hatena-module-profile {
  float: left;
  width:300px;
}
.hatena-module-profile .hatena-module-title {
  display: none;
}
.hatena-module-profile .hatena-module-body > span,
.hatena-module-profile .hatena-module-body > div {
  display: block;
  margin-left: 80px;
  clear:none;
}
.hatena-module-profile .hatena-module-body > span {
  padding-top: 1px;
}
.hatena-module-profile .hatena-module-body .id:before {
  display: block;
  content:'Kazuyuki Motoyama';
  color: #333;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
}
.hatena-module-profile .hatena-module-body .id a {
  font-size: 12px;
}
.hatena-module-profile .profile-icon {
  float: left;
  border: 1px solid #aaa;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
}
.hatena-module-profile .hatena-module-body .profile-about {
  display:none;
}
.hatena-follow-button-box.btn-subscribe {
  margin-top: 5px;
  text-shadow:none;
}
.hatena-module .profile-html {
  position: absolute;
  width:300px;
  margin-top: 75px;
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}
.hatena-module .profile-html p {
  margin-bottom: 15px;
}
.hatena-module-recent-entries {
  min-height: 260px;
  margin-left: 320px;
  padding-left: 20px;
  font-size: 14px;
}
.hatena-module-recent-entries .hatena-module-title {
  font-size: 18px;
  font-weight: bold;
}
.hatena-module-recent-entries ul,
.hatena-module-recent-entries li {
  list-style: none;
}
.hatena-module-recent-entries li {
  margin:15px 0;
}
.hatena-module .copyright {
  position: absolute;
  bottom:40px;
  width: 640px;
  color: #999;
  font-size: 12px;
  text-align: center;
  z-index: 2;
}
#footer {
  display: none;
}

/* -------------------------------- Archive -------------------------------- */
.page-archive #blog-title:after {
  display: block;
  content:'Entry Archive';
  padding-top:50px;
  color: #333;
  font-size: 40px;
  line-height: 1.3;
}
.page-archive #main #main-inner section h1 a {
  color:#27a1dc;
}
.page-archive #main-inner {
  padding:15px 0 30px;
}
.page-archive #main section {
  padding: 25px 0 35px;
  border-bottom: 1px dotted #ddd;
  line-height: 1.2;
}
.page-archive #main section h1 {
  margin-bottom: 20px;
}
.page-archive #main section h1 a {
  font-size: 18px;
  color: #006DBE;
}
.page-archive #main section .date {
  float: right;
  margin-top: 5px;
}
.page-archive #main section .date a {
  font-size: 12px;
  margin-bottom: 5px;
  font-weight: normal;
  color:#999;
}
.page-archive #main section .entry-description {
  font-size: 13px;
  line-height: 1.8;
}
.page-archive #main ul,
.page-archive #main li {
  list-style: none;
}
.page-archive #main .categories,
.page-archive #main .social-buttons {
  display: none;
}
.page-archive .pager.autopagerize_insert_before {
  display: block;
  padding-bottom: 30px;
  text-align: center;
}
.page-archive .pager.autopagerize_insert_before span {
  margin:10px;
}

@media screen and (max-width: 640px) {
  #blog-title,
  .header-nav .inner,
  .entry-header div,
  .entry-header h1,
  .entry-content,
  .entry-footer,
  #box2-inner,
  .page-archive #main-inner {
    width: 90%;
    padding-left:5%;
    padding-right:5%;
  }
  .hatena-module .copyright {
    width: 90%;
  }
  .entry-content img {
    max-width: 100%;
  }
  .header-nav a {
    padding: 0 10px;
    font-size: 10px;
    font-weight: bold;
  }
  .hatena-module-profile {
    float: none;
    width: auto;
  }
  .hatena-module .profile-html {
    position: static;
    width: auto;
    margin-top: 20px;
  }
  .hatena-module-recent-entries {
    margin: 0;
    padding: 30px 0 0;
  }
}

/* -------------------------------- About -------------------------------- */
.page-archive #blog-title:after {
  display: block;
  content:'About This Blog';
  padding-top:50px;
  color: #333;
  font-size: 40px;
  line-height: 1.3;
}
.page-about dt {
  float: left;
  width: 160px;
  margin: 0;
}
.page-about dd {
  margin: 20px 0;
  border-bottom: 1px solid #ddd;
}
