body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

#root {
  /* width: 80%; */
  width: 80vw;
  max-width: 1300px;
}

#header {
  padding-top: 30px;
}

#act-logo {
  width: 130px;
  padding-left: 5px;
}

.act-character-container {
  height: 100%;
  display: flex;
  justify-content: center;
}

.act-character {
  display: flex;
  align-items: center;
}

#kenchimaru > img {
  width: 20vw;
  max-width: 22vh;
}

#zeizyakun > img {
  width: 15vw;
  max-width: 17vh;
}

.main-container {
  display: flex;
  justify-content: space-between;
  margin: 50px 0;
  width: 100%;
}

.form-container,
.result-container {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  margin: 0 5px;
}

/* Added */
#result-wrapper {
  height: 100%;
}

.form-container {
  width: 40%;
  /* margin: 0 5px 0 0; */
}

.result-container {
  width: 60%;
  /* margin: 0 0 0 5px; */
}

.result-header {
  display: flex;
  align-items: center;
}

.result-header > svg {
  padding-bottom: 2px;
}

.result-part {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.result-group:first-child {
  padding-bottom: 10px;
}

.result-group:last-child {
  padding-top: 10px;
}

.result-group:not(:first-child):not(:last-child) {
  padding: 10px 0;
}

.result-group:not(:first-child) {
  border-top: 1px dashed black;
}

.result-group-ticket-id {
  margin: 10px 0 15px;
}

.result-group-elem {
  margin-bottom: 10px;
}

.result-group-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.result-group-content-elem-wrapper {
  display: flex;
  align-items: center;
}

.result-group-content-elem-wrapper > svg {
  padding-left: 2px;
  padding-bottom: 2px;
}

.result-group-content-elem {
  text-wrap: pretty;
  width: 95%;
}

form {
  display: flex;
  flex-direction: column;
}

.email-link {
  display: inline-block;
  padding-top: 30px;
  font-size: 17px;
  /* color: #007bff; */
  color: #1d2e53;
  text-align: right;
  cursor: pointer;
}

.error-message-container {
  display: flex;
  align-items: center;
  margin: 20px 0;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #d8000c;
  background-color: #ffbaba;
  color: #d8000c;
}

.email-submission-result-container {
  display: flex;
  align-items: center;
  margin: 20px 0;
  padding: 10px;
  border-radius: 5px;
  /* border: 1px solid yellowgreen; */
  border: 1px solid #1d2e53;
  /* background-color: yellowgreen; */
  background-color: #1d2e53;
  color: #fff;
}

.error-message-container .error-icon {
  margin: 0 7px 0 3px;
  font-size: 1em;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  /* color: #333; */
  color: #1d2e53;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  /* color: #555; */
  color: #1d2e53;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
  /* border-color: #007bff; */
  border-color: #1d2e53;
  outline: none;
}

select.form-value[name="email-lang"] {
  width: 150px;
  height: 30px;
}

.form-group > .form-value {
  box-sizing: border-box;
}

.link-wrapper {
  display: flex;
  justify-content: space-between;
}

button {
  padding: 10px 15px;
  /* background: #007bff; */
  background: #1d2e53;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  /* background: #0056b3; */
  background: #25458b;
}

button#send:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.bi-x-circle,
.bi-x-circle-fill,
.bi-check-circle-fill {
  margin-right: 5px;
}

.bi-x-circle-fill,
.bi-check-circle-fill {
  width: 5%;
}

.hide {
  display: none;
}

/* 画面幅が1000px以下になった時に適用 */
@media screen and (max-width: 1000px) {
  #root {
    width: 100%;
  }
}
