/* ===== ヘッダー下の余白調整・親テーマの横幅リセット ===== */
.home.page:not(.page-template-template-homepage) .site-header,
.home.post-type-archive-product .site-header {
  margin-bottom: 0 !important;
}

.col-full {
  max-width: 100% !important;
  padding: 0 !important;
}

@media (max-width: 1024px) {
  .col-full {
    margin-left: 0;
    margin-right: 0;
  }
  .category-section {
    margin: 0 5px auto;
  }
}

/* ===== ベース ===== */
.headset-jade {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}
section {
  padding: 0;
}
h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

/* ===== ヒーロー ===== */
.hero {
  width: 100%;
  overflow: hidden;
}

/* PC版ヒーロー：1920 x 514 の比率で可変 */
.hero-banner {
  width: 100%;
  max-width: 100%;
  /* 幅:高さ = 1920:514（高さ ≒ 幅の 26.8%） */
  aspect-ratio: 1920 / 514;
  background-image: url('/wp-content/uploads/2025/07/8f67b68d611b07243b69ab33f205cabb.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== 取扱いブランド ===== */
.brands-section {
  padding: 40px 20px;
  text-align: center;
}
.brands-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  max-width: 1250px;
  margin-inline: auto;
  text-align: left;
}
.brands-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 1240px;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}
.brand-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23%;
  height: 140px;
  margin: 10px 0;
}
.brand-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 1024px以下で2列にする */
@media (max-width: 1024px) {
  .brands-title {
    text-align: center;
  }
  .brands-container {
    justify-content: center;
    gap: 16px;
  }
  .brand-card {
    width: calc(50% - 16px);
    padding: 12px 12px;
    height: 110px;
  }
  .brand-card img {
    max-width: 90%;
  }
}

/* ===== カテゴリから探す ===== */
.category-section a {
  color: #000;
}
/* 通常時のスタイル */
.category-heading a {
  display: inline-block;
  padding: 8px 24px;
  font-size: 20px !important;
  font-weight: 500 !important;
  text-decoration: none;
  color: #000;
}

/* ホバー時 */
.category-heading a:hover {
  background-color: #EAEDF0;
  color: #000;
  margin: 0;
}

.category-group a {
  font-size: 16px;
}

.category-section {
  position: relative;
  background: #f9f9fb;
  padding: 60px 200px;
  max-width: 1250px;
  margin: 0 auto;
  margin-bottom: 100px;
}

@media (max-width: 1024px) {
  .category-section {
  		padding: 60px 20px;
	}
}

.ribbon-category {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 150px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}
.category-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
}
.category-border {
  border: 0;
  border-top: 1px solid #999;
  margin-bottom: 16px;
}
.category-group {
  position: relative;
  margin-bottom: 60px;
}
.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.category-icon-img {
  width: 80px;
  height: auto;
}
.category-heading {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.category-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 40px;
  margin-top: 24px;
}
.column {
  width: calc(33.333% - 26.66px);
  min-width: 200px;
}
.column h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}
.column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.column ul li {
  font-size: 14px;
  width: 70%;
  margin: 10px 0 4px;
  list-style: none;
}
.column ul li:hover {
  background-color: #EAEDF0;
}

/* ===== リコメンド（比較・提案） ===== */
.recommend-box {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 40px 20px;
  max-width: 680px;
  margin: 40px auto;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}
.ribbon {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 150px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}
.recommend-content {
  margin-top: 20px;
}
.recommend-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.recommend-text {
  font-size: 14px;
  margin-bottom: 24px;
}
.recommend-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  background: #1f1f6b;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 4px 6px rgba(0,0,0,.2);
  transition: background-color .3s;
}
.recommend-button:hover {
  background: #3535a5;
}

/* ===== 相談カード ===== */
/* PCは3列固定、タブレット以下は1列 */
.inquiries-section {
  background: #e8e6f0;
  padding: 60px 20px;
}
.inquiry-cards {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.inquiry-card {
  position: relative;
  height: 420px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.card1 {
  background-image: url('/wp-content/uploads/2025/07/03436c4bf7a9eeb1e8636263ded1449a.jpg');
}
.card2 {
  background-image: url('/wp-content/uploads/2025/07/fd45f22924a7072f8c9650f9ef23f5f3.jpg');
}
.card3 {
  background-image: url('/wp-content/uploads/2025/07/39a68e177ea1d34451b1716a446b5ecf.jpg');
}
/* ← リボンは元の画像タイプで表示 */
.ribbon-label {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 150px;
  height: auto;
  z-index: 4;
  pointer-events: none;
}
.inquiry-content {
  position: absolute;
  top: 90px;
  left: 20px;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #fff;
  z-index: 3; /* テキストを前面に */
}
.inquiry-content h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  min-height: 2.6em;
}
.inquiry-content p {
  font-size: 16px;
  line-height: 1.7;
  margin: 20px 0 0;
  min-height: 3.4em;
}
.inquiry-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px auto 0;
    width: 290px;
    height: 69px;
    padding: 0;
    border-radius: 999px;
    background: #1f1f6b;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: background-color .3s;
    border: #fff 1px solid;
}
.inquiry-button:hover {
  background: #3c3c91;
}

/* 3列固定（PC・デスクトップ） */
@media (min-width: 1025px) {
  .inquiry-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* 1列（スマホ・タブレット） */
@media (max-width: 1024px) {
  .inquiry-cards {
    grid-template-columns: 1fr;
  }
  .inquiry-card {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ===== ブログ ===== */
/* → PCでは3列固定、ボタンは常に下 */
.blog-section {
  background: #3c4370;
  padding: 60px 0;
  color: #fff;
  text-align: center;
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #fff;
}

/* ここからブログレイアウト（子テーマ用にセレクタを強化） */
.headset-jade .blog-container {
  background: #fff;
  color: #000;
  max-width: 1250px;
  margin: 0 auto;
  padding: 70px;
  border: 3px solid #6D9193;
  display: grid;
  gap:0 48px;
}

@media (max-width: 1024px) {
	.headset-jade .blog-container{
		padding: 70px 20px;
		border:0px;
	}
}

/* PCで3列固定 */
@media (min-width: 769px) {
  .headset-jade .blog-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* スマホは1列 */
@media (max-width: 768px) {
  .headset-jade .blog-container {
    grid-template-columns: 1fr;
  }
}

.headset-jade .blog-card {
  background: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.headset-jade .blog-thumb {
  overflow: hidden; /* はみ出し防止 */
  box-shadow: 6px 6px 8px rgba(33, 77, 72, 0.2);	
}

.headset-jade .blog-thumb img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  transition: transform .3s ease; /* アニメーション */
}

.headset-jade .blog-card:hover .blog-thumb img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);          /* ホバーで1.2倍 */
}

.headset-jade .blog-date {
    font-size: 14px;
    color: #656565;
}
.headset-jade .blog-title {
    font-weight: normal;
    font-size: 20px;
    margin: 20px 0 10px;
    letter-spacing: 0.05em;
}
.headset-jade .blog-button-wrap {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 8px;
}
.headset-jade .blog-button {
    display: inline-block;
    /* 上下のpaddingは0にして、左右だけ残す */
    padding: 0 32px;
    border-radius: 999px;
    background: #1f1f6b;
    color: #fff;
    text-decoration: none;
    width: 290px;
    height: 69px;
    font-size: 20px;
    line-height: 69px;          /* ← これで文字が縦中央にくる */
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    transition: background-color .3s;
}
.headset-jade .blog-button:hover {
  background: #3535a5;
}

/* ===== 運営サイト ===== */
/* → ここもPCで3列固定、スマホ1列 */
.operation-sites {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}
.operation-sites-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
}
.operation-card-list {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  gap: 48px;
}
.operation-card {
  background: #fff;
  padding: 20px 16px 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  text-decoration: none;
  color: #000;
  overflow: hidden;
  transition: transform .3s ease;
  border-radius: 20px;
}
.operation-card:hover {
  transform: translateY(-4px);
}
.operation-img {
  width: 80%;
  height: auto;
  margin: 0 auto;
  padding: 30px 0;
}
.operation-logo {
  width: 80%;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto;
}
.operation-desc {
  font-size: 22px;
  font-weight: 500;
  margin-top: 30px;
  color: #333;
}

/* 3列固定 */
@media (min-width: 769px) {
  .operation-card-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* 1列 */
@media (max-width: 768px) {
  .operation-card-list {
    grid-template-columns: 1fr;
  }
}

/* ===== レスポンシブ細かいところ ===== */
@media (max-width: 1024px) {
  .column {
    width: calc(50% - 20px);
  }
}
@media (max-width: 680px) {
  .column {
    width: 100%;
  }
}

/* ===== モバイル版ヒーロー ===== */
.hero {
  width: 100%;
  overflow: hidden;
}

/* 共通：モバイル用画像の基本設定 */
.hero-banner-mobile {
  width: 100%;
  max-width: 100%;
  /* 元画像 856 x 560 の比率 → 高さは自動（約 65.4%） */
  aspect-ratio: 856 / 560;
  background-image: url('/wp-content/uploads/2025/10/HEADSET-JADE-Mobile-Top.png');
  background-size: cover;      /* 要素全体を埋める（比率同じなのでトリミングなし） */
  background-position: center;
  background-repeat: no-repeat;
}

/* 念のため、モバイルだけで使いたい場合 */
@media (max-width: 1024px) {
  .hero-banner-mobile {
    display: block;
  }
}


/* ===== スマホ・タブレット用メニューの基本 ===== */
.jade-handheld-navigation .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jade-handheld-navigation .menu > li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.jade-handheld-navigation .menu > li > a {
  display: block;
  padding: 0.6rem 0;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.jade-handheld-navigation .menu > li > a:hover {
  opacity: 0.85;
}
.jade-handheld-navigation {
  background: #213954;
}

@media (max-width: 1024px) {
  .inquiry-cards {
    display: block !important;              /* grid を無効化 */
  }

  .inquiry-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto 24px;
  }
}

/* オプションの見出し（イヤーパッド／ケーブル／その他） */
.headset-jade .category-section .option-label a {
  font-size: 18px;
  font-weight: 700;
}

/* 取扱いブランド：ホバーでロゴを少し拡大 */
.brands-container .brand-card {
  overflow: hidden;               /* はみ出し防止 */
}

.brands-container .brand-card img {
  transition: transform .25s ease-out;  /* なめらかに拡大 */
}

/* ホバーしたときにロゴだけ拡大 */
 .brands-container .brand-card:hover img {
   transform: scale(1.05);        /* 1.0 → 1.05 くらいが「少し拡大」 */
 }

/* =========================================
   すべての虫眼鏡アイコンの位置を統一
   （ヘッダー検索 / ブログ検索 / Woo検索）
========================================= */

/* ▼ ヘッダー検索フォームのアイコン位置 */
.jade-header__search .search-submit {
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 12px !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
}

/* アイコン丸部分 */
.jade-header__search .search-submit::before {
    content:"" !important;
    position: absolute !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 999px !important;
    border: 2px solid #2A3F59 !important;
}

/* アイコン線部分 */
.jade-header__search .search-submit::after {
    content: "" !important;
    position: absolute !important;
    width: 10px !important;
    right: -2px !important;
    bottom: 7px !important;
    height: 2px !important;
    background: #2A3F59 !important;
    border-radius: 2px !important;
    transform: rotate(45deg) translate(4px, 4px) !important;
}



/* =======================
   ブログ検索ページ内の虫眼鏡（上部タイトル）
======================= */
.jade-search__icon {
    position: relative !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 2px solid #fff !important;
}
.jade-search__icon::after {
    content:"" !important;
    position: absolute !important;
    width: 12px !important;
    height: 2px !important;
    background: #fff !important;
    border-radius: 2px !important;
    right: -4px !important;
    bottom: 4px !important;
    transform: rotate(45deg) !important;
}


/* =================================
   Storefront デフォルト検索ボタン対策
================================= */
button.search-submit,
input[type="submit"].search-submit {
    font-size: 0 !important; /* テキスト「検索」を完全に消す */
    line-height: 1 !important;
}

