@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


/* ============================================================
   AUTOSHOP エクステンド — Pattern D ヘッダー（v2修正版）
   子テーマ style.css に追記（既存追記を全削除してこれに差し替え）
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@300;400;500&family=DM+Sans:wght@300;400;500&family=Dela+Gothic+One&display=swap');

:root {
  --ex-black:  #0D1B2A;
  --ex-accent: #E8C15A;
  --ex-gray:   #a09890;
  --ex-line:   #06C755;
  --ex-white:  #faf7f3;
}

/* admin-bar補正 */
body.admin-bar #ex-topbar { top: 32px !important; }
body.admin-bar #ex-header { top: 60px !important; }
body.admin-bar #ex-drawer { top: 118px !important; }
@media screen and (max-width: 782px) {
  body.admin-bar #ex-topbar { top: 46px !important; }
  body.admin-bar #ex-header { top: 74px !important; }
  body.admin-bar #ex-drawer { top: 132px !important; }
}

/* ============================================================
   トップバー
============================================================ */
#ex-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99999;
  background: rgba(13,27,42,0.97) !important;
  border-bottom: 1px solid rgba(232,193,90,0.2);
  height: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
}
#ex-topbar-text {
  font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ex-accent);
  font-weight: 500;
  white-space: nowrap;
}
#ex-topbar-links {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}
.ex-topbar-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: var(--ex-gray);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.15s;
}
.ex-topbar-link:hover { color: var(--ex-accent); }
.ex-topbar-link.line  { color: var(--ex-line); }

/* ============================================================
   メインヘッダー
============================================================ */
#ex-header {
  position: fixed;
  top: 28px; left: 0; right: 0;
  z-index: 99998;
  background: var(--ex-black) !important;
  border-bottom: 2px solid var(--ex-accent);
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 14px;
}

#ex-menu-btn {
  width: 38px; height: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
}
#ex-menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ex-accent);
  transition: all 0.25s ease;
  transform-origin: center;
}
#ex-menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#ex-menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#ex-menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

#ex-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  margin-left: 10px;
  flex-shrink: 0;
}
#ex-logo-sub {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--ex-gray);
  line-height: 1;
}
#ex-logo-main {
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 19px;
  color: transparent;
  letter-spacing: -0.12em;
  -webkit-text-stroke: 0.3px var(--ex-accent);
  paint-order: stroke fill;
  display: inline-block;
  vertical-align: middle;
  transform: scaleY(1.25);
  transform-origin: center;
  line-height: 1;
}

/* ============================================================
   PC専用ナビ（横並び）
============================================================ */
#ex-pc-nav {
  display: none;  /* スマホでは非表示 */
  margin-left: auto;
  margin-right: 16px;
  align-items: center;
  gap: 0;
  height: 100%;
}

#ex-pc-nav li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  display: flex !important;
  align-items: stretch !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
}
#ex-pc-nav li::before,
#ex-pc-nav li::marker {
  display: none !important;
  content: none !important;
}
#ex-pc-nav li.current-menu-item,
#ex-pc-nav li.current_page_item {
  background: none !important;
  background-color: transparent !important;
}



#ex-pc-nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ex-white);
  text-decoration: none;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
  letter-spacing: 0.05em;
}
#ex-pc-nav a:hover {
  background: rgba(232,193,90,0.08);
  color: var(--ex-accent);
}

/* PC（769px以上）でPC専用ナビを表示・ハンバーガーを非表示 */
@media (min-width: 769px) {
  #ex-pc-nav { display: flex; }
  #ex-menu-btn { display: none !important; }
}

#ex-header-line {
  margin-left: auto;
  background: var(--ex-line);
  color: #fff;
  padding: 8px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
#ex-header-line:hover { opacity: 0.85; }

/* PC時のLINEボタンmargin調整 */
@media (min-width: 769px) {
  #ex-header-line { margin-left: 0; }
}

/* ============================================================
   ドロワー（スマホ専用）
============================================================ */
#ex-drawer {
  position: fixed;
  top: 86px; left: 0; right: 0; bottom: 0;
  z-index: 99997;
  background: var(--ex-black) !important;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  border-top: 1px solid rgba(232,193,90,0.15);
  /* ドロワーが他要素の影響を受けないよう完全分離 */
  isolation: isolate;
}
#ex-drawer.open { transform: translateX(0); }

#ex-drawer-inner {
  padding: 8px 0 120px;
  background: var(--ex-black) !important;
}

/* ナビリスト：トップページのCSSに干渉されないよう全プロパティを強制 */
#ex-drawer .ex-nav-list,
#ex-drawer ul.ex-nav-list {
  list-style: none !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  display: block !important;
}
#ex-drawer .ex-nav-list li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  background: transparent !important;
  list-style: none !important;
  display: block !important;
}
#ex-drawer .ex-nav-list a {
  display: flex !important;
  align-items: center !important;
  padding: 16px 20px !important;
  text-decoration: none !important;
  background: transparent !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--ex-white) !important;
  transition: background 0.15s !important;
  position: relative !important;
  letter-spacing: 0.02em !important;
  line-height: 1.4 !important;
  border: none !important;
  margin: 0 !important;
}
#ex-drawer .ex-nav-list a:hover {
  background: rgba(232,193,90,0.06) !important;
}
#ex-drawer .ex-nav-list a::after {
  content: '›' !important;
  position: absolute !important;
  right: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 18px !important;
  color: var(--ex-accent) !important;
  opacity: 0.5 !important;
}

#ex-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99996;
  background: rgba(0,0,0,0.5);
}
#ex-overlay.open { display: block; }

/* ============================================================
   下部固定アクションバー（スマホ専用）
============================================================ */
#ex-bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99995;
  background-color: rgba(232,193,90,0.2);
  border-top: 2px solid var(--ex-accent);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
}
.ex-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 0 12px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
  background: var(--ex-black);
}
.ex-bottom-btn:hover { opacity: 0.85; }
.ex-bottom-btn.line-btn { background: var(--ex-line); color: #fff; }
.ex-bottom-btn.tel-btn,
.ex-bottom-btn.mail-btn { color: var(--ex-accent); }
.ex-bottom-icon { font-size: 18px; line-height: 1; }

/* ============================================================
   ページ本体をヘッダー・フッター分ずらす
============================================================ */
body {
  padding-top: 86px !important;
  padding-bottom: 0px !important;
}

/* PCではボトムバー非表示・下paddingリセット */
@media (min-width: 769px) {
  #ex-bottom-bar { display: none; }
  body { padding-bottom: 0 !important; }
}

/* ============================================================
   AUTOSHOP エクステンド — 共通フッター
============================================================ */
#ex-footer {
  background: var(--ex-black) !important;
  border-top: 2px solid var(--ex-accent) !important;
  padding: 14px 16px 76px !important; /* 12px(内側余白) + 64px(下部バー領域) */
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
}
#ex-footer .ex-footer-logo {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.15em !important;
  color: var(--ex-gray) !important;
  line-height: 1 !important;
  flex: 0 0 auto !important;
}
#ex-footer .ex-footer-logo span {
  font-family: 'Dela Gothic One', sans-serif !important;
  font-size: 20px !important;
  color: transparent !important;
  letter-spacing: -0.12em !important;
  -webkit-text-stroke: 0.3px var(--ex-accent) !important;
  paint-order: stroke fill !important;
  display: inline-block !important;
  vertical-align: middle !important;
  transform: scaleY(1.25) !important;
  transform-origin: center !important;
}
#ex-footer .ex-footer-info {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 10px !important;
  color: var(--ex-gray) !important;
  line-height: 1.45 !important;
  text-align: right !important;
  margin: 0 0 0 auto !important;
  flex: 0 0 auto !important;
  font-style: normal !important;
}
#ex-footer .ex-footer-info a {
  color: inherit !important;
  text-decoration: none !important;
}
#ex-footer .ex-footer-info small {
  font-size: 10px !important;
}
@media (min-width: 769px) {
  #ex-footer {
    padding: 14px 16px 12px !important; /* PCは下部バーないので元のpadding */
  }
}
@media (max-width: 480px) {
  #ex-footer {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
  }
  #ex-footer .ex-footer-info {
    text-align: center !important;
    margin: 0 auto !important;
  }
}

/* ============================================================
   ドロワー下部 CTA + 店舗情報
============================================================ */
#ex-drawer-bottom {
  margin: 24px 20px 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(232,193,90,0.15);
}

/* LINE CTA */
#ex-drawer-line-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ex-line);
  color: #fff;
  padding: 14px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
#ex-drawer-line-cta:hover { opacity: 0.88; }
.ex-drawer-line-icon { font-size: 18px; line-height: 1; }

/* 営業時間 */
.ex-drawer-info {
  margin-top: 20px;
  text-align: center;
}
.ex-drawer-info-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ex-accent);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0;
}
.ex-drawer-info-hours {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  color: var(--ex-white);
  letter-spacing: 0.03em;
  font-weight: 500;
  line-height: 1.5;
}

/* 電話番号 */
.ex-drawer-info-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  text-decoration: none;
  color: var(--ex-accent);
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  font-weight: 500;
  transition: opacity 0.2s;
}
.ex-drawer-info-tel:hover { opacity: 0.85; }
.ex-drawer-info-tel-icon { font-size: 16px; line-height: 1; }

/* 住所 */
.ex-drawer-info-address {
  margin-top: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-style: normal;
  color: var(--ex-gray);
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

