@charset "utf-8";

* {
  /* border: 1px solid red; */
}

body {
  background-color: #ffffff;
}

section {
  padding-bottom: 0;
}

/* パララックス */
.parallax_box {
  height: 50vh;
  overflow: hidden;
}
.parallax_content {
  display: flex;
  height: 100%;
  /* padding: 100%; */
  justify-content: center;
  align-items: center;

  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  font-size: 0.75rem;
  color: #ffffff;
}
.img_bg_01 {
  background-image: url(../image/service_page_bg.jpg);
  /* line-height: 4rem; */
  text-align: center;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

button,
input,
optgroup,
select,
textarea {
  width: 100%;
  border: 1px solid #999999;
}

#contact .inner {
  position: relative;
  top: -100px;
}

#contact .page_ttl {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 32px;
  padding: 24px 16px 0;
  background-color: #fff;
  line-height: 3.5rem;
  border-radius: 16px;
}

#contact .page_ttl::before {
  content: "CONTACT";
  color: #fcedf4 !important;
  font-size: 2.5rem;
  padding-top: 24px;
}

/* コンタクトフォームのスタイル */
.contact_form {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.required {
  color: #ff3e98;
  margin-left: 5px;
}

.privacy-box {
  background: #f5f5f5;
  padding: 15px;
  margin: 10px 0;
  font-size: 14px;
  border-radius: 4px;
  height: 150px;
  overflow-y: auto;
}

.submit-btn {
  background-color: #2e86de;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #1c71c7;
}

.form-btn {
  text-align: center;
  margin-top: 30px;
}

.wpcf7-not-valid-tip {
  color: #ff3e98;
  font-size: 14px;
  margin-top: 5px;
}

.wpcf7-response-output {
  border: 2px solid #ff3e98;
  padding: 10px;
  margin: 20px 0;
}

.wpcf7-list-item {
  display: inline-block;
  margin-left: 0;
}

.wpcf7-acceptance input[type="checkbox"] {
  display: inline-block !important;
  opacity: 1 !important;
  position: static !important;
  margin-right: 5px !important;
  width: auto !important;
  height: auto !important;
}

.acceptance-wrapper {
  margin-top: 15px;
}

/* チェックボックスを強制表示する */
.custom-checkbox {
  display: flex;
  align-items: center;
  margin: 15px 0;
}

.custom-checkbox .wpcf7-list-item {
  display: flex !important;
  align-items: center;
  margin: 0;
}

.custom-checkbox input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  width: 16px !important;
  height: 16px !important;
  margin-right: 8px !important;
  position: static !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* リストスタイルの削除 */
.wpcf7-list-item-label::before {
  content: none !important;
}

.wpcf7-list-item {
  list-style-type: none !important;
}

ul.wpcf7-list-item {
  list-style: none !important;
  padding-left: 0 !important;
}

@media (min-width: 1024px) {
  section {
    padding: 200px 0 0;
  }

  .contact_intro p {
    line-height: 3rem;
  }

  .contact_intro p:nth-child(1) {
    margin-top: 40px;
  }

  .parallax_box {
    height: 70vh;
  }
  .parallax_content {
    font-size: 1.125rem;
  }
  .pc_none {
    display: none;
  }
  #contact .inner {
    top: -275px;
  }
  .contact_form {
    max-width: 800px;
    margin: 80px auto 0;
  }

  #contact .page_ttl {
    padding: 32px 16px 0;
  }
  #contact .page_ttl::before {
    font-size: 3rem;
    padding-top: 32px;
  }
}

/* 共通のパララックス修正 - モバイルデバイス向け */
@media (max-width: 767px) {
  .parallax_content {
    /* モバイルでは固定背景を解除 */
    background-attachment: scroll !important;
    /* 背景位置を調整 */
    background-position: center center !important;
  }

  /* 背景サイズの調整 */
  .img_bg_01 {
    background-size: cover !important;
  }
}

/* iOS Safari 特有の問題に対応 */
@supports (-webkit-touch-callout: none) {
  /* iOS Safariに特化した修正 */
  .parallax_content {
    background-attachment: scroll !important;
    background-position: center center !important;
  }
}
