  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: "Noto Sans JP", sans-serif;
    font-feature-settings: "palt";
    background: linear-gradient(to right, #fdb551, #fd8ac4, #d193fc);
    font-size: 16px;
    color: #333;
    line-height: 1.5;
  }

  a, a:active, a:visited {
     color: #d193fc;
     text-decoration: underline;
  }

  header {
    width: 100%;
    min-height: 150px;
    text-align: center;
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  header h1 {
    font-size: 2.5vw;
    letter-spacing: 0.135em;
    font-weight: 700;
    margin: 10px 0;
    max-width: 100%;
  }

  header img {
    width: 60%;
    max-width: 500px;
    margin: 7px;
  }

  @media only screen and (min-width: 769px) {
    .sp {
      display: none;	
    }
    
    header h1 {
      font-size: 1.6em;
      letter-spacing: 0.135em;
    }

    header img {
      width: 500px;
    }
  }

  @media only screen and (max-width: 768px) {
    .pc {
      display: none;	
    }
    
    header h1 {
      font-size: 4vw;
      letter-spacing: 0.067em;
    }
  }

  footer {
    width: 100%;
    min-height: 70px;
    text-align: center;
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* フォーム */
  form {
    max-width: 960px;
    width: 100%;
    margin: 20px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  form.form-no-h {
    margin-top: 50px;
  }

  form textarea#career,
  form textarea#contact_content {
    height: 10em;
  }

  input, select {
    -webkit-appearance: none;
    appearance: none;
  }

  input[type="text"],
  input[type="email"],
  input[type="date"],
  select,
  textarea {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 2.5px;
    transition: border 0.3s;
    background: #fff;
  }

  input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="date"]:focus,
  select:focus,
  textarea:focus {
    border-color: #d193fc;
    outline: none;
    box-shadow: 0 0 5px #d193fc;
  }

  input[type="text"]:read-only,
  input[type="email"]:read-only {
    background: transparent;
    border: none;
    font-size: 18px;
  }
  input[type="text"]:read-only,
  input[type="email"]:read-only,
  div.textarea {
    font-size: 1em;
    line-height: 1.4;
    word-wrap: break-word;
  }

  input[type="radio"] {
    margin-right: 10px;
  }

  .flex-row {
    display: flex;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .flex-row input[type="text"] {
    width: 40%;
    max-width: 49%;
    min-width: 49%;
  }

  /* ラベル */
  label {
    font-size: 1em;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    margin-bottom: 1em;
    margin-top: 2em;
    position: relative;
    padding-left: 15px;
  }

  label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 100%;
    background-color: #d193fc;
    border-radius: 3px;
  }

  /* ラジオボタン */
  .radio-wrapper {
    display: flex;
    align-items: center;
  }

  .radio-wrapper input[type="radio"] {
    display: none;
  }

  .radio-wrapper label {
    position: relative;
    padding-left: 25px;
    margin-left: 20px;
    cursor: pointer;
    margin-bottom: 0;
    margin-top: 0;
  }

  .radio-wrapper label:first-of-type {
    margin-left: 0;
  }

  .radio-wrapper label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #d193fc;
    border-radius: 50%;
    background: transparent;
    transition: background-color 0.3s;
  }

  .radio-wrapper input[type="radio"]:checked+label:before {
    background-color: #d193fc;
  }

  .radio-wrapper label:after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    left: 4px;
    top: 50%;
    border-radius: 50%;
    background-color: #d193fc;
    transform: translateY(-50%) scale(0);
    transition: transform 0.3s;
  }

  .radio-wrapper input[type="radio"]:checked+label:after {
    transform: translateY(-50%) scale(1);
  }

  /* チェックボックス */

  .checkbox-wrapper {
    display: flex;
    align-items: center;
  }

  .checkbox-wrapper input[type="checkbox"] {
    display: none;
  }

  .checkbox-wrapper label {
    position: relative;
    padding-left: 25px;
    margin-left: 20px;
    cursor: pointer;
    margin-bottom: 0;
    margin-top: 20px;
  }

  .checkbox-wrapper label:first-of-type {
    margin-left: 0;
  }

  .checkbox-wrapper label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #d193fc;
    border-radius: 4px;
    background: transparent;
    transition: background-color 0.3s;
  }

  .checkbox-wrapper input[type="checkbox"]:checked+label:before {
    background-color: #d193fc;
  }

  .checkbox-wrapper label:after {
    content: "\2713";
    position: absolute;
    font-weight: bold;
    font-size: 12px;
    left: 4px;
    top: 50%;
    color: white;
    transform: translateY(-50%) scale(0);
    transition: transform 0.3s;
  }

  .checkbox-wrapper input[type="checkbox"]:checked+label:after {
    transform: translateY(-50%) scale(1);
  }


  /* フォームボタン */
  input[type="submit"],
  button.submit {
    display: block;
    width: 50%;
    margin: 50px auto;
    padding: 15px 30px;
    font-size: 20px;
    border: none;
    border-radius: 5px;
    background-color: #d193fc;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    appearance: none;
    -webkit-appearance: none;
  }

  input[type="submit"]:hover,
  button.submit:hover {
    background-color: #fd8ac4;
  }

  input[type="submit"]:disabled,
  button.submit:disabled {
    pointer-events: none;
    background: #ccc;
  }

  .form-buttons {
    position: relative;
  }

  .form-buttons input[type="reset"] {
    position: absolute;
    top: 0; right: 0;
  }

  .form-buttons input[type="submit"] {
    width: 35%;
  }

  .form-buttons input[type="reset"] {
    display: block;
    width: 20%;
    margin: 0;
    padding: 15px 30px;
    font-size: 20px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
  }

  @media only screen and (max-width: 960px) {
    .form-buttons input[type="submit"] {
      margin-bottom: 30px;
      width: 80%;
    }
    .form-buttons input[type="reset"] {
      position: relative;
      margin: 0 auto 30px auto;
      width: 50%;
    }
  }

  .form-buttons input[type="reset"]:hover {
    background-color: #666;
  }

  button.btn-back {
    display: block;
    width: 30%;
    margin: 50px auto;
    padding: 15px 30px;
    font-size: 20px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
  }

  button.btn-back:hover {
    background-color: #666;
  }

  @media only screen and (max-width: 960px) {
    button.btn-back {
      width: 40%;
    }
  }

  @media only screen and (max-width: 960px) {
    form {
      width: 90%;
    }
  }

  @media only screen and (max-width: 768px) {
    body {
      font-size: 15px;
    }

    label {
      font-size: 0.95rem;
    }
  }

  .form-complete {
    max-width: 960px;
    width: 100%;
    margin: 20px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  @media only screen and (max-width: 960px) {
    .form-complete {
      width: 90%;
    }
  }

  /* コンテナ */
  .main-container {
    width: 100%;
    max-width: 960px;
    background-color: #fff;
    margin: 40px auto 0 auto;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  @media only screen and (max-width: 960px) {
    .main-container {
      width: 90%;
      padding: 30px;
    }
  }

  .application-requirements,
  .main-container h2 {
    margin-bottom: 40px;
  }

  .application-requirements {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .application-requirements p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 0.75em;
    width: 80%;
    max-width: 650px;
  }

  .application-requirements p.al {
    text-align: left;
  }

  .application-requirements ul {
    list-style-type: none;
    padding-left: 0;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
  }

  .application-requirements li {
    position: relative;
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 0.75em;
    padding-left: 1em;
    line-height: 1.5;
    text-align: left;
  }

  .arrow-down {
    color: #fd8ac4;
    font-size: 28px !important;
  }

  .application-requirements.terms {
    text-align: left;
  }

  .application-requirements.faq > div,
  .application-requirements.faq div,
  .application-requirements.faq p,
  .application-requirements.terms div,
  .application-requirements.terms p {
    width: 100%;
    max-width: 850px;
    text-align: left;
    font-size: 1em;
  }

  .application-requirements.terms div {
    margin-bottom: 1em;
  }

  .application-requirements.terms p.terms-heading {
    font-weight: 500;
  }

  .application-requirements.terms div.ar p {
    text-align: right;
  }

  .application-requirements p.faq-q {
    font-weight: 500;
    text-align: left;
  }

  .application-requirements.faq div.faq-q,
  .application-requirements.faq div.faq-q p {
    font-weight: 500;
    color: #fd8ac4;
  }

  .application-requirements p.faq-a {
    margin-bottom: 2em;
    text-align: left;
  }
 
  .application-requirements.faq > div {
    margin-bottom: 2em;
  }

  .application-requirements.faq div.faq-q,
  .application-requirements.faq div.faq-a {
    display: flex;
  }

  .application-requirements.faq div.faq-q:before {
    display: block;
    content: "Q.";
    width: 2em;
  }

  .application-requirements.faq div.faq-a:before {
    display: block;
    content: "A.";
    width: 2em;
  }

  .application-requirements.faq div .strong {
    font-weight: 500;
  }

  /* 見出し */

  h2 {
    background-color: #fd8ac4;
    text-align: center;
    font-size: 26px;
    font-weight: 500;
    color: #4f4f4f;
    letter-spacing: 0.135em;
    width: 100%;
    max-width: 900px;
    min-height: 60px;
    border-radius: 5px;
    line-height: 1.2;
    margin: 0 auto 40px auto;
    padding: 0.5em;
  }

  @media only screen and (max-width: 960px) {
    h2 {
      font-size: 1.5em;
      min-height: 2.2em;
    }
  }

  h3 {
    width: 80%;
    max-width: 650px;
    height: 60px;
    border: 1px solid #fd8ac4;
    border-radius: 5px;
    font-size: 28px;
    letter-spacing: 0.135em;
    font-weight: 300;
    line-height: 60px;
    margin-bottom: 0.75em;
    text-align: center;
  }

  .form-heading {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 2.2em;
    line-height: 1.3;
    background-color: transparent;
    color: #fff;
    margin: 20px auto;
  }

  .form-heading-entry {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    font-family: "bc-alphapipe", sans-serif;
    font-size: 58px;
    background-color: transparent;
    color: #fff;
    margin: 40px auto 40px auto;
  }

  @media only screen and (max-width: 960px) {
    .form-heading {
      width: 90%;
      margin: 0.8em auto 0.8em auto;
      font-size: 2em;
    }

    .form-heading-entry {
      width: 90%;
      margin: 0.8em auto 0.8em auto;
      font-size: 3.5em;
    }
  }

  /* リスト */

  ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 650px;
    margin: 0 auto;
  }

  li {
    position: relative;
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 0.75em;
    padding-left: 1em;
    line-height: 1.4;
    width: 100%;
    text-align: left;
  }

  li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d193fc;
  }

  .application-intro {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 0.75em;
    text-align: left;
    width: 100% !important;
    max-width: 650px;
  }

  .date-select {
    display: flex;
    align-items: center;
  }

  .date-select select,
  .date-select span {
    margin-right: 8px;
  }

  .date-select select {
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 2.5px;
    min-width: 0;
  }

  .entry-form-text {
    text-align: left;
    font-size: 1.2em;
  }

  .entry-form-text {
    padding: 1em 0;
    text-align: left;
  }

  .entry-form-line {
    border-bottom: 1px solid #333;
  }

  .mail-form-text,
  .contact-form-text {
    padding: 1em 0;
    text-align: left;
    font-size: 1.2em;
  }

  .mail-form-text-3 {
    font-size: 1.4em;
  }
  
  .mail-form-text-2 {
    text-align: left;
  }

  @media only screen and (max-width: 960px) {
    .mail-form-text-2 {
      font-size: 0.8em;
    }
  }

  .notice {
    margin: 20px 0;
    color: #fd8ac4;
  }
  
  .mail-form-text-3 .notice {
    font-size: 0.8em;
  }
  
  .note {
    margin: 20px 0;
    font-size: 0.8em;
  }
  
  .bold {
    font-weight: 700;
  }

  /* ボタン */
  
  .entry_itemWrap .entry_btn {
    display: block;
    width: 60%;
    margin: 100px auto 50px auto;
    padding: 10px 30px;
    text-align: center;
    font-size: 2em;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    background-color: #d193fc;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .entry_itemWrap .entry_btn:hover {
    background-color: #fd8ac4;
  }
  
  @media only screen and (max-width: 960px) {
    .entry_itemWrap .entry_btn {
      width: 80%;
    }
  }
  .top_btn {
    display: block;
    width: 40%;
    margin: 100px auto 0 auto;
    padding: 10px 30px;
    text-align: center;
    font-size: 1em;
    text-decoration: none !important;
    border: none;
    border-radius: 5px;
    background-color: #d193fc;
    color: #fff !important;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .top_btn:hover {
    background-color: #fd8ac4;
  }

  @media only screen and (max-width: 960px) {
    .top_btn {
      width: 70%;
    }
  }

  /* フッターブランド表記 */

  .brand-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
  }

  .brand-logo {
    max-width: 135px;
    margin-bottom: 40px;
  }

  .brand-links {
    display: flex;
    gap: 40px;
  }

  @media only screen and (max-width: 960px) {
    .brand-links {
    gap: 2em;
      font-size: 0.8em;
    }
  }

  .brand-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
  }

  .brand-links a:hover {
    color: #0078d4;
  }

/* Z-INDEX */
 .formError { z-index: 990; }
    .formError .formErrorContent { z-index: 991; }
    .formError .formErrorArrow { z-index: 996; }

    .ui-dialog .formError { z-index: 5000; }
    .ui-dialog .formError .formErrorContent { z-index: 5001; }
    .ui-dialog .formError .formErrorArrow { z-index: 5006; }




.inputContainer {
	position: relative;
	float: left;
}

.formError {
	position: absolute;
	top: 300px;
	left: 300px;
	display: block;
	cursor: pointer;
	text-align: left;
}

.formError.inline {
	position: relative;
	top: 0;
	left: 0;
	display: inline-block;
}

.ajaxSubmit {
	padding: 20px;
	background: #55ea55;
	border: 1px solid #999;
	display: none;
}

.formError .formErrorContent {
	width: 100%;
	background: #fff;
	position:relative;
	color: #f00;
	min-width: 120px;
	font-size: 0.8em;
	border: 1px solid #f00;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
	padding: 4px 10px 4px 10px;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-o-border-radius: 0;
	margin: 10px 0 0 10px;
}

.formError.inline .formErrorContent {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
	border: none;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-o-border-radius: 0;
}

.greenPopup .formErrorContent {
	background: #33be40;
}

.blackPopup .formErrorContent {
	background: #393939;
	color: #FFF;
}

.formError .formErrorArrow {
	display: none;
	width: 15px;
	margin: -2px 0 0 13px;
	position:relative;
}
body[dir='rtl'] .formError .formErrorArrow,
body.rtl .formError .formErrorArrow {
	margin: -2px 13px 0 0;
}

.formError .formErrorArrowBottom {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
	margin: 0px 0 0 12px;
	top:2px;
}

.formError .formErrorArrow div {
	border-left: 2px solid #ddd;
	border-right: 2px solid #ddd;
	box-shadow: 0 2px 3px #444;
	-moz-box-shadow: 0 2px 3px #444;
	-webkit-box-shadow: 0 2px 3px #444;
	-o-box-shadow: 0 2px 3px #444;
	font-size: 0px;
	height: 1px;
	background: #ee0101;
	margin: 0 auto;
	line-height: 0;
	font-size: 0;
	display: block;
}

.formError .formErrorArrowBottom div {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
}

.greenPopup .formErrorArrow div {
	background: #33be40;
}

.blackPopup .formErrorArrow div {
	background: #393939;
	color: #FFF;
}

.formError .formErrorArrow .line10 {
	width: 13px;
	border: none;
}

.formError .formErrorArrow .line9 {
	width: 11px;
	border: none;
}

.formError .formErrorArrow .line8 {
	width: 11px;
}

.formError .formErrorArrow .line7 {
	width: 9px;
}

.formError .formErrorArrow .line6 {
	width: 7px;
}

.formError .formErrorArrow .line5 {
	width: 5px;
}

.formError .formErrorArrow .line4 {
	width: 3px;
}

.formError .formErrorArrow .line3 {
	width: 1px;
	border-left: 2px solid #ddd;
	border-right: 2px solid #ddd;
	border-bottom: 0 solid #ddd;
}

.formError .formErrorArrow .line2 {
	width: 3px;
	border: none;
	background: #ddd;
}

.formError .formErrorArrow .line1 {
	width: 1px;
	border: none;
	background: #ddd;
}
