/* <system section="theme" selected="6653586347155924442"> */
@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 {
  font-family: sans-serif;
  /* 1 */

  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  /* 2 */

}
/**
 * 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 {
  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: 2em;
  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 */
html,
body {
  font-family: 'Open Sans','Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'MS PGothic', sans-serif;
  color: #111;
  background-color: #ffffff;
}
a {
  color: #395b74;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
a:visited {
  color: #395b74;
}
a:hover {
  color: #aaa;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover,
h1 a:visited,
h2 a:visited,
h3 a:visited,
h4 a:visited,
h5 a:visited,
h6 a:visited {
  color: #111;
  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 4px;
  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: 30px;
  padding-top: 37px;
}
#container #content {
  width: 1100px;
  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: 760px;
  padding-right: 30px;
  border-right: 1px solid #f0f0f0;
  float: left;
}
#box2 {
  width: 280px;
  float: right;
}

/* header */
#blog-title {
  width: 100%;
  padding: 40px 0;
  border-bottom: 2px solid #111;
}
#blog-title-inner {
  width: 1100px;
  margin-left: auto;
  margin-right: auto;

}

#title {
  margin: 0;
}
#title a {
  font-size: 150%;
  font-weight: bold;
  color: #111;
}
#blog-description {
  max-width: 500px;
  font-weight: normal;
  font-size: 80%;
  margin: 5px 0 0 0;
}
/* ヘッダ画像を設定したとき */
.header-image-enable #title {
  padding-top: 50px;
}
.header-image-enable #title,
.header-image-enable #blog-description {
  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: 90%;
  border-bottom: 1px solid #dddddd;
}
#top-box .breadcrumb {
  width: 1100px;
  margin: 0 auto;
}
/* entry */
.entry {
  position: relative;
  margin-bottom: 100px;
}
.entry-header {
  padding: 0 0 10px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  position: relative;
}
.entry-title {
  margin: 0;
  padding-left: 20px;
  line-height: 1.3;
  font-size: 160%;
}
/* 日付 */
.date {
  font-weight: bold;
  margin-bottom: 16px;
}
.date a {
  color: #f0f0f0;
  background-color: #111;
  padding: 2px 6px;
  text-decoration: none;
  font-size: 90%;
}
/* カテゴリ */
.categories {
  margin: 16px 0;
  font-size: 80%;
}
.categories a {
  display: inline-block;
  padding: 2px 4px;
  margin-bottom: 4px;
  color: #111;
  background-color: #f0f0f0;
  text-decoration: none;
}
.categories.no-categories {
  margin: 0;
}
/* 「編集する」ボタン */
.entry-header-menu {
  position: absolute;
  top: 0px;
  left: 120px;
}
.entry-header-menu a {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 4px 10px 4px;
  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;
}
.entry-header-menu a:hover {
  background-color: #f5f5f5;
  text-decoration: none !important;
}
/* entry-content の中の書式 */
.entry-content {
  font-size: 100%;
  line-height: 1.7;
  padding-bottom: 10px;
  border-bottom: 1px solid #dddddd;
}
.entry-content p {
  margin: 0 0 1em 0;
}
.entry-content img {
  max-width: 100%;
  box-shadow: 0 0;
  -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 0;
  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: #111;
  background-color: #eee;
  border-left: 12px solid #111;
}
.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 #111;
  border-bottom: 2px solid #111;
}
.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 th,
.entry-content table td {
  border: 1px solid #ddd;
  padding: 5px 10px;
}
.entry-content table th {
  background: #f5f5f5;
}
.entry-content blockquote {
  border: 1px solid #dddddd;
  margin: 0 0 10px;
  padding: 20px;
}
.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-footer */
.entry-footer {
  margin-top: 10px;
}
.entry-footer-section {
  font-size: 80%;
  color: #999999;
}
.entry-footer-section a {
  color: #999999;
}
.social-buttons,
.entry-footer-html {
  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 {
  border: 1px dotted #f0f0f0;
  background-color: #f0f0f0;
  padding-top: 10px;
  padding-bottom: 10px;
  padding: 10px 14px 10px 40px;
  border: 1px dashed #111;
}
.table-of-contents ul {
  padding-left: 26px;
}

/* コメント */
.comment-box ul {
  list-style: none;
  margin: 0 0 15px 0;
  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 0;
  font-weight: bold;
}
.comment-content {
  font-size: 90%;
  margin: 0 0 10px 0;
  word-wrap: break-word;
}
.comment-content p {
  margin: 0 0 10px 0;
}
.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 4px;
  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: 85%;
  line-height: 1.5;
}
.hatena-module {
  margin-bottom: 60px;
}
.hatena-module-title {
  position: relative;
  text-align: center;
  background-color: #fff;
  color: #111;
  font-weight: bold;
  margin-bottom: 15px;
  padding: 6px;
  border: 2px solid #111;
  font-size: 120%;
}
.hatena-module-title:before{
  content: " ";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -12px;
  width: 0;
  height: 0;
  border-width: 12px;
  border-style: solid;
  border-color: transparent;
  border-top-color: #111;
}
.hatena-module-title:after {
    content: " ";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -9px;
    width: 0;
    height: 0;
    border-width: 9px;
    border-style: solid;
    border-color: transparent;
    border-top-color: #fff;
    z-index:1;
}
.hatena-module-title a {
  color: #111;
  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 0 0 0;
  padding: 0 0 0 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 dashed #999;
  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) 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 .5em;
}
.page-archive .archive-entries .categories {
  margin: 0 0 .5em;
}
.page-archive .archive-entries .entry-description {
  margin: 0 0 1em;
  line-height: 1.7em;
  font-size: 95%;
}
.page-archive .categories a {
  color: #fff;
  font-size: 70%;
  background: #aaa;
  padding: 3px 5px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  margin-right: 2px;
}


/*  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) 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: 919px) {
  #globalheader-container {
    position: absolute;
    top: 0;
    opacity: 1;
  }
  #container #content {
    width: 93.75%;
    word-wrap: break-word;
    overflow: hidden;
  }
  #title {
    font-size: 140%;
  }
  #blog-description {
    font-weight: normal;
    font-size: 70%;
    margin: 3px 0 0 0;
  }
  #blog-title-inner {
    width: 93.75%;
    margin-left: auto;
    margin-right: auto;
  }
  .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: 0px;
  }
  /* パンくず（カテゴリーページで表示されます） */
  #top-box .breadcrumb {
    width: 93.75%;
  }
}
/* Media Queries - Smartphone */
@media (max-width: 480px) {
  #title {
    font-size: 120%;
  }
  #blog-title {
    padding: 20px 0;
  }
  .entry-content img:hover {
  box-shadow: 0 0;
  }
}

/* global-menu用CSS */
#global-menu {
  width: 100%;
  background-color: #111;
  margin-bottom: 30px;
  border-bottom: 2px solid #111;
}
.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: #111;
  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: 60px 0 34px 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);
  }
}

/* シェアボタン */
/* 共通設定 */
.share-button {
  margin: 20px 0 10px 0;
  width: 300px;
}
.share-inner a {
  position: relative;
  display: inline-block;
  width: 55px;
  height: 55px;
  padding: 4px 0;
  line-height: 18px;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
  text-align: center;
  color: #111;
  text-decoration: none;
  vertical-align: bottom;
  border: 1px solid #ddd;
  -webkit-transition: all 0.4s;
          transition: all 0.4s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.share-inner a:hover {
  opacity: 0.6;
  -webkit-transition: all 0.4s;
          transition: all 0.4s;
}
.share-button i,
.share-button .lg {
  font-size: 24px;
}
.share-inner .hatena-bookmark-button .lg {
  font-size: 38px;
}
.share-inner .hatena-bookmark-button {
  padding-top: 1px;
  padding-bottom: 7px;
}
.share-inner .twitter-button {
  padding-top: 5px;
  padding-bottom: 3px;
}
.share-inner .facebook-button .lg  {
  font-size: 34px;
}
.share-inner .facebook-button .fa-facebook-square.lg {
  font-size: 31px;
  margin-top: -1px;
}
.share-inner .twitter-button .lg {
  font-size: 28px;
}
.share-button .small-text {
  font-size: 12px;
}
.share-button .fa-spin {
  font-size: 8px;
  color: #999;
}

/* color */
.share-inner .hatena-bookmark-button.color {
  color: #00A4DE;
  border: 1px solid #00A4DE;
}
.share-inner .facebook-button.color {
  color: #405BA7;
  border: 1px solid #405BA7;
}
.share-inner .twitter-button.color {
  color: #55ACEE;
  border: 1px solid #55ACEE;
}
.share-inner .googleplus-button.color {
  color: #C53727;
  border: 1px solid #C53727;
}
.share-inner .pocket-button.color {
  color: #EE4256;
  border: 1px solid #EE4256;
}

/* 読者登録ボタン */
.reader-button {
  margin: 16px 0;
}
.reader-button a{
  display: inline-block;
  width: 200px;
  height: 36px;
  border: 2px solid #111;
  text-decoration: none;
  background-color: #111;
  color: #fff;
  font-size: 100%;
  text-align: center;
  line-height: 36px;
  -webkit-transition: all 0.4s;
          transition: all 0.4s;
}
.reader-button a:hover {
  background-color: #fff;
  font-size: 110%;
  font-weight: bold;
  color: #111;
  -webkit-transition: all 0.4s;
          transition: all 0.4s;
}
/* カラーボタン */
.reader-button.color a {
  border-color: #b01c1c;
  background-color: #b01c1c;
  color: #fff;
}
.reader-button.color a:hover {
  background-color: #fff;
  color: #b01c1c;
}
/* グローバルナビのサブカテゴリー */
.global-menu-list.sub-list li {
    position: relative;
}
.global-menu-list.sub-list li:hover .sub-item {
    top: 100%;
    visibility: visible;
    -webkit-transition: .5s;
    transition: .5s;
    opacity: .9;
}
.global-menu-list.sub-list .sub-item {
    position: absolute;
    height: 0;
    margin-top: 0px;
    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;
    }
}
/* </system> */

/* --- 0. はてなブログのシステムCSSの徹底的な上書きと基本設定 --- */

/* はてなブログのグローバルヘッダーを完全に非表示（ログイン状態での上部黒帯） */
#globalheader-container, #globalheader {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
    position: absolute !important; /* 絶対位置指定で画面外へ */
    left: -9999px !important;
    top: -9999px !important;
}

/* <body>, <html> 要素の初期化 */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    min-height: 100vh !important; /* 少なくともビューポートの高さ */
    overflow-x: hidden !important; /* 横スクロールバーを防止 */
    box-sizing: border-box !important;
    background-color: #f5f5f5 !important; /* 全体の背景色（わずかにオフホワイト） */
    -webkit-font-smoothing: antialiased; /* フォントのアンチエイリアス */
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth; /* スムーズスクロール */
}

/* はてなブログの主要コンテナをリセットし、Flexboxを設定 */
/* #container, #wrapper はブログ全体のラッパー */
#container, #wrapper {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important; /* デフォルトは縦並び */
    align-items: center !important; /* 中央揃え */
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    min-height: 0 !important;
    float: none !important;
    clear: both !important;
    z-index: auto !important;
}

/* メインコンテンツとサイドバーの親要素にFlexboxを適用 */
#content, #content-inner { /* #content は #box1 と #box2 の直接の親要素 */
    display: flex !important; /* 子要素（#box1, #box2）を横並びにする */
    flex-direction: row !important; /* 横並び */
    justify-content: center !important; /* 中央寄せ */
    align-items: flex-start !important; /* 上端揃え */
    gap: 40px !important; /* メインコンテンツとサイドバー間のスペース */
    width: 100% !important; /* 親要素の幅を確保 */
    max-width: 1200px !important; /* 全体の最大幅 */
    margin: 60px auto !important; /* 上下の余白と中央揃え */
    padding: 0 20px !important; /* 左右の余白 */
    box-sizing: border-box !important;
    background-color: transparent !important; /* 背景色なし */
    box-shadow: none !important;
    border: none !important;
    min-height: 0 !important;
}

/* #box1 はメインコンテンツのラッパー */
#box1, #box1-inner {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    float: none !important;
    clear: both !important;
    z-index: auto !important;
    width: auto !important; /* flexアイテムとして幅を自動調整 */

    flex-grow: 1 !important; /* 残りのスペースを埋める */
    max-width: 800px !important; /* メインコンテンツの最大幅 */
    min-width: 0 !important; /* flexアイテムとして縮小できるように */
    display: flex !important; /* 子要素もFlexboxで縦並びにするため */
    flex-direction: column !important;
    gap: 40px !important; /* 各セクション間のスペース */
    order: 1 !important; /* メインコンテンツを先に表示 */
}

/* サイドバーのラッパー（#box2）とモジュール（.hatena-module）の表示設定 */
#box2, #box2-inner {
    background-color: transparent !important; /* 背景色なし */
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    float: none !important;
    clear: both !important;
    z-index: auto !important;
    overflow: visible !important; /* 隠さない */

    display: flex !important; /* サイドバーのモジュールを縦並びにするため */
    flex-direction: column !important;
    flex-shrink: 0 !important; /* 縮小しない */
    width: 300px !important; /* サイドバーの固定幅 */
    margin-right: 0 !important; /* 右寄せなので右の余白は不要 */
    margin-left: 40px !important; /* メインコンテンツとの間の余白 */
    gap: 30px !important; /* モジュール間のスペース */
    order: 2 !important; /* サイドバーをメインコンテンツの後に表示（右側） */
}

.hatena-module {
    display: block !important; /* 非表示設定を解除 */
    visibility: visible !important; /* 非表示設定を解除 */
    width: 100% !important; /* 親要素の #box2 の幅に合わせる */
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

/* ヘッダー画像エリア、トップボックスは引き続き非表示 */
#header-image-area, #top-box {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* 記事ページで不要なはてなブログのデフォルト要素を非表示/調整 */
.social-buttons, /* ソーシャルボタン（記事下など） */
.recommend-entry, /* おすすめ記事（記事下など） */
.pager, /* ページャー（記事下など） */
.footer-powered-by, /* フッターの「Powered by Hatena Blog」 */
.breadcrumb, /* パンくずリスト（はてなブログデフォルト） */
.entry-categories, /* 記事のカテゴリ表示を非表示（必要な場合解除） */
.entry-tags, /* 記事のタグ表示を非表示（必要な場合解除） */
.entry-header-img { /* 記事上部の画像（テーマによっては自動挿入） */
    display: none !important;
    visibility: hidden !important;
}

/* はてなブログデフォルトのフッターエリアをリセット */
#footer {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    min-height: auto !important;
}

/* はてなブログのタイトル、説明文の親要素のリセット */
.blog-title-outer {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    min-height: auto !important;
    position: relative !important;
    z-index: 10;
}
.blog-title-outer .blog-title {
    margin: 0 !important;
    padding: 0 !important;
}
/* はてなブログのシステムが自動挿入する`div`で、コンテンツエリアに影響を与えるものをさらにリセット */
.entry-content-wrapper, .entry-inner-html, .entry-inner {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 全ての要素にbox-sizingを継承 */
*, *::before, *::after {
    box-sizing: border-box;
}

/* --- 1. Webフォントの読み込み --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Montserrat:wght@500;700&display=swap');

/* --- 2. 基本フォントとカラー --- */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333333; /* 深みのあるチャコールグレー */
    line-height: 1.7; /* 読みやすい行間 */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #222222; /* より濃いチャコールグレー */
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

a {
    color: #007bff; /* ロイヤルブルー */
    text-decoration: none;
    transition: color 0.2s ease-in-out, text-decoration 0.2s ease-in-out;
}

a:hover {
    color: #0056b3; /* ホバーで少し濃いブルー */
    text-decoration: underline;
}

/* --- 3. グローバルヘッダー (ロゴ、ナビゲーション) --- */
.site-header {
    width: 100%;
    background-color: #FFFFFF; /* 白い背景 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky; /* スクロールしても追従 */
    top: 0;
    left: 0;
    z-index: 1000; /* 最前面に表示 */
    border-bottom: 1px solid #eeeeee;
    padding: 15px 0;
}

.header-inner {
    max-width: 1200px; /* PC版の最大幅 */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* スマホで折り返す */
}

.site-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: #222222;
    text-decoration: none;
    letter-spacing: 0.03em;
}

.site-logo span { /* ロゴのアクセント */
    color: #007bff;
}

.main-nav {
    margin-left: auto; /* ナビゲーションを右寄せ */
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.main-nav li a {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.0em;
    font-weight: 500;
    color: #555555;
    text-transform: none; /* 大文字化しない */
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.main-nav li a:hover {
    color: #007bff;
    border-color: #007bff;
}

/* --- 4. ヒーローセクション（トップページメインビジュアル） --- */
/* .page-index クラスはトップページにのみ付与されます */
.page-index .hero-section {
    display: flex; /* トップページでのみ表示 */
}
.page-entry .hero-section,
.page-archive .hero-section,
.page-category .hero-section,
.page-tag .hero-section {
    display: none !important; /* トップページ以外では非表示 */
}

.hero-section {
    width: 100%;
    height: 450px; /* ヒーローセクションの高さ */
    background: url('https://cdn.pixabay.com/photo/2016/11/29/05/45/camera-1867185_1280.jpg') no-repeat center center/cover; /* デフォルト画像 */
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 濃いめのオーバーレイ */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #FFFFFF;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.3em;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-button {
    display: inline-block;
    background-color: #007bff;
    color: #FFFFFF;
    padding: 15px 35px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}


/* サイドバーモジュールの共通スタイル */
.hatena-module {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 25px;
    border-radius: 8px;
}

.hatena-module-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3em;
    color: #222222;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    text-align: center;
}

.hatena-module-body {
    font-size: 0.95em;
    line-height: 1.7;
    color: #555555;
}
.hatena-module-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hatena-module-body li {
    margin-bottom: 10px;
}
.hatena-module-body a {
    color: #007bff;
    display: block;
    padding: 5px 0;
    border-bottom: 1px dashed #e0e0e0;
}
.hatena-module-body a:hover {
    color: #0056b3;
    text-decoration: none;
    background-color: #f9f9f9;
}


/* --- 5.1 記事一覧・記事本文の共通スタイル --- */
/* 記事本文と記事リストの共通コンテナ */
.entry-container {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    display: block !important;
}

/* 記事本文の調整（はてなブログ自動生成部分） */
.entry-content {
    line-height: 1.8;
    font-size: 1.05em;
    color: #333333;
}
.entry-content p {
    margin-bottom: 1.2em;
}
.entry-content ul, .entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 30px;
}
.entry-content li {
    margin-bottom: 0.8em;
}

.entry-header {
    margin-bottom: 30px;
    text-align: center; /* 記事タイトルを中央揃えに */
}

.entry-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    color: #222222;
    line-height: 1.3;
    margin-bottom: 15px;
    word-break: break-word; /* 長いタイトルも改行 */
}

.entry-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    color: #888888;
    margin-bottom: 10px;
    display: block;
}

.entry-meta {
    font-size: 0.9em;
    color: #888888;
}
.entry-meta a {
    color: #007bff;
    margin-left: 5px;
}
.entry-meta a:hover {
    text-decoration: underline;
}

/* 記事一覧のスタイリング（はてなブログ自動生成部分） */
.archive-entry {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px; /* 各記事間のスペース */
    transition: all 0.2s ease-in-out;
}
.archive-entry:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.archive-entry-header {
    margin-bottom: 20px;
}

.archive-entry-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: 600;
    color: #222222;
    margin-bottom: 10px;
    line-height: 1.3;
}
.archive-entry-title a {
    color: inherit;
    text-decoration: none;
}
.archive-entry-title a:hover {
    color: #007bff;
    text-decoration: underline;
}

.archive-entry-date {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.85em;
    color: #888888;
    display: block;
    margin-bottom: 10px;
}

.archive-entry-snippet {
    font-size: 0.95em;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    color: #007bff;
    font-weight: 500;
    border-bottom: 1px solid #007bff;
    transition: all 0.2s ease-in-out;
}
.read-more:hover {
    color: #0056b3;
    border-color: #0056b3;
}


/* --- 5.2 トップページ用カスタムコンテンツセクション --- */
/* .page-index クラスはトップページにのみ付与されます */
.page-index .content-section {
    display: block; /* トップページでのみ表示 */
}
.page-entry .content-section,
.page-archive .content-section,
.page-category .content-section,
.page-tag .content-section {
    display: none !important; /* トップページ以外では非表示 */
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
    color: #222222;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after { /* 下のラインエフェクト */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: #007bff;
}

/* Info Box (ブログ紹介など) */
.info-box {
    background-color: #eaf3ff; /* 薄いブルーの背景 */
    border: 1px solid #cce0ff; /* やや濃いブルーのボーダー */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 40px;
    margin-bottom: 60px;
    border-radius: 8px;
    text-align: center;
}

.info-box-content {
    line-height: 1.9;
    font-size: 1.0em;
    color: #333333;
}

.info-box-content strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6em;
    color: #0056b3; /* 深いブルー */
    margin-bottom: 18px;
}

/* Category Grid (カテゴリ一覧) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease-in-out;
    border-radius: 6px;
}

.category-card:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.category-card a {
    display: block;
    color: #333333;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.05em;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.category-card a:hover {
    color: #007bff;
    text-decoration: none;
}

/* --- 5.3 記事内要素のスタイル --- */
/* 「はじめましての方へ」ボックス */
.article-intro-box {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 40px;
    margin: 80px auto;
    text-align: left;
    color: #555555;
    border-radius: 8px;
}

.article-intro-box .intro-heading {
    font-size: 1.8em;
    color: #222222;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.article-intro-box .intro-text {
    font-size: 1.0em;
    line-height: 1.9;
    color: #555555;
    margin-bottom: 30px;
}

.article-intro-box .category-heading {
    font-size: 1.3em;
    color: #222222;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-intro-box .category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.article-intro-box .category-links a {
    font-family: 'Noto Sans JP', sans-serif;
    color: #007bff;
    font-weight: 500;
    padding: 10px 18px;
    border: 1px solid #007bff;
    background-color: #e6f2ff;
    transition: all 0.2s ease-in-out;
    border-radius: 5px;
}

.article-intro-box .category-links a:hover {
    background-color: #007bff;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.article-intro-box .profile-button-container {
    text-align: center;
    margin-top: 40px;
}

.article-intro-box .profile-button {
    display: inline-block;
    background-color: #007bff;
    color: #FFFFFF;
    padding: 15px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1.05em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.article-intro-box .profile-button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* 記事下CTAセクション */
.article-cta-section {
    width: 100%;
    max-width: 960px;
    margin: 80px auto;
    padding: 50px;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    border-radius: 8px;
}

.cta-flex-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    align-items: flex-start;
}

.cta-box {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 30px;
    width: 48%;
    box-sizing: border-box;
    border-radius: 6px;
}

.cta-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    color: #222222;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.cta-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #007bff;
}

.cta-text {
    font-size: 1.0em;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #007bff;
    color: #FFFFFF;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 0.98em;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.banner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.banner-container img {
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease-in-out;
    filter: brightness(100%);
    border-radius: 4px;
    max-width: 100%; /* スマホ対応 */
    height: auto; /* スマホ対応 */
}

.banner-container img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* --- 6. フッターセクション --- */
.site-footer {
    background-color: #222222; /* 濃いチャコールグレー */
    color: #E0E0E0; /* 明るいグレーの文字 */
    padding: 40px 30px;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    border-top: 1px solid #3a3a3a;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    margin-top: 80px;
}

.footer-content-wrap {
    max-width: 960px;
    margin: 0 auto;
}

.footer-site-info {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 25px;
    color: #FFFFFF;
    letter-spacing: 0.03em;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
    margin-bottom: 25px;
}

.footer-nav a {
    color: #C0C0C0;
    font-size: 0.95em;
    padding: 8px 18px;
    border: 1px solid #444444;
    background-color: #333333;
    transition: all 0.2s ease-in-out;
    border-radius: 4px;
}

.footer-nav a:hover {
    color: #007bff;
    background-color: #0056b3;
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.copyright {
    font-size: 0.85em;
    color: #999999;
    margin-top: 20px;
    letter-spacing: 0.01em;
}


/* --- 7. レスポンシブデザインの調整 --- */

/* 992px以下 (タブレット横〜PCまでの中間デバイス) */
@media (max-width: 992px) {
    /* メインコンテンツとサイドバーの親要素 */
    #content, #content-inner {
        flex-direction: column !important; /* 縦並びにする */
        gap: 30px !important; /* 縦のスペース */
        align-items: center !important; /* 中央揃え */
        margin: 40px auto !important; /* 上下の余白を調整 */
        padding: 0 15px !important; /* 左右の余白を調整 */
    }

    /* メインコンテンツ（#box1）の調整 */
    #box1 {
        order: 1 !important; /* スマホではメインコンテンツが先に */
        width: 100% !important; /* 幅をフルにする */
        max-width: 760px !important; /* スマホでの最大幅 */
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important; /* 親要素でpaddingを設定するため0 */
    }
    
    /* サイドバー（#box2）の調整 */
    #box2 {
        order: 2 !important; /* スマホではサイドバーが後に */
        width: 100% !important;
        max-width: 760px !important; /* スマホでの最大幅 */
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important; /* 親要素でpaddingを設定するため0 */
    }
}

/* 768px以下 (タブレット縦〜スマートフォン横まで) */
@media (max-width: 768px) {
    /* グローバルヘッダー */
    .site-header {
        padding: 10px 0;
    }
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    .site-logo {
        font-size: 1.5em;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        text-align: center;
    }
    .main-nav li a {
        font-size: 0.9em;
        padding: 6px 15px;
        display: block;
        width: 80%; /* 中央寄せにするために幅指定 */
        margin: 0 auto;
    }

    /* ヒーローセクション */
    .hero-section {
        height: 350px;
    }
    .hero-title {
        font-size: 2.5em;
    }
    .hero-subtitle {
        font-size: 1.0em;
        margin-bottom: 20px;
    }
    .hero-button {
        padding: 12px 25px;
        font-size: 1.0em;
    }

    /* 記事一覧・記事本文の共通スタイル */
    .entry-container {
        padding: 30px;
        margin-bottom: 30px;
    }
    .entry-title {
        font-size: 2.0em;
        margin-bottom: 10px;
    }
    .entry-date {
        font-size: 0.8em;
    }
    .entry-content {
        font-size: 1.0em;
    }
    .archive-entry {
        padding: 20px;
        margin-bottom: 20px;
    }
    .archive-entry-title {
        font-size: 1.5em;
    }
    .archive-entry-date {
        font-size: 0.8em;
    }
    .archive-entry-snippet {
        font-size: 0.9em;
    }

    /* サイドバーモジュール */
    .hatena-module {
        padding: 20px;
    }
    .hatena-module-title {
        font-size: 1.2em;
        margin-bottom: 15px;
    }


    /* トップページ用コンテンツセクション */
    .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-bottom: 10px;
    }
    .section-title::after {
        width: 60px;
    }
    .info-box {
        padding: 30px;
        margin-bottom: 40px;
    }
    .info-box-content strong {
        font-size: 1.3em;
        margin-bottom: 15px;
    }
    .info-box-content {
        font-size: 0.95em;
    }
    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .category-card {
        padding: 15px;
    }
    .category-card a {
        font-size: 1.0em;
    }

    /* 記事内要素 */
    .article-intro-box {
        padding: 30px;
        margin: 40px auto;
    }
    .article-intro-box .intro-heading {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    .article-intro-box .intro-text {
        font-size: 0.9em;
        margin-bottom: 25px;
    }
    .article-intro-box .category-heading {
        font-size: 1.1em;
        margin-top: 25px;
        margin-bottom: 12px;
    }
    .article-intro-box .category-links {
        gap: 10px;
        margin-bottom: 30px;
    }
    .article-intro-box .category-links a {
        font-size: 0.85em;
        padding: 8px 15px;
    }
    .article-intro-box .profile-button-container {
        text-align: center;
        margin-top: 40px;
    }

    .article-intro-box .profile-button {
        padding: 12px 25px;
        font-size: 0.95em;
        width: 90%;
        box-sizing: border-box;
    }

    /* 記事下CTAセクション */
    .article-cta-section {
        padding: 30px;
        margin: 50px auto;
    }
    .cta-flex-container {
        flex-direction: column;
        gap: 25px;
    }
    .cta-box {
        width: 100%;
        padding: 25px;
    }
    .cta-heading {
        font-size: 1.3em;
        margin-bottom: 18px;
    }
    .cta-text {
        font-size: 0.9em;
        margin-bottom: 25px;
    }
    .cta-button {
        padding: 10px 22px;
        font-size: 0.9em;
        width: 90%;
        box-sizing: border-box;
    }
    .banner-container {
        gap: 15px;
        margin-top: 25px;
    }

    /* フッターセクション */
    .site-footer {
        padding: 30px 15px;
        margin-top: 50px;
    }
    .footer-site-info {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    .footer-nav {
        gap: 10px;
    }
    .footer-nav a {
        font-size: 0.85em;
        padding: 6px 15px;
    }
    .copyright {
        font-size: 0.75em;
        margin-top: 15px;
    }
}

/* 480px以下 (スマートフォン縦向き) - さらに細かい調整 */
@media (max-width: 480px) {
    /* グローバルヘッダー */
    .site-logo {
        font-size: 1.3em;
    }
    .main-nav li a {
        font-size: 0.8em;
        padding: 5px 10px;
        width: 95%; /* スマホでいっぱいに広がるように */
    }

    /* ヒーローセクション */
    .hero-section {
        height: 300px;
    }
    .hero-title {
        font-size: 2.0em;
    }
    .hero-subtitle {
        font-size: 0.9em;
        margin-bottom: 15px;
    }
    .hero-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    /* メインコンテンツとサイドバーの親要素 */
    #content, #content-inner {
        gap: 20px !important; /* 縦のスペースをさらに狭く */
        margin: 30px auto !important; /* 上下の余白も狭く */
        padding: 0 10px !important; /* 左右の余白をさらに狭く */
    }

    /* 記事一覧・記事本文の共通スタイル */
    .entry-container {
        padding: 20px;
        margin-bottom: 20px;
    }
    .entry-title {
        font-size: 1.6em;
    }
    .entry-content {
        font-size: 0.95em;
    }
    .entry-content p {
        margin-bottom: 1em;
    }
    .archive-entry {
        padding: 15px;
        margin-bottom: 15px;
    }
    .archive-entry-title {
        font-size: 1.3em;
    }
    .archive-entry-snippet {
        font-size: 0.85em;
    }

    /* サイドバーモジュール */
    .hatena-module {
        padding: 15px;
    }
    .hatena-module-title {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    .hatena-module-body a {
        padding: 3px 0;
    }

    /* トップページ用コンテンツセクション */
    .section-title {
        font-size: 1.5em;
        margin-bottom: 25px;
        padding-bottom: 8px;
    }
    .section-title::after {
        width: 50px;
    }
    .info-box {
        padding: 25px;
        margin-bottom: 30px;
    }
    .info-box-content strong {
        font-size: 1.2em;
    }
    .info-box-content {
        font-size: 0.9em;
    }
    .category-card {
        padding: 12px;
    }
    .category-card a {
        font-size: 0.95em;
    }

    /* 記事内要素 */
    .article-intro-box {
        padding: 25px;
        margin: 30px auto;
    }
    .article-intro-box .intro-heading {
        font-size: 1.3em;
    }
    .article-intro-box .intro-text {
        font-size: 0.85em;
        margin-bottom: 20px;
    }
    .article-intro-box .category-heading {
        font-size: 1.0em;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .article-intro-box .category-links {
        gap: 8px;
        margin-bottom: 25px;
    }
    .article-intro-box .category-links a {
        font-size: 0.8em;
        padding: 7px 12px;
    }
    .article-intro-box .profile-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    /* 記事下CTAセクション */
    .article-cta-section {
        padding: 25px;
        margin: 40px auto;
    }
    .cta-flex-container {
        gap: 20px;
    }
    .cta-box {
        padding: 20px;
    }
    .cta-heading {
        font-size: 1.1em;
    }
    .cta-text {
        font-size: 0.85em;
        margin-bottom: 20px;
    }
    .cta-button {
        padding: 8px 18px;
        font-size: 0.85em;
    }
    .banner-container {
        gap: 10px;
        margin-top: 20px;
    }
    .banner-container img {
        max-width: 100%; /* 小さい画面でもフィット */
        height: auto;
    }

    /* フッターセクション */
    .site-footer {
        padding: 25px 10px;
        margin-top: 40px;
    }
    .footer-site-info {
        font-size: 1.3em;
        margin-bottom: 15px;
    }
    .footer-nav {
        gap: 8px;
    }
    .footer-nav a {
        font-size: 0.8em;
        padding: 5px 12px;
    }
    .copyright {
        font-size: 0.7em;
        margin-top: 10px;
    }
}