@charset "utf-8";
body {
    font-size: 1rem;
    line-height: 1.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
}
.topbox {
    line-height: 1.2rem;
}
.topbox a:hover {
    text-decoration: none;
    color: #333;
    font-weight: normal;
}
.pkz a {
    text-decoration: none;
}
/* 中身をweb上では非表示 */
.keshi {
    display: none;
}

/* 画像を半々で表示 */
.grid{
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    /* gap: 5px; */
}
/* .grid img{
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
} */
.image-left{
    display: flex;
    flex-direction: column;
    width: 60%;
    align-items: flex-start;
}
.image-right{
    display: flex;
    flex-direction: column;
    width: 40%;
    align-items: flex-end;
}
.grid img{
    width: 100%;
    height: auto;
}

/* 画像付き説明 */
.contents {
    max-width: 700px;
    margin: 10px auto;
    border: 1px solid #ccc;
    border-radius: 10px;
}
.imgsyoukai {
    display: flex;
}
.imgsyoukai-img {
    flex: 1;
    margin: 10px;
}
.imgsyoukai-img img {
    width: 100%;
    vertical-align: bottom;
}
.imgsyoukai-tet {
    flex: 1;
    margin: 0 10px;
    margin-bottom: 10px;
}
.imgsyoukai-tet h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.imgsyoukai-tet p {
    font-size: 16px;
}
.imgsyoukai-url {
    flex: 1;
    margin: 10px 10%;
    background-color: #1D0C80;
    border-radius: 15px;
}
.imgsyoukai-url a {
    font-size: 20px;
    display: block;
    text-align: center;
    color: #fff;
    text-decoration: none;
    line-height: 3rem;
}
.imgsyoukai-url:hover, .imgsyoukai-url a:hover {
    background-color: rgb(255, 217, 1);
    color: #333;
    text-decoration: none;
    border-radius: 15px;
}
/* 最後のＢＯＸリンク２段 */
.sai-box-last section .imgsyoukai .imgsyoukai-url a {
    line-height: 1.5rem;
    padding: 10px;
}
#FT nav ul li a {
    text-decoration: none;
}
/* ディスクトップ用のUI */
@media(min-width: 769px) {
    .sai-box {
        max-width: 700px;
        display: flex;
    }
    .sai-box section {
        flex: 1;
        margin-right: 5%;
    }
    .sai-box section:last-child {
        margin-right: 0;
    }
    .sai-box-last {
        width: 50%;
    }
    .sai-box-last section {
        flex: 1;
        margin-right: 5%;
    }
}