html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'ヒラギノ明朝 Pro', 'MS P明朝', '游明朝', serif;
    font-weight: bold;
    font-size: 17px;
}

.riyou-annai {
    margin: 1%;
    text-align: center;
    font-size: xx-large;
}

h3,
p {
    margin: 0;
    padding: 0;
}


.background-washi {
    margin-top: 0%;
    background-image: url("../images/washi_back01.jpg");
    background-repeat: repeat;
    background-size: 5%;  /* 繰り返す画像のサイズ */
    background-position: top left; /* 繰り返しの起点を左上に固定 */
    width: 100%;
}


.index-list {
    margin: 0 auto;
    width: 70%;
    border-radius: 3px;
    background-color: #d9d9d954;
}

.index-list div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px 0;
    background-color: #4f8259c4;
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
}

.index-list div::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4H21V6H8V4ZM3 3.5H6V6.5H3V3.5ZM3 10.5H6V13.5H3V10.5ZM3 17.5H6V20.5H3V17.5ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    content: '';
}

.index-list label::after {
    margin-left: 7px;
    font-weight: 500;
    font-size: .7em;
    color: #fff;
    content: "[開く]";
    cursor: pointer;
}

.index-list:has(:checked) label::after {
    content: "[閉じる]";
}

.index-list input {
    display: none;
}

.index-list ol {
    list-style-type: decimal;
    margin: 0;
    overflow: hidden;
}

.index-list>ol {
    height: 0;
}

.index-list:has(:checked)>ol {
    height: auto;
    padding: 1em 1em 1em 3em;
}

.index-list ol ol {
    margin-top: 5px;
    padding-left: 1.1em;
}

.index-list li {
    padding: 5px 0;
    font-weight: 600;
    list-style-type: none;
}

.index-list ol ol li {
    font-weight: 500;
    font-size: .9em;
}

.index-list a {
    color: #000000;
    text-decoration: none;
}

.section-content {
    margin: 0 auto;
    width: 90%;
    text-align: center;
}

span.attention {
    background: linear-gradient(transparent 50%, #eaff0086 50%);
}

.image-container {
    text-align: center;
}

.clickable-image {
    border: solid 1px #000000;
    box-shadow: 5px 5px 10px #4f8259c4;
    cursor: pointer;
    transition: transform 0.2s;
}

.modal {
    display: none; /* 初めは非表示 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 薄暗い背景 */
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 0; /* 初めはサイズ0で非表示 */
    max-height: 80%;
    transition: max-width 0.5s ease, max-height 0.5s ease; /* アニメーションを追加 */
}

.modal.show .modal-content {
    max-width: 80%; /* モーダルが表示されたときの最大サイズ */
    max-height: 80%;
    transition: max-width 0.5s ease, max-height 0.5s ease; /* アニメーションを追加 */
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}