@charset "utf-8";

/* Index ++++++++++++++++++++++++++++++++
    1.Common
    2.Header menu
    3.Header menu list
    4.Search
+++++++++++++++++++++++++++++++++++++++ */

/* =================================================
    1.Common
================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-style: normal;
    font-weight: normal;
}

html {
    background: url(img/blank.gif) fixed;
    position: relative;
    top: 27px;
}

body {
    position: relative;
    margin-top: 27px;
    background-position-y: 27px;
    color: #333333;
    font-family: "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
    background-color: #ffffff;
    text-align: center;
    line-height: 1.5;
    font-size: 16px; /* 基本のフォントサイズを大きく */
    padding: 10px;
}

a {
    color: #3300cc;
    text-decoration: none;
}

a:hover {
    color: #660099;
    text-decoration: underline;
}

a img {
    border-style: none;
    border-width: 0px;
    text-decoration: none;
}

/* レイアウト用ブロックの設定 */
#container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: transparent;
    text-align: left;
    padding: 10px;
}

#branding {
    margin: 20px 10px;
}

#primary-column {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 6px;
}

#secondary-column {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 6px;
}

#siteinfo-legal {
    clear: both;
    margin: 0;
}

.column {
    margin: 5px 0;
}

/* タイトル・サイトの説明部分の設定 */
.blogtitle {
    text-align: right;
    font-size: 20px;
    padding: 0 20px;
}

.blogtitle a {
    font-weight: bold;
    color: #333333;
    text-decoration: none;
}

.blogtitle a:hover {
    font-weight: bold;
    color: #333333;
    text-decoration: none;
}

.blogintro {
    text-align: right;
    font-size: 16px;
    padding: 0 20px;
}

/* 中央カラムの設定 */
.news {
    margin: 15px 20px;
    border: 1px solid #999999;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
}

.navi {
    text-align: center;
    font-size: 12px;
}

.navi a {
    color: #333333;
    text-decoration: none;
}

.navi a:hover {
    color: #333333;
    text-decoration: none;
}

.section {
    margin: 5px 10px;
}

.entry-header {
    margin: 10px;
    font-size: 16px;
    text-align: left;
    padding: 0 5px;
    border-bottom: 1px dashed #000000;
}

.entry-header a {
    font-weight: bold;
    color: #333333;
    text-decoration: none;
}

.entry-header a:hover {
    font-weight: bold;
    color: #333333;
    text-decoration: underline;
}

.section p {
    margin: 1em 0;
}

.entry-body {
    padding: 0 20px 20px 20px;
    text-align: left;
}

.entry-more {
    font-size: 12px;
    text-align: left;
    padding: 0 10px;
}

.entry-footer {
    text-align: right;
    margin: 0 5px 30px 5px;
    font-size: 12px;
    line-height: 1;
}

.entry-footer a {
    color: #333333;
    text-decoration: underline;
}

.entry-footer a:hover {
    color: #333333;
    text-decoration: none;
}

.emoji {
    vertical-align: middle;
    border: 0;
}


.page-intro {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.page-intro h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-intro p {
    font-size: 1em;
    margin-bottom: 10px;
}

.page-intro a.btn {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #007bff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1em;
}

.page-intro a.btn:hover {
    background-color: #0056b3;
}


/* コメント部分の設定 */
.comment {
    margin: 5px 10px;
}

.comment-top {
    margin: 10px;
    padding: 0 15px;
    font-size: 16px;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px dashed #000000;
}

.comment-state {
    margin: 0 20px;
    font-size: 12px;
}

.comment-body {
    margin: 0 35px 5px 35px;
    font-size: 14px;
}

.comment-form {
    margin: 10px 60px;
}

.himitu {
    margin-right: 0.5em;
}

.form-btn {
    margin: 20px 0;
}

/* トラックバック部分の設定 */
.trackback {
    margin: 5px 10px;
}

.trackback-top {
    margin: 10px;
    font-size: 16px;
    padding: 0 15px;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px dashed #000000;
}

.trackback-uri {
    margin: 20px;
    padding: 0.2em 0.5em;
    border: 1px solid #333333;
}

.trackback-header {
    font-size: 16px;
    margin-bottom: 10px;
    padding: 0 10px;
    border-bottom: 1px solid #333333;
}

.trackback-excerpt {
    padding: 0 20px;
    background: transparent;
}

.trackback-footer {
    padding: 0 25px 15px 25px;
}

/* プラグイン部分の設定 */
.side-title {
    margin: 15px 0 5px;
    font-size: 16px;
    border-bottom: 1px dashed #000000;
}

.side {
    font-size: 14px;
}

.side ul {
    list-style-position: inside;
    list-style-type: disc;
}

/* フッター部分の設定 */
#siteinfo-legal p {
    margin: 20px 0 10px;
    padding: 5px;
    border-top: 1px solid #333333;
    text-align: center;
    font-size: 12px;
    line-height: 1;
}

#siteinfo-legal a {
    color: #333333;
    text-decoration: none;
}

#siteinfo-legal a:hover {
    color: #333333;
    text-decoration: underline;
}

/* 強調の設定 */
em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

/* 引用の設定 */
blockquote {
    margin: 20px 0 20px 50px;
    padding: 0.5em;
    border: 1px solid #333333;
}

/* コード */
.section pre {
    margin: 1em auto;
    padding: 0.5em;
    border: 1px solid #663333;
    font-family: monospace;
    text-align: left;
    overflow: auto;
    width: 100%;
}

.section code {
    font-family: monospace;
}

/* テキストエリア、入力、セレクトのフォント設定 */
textarea, input, select {
    font-family: "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
}

/* =================================================
    2.Header menu
================================================= */

/*  2-1.Body
---------------------------------------- */
#sh_fc2blogheadbar {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 320px; /* レスポンシブ対応のために最小幅を320pxに */
    width: 100%;
    font-size: 14px;
    line-height: 1.4;
    border-bottom: 1px solid #A1A1A1;
    color: #707070;
    z-index: 1000;
    background: linear-gradient(to bottom, #FFFFFF, #F0F0F0); /* グラデーションをCSS3で実装 */
}

#sh_fc2blogheadbar div,
#sh_fc2blogheadbar img,
#sh_fc2blogheadbar a,
#sh_fc2blogheadbar form,
#sh_fc2blogheadbar textarea,
#sh_fc2blogheadbar input,
#sh_fc2blogheadbar select {
    margin: 0;
    padding: 0;
    background: none;
    font-family: "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: normal;
}

#sh_fc2blogheadbar form {
    border: none;
    text-align: right;
}

#sh_fc2blogheadbar textarea,
#sh_fc2blogheadbar input,
#sh_fc2blogheadbar select {
    background-color: #ffffff;
    border: 1px solid #b2b2b2;
    color: #000000;
    height: 24px;
    padding: 0;
    margin: 0;
}

#sh_fc2blogheadbar img,
#sh_fc2blogheadbar a img {
    border: none;
}

#sh_fc2blogheadbar .sh_fc2blogheadbar_body {
    height: 26px;
    overflow: hidden;
    position: relative;
}

/*  2-2.Hyper text
---------------------------------------- */
#sh_fc2blogheadbar a {
    text-decoration: none;
}

#sh_fc2blogheadbar a:link,
#sh_fc2blogheadbar a:visited {
    color: #4ca1e3;
    text-decoration: none;
}

#sh_fc2blogheadbar a:focus,
#sh_fc2blogheadbar a:hover,
#sh_fc2blogheadbar a:active {
    color: #336699;
    text-decoration: none;
}

#sh_fc2blogheadbar .sh_fc2blogheadbar_link {
    position: absolute;
    top: 5px;
    right: 263px;
    text-align: right;
}

#sh_fc2blogheadbar .sh_fc2blogheadbar_link li {
    background-image: none;
    text-align: right;
}

#sh_fc2blogheadbar .sh_fc2blogheadbar_link a {
    padding-right: 5px;
}

/* =================================================
    3.Header menu list
================================================= */
#sh_fc2blogheadbar #sh_fc2blogheadbar_menu {
    width: 100%;
    text-align: left;
    padding-left: 5px;
}

/* =================================================
    4.Search
================================================= */
#sh_fc2blogheadbar #sh_fc2blogheadbar_search {
    position: absolute;
    top: 4px;
    right: 20px;
    width: 250px;
    text-align: right;
}

#sh_fc2blogheadbar #sh_fc2blogheadbar_search .sh_fc2blogheadbar_searchform {
    width: 150px;
    font-family: "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
    font-size: 14px;
    color: #999999;
    text-align: left;
    vertical-align: middle;
    line-height: normal;
}

#sh_fc2blogheadbar #sh_fc2blogheadbar_search .sh_fc2blogheadbar_searchselect {
    font-family: "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
    line-height: normal;
}

#sh_fc2blogheadbar #sh_fc2blogheadbar_search .sh_fc2blogheadbar_searchbtn {
    height: 24px;
    background-color: #eaeaea;
    border: 1px solid #a1a1a1;
    font-family: "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
    font-size: 14px;
    vertical-align: middle;
    cursor: pointer;
    padding: 1px 5px;
    line-height: normal;
    width: auto;
}

#sh_fc2blogheadbar #sh_fc2blogheadbar_search .sh_fc2blogheadbar_searchbtn:hover {
    background-color: #cccccc;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .blogtitle, .blogintro, .entry-header, .comment-top, .trackback-top, .side-title {
        text-align: center;
    }

    #primary-column, #secondary-column {
        width: 100%;
        float: none;
    }

    .navi, .side, .entry-footer {
        font-size: 14px;
    }

    #sh_fc2blogheadbar {
        font-size: 12px;
    }

    #sh_fc2blogheadbar .sh_fc2blogheadbar_link {
        right: 10px;
    }

    #sh_fc2blogheadbar #sh_fc2blogheadbar_search {
        width: 200px;
        right: 10px;
    }
}

/* その他のスタイルも含めてください */

.responsive-img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 769px) {
    #sh_fc2blogheadbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    #sh_fc2blogheadbar #sh_fc2blogheadbar_menu {
        text-align: right;
        padding-left: 0;
    }
}
