/*
Theme Name: Brooklyn
Theme URI: http://blog.hatena.ne.jp/-/store/theme/6653586347155924442
Author: shiromatakumi
Author URI: http://blog.hatena.ne.jp/shiromatakumi/
*/

@charset "utf-8";

/*
  Theme: Brooklyn
  Author: Shiroma Takumi

  Responsive: yes
  Licensed under the MIT license.
*/


/*  import normalize */


/*! normalize.css v3.0.1 | MIT License | git.io/normalize */


/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  /* 1 */
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  /* 2 */
  color: #2b2b2b;
}


/**
 * Remove default margin.
 */

body {
  margin: 0;
}


/* HTML5 display definitions
   ========================================================================== */


/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}


/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio, canvas, progress, video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}


/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}


/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden], template {
  display: none;
}


/* Links
   ========================================================================== */


/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background: transparent;
}


/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active, a:hover {
  outline: 0;
}


/* Text-level semantics
   ========================================================================== */


/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}


/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b, strong {
  background: linear-gradient(transparent 60%, #fefeaa 60%);
  font-weight: bold;
}


/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}


/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 24px;
  margin: 0.67em 0;
}


/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}


/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}


/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}


/* Embedded content
   ========================================================================== */


/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}


/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}


/* Grouping content
   ========================================================================== */


/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}


/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}


/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}


/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code, kbd, pre, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}


/* Forms
   ========================================================================== */


/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */


/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button, input, optgroup, select, textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */
}


/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}


/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button, select {
  text-transform: none;
}


/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button, html input[type="button"], input[type="reset"], input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
}


/**
 * Re-set default cursor for disabled elements.
 */

button[disabled], html input[disabled] {
  cursor: default;
}


/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}


/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}


/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}


/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}


/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}


/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}


/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}


/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}


/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}


/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}


/* Tables
   ========================================================================== */


/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td, th {
  padding: 0;
}


/*  import mixin */

.clearfix {
  display: block;
  *zoom: 1;
}

.clearfix:after {
  display: block;
  visibility: hidden;
  font-size: 0;
  height: 0;
  clear: both;
  content: ".";
}

.inline-block {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

.ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}


/*  import variable */


/* Common */

@font-face {
  font-family: "YuGothic M";
  src: local("Yu Gothic Medium"),
       local("Yu Gothic");
  font-weight: 500;
       /*
         Chrome 58.0.3029.110 (64-bit) では
         "Yu Gothic Medium" を認識しないバグあるため
         "Yu Gothic" と font-weight も併せて指定。
       */
}

body, html {
  font-family:
  "ヒラギノ角ゴ Pro W3",
  "Hiragino Kaku Gothic Pro",
  "メイリオ", Meiryo,
  "YuGothic M", YuGothic,
  "ＭＳ Ｐゴシック", "MS PGothic",
  sans-serif;
  color: #2b2b2b;
  background-color: #ffffff;
}

a {
  color: #0044cc;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

a:hover {
  color: #28aae1;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

h1 a, h1 a:hover, h1 a:visited, h2 a, h2 a:hover, h2 a:visited, h3 a, h3 a:hover, h3 a:visited, h4 a, h4 a:hover, h4 a:visited, h5 a, h5 a:hover, h5 a:visited, h6 a, h6 a:hover, h6 a:visited {
  color: #3b3b3b;
  text-decoration: none;
}

a.keyword {
  text-decoration: none;
  border-bottom: 1px dotted #dddddd;
  color: #454545;
}


/* Buttons */

.btn {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 4px 10px;
  margin-bottom: 0;
  line-height: 18px;
  color: #454545;
  background-color: #ffffff;
  text-align: center;
  vertical-align: middle;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-radius: 2px;
  background-clip: padding-box;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
}

.btn:hover {
  background-color: #f5f5f5;
  text-decoration: none !important;
}

.btn-small {
  padding: 2px 10px !important;
  font-size: 11px !important;
}

.btn-large {
  padding: 13px 19px;
  font-size: 17px;
  line-height: normal;
  font-weight: bold;
}


/* ヘッダ（グローバルヘッダ）
  グローバルヘッダの中はiframeですが、
  #globalheader-container に背景色や文字色を指定することでirameの中にも色が反映されます。
*/

#globalheader-container {
  background-color: #fff;
  color: #111;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 2px solid #111;
  opacity: 0.9;
}


/* container */

#container {
  width: 100%;
  margin-bottom: 0;
  padding-top: 37px;
}

#container #content {
  width: 1150px;
  margin: 20px auto;
  display: block;
  *zoom: 1;
}

#container #content:after {
  display: block;
  visibility: hidden;
  font-size: 0;
  height: 0;
  clear: both;
  content: ".";
}

.globalheader-off #container {
  padding-top: 0;
}


/* 2カラムレイアウト */

#main {
  width: 750px;
  padding-right: 0px;
  float: left;
}

#box2 {
  width: 350px;
  float: right;
}


/* header */

#blog-title {
  color: #222222;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 0;
  width: 1150px;
}

#blog-title-inner {
  text-align: left;
  width: 1100px;
}

#title {
  margin: 0;
}

#title a {
  font-size: 120%;
  font-weight: bold;
  color: #222222;
}

#blog-description {
  font-weight: normal;
  font-size: 80%;
  margin: 5px 0 0;
}


/* ヘッダ画像を設定したとき */

.header-image-enable #title {
  padding-top: 50px;
}

.header-image-enable #blog-description, .header-image-enable #title {
  padding-left: 20px;
}

.header-image-enable #blog-title {
  padding: 0;
}

.header-image-enable #blog-title-inner {
  padding: 40px auto;
}


/* パンくず（カテゴリーページで表示されます） */

#top-box {
  margin: 10px auto 20px;
  padding: 4px 0;
  font-size: 80%;
  color: #222222;
  /*★2*/
}

#top-box .breadcrumb {
  width: 1150px;
  margin: 0 auto;
}


/* entry */

.entry {
  position: relative;
  margin-bottom: 100px;
}

.entry-header {
  padding: 0 0 10px;
  margin-bottom: 20px;
  position: relative;
}

.entry-title {
  margin: 0;
  padding-left: 0;
  line-height: 1.3;
  font-size: 180%;
}


/* 日付 */

.date {
  display: none;
}


/* カテゴリ */

.categories {
  margin: 16px 0;
  font-size: 90%;
}

.categories a {
  display: inline-block;
  border: 1px solid #e6e6e6;
  padding: 2px 4px;
  margin-bottom: 4px;
  border-radius: 3px;
  color: #3b3b3b;
  text-decoration: none;
}

.categories a:hover {
  background-color: #255eb4;
  color: #ffffff;
  text-decoration: none;
}

.categories.no-categories {
  margin: 0;
}


/* 「編集する」ボタン */

.entry-header-menu {
  position: absolute;
  top: 0;
  left: 700px;
}

.entry-header-menu a {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 4px 10px;
  margin-bottom: 0;
  line-height: 18px;
  color: #454545;
  background-color: #ffffff;
  text-align: center;
  vertical-align: middle;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-radius: 2px;
  background-clip: padding-box;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
}

.entry-header-menu a:hover {
  background-color: #f5f5f5;
  text-decoration: none !important;
}


/* entry-content の中の書式 */

.entry-content {
  font-size: 110%;
  line-height: 1.75;
  padding-bottom: 10px;
}

.entry-content p {
  margin: 0 0 1em;
}

.entry-content img {
  border : 1px solid #DADADA ;
  max-width: 100%;
  padding: 2px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.entry-content img:hover {
  box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
  margin: 1.3em 0 0.8em;
  line-height: 1.5;
}

.entry-content h1 {
  font-size: 160%;
}

.entry-content h2 {
  position: relative;
  padding: 6px 0 6px 10px;
  font-size: 150%;
  background-color: #111;
  color: #fff;
}

.entry-content h2:before {
  content: " ";
  position: absolute;
  top: 100%;
  left: 38px;
  width: 0;
  height: 0;
  border-width: 12px;
  border-style: solid;
  border-color: transparent;
  border-top-color: #111;
}

.entry-content h2 a.keyword {
  text-decoration: none;
  border-bottom: 1px dotted #dddddd;
  color: #fff;
}

.entry-content h3 {
  position: relative;
  font-size: 145%;
  padding: 6px 10px;
  color: #222222;
  background-color: #eee;
}

.entry-content h3:before {
  content: " ";
  position: absolute;
  top: 100%;
  left: 28px;
  width: 0;
  height: 0;
  border-width: 12px;
  border-style: solid;
  border-color: transparent;
  border-top-color: #eee;
}

.entry-content h4 {
  font-size: 135%;
  padding-left: 10px;
  border-left: 6px solid #222222;
  border-bottom: 2px solid #222222;
}

.entry-content h5 {
  font-size: 120%;
  padding-left: 6px;
  border-left: 4px solid #111;
}

.entry-content h6 {
  font-size: 100%;
}

.entry-content table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 1em;
}

.entry-content table img {
  max-width: none;
}

.entry-content table td, .entry-content table th {
  border: 1px solid #ddd;
  padding: 5px 10px;
}

.entry-content table th {
  background: #f5f5f5;
}

blockquote, .entry-content blockquote {
  border: 1px solid #e6e6e6;
  background-color: #f9f9f9;
  color: #5E6265;
  font-size: 100%;
  margin: 0 0 3.6em;
  padding: 32px 24px 20px 24px;
  position: relative;
  border-radius: 3px;
}

blockquote::before, .entry-content blockquote::before {
  background-color: #fff;
  content: "\f10d";
  display: inline-block;
  font: normal 28px/1 FontAwesome;
  vertical-align: middle;
  position: absolute;
  top: -10px;
  left: 24px;
}

blockquote cite, .entry-content blockquote cite {
  margin-bottom: 1.5em;
}

blockquote>*:first-child, .entry-content blockquote>*:first-child {
  margin-top: 0;
}

.entry-content blockquote p {
  margin-top: 0;
  margin-bottom: 0;
}

.entry-content pre {
  border: 1px solid #dddddd;
  margin: 0 0 10px;
  padding: 20px;
  white-space: pre;
}

.entry-content pre>code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: 0;
  background: transparent;
  font-family: 'Monaco', 'Consolas', 'Courier New', Courier, monospace, sans-serif;
}

.entry-content code {
  font-size: 90%;
  margin: 0 2px;
  padding: 0 5px;
  border: 1px solid #eaeaea;
  background-color: #f8f8f8;
  border-radius: 3px;
  font-family: 'Monaco', 'Consolas', 'Courier New', Courier, monospace, sans-serif;
}

.entry-content .hatena-asin-detail li {
  line-height: 1.4;
}

.entry-content ul li {
	list-style-type: none;
	position: relative;
}
.entry-content ul li:after {
	display: block;
	content: '';
	position: absolute;
	top: .6em;
	left: -1em;
	width: 8px;
	height: 3px;
	border-left: 2px solid #f7594d;
	border-bottom: 2px solid #f7594d;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}


/* entry-footer */

.entry-footer {
  margin-top: 10px;
}

.entry-footer-section {
  display: none;
}

.entry-footer-html, .social-buttons {
  margin: 10px 0;
}


/* 続きを読む */

.entry-see-more {
  padding: 4px 8px;
  background-color: #111;
  border: 2px solid #111;
  text-decoration: none;
  color: #fff;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.entry-see-more:visited {
  padding: 4px 8px;
  border: 2px solid #111;
  text-decoration: none;
  color: #fff;
}

.entry-see-more:hover {
  padding: 4px 8px;
  background-color: #fff;
  border: 2px solid #111;
  text-decoration: none;
  color: #111;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

/*--------------------------------------
目次
----------------------------------------*/

.table-of-contents {
  padding: 20px 10px 20px 28px !important;
  background: #f9f9f9;
  color: #5e6265;
  position: relative;
  border: solid 1px #e6e6e6;
  border-radius: 3px;
  margin: 0.8em 0;
}

.table-of-contents a:link{
  text-decoration: none;
}

.table-of-contents li {
  list-style-type: none;
}

.table-of-contents ul {
  font-size: 100%;
  padding: 0px !important;
  background: #f9f9f9;
  color: #5e6265;
  position: relative;
  border: 0px;
  margin: 0 0 15px 20px;
}

.table-of-contents ul ul{
    display: none;
}

.table-of-contents:before {
  content: "目次";
  font-weight: bold;
}


/* コメント */

.comment-box ul {
  list-style: none;
  margin: 0 0 15px;
  padding: 0;
  font-size: 95%;
  line-height: 1.7;
}

.comment-box li {
  padding: 10px 0 10px 60px;
  border-bottom: 1px solid #dddddd;
  position: relative;
}

.comment-box li:first-child {
  border-top: 1px solid #dddddd;
}

.comment-box .read-more-comments {
  padding-left: 0;
}

.comment-box .hatena-id-icon {
  position: absolute;
  top: 10px;
  left: 0;
  width: 50px !important;
  height: 50px !important;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-radius: 3px;
  background-clip: padding-box;
}

.comment-user-name {
  margin: 0 0 10px;
  font-weight: bold;
}

.comment-content {
  font-size: 90%;
  margin: 0 0 10px;
  word-wrap: break-word;
}

.comment-content p {
  margin: 0 0 10px;
}

.comment-metadata {
  font-size: 80%;
  color: #999999;
  margin: 0;
}

.comment-metadata a {
  color: #999999;
}

.leave-comment-title {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 4px 10px;
  margin-bottom: 0;
  line-height: 18px;
  color: #454545;
  background-color: #ffffff;
  text-align: center;
  vertical-align: middle;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-radius: 2px;
  background-clip: padding-box;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
}

.leave-comment-title:hover {
  background-color: #f5f5f5;
  text-decoration: none !important;
}


/* sidebar */

#box2 {
  font-size: 90%;
  line-height: 1.5;
}

.hatena-module {
  margin-bottom: 60px;
}

.hatena-module-title {
  position: relative;
  text-align: left;
  color: #222222;
  margin-bottom: 8px;
  padding: 6px;
  font-weight: 600;
  font-size: 100%;
  background-color: #f5f5f5;
}

.hatena-module-title a {
  color: #222222;
  text-decoration: none;
}

.hatena-module-title a:hover {
  text-decoration: underline;
}


/* Profile module */

.hatena-module-profile .profile-icon {
  float: left;
  margin: 0 10px 10px 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-radius: 5px;
  background-clip: padding-box;
}

.hatena-module-profile .id {
  display: block;
  font-weight: bold;
  font-size: 110%;
  margin-bottom: 5px;
}

.hatena-module-profile .profile-description {
  font-size: 90%;
}

.hatena-module-profile .profile-description p {
  margin-top: 0;
}


/* urllist module
    リンク・最新記事・最近のコメント・月別アーカイブ・カテゴリモジュールは .hatena-urllist という共通の class が振られます
*/

.hatena-urllist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hatena-urllist li {
  padding: 8px 0;
  border-bottom: 1px solid #dddddd;
  line-height: 1.5;
}

.hatena-urllist li a {
  text-decoration: none;
}


/* Category */

.hatena-module-category .hatena-urllist {
  padding-top: 10px;
  display: table;
  width: 100%;
}

.hatena-module-category .hatena-urllist li {
  display: table-cell;
  padding: 6px 8px;
  margin-bottom: 8px;
  margin-right: 8px;
  border: 1px solid #e6e6e6;
  float: left;
}

/* Search module */

.hatena-module-search-box .search-form {
  border: 1px solid #dddddd;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-radius: 3px;
  background-clip: padding-box;
  width: 100%;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}

.hatena-module-search-box .search-module-input {
  padding: 5px;
  color: #454545;
  background: none;
  border: none;
  outline: none;
  height: 20px;
  width: 90%;
}

.hatena-module-search-box .search-module-button {
  width: 20px;
  height: 20px;
  background: transparent url("https://cdn.blog.st-hatena.com/images/theme/search.png?version=263e782f4058acf5109a8ca03f06e0") no-repeat right center;
  border: none;
  outline: none;
  text-indent: -9999px;
  position: absolute;
  top: 5px;
  right: 5px;
  opacity: 0.5;
}

.hatena-module-search-box .search-module-button:hover {
  opacity: 0.85;
}


/* Pager */

.pager {
  margin: 1em 0;
  display: block;
  *zoom: 1;
}

.pager:after {
  display: block;
  visibility: hidden;
  font-size: 0;
  height: 0;
  clear: both;
  content: ".";
}

.pager .pager-prev {
  float: left;
  text-align: left;
  width: 45%;
}

.pager .pager-next {
  float: right;
  text-align: right;
  width: 45%;
}


/* Footer */

#footer {
  padding: 30px 0;
  text-align: center;
  background-color: #111;
  color: #fff;
  line-height: 1.5;
  font-size: 80%;
}

#footer p {
  margin: 0;
}

#footer a {
  color: #fff;
  text-decoration: none;
}


/* About ページ */

.page-about dt {
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #dfdfdf;
  margin-bottom: 5px;
}

.page-about dd {
  margin-left: 0;
  margin-bottom: 30px;
}


/* archive ページ */

.page-archive .archive-entries .archive-entry {
  margin-bottom: 3em;
}

.page-archive .archive-entries .entry-title {
  font-size: 130%;
  margin: 0 0 0.5em;
}

.page-archive .archive-entries .categories {
  margin: 0 0 0.5em;
}

.page-archive .archive-entries .entry-description {
  margin: 0 0 1em;
  line-height: 1.7em;
  font-size: 95%;
}

.page-archive .categories a {
  border: 1px solid #e6e6e6;
  display: inline-block;
  font-size: 90%;
  padding: 2px 4px;
  margin-bottom: 4px;
  border-radius: 3px;
  color: #3b3b3b;
  text-decoration: none;
}

.categories a:hover {
  background-color: #255eb4;
  color: #ffffff;
  text-decoration: none;
}


/*  import media queries */


/* Media Queries - Retina Display */

@media (-webkit-min-device-pixel-ratio: 2) {
  .hatena-module-search-box .search-module-button {
    background: transparent url("https://cdn.blog.st-hatena.com/images/theme/search@2x.png?version=263e782f4058acf5109a8ca03f06e0") no-repeat right center;
    background-size: 20px 20px;
  }
}


/* Media Queries - Tablet */
/*
@media (min-width: 920px) and (max-width: 1150px) {
  #container #content {
    width: 1020px;
  }
  #main {
    width: 680px;
  }
  #blog-title-inner {
    width: 1020px;
    margin-left: auto;
    margin-right: auto;
  }

  #top-box .breadcrumb {
    width: 1020px;
    margin: 0 auto;
  }
}
*/

/* Media Queries - Small Tablet & Smartphone */

@media (max-width: 1280px) {
  #globalheader-container {
    position: absolute;
    top: 0;
    opacity: 1;
  }
  #container #content {
    width: 90.75%;
    word-wrap: break-word;
    overflow: hidden;
  }
  #title {
    font-size: 140%;
  }
  #blog-description {
    font-weight: normal;
    font-size: 70%;
    margin: 3px 0 0;
  }
  #blog-title {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  #blog-title-inner {
    width: 93.75%;
    margin-left: auto;
    margin-right: auto;
  }
 .entry-content h2 {
    font-size: 130%;
 }
 .entry-content h3 {
    font-size: 130%;
 }
  .header-image-enable #blog-title-inner {
    width: 100%;
  }
  .header-image-enable #blog-title-content {
    width: 93.75%;
    margin-left: auto;
    margin-right: auto;
  }
  #main {
    width: 100%;
    padding-right: 0;
    float: none;
    border-right: none;
  }
  #box2 {
    width: 100%;
    float: none;
  }
  #box2-inner {
    width: 100%;
  }
  .hatena-module {
    width: 100%;
    float: none;
  }
  .entry-header-menu {
    top: -30px;
    left: 0;
  }
  /* パンくず（カテゴリーページで表示されます） */
  #top-box .breadcrumb {
    width: 93.75%;
  }
}


/* Media Queries - Smartphone */

@media (max-width: 480px) {
  #title {
    font-size: 120%;
  }
  #blog-title {
    padding: 20px 0;
  }
  .entry-content {
  font-size: 95%;
  line-height: 1.75;
  padding-bottom: 10px;
}
.entry-title {
    font-size: 130%;
}
  .entry-content img:hover {
    box-shadow: 0 0;
  }
}


/* global-menu用CSS */

#global-menu {
  width: 100%;
  background-color: #222;
  margin-bottom: 30px;
}

.global-menu-list {
  display: table;
  list-style-type: none;
  width: 1100px;
  margin: 0 auto;
  -webkit-padding-start: 0;
  padding: 0;
}

.global-menu-list li {
  display: table-cell;
  text-align: center;
  width: 20%;
}

.global-menu-list li a {
  display: block;
  padding: 8px 0;
  line-height: 22px;
  text-decoration: none;
  font-size: 100%;
  background-color: #222;
  color: #fff;
  vertical-align: middle;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.global-menu-list li a:hover {
  color: #111;
  background-color: #ddd;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}


/* メニュー上部固定 */

#global-menu.fixed {
  position: fixed;
  top: 0;
  z-index: 100;
  -webkit-transition: top 0.3s;
  transition: top 0.3s;
}


/* toggle メニューのCSS　*/

#mobile-head {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  height: 36px;
  background-color: #111;
  z-index: 300;
}

#nav-toggle {
  position: fixed;
  right: 12px;
  top: 8px;
  width: 30px;
  height: 32px;
  cursor: pointer;
}

#nav-toggle div {
  position: relative;
}

#nav-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #999;
  left: 0;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

#nav-toggle span:nth-child(1) {
  top: 0;
}

#nav-toggle span:nth-child(2) {
  top: 8px;
}

#nav-toggle span:nth-child(3) {
  top: 16px;
}

@media (min-width: 920px) and (max-width: 1150px) {
  .global-menu-list {
    width: 1020px;
  }
}

@media (max-width: 919px) {
  .global-menu-list {
    width: 93.75%;
  }
  .global-menu-list li a {
    font-size: 90%;
  }
}


/* グローバルナビをToggle に変更 */

@media (max-width: 680px) {
  #blog-title {
    padding: 10px 0;
  }
  #global-menu {
    position: fixed;
    z-index: 100;
    top: -500px;
    -webkit-transition: top 0.3s ease-in-out;
    transition: top 0.3s ease-in-out;
    opacity: 0.9;
  }
  #global-menu .global-menu-list, #global-menu .global-menu-list li {
    display: block;
    width: 100%;
  }
  #global-menu .global-menu-list li a {
    font-size: 100%;
    padding: 10px 0;
  }
  #global-menu.fixed {
    top: -500px;
    -webkit-transition: top 0.3s ease-in-out;
    transition: top 0.3s ease-in-out;
  }
  #mobile-head {
    display: block;
  }
  /* open */
  #global-menu.open {
    top: 36px;
    -webkit-transition: top 0.3s ease-in-out;
    transition: top 0.3s ease-in-out;
  }
  /* Toggle Button */
  #global-menu.open span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  #global-menu.open span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  #global-menu.open span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }
}


/* 汎用ボタン */

.common-button {
  margin: 16px 0;
}

.common-button a {
  display: inline-block;
  text-decoration: none;
  font-size: 100%;
  text-align: center;
  line-height: 1.2;
  padding: 6px;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.common-button a:hover {
  opacity: 0.6;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.common-button i {
  font-size: 180%;
}

/* カラーボタン */

.common-button.reader a {
  background-color: #222222;
  color: #fff;
}

.common-button.feedly a {
  background-color: #8dcb7e;
  color: #fff;
}

.common-button.twitter-follow a {
  background-color: #64c3d7;
  color: #fff;
}

/* 汎用ボタンサイズ */

.common-button.full a {
  width: 98%;
}

.common-button.harf a {
  width: 96%;
}

/* グローバルナビのサブカテゴリー */

.global-menu-list.sub-list li {
  position: relative;
}

.global-menu-list.sub-list li:hover .sub-item {
  top: 100%;
  visibility: visible;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  opacity: 0.9;
}

.global-menu-list.sub-list .sub-item {
  position: absolute;
  height: 0;
  margin-top: 0;
  padding: 0;
  top: 60%;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0s;
  transition: 0s;
  z-index: 200;
}

.global-menu-list.sub-list .sub-item li {
  display: block;
  width: 100%;
}

@media (max-width: 680px) {
  .global-menu-list.sub-list .sub-item {
    display: none;
  }
}


/*------------------------------
AdSense
------------------------------*/

.sponsored-link {
  font-size: 12px;
  margin-top: 18px;
}


/*------------------------------
記事下シェアボタン
------------------------------*/

.share-flat {
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}

.share-flat-inner {
  height: 42px;
}

.share-flat-inner a {
  position: relative;
  display: inline-block;
  width: 18%;
  height: 40px;
  padding-top: 4px;
  margin-right: 4px;
  line-height: 20px;
  font-size: 16px;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  vertical-align: middle;
}

.share-flat .small-text {
  font-size: 10px;
}

.share-flat .hatena-bookmark-button {
  background: #007bbb;
}

.share-flat .facebook-button {
  background: #274a78;
}

.share-flat .twitter-button {
  background: #38a1db;
}

.share-flat .googleplus-button {
  background: #b7282e;
  line-height: 35px;
}

.share-flat .pocket-button {
  background: #e95464;
  line-height: 35px;
}

.share-flat a:hover {
  opacity: 0.6;
  color: #ffffff;
}

@media screen and (max-width: 480px) {
  .share-flat-inner a {
    width: 16%;
  }
}


/*------------------------------
ヨメレバ・カエレバ
------------------------------*/

.booklink-box, .kaerebalink-box {
  padding: 10px;
  margin-bottom: 10px;
  border: double #cccccc;
  overflow: hidden;
  font-size: small;
}

.booklink-image, .kaerebalink-image {
  margin: 0 15px 0 0;
  float: left;
  min-width: 160px;
  text-align: center;
}

.booklink-image img, .kaerebalink-image img {
  margin: 0 auto;
  text-align: center;
}

.booklink-info, .kaerebalink-info {
  margin: 0;
  line-height: 120%;
  overflow: hidden;
}

.booklink-name, .kaerebalink-name {
  margin-bottom: 24px;
  line-height: 1.5em;
  font-size: 20px;
}

.booklink-powered-date, .kaerebalink-powered-date {
  font-size: 8px;
  margin-top: 10px;
  font-family: verdana;
  line-height: 120%;
}

.booklink-detail, .kaerebalink-detail {
  font-size: 12px;
}

.booklink-powered-date, .kaerebalink-detail {
  margin-bottom: 15px;
}

.booklink-link2, .kaerebalink-link1 {
  margin-top: 10px;
}

.booklink-link2 a, .kaerebalink-link1 a {
  width: 30%;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  display: inline-block;
  margin: 5px 2px 0 0;
  padding: 10px 1px;
  text-align: center;
  float: left;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  color: #fff !important;
}

.booklink-link2 a:hover, .kaerebalink-link1 a:hover {
  opacity: 0.6;
}

.booklink-link2 a:active .kaerebalink-link1 a:active {
  position: relative;
  top: 1px;
}

.shoplinkamazon a {
  background-color: #ff9901 !important;
  border: 1px solid #ff9901 !important;
  color: #ffffff !important;
}

.shoplinkrakuten a {
  background-color: #c20004 !important;
  border: 1px solid #c20004 !important;
  color: #ffffff !important;
}

.shoplinkkindle a {
  background-color: #007dcd !important;
  border: 1px solid #007dcd !important;
  color: #ffffff !important;
}

.shoplinkkakakucom a {
  background-color: #314995 !important;
  border: 1px solid #314995;
  color: #ffffff !important;
}

.shoplinkyahoo a {
  background-color: #7b0099 !important;
  border: 1px solid #7b0099 !important;
  color: #ffffff !important;
}

.shoplinkyahoo img {
  display: none;
}

.shoplinkyahoo a {
  font-size: 10px;
}

.booklink-footer {
  display: none;
}

@media screen and (max-width: 680px) {
  .booklink-box, .kaerebalink-box {
    padding: 15px;
  }
  .booklink-image, .kaerebalink-image {
    width: 100px !important;
    min-width: initial;
  }
  .booklink-name>a, .kaerebalink-name>a {
    font-size: 15px;
    font-weight: bold;
  }
  .booklink-name, .kaerebalink-name {
    margin-bottom: 12px;
  }
  .booklink-powered-date, .kaerebalink-powered-date {
    margin-top: 5px;
  }
  .booklink-link2 a, .kaerebalink-link1 a {
    width: calc(100% - 4px);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin: 2px 0px;
    padding: 10px 0px;
  }
}


/*------------------------------
追加項目
------------------------------*/

.centering {
  text-align: center;
}

.page-index .entry-footer {
  display: none;
}

.float-clear {
  clear: both;
}

/*------------------------------
記事下
------------------------------*/

.entry-footer-header {
  position: relative;
  text-align: left;
  color: #222222;
  margin-bottom: 8px;
  padding: 6px;
  font-weight: 600;
  font-size: 100%;
  background-color: #f5f5f5;
}

.entry-footer-content {
  margin: auto;
}
.entry-footer-side {
  float: left;
  width: 50%;
}

.facebook-box {
  border: 1px #e6e6e6 solid;
  border-radius: 3px;
  text-align: center;
  color: #f9f9f9;
  outline-width: 700;
  background-color: #2b2b2b;
  margin: 30px 0;
  padding: 30px;
}

/*------------------------------
フッター
------------------------------*/

#bottom-editarea {
  background-color: #222222;
  color: #FFFFFF;
  padding: 15px 0;
  text-align: center;
}

/* 関連記事を記事下よりも下に */
.customized-footer {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
}
.entry-footer-modules {
  -webkit-order:2;
  order:2;
  width: 100%;
}
.entry-footer-html {
  -webkit-order:1;
  order:1;
  width: 100%;
}


/*------------------------------
記事内装飾
------------------------------*/

.quote-source {
 font-size: 80%;
 text-align: right;
 padding-top: 10px;
}

p.reference-link {
 margin: 10px 0px;
}
p.reference-link > span.label {
 font-size: 80%;
 padding : 5px 12px;
 background: #007bbb;
 color: #fff;
}
p.reference-link > span.body {
 padding : 5px 10px;
}

ul {
 margin-top: 25px;
 margin-bottom: 25px;
