@charset "utf-8";
html {
	height: -webkit-fill-available;
  font-size: 62.5%;
}
body {
	font-family: "Noto Sans JP", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  height: 100%;
}
@media (min-width: 769px) {
  body {
    font-size: 1.7rem;
  }
}

.pc_area {
	display: none !important;
}
.sp_area {
	display: block !important;
}
 @media (min-width: 769px) {
.pc_area {
	display: block !important;
}
.sp_area {
	display: none !important;
}
}

.pc-only {
  display: none;
}

@media screen and (min-width: 769px) {
  .pc-only {
    display: inline;
  }
}

.sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: inline;
  }
}


.form-wrap {
    max-width: 1100px;
    text-align: center;
    margin: 0 auto;
}

.form-wrap h1{
  text-align: center;
  font-size: 3rem;
}

.form-imgtop {
    max-width: 300px;
    height: auto;
    margin-top: 50px;
}

.title-text {
  text-align: center;
  margin-top: 50px;
}

.bold {
  text-align: center;
  margin: 30px 0;
  font-weight: 700;
}

.form-news {
    margin-top: 50px;
    text-align: center;
}

.form-news p{
  text-align: center;
}

.domain {
  margin: 30px;
}

.form-apply {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
}

.form-ul {
    text-align: left;
    list-style: disc;
    padding-left: 3em; 
    margin: 0 0 1em; 
}


.form-footer {
    padding: 50px 0;
  }

  .form-footer p,
  .form-footer a{
    text-align: center;
  }

  .form-footer a{
    margin-bottom: 20px;
  }
  
  @media (max-width: 768px) {
    body {
        max-width: 100%;
        width: auto;
        padding: 3%;
    }

    .domain {
        margin: 50px 0;
    }
    .form-img {
        max-width: 100%;
        height: auto;
    }

    .form-news p{
      text-align: left;
    }

    .form-news,.title-text,.form-footer {
        text-align: left;
    }

    .bold,.domain {
        text-align: center !important;
    }
}

/* Contact Form 7 */

.wpcf7 {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
}

.wpcf7 .form-row {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.wpcf7 .form-label {
  width: 200px;
  flex-shrink: 0;
  font-weight: bold;
  position: relative;
  padding-right: 15px;
  box-sizing: border-box;
}

.wpcf7 .form-label.required:after {
  content: "必須";
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 3px 5px;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  color: #FFF;
  background: #d43115;
  border-radius: 3px;
}

.wpcf7 .wpcf7-form-control-wrap {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.wpcf7 .input-text,
.wpcf7 .input-select,
.wpcf7 .wpcf7-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1rem;
  font-family: "Noto Sans JP", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
  font-size: 1.5rem !important;
}

.wpcf7 .js-btn-wrap {
  text-align: center;
  margin-top: 30px;
  display: block;
}

.wpcf7 .js-confirm-btn,
.wpcf7 .js-return-btn,
.wpcf7 .wpcf7-submit {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 10px;
  transition: opacity 0.3s;
}

.wpcf7 .js-confirm-btn,
.wpcf7 .wpcf7-submit {
  background-color: #007bff;
  color: #fff;
  margin: 0 auto;
  display: block;
}
.wpcf7 .js-confirm-btn:hover,
.wpcf7 .wpcf7-submit:hover {
  opacity: 0.8;
}

.wpcf7 .js-return-btn {
  background-color: #6c757d;
  color: #fff;
}
.wpcf7 .js-return-btn:hover {
  opacity: 0.8;
}

.wpcf7 .js-confirm-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.wpcf7 .input-text::placeholder,
.wpcf7 .input-text::-webkit-input-placeholder,
.wpcf7 .input-text::-moz-placeholder,
.wpcf7 .input-text:-ms-input-placeholder,
.wpcf7 .wpcf7-textarea::placeholder,
.wpcf7 .wpcf7-textarea::-webkit-input-placeholder,
.wpcf7 .wpcf7-textarea::-moz-placeholder,
.wpcf7 .wpcf7-textarea:-ms-input-placeholder {
  font-family: "Noto Sans JP", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
  color: #aaa; 
  font-size: 1.5rem !important;
}

.wpcf7 .input-text::-moz-placeholder,
.wpcf7 .wpcf7-textarea::-moz-placeholder {
  opacity: 1;
}

.wpcf7 .other-field-wrap {
  display: none;
  width: 100%;
  margin-top: 10px; 
}

.wpcf7 [aria-hidden="true"] {
  display: none !important;
}

.wpcf7 [aria-hidden="false"] {
  display: block !important;
}

.wpcf7 .js-secondstep[aria-hidden="false"] {
    display: block !important;
}

.wpcf7 .input-text,
.wpcf7 .wpcf7-textarea {
  font-size: 1.6rem !important;
}


@media screen and (max-width: 768px) {
  .wpcf7 .form-row {
    display: block;
  }

  .wpcf7 .form-label {
    width: auto;
    display: block;
    margin-bottom: 8px;
    padding-right: 0;
  }
  
}

.span[data-name="hcap-cf7"]~input[type="submit"], span[data-name="hcap-cf7"]~button[type="submit"]{
  display: block;
}

.privacy-consent-wrapper {
  width: 100%;
  margin: 20px 0 30px 0;
  text-align: center;
}

.privacy-consent-label {
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
  width: auto !important;
  float: none !important;
}

/* モーダルの基本設定 */
.simple-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; 
  overflow-x: hidden; 
  background-color: rgba(0,0,0,0.6);
  box-sizing: border-box;
}

/* 表示された時の設定 */
.simple-modal.show {
  display: block;
}

/* モーダルの中身 */
.simple-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px; 
  border: 1px solid #888;
  width: 90%; 
  max-width: 800px; 
  border-radius: 8px;
  position: relative;
  box-sizing: border-box; 
  word-break: break-all;
}

/* ×ボタン */
.simple-modal-close {
  position: absolute;
  top: 5px; 
  right: 15px;
  font-size: 36px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  line-height: 1; 
}

@media screen and (max-width: 768px) {
  .simple-modal-content {
    margin: 10% auto; 
    width: 92%;
    padding: 15px;
  }
}