@media (max-width: 500px) {
    * {

        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    .center {
        display: flex;
        justify-content: center;
    }

    body {

        margin: 0;
        padding: 0;
        background-color: #fff2db;
        height: auto;
        width: auto;
        padding-bottom: 60vw;
    }

    .logo img {
        width: 95vw;
        margin-top: 30vw;
        margin-bottom: 30vw;
    }



    .bumon img {
        width: 80vw;
        margin-bottom: 10vw;
    }

    .image {
        position: absolute;

    }


    .btn-square-slant {
        display: inline-block;
        position: relative;
        padding: 0.5em 1.8em;
        text-decoration: none;
        color: #fff2dc;
    }

    .btn-square-slant:before {
        content: " ";
        position: absolute;
        bottom: -5px;
        left: -1px;
        width: 0;
        height: 0;
        border-width: 0 6px 6px 0px;
        border-style: solid;
        border-color: transparent;
        /* border-bottom-color: #FFF; */
    }

    .btn-square-slant:after {
        content: " ";
        position: absolute;
        top: -1px;
        right: -5px;
        width: 0;
        height: 0;
        border-width: 0px 6px 6px 0px;
        border-style: solid;
        /* border-color: #FFF; */
        border-bottom-color: transparent;
    }

    .btn-square-slant:active:after,
    .btn-square-slant:active:before {
        content: none;
        /*ボタンを押すと線が消える*/
    }

    .botton {
        position: absolute;
        z-index: 5;
        background-color: #FFBED8;
        height: 18vw;
        width: 80vw;
        border-radius: 12px;
        box-shadow: 4px 4px 0px #BFB5A4;
        padding-top: 3vw;
    }

    .btn1 {
        margin-left: 8vw;
    }

    .btn-square-slant:active {
        /*ボタンを押したとき*/
        box-shadow: none;
        -webkit-transform: translate(4px, 4px);
        transform: translate(4px, 4px);
    }


    .search5 img {
        width: 22vw;
        z-index: 3;
        margin-top: 2.5vw;
    }

    .search4 img {
        width: 10vw;
        z-index: 4;
        margin-left: 60vw;
        margin-top: 2vw;
    }



    .bottom-tab {
        z-index: 100;
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 600px;
        background: #ffffff;
        padding: 15px;
        display: flex;
        justify-content: space-around;
        height: 100px;
    }

    .tab-item {
        width: 60px;
        height: 60px;
        background: #14325c;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 14px;
        font-style: italic;
        box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.2),
            -5px -5px 8px rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }

    .tab-item i {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .tab-item:hover {
        transform: scale(1.1);
    }

    .bar img {
        display: flex;
        justify-content: center;
        height: 13vw;
    }

    .barr {
        display: flex;
        justify-content: center;
        gap: 10vw;
    }


}





@media (min-width: 500px) {


    .bg-wrapper {
        background: url('img/back.png');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
        width: auto;
        height: auto;
    }

    .container {
        width: 500px;
        margin: 0 auto;
        /* padding: 40px 16px; */
        background: #ffd5e6;
        position: relative;
        z-index: 1;
        height: 2000px;
    }

    body {
        margin: 0;
        padding: 0;
        height: auto;
        width: auto;
    }

    .center {
        display: flex;
        justify-content: center;
    }

    .logo img {
        margin-top: 0px;
        margin-bottom: 100px;
        width: 500px;
    }

    .bumon img {
        width: 400px;
        margin-bottom: 50px;
    }

    .image {
        position: absolute;
    }

    .btn-square-slant {
        display: inline-block;
        position: relative;
        padding: 0.5em 1.8em;
        text-decoration: none;
        color: #fff2dc;
    }

    .btn-square-slant:before {
        content: " ";
        position: absolute;
        bottom: -5px;
        left: -1px;
        width: 0;
        height: 0;
        border-width: 0 6px 6px 0px;
        border-style: solid;
        border-color: transparent;
        /* border-bottom-color: #FFF; */
    }

    .btn-square-slant:after {
        content: " ";
        position: absolute;
        top: -1px;
        right: -5px;
        width: 0;
        height: 0;
        border-width: 0px 6px 6px 0px;
        border-style: solid;
        /* border-color: #FFF; */
        border-bottom-color: transparent;
    }

    .btn-square-slant:active:after,
    .btn-square-slant:active:before {
        content: none;
        /*ボタンを押すと線が消える*/
    }

    .botton {
        position: absolute;
        z-index: 5;
        background-color: #fff;
        height: 60px;
        width: 300px;
        border-radius: 12px;
        border: 4.5px solid #e25980;
        box-shadow: 4px 4px 0px #BFB5A4;
    }

    .btn1 {
        margin-left: 60px;
    }

    .btn-square-slant:active {
        /*ボタンを押したとき*/
        box-shadow: none;
        -webkit-transform: translate(4px, 4px);
        transform: translate(4px, 4px);
    }
    .search6 img {
        width: 190px;
        z-index: 3;
        margin-top: 19px;
    }

    .search7 img {
        width: 28px;
        z-index: 4;
        margin-left: 280px;
        margin-top: 25px;
        margin-bottom:25px;
    }

    .bottom-tab {
        z-index: 100;
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 500px;
        background: #ffffff;
        display: flex;
        justify-content: space-around;
        height: 100px;
        margin-left: 0px;
    }


    .tab-item {
        width: 60px;
        height: 60px;
        background: #14325c;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 14px;
        font-style: italic;
        box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.2),
            -5px -5px 8px rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }

    .tab-item i {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .tab-item:hover {
        transform: scale(1.1);
    }

    .bar img {
        display: flex;
        justify-content: center;
        height: 60px;
        margin-top: 20px;
    }

    .barr {
        display: flex;
        justify-content: center;
        gap: 50px;
    }
}