@charset "UTF-8";

/* ==========================================================================
   Contact form (loaded in an iframe on index.html)
   ========================================================================== */
:root {
  --navy: #0c2144;
  --orange: #f4731f;
  --orange2: #ff8c3a;
  --ink: #182234;
  --sub: #5b6b81;
  --line: #dfe6f0;
  --bg2: #f2f6fb;
}

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

h1,
h2 {
  word-break: auto-phrase;
  line-break: strict;
}

html,
body {
  background: transparent;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

html.is-framed {
  overflow: hidden;
}

.form-wrap {
  background: #fff;
  border-radius: 22px;
  padding: 30px 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.form-wrap .ft {
  text-align: center;
  margin-bottom: 18px;
}

.form-wrap .ft .t {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 5px;
  color: var(--ink);
}

.field label .req {
  background: #d33a2c;
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 800;
  vertical-align: 1px;
}

.field label .opt {
  background: #eef2f7;
  color: var(--sub);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 800;
  vertical-align: 1px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--bg2);
  padding: 0 14px;
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
  height: 46px;
  transition:
    border-color 0.2s,
    background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  line-height: 1.7;
  resize: vertical;
}

.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6b82' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}

.field .err {
  display: none;
  color: #d33a2c;
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
}

.field.is-error input,
.field.is-error select,
.field.is-error textarea {
  border-color: #d33a2c;
  background: #fff6f5;
}

.field.is-error .err {
  display: block;
}

.privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0 6px;
  font-size: 12.5px;
  color: var(--sub);
  font-weight: 600;
}

.privacy input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  accent-color: var(--orange);
  cursor: pointer;
}

.privacy a {
  color: var(--navy);
  font-weight: 800;
}

.submit {
  width: 100%;
  margin-top: 14px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  padding: 19px 24px;
  font-size: 16px;
  font-weight: 900;
  border-radius: 100px;
  box-shadow: 0 10px 26px rgba(244, 115, 31, 0.45);
  font-family: inherit;
  transition:
    transform 0.12s,
    box-shadow 0.2s;
}

.submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(244, 115, 31, 0.55);
}

.submit:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.submit svg {
  width: 20px;
  height: 20px;
}

.send-error {
  margin-top: 12px;
  color: #d33a2c;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}

.note {
  text-align: center;
  font-size: 11.5px;
  color: var(--sub);
  margin-top: 12px;
  font-weight: 600;
}

.thanks {
  text-align: center;
  padding: 24px 8px;
}

.thanks .ic {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #eaf7ee;
  color: #2f9e54;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks .ic svg {
  width: 32px;
  height: 32px;
}

.thanks h2 {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}

.thanks p {
  font-size: 14px;
  color: var(--sub);
}
