/* <system section="theme" selected="8599973812270629022"> */
@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=c9b53794dc2c21dcf5ca3c7d4faf84) 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=c9b53794dc2c21dcf5ca3c7d4faf84) 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> */

/* ============================================================
   30代エンジニアの資産形成ブログ - カスタムCSS
   テーマ: Minimalism の上に重ねる追加スタイル
   最終更新: 2026-09-27
   ※ 先頭のテーマ読み込みブロックは絶対に消さないこと
   ============================================================ */

:root {
  --c-main: #1b6ca8;        /* メインカラー（信頼感のある青） */
  --c-accent: #f2994a;      /* アクセント（お得・ポイ活） */
  --c-text: #2b2f36;
  --c-sub: #6b7280;
  --c-line: #e5e7eb;
  --c-bg-soft: #f4f7fa;
  --radius: 8px;
}

/* ------------------------------------------------------------
   全体
   ------------------------------------------------------------ */
body {
  color: var(--c-text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
               "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}

.entry-content {
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .02em;
}

.entry-content p { margin: 1.4em 0; }

.entry-content a {
  color: var(--c-main);
  text-underline-offset: .2em;
}

/* ------------------------------------------------------------
   グローバルナビゲーション（ヘッダ下に貼るHTML用）
   スマホでは横スクロールさせる
   ------------------------------------------------------------ */
.menu {
  width: 100%;
  margin: 0 0 24px;
  background: #11243a;
  border-radius: var(--radius);
  overflow: hidden;
}
.menu ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menu ul::-webkit-scrollbar { display: none; }
.menu li {
  flex: 1 0 auto;
  margin: 0;
  border: 0;
  text-align: center;
}
.menu li + li { border-left: 1px solid rgba(255, 255, 255, .14); }
.menu li a {
  display: block;
  padding: 14px 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease;
}
.menu li a:hover {
  background: var(--c-main);
  color: #fff;
}

/* ------------------------------------------------------------
   記事タイトル・日付
   ------------------------------------------------------------ */
.entry-title { line-height: 1.5; }
.entry-title a { color: var(--c-text); }
.entry-title a:hover { color: var(--c-main); }
.entry-date, .date a { color: var(--c-sub); }

/* ------------------------------------------------------------
   見出し
   ------------------------------------------------------------ */
.entry-content h2 {
  margin: 2.6em 0 1em;
  padding: .6em .8em;
  background: var(--c-main);
  color: #fff;
  font-size: 1.35em;
  line-height: 1.5;
  border-radius: var(--radius);
  border: 0;
}

.entry-content h3 {
  margin: 2.2em 0 .9em;
  padding: .2em 0 .2em .7em;
  font-size: 1.2em;
  line-height: 1.5;
  border-left: 6px solid var(--c-main);
  border-top: 0;
  border-bottom: 2px solid var(--c-line);
  background: transparent;
}

.entry-content h4 {
  margin: 1.8em 0 .7em;
  padding: 0 0 .2em;
  font-size: 1.08em;
  border-top: 0;
  border-bottom: 2px dotted var(--c-line);
  background: transparent;
}

.entry-content h5 {
  margin: 1.6em 0 .6em;
  padding: 0;
  font-size: 1em;
  color: var(--c-main);
  border-bottom: 0;
  background: transparent;
}

/* ------------------------------------------------------------
   目次
   ------------------------------------------------------------ */
.entry-content .table-of-contents {
  position: relative;
  margin: 2em 0;
  padding: 52px 20px 20px 40px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-size: .95em;
  line-height: 1.9;
  list-style-type: decimal;
  color: var(--c-text);
}
.entry-content .table-of-contents::before {
  content: "目次";
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 1.05em;
  font-weight: 700;
  color: var(--c-main);
  letter-spacing: .08em;
}
.entry-content .table-of-contents a {
  color: var(--c-text);
  text-decoration: none;
}
.entry-content .table-of-contents a:hover {
  color: var(--c-main);
  text-decoration: underline;
}
.entry-content .table-of-contents ul { list-style-type: circle; }

/* ------------------------------------------------------------
   マーカー（過去記事との互換のためクラス名は維持）
   ------------------------------------------------------------ */
.marker1 {
  background: linear-gradient(transparent 70%, #ffd9d9 70%);
  font-weight: 700;
}
.marker2 {
  background: linear-gradient(transparent 70%, #cdf3d3 70%);
  font-weight: 700;
}

/* ------------------------------------------------------------
   囲みボックス
   .box1 / .box01 は過去記事との互換のため維持
   ------------------------------------------------------------ */
.entry-content .box1 {
  margin: 2em 0;
  padding: 1.2em 1.4em;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-left: 5px solid var(--c-main);
  border-radius: var(--radius);
  box-shadow: none;
}
.entry-content .box1 p { margin: 0; padding: 0; }

.entry-content .box01 {
  position: relative;
  margin: 2.6em 0 2em;
  padding: 1.4em 1.4em 1.2em;
  background: #fff;
  border: 2px solid var(--c-accent);
  border-radius: var(--radius);
}
.entry-content .box01 .box-title {
  position: absolute;
  top: -15px;
  left: 14px;
  display: inline-block;
  padding: 3px 12px;
  background: var(--c-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  border-radius: 999px;
}
.entry-content .box01 p { margin: 0; padding: 0; }
.entry-content .box01 ul { margin: .4em 0 0; padding-left: 1.3em; }
.entry-content .box01 ul li {
  padding: .3em 0;
  line-height: 1.7;
  list-style-type: disc;
}
/* 旧CSSはFont Awesomeのアイコンを使っていたが、CDN終了で読めないため撤去 */

/* 新しく使える汎用ボックス */
.entry-content .box-point,
.entry-content .box-memo,
.entry-content .box-warn {
  position: relative;
  margin: 2.4em 0;
  padding: 1.5em 1.3em 1.2em;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
}
.entry-content .box-point::before,
.entry-content .box-memo::before,
.entry-content .box-warn::before {
  position: absolute;
  top: -12px;
  left: 14px;
  padding: 2px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.entry-content .box-point { background: #fff8f0; border-color: #f7d8b5; }
.entry-content .box-point::before { content: "ポイント"; background: var(--c-accent); }
.entry-content .box-memo { background: var(--c-bg-soft); border-color: #cfe0ef; }
.entry-content .box-memo::before { content: "メモ"; background: var(--c-main); }
.entry-content .box-warn { background: #fff5f5; border-color: #f3c3c3; }
.entry-content .box-warn::before { content: "注意"; background: #d9534f; }
.entry-content .box-point > :last-child,
.entry-content .box-memo > :last-child,
.entry-content .box-warn > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------
   リンクボタン
   ------------------------------------------------------------ */
.entry-content a.btn-link {
  display: inline-block;
  margin: .6em 0;
  padding: 14px 28px;
  background: var(--c-accent);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 3px 0 #d9822b;
  transition: transform .1s ease;
}
.entry-content a.btn-link:hover { transform: translateY(1px); box-shadow: 0 2px 0 #d9822b; }

/* ------------------------------------------------------------
   表・引用・コード
   ------------------------------------------------------------ */
.entry-content table {
  display: table;
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: .9em;
}
.entry-content table th,
.entry-content table td {
  padding: 8px 10px;
  border: 1px solid var(--c-line);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
/* 1列目（銘柄名など）を広く、数値列は詰める */
.entry-content table th:first-child,
.entry-content table td:first-child { width: 42%; }
.entry-content table td:not(:first-child) { text-align: right; }
.entry-content table th:not(:first-child) { text-align: right; }
.entry-content table th { background: var(--c-bg-soft); font-weight: 700; }
.entry-content table tbody tr:nth-child(even) { background: #fafbfc; }

/* 3列以上の比較表は1列目の42%固定をやめて均等に近づける。
   Markdown側で :--- / :--: を指定したセルはインラインstyleが優先され、
   上の右寄せ指定を上書きする。 */
.entry-content table:has(th:nth-child(3)) th:first-child,
.entry-content table:has(th:nth-child(3)) td:first-child { width: auto; }
.entry-content table:has(th:nth-child(5)) { font-size: .84em; }
.entry-content table:has(th:nth-child(5)) th,
.entry-content table:has(th:nth-child(5)) td { padding: 7px 6px; }


.entry-content blockquote {
  margin: 2em 0;
  padding: 1em 1.4em;
  background: var(--c-bg-soft);
  border-left: 4px solid var(--c-line);
  color: var(--c-sub);
  font-style: normal;
}
.entry-content blockquote p:first-child { margin-top: 0; }
.entry-content blockquote p:last-child { margin-bottom: 0; }

.entry-content pre,
.entry-content code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
.entry-content pre {
  padding: 1em 1.2em;
  background: #1f2430;
  color: #e6e6e6;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: .9em;
  line-height: 1.7;
}
.entry-content :not(pre) > code {
  padding: .15em .45em;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  font-size: .92em;
}

/* ------------------------------------------------------------
   サイドバー
   ------------------------------------------------------------ */
.hatena-module-title {
  margin-bottom: 14px;
  padding: .55em .8em;
  background: var(--c-main);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  border: 0;
  border-radius: var(--radius);
}
.hatena-module-title::before,
.hatena-module-title::after { content: none; }
/* 「最新記事」「月別アーカイブ」は見出し自体がリンクのため、
   テーマのリンク色が白を上書きしてしまう。見出し内のaも白に揃える */
.hatena-module .hatena-module-title a,
.hatena-module .hatena-module-title a:link,
.hatena-module .hatena-module-title a:visited,
.hatena-module .hatena-module-title a:hover {
  color: #fff;
  text-decoration: none;
}
.hatena-module .hatena-module-title a:hover { opacity: .85; }
.hatena-module-body { font-size: 14px; line-height: 1.8; }

/* 関連記事・最新記事 */
li.urllist-item {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line);
}
li.urllist-item:last-child { border-bottom: 0; }
.urllist-with-thumbnails li .urllist-image { margin: 0 12px 0 0; }
.urllist-title-link {
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.6;
}
.urllist-title-link:hover { color: var(--c-main); }

/* ------------------------------------------------------------
   ページャ
   ------------------------------------------------------------ */
.pager a {
  display: inline-block;
  padding: 10px 18px;
  background: #fff;
  color: var(--c-main);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: none;
  border: 1px solid var(--c-main);
  border-radius: var(--radius);
}
.pager a:hover { background: var(--c-main); color: #fff; }

/* ------------------------------------------------------------
   スマートフォン
   ------------------------------------------------------------ */
@media (max-width: 767px) {
  .entry-content { font-size: 16px; line-height: 1.85; }
  .entry-content h2 { font-size: 1.2em; margin-top: 2.2em; }
  .entry-content h3 { font-size: 1.1em; }
  .menu { border-radius: 0; margin-bottom: 18px; }
  .menu li a { padding: 12px 16px; font-size: 14px; }
  .entry-content .table-of-contents { padding: 48px 14px 16px 34px; }
  .entry-content table { font-size: .78em; }
  .entry-content table th,
  .entry-content table td { padding: 6px 5px; }
  .entry-content table th:first-child,
  .entry-content table td:first-child { width: 40%; }
}

@media (max-width: 400px) {
  .entry-content table { font-size: .72em; }
  .entry-content table th,
  .entry-content table td { padding: 5px 3px; }
}

/* ------------------------------------------------------------
   お問い合わせフォーム（Googleフォーム埋め込み）
   ------------------------------------------------------------ */
.contact-form { margin: 2em 0; }
.contact-form iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}


/* ------------------------------------------------------------
   グラフ（インラインSVG）
   ------------------------------------------------------------ */
.viz { margin: 2em 0; }
.viz-title {
  margin: 0 0 .5em;
  font-size: .95em;
  font-weight: 700;
  color: var(--c-text);
}
.viz svg { display: block; width: 100%; height: auto; }
.viz-legend {
  list-style: none;
  margin: .9em 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45em 1.1em;
  font-size: .85em;
  line-height: 1.5;
}
.viz-legend li {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: baseline;
  gap: .5em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.viz-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  display: inline-block;
  transform: translateY(1px);
}
.viz-legend .viz-name { color: var(--c-text); word-break: break-word; }
.viz-legend .viz-val  { color: var(--c-sub); white-space: nowrap; font-variant-numeric: tabular-nums; }
.viz-note {
  margin: .7em 0 0;
  font-size: .82em;
  color: var(--c-sub);
  line-height: 1.7;
}

@media (max-width: 480px) {
  .viz-legend { grid-template-columns: 1fr; font-size: .82em; }
}


/* ------------------------------------------------------------
   全保有銘柄の表
   PCは通常の表、スマホ（600px以下）では1銘柄＝1カードに畳む。
   列が増えても横スクロールしない。
   ------------------------------------------------------------ */
.entry-content .tbl-holdings {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  font-size: .86em;
  margin: 1em 0 1.8em;
}
.entry-content .tbl-holdings th,
.entry-content .tbl-holdings td {
  padding: 7px 8px;
  border: 1px solid var(--c-line);
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
  width: auto;
}
.entry-content .tbl-holdings th {
  background: var(--c-bg-soft);
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
}
.entry-content .tbl-holdings th:first-child,
.entry-content .tbl-holdings td.nm { text-align: left; white-space: normal; width: 30%; }
.entry-content .tbl-holdings td.nm { font-weight: 700; line-height: 1.45; }
.entry-content .tbl-holdings td.nm a {
  color: var(--c-main);
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 108, 168, .3);
}
.entry-content .tbl-holdings td.nm a:hover {
  border-bottom-color: var(--c-main);
}
.entry-content .tbl-holdings .cd {
  font-size: .82em;
  font-weight: 400;
  color: var(--c-sub);
  font-variant-numeric: tabular-nums;
}
/* 見出しは「ラベル」と「（単位）」を別の行に固定し、
   それぞれの内部では改行させない（「配当利回り（%」で折れるのを防ぐ） */
.entry-content .tbl-holdings th .lbl {
  display: block;
  white-space: nowrap;
}
.entry-content .tbl-holdings th .u {
  display: block;
  white-space: nowrap;
  font-size: .78em;
  font-weight: 400;
  color: var(--c-sub);
}
.entry-content .tbl-holdings .u2 { font-size: .8em; color: var(--c-sub); margin-left: 2px; }
.entry-content .tbl-holdings td.ac { text-align: center; white-space: nowrap; }
.entry-content .tbl-holdings td.up   { color: #b2451f; }
.entry-content .tbl-holdings td.down { color: #1b6ca8; }
.entry-content .tbl-holdings tbody tr:nth-child(even) { background: #fafbfc; }

@media (max-width: 600px) {
  .entry-content .tbl-holdings { font-size: .84em; display: block; }
  .entry-content .tbl-holdings thead { display: none; }
  .entry-content .tbl-holdings tbody,
  .entry-content .tbl-holdings tr,
  .entry-content .tbl-holdings td { display: block; width: auto; }
  .entry-content .tbl-holdings tbody tr {
    border: 1px solid var(--c-line);
    border-radius: 8px;
    margin: 0 0 10px;
    padding: 9px 12px;
    background: #fff;
  }
  .entry-content .tbl-holdings tbody tr:nth-child(even) { background: #fafbfc; }
  .entry-content .tbl-holdings td {
    border: 0;
    padding: 3px 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1em;
    white-space: normal;
    text-align: right;
  }
  .entry-content .tbl-holdings td::before {
    content: attr(data-label);
    color: var(--c-sub);
    font-weight: 400;
    font-size: .92em;
    text-align: left;
    white-space: nowrap;
  }
  .entry-content .tbl-holdings td.nm {
    display: block;
    width: auto;
    border-bottom: 1px solid var(--c-line);
    margin-bottom: 5px;
    padding-bottom: 7px;
  }
  .entry-content .tbl-holdings td.nm::before { content: none; }
  .entry-content .tbl-holdings td.ac { text-align: right; }
}

/* ------------------------------------------------------------
   記事下HTML用（.entry-content の外なので個別に指定）
   ------------------------------------------------------------ */
.nav-links {
  margin: 1.8em 0 1.2em;
  padding: .9em 1em;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  font-size: .92em;
  line-height: 1.9;
}
.nav-links a { font-weight: 600; color: var(--c-main); }

.box-memo-f {
  margin: 1.4em 0;
  padding: 1.1em 1.2em;
  background: var(--c-bg-soft);
  border: 1px solid #cfe0ef;
  border-radius: var(--radius);
  font-size: .9em;
  line-height: 1.8;
}
.box-memo-f p { margin: 0; }

/* 広告と本文の境目をはっきりさせる（誤クリック誘導と見なされないため） */
.ad-sep {
  margin: 2.6em 0 1.4em;
  border: 0;
  border-top: 1px solid var(--c-line);
}

/* AdSense・おすすめ記事（2026-10-10） */
.ad-wrap{margin:1.5em 0;text-align:center}
.ad-label{font-size:.75em;color:#888;margin:0 0 .3em}
.recommend-box{border:1px solid #ddd;border-radius:6px;padding:.8em 1em;margin:1.5em 0}
.recommend-title{font-weight:bold;margin:0 0 .4em}
.recommend-box ul{margin:0;padding-left:1.2em}
.recommend-box li{margin:.3em 0}

/* 資産記事：冒頭の要約と全保有銘柄の折りたたみ（2026-10-10） */
.keypoints ul{margin:.2em 0 0;padding-left:1.2em}
.holdings-fold{margin:1em 0}
.holdings-fold > summary{cursor:pointer;font-weight:bold;padding:.7em 1em;border:1px solid #ccc;border-radius:6px;background:#f7f7f7}
.holdings-fold[open] > summary{margin-bottom:1em}

/* 本文中の増減の色分け（保有銘柄表の td.up / td.down と同じ色）2026-10-11 */
.entry-content .num-up{color:#b2451f;font-weight:bold}
.entry-content .num-down{color:#1b6ca8;font-weight:bold}

/* 字体と改行（2026-10-12）
   字体: Windowsでは游ゴシックよりメイリオを優先（iPhone・Macはヒラギノのまま）
   改行: 日本語を文節で折り返す（auto-phrase は Chrome/Edge/Android。非対応ブラウザは従来どおり）、
         行頭禁則を厳しく、見出しは行の長さをそろえる。
         表: 既存の td { word-break: break-word } を文節折り返しで上書き（入りきらない長い語は overflow-wrap:anywhere で保険）、
             列幅は中身に合わせる（table-layout:auto。既存の fixed＋1列目42%/均等割りを上書き。2026-10-12 案A）。
             反映後は check_table_overflow.py で全記事×320/360/390pxのはみ出しを確認する */
body, .entry-content, .entry-title, .entry-content table {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "游ゴシック Medium", sans-serif;
}
.entry-content p, .entry-content li, .entry-content td, .entry-content th, .entry-content figcaption,
.entry-title, .entry-content h2, .entry-content h3, .entry-content h4 {
  word-break: auto-phrase; line-break: strict;
}
.entry-title, .entry-content h2, .entry-content h3, .entry-content h4 { text-wrap: balance; }
.entry-content p, .entry-content li { text-wrap: pretty; }
.entry-content table:not(.tbl-holdings) th, .entry-content table:not(.tbl-holdings) td {
  word-break: auto-phrase; overflow-wrap: anywhere;
}
.entry-content table:not(.tbl-holdings) { table-layout: auto; }
/* 数字の列（右寄せのセル）は単語の途中で折り返さない（「4,100株」を割らない）。空白のある長い文は空白で折り返せる。
   nowrap だと長い文や狭い画面（320px）ではみ出したため keep-all にした。入りきらない極端な場合だけ break-word で折る */
.entry-content table:not(.tbl-holdings) td[style*="text-align:right"],
.entry-content table:not(.tbl-holdings) th[style*="text-align:right"] { word-break: keep-all; overflow-wrap: break-word; }
/* 小さい画面（360px以下）では、5列以上の表の文字と余白を詰めて収める */
@media (max-width: 360px) {
  .entry-content table:not(.tbl-holdings):has(th:nth-child(5)) { font-size: .76em; }
  .entry-content table:not(.tbl-holdings):has(th:nth-child(5)) th,
  .entry-content table:not(.tbl-holdings):has(th:nth-child(5)) td { padding: 6px 4px; }
}
.entry-content table:not(.tbl-holdings) th:first-child,
.entry-content table:not(.tbl-holdings) td:first-child { width: auto; }

/* 保有銘柄の画像（週次記事）: 画像どうしをすき間なく並べて1つの表に見せる */
.entry-content .holdings-imgs { margin: 1em 0 1.8em; line-height: 0; font-size: 0; }
.entry-content .holdings-imgs p { margin: 0; }
.entry-content .holdings-imgs br { display: none; }
.entry-content .holdings-imgs img { display: block; width: 100%; height: auto; margin: 0; }
