/* ------------------------------------------------------------
   基本レイアウト
------------------------------------------------------------ */
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  background: #fff;
}

a {
  color: #0066cc;
  text-decoration: none;
}

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

/* ------------------------------------------------------------
   ヘッダー
------------------------------------------------------------ */
.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header-title {
  margin: 0 auto 0 0;
  padding-left: 12px;
}

.header-title a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-left: 40px;
}

.header-title img {
  width: auto;
  max-width: none;
  vertical-align: middle;
}

/* 上：株式会社ディックソリューションエンジニアリング */
.header-title img:first-child {
  height: 9px;
  max-height: 9px;
}

/* 下：DIC'SEロゴ */
.header-title img:last-child {
  height: 40px;
  max-height: 40px;
}

/* ------------------------------------------------------------
   ページヘッダー
------------------------------------------------------------ */
.page-header {
  background: #f0f4ff;
  padding: 40px 0;
  text-align: center;
}

.page-header-title-text {
  font-size: 1.8rem;
  font-weight: bold;
  color: #0044aa;
}

/* ------------------------------------------------------------
   メインコンテンツ
------------------------------------------------------------ */
.content-inner {
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
}

.contact-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #0044aa;
  padding-bottom: 8px;
}

.contact-text {
  margin-bottom: 30px;
  line-height: 1.8;
}

/* ------------------------------------------------------------
   フォーム
------------------------------------------------------------ */
.vt-form-list dt {
  font-weight: bold;
  margin-bottom: 6px;
}

.vt-form-list dd {
  margin-bottom: 20px;
}

.vt-form-input,
.vt-form-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  border-radius: 4px;
  box-sizing: border-box;
}

.vt-form-textarea {
  height: 150px;
  resize: vertical;
}

.vt-form-label.is-required::after {
  content: " *";
  color: #d00;
}

/* ------------------------------------------------------------
   ボタン
------------------------------------------------------------ */
.vt-form-button-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* 中央寄せ */
  gap: 20px;
  margin-top: 30px;
}

.vt-form-button {
  display: inline-block;
  padding: 12px 30px;
  background: #0044aa;
  color: #fff;
  border-radius: 4px;
  font-size: 1rem;
}

.vt-form-button:hover {
  background: #003388;
}

/* ------------------------------------------------------------
   確認ページ用
------------------------------------------------------------ */
.confirm-table dl {
  margin-bottom: 20px;
}

.confirm-table dt {
  font-weight: bold;
  margin-bottom: 4px;
}

.confirm-table dd {
  padding: 10px;
  background: #f7f7f7;
  border: 1px solid #ddd;
}

/* ------------------------------------------------------------
   完了ページ用
------------------------------------------------------------ */
#contact-complete .contact-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: center;
}

/* ------------------------------------------------------------
   エラー表示（contact.jsと連携）
------------------------------------------------------------ */
.error-message {
  color: #d00;
  font-size: 0.9rem;
  margin-top: 4px;
  display: block;
}

.input-error {
  border: 1px solid #d00 !important;
  background-color: #fff5f5;
}

/* ------------------------------------------------------------
   フッター
------------------------------------------------------------ */
.footer {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #ddd;
  margin-top: 40px;
}

.footer p {
  font-size: 0.9rem;
  color: #666;
}