@charset "UTF-8";

/*============================== 共通 ==============================*/
body {
    margin: 0;
    font-family: YakuHanJP, 'Open Sans', 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8rem;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.bg-green {
    background-color: #ecf8e6;
}

h1 {
  margin: 0;
}

h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
  }
  
h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #297f00;
    border-radius: 2px;
  }
  
section {
    padding: 80px 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.container p {
    text-align: left;
}

a {
    color: #297f00;
    text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {  
    h2 {
      font-size: 1.5rem;
    }

    section {
        padding: 60px 16px;
    }
  
}


/*============================== ヘッダー ==============================*/
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  
  .logo img {
    height: 60px;
  }
  
  .site-nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 500;
  }

  .site-nav a {
    text-decoration: none;
  }
  
  .btn-company,.btn-contact {
    padding: 0.8rem 1.25rem;
    transition: 0.5s ease;
  }

  .btn-company:hover {
    background: #1e5d00;
    border: 2px solid #1e5d00;
    color: #fff;
  }

  .btn-contact:hover {
    background: #1e5d00;
    border: 1px solid #1e5d00;
  }

  
  /* --- ハンバーガー --- */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
  }
  
  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
  }
  
  /* ✗ に変化 */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* --- PC表示 --- */
  @media (min-width: 769px) {
    .site-header {
      margin: 30px 44px;
      background-color: #eff1f480;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-radius: 60px;
      max-width: calc(100% - 88px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }
  
    .site-nav a {
      color: #297f00;
    }
  
    .btn-company {
      border: 2px solid #297f00;
      background: #ffffffe0;
      border-radius: 60px;
    }

    .btn-contact {
      border: 1px solid #297f00;
      background-color: #297f00;
      border-radius: 60px;
      color: #fff !important;
    }
  }
  
  /* --- スマホ表示 --- */
  @media (max-width: 768px) {
    .logo img {
      height: 50px;
    }
  
    .site-header {
      margin: 20px;
      padding: 1rem 1.5rem;
      background-color: #eff1f480;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-radius: 60px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .hamburger {
      display: flex;
      position: fixed;
      right: 20px;
      z-index: 1100;
      background: none;
      border: none;
      cursor: pointer;
      flex-direction: column;
      gap: 4px;
    }
  
    .hamburger span {
      width: 25px;
      height: 3px;
      background-color: #297f00;
      transition: all 0.3s ease;
    }
  
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
  
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
  
    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }
  
    .nav-overlay {
      border-radius: 40px;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 90vh;
      background-color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 1000;
    }
  
    .nav-overlay.active {
      opacity: 1;
      visibility: visible;
    }
  
    .nav-overlay__list {
      list-style: none;
      padding: 0;
      margin: 0;
      text-align: center;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }
  
    .nav-overlay__list a {
      font-size: 1.2rem;
      color: #297f00;
      text-decoration: none;
    }

    .site-nav ul {
      gap: 2rem;
    }  

    .btn-contact {
      background-color: #297f00;
      color: #fff !important;
      padding: 0.5em 1em;
      border-radius: 25px;
    }

    .btn-company {
      border: 1px solid #297f00;
      padding: 0.5em 1em;
      border-radius: 25px;
    }
  }

    

/*============================== ファーストビュー ==============================*/
  .main-visual {
    padding: 0;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  
  .main-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
  }
  
  .main-copy {
    position: absolute;
    bottom: 10%;
    left: 5%;
    color: #fff;
    z-index: 10;
    max-width: 90%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  }
  
  .main-copy h2 {
    font-size: 4rem;
    line-height: 2.75rem;
    font-weight: 600;
    margin-bottom: 0.5em;
    text-align: left;
    padding-bottom: 0;
  }
  
  .main-copy span {
    font-size: 1.25rem;
    margin-bottom: 1em;
  }  

  .main-copy h2::after {
    background: none;
  }

  .main-copy p {
    font-size: 1.25rem;
    line-height: 2rem;
  }

  @media (max-width: 600px) {
    .main-copy h2 {
      font-size: 1.9rem;
      line-height: 1.8rem;
    }

    .main-copy span {
      font-size: 0.9rem;
    }

    .main-copy p {
      font-size: 1rem;
      line-height: 1.6rem;
    }  
  }



/*============================== TFY NEXTとは ==============================*/    
  .logo-img {
    height: 60px;
    margin-bottom: 20px;
  }
  
  .summary-text {
    font-size: 1.25rem;
    line-height: 2.25rem;
  }

  @media (max-width: 600px) {
    .summary-text {
      font-size: 1rem;
      line-height: 2rem;
      margin: 0;
    }
  }

 

/*============================== よくあるお悩み ==============================*/
  .troubles {
    background-color: #ecf8e6;
    position: relative;
  }
  
  .troubles::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 40px 40px 0 40px;
    border-style: solid;
    border-color: #ecf8e6 transparent transparent transparent;
    width: 0;
    height: 0;
  }
    
  .trouble-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .trouble-list li {
    background-color: #fff;
    border-radius: 4px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    text-align: left;
  }
  
  .trouble-list img {
    width: 60px;
    height: 60px;
    margin-right: 12px;
    flex-shrink: 0;
  }
  
  @media (max-width: 600px) {
    .trouble-list li {
      font-size: 0.95rem;
      padding: 10px 14px;
    }
  
    .trouble-list img {
      width: 40px;
      height: 40px;
      margin-right: 10px;
    }
  }



/*============================== TFY NEXTが解決します ==============================*/    
  .solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .solution-box {
    background-color: #297f00;
    color: #fff;
    padding: 30px 20px 20px;
    position: relative;
    border-radius: 4px;
  }
  
  .solution-number {
    font-size: 56px;
    font-weight: 600;
    color: #fff;
    text-shadow: 3px -2px 1px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 2px;
    left: 6px;
    z-index: 1;
  }

  .solution-box h3 {
    line-height: 2.3rem;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 30px 0 10px;
    text-align: center;
  }

  .solution-box p {
    text-align: center;
  }
    
  @media (max-width: 600px) {    
    .solution-number {
      font-size: 50px;
    }
  
    .solution-box h3 {
      font-size: 1.3rem;
    }
  
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .solution-box p {
        margin: o;
    }
  
  }
  


/*============================== サービス内容 ==============================*/
  .bg-service {
    position: relative;
    background-color: #ecf8e6;
  }

  .bg-service::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../image/bg-logo-white.png") no-repeat top center;
    background-size: 90%;
    opacity: 0.45;
    z-index: 0;
    transform: rotate(-10deg) translateY(20px);
  }
  
  .bg-service > * {
    position: relative;
    z-index: 1;
  }
  
  .section-title {
    text-align: center;
    border: none;
  }

  .section-title img {
    height: 100px;
  }

  .service-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 40px;
  }

  .service-card {
    width: 270px;
    height: 170px;
    background-color: #fff;
    padding: 30px 20px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .icon {
    width: 80px;
    height: 80px;
    background-color: #ecf8e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
  }
  
  .icon img {
    width: 70%;
    height: auto;
    display: block;
  }
    
  .service-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
  }
   
  .service-area {
    margin-top: 60px;
    text-align: center;
  }
  
  .area-label {
    display: inline-block;
    background-color: #297f00;
    color: #fff;
    padding: 8px 24px;
    border-radius: 60px;
    font-size: 1.25rem;
    margin-bottom: 20px;
  }
  
  .area-text {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
  }
    
  @media (min-width: 1025px) {
    .service-card:nth-child(1),
    .service-card:nth-child(2),
    .service-card:nth-child(3) {
      order: 1;
    }
    .service-card:nth-child(4),
    .service-card:nth-child(5) {
      order: 2;
    }
  }
  
  @media (min-width: 768px) and (max-width: 1024px) {
    .service-card:nth-child(1),
    .service-card:nth-child(2) {
      order: 1;
    }
    .service-card:nth-child(3),
    .service-card:nth-child(4) {
      order: 2;
    }
    .service-card:nth-child(5) {
      order: 3;
    }
  }
  
  @media (max-width: 767px) {  
    .bg-service::before {
      background-position: top center;
      transform: translateY(60px);
      opacity: 0.7;  
    }
      
    .icon {
      margin: 0 auto 10px;
    }
  
    .section-title img {
      height: 60px;
    }
    
    .service-wrapper {
      gap: 1rem;
    }
    
    .service-card h3 {
      font-size: 0.9rem;
    }
  
    .service-card {
      width: 120px;
      height: 170px;
      padding: 30px 20px;
    }
  
  }
  


/*============================== 入居までの流れ ==============================*/
.flow-image {
    display: block;
    margin: 0 auto;
    max-width: 750px;
    width: 100%;
  }
  


/*============================== 空き家・空きアパート買取サービス ==============================*/
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 30px;
    text-align: center;
  }
  
  .feature-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .purchase {
    margin-top: 60px;
  }

  .purchase img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    width: 100%;
    max-width: 750px;
  }

  
  @media (max-width: 600px) {
    .feature-grid {
      grid-template-columns: 1fr;
      gap: 10px;
    }

    .feature-box {
      padding: 10px;
    }  
  }
    
  

/*============================== よくある質問 ==============================*/ 
  .faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px;
    font-size: 1.15rem;
    line-height: 2.5rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: #297f00;
    transition: background 0.3s ease;
  }

  .faq-question p {
    margin: 0;
    display: inline-block;
  }

  .faq-question:hover {
    background: #ecf8e6;
  }
  
  .faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }
  
  .faq-question.active::after {
    transform: rotate(45deg);
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #ecf8e6;
    padding: 0 20px;
  }

  .faq-answer p strong {
    font-size: 1.15rem;
    line-height: 2.5rem;
    font-weight: 600;
  }

  .answer {
    text-indent: -1.5em;
    padding-left: 1.5em;
  }

  @media (max-width: 600px) {
    .faq-question {
      padding: 10px 40px 10px 20px;
      font-size: 1rem;
    }
  
    .faq-question p {
      text-indent: -1.5em;
      padding-left: 1.5em;
      font-size: 1rem;
      line-height: 1.8rem;
    }
  
    .faq-answer p strong {
      font-size: 1rem;
      line-height: 1.8rem;
    }
  }


  

/*============================== お問い合わせ ==============================*/    
.contact-lead {
    margin-bottom: 30px;
    text-align: center;
  }
  
  .contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .contact-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #297f00;
    color: #fff;
    padding: 16px 24px;
    text-decoration: none;
    border-radius: 60px;
    transition: background 0.3s ease;
    min-width: 260px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    gap: 12px;
  }
  
  .contact-btn:hover {
    text-decoration: none;
    background: #1e5d00;
  }

  .tel-btn {
    font-size: 1.25rem;
    pointer-events: none;
  }

  .tel-btn:hover {
    opacity: 1;
  }

  .btn-icon {
    width: 20px;
    height: 20px;
  }
  
  @media screen and (max-width: 600px) {
    .contact-buttons {
      flex-direction: column;
      align-items: center;
    }
  
    .contact-btn {
      width: 100%;
      max-width: 300px;
    }

    .tel-btn {
      pointer-events: auto;
    }
  
    .tel-btn:hover {
      opacity: 0.8;
    }
  }
  


/*============================== フッター ==============================*/
  .footer {
    background: #2c2c2c;
    color: #fff;
    padding: 40px 20px;
  }
  
  .footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .footer-left,
  .footer-nav,
  .partner-logos {
    flex: 1 1 250px;
  }
  
  .footer-logo {
    max-width: 150px;
    margin-bottom: 10px;
  }
  
  .footer-left p {
    font-size: 0.9rem;
  }
  
  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
  }
  
  .footer-nav a:hover {
    text-decoration: underline;
  }
  
  .partner-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-wrap: wrap;
  }
  
  .partner-logos a {
    display: inline-block;
    width: auto;
    height: 60px;
  }

  .partner-logos img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px 0;
  }
  
  @media (max-width: 768px) {
    .footer-left {
      flex: 1 1 50px;
    }
  
    .footer-inner {
      flex-direction: column;
      gap: 30px;
    }
  
    .footer-nav {
        flex: none;
        width: 100%;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }
  
    .partner-logos {
      align-items: center;
      gap: 12px;
    }
      
  }



/*============================== 会社概要 ==============================*/
  .company-info {
    padding-top: 160px;
  }
      
  .company-table {
    width: 100%;
    border-collapse: separate;
  }
  
  .company-table th,
  .company-table td {
    padding: 16px;
    text-align: left;
    vertical-align: top;
  }
  
  .company-table th {
    background-color: #297f00;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    width: 30%;
    white-space: nowrap;
  }
      
  .map-embed {
    margin-top: 10px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .company-tel {
    pointer-events: none;
  }

  @media screen and (max-width: 600px) {
    .company-info {
        padding-top: 100px;
      }

    .company-table td {
        margin-bottom: 20px;
    }

    .company-table th,
    .company-table td {
      display: block;
      width: 100%;
      padding: 12px 16px;
      box-sizing: border-box;
    }
  
    .company-tel {
      pointer-events: auto;
    }  
  }    



/*============================== SDGsへの取り組み ==============================*/
  .sdgs-section {
    padding: 80px 20px;
    background-color: #f8f8f8;
  }
  
  .sdgs-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .sdgs-lead {
    text-align: center !important; 
    font-size: 1rem;
  }
  
  .sdgs-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .sdgs-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  gap: 20px;
  text-align: left;
  }
  
  .sdgs-card img {
    width: 100px;
    height: auto;
    flex-shrink: 0;
  }
  
  .sdgs-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
    margin-top: 0;
  }
  
  .sdgs-card p {
    font-size: 0.9rem;
    margin: 0;
  }

  .sdgs-box {
    margin-top: 60px;
    background: #fff;
    padding: 40px 20px;
    border: 2px solid #e5f2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  
  .sdgs-heading {
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 40px;
  }
    
    @media screen and (max-width: 768px) {
    .sdgs-card {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 0;
    }
  
    .sdgs-card img {
      margin-bottom: 16px;
    }

    .sdgs-box {
      margin-top: 30px;
    }  
  }



/*============================== お問い合わせ ==============================*/
.contact-section {
  padding-top: 160px;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-phone {
  background-color: #297f00;
  color: #fff;
  padding: 1.5em;
  margin: 40px auto;
  border-radius: 4px;
}

.contact-phone p {
  text-align: center;
  margin: 10px auto;
}

.contact-phone-number {
  font-size: 40px;
}

.contact-phone-number a {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  pointer-events: none;
}

.contact-phone-hours {
  font-size: 14px;
  margin-top: 8px;
}

.form-row {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

.form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 28%;
  margin-right: 24px;
}

.form-label {
  font-size: 1.1rem;
}

.form-tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  border-radius: 3px;
  text-align: center;
  margin-top: 8px;
}

.form-tag.required {
  background: #b40000;
  color: #fff;
}

.form-tag.optional {
  border: 1px solid #ccc;
}

.form-input input,
.form-input textarea {
  width: 100%;
  padding: 20px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  transition: border 0.2s ease;
}

.form-input input:focus,
.form-input textarea:focus {
  border-color: #b40000;
  outline: none;
}

textarea {
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.form-submit button {
  background: #b40000;
  color: #fff;
  padding: 14px 40px;
  font-size: 16px;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-submit button:hover {
  background: #920000;
}

.form-input {
  width: 70%;
}

.form-input input[type="radio"] {
  margin-top: 0;
  width: auto;
  accent-color: #b40000;
  margin-right: 8px;
  transform: scale(1.5);
  vertical-align: middle;
}

.form-input label {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  line-height: 1.4;
  cursor: pointer;
}

.form-notes {
  margin-top: 40px;
  padding: 18px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 2rem;
}

.form-notes p {
  margin: 0;
}

@media (max-width: 768px) {
  .contact-phone-number a {
    font-size: 24px;
    pointer-events: auto;
  }
  
  .form-row {
    flex-direction: column;
    padding: 18px 0;
  }

  .form-title {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 10px;
  }

  .form-tag {
    margin-top: 0;
    margin-bottom: 4px;
    width: fit-content;
  }

  .form-input {
    width: 100%;
  }

  .form-input input,
  .form-input textarea {
    font-size: 15px;
    padding: 10px 0;
  }

  .form-submit {
    margin-top: 24px;
  }

  .form-submit button {
    width: 100%;
    font-size: 16px;
    padding: 14px 0;
  }

  .form-notes {
    font-size: 13px;
    padding: 12px;
  }
}



/*============================== フォーム ==============================*/
#formWrap {
  padding: 160px 20px 80px;
  max-width: 1000px;
  margin: 0 auto;
}

table.formTable{
  width:100%;
  border-collapse:separate;
}

table.formTable td,table.formTable th{
  padding: 16px;
  text-align: left;
  vertical-align: top;
}

table.formTable th{
  background-color: #297f00;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  width: 30%;
  white-space: nowrap;
}

#formWrap span {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

#formWrap input {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #297f00;
  color: #fff;
  border: none;
  padding: 16px 24px;
  text-decoration: none;
  border-radius: 60px;
  transition: background 0.3s ease;
  min-width: 260px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
}

#formWrap input:hover {
  background: #1e5d00;
}

#formWrap input[type="button"] {
  border: 1px solid #297f00;
  background: #fff;
  color: #297f00;
}

#formWrap input[type="button"]:hover {
  background: #1e5d00;
  border: 1px solid #1e5d00;
  color: #fff;
}

p.error_messe{
  margin:5px 0;
  color: #b40000;
}

.thankyou {
  padding: 160px 20px 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.return {
  padding: 16px 24px;
  text-decoration: none;
  border-radius: 60px;
  transition: background 0.3s ease;
  min-width: 260px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  border: 1px solid #297f00;
  background: #fff;
  color: #297f00;
}

.return:hover {
  background: #1e5d00;
  border: 1px solid #1e5d00;
  color: #fff;
  text-decoration: none;
}


@media screen and (max-width:600px) {
  #formWrap span {
    flex-direction: column;
    align-items: center;
  }
  
  #formWrap input {
    width: 100%;
    max-width: 300px;
  }

  table.formTable th, table.formTable td {
    width:auto;
    display:block;
  }

  table.formTable th {
    margin-top:5px;
    border-bottom:0;
  }

}
