@charset "UTF-8";
/* ========================================
   リセット・基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HG Mincho E", "MS Mincho", serif;
    line-height: 2;
    color: #3d3d3d;
    background-color: #f4f1e8;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 69, 19, 0.02) 2px, rgba(139, 69, 19, 0.02) 4px);
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a {
    color: #8b4513;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #a0522d;
}
ul, ol {
    list-style-position: inside;
}
/* ========================================
   レイアウト
======================================== */
#wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fdfbf7;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    border-left: 3px solid #8b4513;
    border-right: 3px solid #8b4513;
}
/* ========================================
   ヘッダー
======================================== */
#top {
    background: linear-gradient(180deg, #2d1810 0%, #3d2418 100%);
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #8b4513;
    position: relative;
}
#top:after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        #d4af37 0px,
        #d4af37 10px,
        transparent 10px,
        transparent 20px
    );
}
#top h1 {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.2em;
}
#top h1 a {
    color: #f4e4c1;
}
#topmenubtn {
    color: #f4e4c1;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 6px 16px;
    border: 1px solid #8b4513;
    background: rgba(139, 69, 19, 0.3);
    display: none;
}
#header {
    padding: 25px 30px;
    position: relative;
    border-bottom: 3px double #3d2418;
}
#header:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 30px;
    right: 30px;
    bottom: 10px;
    pointer-events: none;
}
#headertxt {
    text-align: center;
    position: relative;
    z-index: 1;
}
#headertxt h2.title {
    margin: 0;
}
#headertxt h2.title span {
    display: inline-block;
}
#headertxt h2.title a {
    color: #f4e4c1;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
#headertxt img {
    max-height: 100%;
}
/* ========================================
   メインコンテンツ
======================================== */
#contents {
    padding: 50px 40px;
    background-color: #fdfbf7;
}
#siteNavi {
    font-size: 0.8rem;
}
/* 記事エリア */
article {
    margin-bottom: 60px;
}
article > h3 {
    position: relative;
    color: #3d2418;
    padding: 20px 40px;
    font-size: 1.7rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.2em;
    margin-bottom: 45px;
    background: none;
    border-top: 2px solid #8b4513;
    border-bottom: 2px solid #8b4513;
}
article > h3:before,
article > h3:after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #8b4513;
    border-radius: 50%;
}
article > h3:before {
    left: 0;
}
article > h3:after {
    right: 0;
}
article > h3 span {
    display: inline-block;
    background-color: transparent;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}
/* テキストエリア */
#text1 {
    padding: 0 15px;
}
#text1 h2 {
    position: relative;
    color: #3d2418;
    padding: 15px 25px;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 40px 0 28px;
    border-top: 2px solid #8b4513;
    border-bottom: 2px solid #8b4513;
    text-align: center;
    letter-spacing: 0.15em;
}
#text1 h2:before,
#text1 h2:after {
    content: "";
    position: absolute;
    top: -6px;
    width: 30px;
    height: 2px;
    background-color: #8b4513;
}
#text1 h2:before {
    left: 0;
}
#text1 h2:after {
    right: 0;
}
#text1 h2 span {
    display: inline-block;
}
#text1 h3 {
    position: relative;
    color: #8b4513;
    padding: 12px 30px 12px 50px;
    font-size: 1.35rem;
    font-weight: 500;
    margin: 35px 0 22px;
    border-left: 4px solid #8b4513;
    letter-spacing: 0.1em;
}
#text1 h3:before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #a0522d;
}
#text1 h3 span {
    display: inline-block;
}
#text1 h4 {
    color: #3d2418;
    padding: 10px 25px;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 28px 0 20px;
    border-left: 3px solid #a0522d;
    border-bottom: 1px solid #d4af37;
    letter-spacing: 0.08em;
}
#text1 h5 {
    color: #8b4513;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 22px 0 15px;
    padding-left: 20px;
    position: relative;
    letter-spacing: 0.05em;
}
#text1 h5:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #d4af37;
    border-radius: 50%;
}
#text1 p {
    margin: 20px 0;
    line-height: 2.2;
    text-indent: 1em;
}
#text1 .txt-img {
    margin: 35px 0;
    text-indent: 0;
}
#text1 img.image-center {
    display: block;
    margin: 0 auto;
    border: 3px solid #8b4513;
    padding: 10px;
    background-color: #fdfbf7;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
/* リスト */
#text1 ul {
    margin: 28px 0;
    padding-left: 30px;
}
#text1 ul li {
    padding: 10px 0;
    list-style-type: none;
    position: relative;
    padding-left: 25px;
    text-indent: 0;
}
#text1 ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    width: 8px;
    height: 8px;
    background-color: #8b4513;
    transform: rotate(45deg);
}
#text1 ol {
    margin: 28px 0;
    padding-left: 30px;
    counter-reset: ol-counter;
}
#text1 ol li {
    padding: 10px 0 10px 40px;
    list-style: none;
    position: relative;
    text-indent: 0;
}
#text1 ol li:before {
    counter-increment: ol-counter;
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 8px;
    width: 28px;
    height: 28px;
    background-color: #8b4513;
    color: #f4e4c1;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    line-height: 28px;
    border: 2px solid #3d2418;
}
/* テーブル */
#text1 table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 35px 0;
    background-color: #fdfbf7;
    border: 2px solid #8b4513;
}
#text1 table th {
    background: linear-gradient(180deg, #3d2418 0%, #2d1810 100%);
    color: #f4e4c1;
    padding: 15px 14px;
    text-align: center;
    font-weight: 500;
    border-right: 1px solid #5d3a20;
    letter-spacing: 0.1em;
}
#text1 table th:last-child {
    border-right: none;
}
#text1 table td {
    padding: 15px 14px;
    text-align: center;
    border-right: 1px solid #d4af37;
    border-top: 1px solid #d4af37;
}
#text1 table td:last-child {
    border-right: none;
}
#text1 table tr:nth-child(even) td {
    background-color: #f9f7f0;
}
/* ========================================
   サイドバー（1カラムでは下部配置）
======================================== */
aside {
    margin-bottom: 55px;
}
#entrylist {
    background-color: #f9f7f0;
    padding: 30px;
    border: 2px solid #8b4513;
    border-top: 5px solid #3d2418;
    position: relative;
}
#entrylist:before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: repeating-linear-gradient(
        90deg,
        #d4af37 0px,
        #d4af37 8px,
        transparent 8px,
        transparent 16px
    );
}
#entrylist h4 {
    color: #3d2418;
    padding: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 0.15em;
    border-bottom: 1px solid #8b4513;
    position: relative;
}
#entrylist h4:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background-color: #d4af37;
}
#entrylist h4 span {
    display: inline-block;
}
#entrylist dl {
    padding: 18px 0;
}
#entrylist dt {
    padding: 14px 0;
}
#entrylist .entry_title a {
    color: #8b4513;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}
#entrylist .entry_title a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background-color: #d4af37;
}
/* ========================================
   更新履歴
======================================== */
#whatsnew {
    background-color: #fdfbf7;
    border: 2px solid #8b4513;
    border-top: 5px solid #3d2418;
    margin-bottom: 55px;
    overflow: hidden;
}
#whatsnew .title {
    background: linear-gradient(180deg, #3d2418 0%, #2d1810 100%);
    color: #f4e4c1;
    padding: 15px 30px;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.15em;
}
#whatsnew .title span {
    display: inline-block;
}
#whatsnew ul {
    padding: 0;
    list-style: none;
}
#whatsnew ul li {
    padding: 20px 30px;
    border-bottom: 1px solid #e8dcc0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}
#whatsnew ul li:last-child {
    border-bottom: none;
}
#whatsnew ul li span:first-child {
    color: #8b4513;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid #8b4513;
    padding: 4px 12px;
    background-color: #f9f7f0;
}
#whatsnew ul li span:last-child a {
    color: #8b4513;
    font-weight: 500;
}
/* ========================================
   カテゴリーリスト
======================================== */
#categorylist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 55px;
}
.catbox {
    background-color: #fdfbf7;
    border: 2px solid #8b4513;
    border-top: 4px solid #3d2418;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.catbox:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.25);
}
.catbox .title {
    background: linear-gradient(to bottom, #f9f7f0 0%, #f4f1e8 100%);
    padding: 18px 20px;
    border-bottom: 1px solid #d4af37;
    position: relative;
}
.catbox .title:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: #8b4513;
}
.catbox .title a {
    color: #3d2418;
    font-weight: 500;
    font-size: 1.1rem;
    padding-left: 25px;
    letter-spacing: 0.08em;
}
.catbox .body {
    padding: 25px 20px;
}
.catbox .body p {
    margin-bottom: 20px;
    color: #4a4a4a;
    line-height: 2.1;
}
.catbox .more {
    text-align: right;
}
.catbox .more a {
    color: #8b4513;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 6px 18px;
    border: 1px solid #8b4513;
    display: inline-block;
    background-color: #f9f7f0;
    transition: all 0.3s ease;
}
.catbox .more a:hover {
    background-color: #8b4513;
    color: #f4e4c1;
}
.catbox .more a:after {
    content: " >";
    margin-left: 5px;
}
/* ========================================
   メニュー
======================================== */
#menu {
    margin-bottom: 55px;
}
.menuitem {
    background-color: #fdfbf7;
    border: 2px solid #8b4513;
    border-top: 5px solid #3d2418;
    overflow: hidden;
}
.menuitem h4 {
    background: linear-gradient(180deg, #3d2418 0%, #2d1810 100%);
    color: #f4e4c1;
    padding: 15px 30px;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.15em;
}
.menuitem h4 span {
    display: inline-block;
}
.menubox {
    padding: 0;
}
#menu1 {
    list-style: none;
    padding: 0;
}
#menu1 li {
    border-bottom: 1px solid #e8dcc0;
}
#menu1 li:last-child {
    border-bottom: none;
}
#menu1 li a {
    display: block;
    padding: 16px 30px 16px 50px;
    color: #8b4513;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}
#menu1 li a:before {
    content: "";
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: #d4af37;
    transition: all 0.3s ease;
}
#menu1 li a:hover {
    background-color: #f9f7f0;
    padding-left: 55px;
    color: #3d2418;
}
#menu1 li a:hover:before {
    background-color: #8b4513;
    left: 30px;
}
/* ========================================
   ページトップへ戻る
======================================== */
#pagetop {
    text-align: center;
    margin: 45px 0;
}
#pagetop a {
    display: inline-block;
    background: linear-gradient(180deg, #3d2418 0%, #2d1810 100%);
    color: #f4e4c1;
    padding: 14px 50px;
    font-weight: 500;
    letter-spacing: 0.2em;
    border: 2px solid #8b4513;
    transition: all 0.3s ease;
}
#pagetop a:hover {
    background: linear-gradient(180deg, #8b4513 0%, #a0522d 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}
/* ========================================
   フッター
======================================== */
#footer {
    background: linear-gradient(180deg, #2d1810 0%, #3d2418 100%);
    color: #d4af37;
    padding: 40px 30px 30px;
    text-align: center;
    border-top: 5px solid #8b4513;
    position: relative;
}
#footer:before {
    content: "";
    position: absolute;
    top: -9px;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        #d4af37 0px,
        #d4af37 10px,
        transparent 10px,
        transparent 20px
    );
}
#footsub {
    margin-bottom: 25px;
}
#footsub span a {
    color: #d4af37;
    padding: 0 25px;
    border-right: 1px solid #5d3a20;
    font-weight: 500;
    letter-spacing: 0.08em;
}
#footsub span:last-child a {
    border-right: none;
}
#footer small {
    font-size: 0.85rem;
    color: #8b6f47;
    letter-spacing: 0.05em;
}
/* ========================================
   レスポンシブ対応
======================================== */
@media screen and (max-width: 768px) {
    #wrapper {
        border-left: 2px solid #8b4513;
        border-right: 2px solid #8b4513;
    }
    #contents {
        padding: 40px 25px;
    }
    #top {
        padding: 10px 20px;
    }
    #top h1 {
        font-size: 0.9rem;
    }
    #topmenubtn {
        display: block;
    }
    #header {
        padding: 20px 20px;
    }
    #headertxt h2.title a {
        font-size: 1.6rem;
        letter-spacing: 0.2em;
    }
    article > h3 {
        font-size: 1.4rem;
        padding: 18px 30px;
    }
    #text1 h2 {
        font-size: 1.3rem;
    }
    #text1 h3 {
        font-size: 1.2rem;
        padding: 10px 25px 10px 45px;
    }
    #categorylist {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    #text1 table {
        font-size: 0.85rem;
    }
    #text1 table th,
    #text1 table td {
        padding: 10px 8px;
    }
}
@media screen and (max-width: 480px) {
    html {
        font-size: 15px;
    }
    #contents {
        padding: 30px 20px;
    }
    #text1 {
        padding: 0 5px;
    }
    #text1 p {
        text-indent: 0;
    }
    #whatsnew ul li {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    #pagetop a {
        padding: 12px 40px;
    }
    article > h3:before,
    article > h3:after {
        width: 15px;
        height: 15px;
    }
}