.container {
  --COLOR_GREEN: #3ab483;
  --COLOR_GREEN_LIGHT: #5cd8a4;
  --COLOR_WHITE: #fff;
  --COLOR_BLACK: #231815;
  --COLOR_RED: #f00;
  --COLOR_PINK: #f4f6f5;
  --COLOR_PINK_LIGHT: #fee;
  --COLOR_GRAY_400: #b9c6cf;
  --COLOR_GRAY_300: #d8d8d8;
  --COLOR_GRAY_200: #eee;
  --TRANSITION: .3s ease-out;
  
  max-width: 960px;
  border: 0;
  font-family: 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-size: 1.6rem;
  line-break: strict;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-size-adjust: 100%;
  text-spacing-trim: trim-start;
  text-autospace: normal;
  white-space: normal;
}

.form-column {
  margin-top: 40px
}

  
/* 先頭セクション（画面遷移のスクロール位置調整） */
.form-column-dbf2d134-b5a5-4a6c-a686-2cde18089db8 {
  margin-top: 16px;
}

.badge {
  margin-left: 8px;
  font-size: 1.4rem;
}

.badge-required {
  padding: 0 !important;
  color: var(--COLOR_RED);
}

.label {
  position: relative;
  margin-block: 40px 16px;
  padding-left: 18px;
  font-size: 1.8rem;

  /* / */
  &::before {
    position: absolute;
    top: 2px;
    left: 4px;
    display: block;
    width: 3px;
    height: 24px;
    content: '';
    background-color: var(--COLOR_GREEN);
    transform: skew(-18deg);
  }
  
  /* 先頭セクション */
  &#dbf2d134-b5a5-4a6c-a686-2cde18089db8-label {
    margin-top: 0
  }
}

input:is([type="email"], [type="tel"], [type="text"]),
select,
textarea {
  width: 100% !important;
  max-width: 100% !important;
  padding: 16px 24px;
  border: 1px solid var(--COLOR_GRAY_200);
  background-color: var(--COLOR_PINK);
  transition: border-color var(--TRANSITION);

  &:focus-visible {
    border-color: var(--COLOR_GRAY_400);
  }

  @media (hover: hover) {
    &:hover {
      border-color: var(--COLOR_GRAY_400);
    }
  }
}

.mt-invalid {
  background-color: var(--COLOR_PINK_LIGHT);
}

input[type="file"] {
  text-align: center;
  
  &::file-selector-button {
    display: block;
    width: 100%;
    max-width: 128px;
    padding: 16px 0;
    border: 1px solid var(--COLOR_GRAY_300);
    color: var(--COLOR_BLACK);
    background-color: var(--COLOR_WHITE);
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    
    @media (400px <= width) {
      margin: auto;
      max-width: 340px;
    }
  }
}

textarea {
  field-sizing: content;
  min-height: min-content;
}

fieldset {
  padding: 0;
  border: 0;
}

legend.label {
  padding-left: 18px;
  
  .badge-required {
    margin-left: 8px;
    background-color: transparent;
    color: var(--COLOR_RED);
  }
}

.input-group:has(input[type="radio"]) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 40px;
}


input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--COLOR_GRAY_300);
  border-radius: 0
  background-color: var(--COLOR_PINK);
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  vertical-align: middle;
  transition: border-color var(--TRANSITION);

  &::before {
    content: "";
    width: 12px;
    height: 12px;
    transform: scale(0);
    background-color: var(--COLOR_GREEN);
  }

  &:checked {
    &::before {
      transform: scale(1);
    }
  }

  &:focus-visible {
    border-color: var(--COLOR_GRAY_400);
  }

  @media (hover: hover) {
    &:hover {
      border-color: var(--COLOR_GRAY_400);
    }
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
}

.option {
  display: flex;
  align-items: center;
  gap: 8px;
}


/* 当社へのご提案や協業をご希望の方 ＆ 個人情報の取り扱い */
.help-block, .description-block {
  color: var(--COLOR_BLACK);
  line-height: 1.8;
  
  p {
    margin-top: 8px;
  }
  
  strong {
    display: inline-block;
    margin-top: 24px;
  }
  
  a {
    color: var(--COLOR_GREEN);
    text-decoration: underline;
    transition: color var(--TRANSITION);
    
    &:focus-visible {
      color: var(--COLOR_GREEN_LIGHT);
    }

    @media (hover: hover) {
      &:hover {
        color: var(--COLOR_GREEN_LIGHT);
      }
    }
  }
}

/* 当社へのご提案や協業をご希望の方 */
.form-column-f577f389-f49b-47db-abaf-1724752055cb {
  margin-bottom: 0;
  padding: 32px 32px 0;
  border-top: 1px solid var(--COLOR_GRAY_300);
  border-right: 1px solid var(--COLOR_GRAY_300);
  border-left: 1px solid var(--COLOR_GRAY_300);
  
  strong {
    display: inline-block;
    margin-block: 0 16px;
    font-size: 1.8rem;
    color: var(--COLOR_BLACK);
  }
  
  .description-block {
    margin-bottom: 0;
  }
  
  a {
    display: inline-block;
    margin-top: 24px;
    color: var(--COLOR_GREEN);
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    transition: color var(--TRANSITION);

    &:focus-visible {
      border-color: var(--COLOR_GRAY_400);
    }

    @media (hover: hover) {
      &:hover {
        border-color: var(--COLOR_GRAY_400);
      }
    }
  
    
    /* アイコン（クロスオリジンの関係で表示不可） */
/*     &::after {
      position: absolute;
      content: "";
      top: 0;
      bottom: 0;
      right: 20px;
      display: block;
      width: 12px;
      height: 12px;
      margin: auto;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"><path d="M1.33398 8V11.3333H10.6673V8" stroke="%23616466"/><path d="M2 4.33337L6 8.33337M6 8.33337L10 4.33337M6 8.33337V0.333374" stroke="%233AB483"/></svg>');
      background-size: 12px 12px;
    } */
  }
}

.restriction.restriction-max-file-size {
  margin-left: 0
}

/* ファイルの選択 */
.form-column-6031fce3-3137-43c2-92b0-57a48e3b3a27 {
  margin-top: 0;
  padding: 24px 32px;
  border-right: 1px solid var(--COLOR_GRAY_300);
  border-bottom: 1px solid var(--COLOR_GRAY_300);
  border-left: 1px solid var(--COLOR_GRAY_300);
  
  .label {
    margin-block: 0 8px;
    padding-left: 0;
    font-size: 1.4rem;
    font-weight: normal;
    
    &::before {
      display: none
    }
  }
}

.button-group {
  text-align: center
}

.button {
  position: relative;
  display: inline-block;
  width: 336px;
  margin: 40px auto;
  padding: 24px 44px;
  outline: 1px solid var(--COLOR_GREEN);
  border: 0;
  border-radius: 0;
  color: var(--COLOR_BLACK);
  font-weight: bold;
  
  &:focus-visible {
    outline-width: 2px;
  }

  @media (hover: hover) {
    &:hover {
      outline-width: 2px;
    }
  }
  
  /* 3ドット */
  &::after {
    position: absolute;
    content: '';
    top: 0;
    right: 24px;
    bottom: 0;
    width: 12px;
    height: 8px;
    margin: auto;
    background: 
      linear-gradient(var(--COLOR_GREEN),var(--COLOR_GREEN)) 0 0 / 4px 4px,linear-gradient(var(--COLOR_GREEN),var(--COLOR_GREEN)) 8px 0 / 4px 4px,linear-gradient(var(--COLOR_GREEN),var(--COLOR_GREEN)) 4px 4px / 4px 4px;
    background-repeat: no-repeat;
    rotate: -90deg;
  }
  
  
  &.button-back {
    &::after {
      right: auto;
      left: 24px;
      rotate: 90deg;
    }
  }
  
  &.button-submit {
    background-color: var(--COLOR_GREEN);
    color: var(--COLOR_WHITE);
  }
}

.grecaptcha-badge {
  margin: auto
}

.message-block-error {
  margin-bottom: 48px;
  padding: 48px;
  border: 0;
  border-radius: 0;
  background-color: var(--COLOR_PINK_LIGHT);
  line-height: 1.8;
  color: var(--COLOR_RED);
  
  ul {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding-left: 0;
  }
  
  li {
    position: relative;
    padding-left: 28px;
    list-style-type: "";
    
    &::before,
    &::after {
      position: absolute;
      bottom: 0;
      display: block;
      content: '';
    }

    /* ■ */
    &::before {
      top: 4px;
      left: 0;
      width: 20px;
      height: 20px;
      background-color: var(--COLOR_GRAY_300);
    }

    /* 3ドット */
    &::after {
      top: 10px;
      left: 4px;
      width: 12px;
      height: 8px;
      background: 
        linear-gradient(var(--COLOR_GREEN),var(--COLOR_GREEN)) 0 0 / 4px 4px,linear-gradient(var(--COLOR_GREEN),var(--COLOR_GREEN)) 8px 0 / 4px 4px,linear-gradient(var(--COLOR_GREEN),var(--COLOR_GREEN)) 4px 4px / 4px 4px;
      background-repeat: no-repeat;
    }
  }
    
  a {
    display: inline-block;
    color: var(--COLOR_RED);
    text-decoration: none;
    
    &:focus-visible {
      text-decoration: underline;
    }

    @media (hover: hover) {
      &:any-link:hover {
        text-decoration: underline;
      }
    }
  }
}


.message-block-confirmation {
  margin-block: 16px 64px; 
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
}

.message-block-complete {
  text-align: center;
  font-size: 2rem;
}