/*
Theme Name: Lightning Child AllS
Theme URI: https://alls-pro.com/
Description: Lightning の子テーマ。/contents/ のみ独自テンプレートで表示します。他ページは親テーマ Lightning のままです。
Author: AllS
Template: lightning
Version: 1.2.1
Text Domain: lightning-child-alls
*/

/* =========================================================
   親テーマ切替で消えた「追加CSS」相当
   Lightning の見出し下線・装飾を打ち消す
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title,
.mainSection-title,
.subSection-title {
  border: none !important;
  box-shadow: none !important;
}

h1::before,
h1::after,
h2::before,
h2::after,
h3::before,
h3::after,
h4::before,
h4::after,
.elementor-heading-title::before,
.elementor-heading-title::after,
.mainSection-title::before,
.mainSection-title::after,
.subSection-title::before,
.subSection-title::after {
  content: none !important;
  border: none !important;
  background: none !important;
  display: none !important;
}

/* フッターから Lightning クレジットを消す */
.copySection p:nth-child(2) {
  display: none !important;
}

/* フッター調整 */
.siteFooter {
  border-top: 0;
  background-color: #ffffff;
  color: #333333;
}

/* メニューバー */
ul.gMenu a {
  color: #1c2f56;
}

ul.gMenu a:hover {
  color: #1c2f568c;
}

.footerMenu li a {
  color: #ffffff;
}

footer .footerMenu li {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* 問い合わせ */
.required {
  font-size: 0.8em;
  padding: 3px;
  background: #cc0000;
  color: #ffffff;
  border-radius: 2px;
  margin-right: 10px;
  margin-bottom: 2px;
  display: inline-block;
}

.wpcf7 input[type="submit"] {
  background: #0b60ad;
  color: #ffffff;
  border-radius: 4px;
  font-size: 1em;
  padding: 10px 20px;
}

.wpcf7 input[type="submit"]:hover {
  background: #ffffff;
  font-weight: bold;
  color: #0b60ad;
}

#cf7-area {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.form-heading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.cf7-item {
  margin-bottom: 15px;
}

.cf7-q {
  margin-bottom: 5px;
  font-weight: bold;
}

.cf7-req {
  color: red;
  font-size: 14px;
  margin-left: 5px;
}

.cf7-a input,
.cf7-a textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.cf7-a textarea {
  height: 100px;
  resize: none;
}

.cf7-a input[type="checkbox"],
.cf7-a input[type="radio"] {
  margin-right: 5px;
}

.cf7-accept-check {
  margin-top: 10px;
  font-size: 14px;
}

.cf7-submit input[type="submit"] {
  display: block;
  width: 100%;
  background-color: #007bff;
  color: #fff;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.cf7-submit input[type="submit"]:hover {
  background-color: #0056b3;
}

.cf7-a {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cf7-a label {
  display: flex;
  align-items: center;
  margin: 0;
}

.txt-gold {
  color: #c5a165;
}

.bg-grid-system {
  background-color: #ffffff;
  background-image:
    linear-gradient(#e2e8f0 1px, transparent 1px),
    linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
}
