/* root */

html, body {
    overflow: hidden;
}

p {
    font-size: 18px;
}

:root {
    font-family: "ヒラギノ丸ゴ ProN", "sans-serif";
    background-color: #E3E8E9;
    columns: white;
    width: 100%;
}

.defaultimg {
    border-radius: 30px;
}

a {
    color: black;
}

/* Font */

.font-cursive {
    font-family: cursive;
}

.font-serif {
    font-family: serif;
}

.font-maru {
    font-family: "ヒラギノ丸ゴ ProN";
}

/*レスポンシブ対応*/

@media screen and (max-height: 540px) {
    .heighthideyear {
        display: none;
    }
}

@media screen and (max-height: 480px) {
    .heighthidedate {
        display: none;
    }
}

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

    /* パソコン */

    /*
    .section:hover {
        transform: scale(1.02);
    }
    */

    .defaultimg:not(#notstyle):hover {
        transform: scale(1.02);
    }

    .btn-line:hover {
        transform: scale(1.02);
        background-color: green;
    }

    .person:hover {
        transform: scale(1.3);
    }

    .person {
        transition: 0.35s;
    }

    .defaultimg {
        max-width: 390px;
        max-height: 390px;
        transition: 0.35s;
    }

    .pcnone {
        display: none;
    }

    .padding {
        padding: 2rem;
    }

    .message {
        padding: 5rem;
        inset: 10%;
    }

    .text {
        overflow-y: scroll;
        padding: 2%;
    }

    .block {
        height: 100svh;
    }

    .centerimg {
        max-width: 50%;
        transition: 0.35s;
    }

    .topimg {
        max-width: 95%;
    }

    .centerimg:hover {
        transform: scale(1.02);
    }

}

@media screen and (max-width: 650px) {
    /* スマホ */

    .defaultimg {
        max-width: 100%;
        max-height: 100%;
    }

    .btn-line:hover {
        background-color: green;
    }

    .mobilenone {
        display: none;
    }

    .padding {
        padding: 0.3rem;
    }

    .message {
        padding: 1rem;
        inset: 2%;
    }

    .text {
        overflow-y: scroll;
        padding: 2%;
    }

    .block {
        height: 95svh;
    }

    .centerimg {
        max-width: 85%;
    }

    .topimg {
        max-width: 95%;
    }

}

/* 文字の場所 */
.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

/* セクション */

.message {
    display: flex;
    border-radius: 30px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
    position: absolute;
    margin: auto;
    flex-direction: column;
    justify-content: center;
}

.text {
    position: relative;
}

.shiho-section {
    background-color: #E4B4B4;
    color: black;
    font-family: "Zen Kurenaido", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.miharu-section {
    background-color: #BCA88E;
    color: black;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.kazu-section {
    background-color: #9DA993;
    color: black;
    font-family: "Klee One";
    font-weight: 400;
    font-style: normal;
}

/* シェア */

.btn-line {
    display: inline-block;
    padding: .6em 1em .6em 1em;
    background-color: #1dcd00;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.35s;
}

/* background movie */

.mv-text {
    color: black;
    width: 100%;
    height: 0px;
    position: absolute;
    inset: 0;
    margin-top: 30vh;
    z-index: 3;
    text-align: center;
}

/*テキストの左右の斜線*/

.heading {
    /* 線を上下中央 */
    align-items: center;
    display: flex;
    /* 文字と線を横並び */
    justify-content: center;
    /* 文字を中央寄せ */
}

.heading::before,
.heading::after {
    background-color: black;
    /* 線の色 */
    border-radius: 5px;
    /* 線の両端を丸く */
    content: "";
    height: 5px;
    /* 線の高さ */
    width: 40px;
    /* 線の長さ */
}

.heading::before {
    margin-right: 10px;
    /* 文字との余白 */
    transform: rotate(60deg);
    /* 傾ける */
}

.heading::after {
    margin-left: 10px;
    /* 文字との余白 */
    transform: rotate(-60deg);
    /* 傾ける */
}

.margin-title {
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
}

.container {
    scroll-snap-type: x mandatory;
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: scroll;
}

/*Footer*/

.footer {
    margin: auto;
    height: 90vh;
    text-align: center;
    position: absolute;
    margin: auto;
    inset: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 300px;
}

.block {
    position: relative;
    scroll-snap-align: start;
    justify-content: center;
    overflow: hidden;
}

.centeritem {
    display: flex;
    position: absolute;
    margin: auto;
    flex-direction: column;
    justify-content: center;
    inset: 2%;
    align-items: center;
}

.centerimg {
    border-radius: 30px;
    height: auto;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
}

.container section {
    width: 100%;
    margin: 5px;
    flex-shrink: 0;
}

video .back {
    display: block;
    width: 100vh;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0px;
    left: 0;
}

.topimg {
    border-radius: 30px;
    height: auto;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
}