.c-pageLayout__main{
  background-color: #F0EBDC;
}

.co-form__container.-name {
  flex-direction: row;
  --input-width: 100%;
}

.co-input {
  width: 100%;
  max-width: 350px;
  font-size: 1.35rem;
}

.form-container {
  max-width: 700px;
  width: 100%;
  margin: 8rem auto 0;
  padding: 0 1rem;
}

.co-information__body {
  max-width: 800px;
  width: 100%;
  margin: 8rem auto;
  padding: 0 1rem;
}

.c-article__text {
  text-align: left;
}

.corp-indexHeader__title {
  margin: 3rem 0 0 .3rem;
}

.file-upload-wrapper {
  border-radius: 4px;
  padding: 10px;
  background-color: #f9f9f9;
  min-height: 50px;
  display: flex;
  align-items: center;
  max-width: 350px;
  width: 100%;
}
.file-upload-wrapper input[type="file"] {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  width: auto;
}

.file-upload-wrapper input[type="file"]::-webkit-file-upload-button {
  background-color: #F6E500;
  color: #333;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  margin-right: 10px;
}

.file-upload-wrapper input[type="file"]::-webkit-file-upload-button:hover {
  background-color: #f1c40f;
}

span.link-text{
  font-size: 1.3rem;
  display: block;
  margin-left: 1.6rem;
}

.c-articleText p {
  margin: 0 0 1rem;
}

/* FAQセクションのスタイル */
.faq-container {
  max-width: 800px;
  width: 100%;
  margin: 4rem auto;
  padding: 0 2rem 8rem;
}

.faq-title {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  overflow: hidden;
}

.faq-question {
  font-size: 1.4rem;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: #fff;
  transition: background-color 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-number {
  font-weight: bold;
  margin-right: 1rem;
  color: #333;
  min-width: 2rem;
}

.faq-text {
  flex: 1;
  color: #333;
  line-height: 1.6;
}

.faq-icon {
  margin-left: auto;
  transition: transform 0.3s ease;
  transform-origin: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.faq-icon i {
  font-size: 0.8rem;
  color: #666;
  transition: transform 0.3s ease;
}



.faq-answer {
  font-size: 1.4rem;
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid #eee;
  background-color: #f9f9f9;
  transition: max-height 0.25s ease-out, padding 0.25s ease-out;
  opacity: 0;
}

.faq-answer.active {
  max-height: 200px;
  opacity: 1;
  padding: 1.5rem;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: #fff;
  transition: background-color 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-number {
  font-weight: bold;
  margin-right: 1rem;
  color: #333;
  min-width: 2rem;
}

.faq-text {
  flex: 1;
  color: #333;
  line-height: 1.6;
}

.faq-icon {
  margin-left: auto;
  transition: transform 0.25s ease-out;
  transform-origin: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.faq-icon i {
  font-size: 0.8rem;
  color: #666;
  transition: transform 0.25s ease-out;
}

.faq-item.active .faq-icon i {
  transform: rotate(90deg);
}



@media screen and (max-width: 768px) {
  .co-input {
      max-width: 100%;
  }

  .file-upload-wrapper {
      max-width: 100%;
      flex-direction: column;
      align-items: center;
      padding: 15px;
      text-align: center;
  }
  
  .file-upload-wrapper input[type="file"] {
      width: 100%;
      min-width: auto;
      margin-bottom: 10px;
  }
  
  .file-upload-wrapper input[type="file"]::-webkit-file-upload-button {
      width: 100%;
      text-align: center;
      margin-right: 0;
      margin-bottom: 10px;
      display: block;
      margin-left: auto;
      margin-right: auto;
  }
}

/* エッジブラウザ専用のスタイル  */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .file-upload-wrapper {
    overflow: visible !important;
    min-height: 60px !important;
    padding-right: 15px !important;
    width: auto !important;
    max-width: none !important;
  }
  
  .file-upload-wrapper input[type="file"] {
    font-size: 1.2rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
    width: auto !important;
  }
}

.file-upload-wrapper input[type="file"]::-ms-browse {
  font-size: 1.2rem !important;
}

.wpcf7-form-control-wrap {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

.wpcf7-form-control-wrap input[type="file"] {
  width: 100% !important;
  max-width: 100% !important;
}

.wpcf7-form-control-wrap .file-upload-wrapper {
  width: 100% !important;
  max-width: 100% !important;
}
