/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

/* ヒーローセクション（濃いピンク）を非表示 */
.page-header {
  display: none !important;
}

/* 固定ページのフッター（コピーライト）非表示 */
.site-footer p {
    display:none;
}


/* ヘッダーを非表示 →各画面からHome画面に戻らないようにする*/

.site-header,
h1.entry-title {
  display: none !important;
}

/* パンくずリスト非表示 */
#breadcrumb {
  display: none;
}


/*******　Contact Form7のデザイン

/* Contact Form 7のチェックボックスを縦並びに */
span.wpcf7-list-item {
display: block;
}


/*　ContactForm7のテーブル化レスポンシブ調整　↓↓↓*/
/*テーブルを親要素の幅いっぱいに伸ばす*/
.table-res-form {
    width: 100%;
	background: #eee;
}

/* 各行の下に線を入れる */
.table-res-form th,
.table-res-form td {
  border-bottom: 1px solid #DDD;
}

/*thとtd内の余白指定*/
.table-res-form th, .table-res-form td {
    padding: 1.5em;
}
/*th（項目欄）は30%幅*/
.table-res-form th {
    width: 30%;
	  text-align: left
}

/* === 共通：すべてのテキスト・電話・メール・数字入力をボックス化 === */
.table-res-form input[type="text"],
.table-res-form input[type="number"],
.table-res-form input[type="email"],
.table-res-form input[type="tel"] {
  width: 90%;                  /* 一般的な幅。個別にクラスで上書き可能 */
  max-width: 400px;            /* スマホ対応で広がりすぎ防止 */
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: none;
  outline: none;
  background-color: #fff;
  box-sizing: border-box;
}


/***/ 
.table-kogi-group {
  width: 100%;
  border: 2px solid #999;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.table-kogi-group th,
.table-kogi-group td {
  border-right: none;
border-left: none;
  padding: 8px;
  font-size: 16px;
  text-align: center;
}

.table-kogi-group th {
  background-color: #f9f9f9;
}

/*ここから768px以下の指定*/

@media only screen and (max-width: 768px) {
　　　　　/*thとtdをブロック化して幅100％にして、縦積み*/
    .table-kogi-group th, .table-kogi-group td {
        width: 100%;
        display: block;
    }
　　　　　/*th（項目名）欄の不要な余白削除・テキスト左寄せ*/
    .table-kogi-group th {
        padding-bottom: 0;
        text-align: left;
    }
　　　　　/*不要な最終行の左のthを非表示にする*/
    .table-kogi-group .empty {
        display: none;
    }
}


/*ここから768px以下の指定*/

@media only screen and (max-width: 768px) {
　　　　　/*thとtdをブロック化して幅100％にして、縦積み*/
    .table-res-form th, .table-res-form td {
        width: 100%;
        display: block;
    }
　　　　　/*th（項目名）欄の不要な余白削除・テキスト左寄せ*/
    .table-res-form th {
        padding-bottom: 0;
        text-align: left;
    }
　　　　　/*不要な最終行の左のthを非表示にする*/
    .table-res-form .empty {
        display: none;
    }
}

/*ここまで768px以下の指定---終わり*/

/*ここから入力欄のスタイル指定*/

/*各入力フォームスタイリング*/
.table-res-form input[type="text"], input[type="email"], textarea {
    border: 1px #89BDDE solid;
    padding: 0.5em;
    border-radius: 5px;
    margin-bottom: 0.5em;
    width: 100%;
}
/*入力欄にフォーカスしたら変化*/
.table-res-form input[type="text"]:focus, textarea:focus {
    background: #EEFFFF;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);
}
/*** ctf7テーブルのカスタマイズここまで　↑↑↑

/* contact-form7カスタマイズ */
/* 「戻るボタン」ボタン */
input.wpcf7-previous {
    display: block;
    padding: 10px 30px;
    width: 300px;
    height: 100px;
    background: #ffaa56;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
	  border:solid 1px #000;
	text-align; left;
    border-radius: 6px;
    margin: 15px auto 0
}



/*  戻るボタンホバー時のアニメーション */*/

input.wpcf7-previous:hover {
	box-shadow: 0 15px 30px -5px rgba(0,0,0,.15), 0 0 5px rgba(0,0,0,.1);
	transform: translateY(-4px);
	opacity:0.7;
}



/* 「送信ボタン」ボタン */
input.wpcf7-submit {
    display: block;
    padding: 10px 30px;
    width: 300px;
    height: 100px;
    background: #98FB98;
    color: #797979;
    font-size: 16px;
    font-weight: 400;
	  border:solid 1px #000;
	text-align; left;
    border-radius: 6px;
    margin: 15px auto 0
}

/*  送信ボタンホバー時のアニメーション */*/
input.wpcf7-submit:hover {
	box-shadow: 0 15px 30px -5px rgba(0,0,0,.15), 0 0 5px rgba(0,0,0,.1);
	transform: translateY(-4px);
	opacity:0.7;
}

/* 共通スタイル（スマホ縦並び） */
.custom-cf7-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cf7-item {
  display: flex;
  flex-direction: column;
}

.cf7-item label {
  margin-bottom: 0.5rem;
white-space:nowrap;
}

/* PC画面（幅768px以上）の時に横並び */
@media (min-width: 768px) {
  .custom-cf7-row {
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
  }

  .cf7-item {
    flex: 1;
  }

  .cf7-item label {
    margin-bottom: 0;
  }

  .cf7-item {
    flex-direction: row;
    align-items: center;
  }

  .cf7-item label {
    margin-right: 1rem;

  }
}

.name-fields {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.name-fields input {
  width: 120px;
}

.name-label {
  white-space: nowrap;
}

