/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author: Vektor,Inc.
Author URI: https://www.vektor-inc.co.jp
Tags:
Version: 0.6.1
*/

/*サイトマップ・コピーライト非表示*/
#menu-item-654 {
  display: none;
}

.container.site-footer-copyright p:nth-of-type(2) {
  display: none;
}


/*SNS表示設定*/
.sougo-entry p a {
  display: inline-block;
  margin-right: 1em;
  text-decoration: none;
}

.sougo-entry p a:hover {
  text-decoration: underline;
}

/*地図表示設定
.sougo-map {
  width: 100%;
  max-width: 500px;
  margin: 1em 0;
}*/


/* 店舗情報タイル表示 */
.sougo-area-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em;
}

.sougo-entry {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1.5em;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 600px;       /* 最大幅を制限して全幅回避 */
  width: 100%;            /* Grid内で自然に広がる */
}

.sougo-area-title {
  font-size: 1.8em;
  margin: 1em 0;
  text-align: left;
}

.sougo-area-warning {
  padding-left: 1em; /* 1文字分の余白を左側に追加 */
}
/* 店舗情報タイル表示ここまで */

/* 全ページ中央寄せ（SOUGO対応） */
.container, .site-main, #content, .sougo-area-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}

.sougo-area-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}

.sougo-region-selector,
.sougo-area-selector,
.sougo-search-form {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}

.sougo-area-warning {
  text-align: left;
  max-width: 1200px;
  margin: 2em auto;
  padding: 0 1em;
  color: #666;
  font-size: 1.1em;
}

/* 編集画面共通ラッパー */
.sougo-edit-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em 1em;
  text-align: left;
}

.sougo-edit-wrapper h2 {
  font-size: 1.5em;
  margin-bottom: 1em;
}

.sougo-edit-wrapper p {
  margin-bottom: 1em;
  line-height: 1.6;
}

/* フォーム要素 */
.sougo-edit-form label {
  display: block;
  margin-top: 1em;
  font-weight: bold;
}

.sougo-edit-form input,
.sougo-edit-form textarea {
  width: 100%;
  padding: 0.5em;
  margin-top: 0.3em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* 
 * エラーメッセージ 
.sougo-edit-error {
  max-width: 1200px;
  margin: 2em auto;
  text-align: left;
  color: #c00;
}
*/

/* ボタン（必要なら復活） */
/*
.sougo-edit-form button {
  margin-top: 2em;
  padding: 0.8em 1.5em;
  background-color: #0077cc;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
*/

.sougo-request-button {
  margin-top: 1em;
}

.sougo-request-button .button {
  background-color: #3461ac;
  color: #fff;
  padding: 0.6em 1.2em;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
}

.sougo-request-button .button:hover {
  background-color: #2c5396
;
}
/*利用規約*/
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.terms-text {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.modal-actions {
  text-align: right;
}

/*新規登録ボタン*/
.sougo-button {
  display: inline-block;
  background-color: #3461ac; 
  color: #fff;
  padding: 0.6em 1.2em;
  font-size: 1em;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sougo-button:hover,
.sougo-button:focus {
  background-color: #2c5396;
  outline: none;
}