body {
    margin: 0px;
    padding: 10px;
    /*    height: 100%;*/
    background-color: #fff;
    font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
    color: #000000;
    text-align: left;
    width: 1000px;
}

.title {
    font-size: 18px;
    color: #89cff8;
    background: #ffffff;
    border: 2px solid #bbb;
    border-radius: 4px;
    display: inline-block;
    padding: 2px 8px 2px 8px;
    margin: 1px 0px 1px 0;
    text-align: center;
    vertical-align: middle;
    width: 120px;
    height: 22px;5
}


button {
    font-size: 11px;
    background: #45bcd2;
    display: inline-block;
    padding: 2px 8px 2px 8px;
    color: #ffffff;
    text-decoration: none;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border: none;
    position: relative;
    top: 0px;
    z-index: 0;
    cursor: pointer;
    margin: 1px 0px 1px 0;
    vertical-align: middle;
    text-align: center;
    width: 40px;
}
/* 日めくり全体 */
#himekuri {
    margin: 0;
    font-family: "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif;
    width: 280px;
    padding: 20px;
    background: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), #f6f1e6;
    background-size: 3px 3px, 5px 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    color: #333;
}
/* ヘッダー */
.header-info {
    font-size: 14px;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}
/* ヘッダー年月 */
.month-year {
    font-weight: bold;
}

/* 日付 */
.main-date {
    /*    font-family: "Georgia", serif;*/
    font-family: 'Times New Roman';
    /*    font-family: "Roboto", "Noto Sans JP", sans-serif;*/
    font-feature-settings: "tnum";
    font-size: 140px;
    font-weight: bold;
    font-weight:600;
    background: rgba(255,255,255,0.7);
    line-height: 1;
    margin: 15px 0;
    vertical-align: middle;
    text-align: center;
}

/* 背景に透過日の丸 */
    .holiday {
    position: relative;
    background-color: #fff;
}

        .holiday::before {
            content: "";
            position: absolute;
            inset: 2%; /* ←余白を作る */
            background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'>\
    <rect width='3' height='2' fill='white'/>\
    <circle cx='1.5' cy='1' r='0.6' fill='%23BC002D'/>\
  </svg>");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            opacity: 0.25; /* ←ここ重要 */
        }

/* 曜日 */
.day-of-week {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}
/* 暦情報 */
.sub-info {
    font-size: 12px;
    border-top: 1px solid #000;
    padding-top: 10px;
    line-height: 1.6;
    text-align: left;
}
/* 暦行 */
.koyomi-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}
/* 祝日 */
.anniversary {
    color: #d32f2f;
    font-weight: bold;
    margin-top: 8px;
    font-size: 13px;
    text-align: center;
    border-top: 1px dashed #ccc;
    padding-top: 5px;
}
/* 格言 */
.proverb-box {
    background: #fdf6e3;
    padding: 12px 16px;
    margin-top: 15px;
    border-radius: 10px;
    font-family: "Noto Serif JP";
    font-style: italic;
    font-weight: 500;
    font-size: 12px;
    color: #000;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
}
    /* 吹き出しのしっぽ */
    .proverb-box::after {
        content: "";
        position: absolute;
        bottom: -8px;
        left: 20px;
        border-width: 8px;
        border-style: solid;
        border-color: #fffdf5 transparent transparent transparent;
    }


/* 土日の色分け */
.sat {
    color: #1976d2;
}

.sun {
    color: #d32f2f;
}

/* カレンダ操作パネル */
#calendarUI {
    display: inline-block;
    font-family: "Noto Serif JP";
    font-size: 20px;
    font-weight: 500;
    width: 360px;
    text-align: center;
}

/* 操作パネル 日付*/
#dateLabel {
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin: 0 10px;
    vertical-align: middle;
    text-align: center;
}

/* イベント*/
#events {
    display: inline-block;
    padding: 0px 0px 0px 0px;
    margin: 1px 0px 1px 0;
    text-align: center;
    height: 80px;
    width: 280px;
}
/* カレンダー イベント*/
.event-link, .event-link:visited {
    font-size: 12px;
    background: #45bcd2;
    display: inline-block;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border: none;
    z-index: 0;
    cursor: pointer;
    margin: 0px 0px 0 0;
    vertical-align: middle;
    text-align: center;
    width: 160px;
    height: 16px;
}

/* 六曜 */
#rokuyou {
    display: inline-block;
    padding: 0px 0px 0px 0px;
    margin: 1px 0px 1px 0;
    color: red;
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    width: 24px;
}
/* 吉日 */
#kichijitsu {
    display: inline-block;
    padding: 0px 0px 0px 0px;
    margin: 1px 0px 1px 0;
    color: green;
    font-size: 12px;
    text-align: left;
    width: 80px;
}
/* 逆日歩 */
#gyakuhibu {
    display: inline-block;
    padding: 0px 0px 0px 0px;
    margin: 1px 0px 1px 0;
    color: blue;
    font-size: 12px;
    text-align: right;
    width: 80px;
}

/* 月齢 */
#gessou {
    display: inline-block;
    padding: 0px 0px 0px 0px;
    margin: 1px 0px 1px 0;
    color: blue;
    font-size: 12px;
    font-family: "Noto Serif JP";
    font-weight: bold;
    text-align: left;
    width: 180px;
}
/* 月齢画像*/
#moonCanvas {
    display: inline-block;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0;
    width: 40px;
    height: 40px;
    vertical-align:top;
}
/* 旧暦 */
#kyureki {
    display: inline-block;
    padding: 0px 0px 0px 0px;
    margin: 1px 0px 1px 0;
    color: blue;
    font-family: "Noto Serif JP", serif;
    font-weight: bold;
    font-size: 12px;
    text-align: left;
    width: 95px;
}

/* 24節気 */
#sekki {
    display: inline-block;
    padding: 0px 0px 0px 0px;
    margin: 1px 0px 1px 0;
    color: blue;
    font-family: "Noto Serif JP";
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    width: 100px;
}
.special {
    color: red;
}

/* 干支 */
#eto {
    display: inline-block;
    padding: 0px 0px 0px 0px;
    margin: 1px 0px 1px 0;
    color: blue;
    font-family: "Noto Serif JP";
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    width: 100px;
}
/* 九星 */
#kyusei {
    display: inline-block;
    padding: 0px 0px 0px 0px;
    margin: 1px 0px 1px 0;
    color: blue;
    font-family: "Noto Serif JP";
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    width: 60px;
}



