.title {
    margin-top: 2%;
    text-align: center;
    font-family: "Kaisei Tokumin", serif;
    font-weight: lighter;
    margin-bottom: 2%;
}

.logo {
    text-align: center;
}

.logo img {
    width: 300px;
    margin: 20px 0;
}

.tenji-main {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 100px;
}

.tenji-main a:hover {
    opacity: 0.5;
    transition: 0.2s;
}

.tenji-main li {
    width: calc(100%/5);
    padding: 0 10px;
    list-style: none;
    margin: 10px 0;
}

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

.contents h1 {
    font-family: "Kaisei Tokumin", serif;
    font-weight: lighter;
}

.sub-caption {
    font-family: "Kaisei Tokumin", serif;
    font-weight: lighter;
    text-align: center;
    padding: 15px 0;
}

/*ボタンデザイン*/
a.btn_23 {
    margin: auto;
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 120px;
    padding: 1rem 4rem;
    font-weight: bold;
    border: 2px solid #0e9eb4;
    color: #0e9eb4;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 2%;
}

a.btn_23::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(39, 172, 217);
    transform: translateX(-100%);
    transition: all .3s;
    z-index: -1;
}

a.btn_23:hover::before {
    transform: translateX(0);
}

a.btn_23:hover {
    color: #fff;
}


/*トップへ戻るボタン*/

html {
    scroll-behavior: smooth;
}

.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}

/*トップへ戻るボタン
  ---------ここまで-------*/

/*ボタンデザインここまで*/

@media screen and (max-width:767px) {

    .tenji-main li {
        width: calc(100%/1);
    }

}