/* 全体 */
* {
    margin: 0;
    padding: 0;
}

/* ボディ */
body {
    background-color: black;
    width: 100%;
    min-height: 100vh;
}


/* ヘッダー領域 */
header {
    height: 45px;
    width: 100%;
    background-color: brown;
    box-shadow: 0 0 15px 0 #6c272d inset;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
}

/* ホームロゴ */
#home-logo {
    height: 45px;
    float: left;
    padding-left: 120px;
    padding-right: 30px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    /* box-shadow: 0 0 15px 0 lightgray inset; */
}

/* #home-logo p {
    text-align: center;
    
    height: 45px;
    display: flex;
    } */
    
    #home-logo p a {
        line-height: 45px;
        font-size: 16px;
        position: relative;
        display: inline-block;
        font-family: 'Courier New', Courier, monospace;
        color: green;
        font-weight: bold;
    /* justify-content: center; */
    /* align-items: center; */
}

#home-logo a::before {
    position: absolute;
    content: url(../images/logo.png);
    right: 130px;
}

/* ヘッダーナビ */
header nav {
    height: 45px;
    float: right;
}

header nav ul {
    height: 45px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

header nav ul li {
    list-style: none;
    /* margin-left: 20px; */
    margin-right: 35px;
}

#home-logo a,
header nav ul li a {
    /* align-items: center; */
    text-decoration: none;
    color: antiquewhite;
    font-weight: bold;
}

/* メイン領域 */
main {
    height: 648px;
    width: 928px;
    display: flex;
    overflow-x: hidden;
    /* scroll-snap-type: x mandatory; */
    /* -webkit-overflow-scrolling: touch; */
    overflow-y: hidden;
    /* white-space: nowrap; */
    margin-left: auto;
    margin-right: auto;
    /* background-image: url(../images/note.png);
    background-position:left center;
    background-repeat: repeat-x;
    background-size: contain; */
    /* background-color: antiquewhite; */
}

.page-contents {
    height: 648px;
    width: 464px;
    flex: 0 0 50%;
    scroll-snap-align: start;
    /* flex-shrink: 0; */
    /* padding-left: 20px; */
    /* padding-right: 20px; */
    /* margin-left: auto;
    margin-right: auto; */
    background-image: url(../images/note.png);
    background-position:center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 15px 5px lightgray;
    /* box-shadow: 0 10px 15px -5px lightgray; */
    /* background-size: cover; */
    /* margin-left: auto;
    margin-right: auto; */
}

.page-h1 {
    height: 27px;
    width: 424px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
}

h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
        /* line-height: 47px; */
    /* margin-top: 20px; */
    margin-left: 30px;
}

.page-p {
    width: 424px;
    padding-left: 20px;
    padding-right: 20px;
}

p {
    line-height: 18.9px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 11px;
}

#page-button {
    height: 15px;
    width: 100%;
    position: absolute;
    bottom: 25px;
}

#page-back {
    position: absolute;
    /* bottom: 20px; */
    left: 15px;
    background-color: black;
    padding: 5px;
    /* margin-left: 20px; */
}

#page-next {
    position: absolute;
    /* bottom: 20px; */
    right: 15px;
    background-color: black;
    padding: 5px;
    /* margin-right: 20px; */
}

#page-back a,
#page-next a {
    text-decoration: none;
    color: antiquewhite;
}

/* チェックボックス（入力用）を非表示にする */
.toggle-btn {
  display: none;
}

/* 展開前のコンテンツの高さとアニメーション設定 */
.content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

/* チェックボックスがON（クリック）されたら高さをautoにして展開 */
.toggle-btn:checked ~ .content {
  max-height: 200px; /* 文章が収まる十分な高さを指定 */
}

/* 「続きを読む」「閉じる」ボタンのデザイン */
.label-btn::before {
  content: "続きを読む";
}
.toggle-btn:checked ~ .label-btn::before {
  content: "閉じる";
}

summary {
    font-size: 11px;
    line-height: 18.9px;
    margin-left: 30px;
    color: #6c272d;
    cursor: pointer;
}

/* もっと見る表示 */
/* .more-check {
    display: none;
}

.more-text {
    max-height: 37.8px;
    overflow: hidden;
    transition: max-height 0.3s ease;

}

.read-more {
    margin-top: 0;
    display: inline-block;
    font-size: 11px;
    line-height: 18.9px;
    position: fixed;

}

.more-check:checked + .more-text {
    max-height: 500px;
}

.more-check:checked ~ .read-more {
    display: none;
}

label {
    height: 18.9px;
    font-size: 11px;
    line-height: 18.9px;
} */

#page0 {
    position: fixed;
    width: 464px;
    /* padding-left: 40px;
    padding-left: 40px; */
    box-shadow: 0 0 15px -5px lightgray;
}

#page0 a {
    color: #6c272d;
    text-decoration: none;
    font-weight: bold;
}

#page-box {
    height: 648px;
    width: 484px;
    position: relative;
    display: flex;
    overflow-x: hidden;
    /* scroll-snap-type: x mandatory; */
    /* -webkit-overflow-scrolling: touch; */
    overflow-y: hidden;
    /* white-space: nowrap; */
    margin-left: 464px;
    /* margin-right: auto; */
    box-shadow: 0 10px 15px 5px lightgray;
}



