body {
    color: #191919;
    font-family: "M PLUS 1", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.p-main {
    margin: 38px auto 0;
    max-width: 390px;
    width: 100%;
    background-image: url(../img/mystery/background.png);
    background-repeat: repeat-y;
    padding: 1rem;
    box-sizing: border-box;
    background-size: cover;
}

/*
.container {
    width: 90%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
*/

h2 {
    font-family: 'A P-OTF Gothic MB101 Pr6N';
    font-style: normal;
    font-weight: 700;
    font-size: 38px;
    line-height: 76px;
    color: #FFFFFF;
}

h2 .title {
    font-family: 'A P-OTF Gothic MB101 Pr6N';
    font-style: normal;
    font-weight: 700;
    font-size: 38px;
    line-height: 76px;
    color: #FFFFFF;
}

h2 .difficulty {
    font-family: 'A P-OTF Gothic MB101 Pr6N';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 40px;
    color: #FFFFFF;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

input[type="text"] {
    width: 100%;
    height: 57px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    box-sizing: border-box;
    background: #FFFFFF;
    border-radius: 8px;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    text-align: center;
    font-family: 'A P-OTF Gothic MB101 Pr6N';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 40px;
    color: #DEDEDE;
}
::-moz-placeholder { /* Firefox 19+ */
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

button {
    font-family: 'A P-OTF Gothic MB101 Pr6N';
    display: block;
    width: 100%;
    padding: 0.7rem;
    background-color: #2B0F00;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 32px;
}

button:hover {
    background-color: #0056b3;
}

.puzzle-section {
    margin-bottom: 2rem;
    text-align: center;
}

.puzzle-section > img {
    margin-bottom: 10px;
}

#answerDisplay,
#confirmAnswerDisplay,
#confirmPersonalInfo {
    background-color: #fff;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}
#answerDisplay p{
	text-align: left;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.6
	
}
.button-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.button-container button {
    flex: 1 1 0;
    padding: 10px;
    text-align: center;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s;
    background: rgba(43, 15, 0, 1);
    position: relative;
}
.button-container .hint-link {
    font-size: 14px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
}

#puzzle1 .button-container .secondary-button{
    flex: 1 1 0;
}
#puzzle1 .button-container .hint-link{
    flex: 0 0 auto;
}

.button-container button:not(.secondary-button)::after {
    background-image: url(../img/p-cta__btn-icon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    height: 14px;
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
}

.button-container .secondary-button::before {
    background-image: url(../img/p-cta__btn-icon_left.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    height: 14px;
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
}

#puzzle2 .button-container{
    
}

#puzzle3 .button-container{
    
}

.secondary-button {
    background: rgba(204, 204, 204, 1) !important;
}

.hint-link {
    background-image: url(../img/mystery/button_hint.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.hint-link:hover {
}

@media screen and (max-width: 959px) {
    .container {
        width: 95%;
        padding: 0.5rem;
    }

    .p-main {
        margin-top: 0px;
    }
}

@media screen and (max-width: 767px) {
    .button-container {
    }
}