/*top*/
.body {
    font-family: Arial, Helvetica, sans-serif;
}
.trivia_wrapper {
    background-color: #ecf2d8;
	margin-left:auto;
	margin-right:auto;
}
.bodytop{
	width: 960px;
    margin: 0px auto 0px auto;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.title {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #51422e;
}

/*本文*/
article {
    background-color: #ffffff;
    margin: -20px 0 0 0;
    padding: 10px 20% 20px 20%;
    color: #51422e;
    line-height: 2rem;
    text-align: center;
}
article p {
    text-align: left;
}
article h3 {
    text-align: left;
}
article h4 {
    text-align: left;
}
figure {
    align-items: center;
    margin: 0;
    padding: 0;
}
figure img {
    width: 100%;
    height: auto;
    margin: 0%;
    padding: 0px;
}
figcaption {
    text-align: center;
    font-size: small;
    margin: 10px;
}
.mametishiki {
    width: 500px;
    height: auto;
    margin-top: 0;
    margin-left: 20px;
    margin-bottom: 10px;
    background-color: #fae6c6;
    border: 2px solid #fbbb56;
    border-radius: 10px;
    padding: 16px;
    text-decoration: none;
    align-content: center;
    text-align: left;
}
.mametishiki img {
    float: left;
    margin-right: 10px;
    padding: 0;
    width: 70px;
    height: 70px;
}
.toolDetail {
    background-color: #ffffff;
    margin-top: -10px;
    padding: 10px 20% 0px 20%;
    color: #51422e;
    align-items: center;
    text-align: left;
}
.toolDetail ol{
    list-style: decimal;
    list-style-position: inside;
    text-align: left;
    padding-top: 0;
    padding-left: 100px;
}
.caution {
    background-color: #fae6c6;
    border-color: #fae6c6;
    border-radius: 10px;
    padding: 10px 15px 10px 5px;
    list-style-position: outside;
    font-weight: bolder;
}
.caution h3 {
    color:darkred;
    text-align: center;
    font-weight: bold;
}

.copy {
    text-align: left;
    font-size: small;
    background-color: #ffffff;
    margin-top: -10px;
    margin-bottom: 0;
    padding: 20px 20% 20px 20%;
}

.grid_kansatsu {
    background-color: #ffffff;
    margin-top: -20px;
    margin-bottom: 10px;
    padding: 10px 20% 10px 20%;
    color: #51422e;
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-template-rows: 180px 80px 180px 80px;
    column-gap: 10px;
    row-gap: 10px;
    justify-items: center;
    align-items: flex-start;
    justify-content: space-between;
    align-content: space-between;
}
.grid_kansatsu_box {
    text-align: left;
    font-size: small;
}
.grid_kansatsu_box img{
    width: 180px;
    height: 180px;
}
.grid_kansatsu_2 {
    background-color: #ffffff;
    margin-top: -20px;
    margin-bottom: 10px;
    padding: 10px 20%;
    color: #51422e;
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-template-rows: 180px 120px;
    column-gap: 10px;
    row-gap: 10px;
    justify-items: center;
    align-items: flex-start;
    justify-content: space-between;
    align-content: space-between;
}
.close {
    background-color: #ffffff;
    margin: -10px auto 0 auto;
    padding: 10px auto 10px auto;
    color: #51422e;
    font-size: smaller;
    text-align: center;
}
.close p {
    text-align: center;
}
.prevPage {
    text-align: right;
}

/* 戻るボタン　*/

.btn-border {
    display: inline-block;
    max-width: 220px;
    margin-top: 20px auto 10px auto;
    text-align: center;
    border: 2px solid #51422e;
    font-size: 1rem;
    color: #51422e;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    transition: .4s;
}
.btn-border:hover {
    background-color: #51422e;
    border-color: #51422e;
    color: #FFF;
}
