/* ============================================================
   LP 資料ダウンロード - seed-consulting.jp トンマナ準拠
   Primary : #1b224c (navy)
   Accent  : #9e895b (gold)
   BG      : #f9f9f9
   ============================================================ */

/* ==========================================================
   テーマCSS干渉リセット（.lp-body 内のみ適用）
   ========================================================== */
.lp-body {
  margin: 0;
  padding: 0;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic Pro", "Noto Sans JP", "Meiryo UI", "Meiryo", "MS PGothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #1b224c;
  background-color: #f9f9f9;
  overflow-x: hidden;
}

/* テーマが ul { display:flex } を持つため、LP内はリセット */
.lp-body ul,
.lp-body ol {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

/* テーマの h2,h3 スタイル（border-bottom, inline-block, padding）をリセット */
.lp-body h1,
.lp-body h2,
.lp-body h3 {
  display: block;
  border-bottom: none;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: bold;
  line-height: inherit;
}
.lp-body h1::before,
.lp-body h2::before,
.lp-body h3::before {
  display: none;
  content: none;
  background: none;
  width: 0;
  height: 0;
}

/* テーマの p スタイルをリセット */
.lp-body p {
  margin: 0;
  padding: 0;
  font-size: inherit;
}

/* テーマの a スタイルをリセット */
.lp-body a {
  color: #1b224c;
  text-decoration: underline;
  transition: opacity 0.25s;
}
.lp-body a:hover {
  opacity: 0.7;
  color: #1b224c;
}

/* テーマの img スタイルを継承 */
.lp-body img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

/* ==========================================================
   Container
   ========================================================== */
.lp-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ==========================================================
   Title Section
   ========================================================== */
.lp-title {
  background-color: #ffffff;
  padding: 48px 0 40px;
  text-align: center;
}
.lp-title__heading {
  font-size: 26px !important;
  font-weight: bold !important;
  color: #1b224c !important;
  line-height: 1.5 !important;
  letter-spacing: 0.02em;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: none !important;
  display: block !important;
}
.lp-title__heading::before,
.lp-title__heading::after {
  display: none !important;
  content: none !important;
}

.lp-divider {
  border: none;
  border-top: 1px solid #dcd8d0;
  margin: 0;
}

/* ==========================================================
   Main Layout
   ========================================================== */
.lp-main {
  padding: 48px 0 72px;
}
.lp-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* ==========================================================
   Left Column
   ========================================================== */
.lp-layout__left {
  flex: 1 1 56%;
  min-width: 0;
}

.lp-resource__heading {
  display: block !important;
  font-size: 20px !important;
  font-weight: bold !important;
  color: #1b224c !important;
  text-align: center;
  line-height: 1.65 !important;
  margin: 0 0 30px !important;
  padding: 0 0 16px !important;
  border-bottom: none !important;
  position: relative;
}
.lp-resource__heading::before {
  display: none !important;
  content: none !important;
}
.lp-resource__heading::after {
  display: block !important;
  content: '' !important;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #9e895b !important;
}

/* 資料イメージ */
.lp-resource__images {
  position: relative;
  height: 270px;
  margin-bottom: 36px;
}
.lp-resource__img-back,
.lp-resource__img-front {
  position: absolute;
  border-radius: 2px;
  overflow: hidden;
}
.lp-resource__img-back {
  width: 78%;
  height: 215px;
  top: 0;
  right: 0;
  background-color: #c8cdd8;
}
.lp-resource__img-front {
  width: 70%;
  height: 200px;
  bottom: 0;
  left: 0;
  background-color: #d8dce8;
  box-shadow: 0 4px 20px rgba(27,34,76,0.15);
}
.lp-resource__img-back img,
.lp-resource__img-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
}
.lp-resource__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a90a8;
  font-size: 48px;
}

/* おすすめボックス */
.lp-recommend {
  background-color: #ffffff;
  border-radius: 2px;
  padding: 28px 32px;
  box-shadow: 0 0 10px rgba(27,34,76,0.1);
}
.lp-recommend__title {
  font-size: 15px !important;
  font-weight: bold !important;
  color: #9e895b !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: none !important;
}
.lp-recommend__title::before,
.lp-recommend__title::after {
  display: none !important;
  content: none !important;
}
.lp-recommend__list {
  display: block !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
}
.lp-recommend__list li {
  position: relative;
  padding-left: 1.2em !important;
  margin-bottom: 12px !important;
  font-size: 14px !important;
  color: #1b224c;
  line-height: 1.65;
}
.lp-recommend__list li:last-child { margin-bottom: 0 !important; }
.lp-recommend__list li::before {
  content: '・' !important;
  position: absolute;
  left: 0;
  background: none !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
}

/* ==========================================================
   Right Column - フォームカード
   ========================================================== */
.lp-layout__right {
  flex: 0 0 42%;
  max-width: 42%;
}
.lp-form-card {
  background-color: #ffffff;
  border-radius: 2px;
  padding: 30px 28px 36px;
  box-shadow: 0 0 10px rgba(27,34,76,0.1);
}
.lp-form-card__intro {
  font-size: 13px !important;
  color: #555a6e !important;
  margin: 0 0 20px !important;
  line-height: 1.7;
}

/* ==========================================================
   Contact Form 7 スタイル上書き
   ========================================================== */

/* ラッパー */
.lp-form-card .wpcf7 {
  margin: 0;
  padding: 0;
}
.lp-form-card .wpcf7-form {
  margin: 0;
  padding: 0;
}

/* 各フィールドの p タグ */
.lp-form-card .wpcf7-form > p,
.lp-form-card .wpcf7-form p {
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-size: 14px !important;
}

/* ラベル */
.lp-form-card .wpcf7-form label {
  display: block;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #555a6e !important;
  margin-bottom: 4px !important;
  margin-top: 0 !important;
  line-height: 1.4;
}

/* span ラッパーをブロックに */
.lp-form-card .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* テキスト・メール・電話 入力 */
.lp-form-card .wpcf7-form input[type="text"],
.lp-form-card .wpcf7-form input[type="email"],
.lp-form-card .wpcf7-form input[type="tel"],
.lp-form-card .wpcf7-form input[type="number"],
.lp-form-card .wpcf7-form input[type="url"] {
  display: block !important;
  width: 100% !important;
  padding: 11px 14px !important;
  border: 1px solid #c8c4bc !important;
  border-radius: 2px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  color: #1b224c !important;
  background-color: #ffffff !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  line-height: normal !important;
}
.lp-form-card .wpcf7-form input[type="text"]:focus,
.lp-form-card .wpcf7-form input[type="email"]:focus,
.lp-form-card .wpcf7-form input[type="tel"]:focus {
  border-color: #1b224c !important;
  box-shadow: 0 0 0 2px rgba(27,34,76,0.1) !important;
}

/* セレクトボックス */
.lp-form-card .wpcf7-form select {
  display: block !important;
  width: 100% !important;
  padding: 11px 36px 11px 14px !important;
  border: 1px solid #c8c4bc !important;
  border-radius: 2px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  color: #1b224c !important;
  background-color: #ffffff !important;
  outline: none !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s !important;
  box-sizing: border-box !important;
}

/* テキストエリア */
.lp-form-card .wpcf7-form textarea {
  display: block !important;
  width: 100% !important;
  padding: 11px 14px !important;
  border: 1px solid #c8c4bc !important;
  border-radius: 2px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  color: #1b224c !important;
  background-color: #ffffff !important;
  outline: none !important;
  resize: vertical !important;
  box-sizing: border-box !important;
}

/* チェックボックス・ラジオ行 */
.lp-form-card .wpcf7-form .wpcf7-checkbox,
.lp-form-card .wpcf7-form .wpcf7-radio {
  display: block;
}
.lp-form-card .wpcf7-form .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px !important;
}
.lp-form-card .wpcf7-form .wpcf7-list-item input[type="checkbox"],
.lp-form-card .wpcf7-form .wpcf7-list-item input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: #9e895b;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
.lp-form-card .wpcf7-form .wpcf7-list-item-label {
  font-size: 13px !important;
  color: #1b224c;
  cursor: pointer;
}

/* br タグを非表示（CF7が挿入するもの） */
.lp-form-card .wpcf7-form br {
  display: none;
}

/* 送信ボタン */
.lp-form-card .wpcf7-form input[type="submit"],
.lp-form-card .wpcf7-form .wpcf7-submit {
  display: block !important;
  width: 100% !important;
  padding: 16px 20px !important;
  background-color: #1b224c !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: bold !important;
  font-family: inherit !important;
  border: 1px solid transparent !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  text-align: center !important;
  letter-spacing: 0.1em !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s !important;
  margin: 0 !important;
}
.lp-form-card .wpcf7-form input[type="submit"]:hover,
.lp-form-card .wpcf7-form .wpcf7-submit:hover {
  background-color: #ffffff !important;
  color: #1b224c !important;
  border-color: #1b224c !important;
}

/* CF7 バリデーションメッセージ */
.lp-form-card .wpcf7-not-valid-tip {
  font-size: 11px !important;
  color: #c0392b !important;
  margin-top: 3px !important;
}
.lp-form-card .wpcf7-response-output {
  margin: 12px 0 0 !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  border-radius: 2px !important;
  border: 1px solid !important;
}

/* ==========================================================
   HTMLフォーム（CF7未設定時フォールバック）
   ========================================================== */
.lp-form__row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.lp-form__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  flex: 1;
}
.lp-form__group input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #c8c4bc;
  border-radius: 2px;
  font-size: 14px;
  font-family: inherit;
  color: #1b224c;
  background: #fff;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}
.lp-form__group input::placeholder { color: #9a96a0; }
.lp-form__group input:focus {
  border-color: #1b224c;
  box-shadow: 0 0 0 2px rgba(27,34,76,0.1);
}
.lp-form__select-wrap {
  position: relative;
  margin-bottom: 10px;
}
.lp-form__select-wrap select {
  width: 100%;
  padding: 11px 36px 11px 14px;
  border: 1px solid #c8c4bc;
  border-radius: 2px;
  font-size: 14px;
  font-family: inherit;
  color: #1b224c;
  background: #fff;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s;
}
.lp-form__select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #6a6a7a;
  pointer-events: none;
}
.lp-form__privacy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 8px;
}
.lp-form__privacy-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #9e895b;
  cursor: pointer;
  margin: 0;
}
.lp-form__privacy-row label {
  font-size: 13px !important;
  color: #1b224c;
  cursor: pointer;
}
.lp-form__privacy-note {
  font-size: 12px !important;
  color: #555a6e;
  margin: 0 0 22px !important;
}
.lp-form__privacy-note a { color: #9e895b; }
.lp-form__submit {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background-color: #1b224c;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  font-family: inherit;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.1em;
  -webkit-appearance: none;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.lp-form__submit:hover {
  background-color: #fff;
  color: #1b224c;
  border-color: #1b224c;
}
.lp-form__note {
  text-align: center;
  font-size: 13px !important;
  font-weight: bold;
  color: #1b224c;
  margin: 16px 0 0 !important;
  line-height: 1.7;
}

/* ==========================================================
   Footer
   ========================================================== */
.lp-footer {
  background-color: #1b224c;
  padding: 22px;
  text-align: center;
}
.lp-footer__copyright {
  font-size: 12px !important;
  color: #8a90a8 !important;
  margin: 0 !important;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media screen and (max-width: 768px) {
  .lp-layout { flex-direction: column; gap: 24px; }
  .lp-layout__left  { flex: none; width: 100%; }
  .lp-layout__right { flex: none; max-width: 100%; width: 100%; }
  .lp-title__heading { font-size: 20px !important; }
  .lp-resource__images { height: 230px; }
  .lp-resource__img-back  { height: 182px; }
  .lp-resource__img-front { height: 168px; }
  .lp-resource__heading { font-size: 18px !important; }
}
@media screen and (max-width: 599px) {
  .lp-title { padding: 32px 0 24px; }
  .lp-title__heading { font-size: 18px !important; }
  .lp-form-card { padding: 20px 16px 24px; }
  .lp-form__row { flex-direction: column; gap: 0; }
  .lp-resource__heading { font-size: 16px !important; }
  .lp-container { padding: 0 16px; }
}
