/* ==================================================
   管楽器｜実績（一覧・個別）CSS【完全スコープ版】
   影響範囲：.kangakki-result-archive 配下のみ
================================================== */

/* --------------------------
   メインレイアウト
--------------------------- */
/* Astra page builder template 対策 */
.ast-page-builder-template .site .site-content #primary.kangakki-result-archive {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0;
}

:root {
  --theme-color: #fff;
}

a {
  color: var(--theme-color);
}

a.subtle {
  color: color-mix(in srgb, currentColor 60%, transparent);
}
a:hover,
a:focus {
  color: color-mix(in srgb, currentColor 70%, transparent);
}
/* =========================
   管楽器｜実績一覧
========================= */
/* --------------------------
   カードグリッド
--------------------------- */
.kangakki-result-archive .result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  margin: 40px auto;
}

/* --------------------------
   カード本体
--------------------------- */
.kangakki-result-archive .result-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

/* 画像 */
.kangakki-result-archive .result-card-image {
  position: relative;
}
.kangakki-result-archive .result-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* カテゴリーバッジ */
.kangakki-result-archive .result-card-category {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgb(232 77 158 / 75%);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

/* --------------------------
   カード本文
--------------------------- */
.kangakki-result-archive .result-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kangakki-result-archive .result-card-item {
  font-weight: 600;
}

.kangakki-result-archive .result-card-maker {
  background: #f5e7e7;
  color:  var(--color-accent);
  border-radius: 6px;
  padding: 2px 14px;
  font-size: 1.1rem;
  width: fit-content;
}

.kangakki-result-archive .label {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.75rem;
  border: 1px solid  var(--color-accent);
  border-radius: 4px;
  color:  var(--color-accent);
}

.kangakki-result-archive .result-card-date {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.9rem;
}

/* 詳細ボタン */
.kangakki-result-archive .result-card-more {
    margin: 12px auto 0;
    padding: 0px 10px;
    background: #fff;
    border: 1px solid;
    color: #543030;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.7rem;
    transition: 0.3s;
}
.kangakki-result-archive .result-card-more:hover {
	background: #C3B1B8;
	color: #fff;
	border: none;
}

/* --------------------------
   フィルター
--------------------------- */
.kangakki-result-archive .kangakki-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto 32px;
}

.kangakki-result-archive .kangakki-filter .result-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  background: #fff;
  border: 1px solid  var(--color-accent);
  border-radius: 999px;
  text-decoration: none;
  color:  var(--color-accent);
  font-weight: 700;
  white-space: nowrap;
  transition: 0.25s;
}

.kangakki-result-archive .kangakki-filter .result-filter-btn:hover {
  background: #eee;
}

.kangakki-result-archive .kangakki-filter .result-filter-btn.active {
  background:  var(--color-muted);
  color: #fff;
  border-color:  var(--color-muted);
}




/* ==================================================
   レスポンシブ
================================================== */
@media (max-width: 768px) {
  .ast-page-builder-template .site .site-content
  #primary.kangakki-result-archive {
    width: 95%;
    margin: 0 auto 80px auto;
  }

  .kangakki-result-archive .result-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
    margin: 20px auto;
  }

  .kangakki-result-archive .kangakki-filter {
    gap: 10px;
  }

  .kangakki-result-archive .result-card-category {
    font-size: 0.7rem;
    padding: 2px 6px;
  }
  .kangakki-result-archive .kangakki-filter .result-filter-btn {
    width: auto;
  }
}

@media (max-width: 480px) {
  .kangakki-result-archive .result-card-body {
    gap: 4px;
  }

  .kangakki-result-archive .result-card-maker {
    font-size: 1rem;
  }

  .kangakki-result-archive .result-card-date {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

/* =========================
   管楽器｜実績個別
========================= */

.kangakki .single-results-title {
	padding-top: 0px;
}
.kangakki .single-title-wrapper {
    padding-top: 0px;
}
.kangakki .kangakki-meta-value {
	color:  var(--color-text);
}
.kangakki .kangakki-results-wrapper {
    max-width: 1200px;
    margin: -40px auto 80px auto;
}
/* =========================
   管楽器｜ヒーロー
========================= */
.kangakki .kangakki-hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(90deg, #FFB3CD, #FF659A);
}

.kangakki .kangakki-hero__inner {
  position: relative;
  top: 13%;
  z-index: 2;
  padding: 90px 10%;
  color: #fff;
}

.kangakki .kangakki-hero__title {
    font-size: 5.8rem;
    line-height: 5rem;
    color: #ffffff80;
}
.kangakki-hero--result .kangakki-hero__title {
    font-size: 4.8rem; /* 漢字用に少し大きく */
    letter-spacing: 0.08em; /* 漢字なら詰めすぎない */
}

.kangakki .kangakki-hero__sub {
    font-size: 2rem;
    font-weight: 500;
    line-height: 2.3rem;
    color: #FFFFFF;
}

.kangakki .kangakki-hero__wave {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
/*     height: 500px; */
}

.kangakki .kangakki-hero {
  --wave-color: #ff659a;
  background: transparent;
}

@media (max-width: 768px) {
.kangakki .kangakki-hero__title {
    font-size: 4rem;
    line-height: 4rem;
}
.kangakki-hero--result .kangakki-hero__title {
    font-size: 3.5rem; /* 漢字用に少し大きく */
    letter-spacing: 0.08em; /* 漢字なら詰めすぎない */
}
.kangakki .kangakki-hero__sub {
	font-size: 1.4rem;
}
	.kangakki .kangakki-hero {
  position: relative;
  height: 350px;
}
	.kangakki .kangakki-hero__inner {
    padding: 0 10%;
    top: 20%;
}
    .kangakki-hero__wave--sp {
        display: block;
    }

    .kangakki-hero__wave--pc {
        display: none;
    }
}

.kangakki-hero__title,
.kangakki-hero__sub {
  opacity: 0; /* 初期は透明 */
  transform: translateX(-50px); /* 左にずらす */
  animation: fadeInLeft 1s ease forwards; /* アニメーション実行 */
  animation-delay: 0.2s; /* 好きなタイミングに調整 */
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================
   管楽器｜ヘッダー装飾
========================= */
@media (max-width: 480px) {
}
/* ヘッダーとナビのガラス風（確定版） */

/* ヘッダー */
#kangakki-header {
  position: fixed;
  top: 0;
  z-index: 10000;

  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

}

/* PCナビ（ヘッダーの下に固定） */
.kan-nav-pc {
  position: fixed;
  top: 100px; /* ヘッダー高さ */
  z-index: 9999;

  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border-bottom: 1px solid rgba(255,255,255,0.25);
}


/* モバイル用メニュー背景 */
#kangakki-header .elementor-hidden-desktop.elementor-hidden-tablet {


}


/* モバイルドロップダウンメニュー */
#kangakki-header nav.hfe-dropdown ul.hfe-nav-menu {
    margin-left: auto;
    width: 65vw;
    height: 60vh;
    border-radius: 0 0 0 100px;
    margin-top: 10px;
    background-color: #FFEBF4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;   /* 右寄せ */
  justify-content: flex-start; /* ← 明示的に上寄せ */
}
#kangakki-header nav.hfe-dropdown a.hfe-menu-item {
  display: block;
  width: 210px;
  margin-top: 20px;
  color: #6d0033;
}
  #kangakki-header .hfe-nav-menu-icon svg line {
    stroke: #6d0033;
  }
/* ヘッダーの親を安全にする（重要） */
.elementor-location-header {
  overflow: visible !important;
}

/* スマホの背景にだけ白いボックスが出るのを消す処理（重要） */
@media (max-width: 1024px) {
  /* トグルボタン本体 */
  .elementor-menu-toggle,
  .elementor-menu-toggle *,
  .elementor-menu-toggle::before,
  .elementor-menu-toggle::after {
    background: transparent !important;
    box-shadow: none !important;
  }

  /* ドロップダウンメニュー本体 */
  .elementor-nav-menu--dropdown,
  .elementor-nav-menu--dropdown * {
    background: transparent !important;
  }
	
  #kangakki-header nav.hfe-dropdown
  a.hfe-menu-item span.hfe-menu-item-text {
    display: inline-block;
    position: relative;
    padding-right: 28px; /* アイコン分 */
  }

  #kangakki-header nav.hfe-dropdown
  a.hfe-menu-item span.hfe-menu-item-text::after {
    content: "›";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.6;
  }
}

/* =========================
   管楽器｜フォーム
========================= */
.form-kangakki .wpcf_space {
  margin-bottom: 0.5em;
}

.kangakki .form-kangakki hr {
    margin: 48px 0;
    border: none;
    border-top: 1px solid #ddd;
}



/* =========================
   管楽器｜フロントページの吹きだしSVG
========================= */
/* 親 */
.title-wrap {
    position: relative;
    padding: 200px 16px;
    overflow: hidden;
}

/* HTMLウィジェットごと背景化 */
.title-wrap .elementor-widget-html {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* SVGは親いっぱいに */
.title-wrap .elementor-widget-html svg {
  width: 100%;
  height: 100%;
  display: block;
}

.title-wrap h2 {
  position: relative;
  z-index: 1;
  padding: 0 0 3rem 0;
}


@media (max-width: 767px) {
.title-wrap {
  position: relative;
  padding: 110px 16px;
  overflow: hidden;
}

.title-wrap h2 {
  position: relative;
  z-index: 1;
  padding: 0;
}

}


/* -------------------------------
   管楽器アーカイブ：カードグリッド
--------------------------------- */
.kangakki-result-archive .result-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* カード間の隙間 */
}

/* PC：3カラム表示 */
.kangakki-result-archive .result-card {
  flex: 0 0 32%; /* 3カラム */
  box-sizing: border-box;
}

/* SP：2カラム表示 */
@media (max-width: 767px) {
  .kangakki-result-archive .result-card {
    flex: 0 0 47%; /* 2カラム */
    box-sizing: border-box;
  }
}

/* カードの画像とボディ内の要素は必要に応じて調整 */
.kangakki-result-archive .result-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.kangakki-result-archive .result-card-body {
  padding: 8px 10px;
}
/* --------------------------
   ページネーション
--------------------------- */
.kangakki-result-archive .pagination {
  margin-top: 40px;
  text-align: center;
}

.kangakki-result-archive .pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.kangakki-result-archive .pagination .page-numbers {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
/*   border: 1px solid var(--color-accent); */
  border-radius: 4px;
  text-decoration: none;
  color: var(--color-accent);
}

.kangakki-result-archive .pagination .page-numbers.current {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}