*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
}

#main-content {
  padding-top: 72px;
}

.appstools-linemini {
  padding-top: 72px;
}

.site-main {
  min-height: 60vh;
}

.only-pc {
  display: block;
}

.only-sp {
  display: none;
}

@media (max-width: 768px) {
  .only-pc {
    display: none !important;
  }

  .only-sp {
    display: block !important;
  }
}

.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.alert-error {
  background: #fde8e8;
  color: #9b1c1c;
}

.alert-success {
  background: #e7f6ec;
  color: #146c2e;
}

.form-errors {
  color: #c0392b;
  font-size: 13px;
  margin-top: 6px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-form .field {
  margin-bottom: 24px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 480px;
  max-width: 100%;
  padding: 0 12px;
  height: 48px;
  font-size: 16px;
  border: 1px solid #ccc;
}

.contact-form textarea {
  height: auto;
  min-height: 160px;
  padding: 12px;
}

.contact-form .submit-btn {
  background: #9f8530;
  color: #fff;
  border: 0;
  border-radius: 100px;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.contact-form .submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.article-body {
  line-height: 1.9;
}

.article-body img {
  margin: 16px 0;
}

.thanks-box {
  max-width: 720px;
  margin: 80px auto 120px;
  text-align: center;
}

.thanks-box h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form select,
  .contact-form textarea {
    width: 100%;
  }
}

/* Footer (production embeds equivalent styles in the footer partial) */
.custom-footer {
  background-color: #2f333a;
  color: #fff;
  padding: 20px 40px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #ccc;
  font-size: 12px;
  align-items: center;
}

.footer-bottom a {
  color: #ccc;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-bottom a.footer-company {
  margin-left: 15px;
}

@media (max-width: 768px) {
  .custom-footer {
    padding: 15px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-bottom a.footer-company {
    margin-left: 0;
  }
}

/* Contact form submit (CF7 plugin styles are not present in Laravel) */
.wpcf7 .required,
.required-mark {
  color: red;
  font-size: 10px;
  margin-left: 6px;
  font-weight: normal;
}

.wpcf7 input[type="submit"],
.wpcf7 .submit-btn {
  background: #9f8530;
  color: #fff;
  border: 0;
  border-radius: 100px;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.wpcf7 input[type="submit"]:disabled,
.wpcf7 .submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
