@charset "UTF-8";
/* Custom Google Form フロントエンドスタイル */
.cgf-button-wrapper {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}
@media screen and (max-width: 767px) {
  .cgf-button-wrapper {
    display: block; /* flex解除 */
  }

  .cgf-button-wrapper button:nth-child(2) {
    margin-top: 16px;
  }
}


.cgf-button {
  padding: 16px;
  min-width: 320px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #071926;
  color: #fff;
}
.cgf-button:after {
  content: "";
  display: inline-block;
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
  line-height: 1;
  margin-left: .5em;
  vertical-align: text-bottom;
}
.cgf-button span {
  flex: 1;
  line-height: 1;
}
.cgf-button:hover {
  background-color: #005999;
}

.cgf-back-button {
  background-color: #071926;
  flex-direction: row-reverse;
}
.cgf-back-button:after {
  transform: rotate(-135deg);
}

.cgf-submit-button:disabled {
  background-color: #ccc;
}

.cgf-form-wrapper {
  max-width: 928px;
  margin: 0 auto;
  padding: 16px;
}

.cgf-fields .cgf-field, .cgf-fields .cgf-confirm-row {
  display: flex;
  align-items: center;
  column-gap: 32px;
  border-bottom: 1px solid #ccc;
  padding: 24px 0;
}
.cgf-fields .cgf-field:first-child, .cgf-fields .cgf-confirm-row:first-child {
  border-top: 1px solid #ccc;
}
@media all and (max-width: 1023px) {
  .cgf-fields .cgf-field, .cgf-fields .cgf-confirm-row {
    flex-direction: column;
  }
}
.cgf-fields .cgf-field .cgf-label, .cgf-fields .cgf-field .cgf-confirm-label, .cgf-fields .cgf-confirm-row .cgf-label, .cgf-fields .cgf-confirm-row .cgf-confirm-label {
  display: block;
  font-weight: bold;
  width: 160px;
  flex-shrink: 0;
  margin-right: auto;
}
@media screen and (max-width: 1023px) {
  .cgf-fields .cgf-field .cgf-label,
  .cgf-fields .cgf-field .cgf-confirm-label,
  .cgf-fields .cgf-confirm-row .cgf-label,
  .cgf-fields .cgf-confirm-row .cgf-confirm-label {
    width: auto;
  }
}

.cgf-fields .cgf-field .cgf-field-content, .cgf-fields .cgf-confirm-row .cgf-field-content {
  width: 100%;
}
.cgf-fields .cgf-field-select .cgf-field-content {
  position: relative;
}
.cgf-fields .cgf-field-select .cgf-field-content:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-65%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  pointer-events: none; /* クリックを無効化 */
}

.cgf-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}
.cgf-input:focus {
  outline: none;
}
.cgf-input:focus-visible {
  outline-offset: 2px;
}

.cgf-input-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.cgf-options {
  display: flex;
}
.cgf-options.cgf-options--checkbox {
  flex-direction: column;
  gap: 12px;
}
.cgf-options.cgf-options--radio {
  gap: 32px;
}
.cgf-options .cgf-option-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.cgf-options .cgf-option-label:hover {
  background-color: #f5f5f5;
}
.cgf-options .cgf-option-label span {
  flex: 1;
}
.cgf-options .cgf-input-radio, .cgf-options .cgf-input-checkbox {
  margin: 0;
  padding: 0;
}
.cgf-options .cgf-input-radio {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  cursor: pointer;
  appearance: none;
  border: 2px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s;
  padding: 0;
}
.cgf-options .cgf-input-radio:checked {
  border-color: #2C4198;
}
.cgf-options .cgf-input-radio:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #2C4198;
}
.cgf-options .cgf-input-radio:focus {
  outline: none;
}
.cgf-options .cgf-input-radio:focus-visible {
  outline: 2px solid #2C4198;
  outline-offset: 2px;
}
.cgf-options .cgf-input-checkbox {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  cursor: pointer;
  appearance: none;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s, background-color 0.2s;
}
.cgf-options .cgf-input-checkbox:checked {
  border-color: #2C4198;
  background-color: #2C4198;
}
.cgf-options .cgf-input-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -70%) rotate(-45deg);
  width: 12px;
  height: 7px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  box-sizing: border-box;
}
.cgf-options .cgf-input-checkbox:focus {
  outline: none;
}
.cgf-options .cgf-input-checkbox:focus-visible {
  outline: 2px solid #2C4198;
  outline-offset: 2px;
}

.cgf-input-select {
  appearance: none;
}

.cgf-required-mark {
  color: #E50000;
  margin-left: 0.5em;
}

.cgf-field-error {
  color: #E50000;
  font-size: 14px;
  margin-top: 6px;
  display: block;
}

.cgf-field.cgf-has-error .cgf-input:not([type=radio]):not([type=checkbox]) {
  border-color: #E50000;
}
.cgf-field.cgf-has-error textarea.cgf-input {
  border-color: #E50000;
}
.cgf-field.cgf-has-error select.cgf-input {
  border-color: #E50000;
}
.cgf-field.cgf-has-error .cgf-input-radio {
  border-color: #E50000;
}
.cgf-field.cgf-has-error .cgf-input-radio:checked {
  border-color: #E50000;
}
.cgf-field.cgf-has-error .cgf-input-radio:checked::after {
  background-color: #E50000;
}
.cgf-field.cgf-has-error .cgf-input-checkbox {
  border-color: #E50000;
}
.cgf-field.cgf-has-error .cgf-input-checkbox:checked {
  border-color: #E50000;
  background-color: #E50000;
}

.cgf-required .cgf-label::after {
  content: "（必須）";
  color: #E50000;
  white-space: nowrap;
  font-size: 14px;
}

.cgf-loading {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
}

.cgf-step-description {
  margin-bottom: 32px;
  line-height: 1.8;
}
.cgf-step-description p {
  margin: 0 0 1em;
}
.cgf-step-description p:last-child {
  margin-bottom: 0;
}
.cgf-step-description strong, .cgf-step-description b {
  font-weight: bold;
}
.cgf-step-description a {
  color: #2C4198;
  text-decoration: underline;
}
.cgf-step-description a:hover {
  opacity: 0.8;
}

.cgf-message {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cgf-success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.cgf-error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.cgf-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
  font-size: 14px;
  line-height: 1.7142857143;
}
.cgf-steps .cgf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 1;
  border: 1px solid #585959;
  color: #585959;
}
.cgf-steps .cgf-step:not(:first-child) {
  border-left: none;
}
.cgf-steps .cgf-step:not(:last-child) {
  border-right: none;
}
.cgf-steps .cgf-step:not(:last-child):after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  width: 27px;
  height: 27px;
  border-top: 1px solid #585959;
  border-right: 1px solid #585959;
  z-index: -1;
  transform: translateY(-50%) rotate(45deg);
}
.cgf-steps .cgf-step.cgf-step-active {
  background-color: #585959;
}
.cgf-steps .cgf-step.cgf-step-active:not(:last-child):after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 18px solid #585959;
  border-right: none;
  transform: translateY(-50%);
  z-index: -1;
}
.cgf-steps .cgf-step.cgf-step-active .cgf-step-number {
  color: #fff;
}
.cgf-steps .cgf-step.cgf-step-active .cgf-step-label {
  color: #fff;
}
.cgf-steps .cgf-step-number {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}
.cgf-steps .cgf-step-label {
  font-weight: 600;
  padding-top: 7px;
  padding-bottom: 7px;
}

.cgf-step-description {
  white-space: break-spaces;
}

.cgf-thanks-wrapper {
  text-align: center;
  padding: 60px 20px;
}

.cgf-thanks-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.cgf-thanks-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.cgf-thanks-message {
  font-size: 16px;
  line-height: 1.6;
}

/*# sourceMappingURL=style.css.map */
