/* ==========================================================================
  CF7 Apply / Confirm (wide-container内)
========================================================================== */
.cf7-apply, .cf7-confirm{
  width: 100%;
  margin: 0 auto;
}

.cf7-row{
  display: grid;
  grid-template-columns: 14rem 3.5rem 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: left;
}



ul.caution {
    display: inline-block;
    border-radius: 1.25rem;
    background: #F4F4F4;
    padding: 1rem 1.5rem;
}

.col-wrap.donation-box {
    border: 1px solid #005CAC;
    max-width: 60rem;
    margin: 0 auto;
    text-align: left;
}

.col-wrap.donation-box dl {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
}

.cf7-lead.txt-center {
    text-align: center;
}

.contact-ttl {
    font-weight: 600;
    color: #005CAC;
}

.col-wrap.donation-box dt {
    padding: 20px;
    background-color: #f1f1f1;
    border-bottom: 1px solid #ccc;
    flex-basis: 30%;
    background-color: #CDE7FF;
    border-right: 1px dashed #005CAC;
    color: #005CAC;
}

.col-wrap.donation-box dd {
    flex-basis:70%;
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 567.8px) {
.col-wrap.donation-box dl {
flex-flow: column;
}
}

.cf7-label{
  color: #005CAC;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
}

.cf7-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  line-height: 1;
  padding: .35rem .6rem;
  border-radius: 999px;
  width: fit-content;
  white-space: nowrap;
}
.cf7-badge.is-required{
  background: #FF75B1;
  color: #fff;
}
.cf7-badge.is-optional{
  background: #BEBFBF;
  color: #fff;
}

.cf7-field{
  width: 100%;
  min-width: 0;
}

/* 入力（text/number/email/tel/select/textarea） */
.cf7-field input[type="text"],
.cf7-field input[type="number"],
.cf7-field input[type="email"],
.cf7-field input[type="tel"],
.cf7-field select,
.cf7-field textarea{
  width: min(28rem, 100%);
  max-width: 100%;
  background: #F4F4F4;
  border: 1px solid transparent;
  border-radius: .375rem;
  padding: .85rem 1rem;
  font-size: 1rem;
  outline: none;
}
.cf7-field textarea{
  width: min(38rem, 100%);
  min-height: 9rem;
  resize: vertical;
}
.cf7-field input::placeholder{
  color: rgba(0,0,0,0.35);
}

/* ラジオ/チェックの見た目（CF7はlabel内inputなので整形） */
span.wpcf7-form-control.wpcf7-radio ,span.wpcf7-form-control.wpcf7-checkbox{
    display: flex;
    gap: 0.5rem 1rem;
    flex-wrap: wrap;
}
.cf7-field .wpcf7-list-item{
    margin: 0;
  display: block;
  align-items: center;
}

p.caution {
    margin-top: 0.5rem;
}

.cf7-select{
  position: relative;
  width: min(28rem, 100%);
  max-width: 100%;
}
.cf7-select select{
  width: 100%;
  padding-right: 3.25rem; /* 矢印分の余白 */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none; /* 既存矢印を消す */
}

.wpcf7-spinner{
	display: none!important;
}

/* 矢印（位置は right で調整） */
.cf7-select::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 9px;
    height: 9px;
    border-right: 2px solid #005CAC;
    border-bottom: 2px solid #005CAC;
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none;
}
.cf7-field .wpcf7-list-item-label{
  color: #2A3742;
  line-height: 1.4;
}

input.wpcf7-form-control.wpcf7-submit.btn-l._BLUE {
	    font-size: 1rem;
}

/* 同意 */
.cf7-consent{
  margin-top: 2rem;
  text-align: center;
  color: #005CAC;
}
.cf7-consent__text{
  color: #005CAC;
  text-decoration: underline;
}

/* ボタン位置（画像っぽく中央） */
.cf7-actions{
  margin-top: 2.5rem;
  text-align: center;
}
.cf7-actions.is-confirm{
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Confirm表示（dl） */
.cf7-confirm__list{
  margin-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.cf7-confirm__row{
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cf7-confirm__row dt{
  color: #005CAC;
  font-weight: 700;
}
.cf7-confirm__row dd{
  color: #2A3742;
}

/* SP */
@media (max-width: 768px){
  .cf7-row{
    grid-template-columns: 1fr;
    gap: .6rem;
    padding: 1.1rem 0;
  }
  .cf7-badge{
    justify-self: start;
  }
  .cf7-field input[type="text"],
  .cf7-field input[type="number"],
  .cf7-field input[type="email"],
  .cf7-field input[type="tel"],
  .cf7-field select,
  .cf7-field textarea{
    width: 100%;
  }
  .cf7-confirm__row{
    grid-template-columns: 1fr;
    gap: .5rem;
  }
}







/* ==========================================================================
  Privacy Policy Area (CF7)
========================================================================== */
.privacy_policy-area{
  margin-top: 3rem;
}

.privacy_policy-area .contribute-policy-box{
    margin-top: 1rem;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #F4F4F4;
}

.privacy_policy-area .content-box{
  padding: 1.75rem 2rem;
  max-height: 22rem;           /* 長文はスクロール */
  overflow: auto;
  line-height: 2;
  color: #2A3742;
}

.privacy_policy-area .sub-title{
  color: #005CAC;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 1.5rem;
  margin-bottom: .5rem;
}

.privacy_policy-area .sub-title:first-child{
  margin-top: 0;
}

.privacy_policy-area p{
  margin-bottom: .9rem;
      font-size: max(0.875rem, 10px);
}

.privacy_policy-area ul.indent{
  margin: .75rem 0 1.1rem 1.25rem;
  padding: 0;
}

.privacy_policy-area ul.indent li{
  list-style: disc;
  margin-bottom: .35rem;
}

.privacy_policy-area a{
  color: #005CAC;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* “制定日”の余白クラス（元HTMLの .spt30 を補完） */
.privacy_policy-area .spt30{
  margin-top: 1.5rem;
}

/* consent（同意チェック）をポリシー直下で中央に */
.cf7-consent{
  margin-top: 1.5rem;
  text-align: center;
}
.cf7-consent input[type="checkbox"]{
  transform: translateY(1px);
}
.cf7-consent__text{
    color: #2A3742;
    text-decoration: none;
}

/* SP */
@media (max-width: 768px){
  .privacy_policy-area .content-box{
    padding: 1.25rem 1.25rem;
    max-height: 18rem;
  }
}










/* ==========================================================================
  Donation Form Head (new)
========================================================================== */
.cf7-formWrap{
  width: 100%;
}

.cf7-head{
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* stepper */
.cf7-stepper{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  position: relative;
}
.cf7-stepper__item{
  position: relative;
}
.cf7-stepper__item:not(:last-child)::after{
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 0.5rem);
  width: 2.5rem;
  height: 2px;
  background: rgba(0,0,0,0.08);
  transform: translateY(-50%);
}
.cf7-stepper__dot{
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: .03em;
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.35);
}
.cf7-stepper__item.is-active .cf7-stepper__dot{
  background: #005CAC;
  color: #fff;
}

/* lead */
.cf7-lead{
  margin: 0 auto;
  color: #2A3742;
  line-height: 2;
}
.cf7-lead p{
  margin-bottom: 1rem;
}
.cf7-lead__note{
  font-size: .875rem;
  opacity: .85;
}

/* CTA */
.cf7-cta{
  margin-top: 1.75rem;
}
.cf7-cta__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.05rem 2.75rem;
  border: 1px solid rgba(0, 92, 172, 0.45);
  border-radius: .5rem;
  color: #005CAC;
  background: #fff;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  position: relative;
}
.cf7-cta__btn::after{
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #005CAC;
  border-right: 2px solid #005CAC;
  transform: rotate(45deg);
}

/* 注意ボックス（新規） */
.cf7-noteBox{
  margin-top: 1.5rem;
  background: #F4F4F4;
  border-radius: .75rem;
  padding: 1.25rem 1.5rem;
}
.cf7-noteBox__title{
  font-weight: 700;
  color: #2A3742;
  margin-bottom: .75rem;
}
.cf7-noteBox__list{
  margin: 0;
  padding-left: 1.25rem;
}
.cf7-noteBox__list li{
  list-style: disc;
  margin-bottom: .35rem;
}
.cf7-noteBox__list li:last-child{
  margin-bottom: 0;
}

/* SP */
@media (max-width: 768px){
  .cf7-stepper{
    gap: 1.75rem;
  }
  .cf7-stepper__item:not(:last-child)::after{
        width: 1.5rem;
        left: calc(91% + .5rem);
  }
  .cf7-stepper__dot{
    width: 4.25rem;
    height: 4.25rem;
    font-size: .9rem;
  }
  .cf7-cta__btn{
    width: 100%;
    max-width: 24rem;
    padding: 1.05rem 1.25rem;
  }
}


.cf7-lead.cf7-lead--contact p {
    color: #005CAC;
    font-weight: 600;
}


.cf7-lead.txt-left{
text-align: left;
}