/* ヘッダー画像を画面サイズに自動で合わせる */
.header1 img, .header2 img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

/* 画面がスマホサイズの時、PC版ヘッダーを消す */
.header1 {
  display: none;
}

/* 画面がスマホサイズの時、スマホ版ヘッダーを表示 */
.header2 {
  display: block;
}

/* メディアクエリ */
@media screen and (min-width: 480px) {
  /* 画面がPCサイズの時、PC版ヘッダーを表示 */
  .header1 {
    display: block;
  }
  /* 画面がPCサイズの時、スマホ版ヘッダーを消す */
  .header2 {
    display: none;
  }
}

/*
Theme Name: Comfort
Theme URI: https://blog.hatena.ne.jp/-/store/theme/17391345971647514061
Description: （省略：元テーマの説明文）
Author: oyomiyo
Author URI: http://blog.hatena.ne.jp/oyomiyo/
*/
/*
  Theme: comfort
  Author: taku
  Description: カード型デザインのレスポンシブテーマです。
  Responsive: yes
 */

/* <system section="background" selected="undefined"> */
/* </system> */

@charset "utf-8";

/* =========================
   1) パーサーエラー修正箇所
   ========================= */
article,
aside,
details,
figcaption,
.urllist-image-link,
.related-entries-image-link,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

.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;
}

html,
body {
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', 'Mplus 1p', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'MS PGothic', sans-serif;
  color: #454545;
}

p {
  font-family: "Noto Sans Japanese";
}

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 #dddddd;
  color: #454545;
}

/* Buttons */

.btn {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 4px 10px 4px;
  margin-bottom: 0;
  line-height: 18px;
  color: #454545;
  background-color: #ffffff;
  text-align: center;
  vertical-align: middle;
  border-radius: 2px;
  background-clip: padding-box;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
}

.btn:hover {
  background-color: #f5f5f5;
  text-decoration: none !important;
}

.btn-small {
  padding: 2px 10px !important;
  font-size: 11px !important;
}

.btn-large {
  padding: 13px 19px;
  font-size: 17px;
  line-height: normal;
  font-weight: bold;
}

/* グローバルヘッダ */

#globalheader-container {
  background-color: #333;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

/* container */

#container {
  margin-bottom: 30px;
  padding-top: 37px;
}

#container #content {
  display: block;
  max-width: 1000px;
  width: 100%;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  *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: 70%;
  padding: 0 20px;
  box-sizing: border-box;
  float: left;
}

#box2 {
  width: 30%;
  box-sizing: border-box;
  float: right;
}

/* header */

#blog-title {
  margin: 0;
  padding: 10px 0;
  width: 100%;
  text-align: left;
  background: #5298cd;
  position: relative;
}

#blog-title-content {
  max-width: 920px;
  width: 90%;
  margin: 0 auto;
}

#title {
  margin: 0;
  font-weight: bold;
}

#title a {
  color: #eee;
}

#blog-description {
  font-weight: normal;
  font-size: 80%;
  margin: 0;
  color: #eee;
}

/*ヘッダ画像*/

#top-editarea {
  line-height: 0;
}

#top-editarea .header-img {
  position: relative;
}

#top-editarea .header-img img.hatena-fotolife {
  width: 100%;
  pointer-events: none;
}

.header-image-enable #title {
  padding-top: 70px;
}

.header-image-enable #title,
.header-image-enable #blog-description {
  padding-left: 20px;
}

/*スライドメニュー*/
#slide-nav {
  font-size: 0;
  font-weight: bold;
  padding: 0;
}

#slide-nav .menu a {
  display: block;
  color: #3d3f44;
  font-size: 15px;
  font-weight: bold;
  line-height: 35px;
  text-align: center;
  overflow: hidden;
  padding: 0 6px;
  box-sizing: border-box;
  text-decoration: none;
}

#slide-nav .slide-nav-inner {
  width: 100%;
  height: 35px;
  padding: 0 6px;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  margin: 0 auto;
  background-color: #dfe5e7;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}
#slide-nav .menu {
  display: inline-block;
}

/* パンくず */

#top-box {
  margin: 20px auto 20px;
  font-size: 90%;
}

#top-box .breadcrumb {
  border: 1px solid #dddddd;
  padding: 10px;
}

/* entry */

.entry {
  position: relative;
  margin: 0;
  margin-bottom: 100px;
}

.entry-content {
  padding: 0 20px 0 40px;
  box-sizing: border-box;
}

.entry-header {
  padding: 0 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #dddddd;
  position: relative;
}

.entry-title {
  font-size: 120%;
  margin: 0 0 .6em;
  line-height: 1.4;
}

/* 日付 */
.date {
  font-weight: bold;
  margin-bottom: 10px;
}

.date a {
  color: #333333;
  text-decoration: none;
  font-size: 90%;
}

/* カテゴリ */

.categories {
  margin-top: 10px;
  font-size: 80%;
}

.categories a {
  color: #999999;
}

.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: #454545;
  background-color: #ffffff;
  text-align: center;
  vertical-align: middle;
  border-radius: 2px;
  background-clip: padding-box;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
}

.entry-header-menu a:hover {
  background-color: #f5f5f5;
  text-decoration: none !important;
}

/* entry-content */

.entry-content {
  font-size: 95%;
  line-height: 1.7;
  padding-bottom: 10px;
  border-bottom: 1px solid #dddddd;
}

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

.entry-content img {
  max-width: 100%;
}

.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: 140%;
}

.entry-content h2 {
  font-size: 130%;
}

.entry-content h3 {
  font-size: 125%;
}

.entry-content h4 {
  font-size: 120%;
}

.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 #dddddd;
  margin: 0 0 10px;
  padding: 20px;
}

.entry-content blockquote p {
  margin-top: 0;
  margin-bottom: 0;
}

.entry-content pre {
  border: 1px solid #dddddd;
  margin: 0 0 10px;
  padding: 20px;
  white-space: pre;
}

.entry-content pre > code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: 0;
  background: transparent;
  font-family: 'Monaco', 'Consolas', 'Courier New', Courier, monospace, sans-serif;
}

.entry-content code {
  font-size: 90%;
  margin: 0 2px;
  padding: 0 5px;
  border: 1px solid #eaeaea;
  background-color: #f8f8f8;
  border-radius: 3px;
  font-family: 'Monaco', 'Consolas', 'Courier New', Courier, monospace, sans-serif;
}

.entry-content .hatena-asin-detail li {
  line-height: 1.4;
}

/* entry-footer */

.entry-footer {
  margin-top: 10px;
  padding: 0;
  box-sizing: border-box;
}

.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 #dddddd;
  position: relative;
}

.comment-box li:first-child {
  border-top: 1px solid #dddddd;
}

.comment-box .read-more-comments {
  padding-left: 0;
}

.comment-box .hatena-id-icon {
  position: absolute;
  top: 10px;
  left: 0;
  width: 50px !important;
  height: 50px !important;
  border-radius: 3px;
  background-clip: padding-box;
}

.comment-user-name {
  margin: 0 0 10px 0;
  font-weight: bold;
}

.comment-content {
  font-size: 90%;
  margin: 0 0 10px 0;
  word-wrap: break-word;
}

.comment-content p {
  margin: 0 0 10px 0;
}

.comment-metadata {
  font-size: 80%;
  color: #999999;
  margin: 0;
}

.comment-metadata a {
  color: #999999;
}

.leave-comment-title {
  display: inline-block;
  padding: 4px 10px 4px;
  margin-bottom: 0;
  line-height: 18px;
  color: #454545;
  background-color: #ffffff;
  text-align: center;
  vertical-align: middle;
  border-radius: 2px;
  background-clip: padding-box;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
}

.leave-comment-title:hover {
  background-color: #f5f5f5;
  text-decoration: none !important;
}

/* サイドバーここから */

#box2 {
  font-size: 90%;
  line-height: 1.5;
}

.hatena-module {
  margin-bottom: 60px;
}

.hatena-module-title {
  font-weight: bold;
  background-color: #ddd;
  font-size: 17px;
  height: 43px;
  line-height: 43px;
  padding: 0 15px;
  margin-bottom: 5px;
  overflow: hidden;
}

.hatena-module-title a {
  color: #454545;
  text-decoration: none;
}

.hatena-module-title a:hover {
  text-decoration: underline;
}

.hatena-module {
  background-color: #eee;
  margin-bottom: 20px;
}

.hatena-module-body {
  padding: 0 5px 5px 5px;
  font-weight: 500;
  line-height: 1.9;
}

/* Profile module */

.hatena-module-profile .profile-icon {
  float: left;
  margin: 0 10px 10px 0;
  border-radius: 5px;
  background-clip: padding-box;
}

.hatena-module-profile .id {
  display: block;
  font-weight: bold;
  font-size: 110%;
  margin-bottom: 5px;
}

.hatena-module-profile .profile-description {
  font-size: 90%;
}

.hatena-module-profile .profile-description p {
  margin-top: 0;
}

/* urllist module */

.hatena-urllist {
  list-style: none;
  margin: 0;
  padding: 0 0 0 5px;
  line-height: 0;
  width: 100%;
  box-sizing: border-box;
}

.hatena-urllist li {
}

.hatena-urllist li a {
  line-height: 1.8;
  text-decoration: none;
}

/* Search module */

.hatena-module-search-box .search-form {
  border: 1px solid #dddddd;
  border-radius: 3px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.hatena-module-search-box .search-module-input {
  padding: 5px;
  color: #454545;
  background: none;
  border: none;
  outline: none;
  height: 20px;
  width: 90%;
  font-weight: normal;
}

.hatena-module-search-box .search-module-button {
  width: 20px;
  height: 20px;
  border: none;
  outline: none;
  text-indent: -9999px;
  position: absolute;
  top: 5px;
  right: 5px;
  opacity: 0.5;
  background: transparent url("https://hatenablog.com/theme/hogehoge.css") no-repeat center;
}

.hatena-module-search-box .search-module-button:hover {
  opacity: 0.85;
}

/* サイドバーの記事リンク */

#box2 .hatena-module-recent-entries li,
#box2 .entries-access-ranking li,
#box2 .hatena-module-related-entries li {
  display: inline-block;
  line-height: 1.7;
  overflow: hidden;
  text-decoration: none;
  height: 75px;
  margin: 0 0 5px 0;
  padding: 0;
  width: 100%;
  background-color: #fdfdfd;
  border: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#box2 .hatena-module-recent-entries img.urllist-image.recent-entries-image,
#box2 .entries-access-ranking img.urllist-image,
#box2 .hatena-module-related-entries img.urllist-image {
  width: 75px;
  height: 75px;
  float: left;
  margin: 0 5px 0 0;
}

#box2 .hatena-module-recent-entries li a,
#box2 .hatena-module-entries-access-ranking li a,
#box2 .hatena-module-related-entries li a {
  font-size: 13px;
  text-decoration: none;
  color: #666;
  font-weight: bold;
  vertical-align: middle;
}

#box2 .hatena-module-recent-entries .hatena-module-body,
#box2 .hatena-module-entries-access-ranking .hatena-module-body,
#box2 .hatena-module-related-entries .hatena-module-body {
  line-height: 0;
  padding: 0 5px 0 5px;
}
#box2 .hatena-module-recent-entries .hatena-urllist,
#box2 .hatena-module-entries-access-ranking .hatena-urllist,
#box2 .hatena-module-related-entries .hatena-urllist {
  padding: 0;
}

/* 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: bold;
  border-bottom: 1px solid #dfdfdf;
  margin-bottom: 5px;
}

.page-about dd {
  margin-left: 0;
  margin-bottom: 30px;
}

/* box2内のリンク色 */

#box2 a {
  color: #333333;
}

#box2 a:visited {
  color: #666;
}

/* archive ページ */

.page-archive .archive-entries .archive-entry {
  margin-bottom: 3em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-archive .archive-entries .entry-title {
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin: 0 0 .5em;
}

.page-archive .archive-entries .categories {
  margin: 0 0 .5em;
}

.page-archive .categories a {
  color: #fff;
  font-size: 70%;
  background: #aaa;
  padding: 3px 5px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  margin: 2px;
  line-height: normal;
}

.page-archive .archive-entries .archive-entry {
  background-color: #f5f5f5;
  width: 46%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 10px;
  display: inline-block;
  margin: 0 0 2% 2%;
  vertical-align: top;
}

.date.archive-date {
  display: none;
}

.page-archive .archive-entries {
  font-size: 100%;
  margin: 0;
  line-height: 1.7em;
}

.page-archive .entry-thumb {
  width: 100px;
  height: 100px;
}

.page-archive .archive-entries .entry-description {
  margin: 0;
  line-height: 1.6;
  height: 100px;
  overflow: hidden;
  font-size: 13px;
}

/* 記事下の関連記事 */

#entry-footer-secondary-modules .hatena-module .hatena-module-body {
  padding: 0;
}

#entry-footer-secondary-modules .hatena-urllist {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  line-height: 0;
}

#entry-footer-secondary-modules .hatena-urllist li {
  height: 80px;
  width: 48.5%;
  display: inline-block;
  margin: 0 0 1% 1%;
  background-color: #fdfdfd;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#entry-footer-secondary-modules .hatena-urllist li:nth-child(2n) {
  float: right;
  margin: 0 1% 1% 0;
}

#entry-footer-secondary-modules .urllist-with-thumbnails li .urllist-image {
  margin: 0;
  float: left;
  height: 80px;
  width: 80px;
  margin-right: 5px;
}

#entry-footer-secondary-modules .hatena-urllist li a {
  font-size: 13px;
  text-decoration: none;
  color: #666;
  font-weight: bold;
  line-height: 2;
}

#entry-footer-secondary-modules .hatena-urllist .urllist-entry-body {
  display: none;
}

#entry-footer-secondary-modules .hatena-urllist .urllist-date-link {
  display: none;
}

/* Media Queries - Retina Display */
@media (-webkit-min-device-pixel-ratio: 2) {
  .hatena-module-search-box .search-module-button {
    background: transparent url("https://hatenablog.com/theme/hogehoge.css") no-repeat center!important;
    background-size: 20px 20px;
  }
}

/* Tablet 横幅768px～1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  #main {
    width: 68%;
    padding: 0;
    float: left;
  }
  #box2 {
    width: 32%;
  }
  #box2 .hatena-module-recent-entries li,
  #box2 .entries-access-ranking li,
  #box2 .hatena-module-related-entries li {
    height: 65px;
    line-height: 1.5;
  }
  #box2 .hatena-module-recent-entries img.urllist-image.recent-entries-image,
  #box2 .entries-access-ranking img.urllist-image,
  #box2 .hatena-module-related-entries img.urllist-image {
    width: 65px;
    height: 65px;
  }
  #box2 .hatena-module-recent-entries li a,
  #box2 .hatena-module-entries-access-ranking li a,
  #box2 .hatena-module-related-entries li a {
    font-size: 11px;
  }
  #box2 .urllist-category-link {
    color: red;
  }
  .entry-content {
    padding: 0 20px;
  }
  .page-archive .archive-entries {
    text-align: left;
    padding-left: 7px;
    box-sizing: border-box;
  }
  .page-archive .archive-entries .archive-entry {
    width: 48%;
    margin: 0 0 7px 0;
    padding: 7px;
    text-align: left;
  }
  .page-archive .archive-entries .archive-entry:nth-child(even) {
    margin-left: 4px;
  }
  .page-archive .archive-entries .entry-title {
    font-size: 14px;
  }
  .page-archive .entry-thumb {
    width: 80px;
    height: 80px;
  }
  .page-archive .archive-entries .entry-description {
    line-height: 1.9;
    height: 80px;
    font-size: 11px;
  }
  #entry-footer-secondary-modules .hatena-urllist li {
    height: 70px;
  }
  #entry-footer-secondary-modules .urllist-with-thumbnails li .urllist-image {
    height: 70px;
    width: 70px;
  }
  #entry-footer-secondary-modules .hatena-urllist li a {
    font-size: 12px;
  }
}

/* Tablet 縦幅600px～767px */
@media screen and (min-width: 600px) and (max-width: 767px) {
  #container #content {
    margin-top: 9px;
  }
  #main {
    width: 60%;
    padding: 0;
  }
  .entry-content {
    padding: 0 10px;
  }
  #box2 {
    width: 40%;
  }
  .hatena-module {
    margin-bottom: 9px;
  }
  .page-archive .archive-entries .archive-entry {
    width: 96%;
    overflow: hidden;
    padding: 7px;
    margin: 0 2% 2% 2%;
  }
  .page-archive .archive-entries {
    font-size: 95%;
    margin: 0;
    line-height: 1.6em;
  }
  #entry-footer-secondary-modules .hatena-urllist li {
    width: 100%;
    margin: 0 0 5px 0;
  }
  #entry-footer-secondary-modules .hatena-urllist li:nth-child(2n) {
    float: none;
    margin: 0 0 5px 0;
  }
  #entry-footer-secondary-modules .hatena-urllist {
    padding: 0 5px;
  }
}

/* Smartphone ～599px */
@media only screen and (max-width: 599px) {
  #globalheader-container {
    position: static;
  }
  #container {
    width: 100%;
    word-wrap: break-word;
    overflow: hidden;
    padding-top: 0;
  }
  #main {
    width: 100%;
    float: none;
  }
  #box2 {
    width: 100%;
    padding: 0;
    float: none;
  }
  #box2-inner {
    width: 100%;
  }
  .hatena-module {
    width: 100%;
    float: none;
  }
  .entry-header-menu {
    top: -30px;
    left: 0px;
  }
  #slide-nav {
    background-color: #dfe5e7;
    height: 33px;
    width: 100%;
    padding-left: 30px;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
  }
  #slide-nav .menu a {
    font-size: 14px;
    font-weight: bold;
    padding: 0px 6px;
    line-height: 33px;
  }
  #slide-nav .slide-nav-inner {
    margin: 0 auto;
    background-color: #dfe5e7;
    position: relative;
    height: 33px;
    animation: slideIn 1s ease-out 0s 1 normal forwards;
    -webkit-animation: slideIn 1s ease-out 0s 1 normal forwards;
  }
  @keyframes slideIn {
    0% {}
    100% {
      -webkit-transform: translate(-30px);
      transform: translate(-30px);
    }
  }
  @-webkit-keyframes slideIn {
    0% {}
    100% {
      -webkit-transform: translate(-30px);
      transform: translate(-30px);
    }
  }
  #container #content {
    margin-top: 2%;
  }
  .page-archive .archive-entries .archive-entry {
    background-color: #eee;
    width: 96%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 5px;
    display: inline-block;
    margin: 0 2% 2% 2%;
    vertical-align: top;
  }
  .page-archive .archive-entries {
    font-size: 95%;
    margin: 0;
    line-height: 1.6em;
  }
  .hatena-module {
    background-color: #eee;
    margin-bottom: 0;
  }
  .entry-title {
    font-size: 110%;
  }
  .entry-content {
    padding: 0 10px;
  }
  .entry-footer {
    margin-top: 10px;
  }
  #box2 .hatena-module-recent-entries li,
  #box2 .entries-access-ranking li,
  #box2 .hatena-module-related-entries li {
    line-height: 1.9;
    height: 80px;
  }
  #box2 .hatena-module-recent-entries img.urllist-image.recent-entries-image,
  #box2 .entries-access-ranking img.urllist-image,
  #box2 .hatena-module-related-entries img.urllist-image {
    width: 80px;
    height: 80px;
  }
  #entry-footer-secondary-modules .hatena-urllist li {
    width: 100%;
    margin: 0 0 5px 0;
  }
  #entry-footer-secondary-modules .hatena-urllist li:nth-child(2n) {
    float: none;
    margin: 0 0 5px 0;
  }
  #entry-footer-secondary-modules .hatena-urllist {
    padding: 0 5px;
  }
}

/* =========================
   2) 吹き出しCSSの共通化
   ========================= */

/* ----- 吹き出しの共通スタイル [START] ------ */
.entry-content .l-fuki,
.entry-content .r-fuki {
  position: relative;
  width: calc(100% - 82px);
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding: 20px;
  border-radius: 6px;
  border: 2px solid #ddd;
  box-shadow: 0 3px 8px -2px rgba(0,0,0,.16);
  background-color: #fff;
  z-index: 1;
  /* デフォルトは右寄り吹き出しのマージン */
  margin: 20px 0 36px auto;
}
/* 左寄りの場合だけ上書き */
.entry-content .l-fuki {
  margin: 20px auto 36px 0;
}

/* 三角形部分 */
.entry-content .l-fuki::before,
.entry-content .r-fuki::before {
  position: absolute;
  content: "";
  top: 16px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #ddd;
  border-bottom: 2px solid #ddd;
  background-color: #fff;
  z-index: 2;
}
.entry-content .l-fuki::before {
  right: -7px;
  transform: rotate(-45deg);
}
.entry-content .r-fuki::before {
  left: -7px;
  transform: rotate(135deg);
}

/* アイコン画像の円 */
.entry-content .l-fuki::after,
.entry-content .r-fuki::after {
  position: absolute;
  content: "";
  width: 60px;
  height: 60px;
  top: -6px;
  border-radius: 50%;
  border: 3px solid #fff;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 1px 1px 5px #aaa;
  box-sizing: border-box;
}
.entry-content .l-fuki::after {
  right: -82px;
}
.entry-content .r-fuki::after {
  left: -82px;
}

/* 幅が広い場合はアイコンサイズを変更 */
@media screen and (min-width: 478px) {
  .entry-content .l-fuki::after,
  .entry-content .r-fuki::after {
    width: 80px;
    height: 80px;
  }
  .entry-content .l-fuki,
  .entry-content .r-fuki {
    width: calc(100% - 106px);
  }
  .entry-content .l-fuki::after {
    right: -106px;
  }
  .entry-content .r-fuki::after {
    left: -106px;
  }
}

/* =========================
   3) 各バリエーション（画像URLのみ切り替え）
   ========================= */

/* 例：ふきだし1 */
.ふきだし::after {
  background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/O/OdaQ_DM/20210709/20210709112729.jpg);
}
/* ふきだし2 */
.ふきだし2::after {
  background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/O/OdaQ_DM/20220124/20220124133230_120.jpg);
}
/* ふきだし3 */
.ふきだし3::after {
  background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/O/OdaQ_DM/20210709/20210709095752.jpg);
}
/* 吹き出し通常 */
.吹き出し通常::after {
  background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/O/OdaQ_DM/20220113/20220113120309_120.jpg);
}
/* 吹き出しワクテカ */
.吹き出しワクテカ::after {
  background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/O/OdaQ_DM/20220113/20220113120317_120.jpg);
}
/* 吹き出し驚き */
.吹き出し驚き::after {
  background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/O/OdaQ_DM/20220113/20220113120353_120.jpg);
}
/* 吹き出し引き */
.吹き出し引き::after {
  background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/O/OdaQ_DM/20220113/20220113120327_120.jpg);
}
/* 吹き出し泣 */
.吹き出し泣::after {
  background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/O/OdaQ_DM/20220113/20220113120335_120.jpg);
}
/* 吹き出し怒 */
.吹き出し怒::after {
  background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/O/OdaQ_DM/20220113/20220113120342_120.jpg);
}
/* 吹き出し喜 */
.吹き出し喜::after {
  background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/O/OdaQ_DM/20220113/20220113120359_120.jpg);
}

/* 記事内の見出し h3 のサンプル装飾 */
.entry-content h3 {
  position: relative;
  margin-right: 4px;
  padding: 8px 10px;
  border: 1px solid #222;
  color: #333;
  line-height: 1.5;
  z-index: 2;
  box-shadow: 4px 4px #222;
}
