/* <system section="theme" selected="8599973812270629022"> */
/* 注意: 以下の@importは現在選択中のテーマ（Smoothなど）によって自動的に変わります。
   テーマを変更した場合は、初期状態の@importを残し、その下にこのCSSを追記してください。 */
@charset "utf-8";
@import url("//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css");
/*
Theme: Minimalism
Author: Codomisu
Description:
最小限のデザインで最大限の「美」を引き出す


※未だにコードを整理していない　2018/09/09

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.
*/

/* Responsive:yes */

html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -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 `600er` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
  font-weight: 600;
}
/**
* 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 `` 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: 600;
}
/* 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: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック  Medium', meiryo, sans-serif;
  color: #3f3f3f;
  background-color: #ffffff;
}
a {
  color: #1487bd;
}
a:visited {
  color: #789dae;
}
a:hover {
  color: #0f5373;
}
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: #333333;
  text-decoration: none;
}
a.keyword {
  text-decoration: none;
  border-bottom: 1px dotted #ECEEF1;
  color: #3f3f3f;
}
/* Buttons */
.btn {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 4px 10px 4px;
  margin-bottom: 0;
  line-height: 18px;
  color: #3f3f3f;
  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: 600;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none ;
}
.btn:hover {
  background-color: #f5f5f5;
  text-decoration: none ;
}
.btn-small {
  padding: 2px 10px ;
  font-size: 11px ;
}
.btn-large {
  padding: 13px 19px;
  font-size: 17px;
  line-height: normal;
  font-weight: 600;
}
/* ヘッダ（グローバルヘッダ）
グローバルヘッダの中はiframeですが、
#globalheader-container に背景色や文字色を指定することでiframeの中にも色が反映されます。
*/
#globalheader-container {
  background-color: #333;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
/* container */
#container {
  width: 1140px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  padding-top: 37px;
}
#container #content {
  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: 640px;
  float: left;
}
#box2 {
  width: 290px;
  float: right;
}
/* 1カラムにしたい場合は下記のコメントアウトを外してください ----

#main {
width: 100%;
float: none;
}

#box2 {
width: 100%;
float: none;
}

#box2-inner {
width: 960px;
.clearfix;
overflow: hidden;
}

.hatena-module {
text-align: left;
padding-right: 20px;
width: 300px;
float: left;

&:nth-child(3n+1) {
clear: both;
}
}

---- END 1カラム */
/* header */
#blog-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
  text-align: center;
  margin: 0;
  padding: 50px 0;
}
#title {
  margin: 0;
}
#title a {
  color: #3f3f3f;
}
#blog-description {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
  font-weight: normal;
  font-size: 80%;
  margin: 5px 0 0 0;
}
/* ヘッダ画像を設定したとき */
.header-image-enable #title {
  padding-top: 70px;
}
.header-image-enable #title,
.header-image-enable #blog-description {
  padding-left: 20px;
}
/* パンくず（カテゴリーページで表示されます） */
#top-box {
  margin: 10px auto 20px;
  font-size: 90%;
}
#top-box .breadcrumb {
  border-top: 1px solid #ECEEF1;
  border-bottom: 1px solid #ECEEF1;
  padding: 10px;
}
/* entry */
.entry {
  position: relative;
  margin-bottom: 50px;
}
.entry-header {
  padding: 15px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #ECEEF1;
  position: relative;
}
.entry-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 35px;
  margin: 15px 0 20px;
}
/* 日付 */
.date {
  font-weight: 600;
  margin-bottom: 15px;
}
.date a {
  color: #1487bd;
  text-decoration: none;
  font-size: 90%;
}
/* カテゴリ */
.categories {
  margin-top: 10px;
  font-size: 80%;
}
.categories a {
  color: #3f3f3f;
}
.categories.no-categories {
  margin: 0;
}
/* 「編集する」ボタン */
.entry-header-menu {
  position: absolute;
  bottom: 0px;
  left: -60px;
}
.entry-header-menu a {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 4px 10px 4px;
  margin-bottom: 0;
  line-height: 18px;
  color: #3f3f3f;
  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: 600;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none ;
}
.entry-header-menu a:hover {
  background-color: #f5f5f5;
  text-decoration: none ;
}
/* entry-content の中の書式 */
.entry-content {
  font-size: 15px;
  line-height: 34px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ECEEF1;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
}
.entry-content p {
  margin: 0 0 1em 0;
}
.entry-content img {
  max-width: 100%;
}
.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 {
  font-size: 150%;
}
.entry-content h3 {
  font-size: 140%;
}
.entry-content h4 {
  font-size: 130%;
}
.entry-content h5 {
  font-size: 110%;
}
.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 #ECEEF1;
  margin: 0 0 10px;
  padding: 20px;
}
.entry-content blockquote p {
  margin-top: 0;
  margin-bottom: 0;
}
.entry-content pre {
  border: 1px solid #ECEEF1;
  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;
}
/* コメント */
.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 #ECEEF1;
  position: relative;
}
.comment-box li:first-child {
  border-top: 1px solid #ECEEF1;
}
.comment-box .read-more-comments {
  padding-left: 0;
}
.comment-box .hatena-id-icon {
  position: absolute;
  top: 10px;
  left: 0;
  width: 50px ;
  height: 50px ;
  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: 600;
}
.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: #3f3f3f;
  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: 600;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none ;
}
.leave-comment-title:hover {
  background-color: #f5f5f5;
  text-decoration: none ;
}
/* sidebar */
#box2 {
  font-size: 85%;
  line-height: 1.5;
}
.hatena-module {
  margin-bottom: 60px;
}
.hatena-module-title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 120%;
  padding:0 0 5px 5px;
  border-bottom: 1px solid #ECEEF1;
}
.hatena-module-title a {
  color: #3f3f3f;
  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: 600;
  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 #ECEEF1;
  line-height: 1.5;
}
.hatena-urllist li a {
  text-decoration: none;
}
/* Search module */
.hatena-module-search-box .search-form {
  border: 1px solid #ECEEF1;
  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: 10px 10px;
  color: #3f3f3f;
  background: none;
  border: none;
  outline: none;
  height: 20px;
  width: 90%;
}
.hatena-module-search-box .search-module-button {
  width: 35px;
  height: 35px;
  background: transparent url(https://cdn.blog.st-hatena.com/images/theme/search.png?version=0679c6441b6ffd517ecafc4506cfb5) no-repeat right center;
  border: none;
  outline: none;
  text-indent: -9999px;
  position: absolute;
  top: 1px;
  right: 10px;
  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;
  color: #999999;
  line-height: 1.5;
  font-size: 80%;
}
#footer p {
  margin: 0;
}
#footer a {
  color: #999999;
}
/* About ページ */
.page-about dt {
  font-size: 16px;
  font-weight: 600;
  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;
  font-size: 13px;
  line-height: 25px;
}
.page-archive .categories a {
  color: #3f3f3f;
  text-decoration: none;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  margin-bottom:5px;
}

.shrbtn{
  padding:0;
  margin:15px 0;
  width: 100%;
  background:#ECEEF1;
  text-align:center;
  display: inline-flex;
}

.share_btn{
  display: inline-block;
  width: calc(100% / 5);
  margin:4px 6px;
  height: 40px;
  line-height: 40px;
  font-size: 18px;
  color:#3f3f3f;
  border:1px solid #ECEEF1;
  border-radius:0;
  text-align: center;
  vertical-align: middle;
  overflow: hidden;
  font-weight: 600;
  transition: .3s;
  background:#fafafa;
}

.share_btn:first-of-type{
  margin-left:0;
}

.share_btn:last-of-type{
  margin-right:0;
}

.share_btn:hover{
  color:#3f3f3f;
}

.share_btn .fa {line-height:40px}


/* ### スライドメニュー ### */
#gnav {
  border-top: 1px solid #ECEEF1;
  border-bottom: 1px solid #ECEEF1;
  margin: 0 0 10px;
  background: #ffffff;
  font-size: 0;
  padding: 0 0 0;
}

#gnav .menu a {
  display: block;
  color: #3f3f3f;
  font-size: 13px;
  font-weight: 500;
  text-decoration:none;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;

}


#gnav .gnav-inner {
  width: 100%;
  padding: 12px 20px;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

#gnav .menu {
  display: inline-block;
}

/* ### スライドメニューを横いっぱいに広げる ### */
#top-editarea .section {
  width: 100% ;
  margin-left: auto;
  margin-right: auto;

}

#top-editarea{
  margin-bottom: 15px;
}

.id a{
  color: #3f3f3f;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
}


.hatena-module-profile .profile-description {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
}

.table-of-contents {
  position: relative;
  background-color: #fafafa;
  border:1px solid #ECEEF1;
  padding: 60px 70px 25px;
  border-radius: 0;
  font-size: 14px;
  line-height: 28px;
}


.table-of-contents::before {
  position: absolute;
  display: block;
  text-align: center;
  top: 15px;
  left: 50%;
  margin-left: -1em;
  font-size: 20px;
  font-weight: 700;
  content: '目次';
  z-index: 2;
}


.table-of-contents li a {
  text-decoration: none;
  line-height: 35px;
  color:#3f3f3f;
}

.archive-header-category{
  margin-bottom:25px;
}

.archive-heading{
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
  border-bottom:1px solid #ECEEF1;
  font-weight: 600;
  font-size: 21px;
  line-height: 35px;
  padding-bottom:5px;
  margin-bottom:25px;
}

.footer{
  background:#3f3f3f;
  color:#fff;
  padding:30px 0;
}
.footer ul li{
  text-align:center;
  display: block;
}

.footer .footer-title{
  margin-bottom:10px;
}

.footer .footer-copyright{
  font-size:12px;
}

.footer-list{
  padding: 0;
}

.categories a{
  color: #3f3f3f;
  text-decoration: none;
  padding: 4px 0;
  border-radius: 0;
  font-size:13px;
  vertical-align: middle;
  margin-right: 10px;
}

.categories a:before{
  font-family: FontAwesome;
  content:"\f02b";
  font-size: 16px;
  vertical-align: middle;
  margin-right: 5px;
  color:#2f2f2f;
}

/*  import media queries */
/* Media Queries - Retina Display */
@media screen and (min-width: 1139px){

  #blog-title #title{
    font-size: 37px;
    line-height: 60px;
    font-weight:500;
  }

  .hatena-module-search-box .search-module-button {
    background: transparent url(https://cdn.blog.st-hatena.com/images/theme/search@2x.png?version=0679c6441b6ffd517ecafc4506cfb5) no-repeat right center;
    background-size: 20px 20px;
  }
  #container {
    border-right: 1px solid #ECEEF1;
    border-left: 1px solid #ECEEF1;
  }
  #content{
    margin: 35px 55px;
  }
  .breadcrumb-inner{
    margin: 0 5%;
  }
  .date a {
    color: #3f3f3f;
    text-decoration: none;
    font-size: 15px;
    padding: 1px;
  }
  .date {
    font-weight: 500;
    margin-bottom: 5px;
  }

  .date:before {
    font-family: FontAwesome;
    content: "\f272";
    left: 0;
    font-size: 95%;
    top: 0;
    color: #3f3f3f;
  }

  .page-archive .entry-thumb {
    border-radius: 5px;
    margin-right: 20px;
  }

  #box2 .urllist-image {
    border-radius: 5px;
    margin-right: 15px;
  }

  .urllist-date-link time {
    color: #3f3f3f;
    text-decoration: none;
    font-size: 14px;
    padding: 1px;
  }

  .urllist-date-link time:before {
    font-family: FontAwesome;
    content: "\f272";
    left: 0;
    font-size: 95%
    top: 0;
    color: #3f3f3f;
  }


  .shrbtn{
    background:none;
  }

  #box2{
    margin-top: 15px;
  }

  .page-archive .archive-entries .entry-title {
    margin-top:10px;
    font-size: 19px;
  }

  .hatena-urllist li a {
    font-size: 13px;
    line-height: 25px;
    color:#3f3f3f;
  }
  #gnav .menu a {
    padding: 0 15px;
  }
}
/* Media Queries - Tablet */
@media screen and (max-width: 1138px){
  #gnav .menu{
    margin-right:20px;
  }
  #gnav .menu a{
    font-size: 12px;
  }
  #container {
    width: 100% ;
    word-wrap: break-word;
    overflow: hidden;
    padding-top: 0;
  }
  #main {
    width: 93.75% ;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  #box2 {
    width: 93.75% ;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  #box2-inner {
    width: 100% ;
  }
  .hatena-module {
    width: 100%;
    float: none;
  }
  .date a {
    color: #3f3f3f;
    text-decoration: none;
    font-size: 15px;
    padding: 1px;
  }
  .date {
    font-weight: 500;
    margin-bottom: 5px;
  }

  .date:before {
    font-family: FontAwesome;
    content: "\f272";
    left: 0;
    font-size: 18px;
    top: 0;
    color: #3f3f3f;
  }

  .page-archive .entry-thumb {
    border-radius: 5px;
  }
  #box2 .urllist-image {
    border-radius: 5px;
  }

  .urllist-date-link time {
    color: #3f3f3f;
    text-decoration: none;
    font-size: 14px ;
    padding: 1px;
  }

  .urllist-date-link time:before {
    font-family: FontAwesome;
    content: "\f272";
    left: 0;
    font-size: 95% ;
    top: 0;
    color: #3f3f3f;
  }
  .shrbtn{
    background:none ;
  }
.
  .hatena-urllist li a {
    color:#3f3f3f;
  }
  .entry .entry-title{
    font-size: 22px;
  }
  .categories a{
    color: #3f3f3f;
    text-decoration: none;
    padding: 2px 7px;
    border-radius: 2px;
    margin: 0 2px;
  }
  .page-archive .archive-entries .entry-title {
    font-size: 18px;
  }

}
/* Media Queries - Small Tablet & Smartphone */
@media screen and (max-width:640px){
  #globalheader-container {
    position: static;
  }
  #blog-title #title{
    font-size: 30px;
    font-weight:500;
    font-family: 'Nunito', sans-serif;
  }
  #blog-description {
    font-size:11px;
  }
  #container {
    width: 100%;
    word-wrap: break-word;
    overflow: hidden;
    padding-top: 0;
  }
  #main {
    width: 93.75%;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  #box2 {
    width: 93.75%
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  #box2-inner {
    width: 100%;
  }
  .hatena-module {
    width: 100%;
    float: none;
  }
  .entry-header-menu {
    top: -30px;
    left: 0px;
  }
  .archive-entry-header{
    width : -webkit-calc(100% -90px);
    width: calc(100% - 90px);
    float: right;
  }
  .page-archive .archive-entries .entry-title {
    font-size:14px;
    line-height: 25px;
    font-weight: 400;
    margin:0;
  }
  .archive-entries .entry-description{
    font-size:11px;
    display:none;
  }
  .page-archive .entry-thumb {
    width: 75px;
    height: 75px;
    border: 1px solid #ECEEF1;
    background-size: 100%;
    float:left;
    border-radius: 3px;
  }

  .page-archive .categories{
    display: none;
  }

  .page-archive .archive-entries .archive-entry {
    margin-bottom: 0;
    padding: 17px 0;
    border-bottom: 1px solid #ECEEF1;
}
  .date a {
    color: #3f3f3f;
    text-decoration: none;
    font-size: 12px;
    padding: 1px;
  }
  .date {
    font-weight: 500;
    margin-bottom: 5px;
  }

  .date:before {
    font-family: FontAwesome;
    content: "\f272";
    left: 0;
    font-size: 95%;
    top: 0;
    color: #3f3f3f;
  }

  .page-archive .social-buttons{
    display: none;
  }

  #blog-title {
    text-align: center;
    padding: 35px 0 35px;
    margin:0;
  }

  .entry .entry-title{
    font-size: 18px;
    line-height: 30px;
    margin: 10px 0 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
  }

  .entry .entry-header{
    padding: 10px 0 10px 0;
    border:none;
  }

  .table-of-contents {
    position: relative;
    background-color: #fafafa;
    border:1px solid #ECEEF1;
    padding: 60px 45px 25px;
    border-radius: 0;
    font-size: 14px;
    line-height: 28px;
  }

  #box2 .urllist-image {
    max-width: 100%;
    width: 75px;
    border-radius: 5px;
    margin-right: 10px;
    border: 1px solid #ECEEF1;
    height: 75px;
  }
  .hatena-urllist li{
    padding: 10px 0 0px;
  }

  .hatena-urllist li a {
    font-size: 13px ;
    line-height: 20px;
    font-weight: 500;
    color: #3f3f3f;
    text-decoration: none;
  }

  .archive-module-year{
    border:none ;
  }

  .urllist-date-link time {
    color: #3f3f3f;
    text-decoration: none;
    font-size: 12px ;
    padding: 1px;
  }

  .urllist-date-link time:before {
    font-family: FontAwesome;
    content: "\f272";
    left: 0;
    font-size: 95% ;
    top: 0;
    color: #3f3f3f;
  }
  .archive-entries{
    margin:0 0 40px;
  }

  .id a{
    font-weight: normal;
    text-decoration: none;
    color: #3f3f3f;
  }

  .entry-content {
    font-size: 14px;
  }
  .hatena-module {
    margin-bottom: 40px;
  }
  .urllist-image{
    width: 70px;
    border-radius: 5px;
  }
  .related-entries .related-entries-entry-body{
    display: none;
  }
  .pager{
    text-align: center;
    margin-bottom: 45px;
  }
  :not(.permalink)>.pager-next{
    float:none ;
    text-align: center ;
  }
  :not(.permalink)>.pager-next a{
    text-decoration: none;
    padding: 10px 100px;
    border-radius: 4px;
    border: 1px solid #ECEEF1;
    background: #fafafa;
    color: #3f3f3f;
  }
  .pager-permalink{
    display:none;
  }
}
/* Media Queries - Smartphone */

/* </system> */

/* ==========================================================================
   オウチックス運営ブログ 完全版マスターCSS v13.0 (Final Corrected)
   Designed by The World's Best Blog Designer
   
   [修正履歴]
   v13.0: はてなブログ標準目次(.table-of-contents)への完全対応
   
   [実装機能]
   ・モバイルファースト設計 (Core Web Vitals対応)
   ・アーカイブページ（記事一覧）のカード化＆カテゴリタグ化
   ・ナビゲーション機能の完全統合（ハンバーガーメニュー対応）
   ・ページネーション、検索ボックス、プロフィールのUI最適化
========================================================================== */

/* ───────────────────────────────────────
 0. カスタムプロパティ (Design Token)
────────────────────────────────────── */
:root {
  /* ブランドカラー */
  --primary-color: #0056b3;  /* メインカラー */
  --accent-color: #ffb300;   /* アクセント（ボタン、強調） */
  
  /* テキスト・背景 */
  --text-color: #333;
  --heading-color: #111;
  --bg-section: #f5f5f5;
  --bg-summary: #f9f9f9;
  --bg-point: #fff3cd;
  
  /* ボーダー */
  --border-light: #e0e0e0;
  --border-medium: #bdbdbd;
  
  /* タイポグラフィ */
  --base-font-size: 16px;
  --base-line-height: 1.7;
  
  /* レイアウト */
  --content-max-width: 1100px;
  --footer-nav-height: 56px;
}

/* ───────────────────────────────────────
 1. 基本設定 & クリティカルレンダリング
────────────────────────────────────── */
html {
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

body {
  /* Windows環境も考慮したフォントスタック */
  font-family: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "Yu Gothic Medium", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: var(--base-line-height);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  /* モバイル用ナビゲーションの高さ分余白確保 */
  padding-bottom: var(--footer-nav-height); 
}

/* リンク装飾の最適化 */
.entry-content a:not(.keyword):not(.btn):not(.img-link) {
  color: var(--primary-color);
  touch-action: manipulation;
  transition: color 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* ───────────────────────────────────────
 2. ヘッダーナビゲーション (SP/PC共通基盤)
─────────────────────────────────────── */
/* コンテナ設定 */
.global-nav-container {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

/* ハンバーガーボタン (SPのみ表示) */
button.menu-toggle {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: #fff;
  border: none;
  border-bottom: 2px solid var(--primary-color);
  color: var(--text-color);
  font-family: inherit;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

/* 開閉時のアイコン変化 */
button.menu-toggle::after {
  content: "▼ MENU";
  font-size: 0.8em;
  margin-left: 8px;
}
/* JSで aria-expanded="true" が付与された時のスタイル */
button.menu-toggle[aria-expanded="true"] {
  background-color: var(--primary-color);
  color: white;
}
button.menu-toggle[aria-expanded="true"]::after {
  content: "▲ CLOSE";
}

/* メニューリスト本体 (SP: アコーディオン / PC: 横並び) */
#menu {
  list-style: none;
  margin: 0;
  padding: 0;
  /* SP用アニメーション設定 */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

/* JSによる開閉状態クラス */
#menu.is-open {
  max-height: 1000px;
  opacity: 1;
  visibility: visible;
}

#menu li {
  width: 100%;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

#menu li a {
  display: block;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--text-color);
  font-size: 15px;
  font-weight: 500;
  transition: background .15s ease;
}

#menu li a:hover {
  background: var(--accent-color);
  color: white;
}

/* ───────────────────────────────────────
 3. 記事コンテンツ (.entry-content)
─────────────────────────────────────── */
.entry-content {
    font-size: var(--base-font-size);
}

article {
  padding: 0 15px;
  margin: 0 auto;
  width: 100%;
}

/* 画像・動画・広告のレスポンシブ化 */
.entry-content img,
.entry-content iframe,
.entry-content embed,
.entry-content video {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-radius: 4px;
}

/* H1: 記事タイトル */
.entry-title,
article h1 {
  font-size: 1.6em;
  line-height: 1.35;
  color: var(--heading-color);
  border-bottom: 2px solid var(--heading-color);
  padding-bottom: 0.3em;
  margin-bottom: 0.8em;
  letter-spacing: 0.02em;
}

/* H2: 大見出し */
.entry-content h2 {
  font-size: 1.4em;
  line-height: 1.3;
  margin-top: 2.2em;
  margin-bottom: 0.8em;
  color: var(--heading-color);
  border-bottom: 1px solid var(--border-light);
  padding: 0.6em 0.5em; 
}

/* H2 バリエーション (ボックス型) - 記事内で <h2 class="box-chapter"> で使用 */
.entry-content h2.box-chapter {
  background: linear-gradient(90deg, #dff4ff, #cde7ff);
  color: #222;
  border-top: 3px solid var(--primary-color);
  border-bottom: 1px solid var(--border-medium);
  padding: 0.8em 1em;
  border-radius: 3px 3px 0 0;
}

/* H3: 中見出し */
.entry-content h3 {
  font-size: 1.2em;
  line-height: 1.3;
  margin-top: 2em;
  margin-bottom: 0.8em;
  color: var(--primary-color);
  border-left: 4px solid var(--accent-color);
  padding-left: 0.6em;
}

/* 記事内共通要素 */
.entry-content p { margin-bottom: 1.6em; }
.entry-content ul, .entry-content ol { margin-bottom: 1.6em; padding-left: 1.5em; }
.entry-content strong { 
    background: linear-gradient(transparent 70%, #ffcccc 70%); 
    font-weight: 700;
}

.entry-content blockquote {
  border-left: 5px solid var(--primary-color);
  background-color: #f8f9fa;
  padding: 1.2em;
  margin: 1.5em 0;
  font-style: italic;
  color: #555;
}

/* コードブロック */
.entry-content pre {
  background-color: #f7f9fb;
  border: 1px solid #e1e8ed;
  padding: 1em;
  margin: 1.5em 0;
  overflow-x: auto;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 0.9em;
  border-radius: 4px;
}

/* 目次デザイン (はてなブログ標準対応修正済み v13.0) */
.entry-content .table-of-contents {
  border: 1px solid var(--border-light);
  padding: 20px;
  margin: 30px auto;
  background-color: var(--bg-summary);
  border-radius: 5px;
  width: 100%;
}
.entry-content .table-of-contents::before {
    content: "Contents";
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px dashed var(--border-medium);
}
.entry-content .table-of-contents ul { padding-left: 0; list-style: none; margin: 0; }
.entry-content .table-of-contents li a { 
    text-decoration: none; 
    display: block; 
    padding: 6px 0;
    color: var(--primary-color);
}

/* ───────────────────────────────────────
 4. モジュール & カードレイアウト (Archive)
─────────────────────────────────────── */
/* 記事一覧のカード化 (Mobile First: 1列) */
.page-archive .archive-entries {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.page-archive .archive-entry {
  width: 100%; /* スマホは1カラム */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

/* アイキャッチ画像 */
.page-archive .entry-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.page-archive .entry-thumb-link {
    display: block;
    overflow: hidden;
}
.page-archive .entry-thumb-link:hover .entry-thumb {
  transform: scale(1.05);
}

/* 記事情報エリア */
.page-archive .archive-entry-header,
.page-archive .archive-entry-body {
  padding: 15px;
}
.page-archive .entry-title {
  font-size: 1.1em;
  border: none;
  margin: 0 0 10px 0;
  line-height: 1.4;
  font-weight: bold;
}
.page-archive .entry-description {
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
}

/* カテゴリーラベル（タグ風デザイン） */
.page-archive .categories {
  margin-top: 8px;
}
.page-archive .categories a {
  display: inline-block;
  font-size: 11px;
  background-color: #f0f0f0;
  color: #666;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 5px;
  text-decoration: none;
  transition: background 0.2s;
}
.page-archive .categories a:hover {
  background-color: var(--accent-color);
  color: #fff;
}

/* サイドバー＆検索ボックス最適化 */
/* 検索ボックス */
.hatena-module-search-box .search-form {
  display: flex;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  overflow: hidden;
}
.hatena-module-search-box .search-module-input {
  border: none;
  padding: 10px;
  flex-grow: 1;
  outline: none;
  background: #fff;
  font-size: 14px;
}
.hatena-module-search-box .search-module-button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0 15px;
  cursor: pointer;
  font-weight: bold;
}

/* プロフィール画像 */
.hatena-module-profile .profile-icon {
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* モジュール: まとめ・ポイント - 記事内で使用 */
.entry-content .point-block {
  background-color: var(--bg-point);
  border-left: 6px solid #e6a800;
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
}
.summary-block {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #eef7fa;
  border-radius: 8px;
  margin: 16px 0;
  padding: 12px;
}
.summary-block img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ───────────────────────────────────────
 5. ナビゲーション & フッター
─────────────────────────────────────── */
/* パンくずリスト */
.breadcrumb {
  margin: 10px 15px;
  font-size: 0.85rem;
  color: #666;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 5px;
}
.breadcrumb span { display: inline-flex; align-items: center; }
.breadcrumb a {
  color: var(--text-color);
  text-decoration: none;
}
.breadcrumb > span::after {
  content: "›";
  margin: 0 8px;
  color: #999;
}
.breadcrumb > span:last-child::after { content: none; }

/* ページ送り（ページネーション）ボタン化 */
.pager {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
}
.pager a {
  display: inline-block;
  padding: 10px 30px;
  background-color: #fff;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.pager a:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* モバイル用フッターナビ (アプリ風固定メニュー) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--footer-nav-height);
  background: #fff;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -1px 4px rgba(0,0,0,.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 10px;
  color: #666;
  width: 100%;
  height: 100%;
}

footer {
  text-align: center;
  font-size: 0.9em;
  margin-top: 30px;
  padding: 20px;
  background-color: #f1f1f1;
}

/* ───────────────────────────────────────
 6. レスポンシブ拡張 (Media Queries)
─────────────────────────────────────── */

/* --- タブレット・PC以上（768px〜） --- */
@media (min-width: 768px) {
  body {
    padding-bottom: 0; /* モバイルナビ余白解除 */
  }
  article { padding: 0 20px; }
  .breadcrumb { margin: 15px auto; max-width: var(--content-max-width); padding: 0 20px; }

  /* フォントサイズ拡張 */
  .entry-title, article h1 { font-size: 2em; }
  .entry-content h2 { font-size: 1.7em; }
  
  /* カードレイアウト: 2列表示 */
  .page-archive .archive-entry {
    width: calc(50% - 10px);
  }

  /* ナビゲーション: PCレイアウト */
  button.menu-toggle { display: none; }
  
  #menu {
    display: flex; /* Flexboxで横並び */
    flex-direction: row;
    justify-content: center; /* 中央揃え */
    flex-wrap: wrap;
    max-height: none;
    opacity: 1;
    overflow: visible;
    visibility: visible;
    background: transparent;
    border-top: 1px solid var(--border-light);
  }
  
  #menu li {
    width: auto;
    border-top: none;
    border-bottom: none;
  }
  #menu li a {
    padding: 16px 25px;
    font-size: 16px;
    position: relative;
  }
  /* PC用ホバーエフェクト（下線） */
  #menu li a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 3px;
      background: var(--primary-color);
      transition: width 0.3s;
  }
  #menu li a:hover {
      background: transparent;
      color: var(--primary-color);
  }
  #menu li a:hover::after {
      width: 100%;
  }

  .bottom-nav { display: none; }
}

/* --- デスクトップ・2カラムレイアウト（1024px〜） --- */
@media (min-width: 1024px) {
  #content-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 20px 0;
  }

  /* メインコンテンツ */
  #wrapper {
    width: 68%;
    float: none; /* Smoothテーマのfloat解除 */
  }
  #main {
    width: 100%;
    float: none;
  }
  article {
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  }

  /* サイドバー (#box2) */
  #box2 {
    width: 28%;
    float: none;
    display: block;
  }
  
  /* サイドバー内モジュール調整 */
  .hatena-module {
      background: #fff;
      padding: 20px;
      margin-bottom: 20px;
      border-radius: 8px;
      border: 1px solid var(--border-light);
  }

  body { line-height: 1.8; }
}