* {
    box-sizing: border-box;
    margin: 0;
}


body {
    background: #1A2837;
    font-family: 'Noto Sans JP', sans-serif;
    padding: 3%;
    margin: 0 16px;
    color: #fff;
}

.back-button-container {
    margin-bottom: 10%;
    width: 100%;
    text-align: left;
}

#back-button {
    text-decoration: none;
    color: #f5f5f5;
    font-weight: 500;
    font-size: small;
    background-color: #1A2837;
    border: none;
}

.refer-container {
    display: none;
    width: 100%;
    margin: 0 auto;
}

.refer-message {
    padding: 5px 12px;
    color: #1A2837;
    background-color: gold;
    border-radius: 4px;
    margin-bottom: 5%;
}

.refer-content {
    margin: 8% 0 3% 0;
    padding: 4px 0;
}

.refer-illustration-container {
    width: 100%;
    height: 180px;
    border-radius: 10px;
}

.refer-illustration {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#refer-title {
    padding: 6px 10px;
    margin: 3% 0;
    text-align: center;
}

#refer-description {
    color: #aaaaaa;
    font-size: 0.8rem;
}

.refer-code-container {
    width: 100%;
    height: fit-content;
    padding: 5px;
}

#refer-code-title {
    text-align: center;
    padding: 6px;
    margin-bottom: 3%;
}

#refer-code-title {
    margin: 5%;
    text-align: center;
    font-size: 1em;
}

.social-card-container {
    position: relative;
    width: 100%;
}

.social-card {
    width: 100%;
    border-radius: 20px;
}

.social-share-container {
    position: absolute;
    top: 30%;
    left: 4.8%;
    background: #454A42;
}

#refer-code {
    position: absolute;
    top: 57%;
    left: 8%;
    height: 10%;
    width: 15%;
    background-color: #454A42;
    font-weight: bold;
    font-size: 0.6rem;
    text-align: center;
    line-height: 200%;
}

.share-intent {
    font-size: 1rem !important;
}

.copied-text-container {
    position: fixed;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, 0);
    width:80%;
    background-color: green;
    padding: 10px 12px;
    border-radius: 6px;
    visibility: hidden;
}

#copied-text {
    font-size: small;
    font-weight: bold;
}