/*基本設定*/
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-color: #f4f4f4;
    color:#333;
}

/*ヘッダー*/
header {
    background-color: #ec7aac;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: bold;
    font-size: 32px;
    letter-spacing: 5px;
}

/*ハンバーガーメニュー*/
.menu-button {
    background: #7d99cd;
    border: none;
    padding:10px;
    border-radius: 5px;
    cursor: pointer;
}

/*メニュー(オーバーレイ）*/
/*チェックボックスを使った開閉の仕組み*/
#menu-toggle {
    display: none;
}

.nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 90vh;
    overflow-y: auto;
    background-color: rgba(255,255,255, 0.95);
    z-index: 90;
    box-sizing: border-box;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
    display: none;
    transition: opacity 0.3s ease;
}

/*チェックが入った時（メニューボタンが押されたときに表示）*/
#menu-toggle:checked +.nav-menu{
    display: block;
}

/*アコーディオンのスタイル*/
details {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

summary {
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after{
    content:'▼';
    font-size: 0.8rem;
    transision: transform 0.3s;
}

details[open]
summary::after{
    transform: rotate(180deg);
}

.issue-list {
    list-style: none;
    padding:0;
    margin:0;
    border-top: 1px splid #eee;
}

.issue-list li {
    border-bottom: 1px solid #eee;
}

.issue-list a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #444;
}

.issue-list a:active{
    background-color: #f0f0f0;
}

.new-budge{
    background: #e74c3c;
    color:#fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 10px;
}

/*メインコンテンツ*/
main {
    padding: 15px;
    text-align:center;
    background-color: rgb(249, 231, 230);
}

.content-title{
    margin-bottom: 15px;
}

.illust-container{
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: block;
    margin-bottom: 10px;
}

.download-btn {
    display: inline-block;
    background-color: #7d99cd;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 30px;
    margin: 20px 0;
    font-weight: bold;
}

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

main, section {
    width: 100%;
    margin:0 auto;
    box-sizing: border-box;
}

/*メディアクエリ*/
@media(max-width:760px){
    header {
        background-color: #ec7aac;
        color: white;
        padding: 10px 15px;
        display: block;
        align-items: center;
        border-bottom: 1px solid #ddd;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .logo {
        font-weight: bold;
        font-size: 24px;
        letter-spacing: 4px;
        display: inline-block;
    }
    
    .back {
        font-size: 14px;
    }

    .menu-button {
        float: right;
        padding: 5px 10px;
        font-size: 14px;
}

}
