/* --- contact.css: フォーム装飾 --- */

body {
  font-family: "Noto Sans JP", sans-serif;
  padding: 2em;
  background: #f9f9f9;
  color: #333;
}

.form-container {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  margin-bottom: 1em;
}

label {
  display: block;
  margin-bottom: 1.5em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.9em;
  margin-top: 0.4em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  box-sizing: border-box;
}

textarea {
  height: 160px;
}

.required {
  color: #fff;
  background-color: #d92b00;
  font-weight: bold;
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 0.5em;
  vertical-align: middle;
}

.form-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1em;
  margin-top: 1.5em;
}

button {
  flex: 1;
  padding: 0.8em;
  border: none;
  border-radius: 5px;
  background: #004080;
  color: white;
  font-size: 1em;
  cursor: pointer;
}

button:hover {
  background: #0066cc;
}

#confirm-values p {
  margin: 0.5em 0;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .form-buttons {
    flex-direction: column;
  }
}



/* --- contact_twocolumn_responsive_animated.css: レイアウト & アニメーション --- */

body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", sans-serif;
}

.contact-layout {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 100vh;
}

.contact-left,
.contact-right {
  width: 50%;
  box-sizing: border-box;
  padding: 2rem;
}

.contact-left {
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  overflow: auto;

  animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-left .company-logo {
  max-width: 160px;
  margin-bottom: 1rem;
}

.company-description {
  font-size: 1rem;
  color: #333;
  text-align: left;
  line-height: 1.6;
  max-width: 90%;
}

.contact-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* スマホ（画面幅768px以下）で縦並びに変更 */
@media screen and (max-width: 768px) {
  .contact-layout {
    flex-direction: column;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    height: auto;
  }

  .contact-left {
    position: relative;
    animation: fadeInLeft 1s ease-out;
  }
}

