@charset 'utf-8';

/*
========================================================
    Web Diary Pro KURAGESKIN / Simple1 2column
    2007/07/07 >> 2007/07/21
    Skin by : 海月屋 http://dimanche.s22.xrea.com/
    Modified for mobile responsiveness: 2025
========================================================
*/

/* ----- HTML再定義 ------------------------------------ */

* {
    margin: 0px;
    padding: 0px;
    font-size: 100%;
    font-style: normal;
    font-family: Verdana, Chicago, 'ＭＳ Ｐゴシック', 'MS UI Gothic', Osaka, sans-serif;
    text-align: left;
    box-sizing: border-box;
}

body {
    background-color: #cccccc;
    font-size: 13px;
    color: #666666;
    text-align: center;
    min-width: 320px;
}

p, li, dt, dd, address {
    line-height: 1.4;
}
p, ul, ol, dl {
    margin: 8px 12px;
}
ol {
    margin-left: 25px;
}
li p, dd p {
    margin: 0px 0px 8px;
}

ul li, ol li ul li {
    background: url("img/list.gif") no-repeat 2px 6px;
    padding-left: 15px;
    margin-left: 0px;
    list-style: none;
}
li ul, li ol {
    margin: 5px 0px 5px 15px;
}
ol li, ul li ol li {
    margin-left: 10px;
    padding: 0px;
    background: none;
    list-style: decimal;
}

h2 {
    margin-bottom: 15px;
    padding: 15px 10px 2px;
    border-bottom: 3px double #BBBBBB;
    letter-spacing: 3px;
}
h3 {
    clear: both;
    margin: 10px 100px 10px 0px;
    padding: 3px 12px;
    border: 1px solid #99CCCC;
    border-width: 1px 2px 1px 0px;
    letter-spacing: 2px;
}
h4 {
    margin: 15px 8px 10px;
    padding: 3px 0px 2px 8px;
    letter-spacing: 2px;
    border-left: 12px solid #6699CC;
    color: #6699CC;
    background-color: #EEEEEE;
}
h5 {
    margin: 10px 12px;
    padding-left: 8px;
    letter-spacing: 1px;
    border-left: 8px solid #669999;
    color: #669999;
    font-weight: normal;
}
h6 {
    margin: 10px 14px;
    padding-left: 8px;
    border-left: 6px solid #CCCCCC;
    letter-spacing: 1px;
    color: #999999;
    font-weight: normal;
}

em {
    font-weight: bold;
}
strong {
    font-weight: bold;
    color: #003399;
}
img {
    border: 0px;
}
object {
    margin-left: 10px;
}

pre {
    width: 100%;
    margin: 10px 0px 10px 10px;
    padding: 5px;
    border: 1px solid #444444;
    color: #666666;
    overflow: auto;
    font-family: 'ＭＳ ゴシック', monospace;
}

code, var, kbd {
    color: #ff0066;
    font-family: 'ＭＳ ゴシック', monospace;
    line-height: 1.2;
}
ins {
    text-decoration: underline;
}
del {
    text-decoration: line-through;
}

blockquote {
    margin: 10px;
    border: 1px dashed #999999;
}
blockquote p, blockquote ul, blockquote ol, blockquote dl {
    color: #CC6699;
}

form fieldset {
    border: 0px solid #000000;
}
form legend {
    display: none;
}
form input, form select, form textarea {
    border-top: 1px solid #666666;
    border-right: 1px solid #666666;
    border-bottom: 1px solid #666666;
    border-left: 1px solid #666666;
    background-color: #FFFFFF;
    color: #666666;
    padding: 1px;
    font-family: 'ＭＳ Ｐゴシック', 'MS UI Gothic', Osaka, sans-serif;
}
@media screen {
    form input, form select {
        font-family: Verdana, Chicago, sans-serif;
    }
}

form select {
    margin-top: 1px;
}
form p input {
    text-align: center;
}
form textarea {
    font-family: 'ＭＳ ゴシック', Osaka, monospace;
    line-height: 1.2;
    width: 700px;
}
div#logs form textarea {
    width: 700px;
}

table {
    margin: 10px;
    border: 1px solid #666680;
    border-collapse: collapse;
}
table tr th {
    padding: 5px;
    border: 1px solid #AAAAAA;
    background-color: #EEEEEE;
    text-align: center;
}
table tr td {
    padding: 5px;
    border: 1px solid #AAAAAA;
    background-color: #FFFFFF;
}
table tr td input {
    margin: -2px;
}

a {
    text-decoration: none;
}
a:link {
    color: #ff0066;
}
a:visited {
    color: #57A8D5;
}
a:hover {
    color: #4D6680;
    background-color: #EEEEEE;
}
a:active {
    color: #FFFFFF;
    background-color: #57A8D5;
}

/* ----- 基本構造 -------------------------------------- */

div#container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #FFFFFF;
}
html>body div#container {
}

div#mainbody {
}
div#header {
    float: none;
    clear: both;
    height: 120px;
}
div#menu {
    float: none;
    clear: both;
    position: relative;
}
div#navigation {
    width: 100%;
    float: none;
}
div#logs {
    width: 100%;
    float: none;
}
div#diary, div#comment, div#trackback {
}
div#page, div#navi, div#contents, div#work, div#form, div#env, div#status {
    float: none;
    clear: both;
}
div#canvas {
    float: none;
    clear: both;
}
div#footer {
    float: none;
    clear: both;
}
div#comment, div#trackback, div#contents, div#work, div#form, div#env, div#status {
    margin-top: 10px;
    padding: 0px 0px 5px;
    border: 1px solid #666666;
    background-color: #FFFFFF;
}

/* ----- ヘッダー -------------------------------------- */

div#header h1 {
    padding: 10px 5px 5px;
}
div#header h1 a {
    color: #ff0066;
    background: none;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 8px;
}
div#header p {
    margin: 0px 5px;
    letter-spacing: 4px;
    color: #999999;
}

/* ----- メニュー -------------------------------------- */

div#menu h2 {
    display: none;
}

div#menu ul {
    margin: 0px 5px;
    text-align: right;
}

div#menu ul li {
    display: inline;
    margin-left: 10px;
    padding: 0px;
    background: none;
}

#menu-toggle {
    display: none;
}

.menu-btn {
    display: none;
}

/* ----- ナビゲーション -------------------------------- */

div#navigation h2 {
    margin: 0px 0px 5px;
    padding: 0px 0px 0px 8px;
    border-bottom: 3px solid #DDDDDD;
    background: none;
    font-size: 11px;
    text-transform: uppercase;
    color: #999999;
}

div#navigation ul {
    margin: 5px 0px 0px 5px;
}
div#navigation ul li ul {
    margin: 0px 0px 0px 5px;
}
div#navigation ul.newimage li {
    display: inline;
    background: none;
    margin: 0px;
    padding: 0px 3px 0px 0px;
}
div#navigation dl {
    margin: 0px 0px 0px 5px;
}
div#navigation dl dt {
    margin-top: 5px;
    padding-left: 15px;
    background: url("img/list.gif") no-repeat 2px 6px;
}
div#navigation dl dd {
    padding-left: 15px;
}
div#navigation form dl {
}
div#navigation form dl dt {
    display: none;
}
div#navigation form dl dd {
    padding: 0px;
}
div#navigation form dl dd input {
    width: 150px;
}
div#navigation form p {
    margin: 1px 0px 0px 5px;
}

div#navigation table {
    width: 160px;
    margin: 3px 0px 5px 10px;
    border: 0px solid #AAAAAA;
}
@media screen {
    div#navigation table {
        margin: 0px auto;
    }
}

div#navigation table tr th {
    padding: 0px 2px 5px;
    border: 0px solid #AAAAAA;
    background: none;
    font-weight: bold;
    font-size: 11px;
}
div#navigation table tr th a {
    font-size: 14px;
}
div#navigation table tr td {
    padding: 3px;
    border: 0px solid #AAAAAA;
    font-size: 10px;
    text-align: center;
}
@media screen {
    div#navigation table tr td {
        padding: 1px 2px;
    }
}

.day, .satday, .sunday {
    display: block;
    text-align: center;
}
.day {
    color: #666666;
}
.satday {
    color: #4444CC;
}
.sunday {
    color: #CC4444;
}

div#navigation table tr td a {
    display: block;
}
a .day, a .satday, a .sunday {
    font-weight: bold;
}
a .day {
    border: 1px solid #666666;
}
a .satday {
    border: 1px solid #4444CC;
}
a .sunday {
    border: 1px solid #CC4444;
}
a:hover .day, a:active .day {
    background-color: #666666;
    color: #FFFFFF;
}
a:hover .satday, a:active .satday {
    background-color: #4444CC;
    color: #FFFFFF;
}
a:hover .sunday, a:active .sunday {
    background-color: #CC4444;
    color: #FFFFFF;
}
div#navigation .today {
    background-color: #EEEEEE;
}

div#navigation .block {
    margin-top: 10px;
    padding: 5px 0px;
    border: 1px solid #666666;
    background-color: #FFFFFF;
    text-align: center;
}
div#navigation .mini {
    font-size: 11px;
}

/* ----- 記事一覧 -------------------------------------- */

div#logs {
    width: 100%;
}
html>body div#logs {
}

div#diary .diary {
    margin-top: 10px;
    border: 1px solid #666666;
    background-color: #FFFFFF;
}

div#diary h2 {
    display: none;
}
div#diary h3 {
    margin: 0px;
    padding: 8px 12px 5px 50px;
    border: 0px;
    background: #F27878 url("img/title.gif") no-repeat 12px 13px;
}

div#diary .text dl dt {
    font-weight: bold;
}
div#diary .text dl dd {
    margin-left: 20px;
}

div#diary .info2 {
    clear: both;
    margin: 0px 10px;
    text-align: right;
}
div#diary .info {
    margin: 0px 10px 5px;
    text-align: right;
}
div#diary .info2 li, div#diary .info li {
    display: inline;
    margin-left: 5px;
    padding: 0px;
    background: none;
}
div#diary .info2 li a {
    color: #999999;
    background: none;
}
div#diary .info2 .time {
    font-size: 11px;
}
div#diary .info2 .mini {
    font-size: 10px;
}
div#diary .info li {
    font-size: 10px;
}

div#diary .list {
    clear: both;
    background-color: #FFFFFF;
    border: 1px solid #666666;
    margin: 10px 0px 0px 50px;
}
div#diary .list h4 {
    margin: 0px;
    border: 0px;
    color: #666666;
}
div#diary .list ul {
    margin: 0px;
    padding: 5px 10px;
    border-top: 1px solid #999999;
}
div#diary .list dl {
    margin: 0px;
}
div#diary .list dl dt {
    clear: both;
    padding: 8px 12px;
    border-top: 1px solid #999999;
}
div#diary .list dl dd {
    margin: 0px;
    padding: 0px 12px;
}
div#diary .list dl dt .name {
    font-weight: bold;
}
div#diary .list ul a {
    font-weight: bold;
}
div#diary .list .mini {
    font-size: 10px;
}

div#trackback dl {
    margin: 10px 0px 0px;
    background-color: #FFFFFF;
    border-top: 1px solid #666666;
}
div#trackback dl dt {
    margin: 0px 0px 10px;
    padding: 5px 12px 2px;
    border-bottom: 2px solid #99CCCC;
}
div#trackback dl dt a {
    font-weight: bold;
    font-size: 14px;
}
div#trackback dl dt .mini {
    font-size: 10px;
}
div#trackback dl dd {
    margin: 5px 12px;
}
div#trackback dl dd.date {
    text-align: right;
}

div#comment .comment {
    margin-top: 20px;
}
div#comment .comment h3 {
    font-weight: normal;
}
div#comment .comment .name {
    font-weight: bold;
}
div#comment .comment .date {
    letter-spacing: normal;
}

div#diary .list .date, div#trackback dl dd.date, div#comment .comment .date, div#contents .date, div.text .date {
    font-size: 11px;
    color: #999999;
}

/* ----- ページ移動 ------------------------------------ */

div#page h2 {
    display: none;
}

div#page ul {
    margin: 10px 5px 0px;
    text-align: right;
}
div#page ul li {
    display: inline;
    margin-left: 5px;
    padding: 0px;
    background: none;
}

/* ----- ナビゲーション -------------------------------- */

div#navi h2 {
    display: none;
}

div#navi ul {
    margin: 5px 5px 0px;
    text-align: right;
}
div#navi ul li {
    display: inline;
    margin-left: 5px;
    padding: 0px;
    background: none;
}

div#navi form dl {
    padding: 0px;
}
div#navi form dl dt {
    display: none;
}
div#navi form dl dd {
    float: left;
}
div#navi form input {
    padding: 0px;
    margin-left: 2px;
}

/* ----- フォーム -------------------------------------- */

div#form form dl dt {
    float: left;
    clear: left;
    width: 5em;
}
form dl dd input, form dl dd select, form dl dd textarea {
    margin-bottom: 2px;
}
form ul li {
    padding: 0px 0px 2px;
    background: none;
}

/* ----- キャンバス ------------------------------------ */

div#canvas applet {
    margin-bottom: 15px;
}

/* ----- ステータス ------------------------------------ */

div#status dl dt {
    float: left;
    clear: left;
    width: 10em;
}

/* ----- フッター -------------------------------------- */

br.cancel {
    display: block;
    clear: both;
    height: 1px;
    font-size: 0px;
}

div#footer address {
    padding: 10px 5px;
    font-size: 10px;
    text-align: right;
}

/* ----- 個別指定 -------------------------------------- */

.new {
    color: #000099;
    font-size: 10px;
}

/* ----- 响应式设计 - 移动端样式 ----- */
@media screen and (max-width: 768px) {
    div#container {
        width: 100%;
        padding: 0 10px;
    }

    div#header h1 {
        padding: 8px 5px;
        font-size: 20px;
    }
    div#header h1 a {
        font-size: 20px;
        letter-spacing: 4px;
    }
    div#header p {
        letter-spacing: 2px;
        font-size: 12px;
    }

    .menu-btn {
        display: block;
        position: absolute;
        right: 10px;
        top: 10px;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10;
    }
    .menu-btn::before {
        content: "☰";
        font-size: 24px;
        color: #666666;
    }
    div#menu ul {
        display: none;
        text-align: center;
        padding: 0;
        margin: 0;
        background-color: #FFFFFF;
        position: absolute;
        top: 40px;
        right: 0;
        width: 150px;
        border: 1px solid #666666;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    #menu-toggle:checked ~ ul {
        display: block;
    }
    div#menu ul li {
        display: block;
        margin: 0;
        padding: 10px;
        border-bottom: 1px solid #EEEEEE;
    }
    div#menu ul li:last-child {
        border-bottom: none;
    }

    div#navigation {
        padding: 0 10px;
    }
    div#navigation table {
        width: 100%;
        margin: 0 auto 10px;
    }
    div#navigation form dl dd input {
        width: 90%;
    }

    div#logs {
        padding: 0 10px;
    }
    div#diary h3 {
        padding: 8px 12px 5px 40px;
        background-position: 8px 11px;
    }
    div#diary .list {
        margin: 10px 0 0 0;
    }
    form textarea {
        width: 100% !important;
    }
    div#logs form textarea {
        width: 100% !important;
    }

    table {
        width: 100%;
        margin: 10px 0;
    }
    table tr th, table tr td {
        padding: 3px;
        font-size: 12px;
    }

    h2 {
        padding: 10px 5px 2px;
        margin-bottom: 10px;
    }
    h3 {
        margin: 10px 0;
        padding: 3px 8px;
    }
    h4 {
        margin: 10px 0;
        padding: 3px 0 2px 5px;
        border-left-width: 8px;
    }
    h5, h6 {
        margin: 8px 10px;
        padding-left: 5px;
    }

    div#form form dl dt {
        float: none;
        width: auto;
        margin-bottom: 5px;
    }
    form dl dd input, 
    form dl dd select {
        width: 100%;
    }

    div#footer address {
        padding: 8px 5px;
        font-size: 9px;
    }
}

/* ----- 小屏幕进一步优化 ----- */
@media screen and (max-width: 480px) {
    body {
        font-size: 12px;
    }
    
    div#header h1 a {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    div#navigation table tr td {
        padding: 2px;
        font-size: 9px;
    }
    
    div#diary h3 {
        font-size: 14px;
        padding: 6px 10px 4px 30px;
        background-position: 6px 9px;
    }
    
    div#diary .info2,
    div#diary .info {
        font-size: 9px;
    }

    div#menu ul {
        width: 120px;
    }
}