.contact-sec_01 {
  padding: 6rem 3rem 3rem;
}
.contact-sec_01 .sec-title {
    margin-bottom: 2.4rem;
}

/*500px以下*/
@media screen and (max-width:500px) {
.contact-sec_01 {
  padding-top: 13rem;
}
}

select {
  border-radius: 19px; 
}

option {
  background: rgba(126, 126, 126, 1.0);
  color: #fff;
  border-radius: 19px;
}

select.decorated option:hover {
    box-shadow: 0 0 10px 100px red inset;
}

.Form {
  width: calc(100% - 4rem);
  margin: auto;
  max-width: 370px;
  padding: 2rem 0 3rem;
}

.Form-Item {
  margin-top: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
  
.Form-Item:nth-of-type(1) {
  margin-top: 0;
}

.Form-Item.flex-start {
  align-items: start;
}

.Form-Item dt {
  display: flex;
  justify-content: end;
  align-items: center;
  text-align: right;padding-top: 5px;
}



.Form-Item dd {
  display: flex;
  align-items: center;
  width: 100%;
}

.Form-Item-add {
  margin-top: 12px; 
} 



.Form-Item-add .Form-Item {
  flex-direction: column; 
  align-items: end; 
  justify-content: center;  
}



.Form-Item-add .Form-Item p {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--black)
}



.Form-Item-add .Form-Item dd {
  flex-direction: column; 
  align-items: center; 
  justify-content: center;  
}  

.Form-Item-add .wpcf7-form-control-wrap {
  width: 100%; 
}

.Form-Item-text {
  width: 100%;
  padding-top: 25px;  
}



.Form-Item-Label {
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0; 
  color: var(--black);
}


.Form-Item-Label-Required {
  display: inline-block;
  color: var(--red);
  font-size: 1.8rem;
  margin-left: 8px;
  flex-shrink: 0;
}


.Form-Item-Label-optional {
    color: var(--green);
    background: none;
    border: 1px solid var(--green);
    padding: 3px 5px;
    border-radius: 4px;
    width: fit-content;
    margin-left: 12px;
    font-size: 1.3rem;
    line-height: 1;
}

.calender-left,
.calender-right {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 130px;
}


.Form-Item-calender .wpcf7-form-control-wrap[data-name="calender-year1"],
.Form-Item-calender .wpcf7-form-control-wrap[data-name="calender-year2"] {
  width: 62px;
}


.Form-Item-calender dd {
  /*font-size: 11px;
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #707070;*/
  display: flex;
  align-items: center;
  gap: 8px;
}

.Form-Item-calender select {
  width: 100%;
  height: 100%;
  font-size: 13px;
  text-align: center;
}

.Form-Item-calender .between {
  display: block;
  flex: 0 0 auto;
  margin: 0 4px;
  color: var(--black);
  font-size: 1.5rem;
  line-height: 1;
}
.calender-left .wpcf7-form-control-wrap,
.calender-right .wpcf7-form-control-wrap {
  width: 100%;
  display: block;
}

.calender-left .data_st ,
.calender-right .data_st {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.4em 0.6em;
}
input[type="date"] {
    width:100%;
    min-width:0;
    max-width: 8em;
}


.wpcf7-not-valid-tip {
  /*position: absolute;*/
  display: block;
  font-size: 1.2rem!important;
  color: var(--red);
  font-weight: 600;
  margin-top: 8px;
  /*top: 38px;*/
  overflow: hidden!important;
  display: -webkit-box!important;
  -webkit-box-orient: vertical!important;
  -webkit-line-clamp: 2!important;
}


.Form-Item-Input,
.select {
  position: relative;
  background: var(--white);
  border-radius: 8px;
  padding: 16px 20px;
  flex: 1;
  width: 100%;
  /*height: 37px;*/
  font-size: 15px;
  font-weight: 400;
  color: var(--black);
}
.Form-Item-Input::placeholder ,
.wpcf7-textarea::placeholder {
  color: #a6a6a6;
  font-weight: 400;
}

.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}

.textarea-label {
  padding-top: 10px;
}





.wpcf7-checkbox .wpcf7-list-item-label {
  position: relative;
  display: block;
}

.wpcf7-checkbox input[type=checkbox] {
  border: 1px solid #000;
  display: none;
}

.wpcf7-checkbox input[type=checkbox] + .wpcf7-list-item-label {
  position: relative;
  padding-left: 26px;
  transition: color 0.2s;
  font-size: 1.4rem;
}

.wpcf7-checkbox .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: 0.75px solid #707070;
  border-radius: 5px;
  transition: all 0.2s;
}

.wpcf7-checkbox input[type=checkbox]:checked + .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 20px;
  height: 9px;
  top: 34%;
  left: 6px;
  -webkit-transform: rotate(-50deg)  translateY(-50%);
  transform: rotate(-50deg) translateY(-50%);
  border: 2px solid var(--green);
  border-top: none; 
  border-right: none;  
  border-radius: 0;
}

input[type="submit"] {
  width: 100%;  
  height: 100%;
  color: var(--white);
}

.submit {
  width: 230px;
  height: 60px;
  margin: 5rem auto 0;
  border-radius: 8px;
  font-size: 1.6rem;
  font-weight: 500;
  background: var(--green);
}
.wpcf7-submit:disabled {
  background: #c9c9c9;
  border-radius: 8px;
}

.wpcf7-list-item-label {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--black);
}

.wpcf7-textarea {
  width: 100%;
  min-height: 150px!important;
  resize: vertical; /* 手動リサイズを禁止 */
  overflow: hidden;
    background: var(--white);
    border-radius: 8px;
    padding: 16px 20px;
    flex: 1;
    width: 100%;
    /* height: 37px; */
    font-size: 15px;
    font-weight: 400;
    color: var(--black);
}



.wpcf7-form-control-wrap {
  width: 100%;  
}

.wpcf7-select {
  appearance: none!important;
  -webkit-appearance: none!important;/*Google Chrome/Safari対応*/
  -moz-appearance: none!important;/*Firefox対応*/
  -o-appearance: none!important;/*Opera対応*/
}

.Form-Item-select
.wpcf7-form-control-wrap {
  position: relative;
  border: none;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  font-size: 14px;
  width: 100%;
}

.Form-Item-select
.wpcf7-form-control-wrap::after{
  content: "";
    background: url(../img/common/sankaku-b.svg);
    position: absolute;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    top: 26px;
    right: 20px;
}



.Form-Item-add .wpcf7-form-control-wrap::before, 
.Form-Item-add .wpcf7-form-control-wrap::after {
    display: none;
  }

.wpcf7-acceptance {
  display: block;
  margin-top: 25px;
}
  
.wpcf7-acceptance a {
      color: var(--green);
    text-decoration: underline;
}
.wpcf7-acceptance .wpcf7-list-item-label {
  position: relative;
  display: block;
}

.wpcf7-acceptance input[type=checkbox] {
  border: 1px solid #000;
  display: none;
}

.wpcf7-acceptance .wpcf7-list-item {
  display: block;
  width: fit-content;
  margin: auto;
}

.wpcf7-acceptance input[type=checkbox] + .wpcf7-list-item-label {
  position: relative;
  padding-left: 22.5px;
}

.wpcf7-acceptance .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 15px;
  height: 15px;
  top: 30%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: var(--border-tmp);
  background: var(--white);
}


.wpcf7-acceptance input[type=checkbox]:checked + .wpcf7-list-item-label::before {
  background: var(--pink);
  border: 1px solid var(--pink);
}
.wpcf7-acceptance input[type=checkbox]:checked + .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 11.25px;
  height: 6px;
  border-left: 2.25px solid var(--white);
  border-bottom: 2.25px solid var(--white);
  top: 24%;
  left: 4.5px;
  -webkit-transform: rotate(-45deg) translateY(-50%);
  transform: rotate(-45deg) translateY(-50%);
}





.Form-Item-calender .wpcf7-select {
  appearance: auto;
}



.screen-reader-response{
  display: none;
}

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

.wpcf7 form .wpcf7-response-output {
  width: fit-content!important;
  margin: 8px auto 12px!important;
  padding: 0.2em 1em;
  border: 2px solid #00a0d2;
  font-size: 1.4rem;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    background: #46b450;
    color: var(--white);
}


.red {
  color:red;
  font-weight: 700;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  background: none;
  z-index: 1;
}

.htn_btn{
  font-size: 15px;
  font-weight: 400;
  text-decoration: underline;
  color: var(--green);
  cursor: pointer;
  margin: 8px auto 0 0;
}

.htn_btn::before{content: "";padding: 0 9px;
  background: url(../img/common/hatena.svg) no-repeat bottom;
  margin-right: 5px;
}



.contact-sec_01 {
  padding: 6rem 3rem 3rem;
}
/*500px以下*/
@media screen and (max-width:500px) {
.contact-sec_01 {
  padding-top: 13rem;
}
}
.contact-sec_01 .sec-title {
    margin-bottom: 2.4rem;
}

/*モーダル*/
.contact-modal {
  position: fixed;
  inset: 0;
  /*display: none;*/
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s, scale 0s 0.5s;
  scale: 0;
}
.contact-modal.is-active {
  display: block;
  opacity: 1;
  transition: opacity 0.5s;
  scale: 1;
}
.contact-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  max-width: 420px;
  margin: 0 auto;
}

.scs_in {
  position: relative;
    z-index: 1;
    width: calc(100% - 4rem);
    max-width: 380px;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    margin: 4rem auto 0;
    background: var(--white);
    border-radius: 8px;
    padding: 4rem 2rem;
    top: 5%;
}

/*921px〜1230px*/
@media screen and (min-width: 921px) and (max-width: 1230px) {

.scs_in {
  margin: 0 0 0 12%;
}
.contact-modal__overlay {
  margin: 0 0 0 10%;
}
}

@media screen and (max-width:500px) {
.contact-modal__overlay {
  max-width: none;
}
}

.contact-modal__close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  background: none;
  border: none;
  color: var(--black);
  font-size: 3rem;
  cursor: pointer;
}
.scs_h3 {
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
    color: var(--green);
    margin: 1rem 0 .6rem;
}
.scs_p {
  font-size: 1.4rem;
}
.scs_ul {
    border: 1px solid var(--pink);
    border-radius: 6px;
    padding: 14px;
    margin: 1rem auto;
}
.scs_li {
  font-size: 1.4rem;
  color: var(--pink);
}
.scs_li:not(:last-child) {
  margin-bottom: 6px;
}
.scs_li::before {
  content: "●";
  display: inline-block;
  font-size: .9rem;
  margin-right: 4px;
}
.scs_img {
  width: 100%;
}
.scs_img figcaption {
    background: #5a696b;
    color: var(--white);
    width: fit-content;
    padding: 6px 12px;
    font-size: 1.4rem;
    border-radius: 4px;
    line-height: 1;
    margin:16px 0 8px;
}


/*団体概要書フォーム*/
/*ファイルアップロード*/
.f__up_d {
  flex-direction: column;
}
.f__up_d span {
  display: block;
  width: 100%;
}
.f__up_d span:first-of-type {
  margin-bottom: 10px;
}
.f__up_c {
  padding:15px;
  width: 100%;
  margin: 1rem auto;
  background: #efeee3;
  border-radius: 4px;
}
.fup_p {
  font-size: 1.3rem;
  font-weight: 400;
  color: #6a6662;
  margin-bottom: 2px;
}
.d__d,.data_st{
    position: relative;
    background: var(--white);
    border-radius: 8px;
    padding: 16px 20px;
    flex: 1;
    width: 100%;
    font-size: 15px;
    font-weight: 400;
    color: var(--black);
}
/*注意点*/
.Form-Item-pdf {
  gap: 8px;
}
.Form-Item-pdf dd {
  gap: 1rem;
}
.pdf {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  font-size: 1.4rem;
  padding: 6px 0px;
  background: var(--white);
  border: var(--border-tmp);
  border-radius: 4px;
  box-shadow: 3px 3px 0 var(--pink);
  transition: transform 0.4s;
  min-width:170px;
  max-width:170px;
}

.pdf:hover {
  transform: translateY(1px);
  
}

.pdf:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #FFBCC3;
}

.pdf-text {
  font-size: 1.1rem;
  margin-bottom: 0px;
}

.pdf::after {
  position: absolute;
  display: block;
  content: '';
  background: url(../img/common/emoji-29.png) no-repeat;
  width: 28px;
  height:28px;
  background-size: contain;
  top: 24px;
  right: 0;
  animation: diagonal 0.6s linear 0.6s infinite;
}

@keyframes diagonal {
  0% {
    top: 28px;
    right: -4px;  
  }
  50% {
    top: 24px;
    right: 0;  
  }
  100% {
    top: 28px;
    right: -4px; 
  }
} 

.Form-Item:has(.out){height: 0;overflow: hidden;opacity: 0;margin: 0;}
.out{opacity: 0 !important;}