body{margin:0;padding:0;color:#454545;background-color:#f3f3f3;font-family:Trebuchet MS,Arial,Helvetica,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,メイリオ,Meiryo,ＭＳ Ｐゴシック,MS PGothic,sans-serif;-moz-transition:all 1s ease;-webkit-transition:all 1s ease}a{color:#256fba;text-decoration:none;-webkit-transition:.3s ease;-webkit-transition-property:opacity,border,color,background;-moz-transition:.3s ease;-moz-transition-property:opacity,border,color,background;-o-transition:.3s ease;-o-transition-property:opacity,border,color,background;transition:.3s ease;transition-property:opacity,border,color,background}a:hover{text-decoration:underline}a:visited{color:#7d9ab7}pre{padding:10px;background:#fafafa;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;box-shadow:inset 0 0 5px #0003}#globalheader-container{position:sticky;top:0;background-color:#f3f3f3}#container{text-align:center;margin:20px auto;width:960px;padding:0 0 30px;background:#fff}#blog-title{text-align:center;margin:0 0 50px}#blog-title h1{color:#454545;text-shadow:0 1px 0 white;font-size:34px;padding:50px 30px 5px;font-weight:700;margin:0}#blog-title h1 a{color:#454545}#blog-title h1 a:hover{color:#256fba;text-decoration:none}header h2{color:#454545;text-shadow:0 1px 0 white;font-size:13px;font-weight:700;margin:0}#top-box,#top-editarea,#bottom-editarea{text-align:left;font-size:13px}#top-editarea,#bottom-editarea{margin:0 30px}#navigation{width:1000px;margin:0 auto}#navigation ul{list-style:none;padding:0;margin:0}#navigation ul li{font-size:90%;float:left;line-height:2}#navigation ul li a{color:#454545;text-decoration:none;padding:8px 15px;border-right:1px solid #ddd}#navigation ul li a:hover{color:#fff;font-weight:700;background:-moz-linear-gradient(top,#3888da 0%,#256fba 100%)}#navigation ul:after{content:".";display:block;clear:both;height:0;visibility:hidden}#top-box{margin:20px 130px}#content{padding:0 30px 30px}#content-inner{text-align:left}#wrapper{width:720px;float:left}#main{float:right;width:560px;padding:0 30px;min-height:100px}#main:after{content:".";display:block;height:0;font-size:0;clear:both;visibility:hidden}#box1{float:right;width:100px;-moz-transition:all 1s ease;-webkit-transition:all 1s ease}#box2{width:180px;float:left;-moz-transition:all 1s ease;-webkit-transition:all 1s ease;text-align:left}#bottom-box{clear:both}#content:after{content:" ";display:block;height:0;visibility:hidden;clear:both}section.day{margin-bottom:40px}.entry{margin:0 0 48px;position:relative;width:100%;-moz-transition:all 1s ease;-webkit-transition:all 1s ease;word-wrap:break-word}.entry-header{padding:0;margin:0;position:relative}.date{width:100px;border-right:1px solid #DDD;margin:0;font-size:16px;position:absolute;left:-130px;top:0;font-weight:400;height:35px;line-height:35px}.date a{color:#454545}.date-last-updated{color:#454545;font-size:13px;margin-left:-3px;display:inline-block}.entry-title{text-align:left;margin:0;font-size:120%;line-height:35px}.entry-title a{position:relative}.categories a{color:#666;font-size:11px;background:#f5f5f5;padding:3px 10px;white-space:nowrap}.categories a:hover{text-decoration:none;background:#ebebeb;color:#454545}.entry-header p{padding:0;margin:0}.entry-header-menu a{display:block;font-size:12px;font-weight:700;padding:5px 25px;background:#454545;font-size:13px;position:absolute;left:480px;top:5px;color:#f5f5f5}.entry-header-menu a:hover{background:#4486c9;text-decoration:none}.entry .entry-category-area{padding:5px 0;margin:0;color:#aaa;font-size:70%}.entry .entry-category a{color:#454545;margin-left:5px;background:#fff;padding:3px 6px;border:1px solid #ddd;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px}.entry .entry-category :hover{color:#fff;text-decoration:none;background:-moz-linear-gradient(top,#3888da 0%,#256fba 100%);border:1px solid #256fba}.entry-footer{display:block;margin-top:1em;color:#454545;font-size:13px}.entry-footer .social-buttons{margin:0 0 10px}.entry-footer-section{color:#aaa;padding-bottom:8px;margin:0}.pager{display:inline;margin-right:10px}.pager a{font-size:12px;font-weight:700;padding:5px 25px;background:#bbb;font-size:13px;color:#f5f5f5;line-height:1.5;word-wrap:break-word;display:inline-block;max-width:200px}.pager a:hover{background:#4486c9;text-decoration:none}.entry-content{font-size:14px;line-height:1.9;margin:.5em 0}.entry-content img{max-width:560px}.entry-content p{margin:.8em 0}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{margin:1em 0 .5em}.entry-content h1{font-size:160%}.entry-content h2{font-size:150%}.entry-content h3{font-size:140%}.entry-content h4{font-size:120%}.entry-content h5{font-size:110%}.entry-content h6{font-size:100%}.entry-content h1,.entry-content h2,.entry-content h3{border-bottom:1px dotted #999}.entry-content ul,.entry-content ol{margin:0 0 0 1.5em;padding:0}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6,.footnote-number{scroll-margin-top:56px}.entry blockquote{padding:10px;margin:1em 0;border:1px solid #ddd;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px}.entry blockquote p{margin-top:0;margin-bottom:0}.entry-content table{border-collapse:collapse;border-spacing:0}.entry-content table th,.entry-content table td{border:1px solid #ddd;padding:5px 10px}.entry-content table th{background:#fafafa}a.keyword{color:#454545;text-decoration:none;border-bottom:1px solid #DEDEDE}pre.lang-aa{font-size:14px;line-height:15px}.entry-comment{border-bottom:1px solid #ddd}.entry-comment:nth-child(1){border-top:1px solid #ddd}.comment{margin:0 0 15px;padding:0;font-size:13px}.comment li{list-style:none;padding:8px 0}.comment-user-name{font-weight:700;margin:0}.comment-content p{line-height:1.7}.comment-content p{margin:.5em 0;word-wrap:break-word}.comment-metadata{display:inline}.comment-metadata,.comment-metadata a{color:#aaa}.leave-comment-title{font-size:12px;font-weight:700;padding:5px 15px;display:inline-block;*display: inline;*zoom: 1;background:#f5f5f5;border:1px solid #f5f5f5;-webkit-transition:.3s ease;-webkit-transition-property:opacity,border,color,background;-moz-transition:.3s ease;-moz-transition-property:opacity,border,color,background;-o-transition:.3s ease;-o-transition-property:opacity,border,color,background;transition:.3s ease;transition-property:opacity,border,color,background}.leave-comment-title:hover{text-decoration:none;border:1px solid #7D9AB7}.hatena-module{margin-bottom:40px;font-size:13px}.hatena-module-title,.hatena-module-title a,.hatena-module-title a:hover,.hatena-module-title a:visited{text-align:left;font-size:16px;font-weight:400;margin-bottom:5px;padding-bottom:3px;color:#454545}.hatena-module-body ul{margin:0;padding:0;list-style:none;line-height:1.5}.hatena-module-body ul li{padding:.7em 0;border-bottom:1px solid #ddd}.hatena-module-body ul li.archive{border:none}.hatena-module-profile .id{display:block;line-height:2}.profile-icon{border:1px solid #ccc}.hatena-module-profile .profile-description{margin:0 0 5px;line-height:1.5}form.search-form{margin-top:10px}form.search-form input{border:1px solid #ccc;vertical-align:middle}.search-form .search-module-input{width:130px;background:-moz-linear-gradient(top,#eee 0%,#eee 50%,#fff 100%);padding:3px 8px;margin:0;font-size:12px;border-radius:12px;-webkit-border-radius:12px;-moz-border-radius:12px}.search-form .search-module-button{height:23px;width:23px;border:none;text-indent:-999px;margin-left:-3px;*margin-left: -5px;cursor:pointer;background:#999 url(https://cdn.blog.st-hatena.com/images/theme/search_w.png?version=d521df40822702b2798181e2322e97) 50% 50% no-repeat;border-radius:12px;-webkit-border-radius:12px;-moz-border-radius:12px}#footer-box{clear:both}#footer-area1,#footer-area2,#footer-area3,#footer-area4{width:220px;float:left}#footer-area1,#footer-area2,#footer-area3{margin-right:40px}#footer-area4:after{content:"";display:block;height:0;visibility:hidden;clear:both}#footer{clear:both;text-align:center;padding:10px 0;font-size:small}#footer a{color:#454545}#footer a:hover{color:#256fba;text-decoration:none}.hatena-embed.hatena-fotolife,.hatena-embed.twitpic{padding:10px 10px 30px;margin:1em 0;background:transparent;display:inline-block;border:1px solid #dfdfdf;box-shadow:0 1px 5px #00000029;background:#fff;text-align:center}.hatena-embed.hatena-fotolife{background:#fff url(https://cdn.blog.st-hatena.com/images/theme/hatena-embed/embed-fotolife.png?version=d521df40822702b2798181e2322e97) no-repeat right bottom}.hatena-embed.twitpic{padding:10px}.hatena-embed.hatena-fotolife .hatena-embed-image,.hatena-embed.twitpic .hatena-embed-image{display:inline-block;max-width:600px}.hatena-embed.hatena-fotolife .hatena-embed-body,.hatena-embed.hatena-fotolife .hatena-embed-body a,.hatena-embed.twitpic .hatena-embed-body,.hatena-embed.twitpic .hatena-embed-body a{text-align:center;font-family:Homemade Apple,cursive;color:#454545;font-size:16px;margin-top:10px}.hatena-embed.hatena-coco,.hatena-embed.foursquare{margin:1em 0;box-shadow:0 1px 5px #00000029}.hatena-embed.hatena-coco{border:1px solid #e2d279;padding:20px 30px;background:#faf9e6 url(https://cdn.blog.st-hatena.com/images/theme/hatena-embed/embed-coco.png?version=d521df40822702b2798181e2322e97) no-repeat right bottom}.hatena-embed.hatena-coco .hatena-embed-image,.hatena-embed.foursquare .hatena-embed-image{width:100px;height:100px}.hatena-embed.foursquare{border:1px solid #C1D5DB;padding:20px 30px;background:#e6eff2 url(https://cdn.blog.st-hatena.com/images/theme/hatena-embed/embed-4sq.png?version=d521df40822702b2798181e2322e97) no-repeat right bottom}.hatena-embed.hatena-bookmark{padding:15px 15px 15px 70px;margin:1em 0;background:transparent;border:1px solid #dfdfdf;box-shadow:0 1px 5px #00000029;background:#fff url(https://cdn.blog.st-hatena.com/images/theme/hatena-embed/embed-bookmark.png?version=d521df40822702b2798181e2322e97) no-repeat 10px top;position:relative}.hatena-embed.hatena-bookmark a{text-decoration:underline}.hatena-embed.hatena-bookmark .hatena-embed-image{max-height:50px}.hatena-embed.hatena-haiku{padding:15px 15px 15px 70px;margin:1em 0;background:transparent;border:1px solid #dfdfdf;box-shadow:0 1px 5px #00000029;background:#fff url(https://cdn.blog.st-hatena.com/images/theme/hatena-embed/embed-haiku.png?version=d521df40822702b2798181e2322e97) no-repeat 5px 5px}.hatena-embed.hatena-monolith{width:580px;padding:15px;margin:1em 0;background:transparent;border:1px solid #dfdfdf;box-shadow:0 1px 5px #00000029;background:#fff url(https://cdn.blog.st-hatena.com/images/theme/hatena-embed/embed-monolith.png?version=d521df40822702b2798181e2322e97) no-repeat right bottom}.hatena-embed.hatena-monolith .hatena-embed-image{display:block;float:left;max-width:98px;border:1px solid #dfdfdf}.hatena-embed.hatena-monolith .hatena-embed-body{float:left;width:470px;margin-left:10px}.hatena-embed.hatena-monolith:after{content:"";display:block;height:0;visibility:hidden;clear:both}.hatena-embed.twitter{padding:10px 0;margin:1em 0;border-bottom:1px dotted #757575;border-top:1px dotted #757575}.hatena-embed.atnd{padding:10px 0;margin:1em 0;border-bottom:1px dotted #757575;border-top:1px dotted #757575;font-family:PT Sans Caption,Helvetica,ヒラギノ角ゴ Pro W3,HiraKakuProN-W3,Hiragino Kaku Gothic Pro,メイリオ,Meiryo,ＭＳ Ｐゴシック,sans-serif}.hatena-embed-detail.atnd-detail{font-size:20px;font-weight:700;color:#262626}.hatena-embed-detail.atnd-detail:hover{color:#ea1f00;text-decoration:none}.hatena-embed.atnd .content-body{font-size:12px;color:#222}.page-about dt{font-size:16px;font-weight:700}.page-about dd{margin-left:0;margin-bottom:30px}.page-about .etnry-content img.profile-icon{height:16px;width:16px}.page-archive .date{position:static;border:none}.page-archive .archive-entries .entry-title{margin:0 0 .3em;line-height:1.5}.page-archive .archive-entries section{margin-bottom:30px}.page-archive .archive-entries .categories{margin-bottom:10px}.page-archive .archive-entries p{font-size:14px;line-height:1.5}


/* layout */
#container {
  width: 1010px;
}
#wrapper {
  width: 770px;
}
#main {
  width: 610px;
}

/* headings */
.entry-content h4 {
  padding: 0.1em 0.5em;
  border-left: solid 4px #7d9ab7;
}

/* For bookmarks */
.hatena-module em a:link,
.hatena-module em a:hover,
.hatena-module em a:visited,
.hatena-module strong a:link,
.hatena-module strong a:hover,
.hatena-module strong a:visited {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  font-style: normal !important;
  font-weight: bold !important;
  text-decoration: underline !important;
}

.hatena-module strong a:link,
.hatena-module strong a:hover,
.hatena-module strong a:visited {
  color: #ff0000 !important;
  background: #FFCCCC !important;
}

.hatena-module em a:link,
.hatena-module em a:hover,
.hatena-module em a:visited {
  color: #FF6666 !important;
  background: #FFF0F0 !important;
}

img.hatena-fotolife {
  border: 1px #ccc solid;
}

.entry-content img {
  max-width: 610px;
}

pre.code {
  background: #333;
  color: white;
  line-height: 1.8em;
  font-size: 12px;
}

/* other */
#blog-description {
  font-weight: normal;
}

.github-link {
  font-size: 14px;
  margin-bottom: 10px;
}

/* Amazon */
.paapi5-pa-ad-unit {
    border: 1px solid #eee;
    margin-bottom:5px;
    position: relative;
    overflow: hidden;
    padding: 5px 5px;
    line-height: 1.1em;
}

.paapi5-pa-ad-unit * {
    box-sizing: content-box;
    box-shadow: none;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    outline: 0;
    padding: 0;
}

.paapi5-pa-ad-unit.pull-left {
    float: left;
}

.paapi5-pa-ad-unit.pull-right {
    float: right;
}

.paapi5-pa-ad-unit a {
    box-shadow: none !important;
}

.paapi5-pa-ad-unit a:hover {
    color: #c45500;
}

.paapi5-pa-product-container {
    width: 148px;
    height: 210px;
}
/* fixed width and height of product image to 150px */
.paapi5-pa-product-image {
    display: table;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    text-align: center;
}

.paapi5-pa-product-image-wrapper {
    display: table-cell;
    vertical-align: middle;
}

.paapi5-pa-product-image-link {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.paapi5-pa-product-image-source {
    max-width: 150px;
    max-height: 150px;
    vertical-align: bottom;
}

.paapi5-pa-percent-off {
    display: block;
    width: 32px;
    height: 25px;
    padding-top: 8px;
    position: absolute;
    top: -16px;
    right: -16px;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    background-color: #a50200;
    background-image: -webkit-linear-gradient(top, #cb0400, #a50200);
    background-image: linear-gradient(to bottom, #cb0400, #a50200);
}

.paapi5-pa-ad-unit.hide-percent-off-badge .paapi5-pa-percent-off {
    display: none;
}

.paapi5-pa-product-details {
    display: inline-block;
    max-width: 100%;
    margin-top: 11px;
    text-align: center;
    width: 100%;
}

.paapi5-pa-ad-unit .paapi5-pa-product-title a {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    color: #0066c0;
    text-decoration: none;
    margin-bottom: 3px;
}

.paapi5-pa-ad-unit .paapi5-pa-product-title a:hover {
    text-decoration: underline;
    color: #c45500;
}

.paapi5-pa-ad-unit.no-truncate .paapi5-pa-product-title a {
    text-overflow: initial;
    white-space: initial;
}

.paapi5-pa-product-offer-price {
    font-size: 13px;
    color: #111111;
}

.paapi5-pa-product-offer-price-value {
    color: #AB1700;
    font-weight: bold;
    font-size: 1.1em;
    margin-right: 3px;
}

.paapi5-pa-product-list-price {
    font-size: 13px;
    color: #565656;
}

.paapi5-pa-product-list-price-value {
    text-decoration: line-through;
    font-size: 0.99em;
}

.paapi5-pa-product-prime-icon .icon-prime-all {
    background: url("https://images-na.ssl-images-amazon.com/images/G/01/AUIClients/AmazonUIBaseCSS-sprite_2x_weblab_AUI_100106_T1-4e9f4ae74b1b576e5f55de370aae7aedaedf390d._V2_.png") no-repeat;
    display: inline-block;
    margin-top: -1px;
    vertical-align: middle;
    background-position: -192px -911px;
    background-size: 560px 938px;
    width: 52px;
    height: 15px;
}

.paapi5-pa-product-offer-price,
.paapi5-pa-product-list-price,
.paapi5-pa-product-prime-icon {
    display: inline-block;
    margin-right: 3px;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .paapi5-pa-ad-unit .paapi5-pa-product-prime-icon .icon-prime-all {
        background: url("https://images-na.ssl-images-amazon.com/images/G/01/AUIClients/AmazonUIBaseCSS-sprite_2x_weblab_AUI_100106_T1-4e9f4ae74b1b576e5f55de370aae7aedaedf390d._V2_.png") no-repeat;
        display: inline-block;
        margin-top: -1px;
        vertical-align: middle;
        background-position: -192px -911px;
        background-size: 560px 938px;
        width: 52px;
        height: 15px;
    }
}

/* css for mobile devices when device width is less than 441px*/
@media  screen and (max-width: 440px) {
    .paapi5-pa-ad-unit {
        float: none;
        width: 100%;
    }

    .paapi5-pa-product-container {
        margin: 0 auto;
        width: 100%;
    }

    .paapi5-pa-product-details {
        text-align: center;
        margin-top: 11px;
    }
}
/* Amazon */