.contact-page .contact-content {
  padding: 32px 32px 48px 32px;
  background: #fff;
}

.contact-page .container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.contact-page .site-content.contact-content {
  flex: 1 0 auto;
  margin-bottom: 20px;
}

.contact-panel {
  width: 100%;
  color: #000;
  font-family: "Noto Sans JP", "メイリオ", Meiryo, sans-serif;
}

.contact-panel h2 {
  margin: 0 0 16px;
  padding: 6px 16px;
  height: 48px;
  box-sizing: border-box;
  border-radius: 8px;
  background: #00b1ec;
  color: #fff;
  font-size: 16px;
  line-height: 36px;
  font-weight: bold;
}

.contact-panel h2 + .contact-intro {
  margin-top: 0;
}

.contact-intro {
  margin: 0 15px 32px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-table {
  width: 100%;
  overflow: hidden;
}

.contact-row {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #fff;
}

.contact-label {
  display: flex;
  flex: 0 0 240px;
  box-sizing: border-box;
  min-height: 52px;
  padding: 10px 15px;
  align-items: flex-start;
  justify-content: flex-start;
  background: #d1f1fd;
  font-size: 14px;
  line-height: 1.5;
}

.contact-label-line {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  line-height: 1.5;
}

.contact-field {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 15px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #f5f5f5;
  font-size: 14px;
  line-height: 1.5;
}

.contact-input,
.contact-textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, .1);
  font: inherit;
}

.contact-input {
  height: 32px;
  padding: 4px 8px;
}

.contact-textarea {
  height: 128px;
  padding: 8px;
  resize: vertical;
}

.required {
  display: inline-flex;
  min-width: 28px;
  height: 32px;
  box-sizing: border-box;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #ee6d01;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.contact-example,
.contact-note {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.contact-note {
  margin-top: 0;
}

.contact-error {
  display: block;
  color: #d00;
  font-size: 13px;
  line-height: 1.5;
}

.contact-error-common {
  margin: -4px 0 16px;
  padding: 10px 15px;
  background: #fff1f1;
}

.postal-line {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
}

.postal-input {
  width: 80px;
}

.address-button {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #e39a00;
  border-radius: 4px;
  background: linear-gradient(#ffc051, #ffa300);
  color: #000;
  font-size: 14px;
  cursor: pointer;
}

.agreement-box {
  margin-top: 12px;
  padding: 15px;
  background: #f5f5f5;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.agreement-box p {
  margin: 0 0 10px;
}

.agreement-box label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  color: #000;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}

.agreement-box input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, .1);
  flex: 0 0 16px;
  cursor: pointer;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
}

.agreement-box input[type="checkbox"]:checked {
  background-color: #00B1EC;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.agreement-box input[type="checkbox"]:focus-visible {
  outline: 2px solid #333;
  outline-offset: 2px;
}

.agreement-box a {
  color: #000;
  text-decoration: underline;
}

.turnstile-box {
  display: flex;
  min-height: 72px;
  margin-top: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.contact-submit {
  display: flex;
  margin: 16px 0 0;
  justify-content: center;
}

.contact-button {
  display: inline-flex;
  width: 300px;
  height: 80px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  border: 2px solid #fff;
  border-radius: 8px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, .16);
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.contact-button-primary {
  background: linear-gradient(#ffc051, #ffa300);
  color: #fff;
}

.contact-button-primary:disabled {
  background: #c8c8c8;
  color: #fff;
  cursor: not-allowed;
}

.confirm-actions {
  display: flex;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-button-back {
  width: 160px;
  background: linear-gradient(#e3e3e3, #c0c0c0);
  color: #000;
}

.contact-button-send {
  width: 300px;
}

.contact-confirm-value {
  white-space: pre-line;
  justify-content: center;
}

.contact-complete-panel .completion-copy {
  margin: 0 15px;
  font-size: 16px;
  line-height: 1.5;
}

.contact-complete-panel .completion-copy p + p {
  margin-top: 16px;
  font-size: 14px;
}

.policy-page .contact-content {
  border-radius: 8px;
}

.policy-content {
  margin: 0 15px;
  font-size: 14px;
  line-height: 1.5;
  text-align: justify;
}

.policy-content .policy-lead {
  margin: 0 0 32px;
  font-size: 16px;
}

.policy-content .policy-date {
  margin: 0;
  text-align: right;
}

.policy-content section {
  margin-top: 32px;
}

.policy-content h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
}

.policy-content p {
  margin: 0 0 16px;
}

.policy-content ul,
.policy-content ol {
  margin: 0;
  padding-left: 21px;
}

.policy-content ul {
  list-style: disc;
}

.policy-content ol {
  list-style: decimal;
}

.policy-content li {
  margin: 0;
  padding-left: 0;
}

.policy-content .bold {
  font-weight: bold;
}

