/*
360x640 pixels (common for many Android smartphones)
375x667 pixels (iPhone 6/7/8 and iPhone SE)
414x896 pixels (iPhone XR/XS Max/11/11 Pro Max)
390x844 pixels (iPhone 12/13/14)
*/

.adBox {
    height: 50px;
}


html {
    height: 100%;
    background-color: #F2EFE6;
}

body {
    height: 100%;
    font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    background-color: #F2EFE6;
}


main {
    height: 100%;
    background-color: #F2EFE6;
}

.main-w-footer {
    padding-bottom: 50px;
}

.header-color {
    background-color: #F2EFE6;
}

.header-box {
    box-shadow: 0px 30px 35px red;
}

.footer-nav {
    background-color: #F6F3EB;
    min-height: 50px;
    margin: 0 auto;
    height: 60px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);
}


.body-w-f {
    margin-bottom: 50px;
}

/* Fonts  */

.font-lg {
    font-size: 1.5em;
}

.font-md {
    font-size: 1em;
}

.font-sm {
    font-size: .8em;
}

.font-h1 {
    font-size: 1.3em;
    font-weight: 500;
}

.font-h2 {
    font-size: 1.1em;
    font-weight: 500;
}

.icon-div-sm + .icon-div-sm {
    margin-left: 50%;
    background-position: center;
}

.font-h3 {
    font-size: 1.0em;
    font-weight: 500;
}

.font-xs {
    font-size: .7em;
}

.font-orange {
    color: #EBAB47;
}

.bg-orange {
    background-color: #EBAB47;
}

.bg-blue {
    background-color: #0ab0ff;
}

.font-black {
    color: #000;
}

.icon-div-xxs {
    width: 24px;
    height: 24px;
    background-size: cover;
    background-position: center center;
    border-radius: 12px;
}

.icon-div-xs {
    width: 36px;
    height: 36px;
    background-size: cover;
    background-position: center center;
    border-radius: 18px;
}

.icon-div-sm {
    width: 50px;
    height: 50px;
    background-size: cover;
    background-position: center center;
    border-radius: 25px;
}

.icon-div-md {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center center;
    border-radius: 40px;
}

.icon-div-lg {
    width: 150px;
    height: 150px;
    background-size: cover;
    background-position: center center;
    border-radius: 75px;
}


.item-footer-navi {
    position: absolute;
    bottom: 0;
    padding-bottom: 60px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    width: 100%;
    margin: 0;
}

.character-img-frame {
    position: relative;
    bottom: -50px;
}

    .character-img-frame img {
        vertical-align: bottom;
    }

.character-background {
    background-size: contain;
    background-position-y: bottom;
    background-position-x: center;
}

.item-box-white {
    height: 75px;
    width: 75px;
    background-color: #fff;
    border-radius: 5px;
    margin: 0 auto;
}

.modal-body-main {
    padding: 40px;
    background-color: #F7F6F0
}

.btn-a-close {
    width: 100%;
    background-color: #EBE1CC;
    height: 50px;
    border-radius: 25px;
    padding: 10px;
    text-align: center;
}

.font-menu {
    font-size: 1em;
    font-weight: 500;
}

.btn-main {
    background-color: #fcd500;
    color: #000;
    font-weight: 500;
    width: 175px;
    border: none;
}

.btn-main-sm {
    background-color: #fcd500;
    color: #000;
    font-weight: 500;
    width: 100px;
    border: none;
}

.btn-buy-submit {
    width: 100%;
    background-color: #9A90E8;
    height: 50px;
    border-radius: 25px;
    padding: 10px;
    text-align: center;
}

.btn-orange {
    background-color: #EBAB47;
    color: #fff;
    font-weight: 500;
    height: 40px;
    border-radius: 25px;
    border: none;
    padding-right: 30px;
    padding-left: 30px;
}

.btn-orange-sub {
    background-color: #EBE1CC;
    color: #000;
    font-weight: 400;
    height: 40px;
    border-radius: 25px;
    border: none;
    padding-right: 30px;
    padding-left: 30px;
}

.btn-orange-sub-sm {
    background-color: #EBE1CC;
    color: #000;
    font-weight: 300;
    font-size: .6em;
    height: 25px;
    margin: 0 auto;
    border-radius: 10px;
    border: none;
    padding-right: 20px;
    padding-left: 20px;
}

.link-orange {
    color: #EBAB47
}

.btn-main-ico {
    background-color: #fcd500;
    color: #000;
    font-weight: 500;
    width: 75px;
    border: none;
}

.btn-gray {
    background-color: #adadad;
    color: #000;
    font-weight: 500;
    width: 150px;
    border: none;
}

img.back-arrow {
    width: 12px;
}

.btn-sub-link {
    color: #000;
    font-weight: 500;
    font-size: .8em;
}

.modal-header-clean {
    border: none;
}

.modal-close-orange {
    color: #EBAB47;
}

.swiper {
    width: 100%;
    height: 100%;
}

.bg-secondary-color {
    background-color: #177900;
}

.bg-light-color {
    background-color: #fffaf0
}

.bg-main {
    background-color: #F7F5F0
}

.lable-main {
    font-weight: 500
}

.tutorial-footer {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    width: 100%;
    margin: 0;
}

.swiper-slide {
    /* �X���C�h�̃T�C�Y�𒲐��A���g�̃e�L�X�g�z�u�����A�w�i�F */
    color: #ffffff;
    width: 100%;
    height: 100%;
    text-align: center;
}


.square {
    width: 100%;
    position: relative;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-image: url('/images/emptyprofile.png');
    background-position: center center;
    position: relative;
}

    .square::before {
        content: "";
        display: block;
        padding-bottom: 100%; /* Set the height to be the same as the width */
    }

    .square > * {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-position: center;
    }

.post-image {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    background-color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 40px;
}

.tutorial-container {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    transition: transform 0.3s ease-out;
    overflow: auto;
}

.tutorial-slide {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
    margin-right: 18px; /* add a margin between slides */
}

.tutorial-slider {
    position: relative;
    overflow: hidden;
}

.tutorial-selected-item {
    border: solid 3px #F0AE48;
    border-radius: 10px;
}

.tutorial-selected-color {
    border: dotted 3px #177900;
}

.character-image-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.container-footer {
    position: relative;
    margin-top: auto;
}

.character-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 300px;
    width: 300px;
    margin: auto;
}

    .character-image:last-of-type {
        z-index: 5;
    }

.profile-character-wrapper {
    position: relative;
    width: 180px;
    border: none;
}

.profile-character-wrapper-lg {
    position: relative;
    width: 300px;
    border: none;
}

.profile-character-images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    width: 100%;
    margin: auto;
}


.profile-image {
    background-position: center;
}

.character-image-md {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 300px;
    width: 300px;
    margin: auto;
}

    .character-image-md:last-of-type {
        z-index: 5;
    }

.profile-character-wrapper-md {
    position: relative;
    width: 150px;
    border: none;
}

.profile-character-images-md {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    width: 100%;
    margin: auto;
}

.walk-clock-done {
    background-color: #27d032 !important;
}

.walk-clock-mid {
    background-color: #0ab0ff !important;
    animation: blink 1s infinite;
}

.walk-clock-notyet {
    background-color: #adadad !important;
}

@keyframes blink {
    50% {
        background-color: #0ab0ff;
    }
}

.main-note {
    background-image: url('/images/note.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    max-height: 100%;
    max-width: 100%;
    padding-right: 0px;
    padding-left: 0;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-note-header-part {
    margin-top: 20px;
    position: relative;
    padding: 0;
}

.tab-selected {
    border-bottom: solid 3px #EBAB47;
    font-weight: 600;
    color: #EBAB47
}

.tab-unselected {
    border-bottom: none;
    font-weight: 500;
    color: #000;
}


.test-radio-button {
    display: none;
}

.test-radio-button-label {
    text-align: center;
    display: inline-block;
    padding: 10px 20px;
    background-color: #fcd500;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

    .test-radio-button-label:hover {
        background-color: #d3d3d3;
    }

.test-radio-button:checked + .radio-button-label {
    background-color: #428bca;
    color: #fff;
}


.diary-main-image {
    background-position: center center;
    background-size: cover;
    margin: 0 auto;
    border-radius: 20px;
}

.diary-text {
    margin-left: 50px;
}


.SpeakAtTheEnd {
    position: absolute;
    top: 615px;
    left: 70px;
    right: 70px;
    font-size: 12px
}


/*If you want to let user know thing or two about input.*/
.input-note-sml {
    font-size: .6em;
    color: #4e4e4e;
}

.btn-link-sml {
    font-size: .8em;
    color: #4e4e4e;
}

.heart-icon-clicked {
    display: block;
}

.heart-icon {
    display: block;
}

.input-text-asahi {
    top: 0;
    left: 0;
    height: 50px;
    border-radius: 25px;
    padding: 10px;
    padding-left: 30px;
    padding-right: 60px;
}

.mini-empty-badge {
    height: 25px;
    padding-left: 3px;
    padding-right: 3px
}

.mini-budge {
    width: 30px;
}

.menu-selected {
    background-color: #fae9d0;
}

.menu-unselected {
    background-color: #fff;
}

#payment-element {
    padding-bottom: 30px;
}

#submit {
    width: 100%;
    background-color: #F0AE48;
    height: 40px;
    border-radius: 20px;
    padding-right: 10px;
    padding-left: 10px;
    text-align: center;
    font-weight: 600;
    color: #fff;
    margin: auto;
    width: 150px;
    border: none;
}

.btn-asahi-primary-md {
    width: 100%;
    background-color: #F0AE48;
    height: 40px;
    border-radius: 20px;
    padding-right: 10px;
    padding-left: 10px;
    text-align: center;
    font-weight: 600;
    color: #fff;
    margin: auto;
    width: 150px;
}

.btn-asahi-secondary-md {
    width: 100%;
    background-color: #EBE1CC;
    height: 40px;
    border-radius: 20px;
    padding-right: 10px;
    padding-left: 10px;
    text-align: center;
    font-weight: 600;
    color: #000;
    margin: auto;
    width: 150px;
}


.walkPostButton {
    position: fixed;
    margin: 0;
    padding: 0;
    bottom: 60px;
    right: 0px;
    border-radius: 50%;
    font-size: 20px;
    width: 120px;
    cursor: pointer;
    z-index: 900
}

.topDiaryButton {
    position: fixed;
    margin: 0;
    padding: 0;
    bottom: 160px;
    right: 0px;
    border-radius: 50%;
    font-size: 20px;
    width: 90px;
    cursor: pointer;
    z-index: 900
}

.design_wrapper{
    height:500px;
    overflow-y:scroll;
}
/* For PC */
@media (min-width: 415px) {
    .body-main {
        max-width: 414px;
        
    }

    .body-main-bg {
        position: absolute;
        max-width: 414px;
        margin: auto;
        height: 100%;
        top: 50%; /* Position the top of the image at the vertical center of the container */
        left: 50%; /* Position the left of the image at the horizontal center of the container */
        transform: translate(-50%, -50%); /* Move the image back by half of its width and height */
    }
}

/*iPhone SE*/
@media (width: 375px) {

    .design_wrapper {
        height: 430px;
        overflow-y: scroll;
    }

    .diary-main-image {
        width: 250px;
        margin-left: 0px;
    }

    .icon-div-sm {
        width: 40px;
        height: 40px;
        background-size: cover;
        background-position: center center;
        border-radius: 20px;
    }

    .icon-div-md-sm {
        width: 30px;
        height: 30px;
        background-size: cover;
        background-position: center center;
        border-radius: 15px;
    }

    .SpeakAtTheEnd {
        top: 560px;
        left: 70px;
        right: 70px;
        font-size: 12px
    }

    .walkPostButton {
        bottom: 60px;
        right: 0px;
        padding: 0px;
        margin: 0px;
        border-radius: 500%;
        font-size: 20px;
        width: 100px;
       
    }
    .topDiaryButton {
        bottom: 140px;
        width: 90px;
    }
}

/*iPhone XR*/
@media (width: 414px) {
    .diary-main-image {
        width: 230px;
        margin-left: 35px;
    }

    .icon-div-md-sm {
        width: 40px;
        height: 40px;
        background-size: cover;
        background-position: center center;
        border-radius: 20px;
    }

    .icon-div-sm {
        width: 50px;
        height: 50px;
        background-size: cover;
        background-position: center center;
        border-radius: 25px;
    }

    .walkPostButton {
        bottom: 50px;
        right: -10px;
        border-radius: 50%;
        font-size: 20px;
        width: 120px;
        cursor: pointer;
        z-index: 900
    }
    .topDiaryButton {
        bottom: 150px;
        width: 90px;
    }
}

/*iPhone 12 Pro*/
@media (width: 390px) {
    .design_wrapper {
        height: 470px;
        overflow-y: scroll;
    }

    .diary-main-image {
        width: 230px;
        margin-left: 25px;
    }

    .icon-div-md-sm {
        width: 32px;
        height: 32px;
        background-size: cover;
        background-position: center center;
        border-radius: 16px;
    }

    .walkPostButton {
        bottom: 70px;
        right: 0px;
        border-radius: 50%;
        font-size: 20px;
        width: 120px;
        cursor: pointer;
        z-index: 900
    }
    .topDiaryButton {
        bottom: 170px;
        width: 90px;
    }
    .icon-div-sm {
        width: 50px;
        height: 50px;
        background-size: cover;
        background-position: center center;
        border-radius: 25px;
    }

    .SpeakAtTheEnd {
        top: 580px;
        left: 70px;
        right: 70px;
        font-size: 12px
    }
}

/*iPhone Old or Small*/
@media (width: 320px) {

    .design_wrapper {
        height: 330px;
        overflow-y: scroll;
    }


    .diary-main-image {
        width: 230px;
        margin-left: 25px;
    }

    .icon-div-md-sm {
        width: 28px;
        height: 28px;
        background-size: cover;
        background-position: center center;
        border-radius: 14px;
    }

    .icon-div-sm {
        width: 38px;
        height: 38px;
        background-size: cover;
        background-position: center center;
        border-radius: 19px;
    }

    .SpeakAtTheEnd {
        top: 580px;
        left: 70px;
        right: 70px;
        font-size: 12px
    }
    .topDiaryButton {
        bottom: 130px;
        width: 80px;
    }
    .walkPostButton {
        bottom: 60px;
        right: 0px;
        border-radius: 50%;
        font-size: 20px;
        width: 80px;
        cursor: pointer;
        z-index: 900
    }

    .font-lg {
        font-size: 1.3em;
    }

    .font-md {
        font-size: 0.9em;
    }

    .font-sm {
        font-size: .6em;
    }
}

