/*
Theme Name: Lightning-Child
Template: lightning
*/


/* 親テーマのCSSは functions.php で読み込まれているので @import は不要 */

/* カスタムCSSはここから */

/* Lightningヘッダー構造に完全対応するロゴ＆ナビ調整 */

#site-header-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  box-sizing: border-box;
}

.headerLogoImage {
  display: block !important; /* ロゴ画像を表示 */
  max-width: 300px;
  max-height: 80px;
  height: auto;
  width: auto;
}

.site-logo img {
  max-width: 300px;
  max-height: 80px;
  width: auto;
  height: auto;
}

.gMenu_outer {
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
  overflow: visible;
  max-width: 100%;
}

.gMenu {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  overflow-x: auto;
  white-space: nowrap;
}

/* 固定ページタイトル 黒文字＋白シャドウ */
.page-header h1,
.entry-title {
  color: #000;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}

@media screen and (max-width: 768px) {
  .page-header h1,
  .entry-title {
    text-shadow: 0.5px 0.5px 1px rgba(255, 255, 255, 0.5);
  }
}

/* ▼ あなたが作るHTML用の .custom-button */
.custom-button {
  display: inline-block;
  background-color: #7b5e44;
  color: #ffffff;
  padding: 0.8em 1.5em;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 0 0 rgba(255,255,255,0);
  border: none;
}

/* VK BLOCK用 茶系カスタムボタン */
.vk_button_link,
.wp-block-button__link {
  background-color: #7b5e44 !important;
  color: #fff !important;
  padding: 15px 30px !important; /* 横余白多めで自然な見た目 */
  font-size: 1rem !important;
  font-weight: bold !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background-color 0.3s, box-shadow 0.3s, color 0.3s !important;
  box-shadow: none !important;
  /* 以下は削除
  display: inline-block !important;
  width: auto !important;
  white-space: nowrap;
  */
  display: block !important;      /* 元のVK BLOCKボタン仕様に戻す */
  width: 100% !important;         /* btn-blockと揃える */
}

/* ホバー時のエフェクト */
.vk_button_link:hover,
.wp-block-button__link:hover {
  background-color: #a78d72 !important;
  box-shadow: 0 0 20px 2px #e0c9a6 inset !important;
  color: #fff !important;
}

.vk_button_link:hover .vk_button_link_txt,
.wp-block-button__link:hover {
  color: #fff !important;
}

.diagnosis-result-block .service-button {
  background-color: #7b5e44 !important;
  color: #ffffff !important;
  padding: 0.8em 1.5em !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  display: inline-block !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

/* ホバー */
.diagnosis-result-block .service-button:hover {
  background-color: #a78d72 !important;
  box-shadow: inset 0 0 12px 4px rgba(255,255,255,0.6) !important;
  color: #ffffff !important;
}

.entry-content .diagnosis-result-block .diagnosis-title {
  all: unset;
  display: none !important;
}

.entry-content button.custom-button {
  display: inline-block !important;
  background-color: #7b5e44 !important;
  color: #ffffff !important;
  padding: 0.8em 1.5em !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: inset 0 0 0 0 rgba(255,255,255,0) !important;
  border: none !important;
}

button.custom-button:hover {
  box-shadow: inset 0 0 12px 4px rgba(255, 255, 255, 0.6) !important;
  background-color: #a78d72 !important;
  color: #ffffff !important;
}

