/* ======================================================================
   ▼ Koni Viola 独自実装ポイント（開発者向け補足）
   ----------------------------------------------------------------------

   【Ⅰ.固定ヘッダー調整（全ページ共通）】：
      背景を半透明（rgba）＋ぼかし（backdrop-filter）で表現し、
      HEROセクションと自然に重なるようデザインしています。
      また、z-indexを明示的に指定することで、
      HERO背景との重なりや隠れを防止しています。

   【Ⅱ.ナビゲーション構造（全ページ共通）】：
      ヘッダーのナビゲーションバーのUI制御
　　　882px以上（PC）.nav-desktop
　　　　　　　常時表示（横並び）　横並びメニュー＋ホバー時に下線アニメーション
　　　882px未満（スマホ・タブレット）.menu-toggle＋.nav-mobile
　　　　　　　ハンバーガークリックで開閉　スライド＋暗幕演出

   【Ⅲ.z-indexレイヤー設計（全ページ共通）】：
      HERO（背景）→ HEADER（固定）→ nav-panel（暗幕）→ nav-mobile（メニュー本体）
      の順に階層構造を統一しています。
      これにより、ページ間での表示崩れやクリック反応の不具合を防止しています。

   【Ⅳ.overflow-y:scroll（各html内）】：
      Chromeブラウザ特有の「スクロールバー有無による幅ズレ」を防ぐため、
      html要素に overflow-y:scroll を適用しています。
      これにより、全ページで表示幅を統一し、遷移時の揺れを解消しています。
====================================================================== */

/*【Google Fonts / カラー変数定義】*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');
:root {
  --ink:#1e293b;
  --muted:#64748b;
  --line:#e5e7eb;
  --bg:#f8f9fa;
  --brand:#3b82f6;

  --black:#000000;
  --white:#ffffff;
  --yellow:#ffe600;
  --red:#e6002f;
  --blue:#0000ff;
  --navyblue:#43516C;
  --lightblue:#a0d8ef;
  --pink:#f5b7c3;
  --orange:#f6ad48;
  --green:#3eb370;
  --brown:#8b4513;
  --peachgold:#ccb3b3;
  --beige:#e7ddcc;
  --gray:#808080;
}


/*【Base】*/

html,body {
  margin:0;
  padding:0;
  font-family:'Manrope','Zen Kaku Gothic New',sans-serif;
  background-color: #fcfcfc;
  background-image: url("https://www.transparenttextures.com/patterns/white-wall-3.png");
  letter-spacing:.02em;
  line-height:1.8;
}


/*【Ⅰ.固定ヘッダーデザインとmain開始位置の調整】*/

/*.site-header {*/
/*  position: fixed;*/
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  background-color: #0017ad;*/
/*  background-image: url("https://www.transparenttextures.com/patterns/gplay.png");*/
/*  backdrop-filter: blur(12px);*/
/*  border-bottom: 1px solid #7aadff7a !important;*/
/*  transform: translateY(-100%);*/
/*  transition: transform 0.3s ease;  消える時 */
/*}*/

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-image: url("/images/a.jpg");
  background-repeat: repeat-x;
  background-size: auto 83.55px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
/* background: linear-gradient(*/
/*   to bottom,*/
/*   rgba(0,0,0,0) 0%,*/
/*   rgba(255,255,255,0.20) 50%,*/
/*   rgba(0,0,0,0) 100%*/
/* );*/
}

.site-header:not(.hide) {
  transform: translateY(0);
  transition: transform 0.3s ease; /* 出る時 */
}

.site-header.hide {
  transform: translateY(-100%);
}


.site-header a {
  color: white !important; /* 文字を白に設定 */
}

.site-header .logo {
  color: white; /* ロゴの文字も白に設定 */
}



/* mainは固定ヘッダー分の余白を確保 */

main{
  padding-top: 85.34px; 
  box-sizing: border-box;
}

body.home main {
  padding-top: 0 !important;
  box-sizing: border-box;
}


/* ページ個別のmargin上書きを禁止（アクセス・お問い合わせ用） */
.access-section,
.contact-section {
  margin-top: 0 !important;
}




/*【Ⅱ.ナビゲーション構造（全ページ共通）】*/
.header-inner {
  width: min(1300px, 100%);
  margin: 0 auto;
  padding: 0.9rem 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.logo {
  font-weight:600;
  letter-spacing:.08em;
  color:#0f172a;
  text-decoration:none;
  font-size:1.2rem;
}

.nav-desktop {
  display:none;
  gap:32px;
  font-weight:500;
}

.nav-desktop a {
  position:relative;
  overflow:hidden;
  padding-bottom:2px;
  text-decoration:none;
  color:var(--ink);
}

.nav-desktop a::after {
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:0;
  height:2px;
  background:var(--brand);
  transition:none;
}

.nav-desktop a:hover::after {
  width: 0;
}

body .nav-desktop a.is-pointer-hovered::after {
  width:100%;
  transition:width .3s ease;
}


.menu-toggle {
  display:flex;
  flex-direction:column;
  gap:6px;
  border:none;
  background:none;
  cursor:pointer;
}

.menu-toggle span {
  width:26px;
  height:2px;
  background: white;
}

.nav-panel {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); 
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

.nav-panel.open {
  opacity: 1;
  pointer-events: auto;
}

/*-スライドメニュー本体*/
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 60px 24px 24px;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

/*-メニュー開いた状態*/
.nav-panel.open .nav-mobile {
  transform: translateX(0);
}

/*-メニュー項目のスタイル*/
.nav-mobile a {
  display: block;
  padding: 1rem 0;
  color: #1e293b;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-mobile a:hover {
  color: #3b82f6;
}



@media(min-width:883px){
  .nav-desktop{display:flex;}
  .menu-toggle,.nav-panel{display:none;}
}






/*【Section・Container構造】*/

.section {
  padding-bottom: 100px;
}

.container {
  max-width:1100px;
  margin:0 auto;
  padding:0 1.5rem;
  text-align:center;
}

.sec-title {
  font-weight:600;
  font-size:clamp(24px,2vw,32px);
  margin:0 0 .5em;
  color:#1e293b;
  letter-spacing:0.03em;
  margin-top: 80px;
}

.sec-title .main {
  display: block;
}

.sec-title .sub {
  display: block;
  font-size:clamp(12px,3vw,16px);
}



/*Ⅲ.z-indexレイヤー設計（全ページ共通）】*/

.hero {
  z-index: 0; 
}

.site-header {
  z-index: 1000;
}

.nav-panel {
  z-index: 2000; 
}

.nav-mobile {
  z-index: 2100;
}



/*【リンク表示のリセット＆Safari対策】*/

a,
a:visited,
a:hover,
a:focus,
a:active {
  color: inherit;
  text-decoration: none !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
  text-decoration-skip-ink: none !important;
}




/*【Footer】*/

.site-footer {
  background-image: url("/images/a.jpg");
  background-repeat: repeat;
  background-size: auto 83.55px;
  border-top: 1px solid var(--line);
}

.footer-main {
  text-align: center;
  padding: 40px 20px;
  padding-bottom: 5px;
}

/* ロゴ */
.footer-logo img {
  height: 50px;
}

.security-mark img {
  height: 50px; /* サイズ調整 */
}



/* メニュー横並び */
.footer-menu {
  display: flex;
  justify-content: center;
  gap: 0; /* ←ここ重要（区切り使うので消す） */
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.footer-menu li {
  position: relative;
  padding: 0 15px;
}

/* 区切り線 */
.footer-menu li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  color: #aaa;
}

.footer-menu a {
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  font-size: 0.75rem;
  text-decoration: none;
}


@media (max-width: 510px) {

  .footer-menu {
    flex-direction: column;
    align-items: center;
  }

  .footer-menu li {
    padding: 0;
  }

  /* 区切り線消す */
  .footer-menu li:not(:last-child)::after {
    content: none;
  }

  .footer-menu a {
    font-size: 0.7rem;
  }

}


/* コピー */
.footer-copy {
  font-size: 0.7rem;
  color: #666;
  margin-top: 20px;
}



/*【revealアニメーション】*/

.reveal {
  opacity:0;
  transform:translateY(25px);
  transition:opacity .8s ease,transform .8s ease;
}
.reveal.visible {
  opacity:1;
  transform:none;
}

html.skip-reveal-once .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}




/*【Ⅳ.overflow-y:scroll（各html内に記述）】スクロールバー強制表示*/

/* 現在採用案：各HTML内で直接指定：
   <style>html { overflow-y: scroll; }</style>

   代替案：CSSに直接追加：
   html { overflow-y: scroll; }
*/


html {
  scroll-behavior: smooth;
}


/* ======================
      スマホ制御
========================= */

@media (max-width: 882px) {
.header-inner {
    padding: 0.5rem 1rem;
}
}


@media (max-width: 646px) {

main{
  padding-top: 40px; 
}
 
}


/* ======================================================================
   Site-wide visual refresh
====================================================================== */

:root {
  --kv-ink: #152033;
  --kv-muted: #5c6a7d;
  --kv-line: rgba(21, 32, 51, 0.12);
  --kv-soft: #f4f7fb;
  --kv-navy: #071c44;
  --kv-blue: #0d3b91;
  --kv-accent: #f3bd3a;
  --kv-surface: #ffffff;
  --brand: var(--kv-blue);
}

html,
body {
  background: var(--kv-soft) !important;
  background-image: none !important;
  color: var(--kv-ink);
}

body {
  min-width: 0;
}

.site-header {
  background: #07142e !important;
  background-image: linear-gradient(135deg, #07142e, #09245a) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 42px rgba(5, 22, 55, 0.18);
  backdrop-filter: blur(16px);
}

.site-header::after {
  display: none;
}

.header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 72px;
  padding: 0.72rem clamp(18px, 3vw, 34px);
}

.logo img {
  width: clamp(150px, 15vw, 188px);
  height: auto;
  display: block;
}

.nav-desktop {
  margin-left: auto;
  gap: clamp(18px, 2.2vw, 34px);
  font-weight: 700;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.96rem;
}

.nav-desktop a::after {
  height: 3px;
  border-radius: 999px;
  background: var(--kv-accent);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: #fff !important;
}

.menu-toggle span {
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.nav-panel {
  background: rgba(7, 20, 46, 0.55);
  backdrop-filter: blur(6px);
}

.nav-mobile {
  width: min(78vw, 320px);
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid rgba(21, 32, 51, 0.12);
}

.nav-mobile a {
  color: var(--kv-ink);
  font-weight: 800;
}

.nav-mobile a:hover {
  color: var(--kv-blue);
}

main {
  padding-top: 72px;
  background: var(--kv-soft);
}

.section {
  padding-top: clamp(38px, 6vw, 72px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.container {
  border-radius: 0;
  background: transparent !important;
  text-align: left;
}

.sec-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 32px;
  color: var(--kv-ink);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-align: left;
}

.sec-title::before {
  content: "";
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--kv-accent);
  flex: 0 0 auto;
}

.breadcrumb {
  color: #7a8798 !important;
  margin: 0 0 10px !important;
}

.breadcrumb a:hover {
  color: var(--kv-blue) !important;
}

.catalog-btn,
.submit-btn,
.zip-btn,
.search-button,
.clear-button {
  border: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--kv-blue), var(--kv-navy)) !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(7, 28, 68, 0.16) !important;
  font-weight: 800 !important;
}

.reset-btn {
  border-radius: 8px !important;
  border: 1px solid var(--kv-line) !important;
  background: #fff !important;
  color: var(--kv-ink) !important;
  font-weight: 800 !important;
}

.product-grid {
  gap: 18px !important;
}

.product-card {
  min-height: 238px !important;
  height: auto !important;
  padding: 16px !important;
  border: 1px solid var(--kv-line) !important;
  border-radius: 12px !important;
  background: var(--kv-surface) !important;
  box-shadow: 0 18px 46px rgba(21, 32, 51, 0.08) !important;
}

.product-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 28px 70px rgba(21, 32, 51, 0.13) !important;
}

.product-card img {
  background: #f7f9fc !important;
}

.product-card h3 {
  color: var(--kv-ink) !important;
  font-weight: 800 !important;
}

.category-nav {
  top: 72px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid var(--kv-line) !important;
  box-shadow: 0 10px 28px rgba(21, 32, 51, 0.08);
  backdrop-filter: blur(16px);
}

.category-nav a {
  color: var(--kv-ink) !important;
  font-weight: 800 !important;
}

.category-nav a:hover {
  background: rgba(13, 59, 145, 0.08) !important;
  color: var(--kv-blue) !important;
}

.product-group,
.product-detail-block,
.image-block,
.size-block,
.preview-popup,
.form-grid,
.catalog-item,
.announce-list,
.access-card {
  border: 1px solid var(--kv-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 18px 46px rgba(21, 32, 51, 0.07) !important;
}

input,
textarea,
select,
.search-box {
  border: 1px solid rgba(21, 32, 51, 0.18) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--kv-ink) !important;
}

input:focus,
textarea:focus,
select:focus,
.search-box:focus {
  border-color: rgba(13, 59, 145, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(13, 59, 145, 0.12) !important;
  outline: none !important;
}

.site-footer {
  background: #07142e !important;
  background-image: linear-gradient(135deg, #07142e, #09245a) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.site-footer p,
.footer-copy {
  color: rgba(255, 255, 255, 0.68) !important;
}

.site-footer > p {
  margin: 0;
  padding: 22px 20px;
}

.footer-menu a {
  color: #fff !important;
  text-shadow: none;
}

@media (max-width: 882px) {
  .header-inner {
    min-height: 72px;
    padding: 0.5rem 1rem;
  }

  main {
    padding-top: 72px;
  }
}

@media (max-width: 646px) {
  main {
    padding-top: 72px;
  }

  .section {
    padding-top: 34px;
    padding-bottom: 68px;
  }

  .container {
    padding: 0 18px;
  }

  .sec-title {
    font-size: clamp(1.45rem, 7vw, 2rem);
    gap: 12px;
  }

  .sec-title::before {
    width: 34px;
  }
}

.product-group {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.size-block {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Page corrections after the common visual refresh. */
body:not(.home) main.section {
  padding-top: clamp(96px, 9vw, 124px);
}

body:not(.home) .sec-title {
  scroll-margin-top: 96px;
}

.contact-main form,
.contact-main .form-grid,
.products-page .product-group,
.products-page .product-detail-block,
.products-page .image-block,
.products-page .size-block {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contact-main form {
  padding: 0 !important;
}

.products-page .image-block {
  padding: 0 !important;
}

@media (max-width: 646px) {
  body:not(.home) main.section {
    padding-top: 104px;
  }
}

/* Order guide finish */
body.guide-page {
  overflow-x: hidden;
}

.guide-page .container {
  max-width: 920px;
}

.guide-page .order-section {
  display: grid;
  gap: 34px;
  margin-top: 2.4rem;
}

.guide-page .order-block {
  display: grid;
  gap: 14px;
}

.guide-page .order-section h2 {
  margin: 0;
  padding-left: 0.8rem;
  color: #10223c;
  font-size: clamp(1.18rem, 2.3vw, 1.5rem);
  font-weight: 800;
  border-left: 5px solid #1e63c7;
}

.guide-page .order-block > ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: order-step;
}

.guide-page .order-block > ol > br {
  display: none;
}

.guide-page .order-block > ol > li {
  position: relative;
  counter-increment: order-step;
  margin: 0;
  padding: 18px 20px 18px 64px;
  border: 1px solid rgba(21, 32, 51, 0.1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(21, 32, 51, 0.06);
}

.guide-page .order-block > ol > li::before {
  content: counter(order-step);
  position: absolute;
  top: 18px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #0d3b91;
  color: #fff;
  font-weight: 800;
  line-height: 1;
}

.guide-page .order-type {
  display: inline-block;
  margin-bottom: 4px;
  color: #10223c;
  font-size: 1.03rem;
  font-weight: 800;
}

.guide-page .order-section p {
  color: #3f4d63;
}

.guide-page .attention,
.guide-page .attention2 {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8e6;
  color: #6b4c00;
  line-height: 1.75;
}

.guide-page .order-block > ol > .attention,
.guide-page .order-block > ol > .attention2 {
  margin: 0;
}

.guide-page .fee,
.guide-page .bank-account {
  width: 100%;
  margin: 12px 0;
  overflow: hidden;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
}

.guide-page .fee th,
.guide-page .fee td,
.guide-page .bank-account th,
.guide-page .bank-account td {
  padding: 9px 11px;
  border-color: #dfe5ee;
  background: #fff;
  vertical-align: top;
}

.guide-page .fee th,
.guide-page .bank-account th {
  background: #f5f8fc;
  color: #203047;
  font-weight: 750;
}

.guide-page .bank-account caption {
  margin-bottom: 6px;
  color: #203047;
  font-weight: 800;
}

@media (max-width: 646px) {
  .guide-page .order-section {
    gap: 28px;
  }

  .guide-page .order-block > ol {
    gap: 12px;
  }

  .guide-page .order-block > ol > li {
    padding: 16px 14px 16px 54px;
  }

  .guide-page .order-block > ol > li::before {
    left: 14px;
    width: 28px;
    height: 28px;
  }

  .guide-page .fee,
  .guide-page .bank-account {
    display: block;
    overflow-x: auto;
  }
}

/* Modern mobile navigation */
.menu-toggle {
  position: relative;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 24px rgba(5, 22, 55, 0.18);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.42);
  outline: none;
}

.menu-toggle:active {
  transform: scale(0.97);
}

.site-header .menu-toggle span,
body.home .site-header .menu-toggle span {
  position: absolute;
  left: 12px;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.22);
  transition: transform 0.24s ease, opacity 0.18s ease, top 0.24s ease;
}

.site-header .menu-toggle span:nth-child(1),
body.home .site-header .menu-toggle span:nth-child(1) {
  top: 15px;
}

.site-header .menu-toggle span:nth-child(2),
body.home .site-header .menu-toggle span:nth-child(2) {
  top: 22px;
}

.site-header .menu-toggle span:nth-child(3),
body.home .site-header .menu-toggle span:nth-child(3) {
  top: 29px;
}

.menu-toggle.is-open span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.nav-panel {
  background:
    radial-gradient(circle at 100% 0, rgba(59, 130, 246, 0.16), transparent 34%),
    rgba(5, 16, 38, 0.62);
  backdrop-filter: blur(10px);
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-panel.open {
  visibility: visible;
}

.nav-mobile {
  top: 12px;
  right: 12px;
  width: min(84vw, 360px);
  height: calc(100% - 24px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.96)),
    #fff;
  box-shadow: -18px 22px 58px rgba(5, 22, 55, 0.28);
  overflow-y: auto;
  transform: translateX(calc(100% + 28px)) scale(0.98);
  transition: transform 0.34s cubic-bezier(0.2, 0.85, 0.25, 1);
}

.nav-panel.open .nav-mobile {
  transform: translateX(0) scale(1);
}

.nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 8px;
  padding: 4px 2px 12px;
  border-bottom: 1px solid rgba(21, 32, 51, 0.1);
}

.nav-mobile-title {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.nav-close {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(21, 32, 51, 0.12);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(21, 32, 51, 0.08);
}

.nav-close span {
  position: absolute;
  left: 10px;
  top: 19px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #152033;
}

.nav-close span:first-child {
  transform: rotate(45deg);
}

.nav-close span:last-child {
  transform: rotate(-45deg);
}

.nav-mobile a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 42px 0 14px;
  border: 1px solid rgba(21, 32, 51, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  color: #152033 !important;
  font-size: 0.98rem;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(21, 32, 51, 0.04);
  transform: translateX(10px);
  opacity: 0;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.28s ease, opacity 0.28s ease;
}

.nav-panel.open .nav-mobile a {
  transform: translateX(0);
  opacity: 1;
}

.nav-mobile a::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.44;
  transform: translateY(-50%) rotate(45deg);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  border-color: rgba(13, 59, 145, 0.18);
  background: #eef5ff;
  color: #0d3b91 !important;
}

@media (max-width: 374px) {
  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .site-header .menu-toggle span,
  body.home .site-header .menu-toggle span {
    left: 11px;
    width: 20px;
  }

  .site-header .menu-toggle span:nth-child(1),
  body.home .site-header .menu-toggle span:nth-child(1) {
    top: 14px;
  }

  .site-header .menu-toggle span:nth-child(2),
  body.home .site-header .menu-toggle span:nth-child(2) {
    top: 20px;
  }

  .site-header .menu-toggle span:nth-child(3),
  body.home .site-header .menu-toggle span:nth-child(3) {
    top: 26px;
  }

  .menu-toggle.is-open span:nth-child(1),
  .menu-toggle.is-open span:nth-child(3) {
    top: 20px;
  }

  .nav-mobile {
    top: 8px;
    right: 8px;
    width: calc(100vw - 16px);
    height: calc(100% - 16px);
    padding: 14px;
    border-radius: 20px;
  }
}

@media (min-width: 883px) {
  .menu-toggle,
  .nav-panel {
    display: none;
  }
}

/* Mobile navigation refinement: full-screen editorial menu */
.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.site-header .menu-toggle span,
body.home .site-header .menu-toggle span {
  left: 12px;
  width: 18px;
  height: 2px;
  box-shadow: none;
}

.site-header .menu-toggle span:nth-child(1),
body.home .site-header .menu-toggle span:nth-child(1) {
  top: 15px;
  transform-origin: center;
}

.site-header .menu-toggle span:nth-child(2),
body.home .site-header .menu-toggle span:nth-child(2) {
  top: 21px;
  width: 14px;
}

.site-header .menu-toggle span:nth-child(3),
body.home .site-header .menu-toggle span:nth-child(3) {
  top: 27px;
  transform-origin: center;
}

.menu-toggle.is-open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.nav-panel {
  display: block;
  background:
    linear-gradient(135deg, rgba(248, 251, 255, 0.98), rgba(229, 238, 250, 0.96)),
    #f5f8fc;
  backdrop-filter: blur(14px);
  visibility: hidden;
  overflow: hidden;
}

.nav-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13, 59, 145, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 59, 145, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.32;
}

.nav-panel::after {
  content: "";
  position: absolute;
  right: -18vw;
  bottom: -18vw;
  width: 58vw;
  height: 58vw;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 189, 58, 0.18), transparent 62%);
}

.nav-panel.open {
  visibility: visible;
}

.nav-mobile {
  inset: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: clamp(22px, 6vw, 42px);
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow-y: auto;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.nav-mobile *,
.nav-mobile *::before,
.nav-mobile *::after {
  box-sizing: border-box;
}

.nav-panel.open .nav-mobile {
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile-head {
  min-height: auto;
  margin: 0;
  padding: 0 0 46px;
  border-bottom: 0;
}

.nav-mobile-logo {
  width: clamp(150px, 42vw, 210px);
  height: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(15%) sepia(36%) saturate(1550%) hue-rotate(183deg) brightness(86%) contrast(96%);
}

.nav-mobile-title {
  display: none;
}

.nav-close {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(13, 59, 145, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(21, 32, 51, 0.08);
}

.nav-close span {
  left: 13px;
  top: 22px;
  width: 19px;
  background: #152033;
}

.nav-mobile-links {
  display: grid;
  gap: 0;
}

.nav-mobile a {
  min-height: 58px;
  padding: 0 42px 0 6px;
  border: 0;
  border-top: 1px solid rgba(21, 32, 51, 0.12);
  border-radius: 0;
  background: transparent;
  color: #152033 !important;
  font-size: 1.34rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  box-shadow: none;
  transform: translateY(16px);
  opacity: 0;
}

.nav-mobile a:last-child {
  border-bottom: 1px solid rgba(21, 32, 51, 0.12);
}

.nav-mobile a::after {
  right: 4px;
  width: 8px;
  height: 8px;
  border-color: #0d3b91;
  opacity: 0.54;
}

.nav-panel.open .nav-mobile a {
  transform: translateY(0);
  opacity: 1;
}

.nav-panel.open .nav-mobile a:nth-child(1) { transition-delay: 0.04s; }
.nav-panel.open .nav-mobile a:nth-child(2) { transition-delay: 0.07s; }
.nav-panel.open .nav-mobile a:nth-child(3) { transition-delay: 0.10s; }
.nav-panel.open .nav-mobile a:nth-child(4) { transition-delay: 0.13s; }
.nav-panel.open .nav-mobile a:nth-child(5) { transition-delay: 0.16s; }
.nav-panel.open .nav-mobile a:nth-child(6) { transition-delay: 0.19s; }
.nav-panel.open .nav-mobile a:nth-child(7) { transition-delay: 0.22s; }

.nav-mobile a:hover,
.nav-mobile a.active {
  border-color: rgba(13, 59, 145, 0.22);
  background: rgba(13, 59, 145, 0.06);
  color: #0d3b91 !important;
}

@media (max-width: 374px) {
  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .site-header .menu-toggle span,
  body.home .site-header .menu-toggle span {
    left: 11px;
  }

  .nav-mobile {
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 18px;
    border-radius: 0;
  }

  .nav-mobile-head {
    padding-bottom: 34px;
  }

  .nav-mobile a {
    min-height: 53px;
    font-size: 1.22rem;
  }
}

@media (min-width: 883px) {
  .menu-toggle,
  .nav-panel {
    display: none;
  }
}
