/* <system section="theme" selected="26006613659732769"> */
/* <system section="theme" selected="26006613652605202"> */
@charset "UTF-8";
/*
  Theme: Cuppuccino
  Author: fujiguchi
  Responsive: yes
  Description:
    大人可愛い（かっこいい）デザインのはてなブログテーマです。
    カスタマイズが苦手な方でもすぐに使えるようになっています。
*/
@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&display=swap');
:root {
  --theme-color: #2a2922;
  --navigation-color: #7d5642;
  --navigation-hover-color: #9a725d;
  --main-color: #7d5642;
  --main-text-color: #fff;
  --font-color: #5f5750;
  --accent-color: #57a085;
  --shadow1-color: rgba(0,0,0,.1);
  --shadow2-color: rgba(0,0,0,.06);
}
/*! 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 */
    scroll-behavior: smooth;
}

/* 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: 0;
}

/**
 * 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: -apple-system, BlinkMacSystemFont, Segoe UI, 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
    color: #454545;
    background: #f3ebdd;
    line-height: 1.6;
}

a {
    color: #454545;
    text-decoration: none;
    -webkit-transition: .1s;
    transition: .1s;
}

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: #5f5750;
    color: var(--font-color);
    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;
}

#globalheader-container {
    background: var(--theme-color);  
}

/* container */
#content {
    margin-top: 2rem;
}

/* 2カラムレイアウト */
#content-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    #content-inner {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
    }
}

#top-box {
    max-width: 1200px;
    margin: 0 auto 1em;
    box-sizing: border-box;
}

#main {
    width: 100%;
}

#main-inner, #box2-inner, .breadcrumb {
    padding: 0 10px;
}

.page-entry #main-inner {
  padding: 0;
}

#box2 {
    word-wrap: break-word;
}
@media (min-width: 992px) {
    #box2 {
        width: 370px;
    }
}

/* ヘッダ */
#blog-title {
    margin: 0 ;
    text-align: center;
    padding: 1em;
}

@media (min-width: 768px) {
    #blog-title {
      padding: 3em;
    }
    #title {
        font-size: 2.5rem;
    }
    .page-archive #content {
        margin-top: 3rem;
    }
    .page-archive-category #content {
    margin-top: 0;
}
}

#title {
    margin: 0;
    font-weight: normal;
    font-family: 'Fredericka the Great', cursive;
}

@media (min-width: 992px) {
    #title {
        font-size: 3rem;
    }
    #wrapper {
        width: calc( 100% - 370px);
    }
    #box2-inner {
      padding: 0;
    }
}

#title a {
    color: #454545;
    color: #fff;
    text-shadow: 3px 3px 5px black;
}

#blog-description {
    font-weight: normal;
    font-size: .8rem;
    margin: .5em 0 0;
    text-shadow: 1px 1px 2px black;
    color: #fff;
}

/* ヘッダ画像を設定したとき */
.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: 0 auto;
}

/* タイトル下HTML */
#top-editarea {
    margin-bottom: 1em;
}

/* パンくず（カテゴリー、記事ページで表示されます） */
.breadcrumb {
    font-size: .9rem;
}
.breadcrumb-child:last-of-type {
    display: none;
}

/* entry */
.entry {
    position: relative;
    margin-bottom: 3em;
    line-height: 1.8;
    padding: 1rem 4.5vw;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 5px 10px var(--shadow-color);
    box-shadow: rgba(0,0,0,.1), rgba(0,0,0,.06);
    box-shadow: var(--shadow1-color) 0px 4px 6px -1px, var(--shadow2-color) 0px 2px 4px -1px;
    word-break: break-word;
}

.entry-header {
    margin-bottom: 2em;
    position: relative;
}


time[title*="-01-"] .date-month::before {
  content: 'JANUARY';
}

time[title*="-02-"] .date-month::before {
  content: 'FEBRUARY';
}

time[title*="-03-"] .date-month::before {
  content: 'MARCH';
}

time[title*="-04-"] .date-month::before {
  content: 'APRIL';
}

time[title*="-05-"] .date-month::before {
  content: 'MAY';
}

time[title*="-06-"] .date-month::before {
  content: 'JUNE';
}

time[title*="-07-"] .date-month::before {
  content: 'JULY';
}

time[title*="-08-"] .date-month::before {
  content: 'AUGUST';
}

time[title*="-09-"] .date-month::before {
  content: 'SEPTEMBER';
}

time[title*="-10-"] .date-month::before {
  content: 'OCTOBER';
}

time[title*="-11-"] .date-month::before {
  content: 'NOVEMBER';
}

time[title*="-12-"] .date-month::before {
  content: 'DECEMBER';
}

.date a {
    color: #999;
    text-decoration: none;
}

.date a:hover {
    text-decoration: underline;
}

.entry-title {
    margin: 0 0 .3em;
    padding-bottom: .5em;
    font-size: 1.5rem;
    border-bottom: solid 2px #5f5750;
    border-bottom: solid 2px var(--font-color);
}

.categories {
    margin: .5em;
    font-size: .9rem;
}

.page-archive .categories {
    position: absolute;
    bottom: 0;
    font-size: .75rem;
    z-index: 2;
}

 .archive-entry:nth-child(odd) .categories {
    right: 0;
}

.entry .categories a {
    margin-bottom: .2em;
}

.categories a, .urllist-categories a {
    text-decoration: none;
    padding: .1em .5em;
    background: #57a085;
    background: var(--accent-color);
    border-radius: 4px;
    color: #fff;
    display: inline-block;
}

.urllist-title-link {
    font-size: .9rem;
}

@media (min-width: 992px) {
    .entry-title {
        font-size: 1.6rem;
    }
}

 @media (max-width: 767px) {
    .archive-entry:nth-child(even) .categories {
        left: 0;
    }
    .page-archive .archive-entry:nth-child(odd) .archive-date {
        left: 0;
    }

    .page-archive .archive-entry:nth-child(even) .archive-date {
        right: 0;
    }
}

/* 「編集する」ボタン */
.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: 1em 0 0.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;
    padding: 0 .7em;
    background: linear-gradient(-45deg,transparent 25%, #7d5642 25%, #7d5642 50%,transparent 50%,transparent 75%, #7d5642 75%)left bottom/ 7px 7px repeat-y; 
    background: linear-gradient(-45deg,transparent 25%,var(--main-color) 25%,var(--main-color) 50%,transparent 50%,transparent 75%,var(--main-color) 75%)left bottom/ 7px 7px repeat-y;
}

@media (min-width: 992px) {
    .entry-content h2 {
        font-size: 1.5rem;
    }
}

.entry-content h4 {
    font-size: 1.2rem;
    padding: .6em 0;
    background: linear-gradient(-45deg,transparent 25%, #7d5642 25%, #7d5642 50%,transparent 50%,transparent 75%, #7d5642 75%)left bottom/ 7px 7px repeat-x; 
    background: linear-gradient(-45deg,transparent 25%,var( --main-color) 25%,var(--main-color) 50%,transparent 50%,transparent 75%,var(--main-color) 75%)left bottom/ 7px 7px repeat-x;
}
@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 a {
    color: #3583b0;
    text-decoration: underline;
}
.entry-content a:hover {
    color: #1d6a96;
    text-decoration: none;
}
.entry-content ul:not(.table-of-contents),
.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;
    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: 25px 20px;
    position: relative;
    background: #fbfbfb;
    margin: 2em 0;
}

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

.table-of-contents {
    padding: 2.5em 1em 1em 2em;
    margin: 1em 0;
    border: 1px solid #ddd;
    position: relative;
    background: #343434;
    border: solid 5px #b58c6a;
    border-radius: 4px;
    color: #fff;
    list-style: decimal;
}

.table-of-contents::before {
    content: "CONTENTS";
    display: inline-block;
    padding: 0 1em;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 120%;
    font-family: 'Fredericka the Great', cursive;
    letter-spacing: .05em;
    color: #fff;
    background: #343434;
    white-space: nowrap;
    z-index: 1;
}

.table-of-contents::after {
    content: "";
    display: block;
    position: absolute;
    top: 1em;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2em);
    height: 10px;
    background: linear-gradient(-45deg,transparent 25%, #8e7250 25%, #8e7250 50%,transparent 50%,transparent 75%, #8e7250 75%)left bottom/ 7px 7px repeat-x;
}

.table-of-contents a {
    color: #fff;
    text-decoration: none;
}

.table-of-contents li {
    margin: .3em 0;
    position: relative;
}

.table-of-contents li ul {
    margin: 0 0 .3em 2em;
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents ul li::before {
    content: "";
    width: 4px;
    height: 10px;
    border-left: solid 2px #fff;
    border-bottom: solid 2px #fff;
    position: absolute;
    top: 2px;
    left: -12px;
}

/* 記事下 */
.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: 2em 0 15px 0;
    padding: 0;
    line-height: 1.7;
    font-size: .85rem;
}

.comment-box .entry-comment {
    padding: 1em;
    border: solid #ddd 1px;
    border-radius: 6px;
    margin: 10px 0 10px 65px;
}

ul.comment li::before {
    content: "";
    display: block;
    height: calc(100% - 45px);
    width: 2px;
    background: #eee;
    position: absolute;
    left: -45px;
    bottom: -10px;
}

.comment-box .entry-comment::after {
    content: "";
    display: inline-block;
    width: .6rem;
    height: .6rem;
    background: #fff;
    border-left: solid 1px #ddd;
    border-top: solid 1px #ddd;
    position: absolute;
    top: 20px;
    left: -6px;
    transform: rotate(-45deg);
}

.comment-box .hatena-id-icon {
    position: absolute;
    top: 0;
    left: -70px;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    border: solid #ddd 1px;
}
ul.comment li:nth-last-child(2)::before, ul.comment li:last-child::before {
    display: none;
}

@media (min-width: 768px) {
    .comment-box .comment {
        font-size: .9rem;
    }
}

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

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

.read-more-comments a {
    cursor: pointer;
    text-decoration: underline;
}

.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 {
    font-size: .85rem;
    padding: .8em 1.3em;
    border-radius: 2em;
    background: #7d5642;
    background: var(--main-color);
    color: #fff;
    color: var(--main-text-color);
    box-shadow: 0 4px 15px 0 #d2c2ac;
}

.leave-comment-title:hover {
    color: #fff;
    color: var(--main-text-color);
    text-decoration: underline;
    box-shadow: 0 0 5px 0 #ccaa7d;
}

/* Pager */
.pager {
    margin: 2em 1em 3em;
    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;
    position: relative;
    margin-bottom: 2em;
    padding: 1rem;
    background: #fff;
    font-size: .85rem;
    border-radius: 2px;
    box-shadow: rgba(0,0,0,.1) 0px 4px 6px -1px, rgba(0,0,0,.06) 0px 2px 4px -1px;
    box-shadow: var(--shadow1-color) 0px 4px 6px -1px, var(--shadow2-color) 0px 2px 4px -1px;
}

@media (min-width: 768px) {
    .hatena-module {
        font-size: .9rem;
    }
}

.hatena-module-title {
    margin-bottom: 1em;
    padding-top: .3em;
    color: #5f5750;
    color: var(--font-color);
    font-size: 1rem;
    font-weight: bold;
    font-style: italic;
    text-align: center;
    letter-spacing: .1em;
    border-bottom: solid 2px;
}

.hatena-module-title a {
    text-decoration: none;
    color: #5f5750;
    color: var(--font-color);
}

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

/* Profile module */
.hatena-module-profile .profile-icon {
    display: block;
    width: 100px;
    margin: 0 auto;
    border: solid 1px #ddd;
    border-radius: 50%;
}

.hatena-module-profile .id {
    display: block;
    font-weight: bold;
    margin-bottom: .5em;
    text-align: center;
}

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

.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;
}
.hatena-urllist .archive-module-year .archive-module-month {
    margin: .2em 0 .1em 2.5em;
    padding: 0;
    border: none;
    list-style-type: none!important;
    background: none;
}

.hatena-module-category .hatena-urllist li {
    padding: 0;
    display: inline-block;
}

.hatena-module-category .hatena-urllist li a {
    display: inline-block;
    font-size: .8rem;
    margin: 0 .2rem .8rem;
    padding: .3rem 1rem;
    border: solid 1px #7d5642;
    border: solid 1px var(--main-color);
    border-radius: 2rem;
    transition: .3s;
}

.hatena-module-category .hatena-urllist li a:hover {
    background: #7d5642;
    background: var(--main-color);
    color: #fff;
    color: var(--main-text-color);
    text-decoration: none;
}

.hatena-module-related-entries .hatena-module-title {
    padding: 1em 0 .5em;
}

.entry .hatena-module-related-entries {
    box-shadow: none;
    border: none;
    padding: 0;
}


/***階層化デザイン修正コード***/
.hatena-module-category ul li.on-border {
    border: none!important;
}

.recent-entries li:not(:last-child), .entries-access-ranking li:not(:last-child) {
    border-bottom: solid 1px #ddd;
}


/*サイドバーもっと見るボタン*/
.urllist-see-more-link {
    display: inline-block;
    padding: .3em .8em;
    background: #7d5642;
    background: var(--main-color);
    color: #fff;
    color: var(--main-text-color);
    border-radius: 2em;
}

.urllist-see-more-link:hover {
    color: #fff;
    text-decoration: underline;
}

.urllist-with-thumbnails li .urllist-image {
    margin: 0 .7em .7em 0;
    float: left;
    border-radius: 6px;
    box-shadow: rgba(0,0,0,.1), rgba(0,0,0,.06);
    box-shadow: var(--shadow1-color) 0px 4px 6px -1px, var(--shadow2-color) 0px 2px 4px -1px;
    transition: .3s;
}

.urllist-with-thumbnails li .urllist-image:hover {
    transform: translateY(4px);
    box-shadow: none;
}

.archive-module-calendar-highlight {
    background: var(--accent-color);
    color: #fff;
    padding: .2em .8em;
    border-radius: 1em;
}

.archive-module-calendar, .archive-module-calendar .archive-module-calendar-selector {
    font-family: 'Fredericka the Great', cursive;
}

/* Search module */
.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;
}

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

.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;
    background-size: 20px 20px;
    border: none;
    outline: none;
    color: transparent;
    overflow: hidden;
    opacity: .5;
    cursor: pointer;
}

.search-module-button:hover, .search-result-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;
}

/* Archive */
.entry-thumb-link {
    order: 0;
    width: 100%;
    margin: -4vw auto 1vw;
}

.entry-thumb-link::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.archive-entry-header {
    order: 1;
    width: 100%;
}

.page-archive .entry-title {
    font-size: calc(1rem - 1px);
    position: relative;
}

.page-archive .archive-entry:nth-child(odd) .entry-title {
    margin: 0 0 1.6em 1em;
}

.page-archive .archive-entry:nth-child(even) .entry-title {
    margin: 0 1em 1.6em 0;
}

.archive-header-category {
    text-align: center;
}

.archive-entry-body {
    display: none;
}

.page-archive .archive-entry {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    position: relative;
    padding: 3vw;
    margin: 0 auto 6vw;
    background: #fff;
    border-radius: 2px;
    box-shadow: rgba(0,0,0,.1), rgba(0,0,0,.06);
    box-shadow: var(--shadow1-color) 0px 4px 6px -1px, var(--shadow2-color) 0px 2px 4px -1px;
    width: 100%;
    transition: .5s;
    box-sizing: border-box;
}

.page-archive .entry-thumb {
    position: relative;
    background-size: cover;
    width: 100%;
    transition: .5s;
    height: 0;
    padding-top: 56.25%;
    border-radius: 4px 4px 0 0;
    box-shadow: rgba(0,0,0,.2) 0px 10px 10px -4px, rgba(0,0,0,.01) 0px 4px 6px -2px;
}

.page-archive .entry-description {
    margin: 0;
    font-size: .85rem;
}


.page-archive .social-buttons {
    display: none;
    margin-top: .3em;
}

.page-index .archive-date, .page-archive .archive-date {
    position: absolute;
    display: inline-block;
}

.page-index .archive-date a, .entry-date a, .page-archive .archive-date a {
    color: #5f5750;
    color: var(--font-color);
    font-family: 'Fredericka the Great', cursive;
    position: relative;
    display: inline-block;
    text-decoration: none;
    pointer-events: none;
}

.page-index .archive-date a .hyphen, .entry-date a .hyphen, .page-archive a .hyphen {
    display: none;
}

.page-index .archive-date time, .entry-date time, .page-archive time {
    display: flex;
    align-items: flex-end;
}

.entry-date .date-day {
    order: 1;
    font-size: 7vw;
    line-height: 1;
}
.page-index .archive-date .date-day, .page-archive .date-day {
    order: 1;
    font-size: 5vw;
    line-height: 1;
}

.page-index .archive-date .date-year, .entry-date .date-year, .page-archive .date-year {
    display: none;
}

.page-index .archive-date .date-month, .entry-date .date-month, .page-archive .date-month {
    order: 2;
    font-size: 0;
}

.entry-date .date-month::before {
    font-size: 3vw;
    display: inline-block;
    margin: 0 .5em;
    letter-spacing: .1em;
}

.page-index .archive-date .date-month::before, .page-archive .date-month::before {
    font-size: 2vw;
    display: inline-block;
    margin: 0 .5em;
    letter-spacing: .1em;
}

.page-archive .archive-entry .archive-date {
    position: absolute;
    bottom: 0;
    padding: .2em 1em .2em 1em;
    border-radius: 2px;
    background: rgba(255,255,255,.8);
    z-index: 1;
}

.page-archive .archive-entry:nth-child(n+3):nth-child(2n) .archive-date {
    right: 0;
}

.page-archive .archive-entry:nth-child(n+3):nth-child(2n+1) .archive-date {
    left: 0;
}

.page-archive .archive-entry:nth-child(even) {
    flex-direction: row-reverse;
}

.archive-entry-tags-wrapper {
    display: none;
}

@media (min-width: 768px) {
    .page-archive .entry-description {
        font-size: .9rem;
    }
}
@media (min-width: 992px) {
    .page-index .archive-date .date-month::before, .entry-date .date-month::before {
        font-size: 1vw;
    }
    .page-index .archive-date .date-day, .entry-date .date-day {
        font-size: 3vw;
    }
    .page-archive .archive-entry .date-day {
        font-size: 3vw;
        font-size: min(3vw, 46px);
    }
    .page-archive .archive-entry .date-month::before {
        font-size: 1vw;
        font-size: min(1vw, 18px);
    }
}

/* footer */
#footer {
    margin-top: 2em;
    padding: 2rem 0;
    text-align: center;
    font-size: .8rem;
    color: #999;
}

#footer a {
    color: #999;
}

#footer p {
    margin: .5em auto;
}

@media (min-width: 768px) {
  #main-inner, .breadcrumb {
      padding: 0 2vw;
  }
  .archive-entries {
      display: flex;
      flex-wrap: wrap;
  }
  .page-archive .archive-entry {
    margin-bottom: 4vw;
    padding: 2vw;
  }
  .page-archive .archive-entry:nth-child(-n+2) {
    flex-direction: column;
    width: calc(50% - 10px);
  }
  .page-archive .archive-entry:nth-child(2) {
      margin-left: 20px;
  }
  .page-archive .archive-entry:nth-child(-n+2) .entry-title {
      margin: .3em 0 1.6em;
  }
  .entry-thumb-link {
      margin: -3vw auto 1vw;
  }

  .page-archive .archive-entry:nth-child(2) .categories {
      right: 0;
  }
  .archive-entry:nth-child(even).archive-entry:nth-child(n+3) .categories {
      left: 0;
  }
  .page-archive .archive-entry:nth-child(-n+2) .archive-date {
      left: 0;
  }
  .page-archive .archive-entry:nth-child(even) .archive-entry:nth-child(n+3) .archive-date {
      right: 0;
  }
  .page-archive .archive-entry:nth-child(-n+2) .archive-date {
      padding: .15em 1em;
  }
  .page-archive .entry-title {
      font-size: 2vw;
  }
  .archive-entry:nth-child(n+3) .entry-title-link::before {
      content: "READ MORE";
      display: inline-block;
      position: absolute;
      bottom: -3em;
      font-family: 'Fredericka the Great', cursive;
      font-weight: normal;
      font-size: .8em;
      padding: .5em 1em;
      background: #7d5642;
      background: var(--main-color);
      color: #fff;
      color: var(--main-text-color);
      border-radius: 2em;
      z-index: 2;
  }
  .archive-entry:nth-child(even):nth-child(n+3) .entry-title-link::before {
      right: 0;
  }
  .archive-entry:nth-child(odd):nth-child(n+3) .entry-title-link::before {
      left: 0;
  }
}

.page-archive .entry-title::before {
    content: "";
    width: 15%;
    border-top: solid 2px #5f5750;
    border-top: solid 2px var(--font-color);
    position: absolute;
    bottom: .2em;
    right: 0;
}

@media screen and (min-width:768px) and ( max-width:991px) {
    #box2 {
        word-wrap: break-word;
        background: none;
        padding: 0;
    }
    #box2-inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0 40px;
    }
    .page-entry #main-inner {
        padding: 0 2vw;
    }
    .page-archive .archive-entry .date-day {
        font-size: 3.5vw;
    }
    .page-archive .archive-entry .date-month::before {
        font-size: 1.5vw;
    }
    .hatena-module {
        width: 49%;
        background: #fff;
        margin-bottom: 2rem;
    }
}

@media (min-width: 992px) {
  .page-archive .archive-entry {
      margin-bottom: 3vw;
  }
  .page-archive .archive-entry:nth-child(-n+2) {
      padding: 1vw;
  }
  .page-archive .archive-entry:nth-child(-n+2) .entry-title {
      margin: .3em 0 2em;
  }
  .page-archive .archive-entry:nth-child(-n+2) .entry-thumb-link {
      margin-top: -2vw;
  }
  .page-archive .entry-title {
      font-size: 17px;
}
}

@media (min-width: 1200px) {
    .page-archive .archive-entry {
      margin-bottom: 36px;
      padding: 24px;
    }
    .entry-thumb-link {
      margin: -36px auto 12px;
    }
    .page-archive .archive-entry:nth-child(-n+2) {
      padding: 12px;
    }
    .page-archive .archive-entry:nth-child(-n+2) .entry-thumb-link {
      margin-top: -24px;
    }
}

.entry-content h3 {
    border-bottom: solid 3px;
    position: relative;
    margin: 2em 0 1.5em;
    padding: .3em 0;
}

.entry-content h3::brfore {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 15%;
    border-bottom: solid 3px #7dc3a3;
}

.page-archive .categories a:nth-child(n+2) {
    display: none;/*最初のカテゴリのみ表示*/
}

.archive-entry:hover .entry-thumb {
    transform: translateY(.5vw);
    box-shadow: none;
    opacity: .7;
}
.archive-entry:hover .entry-thumb-link::before {
    background: rgba(255,255,255,.3);
}

a.entry-see-more {
    display: inline-block;
    background: #7d5642;
    background: var(--main-color);
    color: #fff;
    color: var(--main-text-color);
    padding: .3rem 1rem;
    border-radius: 2rem;
    text-decoration: none;
    transition: .3s;
}

a.entry-see-more:hover {
    opacity: .8;
    text-decoration: underline;
    color: #fff;
}

.entry-categories {
    margin: 1em 0;
}

.pager-prev, .pager-next {
    position: relative;
    width: 40%;
    text-align: center;
}

.pager-next a, .pager-prev a {
    display: block;
}

.pager-prev a::before, .pager-next a::before {
    display: block;
    font-family: 'Fredericka the Great', cursive;
    font-size: 25px;
    font-style: italic;
    text-align: center;
    line-height: 1;
    margin-bottom: .3em;
    border-bottom: solid 1px #777;
}

.pager-prev a::before {
    content: "NEW";
}

.pager-next a::before {
    content: "OLD";
}

.pager-prev a::after, .pager-next a::after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 1px;
    background: #777;
    position: absolute;
}

.pager-prev a::after {
    left: 0;
    top: 21px;
    transform: rotate(-30deg);
}

.pager-next a::after {
    right: 0;
    top: 21px;
    transform: rotate(30deg);
}

.pager-arrow {
    display: none;
}

.entry-title {
    position: relative;
}
.entry-title::before {
    content: "";
    width: 10%;
    border-top: solid 2px #5f5750;
    border-top: solid 2px var(--font-color);
    position: absolute;
    bottom: .2em;
    right: 0;
}

.entry-content ul:not(.table-of-contents), .entry-content ol, .entry-content dd {
    margin: 1em 0 1em 1.5em;
}


.archive-module-month {
    transition: .3s;
    text-decoration: none;
}

.archive-module-month:hover {
    transform: translateX(4px);
    text-decoration: none;
}

.archive-module-month-title {
    position: relative;
    transition: .3s;
}

.archive-module-month-title:hover {
    text-decoration: none;
}

.archive-module-month a::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-top: solid 2px #777;
    border-right: solid 2px #777;
    transform: rotate(45deg);
    position: absolute;
    top: .4em;
    left: -1em;
}

@media (min-width: 768px) {
  .entry {
    padding: 2rem;
  }
  #main-inner, .page-entry #main-inner, .breadcrumb {
    padding: 0 40px;
  }
}

#blog-title, #footer, #header #header-body  {
    background: #2a2922;
    background: var(--theme-color);
}

#footer, #footer a {
    color: #fff;
}
.page-entry .breadcrumb {
    margin-bottom: 1em;
}

blockquote::before, blockquote::after {
    color: #eee;
    content: "\f704";
    font-family: 'blogicon';
    position: absolute;
    font-size: 3em;
}
blockquote::before {
    top: -35px;
    left: 10px;
}
blockquote::after {
    bottom: -35px;
    right: 10px;
    transform: rotate(180deg);
}

/***記事内コード用***/
.entry-content pre {
    background: #000;
    white-space: pre;
    text-overflow: ellipsis;
    line-height: 1.3;
    font-size: .8rem;
    position: relative;
    padding: 1.5em 1em .5em;
    border: solid 1px #ddd;
    font-size: 1em;
    text-overflow: unset;
}

.entry-content pre.lang-html::before {
    content: " html ";
    position: absolute;
    top: 0;
    left: 0;
    background: #5e6bff;
    color: #fff;
}

.entry-content pre.lang-css::before {
    content: " CSS ";
    position: absolute;
    top: 0;
    left: 0;
    background: #fff75e;
}

/***グローバルナビゲーション***/

.g-nav {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.g-nav li a {
    display: block;
    padding: .8em 0;
    color: #555;
    font-weight: bold;
    transition: .3s;
}

.g-nav li {
    width: 100%;
}

.g-nav li a:hover {
  background: #9a725d;
    background: var(--navigation-hover-color);
}

@media (max-width: 767px) {
  #nav-drawer {
      position: fixed;
      top: 10px;
      right: 10px;
      z-index: 9999;
  }

.nav-unshown {
  display:none;
}

#nav-open {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 1;
    background: rgba(255,255,255,.7);
    padding: .5em;
    border-radius: 6px;
    color: #2a2922;
    font-weight: bold;
}

.g-nav-icon {
    font-size: 25px;
}

.mini-text {
    font-size: 10px;
}

#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

#nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 85%;
    max-width: 500px;
    height: 100%;
    background: #fff;
    transition: .3s ease-in-out;
    -webkit-transform: translateX(-130%);
    transform: translateX(-130%);
}

#nav-input:checked ~ #nav-close {
  display: block;
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

.nav-close {
    text-align: center;
    display: flex;
    flex-direction: column;
    padding: 1em;
    font-size: .85rem;
    font-weight: bold;
    letter-spacing: .05em;
    line-height: 1;
}

.nav-close i {
    font-size: 2rem;
}
}

@media (min-width: 768px) {
  #nav-input, .nav-close {
      display: none;
  }
  #nav-content {
      position: relative;
      background: #7d5642;
      background: var(--navigation-color);
      box-shadow: rgba(0,0,0,.1), rgba(0,0,0,.06);
      box-shadow: var(--shadow1-color) 0px 4px 6px -1px, var(--shadow2-color) 0px 2px 4px -1px;
  }
  #nav-open {
    display: none;
  }
  .g-nav {
      display: flex;
      justify-content: space-around;
      margin: 0 auto;
      padding: 0;
      max-width: 1200px;
  }
  .g-nav li a {
      color: #fff;
      font-size: .85rem;
  }
}
/***シェアボタン***/
.sharebtn{margin:0 0 1em 0;}
.sharebtn a{display: block;width: 48px;height: 48px;line-height: 48px;color: #fff;text-align: center;border-radius: 4px;background: #fff;box-sizing: border-box;transition: .2s;box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;*/}
.sharebtn a i{margin: 0;font-size: 25px;line-height: 48px;}

.sharebtn .btn_fb{background:#1877f2;}
.sharebtn .btn_tw{background:#1da1f2;}
.sharebtn .btn_po{background:#ee4056;}
.sharebtn .btn_hb{background:#00a4de;}
.sharebtn .btn_li{background:#06c755;}
.sharebtn a:hover {opacity: .7;box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 10px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;}
.sharebtn .blogicon-bookmark {font-size: 33px;line-height: 1.3em;vertical-align: -11%;}
.sharebtn_list {padding: 0;list-style: none;display: flex;margin: .5em 0 2em;}

.sharebtn_item:not(:last-child) {margin-right: 8px;}
/***ボーダーボタン***/
.sharebtn .bd:not(:hover) {background: none;border: solid 1px;}
.sharebtn a.bd:hover {color:#fff;opacity: 1;}
.sharebtn .btn_fb.bd{color: #1877f2;}
.sharebtn .btn_tw.bd{color: #1da1f2;}
.sharebtn .btn_po.bd{color: #ee4056;}
.sharebtn .btn_hb.bd{color: #00a4de;}
.sharebtn .btn_li.bd{color: #06c755;}

/***おすすめ記事***/
.c_recommend-container {
  margin: 0;
  padding: 2em 2.5vw 0;
  background: #fff;
}
#top-editarea .c_recommend-container {
    box-shadow: rgba(0,0,0,.1) 0px 4px 6px -1px, rgba(0,0,0,.06) 0px 2px 4px -1px;
    box-shadow: var(--shadow1-color) 0px 4px 6px -1px, var(--shadow2-color) 0px 2px 4px -1px;
}
.c_recommend {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0!important;
  list-style: none;
}
.c_recommend-item {
  width: 50%;
  margin-bottom: 1.5em;
  padding: 0 .5em;
  box-sizing: border-box;
  border-radius: 4px;
}
.c_recommend-thumb {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding-top: 56.25%;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.c_recommend-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    transition: .5s;
    -webkit-transform: scale(1.01);
    transform: scale(1.01);
}
.c_recommend-item:hover .c_recommend-img {
    transform: scale(1.06);
    opacity: .8;
}
.c_recommend-item-body {}

.c_recommend-item-title {
    display: block;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    padding: .5em 0 0;
}
@media (min-width: 600px) {
  .c_recommend-item-title {
    font-size: 1rem;
}
}
@media (min-width: 768px) {
  .g-nav {
    margin: 0 auto;
}
  .c_recommend-item {
    width: 25%;
}
  .entry .c_recommend-item {
    width: 33.3%;
}
}
.entry .c_recommend-container {
    padding: 0;
    margin: 1em -.5em 0;
}

.hatena-module-html .c_recommend-container {
    padding: 0;
}

.hatena-module-html .c_recommend-item {
    width: 50%;
}

.hatena-module-html .c_recommend-item-title {
    font-size: 14px;
}

.hatena-module-html .c_recommend-item:nth-child(odd) {
    padding-left: 0;
}

.hatena-module-html .c_recommend-item:nth-child(even) {
    padding-right: 0;
}

/***おすすめ記事カード型***/
.c_recommend-thumb.card, .c_recommend-thumb .c_recommend-img {
    border-radius: 3px 3px 0 0;
    box-shadow: none;
}
.c_recommend-item-body.card {
    padding: 0 .5em .5em;
}
.c_recommend-item.card, .entry .c_recommend-item.card {
    border: solid 1px #acacac;
    padding: 0;
    width: 48%;
    margin: 0 1% 1.5em;
}
@media (min-width:768px) {
.c_recommend-item.card {
    margin: 0 .5% 2em;
    width: 24%;
}
.entry .c_recommend-item.card {
    width: 31%;
}
}
.hatena-module-html .c_recommend {
    justify-content: space-between;
}
.hatena-module-html .c_recommend-item.card {
    width: 48%;
    margin-bottom: 1.5em;
}

/* </system> */

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

/* =========================================================
   Hatena Blog (Cappuccino想定)
   基本設定・フォントなど
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root{
  --bg: #fbfaf8;
  --surface: rgba(255,255,255,.94);
  --text: #262b33;
  --muted: #7a8696;
  --line: rgba(110, 90, 70, .14);
  --accent: #b46b78;
  --accentSoft: rgba(180,107,120,.14);
  --radius: 22px;
  --radiusS: 14px;
  --shadowS: 0 10px 26px rgba(44, 36, 28, .08);
  --shadow:  0 18px 50px rgba(44, 36, 28, .10);
  --max: 1120px;
}

/* ダークモード対策（ライト固定） */
@media (prefers-color-scheme: dark){
  :root{
    --bg: #fbfaf8;
    --surface: rgba(255,255,255,.94);
    --text: #262b33;
    --muted: #7a8696;
    --line: rgba(110, 90, 70, .14);
    --accent: #b46b78;
    --accentSoft: rgba(180,107,120,.14);
  }
}

body{
  font-family: "Noto Sans JP","Noto Sans KR","Pretendard","メイリオ",Meiryo,system-ui,sans-serif;
  color: var(--text);
  line-height: 1.85;
  letter-spacing: .02em;
  background: var(--bg) !important;
}
.entry-content p { font-size: 16px; }

#container, .container{ max-width: var(--max); margin: 0 auto; padding: 0 18px; }
a{ color: var(--accent); text-decoration: none !important; }
a:hover{ opacity: .92; }

/* サイドバー */
.hatena-module, .module{
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadowS) !important;
  padding: 16px 16px !important;
  margin-bottom: 16px !important;
}

/* =========================================
   吹き出し (Chat)
   ========================================= */
:root{
  --chat-you: rgba(120,170,160,.14);
  --chat-me:  rgba(180,107,120,.12);
  --chat-line: rgba(110,90,70,.14);
  --chat-text: #262b33;
  --chat-muted:#7a8696;
  --chat-radius: 20px;
  --chat-shadow: 0 10px 22px rgba(44,36,28,.06);
}
.chat{ display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; }
.chat.me{ flex-direction: row-reverse; }
.chat .avatar{ width: 44px; height: 44px; border-radius: 999px; overflow: hidden; background: #fff; border: 1px solid var(--chat-line); flex: 0 0 auto; }
.chat .avatar img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.chat .bubble{ position: relative; max-width: min(560px, 82%); padding: 12px 14px; border-radius: var(--chat-radius); border: 1px solid var(--chat-line); box-shadow: var(--chat-shadow); color: var(--chat-text); line-height: 1.8; background: rgba(255,255,255,.86); }
.chat.you .bubble{ background: var(--chat-you); }
.chat.me  .bubble{ background: var(--chat-me); border-color: rgba(180,107,120,.20); }
.chat .name{ font-size: 12px; font-weight: 800; color: var(--chat-muted); margin: 0 0 6px; letter-spacing: .02em; }
.chat .bubble p{ margin: .6em 0; }
.chat .bubble p:first-child{ margin-top: 0; }
.chat .bubble p:last-child{ margin-bottom: 0; }
.chat.me .bubble{ margin-left: auto; }
@media (max-width: 520px){ .chat .avatar{ width: 40px; height: 40px; } .chat .bubble{ max-width: 84%; } }
/* アイコンちょい重ね */
.chat.you .bubble{ padding-left: 18px; margin-left: 8px; }
.chat.me .bubble{ padding-right: 18px; margin-right: 8px; }
.chat .avatar{ margin-top: 6px; position: relative; z-index: 3; }
.chat.you .avatar{ margin-right: -14px; }
.chat.me .avatar{ margin-left: -14px; }
.chat .avatar{ border: 2px solid rgba(255,255,255,.95); box-shadow: 0 10px 22px rgba(44,36,28,.10); width: 48px !important; height: 48px !important; }
@media (max-width: 520px){ .chat .avatar{ width: 42px !important; height: 42px !important; } }

/* =========================================
   チェックリスト (k-checklist)
   ========================================= */
:root{
  --k-accent: color-mix(in srgb, var(--chat-me, rgba(180,107,120,.12)) 70%, #000 10%);
  --k-accent-soft: color-mix(in srgb, var(--chat-me, rgba(180,107,120,.12)) 55%, #fff 45%);
  --k-mint-soft:  color-mix(in srgb, var(--chat-you, rgba(120,170,160,.14)) 60%, #fff 40%);
  --k-line: rgba(110,90,70,.16);
  --k-bg: rgba(255,255,255,.92);
  --k-text: #262b33;
}
ul.k-checklist{ list-style: none; margin: 1.2em 0; padding: 14px 16px; border: 2px solid var(--k-accent-soft); border-radius: 18px; background: linear-gradient(0deg, var(--k-bg), var(--k-bg)), radial-gradient(520px 220px at 10% 0%, var(--k-mint-soft), transparent 55%), radial-gradient(520px 220px at 90% 0%, var(--k-accent-soft), transparent 55%); box-shadow: 0 10px 22px rgba(44,36,28,.06); }
ul.k-checklist > li{ position: relative; padding: 14px 10px 14px 44px; color: var(--k-text); line-height: 1.8; font-weight: 650; letter-spacing: .01em; }
ul.k-checklist > li:not(:last-child){ border-bottom: 2px dashed color-mix(in srgb, var(--k-accent-soft) 70%, #fff 30%); }
ul.k-checklist > li::before{ content: "✓"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; display: grid; place-items: center; color: var(--k-accent); font-weight: 900; font-size: 18px; }
ul.k-checklist > li::after{ content: ""; position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 999px; background: color-mix(in srgb, var(--k-accent-soft) 55%, #fff 45%); }
@media (max-width: 520px){ ul.k-checklist{ padding: 12px 12px; border-radius: 16px; } ul.k-checklist > li{ padding: 12px 8px 12px 42px; } }

/* =========================================
   あわせて読みたいリンク
   ========================================= */
.entry-content .emphasize-link { position: relative; margin: 36px 0 16px; padding: 16px 10px; border: 2px solid #d48a97; background-color: #fff5f6; }
.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: #d48a97; 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: #d48a97; border-radius: 14px; line-height: 25px; text-align: center; content: "\f010"; font-size: 18px; font-family: "blogicon"; color: #fff; }


/* =========================================
   リスト共通設定 (ul, ol)
   ========================================= */
.entry-content ul, .entry-content ol { margin-left: 1em !important; padding-left: 0 !important; margin-top: 1.5em; margin-bottom: 1.5em; }
.entry-content ul li, .entry-content ol li { list-style: none !important; position: relative; padding-left: 2.2em !important; margin-bottom: 0.8em; line-height: 1.6; color: #555; border-bottom: 1px dashed #ddd; padding-bottom: 0.5em; }
.entry-content ul li:last-child, .entry-content ol li:last-child { border-bottom: none; }

/* チェックリスト (ul) */
.entry-content ul li::before { content: ''; position: absolute; left: 0.5em; top: 0.5em; width: 6px; height: 10px; border-right: 2px solid #d8b4b8; border-bottom: 2px solid #d8b4b8; transform: rotate(45deg); }

/* 番号リスト (ol) */
.entry-content ol { counter-reset: seoul-num; }
.entry-content ol li::before { counter-increment: seoul-num; content: counter(seoul-num) "."; position: absolute; left: 0.2em; top: 0; color: #d8b4b8; font-weight: bold; font-family: "Helvetica Neue", Arial, sans-serif; width: 1.5em; text-align: center; }


/* =========================================================================
   【重要】目次と見出しの強制上書きデザイン（最強設定・全タグ対応）
   ========================================================================= */

/* --- 1. 目次 (Table of Contents) --- */

html body .entry-content .table-of-contents,
html body .table-of-contents {
    border: 2px dashed #dcbccc !important; /* ピンク点線枠 */
    border-top: 2px dashed #dcbccc !important; /* 上書き：茶色ラインを消す */
    border-bottom: 2px dashed #dcbccc !important;
    background: #fff !important;
    border-radius: 8px !important;
    padding: 1.5em 2em 1.5em !important; /* 余白調整 */
    margin: 30px 0 !important;
    position: relative !important;
    box-shadow: none !important;
}

/* タイトル「CONTENTS」の位置修正 */
html body .entry-content .table-of-contents::before,
html body .table-of-contents::before {
    content: "CONTENTS" !important;
    display: block !important;
    
    /* 絶対配置で強制的に中央へ */
    position: absolute !important;
    top: -10px !important;  /* 枠線の上に重ねる */
    left: 50% !important;   /* 左から50%の位置 */
    transform: translateX(-50%) !important; /* 自身の半分だけ戻して完全中央揃え */
    
    background-color: #fff !important; /* 背景色で線を隠す */
    padding: 0 10px !important; /* 文字の左右に余白 */
    
    color: #dcbccc !important;
    text-align: center !important;
    font-size: 14px !important;
    letter-spacing: 2px !important;
    font-weight: bold !important;
    border: none !important;
    width: auto !important;
    margin: 0 !important;
}

/* 既存の装飾を徹底的に消す */
html body .entry-content .table-of-contents::after,
html body .table-of-contents::after {
    content: none !important;
    display: none !important;
}

/* 目次リスト */
html body .entry-content .table-of-contents li,
html body .table-of-contents li {
    list-style: none !important;
    border: none !important;
    background: none !important;
    padding-left: 0 !important;
    margin-bottom: 8px !important;
}
html body .entry-content .table-of-contents li::before { content: none !important; }
html body .entry-content .table-of-contents li a { text-decoration: none !important; color: #555 !important; font-weight: bold; }
html body .entry-content .table-of-contents li a:hover { color: #dfa6bf !important; text-decoration: underline !important; }

/* ----------------------------------------------------- */
/* ★目次の小見出しを非表示にする設定（ここを追加）★ */
/* ----------------------------------------------------- */
html body .entry-content .table-of-contents > li > ul {
    display: none !important;
}


/* --- 2. 大見出し＆中見出しデザイン（ステッチ風） --- */
/* h3(大) と h4(中) の両方を「ステッチ風」にします */

html body .entry-content h2,
html body .entry-content h3,
html body .entry-content h4 {
    background: transparent !important;
    background-image: none !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    
    /* ステッチ風デザイン */
    /* 左右の余白を0にして、文字開始位置を本文と揃える */
    padding: 0.5em 0 !important; 
    
    color: #5d4037 !important;
    border-bottom: 2px dashed #d8a6a6 !important; /* ピンク点線 */
    border-left: none !important; 
    border-top: none !important; /* 上の茶色ラインを消す */
    font-weight: bold !important;
    margin-top: 2em !important;
    margin-bottom: 1em !important;
}

/* 文字サイズで階層をつける */
html body .entry-content h2,
html body .entry-content h3 {
    font-size: 1.4em !important; /* 大見出しサイズ */
}
html body .entry-content h4 {
    font-size: 1.25em !important; /* 中見出しサイズ（少し小さく） */
}

/* 既存の装飾（縞々ラインなど）を鬼のように消す */
html body .entry-content h2::before, html body .entry-content h2::after,
html body .entry-content h3::before, html body .entry-content h3::after,
html body .entry-content h4::before, html body .entry-content h4::after {
    content: none !important;
    display: none !important;
    border: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* 頭文字アクセント */
html body .entry-content h2::first-letter,
html body .entry-content h3::first-letter,
html body .entry-content h4::first-letter {
    font-size: 1.2em;
    color: #b46b78; 
}


/* --- 3. 小見出しデザイン（テープ風） --- */
/* h5(小見出し) にテープデザインを適用します */

html body .entry-content h5 {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-top: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    
    /* テープ風デザイン */
    padding: 0.5em 0.8em !important;
    border-left: 5px solid #e0c0c0 !important;
    background-color: #fffbf0 !important; /* クリーム色 */
    font-size: 1.1em !important;
    color: #555 !important;
    margin-top: 1.5em !important;
    margin-bottom: 1em !important;
}
/* h5の装飾リセット */
html body .entry-content h5::before,
html body .entry-content h5::after {
    content: none !important;
    display: none !important;
}
/* h5は頭文字アクセントなし */
html body .entry-content h5::first-letter {
    font-size: 1em;
    color: inherit;
}


/* =========================================
   その他パーツ (マーカー、ボタン、ボックス)
   ========================================= */
.seoul-marker { background: linear-gradient(transparent 60%, #d8b4b8 60%); font-weight: bold; padding-bottom: 1px; color: #444; }
.seoul-gray-marker { background: linear-gradient(transparent 70%, #ddd 70%); font-weight: bold; }

.travel-point-box { margin: 2em 0; padding: 1.5em; background-color: #fffbfb; border: 1px solid #ebd0d0; border-radius: 4px; color: #555; }
.travel-point-box span.title { display: block; font-weight: bold; color: #d8a6a6; margin-bottom: 0.5em; }

.sn40-btn { display: block; width: 100%; max-width: 480px; margin: 20px auto; text-decoration: none; color: #fff !important; background-color: #d47fa6; padding: 18px 20px; border-radius: 50px; text-align: center; font-weight: bold; font-size: 18px; box-shadow: 0 5px 0 #a85e80; transition: all 0.2s; position: relative; }
.sn40-btn:hover { transform: translateY(3px); box-shadow: 0 2px 0 #a85e80; color: #fff; opacity: 0.9; }
.sn40-btn:after { content: "＞"; font-size: 80%; margin-left: 10px; }

.custom-share-buttons { display: flex; justify-content: center; align-items: center; gap: 30px; margin: 40px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 20px 0; }
.custom-share-buttons a { color: #999; text-decoration: none; font-size: 18px; display: flex; align-items: center; gap: 8px; transition: color 0.3s; }
.custom-share-buttons a span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.custom-share-buttons a:hover { color: #333; }

.trip-memo { background-color: #fdfbfb; border: 1px dashed #dcbccc; padding: 20px; margin: 25px 0; border-radius: 8px; color: #666; }
.trip-memo::before { content: "Memo"; display: block; font-weight: bold; color: #dcbccc; margin-bottom: 10px; letter-spacing: 1px; }

/* スマホヘッダー調整 */
@media (max-width: 767px) {
  #blog-title, #blog-title-inner { background-size: contain !important; background-repeat: no-repeat !important; background-position: center top !important; width: 94% !important; margin: 0 auto !important; height: 70px !important; }
}

/* =========================================
   「この記事でわかること」デザイン (ノート風)
   ========================================= */
.summary-box.note { position: relative; background-color: #fffbf0; border: 2px solid #f0e6d2; border-radius: 4px; padding: 2.5em 2em 1.5em; margin-top: 2em; margin-bottom: 2em; box-shadow: 2px 2px 5px rgba(0,0,0,0.05); }
.summary-box.note .box-title { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background-color: rgba(230, 200, 200, 0.9); color: #fff; font-weight: bold; font-size: 1rem; padding: 0.3em 1.5em; white-space: nowrap; border-left: 2px dotted rgba(255,255,255,0.6); border-right: 2px dotted rgba(255,255,255,0.6); box-shadow: 0 2px 3px rgba(0,0,0,0.1); z-index: 10; }
.summary-box.note .box-title i { margin-right: 0.5em; }

.entry-content .summary-box ul, .summary-box ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.entry-content .summary-box li, .summary-box li { list-style-type: none !important; list-style-image: none !important; background: none !important; position: relative; padding-left: 1.5em !important; margin-bottom: 0.8em; border-bottom: 1px dashed #e0d0b8; color: #5d4037; }
.entry-content .summary-box li:last-child, .summary-box li:last-child { border-bottom: none; margin-bottom: 0; }
/* 強制的に丸にする */
.entry-content .summary-box li::before, .summary-box li::before { content: '●' !important; border: none !important; transform: none !important; width: auto !important; height: auto !important; font-size: 0.8em; position: absolute; left: 0.2em; top: 0.4em; color: #d7ccc8; background: none !important; display: inline-block; }
.entry-content .summary-box li::after, .summary-box li::after { content: none !important; display: none !important; }

/* 色違い */
.summary-box.note.blue { background-color: #f0f8ff; border-color: #dbe9f5; }
.summary-box.note.blue .box-title { background-color: rgba(130, 160, 200, 0.9); }
.summary-box.note.blue li { border-bottom-color: #dbe9f5; color: #455a64; }
.summary-box.note.blue li::before { color: #b0c4de; }





/* --- 1. 全体共通：3枚横並びの基本 --- */
.recommend-container {
    max-width: 1000px; /* ナビの幅に合わせて調整 */
    margin: 40px auto 10px;
    text-align: center;
}

/* 「RECOMMENDED」のラベル：シンプル版 */
.recommend-label {
    font-size: 12px !important;
    font-weight: bold;
    letter-spacing: 0.15em;
    color: #8b5a42; /* ナビの茶色に合わせる */
    margin: 0 0 15px 0 !important;
    text-transform: uppercase;
}

.featured-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    gap: 8px;
    padding: 0 10px;
    box-sizing: border-box;
}

.featured-card {
    flex: 1;
    min-width: 0;
    text-decoration: none !important;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* 画像エリア */
.card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f0f0;
}

.card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* --- 2. PC用の表示（文字あり） --- */
@media screen and (min-width: 769px) {
    .card-content { padding: 10px; }
    .card-content h3 {
        font-size: 14px !important;
        color: #333;
        margin: 0;
        font-weight: bold;
        line-height: 1.4 !important;
    }
}

/* --- 3. スマホ用の表示（画像のみでスッキリ） --- */
@media screen and (max-width: 768px) {
    .recommend-container { margin: 25px auto 5px; }
    .recommend-label { font-size: 10px !important; }
    
    .featured-row { padding: 0 5px; gap: 6px; }
    
    .featured-card {
        background: none !important; /* 背景を消す */
        box-shadow: none !important; /* 影を消す */
    }

    .card-content {
        display: none !important; /* スマホではタイトルを非表示 */
    }

    .card-img {
        border-radius: 4px;
        border: 1px solid #eee;
    }
}
/* --- スマホ表示時の余白詰め --- */
@media screen and (max-width: 768px) {
    /* 1. ナビゲーションがあった場所の余白を消す */
    #top-editarea {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
    }

    /* 2. おすすめセクションの上の余白をさらに詰める */
    .recommend-container {
        margin-top: 3px !important; /* ここを10pxから5pxに変更してさらに密着 */
    }

    /* 3. ヘッダー画像の下の余白も削る */
    #blog-title-inner {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}




.entry-inner {
    min-height: 250px; /* 画像がなくても最低限これくらいの高さを保つ設定 */
}


/* ボックス全体：温かみのあるオフホワイトと細いラインで上品に */
.wp-elegant-box {
  background-color: #fcfbf9; 
  border: 1px solid #dcd3cb;
  border-radius: 4px;
  padding: 2.5em 2em;
  margin: 2.5em 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

/* タイトル：メニューバーに合わせたブラウン */
.wp-elegant-title {
  color: #7b5a46; 
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  margin-top: 0;
  margin-bottom: 1em;
  letter-spacing: 1px;
  border-bottom: 1px dashed #dcd3cb;
  padding-bottom: 0.8em;
}

/* テキスト：少しグレーを混ぜて読みやすく */
.wp-elegant-text {
  color: #555555;
  font-size: 0.95em;
  line-height: 1.8;
  margin-bottom: 1.8em;
}
.wp-elegant-text strong {
  color: #d16b32; /* 落ち着いたトーンのオレンジ */
}

/* コード表示エリア：白背景でスッキリと */
.wp-elegant-code-area {
  background-color: #ffffff;
  border: 1px solid #ebdacc;
  border-radius: 4px;
  padding: 1.2em;
  text-align: center;
  margin-bottom: 2em;
}
.wp-elegant-code-label {
  color: #7b5a46;
  font-size: 0.95em;
}
.wp-elegant-code-value {
  color: #ff7a00; /* ここだけWOWPASS本来のオレンジでアクセント */
  font-size: 1.3em;
  font-weight: bold;
  letter-spacing: 2px;
  display: inline-block;
  margin-left: 8px;
}

/* ボタン：ブログに馴染むブラウンで統一 */
.wp-elegant-btn {
  display: block;
  max-width: 320px;
  margin: 0 auto;
  padding: 16px 20px;
  background-color: #7b5a46; 
  color: #ffffff !important;
  text-align: center;
  text-decoration: none !important;
  font-size: 0.95em;
  border-radius: 3px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

/* ボタンのホバー（マウスを乗せた時）アクション */
.wp-elegant-btn:hover {
  background-color: #634838;
  box-shadow: 0 4px 12px rgba(123, 90, 70, 0.2);
  transform: translateY(-1px);
}

/* 左にアクセントラインがあるシンプルなボックス */
.wp-simple-box {
  background-color: #faf9f7; /* とても薄いベージュ */
  border-left: 4px solid #7b5a46; /* メニューバーと同じブラウン */
  padding: 1.2em 1.5em;
  margin: 2em 0;
  border-radius: 0 3px 3px 0;
}

.wp-simple-text {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 0.8em;
}

.wp-simple-code {
  color: #ff7a00; /* コード部分だけさりげなくオレンジ */
  font-size: 1.1em;
  letter-spacing: 1px;
}

/* シンプルなテキストリンク */
.wp-simple-link {
  font-size: 0.95em;
  color: #7b5a46 !important;
  font-weight: bold;
  text-decoration: underline !important;
  transition: opacity 0.3s;
}

.wp-simple-link:hover {
  opacity: 0.7;
}

  .affiliate-box {
    background-color: #f7f6f2; /* 背景の薄い色 */
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    margin: 2em 0;
  }
  
  .micro-copy {
    color: #e54d8c; /* ピンク系の文字色 */
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 25px;
    letter-spacing: 1px;
  }
  
  /* ボタン共通のスタイル */
  .btn-klook, .btn-kkday {
    display: block;
    width: 90%;
    max-width: 350px;
    margin: 0 auto 15px;
    padding: 16px 10px;
    color: #ffffff !important; /* 文字を白に */
    font-weight: bold;
    text-decoration: none;
    border-radius: 40px; /* 角丸 */
    transition: all 0.2s ease;
  }
  
  /* Klookボタンの色と影 */
  .btn-klook {
    background-color: #ff5722;
    box-shadow: 0 4px 0 #d84315; 
  }
  
  /* KKdayボタンの色と影 */
  .btn-kkday {
    background-color: #00a0e9;
    box-shadow: 0 4px 0 #007bb5;
  }
  
  /* マウスを乗せたとき（タップしたとき）の沈み込みアクション */
  .btn-klook:hover, .btn-kkday:hover {
    transform: translateY(4px);
    box-shadow: 0 0 0 transparent;
  }
  
  .note-text {
    font-size: 0.8em;
    color: #666;
    margin-top: 25px;
    margin-bottom: 0;
  }


/* =========================================
   Seoul Note 40+ 共通デザインパーツ (Cappuccinoテーマ調和版)
   ========================================= */

:root {
  --sn-brown: #6d4c33;
  --sn-brown-hover: #553b27;
  --sn-beige-bg: #f9f6f2;
  --sn-border: #e6ded6;
  --sn-alert-red: #c94a4a;
  --sn-alert-bg: #fffcfc;
  --sn-alert-border: #f2d6d6;
  --sn-text: #333333;
  --sn-text-sub: #777777;
  --sn-radius: 4px;
}

/* --- ベースのボックス設定 --- */
.entry-content .sn-box {
  margin: 0 0 2em 0 !important;
  padding: 1.5em !important;
  border: 1px solid var(--sn-border) !important;
  border-radius: var(--sn-radius) !important;
  color: var(--sn-text) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  box-sizing: border-box !important;
  background-color: #ffffff !important;
}
.entry-content .sn-box p {
  margin: 0 0 1em 0 !important;
  color: var(--sn-text) !important;
}
.entry-content .sn-box p:last-child {
  margin-bottom: 0 !important;
}
.entry-content .sn-note {
  font-size: 12px !important;
  color: var(--sn-text-sub) !important;
  margin-top: 1em !important;
}

/* --- タイトル設定 --- */
.entry-content .sn-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: bold !important;
  font-size: 17px !important;
  color: var(--sn-brown) !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.entry-content .sn-title-center {
  justify-content: center !important;
  text-align: center !important;
}
.entry-content .sn-title-line {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.entry-content .sn-title-line::before,
.entry-content .sn-title-line::after {
  content: "" !important;
  flex: 1 !important;
  height: 1px !important;
  background-color: var(--sn-border) !important;
  margin: 0 16px !important;
}

/* --- ボックスごとの背景色 --- */
.entry-content .sn-bg-beige {
  background-color: var(--sn-beige-bg) !important;
}
.entry-content .sn-alert {
  background-color: var(--sn-alert-bg) !important;
  border-color: var(--sn-alert-border) !important;
}
.entry-content .sn-alert .sn-title {
  color: var(--sn-alert-red) !important;
}

/* --- ④ CTAボタン --- */
.entry-content .sn-cta-title {
  border-bottom: 1px dashed var(--sn-border) !important;
  padding-bottom: 16px !important;
  margin-bottom: 16px !important;
}
.entry-content .sn-btns {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-top: 20px !important;
}
.entry-content .sn-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  padding: 14px 20px !important;
  border-radius: var(--sn-radius) !important;
  text-decoration: none !important;
  font-weight: bold !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
}
.entry-content .sn-btn::after {
  content: "\003E" !important;
  position: absolute !important;
  right: 16px !important;
  font-weight: normal !important;
}
.entry-content .sn-btn-fill {
  background-color: var(--sn-brown) !important;
  color: #ffffff !important;
  border: 1px solid var(--sn-brown) !important;
}
.entry-content .sn-btn-fill:hover {
  background-color: var(--sn-brown-hover) !important;
  color: #ffffff !important;
}
.entry-content .sn-btn-line {
  background-color: #ffffff !important;
  color: var(--sn-brown) !important;
  border: 1px solid var(--sn-brown) !important;
}
.entry-content .sn-btn-line:hover {
  background-color: var(--sn-beige-bg) !important;
}
@media (min-width: 600px) {
  .entry-content .sn-btns {
    flex-direction: row !important;
  }
  .entry-content .sn-btn {
    flex: 1 !important;
  }
}

/* --- ⑥ 比較ボックス専用設定 --- */
.entry-content .sn-comp-cols {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  position: relative !important;
}
.entry-content .sn-comp-col {
  flex: 1 !important;
}
.entry-content .sn-comp-header {
  background-color: var(--sn-beige-bg) !important;
  text-align: center !important;
  font-weight: bold !important;
  color: var(--sn-brown) !important;
  padding: 8px !important;
  margin-bottom: 12px !important;
  border-radius: var(--sn-radius) !important;
}
.entry-content .sn-vs {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  background-color: #ffffff !important;
  border: 1px solid var(--sn-border) !important;
  color: var(--sn-brown) !important;
  font-weight: bold !important;
  font-size: 14px !important;
  border-radius: 50% !important;
  margin: 8px auto !important;
  z-index: 2 !important;
}
@media (min-width: 600px) {
  .entry-content .sn-comp-cols {
    flex-direction: row !important;
    gap: 30px !important; /* PC時の左右の隙間 */
  }
  .entry-content .sn-vs {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    margin-top: -5px !important;
  }
}



/* =========================================
   Seoul Note 40+ オリジナルBOXデザインCSS
   ========================================= */
:root {
    /* カラーパレット */
    --sn-primary: #8A7866;       /* くすみブラウン（メイン） */
    --sn-primary-light: #F2EFE9;    /* 薄いベージュ（背景用） */
    --sn-accent: #C4A482;        /* キャメル（アクセント） */
    --sn-text-main: #4A4238;     /* テキスト（濃いブラウン） */
    --sn-text-sub: #7A7065;      /* サブテキスト */
    --sn-bg-white: #FFFFFF;
    --sn-border: #E8E2D9;        /* 境界線 */
    
    /* アラート・特記事項用カラー */
    --sn-danger-bg: #FDF3F2;
    --sn-danger-text: #B86B6B;
    
    /* 共通設定 */
    --sn-radius: 12px;
    --sn-radius-sm: 8px;
    --sn-shadow: 0 4px 16px rgba(138, 120, 102, 0.06);
    --sn-shadow-hover: 0 6px 20px rgba(138, 120, 102, 0.12);
    --sn-transition: all 0.3s ease;
}

/* 各BOX共通：ブログの文字のベースに合わせる設定 */
.sn-box-conclusion, .sn-box-recommend, .sn-box-rating, 
.sn-box-point, .sn-box-memo, .sn-box-korean, 
.sn-card-article, .sn-box-check, .sn-box-ng, .sn-box-toc {
    box-sizing: border-box;
    line-height: 1.8;
    color: var(--sn-text-main);
}
.sn-box-conclusion *, .sn-box-recommend *, .sn-box-rating *, 
.sn-box-point *, .sn-box-memo *, .sn-box-korean *, 
.sn-card-article *, .sn-box-check *, .sn-box-ng *, .sn-box-toc * {
    box-sizing: border-box;
}

/* ① 結論BOX */
.sn-box-conclusion {
    background-color: var(--sn-bg-white);
    border: 1px solid var(--sn-border);
    border-left: 6px solid var(--sn-primary);
    border-radius: 4px var(--sn-radius) var(--sn-radius) 4px;
    padding: 20px 24px;
    box-shadow: var(--sn-shadow);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 24px 0;
}
.sn-box-conclusion .sn-icon {
    font-size: 24px;
    background: var(--sn-primary-light);
    color: var(--sn-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sn-box-conclusion .sn-content { flex-grow: 1; }
.sn-box-conclusion .sn-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--sn-primary);
    margin: 0 0 4px 0;
}
.sn-box-conclusion p { margin: 0; font-size: 15px; font-weight: bold; }

/* ② こんな人におすすめBOX */
.sn-box-recommend {
    background-color: var(--sn-primary-light);
    border-radius: var(--sn-radius);
    padding: 24px;
    position: relative;
    margin: 24px 0;
}
.sn-box-recommend::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 24px;
    height: 32px;
    background-color: var(--sn-danger-text);
    opacity: 0.8;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}
.sn-box-recommend .sn-title {
    text-align: center;
    font-weight: bold;
    color: var(--sn-text-main);
    margin: 0 0 16px 0;
    font-size: 16px;
}
.sn-box-recommend ul { list-style: none; padding: 0; margin: 0; }
.sn-box-recommend li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 15px;
}
.sn-box-recommend li:last-child { margin-bottom: 0; }
.sn-box-recommend li::before {
    content: '✓';
    position: absolute;
    left: 4px;
    color: var(--sn-primary);
    font-weight: bold;
}

/* ③ おすすめ度BOX */
.sn-box-rating {
    background-color: var(--sn-bg-white);
    border: 1px solid var(--sn-border);
    border-radius: var(--sn-radius);
    padding: 20px;
    box-shadow: var(--sn-shadow);
    margin: 24px 0;
}
.sn-box-rating .sn-title {
    background-color: var(--sn-primary-light);
    padding: 8px 16px;
    border-radius: var(--sn-radius-sm);
    font-weight: bold;
    margin: -8px -8px 16px -8px;
    font-size: 15px;
}
.sn-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    border-bottom: 1px dashed var(--sn-border);
    font-size: 14px;
}
.sn-rating-row:last-child { border-bottom: none; font-weight: bold; }
.sn-rating-label { display: flex; align-items: center; gap: 8px; }
.sn-stars { color: #E8C35A; letter-spacing: 2px; }
.sn-stars-empty { color: #E0DCD6; }

/* ④ ワンポイントBOX */
.sn-box-point {
    background-color: var(--sn-bg-white);
    border: 1px solid var(--sn-border);
    border-radius: var(--sn-radius);
    padding: 20px 20px 20px 50px;
    position: relative;
    box-shadow: var(--sn-shadow);
    margin: 24px 0;
}
.sn-box-point::before {
    content: '📍';
    position: absolute;
    left: 16px;
    top: 20px;
    font-size: 20px;
}
.sn-box-point .sn-title {
    font-weight: bold;
    color: var(--sn-primary);
    margin: 0 0 8px 0;
    font-size: 15px;
}
.sn-box-point p { margin: 0; font-size: 14px; }

/* ⑤ Travel Memo */
.sn-box-memo {
    background-color: #FAFAFA;
    border: 1px solid var(--sn-border);
    border-radius: var(--sn-radius);
    padding: 24px;
    position: relative;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.03);
    margin: 24px 0;
}
.sn-box-memo .sn-title {
    font-family: "Georgia", serif;
    font-style: italic;
    color: var(--sn-primary);
    font-size: 18px;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--sn-border);
    padding-bottom: 8px;
}
.sn-box-memo p { margin: 0; font-size: 14px; }

/* ⑥ 韓国語フレーズBOX */
.sn-box-korean {
    background-color: var(--sn-primary-light);
    border-radius: var(--sn-radius);
    padding: 24px;
    text-align: center;
    margin: 24px 0;
}
.sn-box-korean .sn-subtitle {
    font-size: 13px;
    color: var(--sn-text-sub);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.sn-korean-word {
    font-size: 28px;
    font-weight: bold;
    color: var(--sn-text-main);
    margin: 0 0 4px 0;
    letter-spacing: 1px;
}
.sn-korean-ruby {
    font-size: 12px;
    color: var(--sn-text-sub);
    margin: 0 0 12px 0;
}
.sn-korean-meaning {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    background: var(--sn-bg-white);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
}

/* ⑦ おすすめ記事カード */
.sn-card-article {
    display: flex;
    background: var(--sn-bg-white);
    border: 1px solid var(--sn-border);
    border-radius: var(--sn-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--sn-text-main);
    box-shadow: var(--sn-shadow);
    transition: var(--sn-transition);
    margin: 24px 0;
}
.sn-card-article:hover {
    transform: translateY(-3px);
    box-shadow: var(--sn-shadow-hover);
}
/* 変更後 */
.sn-card-img {
    width: 40%;
    background-color: var(--sn-bg-white); /* 余白ができても馴染むように白に変更 */
    background-size: contain;             /* 画像全体を枠内に収める設定に変更 */
    background-repeat: no-repeat;         /* 画像が繰り返し表示されるのを防ぐ */
    background-position: center;
    min-height: 120px;
}
.sn-card-content {
    width: 60%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sn-card-label {
    font-size: 11px;
    color: var(--sn-primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sn-card-title {
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 8px 0;
    line-height: 1.4;
}
.sn-card-desc {
    font-size: 12px;
    color: var(--sn-text-sub);
    margin: 0 0 12px 0;
    line-height: 1.4;
}
.sn-card-btn {
    align-self: flex-end;
    background-color: var(--sn-primary-light);
    color: var(--sn-primary);
    font-size: 11px;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: bold;
}
@media (max-width: 580px) {
    .sn-card-article { flex-direction: column; }
    .sn-card-img { width: 100%; height: 160px; }
    .sn-card-content { width: 100%; }
}

/* ⑧ チェックリストBOX */
.sn-box-check {
    background-color: var(--sn-bg-white);
    border: 2px solid var(--sn-primary-light);
    border-radius: var(--sn-radius);
    padding: 24px;
    margin: 24px 0;
}
.sn-box-check .sn-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--sn-text-main);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px dashed var(--sn-border);
    padding-bottom: 12px;
}
.sn-box-check ul { list-style: none; padding: 0; margin: 0; }
.sn-box-check li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
}
.sn-box-check li:last-child { margin-bottom: 0; }
.sn-box-check li::before {
    content: '☐';
    color: var(--sn-primary);
    font-size: 18px;
    line-height: 1;
}

/* ⑨ NG BOX (注意喚起) */
.sn-box-ng {
    background-color: var(--sn-danger-bg);
    border: 1px solid rgba(184, 107, 107, 0.2);
    border-radius: var(--sn-radius);
    padding: 24px;
    margin: 24px 0;
}
.sn-box-ng .sn-title {
    color: var(--sn-danger-text);
    font-weight: bold;
    font-size: 15px;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(184, 107, 107, 0.2);
    padding-bottom: 8px;
}
.sn-box-ng p { margin: 0; font-size: 14px; }

/* ⑩ この記事でわかることBOX (目次風) */
.sn-box-toc {
    background-color: var(--sn-bg-white);
    border: 1px solid var(--sn-border);
    border-radius: var(--sn-radius);
    padding: 24px;
    box-shadow: var(--sn-shadow);
    margin: 24px 0;
}
.sn-box-toc .sn-title {
    text-align: center;
    font-weight: bold;
    color: var(--sn-primary);
    font-size: 15px;
    margin: 0 0 20px 0;
}
.sn-toc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    text-align: center;
}
.sn-toc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--sn-text-main);
    text-decoration: none;
    border-right: 1px dashed var(--sn-border);
}
.sn-toc-item:last-child { border-right: none; }
.sn-toc-icon { font-size: 24px; color: var(--sn-primary); }
@media (max-width: 600px) {
    .sn-toc-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .sn-toc-item:nth-child(2) { border-right: none; }
}
/* =========================================
   Seoul Note 40+ お店紹介BOX (16:9完全対応・上質フレーム版)
   ========================================= */
.sn-shop-box {
    display: flex;
    align-items: center; /* 写真とテキストを縦の中央で美しく揃える */
    gap: 24px; /* 写真とテキストの間の余白 */
    padding: 24px; /* ★ここがポイント！外枠の内側に上品な余白を作る */
    background-color: #F8F6F2;
    border: 1px solid #E6DDD4;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(91, 67, 50, 0.04);
    margin: 2em 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #6F6258;
    line-height: 1.6;
}

.sn-shop-box * {
    box-sizing: border-box;
}

/* --- 画像エリア --- */
.sn-shop-img-area {
    width: 45%; /* 16:9がしっかり見えるよう少し幅広に */
    aspect-ratio: 16 / 9; /* ★絶対に16:9をキープ！見切れません */
    border-radius: 8px; /* 写真自体にもうっすら優しい角丸を */
    background-color: #E6DDD4; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* --- 情報エリア --- */
.sn-shop-content {
    width: 55%;
    display: flex;
    flex-direction: column;
}

/* ジャンルタグ */
.sn-shop-tag {
    display: inline-block;
    align-self: flex-start;
    border: 1px solid #B69474;
    color: #B69474;
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

/* 店名 */
.sn-shop-name {
    color: #5B4332;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 16px 0;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

/* 詳細リスト */
.sn-shop-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.sn-shop-info-row {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    color: #6F6258;
}

.sn-shop-info-row i {
    color: #B69474;
    font-size: 13px;
    width: 22px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* --- チャッピーMEMO --- */
.sn-shop-memo {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #E6DDD4;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.sn-shop-memo i {
    color: #B69474;
    font-size: 16px;
    margin-top: 2px;
}

.sn-memo-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sn-memo-title {
    color: #5B4332;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.sn-memo-text {
    margin: 0;
    color: #6F6258;
    font-size: 12px;
    line-height: 1.6;
}

/* =========================================
   スマホ対応（レスポンシブ）
   ========================================= */
@media (max-width: 600px) {
    .sn-shop-box {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    .sn-shop-img-area {
        width: 100%;
        /* スマホ表示でも美しく16:9を維持します */
    }
    .sn-shop-content {
        width: 100%;
    }
}
/* =========================================
   Seoul Note 40+ お店紹介BOX (画像なしバージョン用追加)
   ========================================= */
.sn-shop-box.sn-shop-noimg {
    display: block; /* 横並びを解除 */
    padding: 32px 40px; /* 画像がない分、左右の余白をたっぷりとって高級感を演出 */
}

.sn-shop-box.sn-shop-noimg .sn-shop-content {
    width: 100%; /* 情報エリアを横幅いっぱいに広げる */
}

/* スマホ表示用の微調整 */
@media (max-width: 600px) {
    .sn-shop-box.sn-shop-noimg {
        padding: 24px 20px;
    }
}