/* mailer */

#window__kilo { display: none; position: fixed; top: 28%; left: 40%; z-index: 50; }
.mailer {
  user-select: none;
  border-top-right-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
	box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.16);
}
.mailer__title {
  background-color: var(--mailer);
  font-family: var(--font-klee);
  color: var(--text-a);
  font-size: 1rem;
  padding: 6px 1px 6px 20px;
	background-image: url("../image/window_bg_close.png");
	background-repeat: no-repeat;
	background-position: top 5px right 10px;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}
#mailer__form {
  background-color: var(--mailer);
  border: solid 25px var(--mailer);
  color: var(--text-a);
  font-size: 0.7rem;
  padding: 6px 1px 6px 10px;
  width:  300px;
  height: 420px;
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}
#mailer__form a {
  text-decoration: none;
  outline: none;
  color: var(--text-a);
}

.mailer__field {
  margin-bottom: 1.4rem;
}

label.mailer__label {
  display: block;
  font-family: var(--font-klee);
  font-size: 1rem;
  font-weight: bold;
  color: var(--text-a);
  margin: 3px 0 6px 0;
  letter-spacing: 0.04em;
}

input[type="text"],
textarea {
  width: 200px;
  padding: 10px 14px;
  font-family: var(--font-klee);
  font-size: 1rem;
  color: var(--black);
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  user-select: none;
}

input.error,
textarea.error {
  border: solid 1px var(--white);
}

textarea {
  resize: none;
  min-height: 120px;
  line-height: 1.7;
}

.error-message {
  font-size: 12px;
  color: var(--text-a);
  margin-top: 4px;
  display: none;
}

.mailer__submit {
  padding: 2px 13px 3px 13px;
  font-family: var(--font-klee);
  font-size: 1rem;
  color: var(--mailer);
  background-color: var(--white);
  border: solid 1px var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 0.6rem;
  transition: background 0.2s, transform 0.1s;
}

.mailer__submit:hover {
  opacity: 0.5;
}

.mailer__submit:active {
  transform: scale(0.98);
}

.mailer__submit:disabled {
  background: var(--mailer);
  color: var(--white);
  cursor: not-allowed;
}

#success-message {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  background-color: var(--mailer);
  border: solid 25px var(--mailer);
  color: var(--text-a);
  font-size: 0.7rem;
  width:  300px;
  height: 420px;
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

.success-mark {
  width: 64px;
  height: 64px;
  background: #edf8f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 28px;
  color: #1D9E75;
}

#success-message h2 {
  font-family: var(--font-klee);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}

#success-message p {
  font-size: 14px;
  color: var(--white);
  line-height: 1.8;
}

/*
  Mobile
*/

@media screen and (max-width: 500px) {

.google__forms {
  position: relative;
  background: #fff;
  min-width: 270px;
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.5rem;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
  z-index: 50;
}
.google__forms-header {
  font-family: var(--font-kaisei);
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.field {
  margin-bottom: 1.4rem;
}

label.field-label {
  display: block;
  font-family: var(--font-kaisei);
  font-size: 1rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-kaisei);
  font-size: 0.8rem;
  color: #1a1a1a;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
textarea:focus {
  border-color: #1D9E75;
  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.12);
  background: #fff;
}

input.error,
textarea.error {
  border-color: #E24B4A;
}

textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.error-msg {
  font-size: 12px;
  color: #E24B4A;
  margin-top: 4px;
  display: none;
}

.btn-submit {
  width: 100%;
  padding: 13px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  background: #1D9E75;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 0.6rem;
  transition: background 0.2s, transform 0.1s;
}

.btn-submit:hover {
  background: #0F6E56;
}

.btn-submit:active {
  transform: scale(0.98);
}

.btn-submit:disabled {
  background: #aaa;
  cursor: not-allowed;
}

#successView {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: #edf8f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 28px;
  color: #1D9E75;
}

#successView h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 8px;
}

#successView p {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
}
}