/*
Template:ystandard
Theme Name:ystandard-child
Theme URI: https://wp-ystandard.com
Author: yosiakatsuki
Author URI: https://yosiakatsuki.net
Description:「自分色に染めた、自分だけのサイトを作る楽しさ」を感じてもらうために作った一風変わったWordPressテーマ「ystandard」の子テーマ
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* =========================
   ヘッダー固定・土台
========================= */

body {
  padding-top: 60px; /* ヘッダー高さ分 */
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================
   ヘッダーナビ（PC）
========================= */

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 無料診断 */
.global-nav ul li:nth-child(1) a {
  padding: 8px 16px;
  background: #f2f2f2;
  color: #333;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* 見積（強調） */
.global-nav ul li:nth-child(2) a {
  padding: 8px 18px;
  background: #ff6b3b;
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.global-nav ul li a:hover {
  opacity: 0.85;
}

/* =========================
   スマホ時の微調整
========================= */

@media (max-width: 768px) {
  .global-nav ul {
    gap: 8px;
  }
  .global-nav ul li a {
    font-size: 13px;
    padding: 6px 12px;
  }
}

/* =========================
   検索（ルーペ）完全非表示
========================= */

.site-header .ys-icon--search,
.site-header button[aria-label*="search"],
.site-header button[aria-label*="検索"],
.site-header .header-search,
.site-header .header__search,
.site-header .header__search-toggle,
.site-header .search-toggle,
.site-header .search-form {
  display: none !important;
}
