@charset "UTF-8";
/*===========================================レイアウトのためのCSS*/

/* ボディ */

a {
    color: #ccc;
    text-decoration: none;
}

a.btn {
    display: flex;
    justify-content: center;
    vertical-align: middle;
    text-decoration: none;
    margin: 30px auto;
    width: 10em;
    height: 2em;
    color: #fff;
    cursor: pointer;
    transition: all 0.85s cubic-bezier(.17, .67, .14, .93);
    transform-style: preserve-3d;
    transform-origin: 100% 50%;
}

a.btn:hover {
    transform: rotateX(-90deg);
}

a.btn .side {
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    display: inline-block;
    width: 15em;
    text-align: center;
    padding: 0.3rem 2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

a.btn .top {
    background: #b4e12b;
    color: #fff;
    transform: rotateX(90deg) translate3d(0, 0, 2em);
}

a.btn .front {
    background: #27acd9;
    color: #fff;
    transform: translate3d(0, 0, 2em);
}

img {
    width: 100%;
    object-fit: cover;
}

/* ヘッダー */

h1 {
    height: 80px;
}

h1 img {
    width: 80px;
    align-items: center;
}

/* メイン */

main {
    margin: 0 20px;
    text-align: center;
}

.main-visual{
    padding-top: 100px;
    margin-bottom: 50px;
}


@font-face {
    font-family: "myfont";
    src: url("tamanegikaisyo-geki.ttf") format("truetype");
}

.main-title,
.sub-title {
    font-family: "myfont";
    color: #ccc;
}

.main-title {
    margin-bottom: 50px;
    font-size: 70px;
    text-align: center;
}

.sub-title {
    margin-bottom: 20px;
    font-size: 30px;
}

main p {
    color: #333;
    background-color: rgb(185, 205, 222);
    border-radius: 10px;
    margin: 15px;
    padding: 15px;
    font-weight: bold;
}

.contents img,
.contents-re img {
    border-radius: 20px;
}

.description {
    margin-bottom: 50px;
}

.description p span {
    display: inline-block;
}

.contents,
.contents-re {
    margin-bottom: 30px;
}

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

main{
    max-width: 1000px;
    margin: 0 auto;
}

    .main-visual {
        margin-bottom: 100px;
    }

    .description {
        max-width: 800px;
        margin: 0 auto 100px;
        text-align: center;
    }

    .main-title {
        margin-bottom: 50px;
        font-size: 100px;
        text-align: center;
    }

    .sub-title {
        margin-bottom: 20px;
        font-size: 50px;
    }

    .contents h2 {
        text-align: left;
    }

    .contents-re h2 {
        text-align: right;
    }

    .contents-detail {
        display: flex;
        align-items: center;
    }

    .contents img,
    .contents-detail-re img {
        width: 60%;
        padding: 30px;
        border-radius: 56% 44% 58% 42% / 48% 49% 51% 52%
    }

    .contents-detail-re {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .fuwafuwa {
        animation: fuwafuwa 3s ease-in-out infinite alternate;
        display: inline-block;
        transition: 1.5s ease-in-out;
    }

    @keyframes fuwafuwa {
        0% {
            transform: translate(0, 0) rotate(-7deg);
        }

        50% {
            transform: translate(0, -7px) rotate(0deg);
        }

        100% {
            transform: translate(0, 0) rotate(7deg);
        }
    }

    .wrap{
        max-width: 800px;
        margin: 0 auto;
    }

    .contents p,
    .contents-re p {
        width: 40%;
        margin: 10px;
        padding: 30px;
        border-radius: 100%;
        text-align: center;
        color: #333;
        background-color: #ccc;
    }
}