@charset "UTF-8";
/* コンタクトフォーム専用SCSS - ブランドカラー対応版 */
.form-card {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: 2rem auto;
  overflow: hidden;
  box-sizing: border-box;
}

.contact-content {
  margin-bottom: 3rem;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .form__grid {
    gap: 1.5rem;
  }
}

.form__item {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.form__item--full {
  grid-column: 1;
}
.form__item--agree {
  grid-column: 1;
  margin-top: 2rem;
}
.form__item--submit {
  grid-column: 1;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.form__item--submit .btn {
  min-width: 200px;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
}
.form__item label {
  display: block;
  font-weight: 600;
  color: var(--barom-text-color);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  position: relative;
}
.form__item label::after {
  content: "＊";
  color: #e53e3e;
  margin-left: 0.4rem;
  font-size: 0.9em;
  font-weight: 700;
}

.form__field {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  font-size: 1rem;
  background: #f7fafc;
  transition: all 0.3s ease;
  color: var(--barom-text-color);
  box-sizing: border-box;
}
.form__field:focus {
  outline: none;
  border-color: var(--barom-brand-color);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(var(--barom-brand-color), 0.1);
  transform: translateY(-2px);
}
.form__field--textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .form__field {
    padding: 1rem 1.2rem;
    font-size: 1rem;
  }
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}
.btn--primary {
  background-color: var(--barom-brand-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--barom-brand-color), 0.3);
}
.btn--primary:hover {
  background-color: var(--barom-accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(var(--barom-accent-color), 0.4);
}
.btn--primary:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--barom-brand-color), 0.2);
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(var(--barom-brand-color), 0.3);
}
.btn--secondary {
  background-color: #f8f9fa;
  color: var(--barom-text-color);
  box-shadow: 0 4px 12px rgba(248, 249, 250, 0.3);
}
.btn--secondary:hover {
  background-color: #dae0e5;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(248, 249, 250, 0.4);
}
.btn--secondary:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(248, 249, 250, 0.2);
}
.btn--secondary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(248, 249, 250, 0.3);
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f7fafc;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}
.checkbox-wrapper:hover {
  border-color: var(--barom-brand-color);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--barom-brand-color), 0.1);
}

.form__item--agree input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.form__item--agree label {
  margin: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--barom-text-color);
  display: flex;
  align-items: center;
  gap: 1rem;
  line-height: 1.5;
}
.form__item--agree label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid var(--barom-brand-color);
  border-radius: 8px;
  background-color: #ffffff;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.form__item--agree label::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transition: all 0.3s ease;
}
.form__item--agree input[type=checkbox]:checked + label::before {
  background-color: var(--barom-brand-color);
  border-color: var(--barom-brand-color);
  transform: scale(1.1);
}
.form__item--agree input[type=checkbox]:checked + label::after {
  opacity: 1;
}
.form__item--agree input[type=checkbox]:focus + label::before {
  box-shadow: 0 0 0 4px rgba(var(--barom-brand-color), 0.2);
}

.field-error {
  color: #e53e3e;
  font-size: 0.875rem;
  margin-top: 0.75rem;
  display: block;
  font-weight: 500;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(8px);
}
.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}
.popup-overlay.show .popup-container {
  transform: scale(1) translateY(0);
  animation: fadeInUp 0.4s ease;
}

.popup-container {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 550px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.8) translateY(40px);
  transition: transform 0.3s ease;
  position: relative;
}
@media (min-width: 768px) {
  .popup-container {
    width: 95%;
    margin: 1rem auto;
  }
}
@media (max-width: 767px) {
  .popup-container {
    width: 98%;
    max-height: 95vh;
  }
}

.popup-header {
  padding: 2.5rem 3rem 2rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--barom-brand-color) 0%, var(--barom-accent-color) 100%);
  color: #ffffff;
  border-radius: 24px 24px 0 0;
}
.popup-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .popup-header {
    padding: 1rem 2.5rem 1rem;
  }
  .popup-header h3 {
    font-size: 1.1rem;
    color: #ffffff;
  }
}
@media (max-width: 767px) {
  .popup-header {
    padding: 1.5rem 2rem 1rem;
  }
}

.popup-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  font-weight: 300;
}
.popup-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.popup-content {
  padding: 3rem;
}
@media (min-width: 768px) {
  .popup-content {
    padding: 2.5rem;
  }
}
@media (max-width: 767px) {
  .popup-content {
    padding: 2rem;
  }
}

.confirmation-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}
.confirmation-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.confirmation-item label {
  display: block;
  font-weight: 600;
  color: var(--barom-text-color);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.confirmation-item p {
  margin: 0;
  color: #4a5568;
  line-height: 1.7;
  font-size: 1rem;
}

.message-content {
  background: #f7fafc;
  padding: 1.5rem;
  border-radius: 16px;
  border-left: 4px solid var(--barom-brand-color);
  line-height: 1.8;
}

.popup-actions {
  padding: 0 3rem 3rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .popup-actions {
    padding: 0 2.5rem 2.5rem;
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .popup-actions {
    padding: 0 2rem 2rem;
  }
}

.completion-icon {
  text-align: center;
  margin-bottom: 2rem;
}
.completion-icon svg circle {
  fill: #48bb78;
}

.completion-message {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--barom-text-color);
  margin-bottom: 1.5rem;
}

.completion-note {
  text-align: center;
  color: #4a5568;
  line-height: 1.6;
  font-size: 0.95rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}/*# sourceMappingURL=contact.css.map */