@charset "UTF-8";

/* =========================
  LINE & Form Styles
========================= */
.line-box {
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}

.line-text {
  padding-bottom: 20px;
}

.line-contact-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0.00px 1.00px 9px 0px rgba(0, 0, 0, 0.6);
  margin: 0 auto;
  transition: all 0.4s ease;
  background: #ffffff;
  padding: 14px 28px;
}

.line-contact-btn:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.45);
  background: #06C755;
}

.line-contact-btn:hover .line-img-text span,
.line-contact-btn:hover .line-img-text small {
  color: #ffffff;
}

.line-contact-btn:hover img {
  transform: scale(1.05);
}

.line-contact-btn img {
  width: 80px;
  height: 80px;
  padding: 8px;
  transition: all 0.4s ease;
}

.line-img-text {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.line-img-text span {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.line-img-text small {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 6px;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.section+.section.section-form {
  margin-top: 0;
}

.section-form {
  background-color: #eeeeee;
  padding-bottom: 60px;
}

@media screen and (min-width:769px) {
  .line-box {
    padding: 80px 30px;
  }

  .line-img-text span {
    font-size: 4.0rem;
  }

  .line-img-text small {
    font-size: 2.2rem;
  }

  .line-contact-btn img {
    width: 100px;
    height: 100px;
  }
}

.contact-fast-box {
  padding: 60px 0 30px;
}

@media screen and (min-width:769px) {
  .contact-fast-box {
    padding: 80px 0 40px;
  }

  .contact-fast-text {
    text-align: center;
  }

  #cf7-form-area {
    padding: 40px;
  }

  .section-form {
    padding-bottom: 80px;
  }
}

#cf7-form-area {
  padding: 30px;
  background-color: #ffffff;
  box-shadow: 0.00px 1.00px 9px 0px rgba(0, 0, 0, 0.6);
  border-radius: 16px;
}

.form-box>p label,
.form-box>p label .form-under {
  display: block;
}

.form-box {
  display: flex;
  flex-direction: column;
}

.radio-menu .wpcf7-list-item {
  margin-left: 0;
}

.radio-menu .wpcf7-list-item+.wpcf7-list-item {
  margin-left: 1em;
}

.radio-menu input[type="radio"] {
  accent-color: #2e7d55;
}

#cf7-form-area br {
  display: none;
}

.form-under,
.form-text {
  box-shadow: 0.00px 1.00px 9px 0px rgba(0, 0, 0, 0.6);
  border-radius: 16px;
  padding: 8px 16px;
  width: 100%;
}

.form-under:focus,
.form-text:focus {
  outline: none;
  border: 2px solid #2e7d55;
  box-shadow: 0 0 0 4px rgba(46, 125, 85, 0.2);
}

.date-box p {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  gap: 1em;
}

.date-box p .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.form-under {
  border: 1px solid #ddd;
  background-color: #fff;
}

.date-content {
  display: block;
  width: 100%;
}

@media screen and (max-width: 768px) {
  input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #ccc !important;
    background-color: #fff !important;
    min-height: 48px;
  }
}

.checkbox-area .wpcf7-list-item {
  margin-left: 0;
  margin-right: 1em;
}

.textarea-box {
  display: block;
}

.answer-box {
  box-shadow: 0.00px 1.00px 9px 0px rgba(0, 0, 0, 0.6);
  border-radius: 99999px;
  width: 100%;
  margin: 30px auto 0;
  background-color: #2e7d55;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

#confirm-btn {
  display: block;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  padding: 8px 16px;
  color: #ffffff;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.answer-box:hover {
  transform: translateY(-4px) scale(1.02);
  opacity: 0.9;
}

.name-tel-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mtp8 {
  margin-top: 8px;
}

.mtp20 {
  margin-top: 20px;
}

.pick-area p {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 769px) {
  .date-box p {
    flex-direction: row;
  }

  .date-box p .wpcf7-form-control-wrap {
    flex: 1;
  }

  .wpcf7-form-control-wrap:focus-within input[type="date"] {
    border: 2px solid #2e7d55;
  }

  .answer-box {
    margin-top: 40px;
  }

  .name-tel-area {
    flex-direction: row;
    gap: 20px;
  }
}

.reb-boder {
  border: 2px solid red;
}

/* =============================================
   確認画面・完了画面 (最新版：ミント＆ホワイト)
   ============================================= */

/* フォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,700&family=M+PLUS+1p:wght@400;500;700;800&display=swap');

/* ベース設定（最前面・スクロール設定） */
#cf7-confirm-area,
#cf7-complete-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10000;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
}

/* --- 確認画面のデザイン (Mint & White) --- */
#cf7-confirm-area.design-mint {
  background-color: #f0f7f4;
  padding: 60px 20px;
  font-family: "M PLUS 1p", sans-serif;
}

#cf7-confirm-area.design-mint .confirm-title {
  color: #2e7d55;
  font-size: 3.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 0;
  width: 100%;
  max-width: 900px;
  /* 600px -> 900px */
  display: block;
}

#cf7-confirm-area.design-mint .confirm-content {
  width: 100%;
  max-width: 900px;
  /* 600px -> 900px */
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

#cf7-confirm-area.design-mint .confirm-item {
  background-color: #ffffff;
  padding: 20px 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(46, 125, 85, 0.05);
  text-align: left;
}

#cf7-confirm-area.design-mint .confirm-label {
  font-size: 1.4rem;
  color: #888888;
  font-weight: 600;
  margin-bottom: 6px;
}

#cf7-confirm-area.design-mint .confirm-value {
  font-size: 1.8rem;
  color: #2b2b2b;
  font-weight: 500;
  word-break: break-all;
  line-height: 1.5;
}

#cf7-confirm-area.design-mint .confirm-actions {
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 900px;
  /* 600px -> 900px */
}

    #cf7-confirm-area.design-mint .btn-edit,
    #cf7-confirm-area.design-mint .btn-submit {
      flex: 1;
      /* ボタンを均等幅に */
      width: auto;
      max-width: 320px;
      padding: 16px 32px;
      border-radius: 100px;
      font-weight: 700;
      font-size: 1.8rem;
      cursor: pointer;
      transition: all 0.3s ease;
      border: none;
      text-align: center;
      display: block;
    }

/* PC時の横並び・幅広設定 */
@media screen and (min-width:769px) {

  /* 自動挿入されるpタグをレイアウトから無視させる */
  #cf7-confirm-area.design-mint .confirm-actions p {
    display: contents;
  }

  #cf7-confirm-area.design-mint .confirm-actions {
    flex-direction: row;
    gap: 24px;
  }
}

#cf7-confirm-area.design-mint .btn-edit {
  background-color: #ffffff;
  color: #2e7d55;
  border: 2px solid #2e7d55;
}

#cf7-confirm-area.design-mint .btn-submit {
  background-color: #2e7d55;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(46, 125, 85, 0.2);
}

#cf7-confirm-area.design-mint .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(46, 125, 85, 0.3);
  background-color: #256645;
}

/* --- 完了画面のデザイン (Zen Circle) --- */
#cf7-complete-area {
  background-color: #f0f7f4;
  justify-content: center;
  padding: 24px;
}

 #cf7-complete-area .complete-icon-box {
   width: 100px;
   height: 100px;
   background: #f0f7f4;
   color: #2e7d55;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 30px;
   position: relative;
   z-index: 1;
 }

 #cf7-complete-area .complete-icon-box::after {
   content: "";
   position: absolute;
   inset: -10px;
   border: 1px dashed rgba(46, 125, 85, 0.2);
   border-radius: 50%;
   animation: spin 20s linear infinite;
 }

 @keyframes spin {
   from {
     transform: rotate(0deg);
   }

   to {
     transform: rotate(360deg);
   }
 }

    #cf7-complete-area .complete-container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background: #ffffff;
      padding: 60px 24px;
      border-radius: 24px;
      text-align: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 30px 80px rgba(46, 125, 85, 0.05);
      margin: auto;
    }

        #cf7-complete-area .complete-title {
          font-family: "Playfair Display", serif;
          font-style: italic;
          font-size: 4.8rem;
          font-weight: 700;
          color: #2e7d55;
          margin-bottom: 20px;
          position: relative;
          z-index: 1;
        }
    
        #cf7-complete-area .complete-text {
          font-size: 1.6rem;
          color: #666;
          line-height: 1.8;
          margin-bottom: 40px;
          position: relative;
          z-index: 1;
        }
    
        #cf7-complete-area .btn-home {
          display: inline-block;
          background: #2e7d55;
          color: #fff;
          padding: 16px 40px;
          border-radius: 100px;
          font-weight: 700;
          font-size: 1.6rem;
          text-decoration: none;
          transition: all 0.3s ease;
          box-shadow: 0 10px 25px rgba(46, 125, 85, 0.2);
          position: relative;
          z-index: 1;
        }
    
        #cf7-complete-area .btn-home:hover {
          transform: translateY(-3px);
          box-shadow: 0 15px 30px rgba(46, 125, 85, 0.3);
          background: #256645;
        }

@media screen and (min-width:769px){
  #cf7-complete-area .complete-container {
      max-width: 600px;
      /* 600px -> 900px */
      width: min(600px, 60vw);
      /* 600px -> 900px */
      aspect-ratio: 1 / 1;
      display: flex;
      padding: 60px;
      border-radius: 50%;
    }
  
    /* 背景の円（装飾）もコンテナに合わせて少し拡大調整 */
    #cf7-complete-area .complete-container::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 700px;
      /* コンテナ拡大に合わせて調整 */
      height: 700px;
      border: 4px solid rgba(46, 125, 85, 0.03);
      border-radius: 48% 52% 50% 50% / 50% 48% 52% 50%;
      z-index: 0;
      pointer-events: none;
      animation: zenRotate 60s linear infinite;
    }
  
    #cf7-complete-area .complete-container::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 650px;
      /* コンテナ拡大に合わせて調整 */
      height: 650px;
      border: 1px solid rgba(46, 125, 85, 0.05);
      border-radius: 52% 48% 50% 50% / 48% 52% 50% 50%;
      z-index: 0;
      pointer-events: none;
      animation: zenRotate 45s linear reverse infinite;
    }
  
    @keyframes zenRotate {
      from {
        transform: translate(-50%, -50%) rotate(0deg);
      }
  
      to {
        transform: translate(-50%, -50%) rotate(360deg);
      }
    }
  
}



/* モバイル対応 */
@media (max-width: 480px) {
  #cf7-confirm-area.design-mint {
    padding: 30px 15px;
  }

  #cf7-confirm-area.design-mint .confirm-title {
    font-size: 2.4rem;
  }
}

.complete-container p.end-p{
  padding-top: 0;
  margin-top: 0;
}

.complete-container p:nth-of-type(2) {
  margin-bottom: 20px;
}