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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    padding: 0px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 90%;
}

.form-section, .preview-section {
    background: #ffffff5c;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h2 {
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 100px;
    resize: vertical;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 16px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

button:hover {
    background-color: #45a049;
}

.button-container {
    text-align: center;
}

#feedbackList {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feedback-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #4CAF50;
}

.feedback-time {
    color: #888;
    font-size: 0.9em;
    margin-top: 5px;
}

.display-wrapper {
    position: relative;
    width: 100%;
    max-width: 1920px;
    overflow: hidden;
    height: 1080px;
    margin: 0 auto;
}

.masking-image {
    position: absolute;
    mix-blend-mode: screen;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.masking-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#feedback-container {
    text-align:justify;
    text-transform: uppercase;
}

#feedback-container span {
    display: inline-block;
    font-family: en-font;
}
 
@font-face {
    font-family: headingnow;
    src: url(fonts/headingnow.ttf);
}

@font-face {
    font-family: jp-font;
    src: url(fonts/notosans.ttf) format('truetype');;
}

@font-face {
    font-family: en-font;
    src: url(fonts/helvetica.otf) format('opentype');
    src: url(fonts/helvetica.woff2) format('woff2');
}

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

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

.bottom-image {
    position: fixed;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: -1;
    line-height: 0;
}

.bottom-image img {
    width: 100%;
    line-height: 0;
}

.title-font-en {
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
}

.title-font-jp {
    font-size: 22px;
    line-height: 1.2;
    text-align: center;
}

input,select,textarea {
    width: 100%;
    font-size: 16px;
    padding: 8px 10px;
    border: none;
    border-radius: 5px;
    outline: none;
}

.bottom-text {
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    width: 60%;
    margin: 20px auto 0 auto;
}

.form-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.qr-container {
    width: 20%;
}

.form-section {
    width: 80%;
}

p.qr-text {
    margin-top: 5px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    .qr-container {
        display: none;
    }
    .form-section {
        width: 100%;
    }
    .bottom-text {
        width: 90%;
    }
} 