/* <system section="theme" selected="10257846132623116688"> */
/* <system section="background" selected="undefined"> */

/* </system> */
@charset "UTF-8";
/*
  Theme: PLAIN
  Author: taku
  Responsive: yes
  Description:
   カスタマイズ用カード型デザインのレスポンシブデザイン対応テーマです。
  Released under the MIT License.
*/
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */
html {
    line-height: 1.15;
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers (opinionated).
 */
body {
    margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */
article,
aside,
footer,
header,
nav,
section {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */
figcaption,
figure,
main {
    /* 1 */
    display: block;
}

/**
 * Add the correct margin in IE 8.
 */
figure {
    margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    -webkit-box-sizing: content-box;
            box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
    background-color: transparent;
    /* 1 */
    -webkit-text-decoration-skip: objects;
    /* 2 */
}

/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    -webkit-text-decoration: underline dotted;
            text-decoration: underline dotted;
    /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
    font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
    font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */
mark {
    background-color: #ff0;
    color: #000;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
audio,
video {
    display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */
img {
    border-style: none;
}

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
    overflow: hidden;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: sans-serif;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    /* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    /* 1 */
    text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    display: inline-block;
    /* 1 */
    vertical-align: baseline;
    /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type="checkbox"],
[type="radio"] {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Scripting
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
    display: inline-block;
}

/**
 * Add the correct display in IE.
 */
template {
    display: none;
}

/* Hidden
   ========================================================================== */
/**
 * Add the correct display in IE 10-.
 */
[hidden] {
    display: none;
}

html,
body {
    font-family: 'Helvetica Neue','Helvetica','Arial',YuGothic,'Yu Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'ＭＳ ゴシック',sans-serif;
    color: #333333;
    line-height: 1.7;
}

a {
    color: #1487bd;
}

a:hover {
    color: #0f668f;
}

a.keyword {
    text-decoration: none;
    border-bottom: 1px dotted #ddd;
    color: #454545;
}

h1, h2, h3, h4, h5, h6 {
    color: #333;
    line-height: 1.3;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #333;
    text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    color: #0f668f;
}

/* ヘッダ（グローバルヘッダ）
  グローバルヘッダの中はiframeですが、
  #globalheader-container に背景色や文字色を指定することでiframeの中にも色が反映されます。
*/
#globalheader-container {
    background-color: #454545;
    color: #fff;
}

/* container */
#container,
#footer {
    padding: 0;
}




#content-inner {
    margin-right: auto;
    margin-left: auto;
    max-width: 1136px;
}

#wrapper {
    width: 67%;
    margin-left: 1%;
    vertical-align: top;
    display: inline-block;
}




/* ヘッダ */
#blog-title {
    padding: 2em 0;
    text-align: center;
}

@media (min-width: 768px) {
#blog-title {
    padding: 2em 0;
}}

#title {
    margin: 0;
    font-size: 1.5rem;
}

@media (min-width: 992px) {
    #title {
        font-size: 1.7rem;
    }
}

#title a {
    color: #454545;
}

#blog-description {
    font-weight: normal;
    font-size: .8rem;
    margin: 1em 0 0;
}

/* ヘッダ画像を設定したとき */
.header-image-enable #blog-title {
    margin: 0 0 2em;
}

.header-image-enable #blog-title-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.header-image-enable #blog-title-content {
    margin-left: 10px;
    margin-right: 10px;
}

/* タイトル下HTML */
#top-editarea {
    position: relative;
    margin-bottom: 0; /*スライドメニュー下の余白*/
    z-index: 2; /*記事ページで背景色を設定しているため、影が隠れるのを防ぐ*/
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/*スライドメニュー*/
#slide-nav {
	font-size: 0;
	font-weight: bold;
	padding: 0 0 0;
	background-color: #000; /*SP表示のスライドで見える*/
}

#slide-nav .menu a {
	display: block;
	color: #ffffff;
	font-size: 15px;
	font-weight: bold;
    line-height: 35px;
	text-align: center;
	overflow: hidden;
	padding: 0 8px;
	box-sizing: border-box;
	text-decoration: none;
}

#slide-nav .slide-nav-inner {
    position: relative;
	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: #000000;
	-webkit-font-smoothing: antialiased;
	-webkit-overflow-scrolling: touch;
}
#slide-nav .menu {
	display: inline-block;
}

/* パンくず（カテゴリー、記事ページで表示されます） */
.breadcrumb {
    font-size: .9rem;
    padding: 10px;
}

/* entry */

#main-inner {
    margin-right: auto;
    margin-left: auto;
    padding: 0 1em 1em 1em; /*記事の余白*/
}

.entry {
    position: relative;
    margin-bottom: 2em;
}

.entry-header {
    border-bottom: 1px solid #ddd;
    position: relative;
    padding: 15px;
}

.date {
    margin-bottom: .5em;
    font-size: .9rem;
}

.date a {
    color: #999;
    text-decoration: none;
}

.date a:hover {
    text-decoration: underline;
}

.entry-title {
    margin: 0 0 .3em;
    font-size: 1.5rem;
}

@media (min-width: 992px) {
    .entry-title {
        font-size: 1.6rem;
    }
}

.categories {
    margin: .5em 0;
    font-size: .9rem;
}

.categories a {
    margin-right: .5em;
}

/* 「編集する」ボタン */
.entry-header-menu {
    position: absolute;
    top: 0;
    right: 0;
}

/* 記事内の書式 */
.entry-content img,
.entry-content video {
    max-width: 100%;
    height: auto;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin: 2.0em 0 1.8em 0;
}

.entry-content h1 {
    font-size: 1.5rem;
}

@media (min-width: 992px) {
    .entry-content h1 {
        font-size: 1.7rem;
    }
}

.entry-content h2 {
    font-size: 1.4rem;
}

@media (min-width: 992px) {
    .entry-content h2 {
        font-size: 1.5rem;
    }
}

.entry-content h3 {
    font-size: 1.2rem;
}

@media (min-width: 992px) {
    .entry-content h3 {
        font-size: 1.3rem;
    }
}

.entry-content h4 {
    font-size: 1.1rem;
}

.entry-content h5 {
    font-size: 1rem;
}

.entry-content h6 {
    font-size: .9rem;
}

.entry-content ul,
.entry-content ol,
.entry-content dd {
    margin: 0 0 1em 1.5em;
    padding: 0;
}

.entry-content ul li ul, .entry-content ul li ol,
.entry-content ol li ul,
.entry-content ol li ol,
.entry-content dd li ul,
.entry-content dd li ol {
    margin-bottom: 0;
}

.entry-content table {
    border-collapse: collapse;
    border-spacing: 0;
    border-bottom: 1em;
    margin-bottom: 1em;
    width: 100%;
    overflow: auto;
    display: block;
    font-size: .8rem;
}

@media (min-width: 992px) {
    .entry-content table {
        font-size: .9rem;
    }
}

.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 #ddd;
    margin: 0 0 10px;
    padding: 20px;
}

.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: 'Monaco', 'Consolas', 'Courier New', Courier, monospace, sans-serif;
}

.entry-content pre {
    background: #f5f5f5;
    border: none;
    white-space: pre-wrap;
    text-overflow: ellipsis;
    font-size: 100%;
    line-height: 1.3;
    font-size: .8rem;
    padding: 10px;
}

.entry-content pre > code {
    margin: 0;
    padding: 0;
    white-space: pre;
    border: none;
    background-color: transparent;
    font-family: 'Monaco', 'Consolas', 'Courier New', Courier, monospace, sans-serif;
}

.entry-content code {
    font-size: 90%;
    margin: 0 2px;
    padding: 0px 5px;
    background-color: #f5f5f5;
    border-radius: 3px;
}

.entry-content hr {
    width: 50%;
    border: 0;
    border: none;
    border-top: 1px solid #ddd;
    margin: 2em auto;
}

.entry-content .table-of-contents {
    padding: 1em 1em 1em 2em;
    margin: 1em 0;
    border: 1px solid #ddd;
}

/* 記事下 */

.entry-footer {
    padding: 15px; /*記事下の関連記事を含むためSPでは0*/
}

.entry-footer .social-buttons {
    margin-bottom: 1em;
}

.entry-footer-section {
    color: #999;
    font-size: .9rem;
}

.entry-footer-section a {
    color: #999;
}

/* コメント */
.comment-box {
    margin: 1em 0;
}

.comment-box .comment {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.7;
    font-size: .85rem;
}

@media (min-width: 768px) {
    .comment-box .comment {
        font-size: .9rem;
    }
}

.comment-box .entry-comment {
    padding: 10px 0 10px 60px;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.comment-box .entry-comment:first-child {
    border-top: 1px solid #ddd;
}

.comment-box .read-more-comments {
    padding: 10px 0;
}

.comment-box .hatena-id-icon {
    position: absolute;
    top: 10px;
    left: 0;
    width: 50px !important;
    height: 50px !important;
    border-radius: 3px;
}

.comment-user-name {
    margin: 0 0 .4em 0;
    font-weight: bold;
}

.comment-content {
    margin: 0 0 .4em 0;
    word-wrap: break-word;
    color: #454545;
    font-size: .85rem;
}

.comment-content p {
    margin: 0 0 .6em 0;
}

.comment-metadata {
    color: #999;
    margin: 0;
    font-size: .8rem;
}

.comment-metadata a {
    color: #999;
}

.leave-comment-title {
    padding: .6em 1em;
    font-size: .85rem;
    border: 1px solid #ddd;
}

/* Pager */
.pager {
    margin: 2em 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

/* サイドバーモジュール */
.hatena-module {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin-bottom: 3em;
    text-align: left;
}

.hatena-module {
    width: 100%;
    margin: 0 1% 6% 1%;
    display: inline-block;
    vertical-align: top;
}

.hatena-module-body {
    padding: 8px;
}


#box2 {
    text-align: reft; /*モジュールが奇数の場合中央寄せ不可*/
    display: inline-block;
    width: 30%;
    margin-right: 1%;
    font-size: 0.9rem;
}

.entry-content {
    font-size: 1rem; /*google奨励の16px、記事の文字の大きさ、スマホ以外*/
    padding: 15px; /*記事左右の余白*/
}





@media (max-width: 1023px) { /*iPad横は1024*/

    #box2 {
       width: 100%; /*30%を解除*/
       margin: 0; /*1%を解除*/
    }
    
    #wrapper {
    width: 100%; /*アーカイブの幅*/
    margin: 0; /*margin-leftの1%を解除*/
    display: block;
    }
    
    .hatena-module {
        width: 47.6%;
    }}

@media (max-width: 599px) {
    .hatena-module {
       margin: 0;
    }

    #box2 {
       width: 100% !important;
       padding: 0;
       float: none;
    }}

.hatena-module-title {
    padding-top: .4em;
    padding-bottom: .4em;
    color: #ffffff; /*文字色*/
    background-color: #000000;
    border-radius: 0px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

.hatena-module-title a {
    color: #ffffff; /*文字色*/
    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;
}

.hatena-module-profile .id {
    display: block;
    font-weight: bold;
    margin-bottom: .5em;
}

.hatena-module-profile .profile-description p {
    margin-top: 0;
}

/* urllist module */

.hatena-urllist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hatena-urllist li {
    padding: .5em 0;
}

.hatena-urllist li:last-child {
    padding-bottom: 1em;
}

.hatena-urllist li a {
    text-decoration: none;
}

.hatena-urllist li a:hover {
    text-decoration: underline;
}

.hatena-urllist .urllist-category-link {
    font-size: .7rem;
    padding: .1em .3em;
}

.hatena-urllist .urllist-date-link a {
    color: #999;
}

.hatena-urllist .urllist-entry-body {
    margin-top: .3em;
}

/* Search module */
.hatena-module-search-box .search-form {
    border: 1px solid #ddd;
    border-radius: 3px;
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.hatena-module-search-box .search-module-input {
    -webkit-box-flex: 1;
        -ms-flex: 1 0;
            flex: 1 0;
    padding: 5px;
    color: #454545;
    background: none;
    border: none;
    outline: none;
    height: 20px;
}

.hatena-module-search-box .search-module-button {
    width: 24px;
    height: 24px;
    margin-right: 5px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Esearch%3C/title%3E%3Cpath d='M16.7,15l-3.4-3.3h-.1a5.4,5.4,0,0,0,.9-3.1,5.6,5.6,0,1,0-5.6,5.6,5.4,5.4,0,0,0,3.1-.9.1.1,0,0,0,.1.1L15,16.7a1.1,1.1,0,0,0,.8.3,1.6,1.6,0,0,0,.9-.3,1.4,1.4,0,0,0,0-1.7M8.5,12.3A3.8,3.8,0,0,1,4.8,8.5,3.8,3.8,0,0,1,8.5,4.7a3.9,3.9,0,0,1,3.8,3.8,3.8,3.8,0,0,1-3.8,3.8'/%3E%3Crect class='a' width='20' height='20'/%3E%3C/svg%3E") no-repeat center!important;
    background-size: 20px 20px;
    border: none;
    outline: none;
    color: transparent;
    overflow: hidden;
    opacity: .5;
    cursor: pointer;
}

.hatena-module-search-box .search-module-button:hover {
    opacity: .85;
}

/* About ページ */
.page-about .entry-content dt {
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    margin-bottom: .5em;
}

.page-about .entry-content dd {
    margin-left: 0;
    margin-bottom: 2em;
}


/*アーカイヴ*/

#content {
    margin-top: 2rem; /*アーカイヴ上の余白はここで指定する*/
}

.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.5;
  margin: 0 0 .1em 0;
}

.page-archive .archive-entries .categories {
  margin: 0 0 .5em;
}

.page-archive .categories a { /*パンくずリストには指定しない*/
  color: #ffffff;
  font-size: 70%;
  background: #000000;
  padding: 2px 5px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  margin: 2px;
  line-height: normal; /*初期値に戻す*/
}

.page-archive .archive-entries .archive-entry {
    background-color: #ffffff; /*archiveの背景色*/
    width: 45%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 10px;
    display: inline-block;
    margin: 0 0 3% 3%;
    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;
}

@media (min-width: 768px) {
    .page-archive .entry-description {
        font-size: .9rem;
    }
}

.page-archive .social-buttons {
    display: none; /*初期値はblock*/
    margin-top: .3em;
}

/*カテゴリーページのタイトル*/

.archive-header-category {
    margin-bottom: 0;
}

h2.archive-heading, .archive-header-category .archive-heading { 
    margin: 0 3% 3% 3%;
    padding: 0.4em 0.6em;
    font-size: 1.3rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#top-box ~ #content {
    margin-top: 1rem; /*パンくず表示状態の時アーカイブ上の余白を減らす*/
}



/*-----ボックス２の記事リンク全て-----*/

#box2 .hatena-module-recent-entries li, #box2 .entries-access-ranking li, #box2 .hatena-module-related-entries li {
    display: inline-block;
    height: 65px; /*サムネの高さに揃える*/
    overflow: hidden; /*はみ出した文字は隠す*/
    text-decoration: none;
    text-align: left; /*box2内はcenterのため*/
    margin: 0 0 10px 0;
    padding: 0 3px 0 0;
    width: 100%;
    background-color: #ffffff;
    border: none;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#box2 .hatena-module-recent-entries li:last-child, #box2 .entries-access-ranking li:last-child, #box2 .hatena-module-related-entries li:last-child {
margin-bottom: 0;
}


#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;
    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 {
    text-decoration: none;
    color: #666;
    font-weight: bold;
    vertical-align: middle; /*ボックスの中央に配置*/
    line-height: 1.83;
    font-size: 12px; /*フォントサイズを固定*/
}

#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; /*上下を詰めて余白はmarginを使う*/
   text-align: center;
}
#box2 .hatena-module-recent-entries .hatena-urllist, #box2 .hatena-module-entries-access-ranking .hatena-urllist, #box2 .hatena-module-related-entries .hatena-urllist {
   padding: 0; /*リスト左のpaddingを解除*/
}

#main {
    margin-bottom: 0; /*アーカイブ下の余白*/
}





/*記事ページの設定*/

.entry {
    background-color: #fff; /*記事ページの背景を白に*/
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/*ページャ*/
.pager.pager-permalink.permalink {
    margin: 3% 0;
    background-color: #fff;
    padding: 3%;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/*記事下の関連記事*/

#entry-footer-secondary-modules .hatena-module {
    width: 100%;
    float: none;
}

#entry-footer-secondary-modules .hatena-module .hatena-module-body {
    padding: 0;
}

#entry-footer-secondary-modules .hatena-urllist {
    list-style: none;
    margin: 0;
    padding: 3%;
    box-sizing: border-box;
    line-height: 0;
}

#entry-footer-secondary-modules .hatena-module {
    margin: 0;
}

#entry-footer-secondary-modules .hatena-urllist li {
    height: 65px;
    width: 48.5%;
    padding: 0;
    box-sizing: border-box;
    display: inline-block;
    margin: 0 0 10px 0;
    background-color: #ffffff;
    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;
}

#entry-footer-secondary-modules .urllist-with-thumbnails li .urllist-image {
    margin: 0;
    float: left;
    height: 65px;
    width: 65px;
    margin-right: 5px;
}

#entry-footer-secondary-modules .hatena-urllist li a {
    font-size: 12px;
    text-decoration: none;
    color: #666;
    font-weight: bold;
    line-height: 1.83; /*余白調節のため一度0にしている*/
}

#entry-footer-secondary-modules .hatena-urllist .urllist-entry-body {
    display: none; /*タイトルのみを表示する*/
}

#entry-footer-secondary-modules .hatena-urllist .urllist-date-link {
    display: none; /*日付は表示しない*/
}

#entry-footer-secondary-modules {
    margin-bottom: 1em; /*記事下広告上の余白*/
}







/* footer */
#footer {
    margin-top: 2em;
    padding-bottom: 2rem;
    text-align: center;
    font-size: .8rem;
    color: #999;
}

#footer a {
    color: #999;
}

#footer p {
    margin: .5em auto;
}



















































/*  import media queries */

/* Media Queries - Retina Display */

@media (-webkit-min-device-pixel-ratio: 2) {
  .hatena-module-search-box .search-module-button {
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Esearch%3C/title%3E%3Cpath d='M16.7,15l-3.4-3.3h-.1a5.4,5.4,0,0,0,.9-3.1,5.6,5.6,0,1,0-5.6,5.6,5.4,5.4,0,0,0,3.1-.9.1.1,0,0,0,.1.1L15,16.7a1.1,1.1,0,0,0,.8.3,1.6,1.6,0,0,0,.9-.3,1.4,1.4,0,0,0,0-1.7M8.5,12.3A3.8,3.8,0,0,1,4.8,8.5,3.8,3.8,0,0,1,8.5,4.7a3.9,3.9,0,0,1,3.8,3.8,3.8,3.8,0,0,1-3.8,3.8'/%3E%3Crect class='a' width='20' height='20'/%3E%3C/svg%3E") no-repeat center!important;
    background-size: 20px 20px;
  }

}

@media (min-width: 768px) and (max-width: 1023px) {
#main {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    float: left;
}

#main-inner {
    width: 700px; /*PCでは1000px*/
}

.entry-inner {
    margin-top: 2em; /*記事上余白*/
}

.entry-content {
    padding: 0 20px 0 20px; /*記事幅*/
}

#content {
    margin-top: 0; /*PCでは余白アリ*/
}

/*アーカイブここから*/

.page-archive .archive-entries {
　　text-align: left;
    padding-left: 0px;
    box-sizing: border-box;
}

.page-archive .archive-entries .archive-entry:nth-child(-n+2) {
    margin-top: 3%; /*アーカイヴ上余白初めの2要素のみ*/
}

.page-archive .archive-entries .archive-entry {
    width: 46%;
    margin: 0 0 3% 2%;
    padding: 7px;
    text-align: left;
}

.page-archive .archive-entries .archive-entry:nth-child(even) {
    margin-left: 3%; /*偶数列のみ*/
    margin-right: 2%;
}

.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;
}

h2.archive-heading, .archive-header-category .archive-heading { 
    margin: 3% 2% 0 2%; /*カテゴリーページヘッダー*/
}

#top-box ~ #content {
    margin-top: 0rem; /*カテゴリーを表示した時余白を消す*/
}

#top-box ~ h2.archive-heading, .archive-header-category .archive-heading {
    margin-top: 0; /*パンくずを表示した時余白を消す*/
}}





@media screen and (min-width: 600px) and (max-width: 767px) {

#content {
    margin-top: 0; /*PCでは余白アリ*/
}

#content-inner {
    padding-top: 0em; /*アーカイヴ上の余白*/
}

.archive-header-category .archive-heading {
    margin: 0; /*カテゴリーページの余白、SP、TABのみ*/
    padding: 10px;
}

.entry-content {
    padding: 0 10px; /*記事左右の余白*/
}

#main {
  width: 100%;
  padding: 0;
}

#main-inner {
    width: auto; /*PCでは1000px*/
    padding: 0;
}

#wrapper {
    width: 100%;
    display: block;
}

#box2 { /*文字サイズ等は別の位置に記載*/
  width: 100%;
}

.page-archive .archive-entries .archive-entry {
    width: 96%;
    overflow: hidden;
    padding: 7px;
    margin: 0 2% 2% 2%;
}

.page-archive .archive-entries .archive-entry:first-child {
    margin-top: 2%;
}

.page-archive .archive-entries {
    font-size: 95%;
    margin: 0; /*記事一覧下の不要な余白を削除*/
    line-height: 1.6em;
}

.archive-header-category {
    margin-bottom: 0; /*カテゴリーページのタイトル下*/
}

h2.archive-heading, .archive-header-category .archive-heading { 
    margin: 2% 2% 0 2%; /*カテゴリーページヘッダー*/
}

#top-box ~ #content {
    margin-top: 0rem; /*カテゴリーを表示した時余白を消す*/
}

#top-box ~ h2.archive-heading, .archive-header-category .archive-heading {
    margin-top: 0; /*パンくずを表示した時余白を消す*/
}

}







/* Media Queries - Small Tablet & Smartphone */
@media only screen and (max-width: 599px) {

#globalheader-container {
    position: static;
}

#container {
  width: 100%;
  word-wrap: break-word;
  overflow: hidden;
  padding-top: 0;
}

#content-inner {
    padding-top: 0em;　/*スライドメニュー下の余白を削除*/
}

.archive-header-category .archive-heading {
    margin: 0; /*カテゴリーページの余白、SP、TABのみ*/
    padding: 10px;
}

#main {
  width: 100%;
  float: none;
}

#main-inner {
    width: auto; /*PCでは1000px*/
    margin-top: 0;
    padding: 0;
}
  
#box2-inner {
  width: 100%;
}

#wrapper {
    width: 100%;
    display: block;
}

.hatena-module {
  width: 100%;
  float: none;
}

#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 {
    padding: 3%; /*小リンク横幅*/
}

.entry-header-menu {
  top: -30px;
  left: 0px;
}
  
#slide-nav {
	height: 33px;
	width: 100%;
	padding-left: 30px;
	overflow: scroll;
  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;
	position: relative;
	height: 33px;
}

/*id="menu-scroll"*/

#slide-nav .slide-nav-inner {
    position: relative;
    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);}
}

/*記事一覧*/

.page-archive .archive-entries .archive-entry {
    width: 96%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 5px;
    display: inline-block;
    margin: 0 2% 3% 2%;
    padding: left;
    vertical-align: top;
}

.page-archive .archive-entries .archive-entry:first-child {
    margin-top: 3%;
}

.page-archive .archive-entries .archive-entry:nth-child(even) {
    margin-left: 2%;
    margin-right: 2%;
}

.page-archive .archive-entries {
    font-size: 95%;
    margin: 0; /*記事一覧下の不要な余白を削除*/
    line-height: 1.6em;
}

.archive-header-category {
    margin-bottom: 0; /*カテゴリーページのタイトル下*/
}

/*記事ページ内の設定*/

#content {
    margin-top: 0;
}

.entry-title {
    font-size: 110%; /*pc表示は130%*/
}

.entry-content {
    font-size: 1rem; /*記事の文字サイズ、PCと同じ16px*/
}

.entry-footer {
    padding: 15px 0; /*記事下の関連記事を含むためSPでは0*/
}
.entry-footer-section, .hatena-star-container, .entry-footer .social-buttons, .comment-box {
    padding: 0 15px; /*関連記事意外に余白をまとめて付ける*/
}

#box2 .hatena-module-recent-entries li, #box2 .entries-access-ranking li, #box2 .hatena-module-related-entries li {
    line-height: 1.85;
    font-size: 12px;
    height: 75px;
    width: 100%; /*SP表示のみ*/
}

#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;
}

#box2 .hatena-module-recent-entries li a, #box2 .hatena-module-entries-access-ranking li a, #box2 .hatena-module-related-entries li a {
    line-height: 1.9;
    font-size: 12.5px;
}

/*ページャ*/
.pager.pager-permalink.permalink {
    margin: 3%;
}

/*記事下の関連記事*/

#entry-footer-secondary-modules .hatena-urllist li {
    width: 100%; /*一列にする*/
    margin: 0 0 10px 0;
    height: 75px;
}

#entry-footer-secondary-modules .hatena-urllist li:nth-child(2n) {
    float: none;
    margin: 0 0 10px 0;
}

#entry-footer-secondary-modules .hatena-module .hatena-module-body {
    padding: 0;
}

#entry-footer-secondary-modules .hatena-urllist li a {
    line-height: 1.9;
    font-size: 12.5px;
    text-decoration: none;
    color: #666;
    font-weight: bold;
}

#entry-footer-secondary-modules .urllist-with-thumbnails li .urllist-image {
    height: 75px;
    width: 75px;
}

h2.archive-heading, .archive-header-category .archive-heading { 
    margin: 3% 2% 0 2%; /*カテゴリーページヘッダー*/
}

#top-box ~ #content {
    margin-top: 0rem; /*カテゴリーを表示した時余白を消す*/
}

#top-box ~ h2.archive-heading, .archive-header-category .archive-heading {
    margin-top: 0; /*パンくずを表示した時余白を消す*/
}

}

/* Media Queries - Smartphone */
/* </system> */




/*見出しの設定 */
h3 {
color: #ffffff;/*文字色*/
background: #696969;/*背景色*/
padding: 0.5em;/*文字まわり（上下左右）の余白*/
}
h4 {
color: #696969;/*文字色*/
padding: 0.5em 0;/*上下の余白*/
border-top: solid 3px #696969;/*上線*/
border-bottom: solid 3px #696969;/*下線*/
}
h5{
color: #696969;/*文字色*/
border-bottom: solid 3px #696969;
/*線の種類（実線） 太さ 色*/
}

/*下線の設定 */

.line{
  background: linear-gradient(transparent 30%, yellow 30%);
  }

/*引用の設定 */
.entry-content blockquote {
    position: relative;
    padding: 7px 16px;
    box-sizing: border-box;
    font-style: ;
    color: #585858;
    border: solid 3px #585858;
}
.entry-content blockquote:before{
    display: inline-block;
    position: absolute;
    top: -15px;
    left: -15px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    vertical-align: middle;
    text-align: center;
    content: "\f10d";
    font-family: FontAwesome;
    background: #585858;
    color: #FFF;
    font-size: 18px;
}

.entry-content blockquote p {
    padding: 0;
    margin: 10px 0;
    line-height: 1.7;
}

.entry-content blockquote cite {
    display: block;
    text-align: right;
    color: #888888;
    font-size: 0.9em;
}

/*フォントの設定 */
body {
font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}
/*フォントサイズの設定 */
.entry-content h3 {
 font-size:20px;
}
.entry-content p {
 font-size:17px;
}
/*行間の設定 */
.entry-content p {line-height: 1.7}

/*あわせて読みたい*/
.entry-content .emphasize-link {
  position: relative;
  margin: 16px 10px 16px;
  padding: 16px 20px;
  border: 2px solid #FFBB00;
  background-color: #FFFFFA;
}
.entry-content .emphasize-link p:last-child {
  margin-bottom: 0;
}
.entry-content .emphasize-link::before {
  position: absolute;
  top: -12px;
  left: 10px;
  padding: 0 10px 0 26px;
  content: "あわせて読みたい";
  background-color: #FFBB00;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
}
.entry-content .emphasize-link::after {
  position: absolute;
  top: -16px;
  left: 4px;
  width: 28px;
  height: 28px;
  background-color: #FFBB00;
  border-radius: 14px;
  line-height: 25px;
  text-align: center;
  content: "\f010";
  font-size: 18px;
  font-family: "blogicon";
  color: #fff;
}

/*ポイント*/
.entry-content .emphasize-link2 {
  position: relative;
  margin: 16px 10px 16px;
  padding: 16px 20px;
  border: 2px solid #696969;
  background-color: #FFFFFA;
}
.entry-content .emphasize-link2 p:last-child {
  margin-bottom: 0;
}
.entry-content .emphasize-link2::before {
  position: absolute;
  top: -12px;
  left: 10px;
  padding: 0 10px 0 26px;
  content: "ポイント";
  background-color: #696969;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
}
.entry-content .emphasize-link2::after {
  position: absolute;
  top: -16px;
  left: 4px;
  width: 28px;
  height: 28px;
  background-color: #696969;
  border-radius: 14px;
  line-height: 25px;
  text-align: center;
  content: "\f010";
  font-size: 18px;
  font-family: "blogicon";
  color: #fff;
}

  /* kattene */
.kattene {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  padding: 10px;
  margin-bottom: 1em;
  box-sizing: border-box; }

.kattene div{
  margin: 0;
}

.kattene__imgpart {
  text-align: center; }

  .kattene__imgpart img {
    -webkit-box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8);
    box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8);
    -o-box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8);
    -ms-box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.8);
    margin: 0;}

.kattene__description {
  font-size: 0.8em; }

.kattene .kattene__btns {
  width: 100%;
  margin-top: 1.2em; }

  .kattene__btns:after {
    display: block;
    clear: both;
    height: 0px;
    visibility: hidden;
    content: "."; }

  .kattene__btns > div {
    float: left;
    margin-bottom: 5px; }

  .kattene__btns .kattene__btn {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
   }

  .kattene__btns.__three > div {
    width: 32.66667%; }

    .kattene__btns.__three > div:not(:last-child) {
      margin-right: 1%; }

  .kattene__btns.__two > div {
    width: 49.5%; }

    .kattene__btns.__two > div:nth-child(odd) {
      margin-right: 1%; }

@media screen and (max-width: 900px) {
  .kattene__btns.__five > div {
  width: 49.5%; }
  .kattene__btns.__five > div:nth-child(odd) {
    margin-right: 1%; }
  .kattene__btns.__five > div:last-child {
    margin-right: 0;
    float: right; }

  .kattene__btns.__four > div {
    width: 49.5%; }

    .kattene__btns.__four > div:nth-child(odd) {
      margin-right: 1%; }

  .kattene__btns.__one > div {
    width: 50%;
    margin-left: 25%; } }
@media screen and (min-width: 901px) {

  .kattene {
    display: table;
    width: 100%; }

  .kattene__imgpart {
    display: table-cell;
    width: 20%; }

  .kattene__infopart {
    display: table-cell;
    vertical-align: top;
    position: relative;
    padding-left: 10px;
    width: 80%; }

  .kattene__btns {
    position: absolute;
    bottom: 0;
    box-sizing: border-box;
    padding-right: 10px; }

  .kattene__btns.__five > div {
    width: 19.2%; }

    .kattene__btns.__five > div:not(:last-child) {
      margin-right: 1%; }

    .kattene__btns.__four > div {
      width: 24.25%; }

      .kattene__btns.__four > div:not(:last-child) {
        margin-right: 1%; }

    .kattene__btns.__two > div {
      width: 49.5%; }

      .kattene__btns.__two > div:not(:last-child) {
        margin-right: 1%; }

    .kattene__btns.__one > div {
      width: 49.5%;
      float: right; } }

.kattene .kattene__btn {
  appearance: none;
  background-color: #54c0d1;
  border: 0;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1em;
  -webkit-font-smoothing: antialiased;
  font-weight: 600;
  line-height: 1;
  padding: 0.75em 0;
  text-decoration: none;
  transition: background-color 150ms ease;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap; }

  .kattene__btn:hover, .kattene__btn:focus {
    background-color: #439aa7;
    color: #fff !important; }

  .kattene__btn:disabled {
    cursor: not-allowed;
    opacity: 0.5; }

    .kattene__btn:disabled:hover {
      background-color: #54c0d1; }

.kattene__btn.__small {
  padding: 0.55em;
  font-size: 0.9em; }

.kattene__btn.__orange {
  background-color: #FF9901;
  -webkit-box-shadow: 0 5px 0 #cc7a01;
  -moz-box-shadow: 0 5px 0 #cc7a01;
  box-shadow: 0 5px 0 #cc7a01;
  -o-box-shadow: 0 5px 0 #cc7a01;
  -ms-box-shadow: 0 5px 0 #cc7a01;
  margin-bottom: 5px;
  border-radius: 3px;
  text-align: center; }

  .kattene__btn.__orange:hover {
    background-color: #cc7a01; }

  .kattene__btn.__orange i {
    font-weight: bold; }

    .kattene__btn.__orange i:before {
      vertical-align: middle;
      font-size: 1.2em;
      margin-right: 0.2em; }

.kattene__btn.__blue {
  background-color: #007dcd;
  -webkit-box-shadow: 0 5px 0 #0064a4;
  -moz-box-shadow: 0 5px 0 #0064a4;
  box-shadow: 0 5px 0 #0064a4;
  -o-box-shadow: 0 5px 0 #0064a4;
  -ms-box-shadow: 0 5px 0 #0064a4;
  margin-bottom: 5px;
  border-radius: 3px;
  text-align: center; }

  .kattene__btn.__blue:hover {
    background-color: #0064a4; }

  .kattene__btn.__blue i {
    font-weight: bold; }

    .kattene__btn.__blue i:before {
      vertical-align: middle;
      font-size: 1.2em;
      margin-right: 0.2em; }

.kattene__btn.__red {
  background-color: #c20004;
  -webkit-box-shadow: 0 5px 0 #9b0003;
  -moz-box-shadow: 0 5px 0 #9b0003;
  box-shadow: 0 5px 0 #9b0003;
  -o-box-shadow: 0 5px 0 #9b0003;
  -ms-box-shadow: 0 5px 0 #9b0003;
  margin-bottom: 5px;
  border-radius: 3px;
  text-align: center; }

  .kattene__btn.__red:hover {
    background-color: #9b0003; }

  .kattene__btn.__red i {
    font-weight: bold; }

    .kattene__btn.__red i:before {
      vertical-align: middle;
      font-size: 1.2em;
      margin-right: 0.2em; }

.kattene__btn.__green {
  background-color: #0BBD80;
  -webkit-box-shadow: 0 5px 0 #099766;
  -moz-box-shadow: 0 5px 0 #099766;
  box-shadow: 0 5px 0 #099766;
  -o-box-shadow: 0 5px 0 #099766;
  -ms-box-shadow: 0 5px 0 #099766;
  margin-bottom: 5px;
  border-radius: 3px;
  text-align: center; }

  .kattene__btn.__green:hover {
    background-color: #099766; }

  .kattene__btn.__green i {
    font-weight: bold; }

    .kattene__btn.__green i:before {
      vertical-align: middle;
      font-size: 1.2em;
      margin-right: 0.2em; }

.kattene__btn.__pink {
  background-color: #e1325b;
  -webkit-box-shadow: 0 5px 0 #b42849;
  -moz-box-shadow: 0 5px 0 #b42849;
  box-shadow: 0 5px 0 #b42849;
  -o-box-shadow: 0 5px 0 #b42849;
  -ms-box-shadow: 0 5px 0 #b42849;
  margin-bottom: 5px;
  border-radius: 3px;
  text-align: center; }

  .kattene__btn.__pink:hover {
    background-color: #b42849; }

  .kattene__btn.__pink i {
    font-weight: bold; }

    .kattene__btn.__pink i:before {
      vertical-align: middle;
      font-size: 1.2em;
      margin-right: 0.2em; }

  /* カエレバパーツ全体のデザインをカスタマイズ */
.kaerebalink-box,
.booklink-box
{
	width: 100%;
	margin-bottom: 1rem; /* 余白調整 */
	padding: 1rem;
	background: #ffffff; /* 背景白に */
	border: double 3px #d0d0d0; /* 外線を二重線に */
	box-sizing: border-box;
	border-radius: 5px; /* 角を丸く*/
	-webkit-border-radius: 5px;
}

/* 画像のデザインをカスタマイズ */
.kaerebalink-image,
.booklink-image
{
	float: left; /* 画像を左寄せに */
	margin: 0; /* 余白なし */
	text-align: center;
}
.kaerebalink-image img,
.booklink-image img
{
	max-width: 128px; /* 最大幅128pxに */
	height: auto; /* 高さ自由 */
}

/* 商品名等をカスタマイズ */
.kaerebalink-info,
.booklink-info
{
	margin-left: 140px; /* 文章は右寄せ */
	line-height: 1.6rem; /* 行高さの幅を調整 */
}
.kaerebalink-name,
.booklink-name
{
	font-weight: bold; /* 商品名太く */
	margin: 0; /* 余白調整 */
}
.kaerebalink-name a,
.booklink-name a
{
	color: #333333; /* 商品名色指定 */
}
.kaerebalink-name p,
.booklink-name p
{
	margin-bottom: 0; /* 余白調整 */
}
.kaerebalink-powered-date,
.booklink-powered-date
{
	font-size: 0.75rem; /* psted with ～ の大きさ指定 */
	font-weight: normal; /* 文字の太さを標準に */
	text-align: right; /* 右寄せ */
}
.kaerebalink-detail,
.booklink-detail
{
	font-size: 0.875rem; /* メーカー・作者の文字の大きさ指定 */
	margin-bottom: 0.5em; /* 余白調整 */
}

/* ボタンのカスタマイズ */
.kaerebalink-link1,
.booklink-link2
{
	width:100%;
}
.kaerebalink-link1 div,
.booklink-link2 div
{
	float: left; /* ボタンを横並びに */
	width: 49%; /* ボタンの幅調整（2列にするので間の余白を考え49%を指定） */
	margin-bottom:0.2rem; /* 余白調整 */
	font-size: 0.875rem; /* 文字の大きさ */
	font-weight: bold; /* 文字を太く */
	text-align: center; /* 文字を中央寄せ */
	box-sizing: border-box;
}
.kaerebalink-link1 div:nth-child(even),
.booklink-link2 div:nth-child(even)
{
	margin-left: 1%; /* 左右ボタン間の余白を調整 */
}
.kaerebalink-link1 div a,
.booklink-link2 div a
{
	display:block;
	padding:3px 0; /* ボタンの上下幅指定 */
	margin-bottom:8px; /* 上下ボタン間の幅指定 */
	text-decoration:none;
	border-radius: 4px; /* 丸み調整 */
	box-shadow: 0px 2px 4px 0 rgba(0,0,0,.26); /* シャドー作成 */
}

/* ボタンにカーソルを当てた時の動きをカスタマイズ */
.kaerebalink-link1 div a:hover,
.booklink-link2 div a:hover
{
	-ms-transform: translateY(4px);
	-webkit-transform: translateY(4px);
	transform: translateY(4px);
	color: #ffffff;
}

/* カエレバ・ヨメレバ共通 */
.shoplinkamazon a,
.shoplinkrakuten a,
.shoplinkseven a,
/* カエレバ */
.shoplinkyahoo a,
.shoplinkbellemaison a,
.shoplinkcecile a,
.shoplinkkakakucom a,
/* ヨメレバ */
.shoplinkkindle a,
.shoplinkrakukobo a,
.shoplinkbk1 a,
.shoplinkehon a,
.shoplinkkino a,
.shoplinktoshokan a
{
	display:block;
	text-decoration:none;
}

/* カエレバ・ヨメレバ共通 色の指定 */
.shoplinkamazon a { color:#ffffff; background:#ff9901; }
.shoplinkrakuten a { color:#ffffff; background:#c20004; }
.shoplinkseven a { color:#ffffff; background:#225496; }
/* カエレバ  色の指定 */
.shoplinkyahoo a { color:#ffffff; background:#ff0033; }
.shoplinkbellemaison a { color:#ffffff; background:#84be24 ; }
.shoplinkcecile a { color:#ffffff; background:#8d124b; }
.shoplinkkakakucom a { color:#ffffff; background:#314995; }
/* ヨメレバ 色の指定 */
.shoplinkkindle a { color:#ffffff; background:#007dcd; }
.shoplinkrakukobo a { color:#ffffff; background:#d50000; }
.shoplinkbk1 a { color:#ffffff; background:#0085cd; }
.shoplinkehon a { color:#ffffff; background:#2a2c6d; }
.shoplinkkino a { color:#ffffff; background:#003e92; }
.shoplinktoshokan a { color:#ffffff; background:#333333; }
.booklink-footer
{
	clear:both;
}

/* もしもアフィリエイトの場合不要な画像を削除 */
.kaerebalink-image img[src^="//i.moshimo.com/af/i/impression"],
.booklink-image img[src^="//i.moshimo.com/af/i/impression"],
.shoplinkamazon img,
.shoplinkrakuten img,
.shoplinkseven img,
.shoplinkyahoo img,
.shoplinkbellemaison img,
.shoplinkcecile img,
.shoplinkkakakucom img,
.shoplinkkindle img,
.shoplinkrakukobo img,
.shoplinkbk1 img,
.shoplinkehon img,
.shoplinkkino img,
.shoplinktoshokan img
{
	display:none;
}

/* スマホ表示の設定 */
@media only screen and (max-width:460px){
	
	/* 画像の設定 */
	.kaerebalink-image,
	.booklink-image
	{
		float:none; /* 画像を中央寄せに */
		margin:0;
		text-align:center;
	}
	/* 画像サイズを最大180pxに */
	.kaerebalink-image img,
	.booklink-image img
	{
		max-width:180px;
		height:auto;
	}
	 /* 商品名等をカスタマイズ */
	.kaerebalink-info,
	.booklink-info
	{
		margin: 0; /* 余白調整 */
	}
	/* ボタンのカスタマイズ */
	.kaerebalink-link1 div,
	.booklink-link2 div
	{
		float: none;
		width: 100%;
	}
	.kaerebalink-link1 div:nth-child(even),
	.booklink-link2 div:nth-child(even)
	{
		margin-left: 0; /* 余白を調整（ボタン縦並びにするため） */
	}
}